/* ----------------------------------------------------------
   CSS RESET & NORMALIZE (Mobile-First)
---------------------------------------------------------- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin:0; padding:0; }
body { min-height: 100vh; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; letter-spacing: 0.01em; color: #222; background: #F6F6F6; -webkit-font-smoothing: antialiased; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 800; color: #1D3557; letter-spacing: 0.02em; line-height: 1.1; margin-bottom: 12px; }
a { color: #1D3557; text-decoration: none; transition: color 0.18s ease; }
a:hover, a:focus { color: #FFC300; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
blockquote { font-style: italic; margin: 0; border-left: 4px solid #FFC300; padding-left: 16px; color: #1D3557; background: rgba(255,195,0,0.07); border-radius: 0 16px 16px 0; }
cite { font-size: 15px; color: #1D3557; display: block; margin-top: 10px; font-style:normal; }

/* ----------------------------------------------------------
   ROOT VARS
---------------------------------------------------------- */
:root {
    --primary: #1D3557; /* Electric Navy */
    --secondary: #FFC300; /* Vivid Gold */
    --accent: #F6F6F6; /* Bright Paper */
    --danger: #FC3F1D; /* Alert Electric Orange */
    --success: #00D77A; /* Electric Green */
    --info: #00B3FF; /* Electric Cyan */
    --cta-gradient: #FFC300;

    --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ----------------------------------------------------------
   CORE STRUCTURE
---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-bottom: 36px;
  background: transparent;
  border-radius: 14px;
  padding: 0;
}

/* ----------------------------------------------------------
   HEADER + MAIN NAV
---------------------------------------------------------- */
header {
  padding: 0;
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(29,53,87,0.02);
  z-index: 101;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 12px 0;
  flex-wrap: wrap;
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 16px;
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.2,.3,.5,1.2);
}
.main-nav img:hover {
  transform: rotate(-5deg) scale(1.07);
}
.main-nav a,
.footer-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background .17s,color .21s;
}
.main-nav a:hover:not(.primary-cta),
.footer-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.primary-cta {
  background: var(--secondary);
  color: var(--primary)!important;
  font-weight: 800;
  border-radius: 30px;
  padding: 10px 30px;
  box-shadow: 0 2px 16px 0 rgba(255,195,0,.14);
  transition: background .22s, color .15s, transform .15s;
  margin-left:12px;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
  text-shadow: 0 2px 6px rgba(0,0,0,0.09);
}
.primary-cta:hover, .primary-cta:focus {
  background: #fff500;
  color: #191919!important;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px 0 rgba(255,195,0,.21);
}
.secondary-cta {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  border-radius: 30px;
  padding: 8px 22px;
  font-weight: 700;
  margin-left:0;
  margin-top:14px;
  cursor: pointer;
  outline:none;
  transition: background .17s, color .14s, border .20s, transform .11s;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.04) translateY(-1px);
}

@media (max-width: 1000px) {
  .main-nav {
    gap:12px;
    font-size:15px;
    flex-wrap: wrap;
  }
  .main-nav a, .main-nav .primary-cta { padding: 6px 10px; }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: block;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
  z-index: 120;
  transition: filter .14s, background .13s;
  box-shadow: 0 4px 16px 0 rgba(255,195,0,.09);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff500;
  filter: brightness(0.98);
}

/* Hide mobile menu on desktop */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1D3557;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform .44s cubic-bezier(0.39,0,0.59,1) 0s;
  box-shadow: -8px 0 32px 0 rgba(29,53,87,0.27);
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--secondary);
  color: #1D3557;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  margin: 18px 24px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2010;
  transition: background .14s, filter .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #fff500; filter: brightness(0.97); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 30px 32px;
  flex:1;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.24em;
  font-weight: bold;
  padding: 13px 0;
  border-radius: 8px;
  width: 100%;
  padding-left: 10px;
  transition: background .15s;
  letter-spacing: 0.05em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 900px) {
  .mobile-menu-toggle, .mobile-menu { display: none!important; }
  .main-nav { justify-content: flex-start; }
}
@media (max-width: 899px) {
  .main-nav { display:none!important; }
}

