/* === Tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.12);
  --color-white: #ffffff;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(3, 105, 161, 0.08);
  --shadow-md: 0 12px 40px -12px rgba(3, 105, 161, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(3, 105, 161, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { 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: var(--color-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out);
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(14, 165, 233, 0.7); color: var(--color-white); }
.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(34, 197, 94, 0.7); color: var(--color-white); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(240, 249, 255, 0.92);
  box-shadow: 0 8px 30px -20px rgba(12, 74, 110, 0.35);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer;
  padding: .5rem; border-radius: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .25s var(--ease-out); }
.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 {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .25s var(--ease-out), opacity .25s var(--ease-out), visibility .25s;
}
.primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a {
  display: block; padding: .75rem 1rem;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: rgba(14, 165, 233, 0.08); color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: var(--color-white); }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: var(--color-white); }

/* === Hero card === */
.hero {
  padding-block: 3rem 4rem;
  background:
    radial-gradient(80% 60% at 15% 15%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(70% 60% at 85% 85%, rgba(14, 165, 233, 0.14), transparent 60%),
    var(--color-neutral-light);
}
.hero-card__box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.eyebrow {
  font-family: var(--font-heading);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: .75rem;
  font-weight: 600;
}
.hero-card__box .lede { font-size: 1.1rem; color: var(--color-muted); max-width: 54ch; margin-bottom: 1.5rem; }
.tagline-line { font-style: italic; color: var(--color-primary); margin-bottom: 1.5rem; }
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.section-lede { color: var(--color-muted); margin-bottom: 1.5rem; }

/* === Intro === */
.intro .container { text-align: center; }
.intro p { font-size: 1.05rem; color: var(--color-muted); }

/* === Highlights grid === */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.10), rgba(14, 165, 233, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.04), rgba(14, 165, 233, 0.06));
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-md);
  position: relative;
}
.testimonial blockquote p {
  font-size: 1.15rem; line-height: 1.65;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 1rem;
}
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  padding-block: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  text-align: center;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(240, 249, 255, 0.88); margin-bottom: 1.75rem; max-width: 55ch; margin-inline: auto; }

/* === Contact === */
.contact-band { background: var(--color-neutral-light); }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact-info p { margin-bottom: .75rem; }
.hours { width: 100%; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours caption { text-align: left; padding: 1rem 1.25rem 0; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); }
.hours th, .hours td { padding: .75rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Form === */
.form-section .contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.1rem;
}
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.20);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 { color: var(--color-white); font-size: .9rem; letter-spacing: .1em; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; font-size: .95rem; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); font-size: .85rem; }
.footer__bottom { border-top: 1px solid rgba(240, 249, 255, 0.15); margin-top: 2rem; padding-top: 1.25rem; text-align: center; font-size: .85rem; color: rgba(240, 249, 255, 0.6); }

/* === 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-md);
  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: .95rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button {
  border: 0; padding: .6rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  background: rgba(240, 249, 255, 0.12);
  color: var(--color-neutral-light);
  transition: background .2s var(--ease-out);
}
.cookie-banner button:hover { background: rgba(240, 249, 255, 0.22); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-white); }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; background: var(--color-secondary); color: var(--color-white); }

/* === Reveal === */
.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; } .btn, .card { transition: none; } html { scroll-behavior: auto; } }

/* === Responsive === */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hero-card__box { padding: 3rem 2.5rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .hero { padding-block: 5rem 5rem; }
  .section { padding-block: 5rem; }
  .cta-band { padding-block: 5rem; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .nav-toggle { display: none; }
  .primary-nav { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; border: 0; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: .25rem; flex-wrap: wrap; align-items: center; }
  .primary-nav a { padding: .5rem .85rem; font-size: .95rem; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-card__box { padding: 4rem 3.5rem; }
}
