/* ==========================================================================
   TEBLAR · Landing de ventas
   Índice
   01. Variables          07. Usos (cards)        13. Testimonios (carrusel)
   02. Base y reset       08. Beneficios          14. Preguntas frecuentes
   03. Utilidades         09. Por qué te conviene 15. Contacto y formulario
   04. Botones e íconos   10. Calidad (versus)    16. Footer
   05. Header y menú      11. Cómo se usa         17. CTA flotantes
   06. Hero               12. Comparativa (tabla) 18. Animaciones / motion
   Mobile-first. Breakpoints: 768px y 1024px.
   ========================================================================== */

/* ---------- 01. Variables ---------- */
:root {
  --brand: #134731;
  --brand-600: #1B523D;
  --brand-500: #2E7D6B;
  --brand-300: #709C8F;
  --brand-50: #E8F0EC;
  --ink: #0E2A20;
  --gray-logo: #888687;      /* solo líneas y detalles: no llega a AA como texto */
  --gray-text: #5A5859;      /* gris del logo oscurecido para texto (AA sobre blanco y --brand-50) */
  --paper: #E7E7E7;
  --white: #FFFFFF;
  --accent: #F2B33D;
  --accent-600: #E0A023;
  --on-dark: #DCE9E3;        /* texto secundario sobre verde profundo */
  --error: #A3261B;

  --font-title: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --header-h: 64px;
  --radius: 4px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(14, 42, 32, .10);
  --shadow-lg: 0 22px 50px rgba(14, 42, 32, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 02. Base y reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: 72px; /* lugar para la barra CTA fija en mobile */
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .footer :focus-visible, .hero__strip :focus-visible { outline-color: var(--accent); }

/* ---------- 03. Utilidades ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; outline-color: var(--accent); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 860px; }

.section { position: relative; padding-block: 64px; }
.section--soft { background: var(--brand-50); }
.section--dark {
  color: var(--white);
  background:
    linear-gradient(rgba(19, 71, 49, .93), rgba(15, 58, 40, .95)),
    url("../img/textura-tela.webp") center / cover no-repeat var(--brand);
}
.section--curved { padding-block: 104px; }

/* Bandas curvas: el SVG se pinta con el color de la sección vecina */
.curve { position: absolute; left: 0; width: 100%; height: 44px; fill: var(--white); stroke: none; pointer-events: none; }
.curve--top { top: -1px; }
.curve--bottom { bottom: -1px; }
.curve--soft { fill: var(--brand-50); }

.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  font-family: var(--font-title); font-weight: 700; font-size: .75rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brand-500);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--accent); }
.section__title {
  font-weight: 800; font-size: clamp(1.4rem, 1.05rem + 1.9vw, 2.15rem);
  letter-spacing: .05em; text-transform: uppercase; color: var(--brand);
  text-wrap: balance;
}
.section--dark .section__title { color: var(--white); }
.section__lead { margin-top: 14px; font-size: 1.0625rem; color: var(--gray-text); text-wrap: pretty; }
.section--dark .section__lead { color: var(--on-dark); }

/* ---------- 04. Botones e íconos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: .9375rem; letter-spacing: .02em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__ico { width: 22px; height: 22px; flex: none; }
.btn__ico--end { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .btn__ico--end { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--xl { min-height: 62px; padding: 16px 34px; font-size: 1.0625rem; }
.btn--xl .btn__ico { width: 26px; height: 26px; }

.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 10px 22px rgba(19, 71, 49, .28); }
.btn--wa { background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px rgba(242, 179, 61, .35); }
.btn--wa:hover { background: var(--accent-600); box-shadow: 0 12px 26px rgba(224, 160, 35, .45); }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: var(--white); }

/* Ícono de línea dentro de un círculo */
.ico {
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
}
.ico svg { width: 26px; height: 26px; }
.ico--line { border: 1.5px solid currentColor; color: var(--white); }
.ico--solid { background: var(--brand); color: var(--white); }
.ico--sm { width: 40px; height: 40px; }
.ico--sm svg { width: 20px; height: 20px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-title); font-weight: 700; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand); text-decoration: none;
}
.link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover { color: var(--brand-500); }
.link:hover svg { transform: translateX(4px); }

