/* Concepto: la campana de cristal flota sobre un fondo rosa que se mueve lento,
   como luz pasando por un frasco de perfume. El contenido va en placas de vidrio esmerilado. */
:root {
  --fondo: #F8E3DF;
  --mancha-1: #F6BFBA;
  --mancha-2: #FAD7C6;
  --mancha-3: #EEC0D6;
  --mancha-4: #FFF2EC;
  --tinta: #1E1412;
  --tinta-2: #47302B;
  --oro: #94563F;
  --oro-claro: #E3AC98;
  --vidrio: rgba(255, 249, 247, 0.66);
  --vidrio-fuerte: rgba(255, 249, 247, 0.84);
  --borde-vidrio: rgba(255, 255, 255, 0.75);
  --linea: rgba(148, 86, 63, 0.18);
  --error: #A3352A;
  --error-fondo: #FBDAD5;
  --noche: #1E1412;
  --noche-texto: #F8E3DF;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-texto: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-celda: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --t-hero: clamp(2.7rem, 6.4vw, 5.6rem);
  --t-h2: clamp(2rem, 3.8vw, 3.1rem);
  --t-h3: 1.4rem;
  --radio: 20px;
  --ancho: 1200px;
  --sombra-vidrio: 0 24px 60px -34px rgba(110, 50, 40, 0.45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fondo); color: var(--tinta);
  font-family: var(--f-texto); font-size: 1.06rem; line-height: 1.65; font-weight: 500;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--oro); }
