/* === Tokens === */
:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(12, 74, 110, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #ffffff; line-height: 1.6; -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-top: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }

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

/* === 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; } }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(240, 249, 255, 0.7); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.site-header.scrolled { background: rgba(255,255,255,0.85); border-bottom-color: var(--color-border); box-shadow: 0 4px 20px -10px rgba(12,74,110,0.15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle { background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: .5rem; cursor: pointer; color: var(--color-neutral-dark); display: inline-flex; }
.primary-nav { display: none; gap: 1.25rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; padding: .25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a.nav-cta { background: var(--color-neutral-dark); color: #fff; padding: .55rem 1rem; border-radius: 999px; }
.primary-nav a.nav-cta::after { display: none; }
.primary-nav a.nav-cta:hover { background: var(--color-primary); }
.primary-nav.is-open { display: flex; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; flex-direction: row; background: transparent; padding: 0; }
}
@media (max-width: 899px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
  .primary-nav a { padding: .75rem 0; }
}

/* === 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: .95rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -10px rgba(14, 165, 233, 0.6); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(14, 165, 233, 0.7); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(249, 115, 22, 0.6); }
.btn--accent:hover { background: #ea670c; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); }

/* === Hero split === */
.hero { position: relative; padding-block: 3rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 50%), radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.1), transparent 50%); pointer-events: none; z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.hero-split__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-split__text .eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.hero-split__text h1 { margin: 0 0 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.hero-split--text-only .hero-split__text--centered { text-align: center; max-width: 760px; margin-inline: auto; }
.hero-split--text-only .hero-split__text--centered .hero-sub { margin-inline: auto; }
.hero-split--text-only .hero-ctas { justify-content: center; }
@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-split__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow .container { max-width: 800px; }
.section--tinted { background: linear-gradient(180deg, var(--color-neutral-light), #fff); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: .75rem; }
.section-head p { color: var(--color-muted); }
.prose { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); }

/* === Two col === */
.two-col { display: grid; gap: 2.5rem; align-items: center; }
.two-col__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }

/* === Cards grid === */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: .98rem; }
.card__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(56,189,248,0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }

/* === Testimonial === */
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--color-neutral-dark); margin-bottom: 1.25rem; font-weight: 500; }
.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: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(249,115,22,0.25), transparent 60%); }
.cta-band__inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
@media (min-width: 800px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* === FAQ === */
.faq { max-width: 820px; margin-inline: auto; }
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 1rem 0 0; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-lift); }
.pricing-card__badge { position: absolute; top: -.75rem; right: 1.5rem; background: var(--color-accent); color: #fff; padding: .35rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__plan { margin: 0 0 .25rem; font-size: 1.1rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: .08em; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 .5rem; line-height: 1.1; }
.pricing-card__lede { color: var(--color-muted); font-size: .98rem; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; padding: .4rem 0; color: var(--color-text); font-size: .95rem; border-bottom: 1px dashed var(--color-border); }
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__cta { align-self: stretch; }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 500; color: var(--color-neutral-dark); margin-bottom: .35rem; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; color: var(--color-text); background: var(--color-neutral-light); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(14,165,233,0.15); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours-table th, .hours-table td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours-table th { font-weight: 500; color: var(--color-neutral-dark); }
.hours-table td { color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 28ch; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; }
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,0.6); }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 480px; margin-left: auto; padding: 1.25rem; background: var(--color-neutral-dark); color: var(--color-neutral-light); border-radius: var(--radius); box-shadow: var(--shadow-lift); display: none; z-index: 9999; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
