/* ---------- Fondata landing tokens (from FONDATA_Landing_Menu.pdf, cream accent instead of gold) ---------- */
:root {
  --verde: #394028;
  --verde-card: #454c33;
  --crema: #F9EFE0;
  --crema-card: #FCF7EC;
  --crema-acento: #E6D9BD;            /* cream accent on green bands */
  --acento: #8A7F62;                  /* darker cream-tan for kickers on light sections */
  --acento-borde: rgba(138, 127, 98, 0.35);
  --acento-italic: #394028;           /* italic keyword on light sections */
  --btn-bg: #394028;
  --btn-fg: #F9EFE0;
  --borde: #E1D9C9;
  --texto: #2E3320;
  --texto-sec: #4E5642;

  --font-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-body: "EB Garamond", Garamond, Georgia, serif;
  --font-accent: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-logo: "Cormorant Garamond", Garamond, Georgia, serif;

  --max-width: 1160px;
  --gutter: 1.5rem;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; } /* que el encabezado fijo no tape el título al saltar a una sección */

body {
  margin: 0;
  background: var(--crema);
  color: var(--texto);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.8rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2.2rem, 3.9vw, 3.15rem); }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.4em; }
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--acento-italic); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { padding: 5.5rem 0; }
.band, .site-header {
  --acento: var(--crema-acento);
  --acento-borde: rgba(230, 217, 189, 0.55);
  --acento-italic: var(--crema-acento);
  --btn-bg: var(--crema-acento);
  --btn-fg: #394028;
}
.band { background: var(--verde); color: var(--crema); }

.kicker {
  color: var(--acento);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.label {
  color: var(--acento);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 2.5rem 0 0.9rem;
}
.section-text { max-width: 56rem; color: var(--texto-sec); font-size: 1.22rem; margin-bottom: 2rem; }
.band .section-text { color: var(--crema); opacity: 0.92; }

/* ---------- Brand lockup ---------- */
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 0.9rem; color: var(--crema); }
.brand-symbol { width: 52px; height: auto; fill: currentColor; flex-shrink: 0; }
.brand-rule { width: 1px; height: 50px; background: currentColor; opacity: 0.8; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-logo); font-weight: 500; font-size: 1.45rem; letter-spacing: 0.22em; }
.brand-dash { width: 16px; height: 1px; background: currentColor; margin: 0.25rem 0 0.3rem; }
.brand-tagline { font-size: 0.8rem; opacity: 0.85; max-width: 20rem; }