p { margin: 0; }
.wrap {
  max-width: var(--ancho); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.salto { position: absolute; left: -9999px; top: 0; }
.salto:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Fondo vivo: manchas de color que se mueven despacio */
.fondo-vivo { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--fondo); }
.fondo-vivo i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.9; }
.fondo-vivo i:nth-child(1) { width: 62vmax; height: 62vmax; background: var(--mancha-1); left: -18vmax; top: -20vmax; animation: flotar-a 26s ease-in-out infinite alternate; }
.fondo-vivo i:nth-child(2) { width: 54vmax; height: 54vmax; background: var(--mancha-2); right: -16vmax; top: 10vmax; animation: flotar-b 31s ease-in-out infinite alternate; }
.fondo-vivo i:nth-child(3) { width: 48vmax; height: 48vmax; background: var(--mancha-3); left: 20vmax; bottom: -22vmax; animation: flotar-c 23s ease-in-out infinite alternate; }
.fondo-vivo i:nth-child(4) { width: 34vmax; height: 34vmax; background: var(--mancha-4); left: 36vmax; top: 18vmax; animation: flotar-b 19s ease-in-out infinite alternate-reverse; }
@keyframes flotar-a { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes flotar-b { to { transform: translate(-20vmax, 10vmax) scale(0.9); } }
@keyframes flotar-c { to { transform: translate(-12vmax, -16vmax) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .fondo-vivo i { animation: none; } }
#lienzo-campana { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
html:not(.con-3d) #lienzo-campana { display: none; }

/* Placas de vidrio */
.vidrio {
  background: var(--vidrio); border: 1px solid var(--borde-vidrio); border-radius: var(--radio);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--sombra-vidrio);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .vidrio { background: var(--vidrio-fuerte); } }

.placa { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oro); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.placa::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-family: var(--f-texto); font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-principal { background: var(--tinta); color: #fff; box-shadow: 0 14px 30px -14px rgba(30, 20, 18, 0.7); }
.btn-principal:hover { background: var(--oro); }
.btn-borde { border-color: var(--tinta); color: var(--tinta); background: rgba(255, 255, 255, 0.35); }
.btn-borde:hover { background: var(--tinta); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: scale(.98); } }

/* Encabezado */
.cabecera { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-top: 12px; }
.cabecera .wrap > div {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 0 12px 0 20px; position: relative;
}
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.marca svg { width: 26px; height: 32px; color: var(--oro); }
.marca span { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { text-decoration: none; font-size: 0.96rem; font-weight: 600; color: var(--tinta-2); }
.menu a:hover { color: var(--tinta); }
.menu .btn { min-height: 44px; padding: 0 20px; font-size: 0.92rem; color: #fff; }
.menu-boton { display: none; background: rgba(255, 255, 255, 0.5); border: 1px solid var(--borde-vidrio); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; color: var(--tinta); align-items: center; justify-content: center; }
.menu-boton svg { width: 20px; height: 20px; }
@media (max-width: 880px) {
  .menu-boton { display: inline-flex; }
  .menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--vidrio-fuerte); border: 1px solid var(--borde-vidrio); border-radius: var(--radio); box-shadow: var(--sombra-vidrio); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .menu:not(.abierto) { display: none; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 1.05rem; }
  .menu .btn { margin-top: 16px; border-bottom: 0; }
}

/* Inicio */
.heroe .wrap { min-height: calc(100svh - 76px); display: flex; align-items: center; padding-block: 40px 64px; }
.heroe-texto { max-width: 600px; display: grid; gap: 24px; }
.heroe h1 { display: grid; gap: 18px; }
.heroe h1 .lema { font-size: var(--t-hero); }
.heroe h1 .clave { font-family: var(--f-texto); font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 600; line-height: 1.5; color: var(--tinta-2); letter-spacing: 0; max-width: 480px; }
.heroe-bajada { font-size: 1.12rem; max-width: 520px; color: var(--tinta-2); }
.heroe-bajada strong { color: var(--tinta); font-weight: 700; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.heroe-pie { font-size: 0.88rem; font-weight: 600; color: var(--tinta-2); display: flex; align-items: center; gap: 10px; }
.heroe-pie svg { width: 18px; height: 18px; color: var(--oro); }
.heroe-respaldo { display: none; }
html:not(.con-3d) .heroe-respaldo { display: block; width: min(440px, 40%); color: var(--oro); margin-left: auto; }
@media (max-width: 880px) {
  .heroe .wrap { align-items: flex-start; min-height: calc(100svh - 76px); padding-top: 24px; }
  .heroe-texto { gap: 18px; padding: 24px 22px; }
  html:not(.con-3d) .heroe .wrap { flex-direction: column; }
  html:not(.con-3d) .heroe-respaldo { width: 70%; margin: 24px auto 0; }
}
@media (max-width: 880px) { .heroe-texto.vidrio-movil { background: var(--vidrio); border: 1px solid var(--borde-vidrio); border-radius: var(--radio); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--sombra-vidrio); } }

/* Secciones */
.seccion { padding-block: clamp(80px, 11vw, 140px); }
.encabezado-seccion { display: grid; gap: 16px; max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.encabezado-seccion p { color: var(--tinta-2); font-size: 1.1rem; max-width: 60ch; }
.mitad { max-width: 620px; }

/* Errores de Excel */
.errores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 700px; }
.error { padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; }
.error::after { content: ""; position: absolute; top: 0; left: 0; border-top: 14px solid var(--error); border-right: 14px solid transparent; }
.error code { font-family: var(--f-celda); font-size: 1.02rem; font-weight: 500; color: var(--error); background: var(--error-fondo); padding: 4px 10px; border-radius: 6px; justify-self: start; }
.error p { color: var(--tinta-2); font-size: 0.98rem; }
.cierre-problema { margin-top: 32px; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; max-width: 24ch; }
@media (max-width: 600px) { .errores { grid-template-columns: minmax(0, 1fr); } }

/* Funciones: el texto a la izquierda, la campana muestra la pantalla a la derecha */
.pilares { display: grid; gap: 0; }
.pilar { min-height: 92vh; display: flex; align-items: center; }
.pilar-texto { max-width: 560px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; min-width: 0; }
.pilar-texto > p { color: var(--tinta-2); }
.lista { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.lista li { padding-left: 28px; position: relative; color: var(--tinta); }
.lista li::before { content: ""; position: absolute; left: 3px; top: 0.6em; width: 11px; height: 6px; border-left: 2px solid var(--oro); border-bottom: 2px solid var(--oro); transform: rotate(-45deg); }
.pilar-vitrina { display: none; }
@media (max-width: 880px) {
  .pilar { min-height: auto; padding-block: 28px; flex-direction: column; align-items: stretch; gap: 14px; }
  .pilar-vitrina { display: block; padding: 22px; }
}
.mini-titulo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 0.84rem; color: var(--tinta-2); }
.mini-titulo strong { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.25rem; color: var(--tinta); }
.cita { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); margin-bottom: 8px; font-size: 0.9rem; }
.cita time { font-variant-numeric: tabular-nums; color: var(--tinta-2); }
.cita b { font-weight: 700; display: block; }
.cita small { color: var(--tinta-2); font-size: 0.78rem; }
.estado { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.estado-ok { background: #DDEBD5; color: #2F5525; }
.estado-espera { background: #F6E5C8; color: #6E4E12; }
.estado-wa { background: #F7D3CC; color: var(--tinta); }
.ticket { display: grid; gap: 10px; font-size: 0.94rem; }
.ticket-fila { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--linea); font-variant-numeric: tabular-nums; }
.ticket-fila span:first-child { color: var(--tinta-2); }
.ticket-total { display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; font-variant-numeric: lining-nums tabular-nums; }
.pagos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pagos span { font-size: 0.8rem; font-weight: 600; border: 1px solid var(--linea); border-radius: 999px; padding: 4px 12px; color: var(--tinta-2); }
.barras { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 10px; height: 140px; padding-bottom: 6px; border-bottom: 1px solid var(--linea); }
.barras i { display: block; background: #F2C7BE; border-radius: 6px 6px 2px 2px; }
.barras i:last-child { background: var(--oro); }
.barras-ejes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; font-size: 0.74rem; color: var(--tinta-2); text-align: center; margin-top: 8px; }
.resumen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.resumen div { background: rgba(255, 255, 255, 0.7); border-radius: 12px; padding: 10px 12px; }
.resumen small { display: block; color: var(--tinta-2); font-size: 0.76rem; }
.resumen b { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; font-variant-numeric: lining-nums tabular-nums; }
.nota-ejemplo { font-size: 0.74rem; color: var(--tinta-2); margin-top: 12px; text-align: right; }

/* Tipos de negocio */
.negocios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; max-width: 760px; }
.negocio { display: grid; gap: 10px; align-content: start; text-decoration: none; padding: 28px 26px; transition: transform .25s, background-color .25s; }
.negocio:hover { background: var(--vidrio-fuerte); }
@media (prefers-reduced-motion: no-preference) { .negocio:hover { transform: translateY(-3px); } }
.negocio h3 { font-size: 1.5rem; }
.negocio p { color: var(--tinta-2); font-size: 0.97rem; }
.negocio .ir { color: var(--oro); font-size: 0.92rem; font-weight: 700; margin-top: 6px; }

/* Pasos */
.lado-derecho { margin-left: auto; max-width: 640px; }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: paso; }
.pasos li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 18px; align-items: start; padding: 24px; counter-increment: paso; }
.pasos li::before { content: counter(paso); grid-row: span 2; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 2.8rem; line-height: 1; color: var(--oro); }
.pasos p { color: var(--tinta-2); }

/* Preguntas */
.preguntas { max-width: 760px; padding: 8px 28px; }
.preguntas details + details { border-top: 1px solid var(--linea); }
.preguntas summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.3; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-texto); font-weight: 500; font-size: 1.7rem; color: var(--oro); }
.preguntas details[open] summary::after { content: "–"; }
.preguntas .respuesta { padding: 0 0 24px; color: var(--tinta-2); max-width: 66ch; }

