/* =========================================================
   IMPERIO DIGITAL 365 — Sistema de diseño
   Estética: editorial de lujo, claro y sereno
   (serif elegante + sans con aire, dorado champán)
   ========================================================= */

:root {
  /* Paleta clara / editorial */
  --paper:      #FFFFFF;   /* tarjetas, secciones limpias */
  --ivory:      #F7F2E9;   /* fondo principal cálido */
  --cream:      #F3EEDF;   /* secciones de acento */
  --cream-deep: #ECE3D0;
  --stone:      #E7DDCB;   /* tono más profundo para alternar secciones */
  --ink:        #1E1C1A;   /* casi negro cálido: barra, footer, anclas */
  --ink-2:      #262320;   /* variante de bloque oscuro */
  --ink-soft:   #4B4641;   /* texto secundario */
  --muted:      #8C8478;   /* texto tenue cálido */
  --gold:       #C5AE82;   /* dorado champán */
  --gold-deep:  #A98E5C;   /* dorado para hover/realces */
  --gold-soft:  #E7D9BC;
  --teal:       #2E5D55;   /* acento tecnológico, sobrio */
  --line:       rgba(35, 35, 35, 0.12);
  --line-soft:  rgba(35, 35, 35, 0.07);

  /* Tipografía */
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-script: "Great Vibes", "Cormorant Garamond", cursive;

  /* Métricas */
  --container: 1160px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-card: 0 22px 50px -34px rgba(40, 33, 20, 0.45);
  --shadow-soft: 0 14px 40px -28px rgba(40, 33, 20, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { background-color: var(--ivory); }
body {
  margin: 0;
  font-family: var(--font-body);
  background: transparent;
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Fondo de mármol fijo para toda la página (robusto en móvil) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(244, 238, 226, 0.88), rgba(236, 227, 209, 0.92)),
    url("../img/page-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
}
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 68px 0; position: relative; }
.center { text-align: center; }

/* Superficies para diferenciar secciones (ritmo sutil) */
.surface-paper { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.surface-cream { background: var(--cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.surface-stone { background: var(--stone); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
/* .surface-clear deja ver la textura de mármol del fondo */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Eyebrow: mayúsculas con mucho tracking, marca de lujo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center::before { display: none; }

.lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 58ch;
  font-weight: 400;
}

.h1 { font-size: clamp(2.7rem, 6.5vw, 4.8rem); font-weight: 500; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 500; }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 500; }

.gold-text { color: var(--gold-deep); }
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-deep);
  font-size: 1.35em;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.italic { font-style: italic; }

.rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 0; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: #2c2208;
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

/* Botón claro para usar sobre fondos oscuros/imágenes */
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); border-color: var(--ivory); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--sm { padding: 12px 22px; font-size: 0.72rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(24, 22, 20, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(197, 174, 130, 0.28);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: rgba(197, 174, 130, 0.4);
  background: rgba(20, 18, 16, 0.97);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ivory);
}
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold-soft);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ivory);
}
.brand__name .year { color: var(--gold-soft); font-weight: 500; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 242, 233, 0.5);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 233, 0.68);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--gold-soft); }
.nav__links a.is-active { color: var(--ivory); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold);
}

.nav__right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(247, 242, 233, 0.22);
  border-radius: 2px;
  overflow: hidden;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang-toggle button {
  background: transparent;
  color: rgba(247, 242, 233, 0.6);
  border: 0;
  padding: 7px 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button.is-active { background: var(--gold); color: #2c2208; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 2px;
  width: 46px; height: 44px;
  cursor: pointer;
  color: var(--gold-soft);
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0;
}
.nav__toggle svg { width: 24px; height: 24px; display: block; }

/* Menú móvil */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(247, 242, 233, 0.1);
  background: var(--ink);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 14px 26px 26px; }
.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(247, 242, 233, 0.1);
  color: var(--ivory);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.mobile-menu a.is-active { color: var(--gold-soft); }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- Hero cinematográfico ---------- */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,0.66) 0%, rgba(14,12,10,0.55) 45%, rgba(14,12,10,0.86) 100%),
    radial-gradient(900px 520px at 76% 28%, rgba(31,120,110,0.20), transparent 62%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 152px 0 142px;
  max-width: 980px;
}
.hero--center .hero__inner { margin: 0 auto; text-align: center; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--ivory);
  margin: 24px 0 0;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
