:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --border: rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(2, 6, 23, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.text-center { text-align: center; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--color-accent); font-weight: 600; margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 6px 24px -18px rgba(2, 6, 23, 0.3);
  border-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }

.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-secondary); font-weight: 500; font-size: 0.95rem; text-decoration: none; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
.primary-nav a.is-current { color: var(--color-primary); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem; cursor: pointer; color: var(--color-primary); }
.nav-toggle:hover { background: rgba(3, 105, 161, 0.06); }

@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem 1.25rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--border); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease); }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #075985); color: var(--color-neutral-light); box-shadow: 0 8px 24px -10px rgba(3, 105, 161, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(3, 105, 161, 0.7); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--border); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.04); text-decoration: none; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 2px; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 15% 10%, rgba(3, 105, 161, 0.10), transparent 60%), radial-gradient(900px 400px at 90% 90%, rgba(3, 105, 161, 0.06), transparent 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__text .lede { font-size: 1.125rem; color: var(--color-secondary); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow { padding-block: 3.5rem; }
.section--narrow .container { max-width: 780px; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-secondary); font-size: 1.05rem; max-width: 60ch; margin-inline: auto; }
.prose { color: var(--color-secondary); font-size: 1.05rem; line-height: 1.75; max-width: 62ch; margin-inline: auto; }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -22px rgba(2, 6, 23, 0.28); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; }
.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(3, 105, 161, 0.04)); color: var(--color-accent); margin-bottom: 1rem; }

/* === Team === */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo { aspect-ratio: 1/1; overflow: hidden; border-radius: 12px; margin-bottom: 1rem; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 0.35rem; }
.team-card p { color: var(--color-secondary); font-size: 0.95rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, rgba(3, 105, 161, 0.06), rgba(3, 105, 161, 0.02)); }
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; font-family: var(--font-heading); }
.testimonial p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-primary); font-weight: 500; margin-bottom: 1.25rem; }
.testimonial cite { display: block; font-style: normal; font-family: var(--font-body); font-size: 0.95rem; color: var(--color-secondary); }

/* === CTA band === */
.cta-band { padding-block: 3.5rem; background: linear-gradient(135deg, var(--color-primary), #1e293b); color: var(--color-neutral-light); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(248, 250, 252, 0.75); margin: 0; }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--color-primary); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); transition: border-color 0.2s, box-shadow 0.2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-secondary); margin: 1rem 0 1.5rem; flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }

/* === Hours === */
.hours-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); max-width: 520px; margin: 0 auto; }
.hours-card h3 { margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.hours th { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); }
.hours td { color: var(--color-secondary); text-align: right; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer__grid h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.footer__grid a { color: rgba(248, 250, 252, 0.8); }
.footer__grid a:hover { color: var(--color-neutral-light); }
.footer__tag { color: rgba(248, 250, 252, 0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.footer__nav { display: flex; flex-direction: column; }
.footer__nav a { padding: 0.3rem 0; }
.footer__contact p { color: rgba(248, 250, 252, 0.75); font-size: 0.95rem; }
.footer__legal { margin-top: 1rem; font-size: 0.85rem; }
.footer__base { border-top: 1px solid rgba(248, 250, 252, 0.1); margin-top: 2rem; padding-top: 1.25rem; }
.footer__base p { color: rgba(248, 250, 252, 0.55); font-size: 0.85rem; margin: 0; }
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* === 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: 0 20px 60px -20px rgba(0, 0, 0, 0.6); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.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; }
}