/* ---------- 05. Header y menú ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 42, 32, .08); border-color: var(--brand-50); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo { display: block; flex: none; }
.header__logo img { height: 46px; width: auto; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--brand);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); padding: 8px 20px 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 24px 40px rgba(14, 42, 32, .14);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.js .nav { visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list a {
  display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--brand-50);
  font-family: var(--font-title); font-weight: 600; font-size: .875rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--brand-500); }
.nav__cta { width: 100%; margin-top: 18px; }

@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  .header__logo img { height: 54px; }
  .nav-toggle { display: none; }
  .nav, .js .nav {
    position: static; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); padding: 0; background: none;
    box-shadow: none; border-radius: 0; visibility: visible; opacity: 1; transform: none; overflow: visible; max-height: none;
  }
  .nav__list { display: flex; gap: clamp(12px, 1.5vw, 22px); }
  .nav__list a { position: relative; min-height: 44px; border: 0; font-size: .75rem; letter-spacing: .1em; white-space: nowrap; }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--brand-500);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
  .nav__cta { width: auto; margin: 0; white-space: nowrap; }
}

/* ---------- 06. Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--white) 0%, #F4F6F5 100%); overflow: hidden; }
.hero__inner { order: 1; padding-block: 28px 36px; }
.hero__title {
  font-weight: 800; font-size: clamp(2rem, 1.2rem + 4.2vw, 3.6rem); letter-spacing: -.01em;
  color: var(--brand); text-wrap: balance;
}
.hero__title span { color: var(--brand-500); }
.hero__lead { margin-top: 18px; max-width: 34em; font-size: 1.0625rem; color: var(--gray-text); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero__note { margin-top: 14px; font-size: .875rem; color: var(--gray-text); }

/* Tela: en mobile es una banda con borde superior curvo */
.hero__media {
  order: 2; position: relative; height: 210px; overflow: hidden; background: var(--brand);
  clip-path: ellipse(95% 100% at 50% 100%);
}
.hero__img { width: 100%; height: 118%; object-fit: cover; object-position: 30% 50%; will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(19, 71, 49, .18) 0%, rgba(19, 71, 49, .62) 100%);
}

.hero__strip { order: 3; position: relative; z-index: 2; background: var(--brand); color: var(--white); }
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-block: 22px; }
.strip li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
}
.strip .ico { width: 40px; height: 40px; }
.strip .ico svg { width: 20px; height: 20px; }

@media (min-width: 768px) {
  .hero__inner { padding-block: 48px 52px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__media { height: 320px; }
  .strip { grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
  .strip li { font-size: .75rem; }
  .strip .ico { width: 48px; height: 48px; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(760px, calc(100vh - var(--header-h))); }
  .hero__inner { flex: 1; display: flex; align-items: center; padding-block: 56px; width: 100%; }
  .hero__content { width: 50%; padding-right: 32px; }
  /* Sombra gris detrás del paño, como en el logo */
  .hero::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: calc(47% + 26px);
    background: linear-gradient(180deg, #D5D8D7, #B9BDBB); clip-path: ellipse(100% 86% at 100% 40%);
  }
  .hero__media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 47%; height: auto;
    clip-path: ellipse(100% 86% at 100% 40%);
  }
  .hero__img { object-position: 20% 50%; }
  .strip li { font-size: .8125rem; gap: 14px; }
  .strip .ico { width: 54px; height: 54px; }
  .strip .ico svg { width: 24px; height: 24px; }
}

/* ---------- 07. Usos (cards) ---------- */
.cards { display: grid; gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
/* Cabecera verde con borde curvo que pisa la foto */
.card__head {
  position: relative; display: flex; align-items: center; gap: 14px; margin-top: -26px;
  padding: 22px 20px 16px; background: var(--brand); color: var(--white);
  border-radius: 0 100% 0 0 / 0 46px 0 0;
}
.card__head .ico { width: 48px; height: 48px; }
.card__head .ico svg { width: 22px; height: 22px; }
.card__head h3 { font-size: .9375rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 14px; }
.card__body p { color: var(--gray-text); }
.card__body .link { margin-top: auto; }

@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .card__head h3 { font-size: .8125rem; }
}

/* ---------- 08. Beneficios ---------- */
.benefits { display: grid; gap: 28px; }
.benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start; }
.benefit .ico { grid-row: span 2; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.benefit:hover .ico { background: var(--white); color: var(--brand); transform: scale(1.06); }
.benefit h3 { font-size: .9375rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; align-self: end; }
.benefit p { color: var(--on-dark); }

@media (min-width: 768px) { .benefits { grid-template-columns: repeat(2, 1fr); gap: 40px 44px; } }
@media (min-width: 1024px) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 52px 48px; }
  .benefit { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 12px; }
  .benefit .ico { grid-row: auto; width: 72px; height: 72px; }
  .benefit .ico svg { width: 32px; height: 32px; }
}

