/* === Tokens === */
:root {
  --color-primary: #0D9488;
  --color-secondary: #2DD4BF;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-bg: #ffffff;
  --color-text: #0f2a2a;
  --color-muted: #4a6b6b;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(15, 42, 42, 0.06);
  --shadow-lift: 0 18px 48px -20px rgba(15, 42, 42, 0.25);
  --shadow-hero: 0 30px 60px -25px rgba(13, 148, 136, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.text-center { text-align: center; }
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 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 .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 6px 24px -16px rgba(15,42,42,0.2); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; flex-direction: column; gap: 0.5rem; }
.primary-nav a {
  font-weight: 600; color: var(--color-neutral-dark); padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm); position: relative;
}
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav.is-open {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 0.25rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.35rem; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.btn):hover::after,
  .primary-nav a.is-current::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn--small { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), #0b7a70); color: #fff; box-shadow: 0 8px 20px -10px rgba(13,148,136,0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(13,148,136,0.7); color: #fff; }
.btn--accent { background: linear-gradient(135deg, var(--color-accent), #e0560a); color: #fff; box-shadow: 0 8px 20px -10px rgba(249,115,22,0.55); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(249,115,22,0.7); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn--text { background: transparent; color: var(--color-neutral-dark); border: 0; padding: 0.55rem 0.5rem; }
.btn--text:hover { color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

/* === Hero === */
.hero {
  position: relative; overflow: hidden;
  padding-block: 3.5rem 4rem;
  background:
    radial-gradient(ellipse at top right, rgba(45, 212, 191, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(249, 115, 22, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--color-neutral-light) 100%);
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__text h1 { margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 48ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 460px; }
.hero__proof li { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__proof strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary); font-weight: 800; }
.hero__proof span { font-size: 0.8rem; color: var(--color-muted); }
.hero__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-hero);
}
@media (min-width: 900px) {
  .hero { padding-block: 5.5rem 6rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); font-size: 0.975rem; margin: 0; }

/* === Quote === */
.quote {
  margin: 0; padding: 2.5rem 1.5rem;
  text-align: center; position: relative;
}
.quote p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.45; color: var(--color-neutral-dark); font-weight: 500;
}
.quote cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

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

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 980px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-lift); }
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.5rem; margin: 0; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--color-primary); margin: 0; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin: 0.25rem 0 0.5rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--color-text); }
.pricing-card__features span { color: var(--color-primary); font-weight: 700; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.1rem 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 700;
  color: var(--color-neutral-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.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 p { color: var(--color-muted); margin: 0.75rem 0 0; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.85rem 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.25);
}

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240,253,250,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(240,253,250,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.logo--footer img { filter: brightness(0) invert(1); }
.footer__tagline { margin-top: 0.75rem; color: rgba(240,253,250,0.7); max-width: 28ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-contact p { margin: 0 0 0.75rem; font-style: normal; color: rgba(240,253,250,0.8); }
.legal-links { font-size: 0.875rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(240,253,250,0.6); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.45);
  display: none; z-index: 9999; max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.25); }
.cookie-banner .btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--color-neutral-light); }
.cookie-banner .btn--text { color: var(--color-neutral-light); }
.cookie-banner .btn--text:hover { color: var(--color-secondary); }

/* === Reveal motion === */
.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; }
  html { scroll-behavior: auto; }
}