.hero__wordmark .year { color: var(--gold-soft); font-style: italic; }
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  color: var(--gold-soft);
  margin-top: 18px;
}
.hero .lede { margin-top: 22px; font-size: 1.15rem; color: rgba(247, 242, 233, 0.84); }
.hero--center .lede { margin-left: auto; margin-right: auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero--center .hero__cta { justify-content: center; }
.hero__trust {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  color: rgba(247, 242, 233, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero--center .hero__trust { justify-content: center; }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Páginas interiores: encabezado simple */
.page-head { padding: 92px 0 8px; position: relative; }
.page-head .lede { margin-top: 22px; }

/* ---------- Sección heading ---------- */
.section-head { max-width: 680px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 18px; }
.section-head .rule { margin-top: 22px; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Grid de tarjetas ---------- */
.grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Tarjetas estilo editorial: limpias, divididas por líneas finas */
.card {
  position: relative;
  background: var(--ivory);
  padding: 40px 34px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover { background: var(--paper); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-bottom: 24px;
}
.card__icon svg { width: 24px; height: 24px; stroke-width: 1.3; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--ink-soft); margin-top: 12px; font-size: 0.95rem; line-height: 1.75; }
.card .tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tarjeta con borde (cuando no es grid de líneas) */
.card--bordered {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card--bordered:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); transform: translateY(-4px); }

/* Servicio numerado */
.svc { display: flex; gap: 24px; }
.svc__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1;
  flex: none;
  padding-top: 4px;
}
.svc h3 { font-size: 1.4rem; }
.svc p { color: var(--ink-soft); margin-top: 10px; font-size: 0.95rem; }

/* ---------- Banda diferenciador ---------- */
.band {
  background: var(--ink);
  color: var(--ivory);
  padding: 92px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.16;
}
.band > * { position: relative; z-index: 1; }
.band .eyebrow { color: var(--gold-soft); }
.band .eyebrow::before { background: var(--gold-soft); }
.band q, .band .quote {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.32;
  font-weight: 400;
  max-width: 880px;
  margin: 22px auto 0;
  color: var(--ivory);
}
.band q::before, .band q::after { content: ""; }
.band .gold-text { color: var(--gold-soft); }

/* ---------- Para quién es ---------- */
.audience {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  padding: 14px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip svg { width: 18px; height: 18px; color: var(--gold-deep); stroke-width: 1.4; }

/* ---------- Testimonios ---------- */
.quote-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 38px 32px;
}
.quote-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 0.9rem; }
.quote-card p {
  color: var(--ink); margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.35rem; line-height: 1.5; font-style: italic; font-weight: 400;
  min-height: 96px;
}
.quote-card .who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.quote-card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream-deep);
  border: 1px solid var(--gold);
  flex: none;
  display: grid; place-items: center;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
}
.quote-card .who b { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.quote-card .who small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; margin-top: 3px; }
.quote-card.is-placeholder { border-style: dashed; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 44px 34px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}
.price-card.is-popular {
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.price-card.is-popular::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold);
}
.popular-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #2c2208;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 2px;
}
.price-card .plan-name {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: 0.04em;
  font-size: 1.7rem; color: var(--ink);
}
.price-card .ideal { color: var(--muted); font-size: 0.82rem; margin-top: 8px; font-style: italic; min-height: 40px; }
.price-card .price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 500; margin-top: 16px; color: var(--ink); line-height: 1; }
.price-card .price small { font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); font-style: normal; letter-spacing: 0.04em; }
.price-card ul { list-style: none; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.price-card li { display: flex; gap: 12px; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.price-card li svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; margin-top: 4px; stroke-width: 2.2; }
.price-card li.muted { color: var(--muted); }
.price-card li.muted svg { color: var(--line); }
.price-card .btn { margin-top: 30px; }
.price-card .spacer { flex: 1; }

/* Lanzamiento (pago único) */
.launch {
  border: 1px solid var(--gold);
  background: var(--paper);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.launch .price { font-family: var(--font-display); font-size: 3rem; font-weight: 500; color: var(--ink); margin-top: 12px; line-height: 1; }
.launch .price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); letter-spacing: 0.06em; }
.launch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.launch li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.launch li svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; margin-top: 4px; stroke-width: 2.2; }
.launch .result { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 18px; }