/* ----------------------------------------------------------
   HERO SECTION
---------------------------------------------------------- */
.hero {
  background: linear-gradient(110deg, #FFC300 0%, #fffceb 100%);
  padding: 70px 0 50px 0;
  box-shadow: 0 2px 24px 0 rgba(255,195,0,0.12);
  margin-bottom: 40px;
}
.hero .container { align-items: flex-start; }
.hero .content-wrapper {
  background: rgba(255,255,255,0.88);
  border-radius: 18px;
  padding: 38px 20px 32px 20px;
  box-shadow: 0 2px 24px 0 rgba(29,53,87,0.07);
  max-width: 550px;
}
.hero h1 {
  font-size: 2.35rem;
  margin-bottom: 18px;
  color: #1D3557;
  font-weight: 900;
  text-shadow: 0 3px 15px #fff27d44;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.18rem;
  color: #1D3557;
  margin-bottom: 21px;
}

@media (max-width: 820px) {
  .hero { padding: 40px 0 32px 0; }
  .hero .content-wrapper { padding: 28px 12px; }
}
@media (max-width: 530px) {
  .hero h1 { font-size: 1.22rem; }
}

/* ----------------------------------------------------------
   SECTIONS, CARDS, GRIDS, TESTIMONIALS
---------------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(29,53,87,0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(40,40,20,0.15);
  margin-bottom: 20px;
  position: relative;
  padding: 25px 22px 18px 22px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform .15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(253,187,45,.11);
  transform: translateY(-3px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .content-grid { flex-direction: column; gap: 22px; }
  .text-image-section { flex-direction: column; gap: 24px; }
}

.testimonials {
  background: #1D3557;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 4px 22px 0 rgba(29,53,87,0.14);
  /* ensure min padding if directly under .testimonials */
  padding-top:40px; padding-bottom:40px;
}
.testimonials h2 {
  color: #FFC300;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #222;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(29,53,87,.07);
  flex-direction: column;
  max-width: 700px;
}
.testimonial-card blockquote,strong {
  color: #1D3557;
}
.testimonial-card cite {
  color: #FFC300;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Specific for CTA section */
.cta-section {
  background: linear-gradient(108deg, #FFF500 0%, #FFD33C 100%);
  box-shadow: 0 2px 20px 0 rgba(255,225,0,0.05);
  border-radius: 22px;
  margin-bottom: 40px;
}
.cta-section h2 {
  color: #1D3557;
  font-size: 2rem;
  margin-bottom: 15px;
}
.cta-section p {
  color: #404040;
  margin-bottom: 24px;
  font-size:1.1rem;
}

/* Cards for experiences/testimonials */
.card, .testimonial-card {
  margin-bottom: 20px;
  background: #fff;
  color: #1D3557;
  border-left: 5px solid #FFC300;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(29,53,87,0.08);
  transition: box-shadow .19s;
}
.card strong, .testimonial-card blockquote {
  color: #1D3557;
}

/* Contact / Info blocks */
.contact-info {
  background: #FFF9E3;
  border-radius: 14px;
  padding: 20px 15px 15px 18px;
  margin-bottom: 22px;
}
.contact-info h3 {
  font-size: 1.13rem;
  color: #1D3557;
  margin-bottom: 10px;
}
.contact-info ul {
  list-style: none;
  line-height: 1.7;
}
.contact-info li {
  font-size: 0.97rem;
  color: #1D3557;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.map-embed-placeholder {
  min-height:100px;
  background: repeating-linear-gradient(135deg,#FFF9E3 0 10px,#FFC300 10px 12px,#FFF9E3 12px 22px);
  border-radius: 9px;
  color: #A4931D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.07rem;
  font-weight: 700;
}

.office-hours ul {
  list-style: none;
}
.office-hours li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #1D3557;
  margin-bottom: 5px;
}

.contact-promo {
  background: #fffde5;
  border-radius: 14px;
  padding: 18px 16px;
  margin-top: 20px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* Definition lists on FAQ */
dt {
  font-family: var(--font-display);
  font-weight: 800;
  color: #1D3557;
  font-size: 1.05rem;
  margin-bottom: 4px;
  margin-top: 17px;
}
dd {
  color: #003145;
  font-size: 1rem;
  margin-bottom: 12px;
  margin-left: 0px;
  padding-left: 7px;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------- */
h1 { font-size: 2.13rem; margin-bottom: 15px; }
h2 { font-size: 1.38rem; margin-bottom: 13px; font-weight:800;}
h3 { font-size: 1.09rem; margin-bottom: 7px; font-weight:700; }
p, ul li, ol li, dd {
  font-family: var(--font-body);
  line-height: 1.63;
  font-size: 1.01rem;
}
ul li, ol li { margin-bottom: 8px; }
strong { color: #D7851C; }

@media (min-width: 850px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 1.77rem; }
  h3 { font-size: 1.19rem; }
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
footer {
  background: #1D3557;
  color: #fff;
  border-radius: 0 0 18px 18px;
  padding: 38px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 42px;
  box-shadow: 0 -4px 24px 0 rgba(29,53,87,0.14);
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1.07rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary) !important;
}
.contact-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  flex-wrap: wrap;
  margin:0 auto;
  max-width: 1000px;
}
.contact-footer img {
  height: 54px;
  width: auto;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 24px #FFC30033;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-info > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.99rem;
}
.footer-info img { width: 19px; height: 19px; }

@media (max-width: 760px) {
  .contact-footer { flex-direction: column; gap:16px; }
  .footer-info { font-size:0.97rem; }
}

/* ----------------------------------------------------------
   BUTTONS/MICRO-INTERACTIONS
---------------------------------------------------------- */
button,
.button,
input[type="button"],
input[type="submit"],
.secondary-cta,
.primary-cta {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background .16s, color .15s, transform .13s;
  box-shadow: 0 2px 8px rgba(255,195,0,0.07);
  border-radius: 18px;
}
button:active, .primary-cta:active, .secondary-cta:active {
  transform: scale(.97);
}


/* ----------------------------------------------------------
   COOKIE CONSENT BANNER & POPUP
---------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left:0; right:0; bottom: 0;
  width: 100%;
  background: #1D3557;
  color: #fff;
  padding: 21px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4000;
  box-shadow: 0 -4px 32px 0 rgba(22,22,22,.18);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  gap:14px;
  animation: slideUpCookie .8s cubic-bezier(.17,.67,.76,1.41);
}
@keyframes slideUpCookie { from {transform: translateY(120%);} to {transform: translateY(0);} }
.cookie-consent-banner p {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.98rem;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 900;
  border-radius: 24px;
  padding: 7px 20px;
  font-size: 1rem;
  border: none;
  margin-right: 0px;
  cursor: pointer;
  transition: background .13s, color .12s, transform .12s;
  box-shadow: 0 2px 18px 0 rgba(255,195,0,.11);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff500;
  color: #191919;
  transform: scale(1.03);
}
.cookie-btn.reject {
  background: #fff;
  color: #FC3F1D;
  border: 2px solid #FC3F1D;
  font-weight: 700;
}
.cookie-btn.reject:hover {
  background: #FC3F1D;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #00B3FF;
  border: 2px solid #00B3FF;
  font-weight: 700;
}
.cookie-btn.settings:hover {
  background: #00B3FF;
  color: #fff;
}

/* Cookie preferences popup */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.07);
  background: #fff;
  box-shadow: 0 10px 48px 0 rgba(29,53,87,0.30);
  padding: 32px 24px 24px 24px;
  border-radius: 24px;
  z-index: 5000;
  min-width: 320px;
  max-width: 96vw;
  width: 390px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: popupOpen .55s cubic-bezier(.12,.8,.32,1.05);
}
@keyframes popupOpen { from {opacity:0; transform:translate(-50%,25%) scale(0.97);} to { opacity:1; transform: translate(-50%,-50%) scale(1.07);} }
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom:10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal label {
  font-family: var(--font-body);
  color: #1D3557;
  font-size: 1.01rem;
  font-weight: 500;
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] {
  width: 37px;
  height: 20px;
  appearance: none;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background .15s;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"]:checked { background: #00D77A; }
.cookie-modal input[type="checkbox"]:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: transform .14s, background .14s;
  box-shadow: 0 0px 8px #0001;
}
.cookie-modal input[type="checkbox"]:checked:before {
  transform: translateX(17px);
  background: #00D77A;
}
.cookie-modal .cookie-buttons {
  margin-top: 22px;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  top: 15px;
  right: 16px;
  font-size: 1.25rem;
  background: #F6F6F6;
  border-radius: 15px;
  border: none;
  color: #1D3557;
  width: 37px; height: 37px;
  cursor: pointer;
  transition: background .14s;
}
.cookie-modal .btn-close-modal:hover { background: #FFC300; color: #1D3557; }
@media (max-width: 530px) {
  .cookie-modal { padding:15px 5px 18px 5px; min-width:0; width:98vw; }
}

/* Hide by default */
.cookie-consent-banner, .cookie-modal { display:none; }
.cookie-consent-banner.active, .cookie-modal.active { display: flex; }


/* ----------------------------------------------------------
   RESPONSIVE ADJUSTMENTS (Mobile-First)
---------------------------------------------------------- */
@media (max-width: 650px) {
  .container { padding: 0 6px; }
  section, .section { padding: 27px 4px 26px 4px; }
  .hero { padding: 26px 0 14px 0; }
  .hero .content-wrapper { padding: 18px 4px 17px 4px; }
  .footer-nav { gap: 8px; }
  .card-container, .content-grid { flex-direction: column; gap:14px; }
  .testimonial-card, .card { min-width: 0; padding: 16px 5px; }
  .cta-section { padding: 17px 5px; }
}

@media (max-width: 480px) {
  .footer-nav, .contact-footer { padding: 0 4px; gap:8px; }
}


/* ----------------------------------------------------------
   EXTRAS: ANIMATIONS, MICRO-INTERACTIONS
---------------------------------------------------------- */
@media (hover: hover) {
  a, .secondary-cta, .primary-cta, .card, .testimonial-card, button, .cookie-btn {
    transition: box-shadow .19s, color .13s, background .13s, transform .15s;
  }
  .card:hover, .testimonial-card:hover {
    box-shadow: 0 7px 20px rgba(255,195,0,0.13);
    transform: scale(1.017);
  }
}

/* Z-INDEX LAYERING */
header { z-index: 101; }
.main-nav { z-index: 102; }
.mobile-menu { z-index: 2000; }
.cookie-consent-banner { z-index: 4000; }
.cookie-modal { z-index: 5000; }

/* Utility classes */
.hide-mobile { display:none !important; }
@media (min-width:900px) { .hide-mobile { display: initial!important; } }

/* Divider for visual separation */
.divider {
  width: 80px;
  height: 5px;
  background: var(--secondary);
  border-radius: 3px;
  margin: 19px 0 21px 0;
}