/* ---------- Header ---------- */
.site-header { background: var(--verde); color: var(--crema); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.nav { display: flex; gap: 1.6rem; align-items: center; flex-shrink: 0; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { font-size: 1.05rem; padding-bottom: 0.3rem; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.nav a:not(.btn):hover, .nav a.is-active { border-bottom-color: var(--crema-acento); color: #fff; }
.btn-nav { padding: 0.6rem 1.5rem; }
.nav .btn-nav + .btn-nav { margin-left: -0.75rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--crema); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--crema); border-color: var(--crema-acento); }
.btn-ghost:hover { background: rgba(230, 217, 189, 0.12); }
.section-cta { margin-top: 2.5rem; }

/* ---------- Hero ---------- */
.hero { padding: 5rem 0 5.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; }
.hero-text { opacity: 0.9; max-width: 36rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.5rem; font-size: 1.02rem; color: var(--acento); }
.hero-visual {
  display: block;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--acento-borde);
  border-radius: var(--radius);
  background: var(--crema);
  padding: 6px;
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.hero-visual img { border-radius: 6px; }
.hero-visual:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 36px 70px rgba(0, 0, 0, 0.4); }

/* ---------- Stats ---------- */
.stats { padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.stats-grid li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: var(--crema-card);
}
.stats-grid strong { font-family: var(--font-display); font-weight: 500; font-size: 2.8rem; line-height: 1.1; }
.stats-grid span { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--acento); margin-top: 0.4rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card {
  background: var(--crema-card);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.card p { color: var(--texto-sec); margin: 0; font-size: 1.1rem; }
.band .card { background: var(--verde-card); border-color: var(--acento-borde); }
.band .card p { color: var(--crema); opacity: 0.9; }
.audience { color: var(--acento) !important; opacity: 1 !important; font-size: 0.85rem !important; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 1rem !important; }

/* ---------- Callout ---------- */
.callout {
  margin: 2rem 0 0;
  padding: 0.5rem 0 0.5rem 1.75rem;
  border-left: 4px solid var(--acento);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 58rem;
}

/* ---------- Rows (cómo lo hacemos) ---------- */
.rows div { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 0.9rem 1rem; border-bottom: 1px solid rgba(249, 239, 224, 0.15); }
.rows dt { font-weight: 500; }
.rows dd { margin: 0; opacity: 0.92; }

/* ---------- Tables (productos, a quién servimos) ---------- */
.table { margin-top: 1rem; }
.table-head, .table-row { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; padding: 1rem; }
.table-head { border-bottom: 2px solid var(--acento); padding-bottom: 0.6rem; }
.table-head span { color: var(--acento); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.table-row { border-bottom: 1px solid var(--borde); }
.table-row strong { font-weight: 500; display: block; }
.table-row .count { display: block; color: var(--acento); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.2rem; }
.table-row p { margin: 0; color: var(--texto-sec); }


/* ---------- Principles motto ---------- */
.motto { margin: 2rem 0 0; font-family: var(--font-accent); font-style: italic; font-size: 1.45rem; color: var(--acento); }

/* ---------- Contact + form ---------- */
.cta-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.cta-alt { color: var(--acento); font-size: 1.05rem; margin-bottom: 0.75rem; }
.contact-list { display: flex; flex-direction: column; gap: 0.7rem; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; }
.contact-list svg {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: var(--acento); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  color: var(--acento);
}
.contact-list a { border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.contact-list a:hover { border-bottom-color: var(--acento); }
.form { display: flex; flex-direction: column; gap: 1rem; }
.hidden-field { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acento); }
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.8rem 0.9rem;
  background: var(--verde-card);
  border: 1px solid var(--acento-borde);
  border-radius: 8px;
  color: var(--crema);
}
.form select option { color: var(--verde); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--acento); }
.form button { align-self: flex-start; margin-top: 0.5rem; }
.form-message { min-height: 1.5em; margin: 0; color: var(--acento); }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0 2.5rem; border-top: 1px solid rgba(249, 239, 224, 0.15); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-line { margin: 0; font-size: 1rem; opacity: 0.85; max-width: 44rem; }
.footer-line a { border-bottom: 1px solid var(--acento-borde); }
.footer-disclaimer {
  margin: 2.5rem 0 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 4px solid var(--acento);
  font-size: 1rem;
  opacity: 0.85;
  max-width: 64rem;
}
.footer-disclaimer strong { color: var(--acento); font-weight: 500; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cards-2 { grid-template-columns: 1fr; }
  .hero-visual { transform: none; max-width: 640px; }
  .rows div, .table-head, .table-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .table-head span:last-child { display: none; }
}

/* El menú completo necesita ~1,160 px: más angosto, se junta un poco y, bajo 1,100 px, pasa al botón ☰ */
@media (max-width: 1180px) { .nav { gap: 1.1rem; } .nav .btn-nav + .btn-nav { margin-left: -0.35rem; } }
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--verde);
    border-top: 1px solid rgba(249, 239, 224, 0.2);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 1rem var(--gutter); border-bottom: 1px solid rgba(249, 239, 224, 0.12); }
  .nav a.is-active { border-bottom-color: rgba(249, 239, 224, 0.12); }
  .nav .btn-nav { margin: 1rem var(--gutter) 0; text-align: center; }
  .nav .btn-nav + .btn-nav { margin: 0.75rem var(--gutter) 1rem; }
}

