/* === Tokens === */
:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0F2A2A;
  --color-muted: #4B6B69;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(19, 78, 74, 0.18);
  --shadow-lg: 0 30px 70px -30px rgba(19, 78, 74, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  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 { text-decoration: underline; }
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, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.muted { color: var(--color-muted); }
.small { font-size: 0.9rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading);
  font-size: 0.98rem; border: 1px solid transparent; cursor: pointer;
  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-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(13, 148, 136, 0.6); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(13, 148, 136, 0.7); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { box-shadow: 0 14px 30px -10px rgba(249, 115, 22, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-neutral-light); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 253, 250, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 8px 24px -18px rgba(19, 78, 74, 0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: 0.25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1rem 1.25rem 1.25rem; border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav a { padding: 0.6rem 0.25rem; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a.is-active { color: var(--color-primary); font-weight: 600; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.5rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .primary-nav a { position: relative; }
  .primary-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
    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-active:not(.btn)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero — split === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem; background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(20,184,166,0.04)); }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero-compact { padding-block: 2.5rem; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; padding: 0.35rem 0.75rem; background: rgba(13,148,136,0.1); border-radius: 999px; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 48ch; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-proof { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: 1.75rem; flex-wrap: wrap; }
.hero-proof li { color: var(--color-muted); font-size: 0.95rem; }
.hero-proof strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-neutral-dark); }
.hero-visual img { 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; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: var(--color-neutral-light); }
.section-narrow { padding-block: 4rem; }
.narrow-col { max-width: 68ch; margin-inline: auto; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.split-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split-image img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Cards === */
.grid { display: grid; gap: 1.5rem; }
.grid-cards { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } .grid-cards.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 .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(249,115,22,0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }

/* === Testimonial === */
.testimonial { position: relative; margin: 0; padding: 2rem 1rem; text-align: center; }
.quote-mark { color: var(--color-accent); opacity: 0.4; margin: 0 auto 0.5rem; display: block; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1rem; }
.testimonial cite { display: block; font-style: normal; font-size: 0.95rem; color: var(--color-muted); }

/* === 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: auto -15% -60% auto; width: 500px; height: 500px; background: radial-gradient(circle, rgba(249,115,22,0.28), transparent 60%); }
.cta-band-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band .muted { color: rgba(255,255,255,0.7); }
@media (min-width: 800px) { .cta-band-inner { grid-template-columns: 1fr auto; gap: 2rem; } }

/* === Pricing === */
.pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .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); padding: 2.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s 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: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.25rem; background: var(--color-accent); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; letter-spacing: 0.03em; }
.pricing-card__plan { margin: 0 0 0.25rem; font-size: 1.1rem; color: var(--color-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 1rem; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; font-size: 0.95rem; color: var(--color-text); }
.pricing-card__features span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-primary); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240,253,250,0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(240,253,250,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(240,253,250,0.6); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(240,253,250,0.15); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; font-size: 0.9rem; }
.copyright { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(240,253,250,0.55); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.5fr; gap: 3rem; } }

/* === 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); 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: 0.95rem; color: var(--color-neutral-light); }
.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; padding-top: 1rem; border-top: 1px solid rgba(240,253,250,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

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