/* Beacon · estilos propios de la landing (complementan tailwind.css) */


    .menu-movil-item { display: flex; width: 100%; height: 80px; flex: none; align-items: center; border-bottom: 1px solid #C7C8CE; padding: 0 16px; font-size: 16px; line-height: 24px; color: #1E253C; transition: color .15s; }
    .menu-movil-item:hover, .menu-movil-item.activo { color: #EC6839; }
    #menuMovil.abierto .menu-fondo { opacity: 1; }
    #menuMovil.abierto .menu-panel { transform: translateX(0); }

    .menu-item { position: relative; display: inline-block; color: #fff; }
    .menu-item::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: #EC6839; transition: width .2s; }
    .menu-item:hover::after, .menu-item.activo::after { width: 100%; }
    .menu-item--oscuro { color: #1E253C; }
    .btn-cotiza { display: inline-flex; height: 32px; align-items: center; justify-content: center; border-radius: 18px; background: #EC6839; padding: 6px 16px; font-size: 12px; line-height: 16px; font-weight: 500; color: #fff; transition: background .15s; }
    .btn-cotiza:hover { background: #F18E6A; }
    #header2.visible { transform: translateY(0); }
    .dato { display: flex; align-items: center; gap: 16px; font-size: 12px; line-height: 14px; white-space: nowrap; }
    .dato img { flex: none; }
    .dato > div { display: flex; flex-direction: column; gap: 2px; }
    .dato-titulo { font-weight: 600; line-height: 16px; color: #EC6839; }
    .dato sup { font-size: 7.74px; line-height: 0; vertical-align: 3px; }

    /* Móvil: pasos de 60px, círculos de 40px, líneas de 28px. Desktop: 120 / 48 / 88. */
    .tracking { --inicio: 50px; --paso: 68px; --ancho: 28px; --top: 20px; }
    .tracking-linea { position: absolute; top: var(--top); left: calc(var(--inicio) + var(--paso) * var(--i)); width: var(--ancho); height: 1px; }
    .paso { display: flex; width: 60px; flex: none; flex-direction: column; align-items: center; gap: 8px; }
    .paso > span { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 28px; border: 1px solid #746D6C; }
    .paso.hecho > span { border-color: #EC6839; background: #EC6839; }
    .paso p { font-size: 9px; line-height: 12px; font-weight: 500; text-align: center; color: #A59F9E; }
    .paso.hecho p { color: #FFF1E0; }
    @media (min-width: 1024px) {
      .tracking { --inicio: 108px; --paso: 136px; --ancho: 88px; --top: 24px; }
      .paso { width: 120px; }
      .paso > span { width: 48px; height: 48px; }
      .paso p { font-size: 11px; line-height: 16px; }
    }

    .bullet { display: flex; width: 100%; align-items: center; gap: 8px; text-align: left; }
    .bullet img { flex: none; }
    .bullet .on, .bullet.active .off { display: none; }
    .bullet.active .on { display: block; }

    .tab-dorm { display: flex; flex: 1 1 0; height: 40px; align-items: center; justify-content: center; gap: 8px; border-radius: 20px; border: 1px solid #EC6839; background: #fff; padding: 4px 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: #EC6839; white-space: nowrap; transition: background .15s, color .15s; }
    .tab-dorm img { flex: none; }
    .tab-dorm .on, .tab-dorm.active .off { display: none; }
    .tab-dorm.active .on { display: block; }
    .tab-dorm.active { background: #EC6839; color: #fff; }
    @media (min-width: 1024px) { .tab-dorm { flex: none; width: 160px; } }
    /* Flechas centradas en el plano (Figma: top calc(50% - 22.4px) del bloque de planos) */
    .plano-flecha { position: absolute; top: calc(50% - 22.4px); z-index: 1; width: 32px; height: 32px; transform: translateY(-50%); transition: opacity .15s, transform .15s; }
    .plano-flecha:hover { transform: translateY(-50%) scale(1.08); }
    .plano-dato { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #000; font-size: 14px; line-height: 20px; }
    .plano-dato > img { flex: none; }
    .plano-dato-titulo { font-size: 12px; line-height: 16px; font-weight: 600; }
    .plano-dato sup { font-size: 9px; line-height: 0; vertical-align: 5px; }
    /* Celulares angostos (< 400px): íconos de 32px para que entren los tres datos */
    @media (max-width: 399px) {
      .plano-dato { gap: 6px; }
      .plano-dato > img, .plano-dato > span { width: 32px; height: 32px; }
      .plano-dato > span img { width: 20px; height: 20px; }
    }

    .campo { width: 100%; min-width: 0; height: 44px; border-radius: 8px; border: 1px solid #C7C8CE; background: #fff; padding: 8px 8px 8px 16px; font-size: 13px; line-height: 16px; color: #1E253C; outline: none; transition: border-color .15s, box-shadow .15s; }
    .fila-campos > .campo { flex: 1 1 0; }
    .campo::placeholder { color: #565B6D; opacity: 1; }
    .campo-select { appearance: none; padding-right: 40px; background: #fff url('../icons/select-flecha.svg') no-repeat right 8px center / 24px 24px; }
    .campo-select:invalid { color: #565B6D; }
    .campo:focus { border-color: #EC6839; box-shadow: 0 0 0 3px rgb(236 104 57 / .15); }
    .check { position: relative; display: flex; align-items: center; gap: 4px; cursor: pointer; text-align: left; font-size: 12px; line-height: 16px; color: #565B6D; }
    .check input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
    .check-box { position: relative; flex: none; width: 28px; height: 28px; background: url('../icons/checkbox-28.svg') center / 28px 28px no-repeat; }
    .check input:checked + .check-box::after { content: ''; position: absolute; inset: 5px; border-radius: 2px; background: #EC6839 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
    .check input:focus-visible + .check-box { outline: 2px solid #EC6839; outline-offset: 1px; border-radius: 4px; }

    .beneficio { display: flex; width: 120px; flex: none; scroll-snap-align: start; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
    .beneficio-icono { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; }
    .beneficio-linea { display: block; width: 96px; height: 1px; margin-bottom: -1px; } /* línea de alto 0 en Figma */
    .beneficio p { width: 100%; text-align: center; font-size: 12px; line-height: 16px; color: #E9E9EC; }
    @media (min-width: 1024px) {
      .beneficio { width: 140px; }
      /* 80px de margen dentro del contenedor de 1280px, más el espacio sobrante a la izquierda en pantallas anchas */
      .sangrado-derecha { padding-left: max(80px, calc((100% - 1280px) / 2 + 80px)); }
    }

    .mapa-caja { background: #f1ebdf; } /* color de fondo del mapa mientras carga */
    .filtro { display: flex; align-items: center; gap: 8px; text-align: left; color: #000; transition: color .15s; }
    .filtro img { flex: none; }
    .filtro .on, .filtro.active .off { display: none; }
    .filtro.active .on { display: block; }
    .filtro:hover { color: #EC6839; }
    .filtro.active { color: #EC6839; font-weight: 600; }
    .btn-outline { display: flex; flex: 1 1 0; height: 40px; min-width: 0; align-items: center; justify-content: center; border-radius: 20px; border: 1px solid #EC6839; padding: 4px 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: #EC6839; white-space: nowrap; transition: background .15s, color .15s; }
    .btn-outline:hover { background: #EC6839; color: #fff; }

    .proyecto { display: flex; width: calc(50% - 4px); flex: none; scroll-snap-align: start; flex-direction: column; align-items: center; gap: 8px; }
    .proyecto-img { position: relative; width: 100%; aspect-ratio: 240 / 320; padding: 16px 8px; }
    .proyecto-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .badge { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: #FAD9CD; padding: 4px 12px; font-size: 11px; line-height: 14px; font-weight: 500; color: #000; }
    .proyecto-info { display: flex; width: 100%; flex-direction: column; gap: 8px; padding: 0 8px; text-align: center; }
    .proyecto-info h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: #EC6839; }
    .proyecto-info p { font-size: 12px; line-height: 16px; color: #000; }
    .proyecto-info strong { font-weight: 700; }
    @media (min-width: 1024px) {
      .proyecto { width: auto; }
      .proyecto-img { padding: 16px; }
      .proyecto-info { padding: 0 16px; }
    }

    .social { position: relative; display: block; width: 32px; height: 32px; overflow: hidden; transition: opacity .15s; }
    .social:hover { opacity: .8; }

    .politicas { width: calc(100% - 32px); max-width: 720px; max-height: min(85vh, 760px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: #1E253C; box-shadow: 0 24px 64px rgb(0 0 0 / .3); overflow: hidden; }
    .politicas::backdrop { background: rgb(30 37 60 / .7); }
    .politicas[open] { animation: politicas-entrar .2s ease-out; }
    @keyframes politicas-entrar { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
    .politicas-texto { font-size: 14px; line-height: 20px; color: #565B6D; }
    .politicas-texto > * + * { margin-top: 16px; }
    .politicas-texto ul { list-style: disc; padding-left: 20px; }
    .politicas-texto li + li { margin-top: 4px; }
    .politicas-texto strong { font-weight: 600; color: #1E253C; }
    .politicas-texto a { color: #EC6839; text-decoration: underline; }

/* Formulario: estado de envío y mensajes */
.form-mensaje { display: none; border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 18px; }
.form-mensaje.ok { display: block; background: #E8F5EC; color: #1F6B3A; }
.form-mensaje.error { display: block; background: #FDECEA; color: #A23A2A; }
#formCotiza button[type="submit"][disabled] { opacity: .6; cursor: wait; }
.campo-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Barra de administración de WordPress (solo con sesión iniciada) */
.admin-bar #header2 { top: 32px; }
@media (max-width: 782px) { .admin-bar #header2 { top: 46px; } }
