:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1F2B;
  --color-muted: #4A6478;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 20px 60px -20px rgba(12, 74, 110, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .75rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-tinted { background: var(--color-neutral-light); }
.section-title { text-align: center; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 2.5rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 20px rgba(12, 74, 110, 0.08); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { background: transparent; border: 0; padding: .5rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { position: relative; padding: .6rem 0; font-weight: 500; color: var(--color-neutral-dark); }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 2rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
}

/* === Hero — centered === */
.hero { position: relative; padding-block: 5rem 4rem; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 50% at 50% 20%, rgba(202, 138, 4, 0.12), transparent 60%),
  linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 70%);
}
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; max-width: 28ch; margin-inline: auto; }
.hero .lede { max-width: 56ch; margin: 1.25rem auto 2rem; color: var(--color-muted); font-size: 1.15rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-image { margin-top: 3rem; }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(3, 105, 161, 0.55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(3, 105, 161, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(3, 105, 161, 0.12), rgba(14, 165, 233, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
a.card-link { color: inherit; text-decoration: none; display: block; }
a.card-link:hover { color: inherit; }
a.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem 1.5rem; text-align: center; border-radius: var(--radius-lg); background: var(--color-neutral-light); position: relative; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-size: .95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: var(--color-accent); box-shadow: 0 8px 24px -8px rgba(202, 138, 4, 0.6); }
.cta-band .btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(202, 138, 4, 0.75); }

/* === Contact grid === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; }
.hours-table caption { text-align: left; font-weight: 600; color: var(--color-neutral-dark); margin-bottom: .5rem; }
.hours-table th, .hours-table td { padding: .5rem .25rem; border-bottom: 1px solid var(--color-border); text-align: left; font-size: .95rem; }
.hours-table th { font-weight: 500; color: var(--color-muted); }
.map-block { margin: 0; }
.map-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 2rem; background: #fff; padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .2rem; }

/* === FAQ === */
.faq { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.08rem; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-grid nav a { display: block; padding: .25rem 0; font-size: .95rem; }
.tagline { color: rgba(240, 249, 255, 0.7); margin-top: .75rem; font-size: .95rem; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.legal-links { margin-top: 1.25rem; font-size: .85rem; color: rgba(240, 249, 255, 0.6); }
.footer-bottom { border-top: 1px solid rgba(240, 249, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(240, 249, 255, 0.55); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1.5fr 2fr; } }

/* === Reveal animations === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; }
.cookie-banner a { color: var(--color-secondary); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font-family: inherit; font-size: .88rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 249, 255, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s var(--ease); }
.cookie-banner button:hover { background: rgba(240, 249, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #b17603; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); }