@media (max-width: 760px) {
  section { padding: 4rem 0; }
  .brand-tagline { display: none; }
  .brand-rule { height: 38px; }
  .brand-symbol { width: 42px; }
  .hero { padding: 3.5rem 0 4rem; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Aviso de pre-lanzamiento ---------- */
.pre-launch { background: #2B311E; color: var(--crema-acento); border-bottom: 1px solid rgba(230, 217, 189, 0.18); }
.pre-launch-inner { display: flex; align-items: center; justify-content: center; gap: 0.7rem; padding-top: 0.45rem; padding-bottom: 0.45rem; text-align: center; }
.pre-launch-mark { width: 6px; height: 6px; border-radius: 50%; background: var(--crema-acento); opacity: 0.85; flex-shrink: 0; animation: pre-launch-pulse 3.2s ease-in-out infinite; }
.pre-launch-text { font-family: var(--font-body); font-size: 0.92rem; letter-spacing: 0.04em; opacity: 0.9; }
.pre-launch-text em { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; letter-spacing: 0.02em; margin-right: 0.35rem; color: var(--crema); }
@keyframes pre-launch-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pre-launch-mark { animation: none; } }
@media (max-width: 760px) { .pre-launch-text { font-size: 0.85rem; } .pre-launch-inner { gap: 0.5rem; } }

/* ---------- Ver más / plegables ---------- */
.more-toggle { display: inline-flex; align-items: baseline; gap: 0.4rem; background: none; border: 0; padding: 0; margin: 0.25rem 0 1rem; cursor: pointer; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--acento-italic); }
.more-toggle .more-label { border-bottom: 1px solid var(--acento-borde); transition: border-color 0.2s; }
.more-toggle:hover .more-label { border-bottom-color: var(--acento-italic); }
.more-toggle .more-arrow { font-style: normal; font-size: 0.95rem; transition: transform 0.25s; }
.more-toggle[aria-expanded="true"] .more-arrow { transform: rotate(180deg); }
.more-toggle:focus-visible { outline: 2px solid var(--acento-italic); outline-offset: 4px; }
.band .more-toggle { color: var(--crema-acento); }
.hero .more-toggle { margin: 0 0 1.25rem; }
.more { animation: more-in 0.35s ease; }
.more[hidden] { display: none; }
@keyframes more-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .more { animation: none; } }

/* familias de productos plegables */
.fam-row { cursor: pointer; grid-template-columns: 1fr; gap: 0.25rem; }
.fam-row > div { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.fam-row > div::after { content: '↓'; margin-left: auto; color: var(--acento); font-size: 0.9rem; transition: transform 0.25s; }
.fam-row[aria-expanded="true"] > div::after { transform: rotate(180deg); }
.fam-row > p { display: none; margin-top: 0.4rem; max-width: 62rem; }
.fam-row[aria-expanded="true"] > p { display: block; animation: more-in 0.3s ease; }
.fam-row:hover { background: var(--crema-card); }
.table-head { grid-template-columns: 1fr; }
.table-head span:last-child { color: var(--texto-sec); letter-spacing: 0; text-transform: none; font-size: 0.9rem; font-weight: 400; }

/* etiquetas */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.5rem 0 0.5rem; }
.chips li { border: 1px solid var(--borde); background: var(--crema-card); border-radius: 999px; padding: 0.45rem 1rem; font-size: 1.02rem; }
.chips-light li { border-color: var(--acento-borde); background: transparent; color: var(--crema); }

/* ---------- Hero: promesa + eslogan, rotador, lista de espera ---------- */
.hero-link { display: inline-block; margin-left: 0.6rem; color: var(--crema); border-bottom: 1px solid var(--acento-borde); font-style: normal; }
.hero-link:hover { border-bottom-color: var(--crema); }
.hero-rotator { position: relative; display: block; aspect-ratio: 1400 / 1120; }
.hero-rotator img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; object-position: top left; border-radius: 6px; opacity: 0; transition: opacity 0.9s ease; }
.hero-rotator img.is-active { opacity: 1; }
.rotator-dots { position: absolute; left: 50%; bottom: -1.4rem; transform: translateX(-50%); display: flex; gap: 0.45rem; }
.rotator-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(230, 217, 189, 0.35); transition: background 0.3s; }
.rotator-dots i.is-active { background: var(--crema-acento); }
.rotator-caption { position: absolute; right: 0.9rem; bottom: 0.9rem; font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--crema); background: rgba(57, 64, 40, 0.85); padding: 0.2rem 0.7rem; border-radius: 999px; }
@media (max-width: 960px) { .hero-rotator { transform: none; } }

