/* === Tokens === */
:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0F2A2A;
  --color-muted: #4A6B6B;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 42, 42, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 42, 42, 0.28);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { 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%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1rem; }

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

:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; border-radius: 4px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 253, 250, 0.72);
  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), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(240, 253, 250, 0.92);
  box-shadow: 0 6px 24px -18px rgba(15, 42, 42, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav a {
  position: relative;
  padding: .5rem .25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-family: var(--font-heading);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  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); }
.primary-nav.is-open {
  display: flex;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(240, 253, 250, 0.98);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.75rem; align-items: center; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(8, 145, 178, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(8, 145, 178, 0.65); color: #fff; }
.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-accent { background: var(--color-accent); color: #06210F; box-shadow: 0 10px 30px -12px rgba(34, 197, 94, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(34, 197, 94, 0.65); color: #06210F; }

/* === Hero (split) === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 3rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(50rem 25rem at -10% 20%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff 80%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(8, 145, 178, 0.08);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero { padding-block: 6rem 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section.intro { padding-block: 3rem; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1rem; }

/* === Grid of feature cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { 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-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(8, 145, 178, 0.35); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(34, 211, 238, 0.18));
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonials === */
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  background: var(--color-neutral-light);
  border-radius: var(--radius);
  font-size: 1.15rem;
  color: var(--color-neutral-dark);
}
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .contact-line { font-size: 1rem; }
.cta-band .contact-line a { color: var(--color-secondary); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: 0 24px 60px -20px rgba(34, 197, 94, 0.35);
}
.pricing-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--color-accent);
  color: #06210F;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 999px;
}
.pricing-card__plan { color: var(--color-neutral-dark); margin-bottom: .25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); margin: .25rem 0 1rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: .5rem; padding: .35rem 0; color: var(--color-text); align-items: flex-start; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: #fff;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-details address { font-style: normal; margin-bottom: 1.5rem; color: var(--color-muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem .25rem; border-bottom: 1px solid var(--color-border); text-align: left; font-weight: 500; color: var(--color-text); }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); margin-bottom: .35rem; font-size: .9rem; }
.field input, .field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  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(8, 145, 178, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-muted); margin: 1rem 0 1.25rem; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 253, 250, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 { color: #fff; margin-bottom: .75rem; }
.site-footer a { color: rgba(240, 253, 250, 0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer .logo img { height: 64px; }
.site-footer .tagline { color: rgba(240, 253, 250, 0.7); margin-top: .5rem; }
.site-footer nav a { display: block; padding: .2rem 0; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(240, 253, 250, 0.12); font-size: .85rem; color: rgba(240, 253, 250, 0.6); }
.copyright p { margin: 0; }

/* === Reveal (scroll 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.4rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  border: 0;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  background: rgba(240, 253, 250, 0.12);
  color: var(--color-neutral-light);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(240, 253, 250, 0.22); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #06210F; }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; background: var(--color-primary); color: #fff; }
