/* GSP — Alarmas (AX Home / Kit Home) page styles. Built on the canonical design tokens. */

/* Shared image placeholder (canonical "Imagen real aquí" motif) */
.img-ph { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a2744 0%, #2a3f6b 50%, var(--navy-700) 100%); border-radius: var(--radius-xl); }
.img-ph .img-ph-icon { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.img-ph .img-ph-icon svg { stroke: rgba(255,255,255,.75); }
.img-ph .img-ph-label { position: absolute; bottom: 14px; left: 18px; font-family: var(--font-display); font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ── COTIZADOR ── */
.cotizador-section { background: var(--gray-50); }
.cotizador-box { max-width: 1080px; margin: 0 auto; background: linear-gradient(160deg, #2f3d5c 0%, #232e45 50%, var(--navy-800) 100%); border-radius: var(--radius-2xl); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 20px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; color: #fff; }
.cotizador-header-row { display: flex; align-items: center; padding: 2rem 2.5rem 0; gap: 1.5rem; }
.cotizador-header-row img { height: 56px; }
.cotizador-header { flex: 1; text-align: center; }
.cotizador-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 .3rem; line-height: 1.15; }
.cotizador-title .hl { color: var(--red-500); }
.cotizador-subtitle { font-size: .95rem; opacity: .55; margin: 0; }
.cotizador-tagline { flex-shrink: 0; font-size: .6rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: .3; font-weight: 600; }
.cotizador-inner { padding: 1.5rem 2.5rem 2.5rem; }
.ctz-indicators { display: flex; align-items: center; gap: 2rem; margin: 0 auto 2.2rem; max-width: 640px; }
.ctz-track { flex: 1; }
.ctz-bar-bg { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; position: relative; }
.ctz-bar-fill { height: 100%; background: linear-gradient(90deg, var(--red-600), var(--red-400)); border-radius: 2px; transition: width .6s var(--ease); position: relative; }
.ctz-bar-fill::after { content:''; position: absolute; right: -4px; top: -3px; width: 10px; height: 10px; background: var(--red-500); border-radius: 50%; box-shadow: 0 0 8px rgba(231,26,33,.5); }
.ctz-steps { display: flex; justify-content: space-between; margin-top: .5rem; }
.ctz-step-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .3; transition: all .4s; }
.ctz-step-label.active { opacity: 1; color: #fff; }
.ctz-step-label.done { opacity: .6; color: var(--red-400); }
.ctz-timer { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.ctz-timer-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--red-500); line-height: 1; min-width: 48px; text-align: right; }
.ctz-timer-lbl { font-size: .6rem; font-weight: 600; text-transform: uppercase; opacity: .45; line-height: 1.3; }
.ctz-main { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; min-height: 320px; }
@media(max-width:860px){ .ctz-main{ grid-template-columns: 1fr; gap: 1.5rem; } .cotizador-header-row{ flex-wrap: wrap; justify-content: center; padding: 1.5rem 1.25rem 0; } .cotizador-inner{ padding: 1.25rem 1.25rem 2rem; } .cotizador-tagline{ display: none; } }
.ctz-question { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.4rem; line-height: 1.3; }
.ctz-pills { display: flex; flex-direction: column; gap: .85rem; }
.ctz-pill { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1rem 1.4rem; color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: all .25s var(--ease); text-align: left; }
.ctz-pill svg:first-child { stroke: rgba(255,255,255,.8); flex-shrink: 0; }
.ctz-pill .pill-arrow { margin-left: auto; opacity: .35; transition: all .25s; }
.ctz-pill:hover { border-color: rgba(231,26,33,.5); background: rgba(231,26,33,.1); transform: translateX(2px); }
.ctz-pill:hover .pill-arrow { opacity: .8; transform: translateX(3px); }
.ctz-pill.selected { border-color: var(--red-500); background: var(--red-500); }
.ctz-input { width: 100%; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1); border-radius: 12px; padding: .85rem 1rem; color: #fff; font-family: var(--font-body); font-size: 16px; transition: all .25s; outline: none; margin-bottom: .85rem; box-sizing: border-box; }
.ctz-input:focus { border-color: rgba(231,26,33,.6); background: rgba(255,255,255,.08); box-shadow: 0 0 0 3px rgba(231,26,33,.1); }
.ctz-input::placeholder { color: rgba(255,255,255,.3); }
textarea.ctz-input { resize: vertical; min-height: 70px; }
.ctz-back { background: none; border: none; color: rgba(255,255,255,.45); font-family: var(--font-body); font-size: .82rem; cursor: pointer; margin-bottom: 1rem; padding: 0; display: inline-flex; align-items: center; gap: .35rem; }
.ctz-back:hover { color: #fff; }
.ctz-success { text-align: center; padding: 1rem 0; }
.ctz-success .ok { width: 60px; height: 60px; border-radius: 50%; background: rgba(31,157,85,.18); color: #34c171; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.ctz-success h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: .4rem; }
.ctz-success p { opacity: .6; font-size: .92rem; margin-bottom: .3rem; }
.ctz-wa { display: inline-flex; align-items: center; gap: .5rem; background: #25d366; color: #fff; text-decoration: none; border-radius: 50px; padding: .7rem 1.6rem; font-family: var(--font-display); font-weight: 700; font-size: .9rem; margin-top: 1rem; transition: all .25s; }
.ctz-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.ctz-visual { display: flex; align-items: center; justify-content: center; }
.ctz-visual .img-ph { width: 100%; aspect-ratio: 4/3; }

/* ── COTIZADOR · Isometric 3D house (progressive lighting) ── */
.house-iso-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; }
.house-iso-plan { width: 100%; max-width: 520px; }
.house-iso-plan svg { width: 100%; height: auto; display: block; transition: filter .8s ease; }
.room-overlay { transition: opacity .8s var(--ease); }
.room-overlay.ro-living { transition-delay: 0s; }
.room-overlay.ro-kitchen { transition-delay: .12s; }
.room-overlay.ro-bedroom { transition-delay: .24s; }
.room-overlay.ro-bathroom { transition-delay: .36s; }
.room-glow { transition: opacity .9s ease; }
.room-glow.rg-living { transition-delay: .05s; }
.room-glow.rg-kitchen { transition-delay: .18s; }
.room-glow.rg-bedroom { transition-delay: .3s; }
.room-glow.rg-bathroom { transition-delay: .42s; }
.exterior-glow { transition: opacity 1s ease .2s; }
.security-device { transition: opacity .6s ease .3s; }
.house-iso-plan.state-1 .room-overlay { opacity: .88; }
.house-iso-plan.state-1 .room-glow { opacity: 0; }
.house-iso-plan.state-1 .exterior-glow { opacity: 0; }
.house-iso-plan.state-1 .security-device { opacity: 0; }
.house-iso-plan.state-1 svg { filter: drop-shadow(2px 4px 10px rgba(0,0,0,.6)); }
.house-iso-plan.state-2 .room-overlay.ro-living { opacity: .05; }
.house-iso-plan.state-2 .room-glow.rg-living { opacity: 1; }
.house-iso-plan.state-2 .room-overlay.ro-kitchen { opacity: .3; }
.house-iso-plan.state-2 .room-glow.rg-kitchen { opacity: .6; }
.house-iso-plan.state-2 .room-overlay.ro-bedroom { opacity: .78; }
.house-iso-plan.state-2 .room-overlay.ro-bathroom { opacity: .78; }
.house-iso-plan.state-2 .exterior-glow { opacity: 0; }
.house-iso-plan.state-2 .security-device { opacity: 0; }
.house-iso-plan.state-2 svg { filter: drop-shadow(3px 6px 14px rgba(0,0,0,.5)); }
.house-iso-plan.state-3 .room-overlay { opacity: 0; }
.house-iso-plan.state-3 .room-glow { opacity: 1; }
.house-iso-plan.state-3 .exterior-glow { opacity: 1; }
.house-iso-plan.state-3 .security-device { opacity: 1; }
.house-iso-plan.state-3 svg { filter: drop-shadow(4px 8px 16px rgba(0,0,0,.3)) drop-shadow(0 0 40px rgba(200,220,255,.08)); }
.house-iso-plan.state-3 .led-blink { animation: ctz-led 1.5s ease-in-out infinite; }
@keyframes ctz-led { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.house-iso-plan.celebrating svg { animation: ctz-house-pulse 2.8s ease-in-out infinite; }
@keyframes ctz-house-pulse { 0%,100% { transform: scale(1) translateY(0); filter: drop-shadow(4px 8px 16px rgba(0,0,0,.3)) drop-shadow(0 0 40px rgba(200,220,255,.08)); } 50% { transform: scale(1.015) translateY(-2px); filter: drop-shadow(4px 8px 20px rgba(0,0,0,.25)) drop-shadow(0 0 55px rgba(200,220,255,.15)); } }
.ctz-success-check { width: 64px; height: 64px; margin: 0 auto 1.2rem; }
.ctz-success-check circle { stroke-dasharray: 166; stroke-dashoffset: 166; animation: ctz-check-circle .6s ease forwards; }
.ctz-success-check path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: ctz-check-mark .4s ease forwards .4s; }
@keyframes ctz-check-circle { to { stroke-dashoffset: 0; } }
@keyframes ctz-check-mark { to { stroke-dashoffset: 0; } }
@media(prefers-reduced-motion: reduce){ .room-overlay,.room-glow,.exterior-glow,.security-device,.house-iso-plan svg { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ── FEATURES ── */
.alm-features { background: var(--white); }
.alm-features-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: clamp(2rem,4vw,4rem); }
@media(max-width:900px){ .alm-features-grid{ grid-template-columns: 1fr; text-align: center; } }
.alm-features-claim h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.1rem); text-transform: uppercase; line-height: 1.15; color: var(--navy-700); margin-bottom: 1rem; }
.alm-features-claim h2 .accent { color: var(--red-500); }
.alm-features-claim p { color: var(--gray-600); line-height: 1.7; font-size: .95rem; }
.alm-product { width: 100%; aspect-ratio: 3/4; max-width: 300px; margin: 0 auto; }
.alm-feature-list { display: flex; flex-direction: column; gap: 1.1rem; }
.alm-feature-row { display: flex; align-items: center; gap: 1rem; text-align: left; }
.alm-feature-ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--navy-700); display: flex; align-items: center; justify-content: center; }
.alm-feature-ic svg { stroke: #fff; }
.alm-feature-row span { font-family: var(--font-display); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--navy-700); line-height: 1.35; }

/* ── BENEFITS ── */
.alm-benefits { background: var(--gray-50); }
.alm-benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; }
@media(max-width:900px){ .alm-benefits-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:520px){ .alm-benefits-grid{ grid-template-columns: 1fr; } }
.alm-benefit-ic { width: 60px; height: 60px; border-radius: 14px; background: var(--red-glow); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.alm-benefit-ic svg { stroke: var(--navy-700); }
.alm-benefit h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; color: var(--navy-700); margin-bottom: .5rem; }
.alm-benefit p { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }

/* ── NOSOTROS ── */
.alm-nosotros { background: var(--white); }
.alm-nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
@media(max-width:860px){ .alm-nosotros-grid{ grid-template-columns: 1fr; } }
.alm-nosotros-img { position: relative; }
.alm-nosotros-img .img-ph { aspect-ratio: 4/3; }
.alm-nosotros-badge { position: absolute; bottom: -16px; right: -16px; background: var(--red-500); color: #fff; padding: .9rem 1.4rem; border-radius: var(--radius-xl); font-family: var(--font-display); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; box-shadow: var(--shadow-red); }
@media(max-width:520px){ .alm-nosotros-badge{ right: 12px; bottom: 12px; } }
.alm-nosotros-divider { width: 60px; height: 3px; background: var(--red-500); margin: 1.2rem 0 1.5rem; border-radius: 2px; }
.alm-nosotros-text h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,3vw,2.1rem); text-transform: uppercase; line-height: 1.15; color: var(--navy-700); }
.alm-nosotros-text p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; font-size: .92rem; }
.alm-nosotros-text p strong { color: var(--navy-700); }

/* ── CTA FINAL ── */
.alm-cta { background: var(--navy-700); position: relative; overflow: hidden; text-align: center; }
.alm-cta::before { content:''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(231,26,33,.14), transparent 45%), radial-gradient(circle at 80% 90%, rgba(255,255,255,.06), transparent 45%); }
.alm-cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.alm-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,3.2vw,2.3rem); text-transform: uppercase; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.alm-cta p { color: rgba(255,255,255,.6); font-size: 1.05rem; line-height: 1.6; max-width: 560px; margin: 0 auto 2rem; }