/* Fuentes bajo las cifras */
.stats-sources { text-align: center; margin: 1.4rem 0 0; font-size: 0.95rem; color: var(--texto-sec); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem 0.7rem; }
.stats-sources-label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--acento); margin-right: 0.3rem; }
.stats-sources .src { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--verde); letter-spacing: 0.04em; }
.stats-sources .src + .src::before { content: '·'; color: var(--acento); margin-right: 0.7rem; font-weight: 400; }

/* A quién servimos interactivo */
.chips-select li { padding: 0; border: 0; background: transparent; }
.chips-select button { font: inherit; font-size: 1.02rem; border: 1px solid var(--borde); background: var(--crema-card); color: var(--texto); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chips-select button:hover { border-color: var(--verde); }
.chips-select button[aria-selected="true"] { background: var(--verde); color: var(--crema); border-color: var(--verde); }
.seg-hint { color: var(--texto-sec); font-style: italic; font-family: var(--font-display); font-size: 1.15rem; margin: 0.4rem 0 0; }
.seg-panel { margin-top: 1rem; padding: 1.4rem 1.6rem; background: var(--crema-card); border: 1px solid var(--borde); border-radius: var(--radius); animation: more-in 0.3s ease; }
.seg-value { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: var(--verde); margin: 0 0 0.8rem; }
.seg-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.6rem 1.5rem; }
.seg-products li { position: relative; padding-left: 1.1rem; color: var(--texto-sec); }
.seg-products li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }
.seg-products strong { color: var(--texto); font-weight: 500; }

/* Páginas legales */
.legal { padding: 4rem 0 5rem; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--texto-sec); }
.legal ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.legal ul li { list-style: disc; margin-bottom: 0.35rem; }
.legal .updated { font-style: italic; color: var(--acento); font-family: var(--font-display); font-size: 1.1rem; }
.legal-top { background: var(--verde); color: var(--crema); padding: 1rem 0; }
.legal-top .brand { color: var(--crema); }

/* Hero: titular más largo, un poco más compacto */
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); }

