/* Diagnóstico gratis y simulación */
.diag-cab { padding: clamp(40px, 6vw, 80px) 0 30px; }
.diag-cab h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); max-width: 14ch; margin-top: 18px; }
.diag-cab h1 .serif { color: var(--senal); }

/* Asistente de pasos */
.asistente { background: var(--blanco); border-radius: 34px; box-shadow: var(--sombra); padding: clamp(24px, 4vw, 50px); margin-bottom: 100px; max-width: 900px; }
.progreso { display: flex; gap: 8px; margin-bottom: 34px; }
.progreso span { flex: 1; height: 6px; border-radius: 6px; background: var(--papel-2); overflow: hidden; position: relative; }
.progreso span::after { content: ""; position: absolute; inset: 0; background: var(--senal); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.progreso span.hecho::after { transform: none; }
.paso-form { display: none; view-transition-name: paso; }
.paso-form.activo { display: block; animation: entra-paso .55s cubic-bezier(.2,.8,.2,1); }
@keyframes entra-paso { from { opacity: 0; transform: translateX(30px); } }
::view-transition-old(paso) { animation: sale-paso .3s ease both; }
::view-transition-new(paso) { animation: entra-paso .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sale-paso { to { opacity: 0; transform: translateX(-30px); } }
.paso-form h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1; }
.paso-form .ayuda { color: var(--tinta-2); margin: 10px 0 28px; }
.campo { display: grid; gap: 8px; margin-bottom: 22px; }
.campo > label, .campo > .rotulo { font-weight: 700; }
.campo input[type=text], .campo input[type=tel], .campo input[type=url], .campo select { font: inherit; padding: 15px 18px; border-radius: 16px; border: 1.5px solid rgba(18,19,23,.14); background: var(--papel); width: 100%; transition: border-color .2s, box-shadow .2s; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--senal); box-shadow: 0 0 0 4px var(--senal-suave); background: var(--blanco); }
.tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tipos label, .pastillas label { position: relative; }
.tipos input, .pastillas input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tipos span { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; border: 1.5px solid rgba(18,19,23,.12); font-weight: 700; cursor: pointer; transition: all .2s; height: 100%; background: var(--papel); }
.tipos svg { width: 26px; height: 26px; color: var(--senal); }
.tipos input:checked + span, .pastillas input:checked + span { border-color: var(--tinta); background: var(--tinta); color: var(--papel); }
.tipos input:checked + span svg { color: var(--senal); }
.tipos input:focus-visible + span, .pastillas input:focus-visible + span { box-shadow: 0 0 0 4px var(--senal-suave); }
.pastillas { display: flex; flex-wrap: wrap; gap: 8px; }
.pastillas span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid rgba(18,19,23,.14); font-weight: 600; cursor: pointer; transition: all .2s; background: var(--papel); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .tipos { grid-template-columns: 1fr 1fr; } .dos { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--tinta-2); }
.check input { width: 22px; height: 22px; accent-color: var(--senal); margin-top: 2px; flex-shrink: 0; }
.navegar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; }
.volver { background: none; border: 0; font-weight: 700; color: var(--tinta-2); padding: 10px 0; }
.error-form { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: #FDECEC; color: #8F1D21; font-weight: 600; }
.error-form.ve { display: block; }
.trampa { position: absolute; left: -9999px; }

/* Analizando */
.analizando { position: fixed; inset: 0; z-index: 70; background: var(--tinta); color: var(--papel); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.analizando.ve { opacity: 1; pointer-events: auto; }
.radar { position: relative; width: 180px; height: 180px; margin: 0 auto 40px; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--senal); animation: radar 2.4s cubic-bezier(.2,.6,.3,1) infinite; opacity: 0; }
.radar i:nth-child(2) { animation-delay: .8s; } .radar i:nth-child(3) { animation-delay: 1.6s; }
.radar b { position: absolute; inset: 64px; border-radius: 50%; background: var(--senal); }
@keyframes radar { from { transform: scale(.35); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.lista-analisis { list-style: none; display: grid; gap: 14px; font-size: 1.1rem; min-width: min(420px, 86vw); }
.lista-analisis li { display: flex; gap: 14px; align-items: center; opacity: .35; transition: opacity .4s; }
.lista-analisis li.hecho { opacity: 1; }
.lista-analisis li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0; }
.lista-analisis li.hecho::before { background: var(--senal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--senal); }

/* Resultados */
.resultados-diag { display: none; padding-bottom: 60px; }
.resultados-diag.ve { display: block; }
.bloque { background: var(--blanco); border-radius: 34px; box-shadow: var(--sombra); padding: clamp(24px, 4vw, 50px); margin-bottom: 26px; }
.bloque--tinta { background: var(--tinta); color: var(--papel); }
.bloque--tinta .etiqueta { color: #C9CBD3; }
.bloque h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.035em; line-height: 1; margin: 12px 0 10px; }
.bloque .bajada { margin-top: 6px; }
.bloque--tinta .bajada { color: #C9CBD3; }
.resumen { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.medidor { position: relative; width: 220px; height: 220px; }
.medidor svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.medidor .fondo { stroke: rgba(244,242,236,.12); }
.medidor .valor { stroke: var(--senal); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.medidor .cifra { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.medidor .cifra b { font-family: var(--display); font-size: 4.2rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.medidor .cifra small { color: #C9CBD3; font-weight: 600; }
.barras { display: grid; gap: 16px; }
.barra-comp { display: grid; gap: 6px; }
.barra-comp .fila { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.barra-comp .fila small { color: #C9CBD3; font-weight: 500; }
.barra-comp .riel { height: 10px; border-radius: 10px; background: rgba(244,242,236,.12); overflow: hidden; }
.barra-comp .riel i { display: block; height: 100%; border-radius: 10px; background: var(--senal); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 760px) { .resumen { grid-template-columns: 1fr; justify-items: center; } }
.estado-web { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px; border-radius: 24px; margin-top: 22px; }
.estado-web .icono { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.8rem; }
.estado-web b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; display: block; }
.estado-web ul { margin: 10px 0 0 18px; display: grid; gap: 6px; color: var(--tinta-2); }
.estado-web.mal { background: #FDECEC; } .estado-web.mal .icono { background: var(--mal); }
.estado-web.medio { background: #FFF4DE; } .estado-web.medio .icono { background: var(--aviso); }
.estado-web.bien { background: #E3F6EC; } .estado-web.bien .icono { background: var(--bien); }

/* Simulación de Google Maps */
.comparar { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
@media (max-width: 760px) { .comparar { grid-template-columns: 1fr; } }
.lado h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; color: var(--gris); }
.gmaps { border-radius: 24px; overflow: hidden; border: 1px solid #E3E4E8; background: #fff; }
.gmaps .foto { height: 130px; background: linear-gradient(135deg, #D6DAE2, #EEF0F4); display: grid; place-items: center; color: #9AA0AC; font-weight: 700; }
.gmaps.nuevo .foto { background: linear-gradient(135deg, var(--c1, #FF4F1F), var(--c2, #FF9A6B)); color: #fff; font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; text-align: center; padding: 0 20px; }
.gmaps .datos { padding: 16px 18px; }
.gmaps .datos b { font-size: 1.2rem; display: block; }
.gmaps .datos small { color: #70757A; }
.gmaps .acciones { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px 18px; }
.gmaps .accion { border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .85rem; border: 1px solid #DADCE0; color: #1A73E8; }
.gmaps .accion.no { color: #B3B8C2; text-decoration: line-through; }
.gmaps .accion.si { background: #1A73E8; color: #fff; border-color: #1A73E8; }
.gmaps .nota { margin: 0 18px 18px; font-size: .86rem; padding: 10px 12px; border-radius: 12px; }
.gmaps .nota.mal { background: #FDECEC; color: #8F1D21; } .gmaps .nota.bien { background: #E3F6EC; color: #0B5E35; }

/* Simulación de la web y las citas */
.sim { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-top: 30px; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; justify-items: center; } }
.controles { display: grid; gap: 24px; align-content: start; }
.colores { display: flex; gap: 10px; flex-wrap: wrap; }
.colores button { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 1px rgba(18,19,23,.15); }
.colores button[aria-pressed="true"] { border-color: var(--blanco); box-shadow: 0 0 0 3px var(--tinta); }
.cel { width: 320px; background: var(--tinta); border-radius: 46px; padding: 11px; box-shadow: 0 40px 80px -30px rgba(18,19,23,.6); }
.cel .pantalla-cel { border-radius: 36px; overflow: hidden; height: 600px; background: #fff; position: relative; overflow-y: auto; scrollbar-width: none; }
.cel .pantalla-cel::-webkit-scrollbar { display: none; }
.mw { --c1: #FF4F1F; --c2: #FF9A6B; --t: #121317; font-family: var(--texto); color: var(--t); }
.mw .nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-weight: 800; font-family: var(--display); letter-spacing: -0.03em; }
.mw .nav span { font-family: var(--texto); font-size: .72rem; font-weight: 700; background: var(--c1); color: #fff; border-radius: 999px; padding: 6px 10px; letter-spacing: 0; }
.mw .portada { margin: 0 12px; border-radius: 26px; padding: 28px 20px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; }
.mw .portada b { font-family: var(--display); font-size: 2rem; line-height: .95; letter-spacing: -0.04em; display: block; }
.mw .portada p { font-size: .88rem; margin: 10px 0 16px; opacity: .92; }
.mw .portada .mbtn { display: inline-block; background: #fff; color: var(--t); font-weight: 800; font-size: .82rem; padding: 10px 16px; border-radius: 999px; }
.mw .secc { padding: 22px 18px 6px; }
.mw .secc h4 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.mw .serv { display: grid; gap: 8px; }
.mw .serv button { text-align: left; border: 1.5px solid #ECEDEF; background: #fff; border-radius: 16px; padding: 12px 14px; font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; }
.mw .serv button[aria-pressed="true"] { border-color: var(--c1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 25%, transparent); }
.mw .horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mw .horas button { border: 1.5px solid #ECEDEF; background: #fff; border-radius: 12px; padding: 10px 0; font-weight: 700; font-size: .85rem; }
.mw .horas button[aria-pressed="true"] { background: var(--c1); border-color: var(--c1); color: #fff; }
.mw .reservar { margin: 18px 18px 22px; width: calc(100% - 36px); border: 0; border-radius: 999px; padding: 15px; background: var(--t); color: #fff; font-weight: 800; }
.mw .reservar:disabled { opacity: .35; }
.mw .listo-cel { margin: 0 18px 22px; padding: 14px; border-radius: 16px; background: #E3F6EC; color: #0B5E35; font-weight: 700; font-size: .9rem; display: none; }
.dueno { position: relative; margin-top: 24px; }
.wa-noti { background: #0B141A; color: #E9EDEF; border-radius: 22px; padding: 16px; display: flex; gap: 12px; transform: translateY(16px) scale(.96); opacity: 0; transition: all .6s cubic-bezier(.2,.8,.2,1); max-width: 420px; }
.wa-noti.ve { transform: none; opacity: 1; }
.wa-noti .wa { width: 44px; height: 44px; border-radius: 12px; background: #25D366; display: grid; place-items: center; flex-shrink: 0; }
.wa-noti b { display: block; color: #fff; }
.wa-noti .botones-noti { display: flex; gap: 8px; margin-top: 10px; }
.wa-noti .botones-noti span { background: #202C33; border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 700; color: #53BDEB; }

/* Calculadora */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; align-items: center; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.deslizador { display: grid; gap: 8px; margin-bottom: 22px; }
.deslizador .fila { display: flex; justify-content: space-between; font-weight: 700; gap: 10px; }
.deslizador .fila output { font-family: var(--display); color: var(--senal); }
.deslizador input { width: 100%; accent-color: var(--senal); }
.resultado-calc { padding: 30px; border-radius: 28px; background: var(--tinta); color: var(--papel); text-align: center; }
.resultado-calc b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.04em; color: var(--senal); line-height: 1; margin: 8px 0; }
.resultado-calc small { color: #C9CBD3; }

/* Recomendación */
.recomendacion { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; margin-top: 26px; }
@media (max-width: 860px) { .recomendacion { grid-template-columns: 1fr; } }
.recomendacion .precio-plan small { white-space: nowrap; display: inline-block; }
.recomendacion .precio-plan { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.04em; line-height: 1; }
.recomendacion ul { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.recomendacion li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-weight: 600; }
.recomendacion li svg { color: var(--senal); margin-top: 3px; }
.alternativas { display: grid; gap: 12px; align-content: start; }
.alt { padding: 18px 20px; border-radius: 20px; border: 1.5px solid rgba(244,242,236,.18); }
.alt b { display: block; }
.alt span { color: #C9CBD3; font-size: .95rem; }
.cta-final { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.nota-final { margin-top: 16px; color: #C9CBD3; font-size: .92rem; }