/* ---------- 09. Por qué te conviene ---------- */
.why { display: grid; gap: 44px; }
.args { display: grid; gap: 20px; margin-bottom: 32px; }
.args li { display: flex; gap: 16px; align-items: flex-start; }
.args .ico { width: 46px; height: 46px; }
.args .ico svg { width: 22px; height: 22px; }
.args h3 { font-size: 1rem; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.args p { color: var(--gray-text); }

.why__photo { position: relative; padding: 0 0 18px 18px; }
.why__photo::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 82%;
  background: var(--brand); border-radius: 0 0 0 80px / 0 0 0 60px;
}
.why__photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px; background: var(--brand-50); border-radius: var(--radius); border-left: 4px solid var(--brand-500); }
.stat dt { font-size: .875rem; color: var(--gray-text); line-height: 1.35; }
.stat dd { font-family: var(--font-title); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--brand); }
.stat--todo { background: none; border: 2px dashed var(--gray-logo); }
.stat--todo dd { font-size: 1.05rem; line-height: 2.5rem; letter-spacing: .04em; color: var(--gray-text); }

@media (min-width: 1024px) {
  .why { grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
  .args { grid-template-columns: 1fr 1fr; gap: 26px 32px; }
}

/* ---------- 10. Calidad: versus ---------- */
.versus { display: grid; gap: 14px; }
.versus__row { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 14px rgba(14, 42, 32, .06); overflow: hidden; }
.versus__row--head { display: none; }
.versus__attr {
  padding: 12px 16px; background: var(--brand); color: var(--white);
  font-family: var(--font-title); font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
}
.versus__cell { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; }
.versus__cell--bad { color: var(--gray-text); background: #F3F3F3; }
.versus__label { font-weight: 600; color: var(--ink); }
.versus__cell--good .versus__label { color: var(--brand); }
.mark { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; }
.mark svg { width: 15px; height: 15px; stroke-width: 2.4; }
.mark--ok { background: var(--brand-500); color: var(--white); }
.mark--no { background: var(--white); color: var(--gray-text); border: 1.5px solid var(--gray-logo); }

.callout {
  display: grid; gap: 22px; margin-top: 36px; padding: 30px 24px;
  background: var(--brand); color: var(--white);
  border-radius: var(--radius) 72px var(--radius) var(--radius) / var(--radius) 56px var(--radius) var(--radius);
}
.callout h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.callout p { color: var(--on-dark); max-width: 46em; }
.callout :focus-visible { outline-color: var(--accent); }

@media (min-width: 768px) {
  .versus { gap: 0; background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius); box-shadow: var(--shadow); overflow: hidden; }
  .versus__row, .versus__row--head { display: grid; grid-template-columns: 1fr 1.35fr 1.35fr; border-radius: 0; box-shadow: none; border-top: 1px solid var(--brand-50); }
  .versus__row--head { border-top: 0; }
  .versus__attr { display: flex; align-items: center; padding: 16px 20px; background: none; color: var(--ink); font-size: .75rem; }
  .versus__cell { align-items: center; padding: 16px 20px; }
  .versus__cell--good { background: var(--brand-50); }
  .versus__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .versus__row--head .versus__cell {
    font-family: var(--font-title); font-weight: 800; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; padding-block: 20px;
  }
  .versus__row--head .versus__cell--good { background: var(--brand); color: var(--white); }
  .versus__row--head .versus__cell--bad { background: var(--gray-text); color: var(--white); }
  .versus__flag { width: 26px; height: 26px; color: var(--brand-300); stroke: none; }
  .callout { grid-template-columns: 1fr auto; align-items: center; padding: 36px 44px; }
}

/* ---------- 11. Cómo se usa ---------- */
.steps { display: grid; gap: 26px; counter-reset: paso; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px; }
.step .ico { grid-row: span 2; position: relative; z-index: 1; }
.step:not(:last-child)::before { /* línea que une los pasos */
  content: ""; position: absolute; left: 27px; top: 56px; bottom: -26px; width: 2px; background: var(--brand-50);
}
.step__num {
  position: absolute; left: 38px; top: -6px; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-family: var(--font-title); font-weight: 800; font-size: .75rem;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--brand); align-self: end; }
.step p { color: var(--gray-text); }

.help {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 44px; padding: 24px;
  background: var(--brand-50); border-radius: var(--radius) 56px var(--radius) var(--radius) / var(--radius) 44px var(--radius) var(--radius);
}
.help p { font-size: 1.0625rem; }
.help strong { font-family: var(--font-title); color: var(--brand); }