/* ---------- Cotiza: asistente de cuatro pasos con resumen vivo ---------- */
.cz { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: stretch; }
.cz-tarjeta { min-height: 520px; display: flex; flex-direction: column; padding: 1.8rem 2rem 2rem; background: var(--crema-card); border: 1px solid var(--borde); border-radius: 16px; box-shadow: 0 18px 40px rgba(57, 64, 40, 0.07); }
.cz-avance { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.cz-avance-texto { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acento); white-space: nowrap; }
.cz-barra { flex: 1; height: 3px; border-radius: 3px; background: var(--borde); overflow: hidden; }
.cz-barra i { display: block; height: 100%; width: 25%; background: var(--verde); transition: width 0.4s ease; }
.cz-paso { display: flex; flex-direction: column; flex: 1; animation: czEntra 0.35s ease; }
.cz-paso[hidden] { display: none; }
.cz-paso h3 { margin: 0 0 0.3rem; font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.15; }
.cz-ayuda { margin: 0 0 1.3rem; color: var(--texto-sec); font-size: 1.05rem; }
.cz-perfiles, .cz-necesidades { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.cz-perfiles button, .cz-necesidades button { display: grid; gap: 0.2rem; padding: 1rem 1.1rem; border: 1px solid var(--borde); border-radius: 12px; background: var(--crema); color: var(--texto); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.cz-perfiles button:hover, .cz-necesidades button:hover { border-color: var(--verde); transform: translateY(-1px); }
.cz-perfiles strong, .cz-necesidades strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.cz-perfiles span, .cz-necesidades span { font-size: 0.95rem; line-height: 1.35; color: var(--texto-sec); }
.cz-perfiles button[aria-pressed="true"], .cz-necesidades button[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.cz-perfiles button[aria-pressed="true"] span, .cz-necesidades button[aria-pressed="true"] span { color: var(--crema-acento); }
.cz-necesidades button { position: relative; padding-right: 2.4rem; }
.cz-necesidades button::after { content: ''; position: absolute; top: 1rem; right: 1rem; width: 1rem; height: 1rem; border: 1.5px solid var(--acento); border-radius: 50%; }
.cz-necesidades button[aria-pressed="true"]::after { content: '✓'; display: grid; place-items: center; border-color: var(--crema); background: var(--crema); color: var(--verde); font-size: 0.7rem; font-weight: 700; }
.cz-detalle { margin-top: 1.1rem; }
.cz-detalle summary { width: fit-content; cursor: pointer; color: var(--texto-sec); font-size: 1rem; }
.cz-detalle summary:hover { color: var(--verde); }
.cz-pildoras { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.cz-pildora { display: inline-flex; cursor: pointer; }
.cz-pildora input { position: absolute; opacity: 0; pointer-events: none; }
.cz-pildora span { padding: 0.3rem 0.8rem; border: 1px solid var(--borde); border-radius: 999px; font-size: 0.92rem; color: var(--texto-sec); transition: all 0.15s ease; }
.cz-pildora:hover span { border-color: var(--verde); }
.cz-pildora input:checked + span { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.cz-pildora input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
.cz-usuarios-valor { margin: 1.2rem 0 1.4rem; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--verde); }
.cz-rango { --avance: 0%; width: 100%; height: 6px; margin: 0; border-radius: 6px; background: linear-gradient(to right, var(--verde) var(--avance), var(--borde) var(--avance)); appearance: none; -webkit-appearance: none; cursor: pointer; }
.cz-rango::-webkit-slider-thumb { width: 24px; height: 24px; border: 3px solid var(--crema-card); border-radius: 50%; background: var(--verde); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); -webkit-appearance: none; }
.cz-rango::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--crema-card); border-radius: 50%; background: var(--verde); }
.cz-rango-marcas { display: flex; justify-content: space-between; margin-top: 0.6rem; font-size: 0.85rem; color: var(--texto-sec); }
.cz-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.cz-campos label { display: grid; gap: 0.3rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acento); }
.cz-campos label em { font-style: normal; letter-spacing: 0; text-transform: none; }
.cz-campos input, .cz-campos textarea { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--borde); border-radius: 10px; background: var(--crema); color: var(--texto); font: inherit; font-size: 1.05rem; letter-spacing: 0; text-transform: none; resize: vertical; }
.cz-campos input:focus, .cz-campos textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(57, 64, 40, 0.1); }
.cz-ancho { grid-column: 1 / -1; }
.cz .form-message { margin-top: 0.8rem; color: #B5562A; }
.cz-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.6rem; }
.cz-atras { padding: 0; border: 0; background: none; color: var(--texto-sec); font: inherit; font-size: 1rem; cursor: pointer; }
.cz-atras:hover { color: var(--verde); }
.cz-sig:disabled { opacity: 0.4; cursor: not-allowed; }
.cz-listo { align-items: center; justify-content: center; text-align: center; }
.cz-palomita { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.2rem; border-radius: 50%; background: var(--verde); color: var(--crema); font-size: 1.8rem; }
.cz-listo .cz-atras { margin-top: 0.6rem; text-decoration: underline; text-underline-offset: 3px; }
.cz-resumen { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.8rem; border-radius: 16px; background: var(--verde); color: var(--crema); }
.cz-resumen .kicker { margin: 0; color: var(--crema-acento); }
.cz-resumen dl { display: grid; gap: 0.85rem; margin: 0; }
.cz-resumen dl div { display: grid; gap: 0.15rem; opacity: 0.45; transition: opacity 0.3s ease; }
.cz-resumen dl div.is-lleno { opacity: 1; }
.cz-resumen dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crema-acento); }
.cz-resumen dd { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.cz-plan { display: grid; gap: 0.3rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--acento-borde); }
.cz-plan span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crema-acento); }
.cz-plan strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.cz-plan small { font-size: 0.95rem; line-height: 1.4; opacity: 0.85; }
.cz-resumen-nota { margin: 0; font-size: 0.88rem; opacity: 0.7; }
.cz-aparece { animation: czEntra 0.4s ease; }
@keyframes czEntra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cz-paso, .cz-aparece { animation: none; } .cz-barra i { transition: none; } }
@media (max-width: 960px) { .cz { grid-template-columns: 1fr; } .cz-tarjeta { min-height: 0; padding: 1.4rem 1.2rem 1.5rem; } .cz-paso h3 { font-size: 1.65rem; } .cz-campos { grid-template-columns: 1fr; } .cz-usuarios-valor { font-size: 2.4rem; } .cz-perfiles, .cz-necesidades { gap: 0.55rem; } .cz-perfiles button, .cz-necesidades button { padding: 0.8rem 0.95rem; } .cz-perfiles strong, .cz-necesidades strong { font-size: 1.12rem; } .cz-necesidades button { padding-right: 2.4rem; } }