/* Llamado final */
.final .wrap { padding-block: clamp(80px, 10vw, 128px); }
.final-caja { background: rgba(30, 20, 18, 0.9); color: var(--noche-texto); border-radius: 28px; padding: clamp(32px, 6vw, 72px); display: grid; gap: 22px; justify-items: start; box-shadow: 0 40px 80px -40px rgba(30, 20, 18, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.final h2 { font-style: italic; font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 17ch; }
.final h2 em { color: var(--oro-claro); }
.final p { color: #F3CFC6; max-width: 54ch; font-weight: 500; }
.final .placa { color: var(--oro-claro); }
.final .btn-principal { background: #fff; color: var(--tinta); }
.final .btn-principal:hover { background: var(--mancha-1); }
.numero { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; user-select: all; font-weight: 700; }

/* Pie */
.pie { background: var(--noche); color: #EBC7BE; font-size: 0.92rem; font-weight: 500; }
.pie .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.pie .marca { color: #fff; }
.pie .marca svg { color: var(--oro-claro); }
.pie p { margin-top: 14px; max-width: 36ch; }
.pie h2 { font-family: var(--f-texto); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oro-claro); font-weight: 700; margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pie a { text-decoration: none; }
.pie a:hover { color: #fff; }
.pie .pie-final { grid-column: 1 / -1; max-width: none; border-top: 1px solid rgba(235, 199, 190, 0.2); padding-top: 22px; font-size: 0.82rem; }
@media (max-width: 760px) { .pie .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; z-index: 60; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; background: var(--tinta); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(30, 20, 18, 0.6); opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s, background-color .25s;
}
.wa-flotante.visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-flotante:hover { background: var(--oro); }
.wa-flotante svg { width: 28px; height: 28px; }

/* Páginas por tipo de negocio */
.migas { font-size: 0.86rem; font-weight: 600; color: var(--tinta-2); padding-top: 22px; }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.migas li + li::before { content: "/"; margin-right: 8px; color: var(--oro); }
.migas a { text-decoration: none; }
.migas a:hover { color: var(--tinta); }
.portada { min-height: calc(100svh - 120px); display: flex; align-items: center; padding-block: 32px 72px; }
.portada-texto { max-width: 620px; display: grid; gap: 22px; padding: clamp(28px, 4vw, 44px); min-width: 0; }
.portada h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.portada .bajada { font-size: 1.12rem; color: var(--tinta-2); max-width: 54ch; }
.portada-figura { display: none; }
html:not(.con-3d) .portada-figura { display: block; width: min(380px, 36%); color: var(--oro); margin-left: auto; }
@media (max-width: 880px) { html:not(.con-3d) .portada { flex-direction: column; } html:not(.con-3d) .portada-figura { width: 60%; margin: 0 auto; } .portada { align-items: flex-start; } }
.dolores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 720px; }
.dolor { padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.dolor code { font-family: var(--f-celda); font-size: 0.86rem; color: var(--error); background: var(--error-fondo); padding: 3px 9px; border-radius: 6px; justify-self: start; }
.dolor p { color: var(--tinta-2); }
@media (max-width: 600px) { .dolores { grid-template-columns: minmax(0, 1fr); } }
.funciones-cortas { display: grid; gap: 14px; max-width: 640px; margin-left: auto; }
.funciones-cortas article { display: grid; gap: 10px; padding: 26px; }
.funciones-cortas p { color: var(--tinta-2); }
.otros { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.otros a { text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 999px; }
.otros a:hover { background: var(--vidrio-fuerte); }

/* En celular: espacios sin texto para ver la campana en sus dos momentos clave */
@media (max-width: 880px) {
  html.con-3d .heroe .wrap { padding-bottom: 62svh; }
  html.con-3d #funciones .encabezado-seccion { margin-bottom: 70svh; }
}

/* ===== Versión 3: planes, guías y páginas con más texto ===== */

/* Planes y precios */
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 30px 26px; display: grid; gap: 16px; align-content: start; grid-template-rows: auto auto auto 1fr auto; position: relative; }
.plan.destacado { background: var(--vidrio-fuerte); border: 2px solid var(--oro); }
.plan .etiqueta { position: absolute; top: -13px; left: 24px; background: var(--tinta); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.55rem; }
.plan .para { color: var(--tinta-2); font-size: 0.96rem; }
.precio { display: grid; gap: 4px; }
.precio b { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.3rem, 4vw, 2.9rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.precio b small { font-family: var(--f-texto); font-size: 0.95rem; font-weight: 600; color: var(--tinta-2); letter-spacing: 0; }
.precio span { font-size: 0.88rem; color: var(--tinta-2); }
.precio span strong { color: var(--oro); font-weight: 700; }
.plan .lista { font-size: 0.96rem; margin: 0; }
.plan .btn { width: 100%; }
.nota-planes { margin-top: 20px; font-size: 0.9rem; color: var(--tinta-2); max-width: 70ch; }
.nota-planes a { font-weight: 700; color: var(--tinta); }
@media (max-width: 960px) { .planes { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.tabla-envoltura { overflow-x: auto; margin-top: 8px; border-radius: var(--radio); }
.comparar { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
.comparar th, .comparar td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--linea); vertical-align: top; }
.comparar thead th { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.comparar tbody th { font-weight: 600; color: var(--tinta-2); }
.comparar td { font-variant-numeric: tabular-nums; }
.comparar .si { color: #2F5525; font-weight: 700; }
.comparar .no { color: var(--tinta-2); }

/* Bloque de texto largo (páginas por negocio) */
.texto-largo { max-width: 680px; padding: clamp(26px, 4vw, 40px); display: grid; gap: 16px; }
.texto-largo p { color: var(--tinta-2); }
.texto-largo a, .articulo a, .respuesta a { color: var(--tinta); font-weight: 700; text-decoration-color: var(--oro-claro); text-underline-offset: 3px; }
.plan-recomendado { max-width: 680px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; }
.plan-recomendado p { color: var(--tinta-2); }
.plan-recomendado .precio b { font-size: 2.2rem; }
@media (max-width: 600px) { .plan-recomendado { grid-template-columns: minmax(0, 1fr); } }

/* Guías */
.guias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; max-width: 900px; }
.guia-tarjeta { display: grid; gap: 10px; align-content: start; text-decoration: none; padding: 28px 26px; transition: transform .25s, background-color .25s; }
.guia-tarjeta:hover { background: var(--vidrio-fuerte); }
@media (prefers-reduced-motion: no-preference) { .guia-tarjeta:hover { transform: translateY(-3px); } }
.guia-tarjeta h3 { font-size: 1.3rem; }
.guia-tarjeta p { color: var(--tinta-2); font-size: 0.96rem; }
.guia-tarjeta .ir { color: var(--oro); font-size: 0.9rem; font-weight: 700; }

.articulo-cabeza { max-width: 780px; padding-block: 28px 8px; display: grid; gap: 18px; }
.articulo-cabeza h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.articulo-cabeza .bajada { font-size: 1.14rem; color: var(--tinta-2); max-width: 60ch; }
.articulo-meta { font-size: 0.86rem; font-weight: 600; color: var(--tinta-2); }
.articulo { max-width: 780px; margin-block: 28px 0; padding: clamp(26px, 5vw, 56px); background: var(--vidrio-fuerte); line-height: 1.75; }
.articulo > * + * { margin-top: 18px; }
.articulo h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 44px; }
.articulo h3 { font-size: 1.22rem; margin-top: 28px; }
.articulo p, .articulo li { color: var(--tinta-2); }
.articulo strong { color: var(--tinta); }
.articulo ul, .articulo ol { padding-left: 1.3em; display: grid; gap: 8px; }
.articulo li::marker { color: var(--oro); font-weight: 700; }
.indice { background: rgba(255, 255, 255, 0.7); border-radius: 16px; padding: 20px 24px; }
.indice b { font-family: var(--f-display); font-size: 1.1rem; }
.indice ol { margin-top: 10px; }
.indice a { font-weight: 600; text-decoration: none; }
.ejemplo { background: rgba(255, 255, 255, 0.78); border: 1px solid var(--linea); border-radius: 16px; padding: 22px 24px; }
.ejemplo .etiqueta-ejemplo { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--oro); }
.mensaje-wa { background: #E7F6DC; color: #1E2A18; border-radius: 4px 16px 16px 16px; padding: 16px 18px; font-size: 0.98rem; max-width: 46ch; box-shadow: 0 8px 20px -14px rgba(30, 40, 20, 0.5); }
.articulo table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.articulo th, .articulo td { padding: 10px 12px; border-bottom: 1px solid var(--linea); text-align: left; }
.articulo td:last-child, .articulo th:last-child { text-align: right; }
.articulo tfoot td { font-weight: 700; color: var(--tinta); border-bottom: 0; }
.aviso { border-left: 3px solid var(--oro); border-radius: 0; padding: 4px 0 4px 18px; font-size: 0.95rem; }
.cta-articulo { margin-top: 40px; padding: 26px; border-radius: 18px; background: var(--tinta); color: #F8E3DF; display: grid; gap: 14px; justify-items: start; }
.cta-articulo h2 { margin: 0; font-size: 1.6rem; color: #fff; }
.cta-articulo p { color: #F3CFC6; }
.cta-articulo .btn-principal { background: #fff; color: var(--tinta); }

/* Pie con 4 columnas y redes */
.pie .wrap { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .pie .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pie .wrap { grid-template-columns: minmax(0, 1fr); } }
.redes { display: flex; gap: 10px; margin-top: 18px; }
.redes a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(235, 199, 190, 0.35); display: inline-flex; align-items: center; justify-content: center; color: #F8E3DF; }
.redes a:hover { background: rgba(235, 199, 190, 0.15); }
.redes svg { width: 19px; height: 19px; }
.pilas { display: grid; gap: 16px; }
.plan-recomendado .acciones { grid-column: 1 / -1; }
.plan-recomendado h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 8px; }
.final .acciones { margin-top: 4px; }
.final .btn-borde { border-color: rgba(248, 227, 223, 0.7); color: #F8E3DF; background: transparent; }
.final .btn-borde:hover { background: #F8E3DF; color: var(--tinta); }
/* Eslogan "Clientas que vuelven. Cuentas que cuadran." en dos renglones */
.heroe-texto { max-width: 700px; }
.heroe h1 .lema { font-size: clamp(2.3rem, 4.9vw, 4.1rem); line-height: 1.04; }
.heroe h1 .lema .frase { display: block; }