@media (min-width: 768px) {
  .help { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 40px; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 12px; }
  .step .ico { grid-row: auto; width: 72px; height: 72px; }
  .step .ico svg { width: 30px; height: 30px; }
  .step:not(:last-child)::before { left: calc(50% + 46px); right: calc(-50% + 22px); top: 35px; bottom: auto; width: auto; height: 2px; }
  .step__num { left: calc(50% + 14px); top: -6px; width: 28px; height: 28px; font-size: .8125rem; }
  .step h3 { align-self: auto; }
}

/* ---------- 12. Comparativa (tabla) ---------- */
.table-hint { margin-bottom: 10px; font-size: .875rem; color: var(--gray-text); text-align: center; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; text-align: center; }
.compare th, .compare td { padding: 16px 14px; border-bottom: 1px solid var(--brand-50); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th {
  vertical-align: bottom; padding-block: 22px 16px;
  font-family: var(--font-title); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.compare thead th small { display: block; margin-top: 2px; font-weight: 600; font-size: .6875rem; letter-spacing: .08em; opacity: .85; }
.compare tbody th {
  position: sticky; left: 0; z-index: 1; background: var(--white); text-align: left; width: 150px;
  font-family: var(--font-title); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  box-shadow: 1px 0 0 var(--brand-50);
}
.compare thead th:first-child { position: sticky; left: 0; background: var(--white); }
.compare .is-teblar { background: var(--brand); color: var(--white); border-bottom-color: rgba(255, 255, 255, .14); }
.compare thead .is-teblar { font-size: .9375rem; font-weight: 800; color: var(--white); }
.badge {
  display: block; width: max-content; margin: 0 auto 8px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: .625rem; font-weight: 800; letter-spacing: .12em;
}
.val { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9375rem; text-align: left; }
.val svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; stroke-width: 2.6; }
.val--ok svg { background: var(--brand-500); color: var(--white); }
.val--mid svg { background: var(--paper); color: var(--ink); }
.val--no svg { background: var(--white); color: var(--gray-text); box-shadow: inset 0 0 0 1.5px var(--gray-logo); }
.val--no, .val--mid { color: var(--gray-text); }
.is-teblar .val { font-weight: 600; color: var(--white); }
.is-teblar .val svg { background: var(--white); color: var(--brand); }
.table-note { margin-top: 16px; font-size: .8125rem; color: var(--gray-text); text-align: center; }

@media (min-width: 1024px) {
  .table-hint { display: none; }
  .compare th, .compare td { padding: 18px 20px; }
  .compare tbody th { width: 220px; }
}

/* ---------- 13. Testimonios (carrusel) ---------- */
.carousel { max-width: 780px; margin-inline: auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius) 64px var(--radius) var(--radius) / var(--radius) 50px var(--radius) var(--radius); touch-action: pan-y; }
.carousel__track { display: flex; transition: transform .5s var(--ease); }
.slide { flex: 0 0 100%; min-width: 0; padding: 30px 24px; background: var(--white); color: var(--ink); }
.slide__tag {
  display: inline-block; margin-bottom: 14px; padding: 3px 10px; border: 1px dashed var(--gray-logo); border-radius: 999px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-text);
}
.slide__stars { display: flex; gap: 2px; color: var(--accent-600); margin-bottom: 14px; }
.slide__stars svg { width: 20px; height: 20px; }
.slide blockquote { margin: 0 0 22px; font-size: 1.0625rem; line-height: 1.6; }
.slide__who { display: flex; align-items: center; gap: 14px; }
.slide__avatar {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: var(--white); font-family: var(--font-title); font-weight: 700; letter-spacing: .04em;
}
.slide__name { font-family: var(--font-title); font-weight: 700; color: var(--brand); }
.slide__meta { font-size: .875rem; color: var(--gray-text); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.carousel__btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1.5px solid var(--white); color: var(--white); transition: background-color .2s, color .2s;
}
.carousel__btn:hover { background: var(--white); color: var(--brand); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: 2px; }
.carousel__dot { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.carousel__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--white); transition: background-color .2s, transform .2s; }
.carousel__dot[aria-current="true"]::before { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.carousel__disclaimer, .carousel__noscript { margin-top: 18px; font-size: .8125rem; color: var(--on-dark); text-align: center; }

@media (min-width: 768px) {
  .slide { padding: 44px 52px; }
  .slide blockquote { font-size: 1.1875rem; }
}

/* ---------- 14. Preguntas frecuentes ---------- */
.faq { border-top: 1px solid var(--brand-50); }
.faq__item { border-bottom: 1px solid var(--brand-50); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 16px 4px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-title); font-weight: 700; font-size: 1rem; color: var(--brand);
}
.faq__q:hover { color: var(--brand-500); }
.faq__q svg {
  flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1.5px solid var(--brand-500); color: var(--brand-500);
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); background: var(--brand); border-color: var(--brand); color: var(--white); }
.faq__a-inner { padding: 0 52px 22px 4px; color: var(--gray-text); }
.faq__a:not([hidden]) .faq__a-inner { animation: faq-in .3s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 15. Contacto y formulario ---------- */
.contact { padding-top: 104px; padding-bottom: 72px; }
.contact__grid { display: grid; gap: 44px; }
.contact__intro .section__title { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.7rem); }
.contact__intro .btn--xl { margin-top: 28px; width: 100%; }
.contact__list { display: grid; gap: 14px; margin-top: 36px; }
.contact__list li { display: flex; align-items: center; gap: 14px; overflow-wrap: anywhere; }
.contact__list a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.contact__list a:hover { color: var(--accent); text-decoration-color: currentColor; }
.contact__list small { color: var(--on-dark); font-size: .875rem; }