/* ---------- Pruébalo: dos fondos lado a lado ---------- */
.prueba { background: var(--crema-card); border: 1px solid var(--borde); border-radius: 14px; padding: 1.5rem 1.6rem; }
.prueba-selectores { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.prueba-selectores label { flex: 1 1 260px; min-width: 0; display: grid; gap: 0.35rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acento); }
.prueba-selectores select { width: 100%; min-width: 0; font: inherit; font-size: 1.05rem; letter-spacing: 0; text-transform: none; padding: 0.6rem 0.8rem; border: 1px solid var(--borde); border-radius: 8px; background: var(--crema); color: var(--texto); }
.prueba-vs { padding-bottom: 0.55rem; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--acento); }
.prueba-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.prueba-tabla { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 1.02rem; }
.prueba-tabla th, .prueba-tabla td { overflow-wrap: break-word; hyphens: auto; padding: 0.55rem 0.45rem; border-bottom: 1px solid var(--borde); text-align: left; vertical-align: top; }
.prueba-tabla tr:last-child > * { border-bottom: 0; }
.prueba-tabla thead th { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; hyphens: manual; } /* el ticker nunca se parte */
.prueba-tabla thead small { display: block; hyphens: auto; font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; color: var(--texto-sec); }
.prueba-tabla tbody th { width: 34%; font-weight: 400; font-size: 0.95rem; color: var(--texto-sec); }
.prueba-color { display: inline-block; width: 10px; height: 10px; margin-right: 0.45rem; border-radius: 50%; }
.prueba-titulo { margin: 0 0 0.5rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acento); }
.prueba-sub { color: var(--texto-sec); font-size: 0.85rem; }
.prueba-top { margin: 0; padding: 0; list-style: none; font-size: 0.92rem; display: grid; gap: 0.15rem; }
.prueba-barras { margin-bottom: 1.1rem; }
.prueba-barras-fondo { margin: 0 0 0.35rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.prueba-barra { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 3.6rem; gap: 0.6rem; align-items: center; font-size: 0.92rem; padding: 0.14rem 0; }
.prueba-barra-nombre { color: var(--texto-sec); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prueba-pista { height: 9px; border-radius: 999px; background: var(--borde); overflow: hidden; }
.prueba-pista i { display: block; height: 100%; border-radius: 999px; }
.prueba-barra-valor { text-align: right; font-variant-numeric: tabular-nums; }
.prueba-lectura { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--verde); border-radius: 0 8px 8px 0; background: rgba(57, 64, 40, 0.04); }
.prueba-lectura p:last-child { margin: 0; font-size: 1.1rem; }
.prueba-pie { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.prueba-nota { margin: 0; font-size: 0.95rem; color: var(--texto-sec); }
.prueba-cargando { margin: 1rem 0; color: var(--texto-sec); }
@media (max-width: 760px) { .prueba { padding: 1.1rem; } .prueba-grid { grid-template-columns: 1fr; } .prueba-vs { display: none; } .prueba-tabla { font-size: 0.95rem; } .prueba-tabla thead th { font-size: 1.1rem; } .prueba-tabla tbody th { width: 30%; } }
