/* === Tokens === */
:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #FBBF24;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #4A6B85;
  --color-line: rgba(12, 74, 110, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 20px 60px -30px rgba(12, 74, 110, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent;
  border: 1px solid var(--color-line); border-radius: 8px; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 100%; height: 2px; background: var(--color-neutral-dark); }
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-line);
  padding: 1rem 1.25rem 1.5rem;
}
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500;
  padding: 0.6rem 0; border-bottom: 1px solid var(--color-line);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; position: static; gap: 2rem;
    background: transparent; border: 0; padding: 0;
  }
  .primary-nav a { border: 0; padding: 0.25rem 0; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #f5b310; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(240,249,255,0.4); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* === Hero card (archetype) === */
.hero-card-wrap {
  padding-block: 2.5rem 2rem;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(251, 191, 36, 0.15), transparent 60%),
    var(--color-neutral-light);
}
.hero-card {
  max-width: 880px; margin-inline: auto;
  padding: 2.25rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
}
@media (min-width: 768px) { .hero-card { padding: 3.5rem 3rem; } }
.hero-card--compact { padding-block: 2rem; }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); font-weight: 600; margin: 0 0 0.75rem;
}
.hero-card h1 { margin-bottom: 0.5em; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-actions { margin: 0 0 1.5rem; }
.hero-card__figure { margin: 1.5rem 0 0; }
.hero-card__figure img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius);
}

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section--narrow .container { max-width: 760px; }
.section--tint { background: #E4F5FE; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head__sub { color: var(--color-muted); font-size: 1.05rem; }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--color-text); }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 4px 20px -12px rgba(12, 74, 110, 0.15);
  transition: transform .2s ease, box-shadow .2s ease;
  display: block;
}
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(14, 165, 233, 0.1); color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(12,74,110,0.25); text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }

/* === Split === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; } }
.split__figure img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* === Testimonial === */
.testimonial-section { background: #fff; }
.testimonial {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5;
  color: var(--color-neutral-dark);
  position: relative; padding: 0 1rem;
}
.testimonial p { margin-bottom: 1rem; font-style: italic; }
.testimonial cite {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: 0.95rem; color: var(--color-muted); letter-spacing: 0.02em;
}
.testimonial-with-portrait {
  display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 800px) {
  .testimonial-with-portrait { grid-template-columns: 220px 1fr; gap: 3rem; }
  .testimonial-with-portrait .testimonial { text-align: left; padding: 0; }
}
.testimonial-portrait img {
  width: 220px; max-width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 50%; margin-inline: auto;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding-block: 3.5rem;
}
.cta-band__inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
}
@media (min-width: 800px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* === Contact band === */
.contact-band h2 { text-align: center; }
.contact-band .section-head__sub { text-align: center; margin-bottom: 1rem; }
.contact-band .prose { text-align: center; }
.contact-band p:last-child { text-align: center; }

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

/* === Form === */
.contact-form { background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-line); }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.form-row { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); margin-bottom: 0.4rem; font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem; border: 1px solid var(--color-line);
  border-radius: 10px; background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px;
  background: #fff;
}
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-muted);
  margin-bottom: 1.5rem; line-height: 1.5;
}
.form-consent input { margin-top: 3px; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding-block: 3.5rem 1.5rem; margin-top: 2rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; } }
.logo--footer img { height: 72px; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(240, 249, 255, 0.75); margin-top: 0.75rem; }
.footer-heading {
  font-family: var(--font-heading); font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-accent); margin: 0 0 1rem;
}
.footer-list, .footer-legal { list-style: none; padding: 0; margin: 0; }
.footer-list li, .footer-legal li { margin-bottom: 0.5rem; }
.footer-address { font-style: normal; color: rgba(240,249,255,0.85); margin-bottom: 1rem; line-height: 1.7; }
.footer-legal { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.footer-legal li { margin: 0; }
.site-footer__copy {
  border-top: 1px solid rgba(240,249,255,0.15);
  margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: 0.9rem; color: rgba(240,249,255,0.7);
}

/* === 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.25rem;
  border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(240,249,255,0.2);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.4rem; }
