:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0B3B38;
  --color-muted: #4B7A76;
  --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: 22px;
  --shadow-sm: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 12px 40px -18px rgba(19, 78, 74, 0.28);
  --shadow-lg: 0 30px 60px -30px rgba(19, 78, 74, 0.35);
}

/* === Reset === */
*, *::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: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -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.015em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }

/* === Header === */
.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 .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: 0 8px 30px -20px rgba(19, 78, 74, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; align-items: center; gap: 1.6rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; position: relative; padding: .25rem 0; }
.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); }
.nav-toggle { background: none; border: 1px solid var(--color-border); border-radius: 10px; padding: .45rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: .4rem; }
.primary-nav.is-open a { padding: .6rem 0; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 30px -12px rgba(13, 148, 136, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(13, 148, 136, 0.65); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { transform: translateY(-2px); background: #ea6a12; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(20, 184, 166, 0.5); outline-offset: 2px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(ellipse at 50% 20%, rgba(20, 184, 166, 0.22), transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(249, 115, 22, 0.10), transparent 55%);
  z-index: -1;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1rem auto 1.75rem; font-size: 1.1rem; color: var(--color-muted); }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-image { max-width: 980px; margin: 2rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(19, 78, 74, 0.45); position: relative; }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-compact { padding-block: 3.5rem 2rem; }

@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section-narrow { padding-block: 3.5rem; }
.section-head { margin-bottom: 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; max-width: 60ch; margin-inline: auto; }
.prose { max-width: 60ch; margin-inline: auto; font-size: 1.05rem; line-height: 1.75; }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* === Cards === */
.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), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(13, 148, 136, 0.3); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(13, 148, 136, 0.2));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, var(--color-neutral-dark), #0f4441); color: var(--color-neutral-light); }
.testimonial-section h2 { color: #fff; }
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.5; color: #fff; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: rgba(240, 253, 250, 0.72); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; padding-block: 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 40%, rgba(249, 115, 22, 0.25), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 30ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.9); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .pricing-grid-3 { 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 1.75rem; 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: 2px solid var(--color-accent); box-shadow: 0 24px 60px -20px rgba(249, 115, 22, 0.35); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.25rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.pricing-card__plan { font-size: 1.15rem; margin: 0; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: .5rem 0 .25rem; }
.pricing-card__lede { color: var(--color-muted); font-size: .98rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; font-size: .96rem; line-height: 1.55; }
.pricing-card__features li span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  border: 1px solid var(--color-border); border-radius: 12px; background: #fff;
  padding: 1rem 1.25rem; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(13, 148, 136, 0.3); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 1.75rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-info p { font-size: .95rem; }
.contact-form { display: flex; flex-direction: column; gap: .9rem; }
.contact-form h2 { margin-bottom: 0; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .55rem !important; font-weight: 400 !important; font-size: .85rem !important; color: var(--color-muted) !important; }
.form-consent input { margin-top: .2rem; }
.form-success { padding: 1rem; border-radius: 12px; background: rgba(20, 184, 166, 0.15); color: var(--color-neutral-dark); font-weight: 500; }

/* === 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 .logo img { height: 64px; }
.site-footer h4 { color: #fff; margin-bottom: .85rem; font-size: .95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: rgba(240, 253, 250, 0.85); display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(240, 253, 250, 0.65); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(240, 253, 250, 0.12); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.footer-legal { margin-top: 1rem; font-size: .85rem; }
.footer-legal a { display: inline; }
.copy { text-align: center; padding-top: 1.5rem; font-size: .85rem; color: rgba(240, 253, 250, 0.6); margin: 0; }

/* === 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: 720px; margin-inline: auto;
  font-size: .93rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; color: rgba(240, 253, 250, 0.88); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 253, 250, 0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer; font-weight: 500;
}
.cookie-banner button:hover { border-color: var(--color-neutral-light); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .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; }
}
