/* Home de dos caminos (23-nov-2026): quien no tiene web y quien ya tiene una. */

/* Portada: dos puertas bajo el titular */
.doors-q { margin-top: clamp(22px, 2.4vw, 30px); font-size: var(--t-small); font-weight: 600; color: var(--lime); }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin: 12px auto 0; text-align: left; }
/* Cada puerta es un botón: al tocarla abre las categorías de su camino. */
.door { display: flex; align-items: center; gap: 14px; width: 100%; padding: clamp(16px, 1.6vw, 22px); border: 0; border-radius: 24px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #ffffff; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, transform .12s ease-out; }
.door:active { transform: scale(.985); }
.door:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.door[aria-expanded="true"] { background: rgba(200, 212, 0, .14); box-shadow: inset 0 0 0 2px var(--lime); }
.door-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--on-lime); }
.door-ico svg { width: 22px; height: 22px; }
.door-t { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; line-height: 1.15; }
.door-t small { font-size: var(--t-small); font-weight: 500; color: #c8d1dc; }
.door-t b { font-size: clamp(1.1875rem, 1rem + .5vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em; }
.door-p { margin-top: 2px; font-size: .9375rem; line-height: 1.35; color: #dbe2ea; }
.door-go { flex: none; width: 24px; height: 24px; color: var(--lime); transition: rotate .25s var(--ease-out); }
.door[aria-expanded="true"] .door-go { rotate: 180deg; }
@media (hover: hover) {
  .door:hover { background: rgba(255, 255, 255, .11); }
  .door[aria-expanded="true"]:hover { background: rgba(200, 212, 0, .18); }
}

/* Debajo de las puertas: webs reales, o las categorías de la puerta elegida */
.hero-stage { position: relative; z-index: 2; max-width: 1280px; margin: clamp(26px, 3vw, 40px) auto 0; padding: 0 clamp(16px, 2.4vw, 32px) clamp(40px, 5vw, 72px); text-align: left; }
.stage-h { margin-bottom: 14px; font-size: var(--t-small); font-weight: 600; text-align: center; color: #c8d1dc; }
.show[hidden], .cats[hidden] { display: none; }
.show, .cats { animation: stage-in .35s var(--ease-out); }
@keyframes stage-in { from { opacity: 0; translate: 0 12px; } }

.show-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.show-card { display: flex; flex-direction: column; padding: 8px 8px 14px; border-radius: 20px; background: #ffffff; color: var(--ink); transition: transform .2s var(--ease-out); }
.show-shot { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 13px; background: #e8edf2; }
.show-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.show-data { margin-top: 12px; padding-inline: 8px; font-size: .9375rem; line-height: 1.3; color: #3b4a5e; }
.show-data b { display: block; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.show-name { margin-top: 6px; padding-inline: 8px; font-size: .8125rem; font-weight: 500; color: #5b6779; }
.show-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: #dbe2ea; }
.show-stats li { display: flex; align-items: center; gap: .5em; }
.show-stats svg { flex: none; width: 18px; height: 18px; color: var(--lime); }
.show-stats b { color: #ffffff; font-weight: 600; }

.cat-grid { display: grid; gap: 10px; }
.cat-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cat { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: #ffffff; color: var(--ink); transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.cat .ico-box { background: var(--lime); color: var(--on-lime); }
.cat-t { display: flex; flex-direction: column; gap: 4px; padding-right: 22px; }
.cat-t b { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.cat-t > span { font-size: .9375rem; line-height: 1.35; color: #4a586b; }
.cat-d { margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--brand); }
.cat-go { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; color: #5b6779; transition: translate .2s var(--ease-out), color .2s ease; }
@media (hover: hover) {
  .show-card:hover, .cat:hover { transform: translateY(-3px); }
  .cat:hover .cat-go { translate: 2px -2px; color: var(--ink); }
}
.cats-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.cats-foot p { display: flex; align-items: center; gap: .5em; font-size: .9375rem; color: #dbe2ea; }
.cats-foot p svg { flex: none; width: 18px; height: 18px; color: var(--lime); }
.cats-foot .door-form { flex: 0 1 380px; }
.cats-more { display: flex; align-items: center; justify-content: center; gap: .35em; width: fit-content; min-height: 44px; margin: 10px auto 0; font-weight: 600; color: var(--lime); }
.cats-more svg { width: 18px; height: 18px; }

.door-form { margin-top: auto; }
.door-form .aw-field { padding: 4px; }
.door-form .aw-input { padding-left: 14px; font-size: 1rem; }
.door-form .btn { min-height: 40px; }
.door-form.is-error .aw-field { box-shadow: 0 0 0 3px #ffb4ab; }

/* Plazo bajo cada precio */
.plan-time { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; font-size: var(--t-small); font-weight: 600; color: var(--soft); }
.plan-time svg { width: 16px; height: 16px; color: var(--brand); }
.t-lime .plan-time, .t-lime .plan-time svg { color: var(--on-lime); }

/* Colores de cada parte (opción C: secciones planas, cada una con su fondo) */
.op-c .ch#tu-web { padding-top: var(--sec); background: var(--c-blue); }
.op-c main .ch#tu-web > .ch-head + .block { padding-top: 0; }
/* Resultados y precios SEO, cada uno con su espacio: los resultados cierran su banda gris
   y los precios abren una banda propia (azul suave) junto con la revisión gratis. */
.op-c .ch#resultados > .proof { padding-bottom: var(--sec); }
.op-c main .ch#resultados > #precios-seo { padding-top: var(--sec); background: var(--c-blue); }
.op-c main .ch#resultados > #diagnostico { padding-top: 0; background: var(--c-blue); }
.op-c #opiniones .voices { background: var(--c-lime); }

/* Cotizador, bajo los precios */
.tile.cz-cta { flex-direction: row; text-align: left; }
.cz-cta { display: flex; align-items: center; gap: 16px; margin-top: var(--gap); padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px); color: #f2f5f8; }
.cz-cta .ico-box { flex: none; background: var(--lime); color: var(--on-lime); }
.cz-cta-t { display: flex; flex-direction: column; flex: 1; gap: 2px; min-width: 0; font-size: .9375rem; line-height: 1.35; color: #dbe2ea; }
.cz-cta-t b { font-size: var(--t-body); font-weight: 600; color: #ffffff; }
.cz-cta-go { flex: none; display: inline-flex; align-items: center; gap: .2em; font-weight: 600; color: var(--lime); }
.cz-cta-go svg { transition: translate .18s var(--ease-out); }
.cz-cta:hover .cz-cta-go svg { translate: 3px 0; }

/* Revisión gratis al final del camino B */
.diag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 3vw, 44px); color: #f2f5f8; }
.diag .h-tile { margin-top: 10px; color: #ffffff; }
.diag .tile-p { margin-top: 8px; color: #dbe2ea; }
.diag-form .aw-field { padding: 6px; }

/* Preguntas en dos columnas, una por camino */
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.faq-k { display: flex; align-items: center; gap: .5em; margin-bottom: 10px; padding-left: 4px; font-weight: 600; }
.faq-k svg { width: 18px; height: 18px; color: var(--brand); }
.faq-cols .accordion summary { font-size: var(--t-body); }

/* Formulario: ¿ya tienes web? */
.has-web { margin: 0; padding: 0; border: 0; }
.has-web legend { padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 999px; background: var(--bg); }
.seg label { position: relative; display: grid; place-items: center; min-height: 40px; border-radius: 999px; font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--lime); color: var(--on-lime); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
#f-w-box[hidden] { display: none; }

@media (max-width: 1100px) {
  .cat-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .show-grid, .cat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diag, .faq-cols { grid-template-columns: minmax(0, 1fr); }
  .cz-cta { flex-wrap: wrap; }
  .cz-cta-go { width: 100%; padding-left: 64px; }
}
@media (max-width: 720px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  .cat-4, .cat-5 { grid-template-columns: minmax(0, 1fr); }
  .cat { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
  .cat-go { top: 16px; right: 16px; }
  .show-data b { font-size: 1.1875rem; }
  .show-data { font-size: .875rem; }
  .cats-foot { justify-content: stretch; }
  .cats-foot .door-form { flex-basis: 100%; }
  .diag-form .aw-pre { display: none; }
  .diag-form .aw-input { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .door, .door-go, .cz-cta-go svg, .show-card, .cat, .cat-go { transition: none; }
  .show, .cats { animation: none; }
}

/* Título «Todo para vender / por internet»: más largo que el anterior, en celular baja un poco para no cortarse. */
@media (max-width: 600px) {
  .home-rutas .hero h1 { font-size: clamp(2rem, 11.5vw, 3.5rem); }
}