/* ---------- Tabla comparativa ---------- */
.table-wrap { border: 1px solid var(--line); background: var(--paper); }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cmp thead th {
  background: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
.cmp thead th:first-child { text-align: left; }
.cmp thead th.pop { color: var(--gold-deep); }
.cmp tbody td:not(:first-child) { text-align: center; }
.cmp tbody td:first-child { color: var(--ink); font-weight: 500; }
.cmp tbody tr:hover { background: var(--cream); }
.cmp .yes { color: var(--gold-deep); font-weight: 700; }
.cmp .no { color: #c9c2b4; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .col-pop { background: rgba(197, 174, 130, 0.07); }

/* Tabla de opcionales */
.opt-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.opt-table th, .opt-table td { padding: 17px 20px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.opt-table th { color: var(--muted); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--cream); }
.opt-table td:first-child { color: var(--ink); }
.opt-table td:last-child { text-align: right; color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.opt-table tr:last-child td { border-bottom: 0; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.about-photo {
  border: 1px solid var(--gold);
  padding: 12px;
  background: var(--paper);
}
.about-photo .inner {
  aspect-ratio: 4/5;
  background: var(--cream-deep);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  color: var(--muted);
  text-align: center;
}
.about-photo .inner span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0 18px; }
.about-prose p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.85; margin-top: 22px; }
.about-prose p:first-child { margin-top: 0; }
.about-prose .promise {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--ink);
  margin-top: 30px;
  line-height: 1.3;
}
.backed {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.backed small { color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.66rem; }
.backed .logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.backed .logo-pill {
  border: 1px solid var(--line); padding: 13px 20px;
  background: var(--paper); font-family: var(--font-display); font-size: 1.05rem; color: var(--ink);
}

.value-list { display: grid; gap: 18px; margin-top: 8px; }
.value-list .item { display: flex; gap: 16px; align-items: flex-start; }
.value-list .item svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 4px; stroke-width: 1.6; }
.value-list .item b { display: block; font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; }
.value-list .item span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form { border: 1px solid var(--line); background: var(--paper); padding: 40px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #b6ad9e; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 174, 130, 0.18);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.form .privacy { font-size: 0.78rem; color: var(--muted); margin-top: 16px; line-height: 1.6; }

.contact-side .ways { display: grid; gap: 14px; margin-top: 24px; }
.way {
  display: flex; align-items: center; gap: 18px;
  border: 1px solid var(--line);
  background: var(--paper); padding: 20px 22px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.way:hover { border-color: var(--gold); transform: translateY(-2px); }
.way .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--gold); color: var(--gold-deep); }
.way .ic svg { width: 22px; height: 22px; stroke-width: 1.5; }
.way b { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.way small { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.02em; }

.calendly-embed {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 640px;
}
.calendly-inline-widget { min-height: 640px; }
.calendly-fallback { padding: 48px; text-align: center; color: var(--muted); }

/* ---------- CTA cierre ---------- */
.cta-final {
  background: var(--ink);
  color: var(--ivory);
  padding: 96px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.14; }
.cta-final > * { position: relative; z-index: 1; }
.cta-final .eyebrow { color: var(--gold-soft); }
.cta-final .eyebrow::before { background: var(--gold-soft); }
.cta-final h2 { max-width: 680px; margin: 18px auto 0; color: var(--ivory); }
.cta-final .lede { color: rgba(247,242,233,0.78); }
.cta-final .btn { margin-top: 38px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  border-top: 2px solid var(--gold);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-grid h4 { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid a { color: rgba(247, 242, 233, 0.74); font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-brand .brand { color: var(--ivory); }
.footer-brand .brand__name { font-size: 1.45rem; color: var(--ivory); }
.footer-brand p { color: rgba(247, 242, 233, 0.6); font-size: 0.9rem; margin-top: 16px; max-width: 36ch; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(247, 242, 233, 0.2); display: grid; place-items: center;
  color: var(--ivory); transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(247, 242, 233, 0.14);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: rgba(247, 242, 233, 0.5); font-size: 0.78rem; letter-spacing: 0.03em;
}
.footer-bottom a { color: rgba(247, 242, 233, 0.5); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.10s; }
.reveal[data-delay="2"] { transition-delay: 0.20s; }
.reveal[data-delay="3"] { transition-delay: 0.30s; }
.reveal[data-delay="4"] { transition-delay: 0.40s; }
.reveal[data-delay="5"] { transition-delay: 0.50s; }

/* Hero reveal escalonado al cargar */
.hero [data-rise] { opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease) forwards; }
.hero [data-rise="1"] { animation-delay: 0.08s; }
.hero [data-rise="2"] { animation-delay: 0.24s; }
.hero [data-rise="3"] { animation-delay: 0.40s; }
.hero [data-rise="4"] { animation-delay: 0.56s; }
.hero [data-rise="5"] { animation-delay: 0.72s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-rise] { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .launch { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links, .nav__right .lang-toggle, .nav__right .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { height: 70px; }
  .grid--3, .grid--2, .grid--4, .pricing { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .band { padding: 64px 26px; }
  .cta-final { padding: 72px 26px; }
  .hero__inner { padding: 84px 0 88px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .form { padding: 26px; }
  .launch { padding: 28px; }
  .quote-card p { font-size: 1.2rem; }
  .hero__inner { padding: 72px 0 78px; }
  .hero__wordmark { font-size: clamp(2.5rem, 13.5vw, 3.8rem); line-height: 1; }
  .hero__tagline { font-size: 1.25rem; }
  .hero .lede { font-size: 1.05rem; }
  .container { padding: 0 20px; }
  .band q, .band .quote { font-size: 1.5rem; }
  .price-card .price { font-size: 3rem; }
}

/* Pantallas muy pequeñas: aire en la marca del header */
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.15rem; }
}

/* Tablas en móvil: scroll horizontal */
@media (max-width: 720px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp { min-width: 580px; }
  .opt-table { min-width: 480px; }
}