.form {
  display: grid; gap: 18px; padding: 28px 22px; background: var(--white); color: var(--ink);
  border-radius: var(--radius) 64px var(--radius) var(--radius) / var(--radius) 50px var(--radius) var(--radius); box-shadow: var(--shadow-lg);
}
.form :focus-visible { outline-color: var(--ink); }
.form__title { font-size: 1.125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); padding-right: 30px; }
.form__hint { font-size: .875rem; color: var(--gray-text); margin-top: -8px; }
.form__status:empty { display: none; }
.form__status { padding: 12px 14px; border-radius: var(--radius); font-size: .9375rem; font-weight: 500; background: #FBEDEB; color: var(--error); border-left: 4px solid var(--error); }
.form__status.is-ok { background: var(--brand-50); color: var(--brand); border-color: var(--brand-500); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: var(--white);
  border: 1.5px solid var(--gray-logo); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field ::placeholder { color: #6B696A; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46, 125, 107, .25); outline: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: .8125rem; font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.form .btn { width: 100%; }

@media (min-width: 768px) {
  .form { grid-template-columns: 1fr 1fr; padding: 40px 44px; }
  .form__title, .form__hint, .form__status, .field--full { grid-column: 1 / -1; }
  .contact__intro .btn--xl { width: auto; }
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
}

/* ---------- 16. Footer ---------- */
.footer { background: #0F3A28; color: var(--on-dark); padding-block: 44px 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__grid { display: grid; gap: 30px; }
.footer__logo { display: inline-block; }
.footer__logo img { width: 190px; height: auto; }
.footer__about { margin-top: 16px; max-width: 30em; font-size: .9375rem; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer__nav a, .footer__contact > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 8px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--white); }
.footer__social svg { width: 20px; height: 20px; }
.footer__credit a { text-underline-offset: 3px; }
.footer__legal { margin-top: 32px; padding-top: 20px; padding-bottom: 64px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; display: flex; flex-wrap: wrap; gap: 4px 20px; }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  .footer__legal { justify-content: space-between; padding-bottom: 0; padding-right: 96px; }
}

/* ---------- 17. CTA flotantes ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 86px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--ink); box-shadow: 0 10px 26px rgba(14, 42, 32, .32); border: 2px solid var(--white);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { transform: scale(1.08); background: var(--accent-600); }
.wa-float svg { width: 28px; height: 28px; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); box-shadow: 0 -8px 24px rgba(14, 42, 32, .14);
}
.mobile-bar .btn { width: 100%; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wa-float { right: 24px; bottom: 24px; width: 62px; height: 62px; }
  .section { padding-block: 88px; }
  .section--curved { padding-block: 136px; }
  .contact { padding-top: 140px; padding-bottom: 96px; }
  .curve { height: 64px; }
  .section__head { margin-bottom: 52px; }
}
@media (min-width: 1024px) {
  .section { padding-block: 104px; }
  .section--curved { padding-block: 168px; }
  .contact { padding-top: 172px; padding-bottom: 110px; }
  .curve { height: 90px; }
}

/* ---------- 18. Animaciones / motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none !important; }
}

@media print {
  .header, .wa-float, .mobile-bar, .carousel__controls { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
