@font-face{font-family:Montserrat;src:url('assets/Montserrat.ttf')}*{box-sizing:border-box}body{margin:0;background:#f3f5f7;color:#16324e;font:15px Montserrat,Arial,sans-serif}header{background:#073566;color:white;padding:22px 5%;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}header span{font-size:10px;display:block;letter-spacing:2px}header small{color:#ffe2a0}main{max-width:1100px;margin:auto;padding:24px}.hero{background:linear-gradient(110deg,#073566,#145873);color:white;border-radius:22px;padding:32px}.hero p{max-width:650px;line-height:1.6}.hero h1{font-size:clamp(30px,5vw,48px);margin:16px 0}nav,.actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}button,.file{min-height:46px;border:1px solid #ccd6df;background:white;border-radius:10px;padding:12px 18px;color:#073566;font:inherit;cursor:pointer}button.active,button.primary{background:#073566;color:white;border-color:#073566}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d2a23a;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}.notice,#status{line-height:1.6;padding:14px;background:#fff7df;border-radius:10px}#status:empty{display:none}#screen{background:white;border-radius:18px;padding:24px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}label{display:flex;flex-direction:column;gap:7px;font-size:13px}input,select,textarea{font:inherit;min-height:46px;padding:10px;border:1px solid #b6c5d2;border-radius:8px;width:100%;background:white;color:#18324b}textarea{min-height:130px}.wide{grid-column:1/-1}.types{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.types button{font-size:16px;padding:18px 10px;background:#edf4f7}.types button.active{background:#073566}.types span{display:block;font-size:28px;margin-bottom:7px}.photos{display:flex;flex-wrap:wrap;gap:12px}.photos figure{margin:0;width:160px}.photos img{width:160px;height:110px;object-fit:cover;border-radius:8px}.photos button{font-size:12px;padding:8px}details{padding:16px;background:#f3f6f8;margin:18px 0;border-radius:10px}summary{cursor:pointer;min-height:44px;line-height:44px}.tag{font-size:11px;color:#526c7d}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eef4f7;padding:16px}footer{font-size:12px;line-height:1.7;padding:25px 0;color:#607181}@media(max-width:650px){main{padding:14px}.hero{padding:24px}.grid{grid-template-columns:1fr}.types{grid-template-columns:repeat(2,1fr)}#screen{padding:16px}nav button{flex:1}header{padding:16px}.actions button{flex-grow:1}}

.hero{background:linear-gradient(90deg,rgba(7,53,102,.96),rgba(7,53,102,.78)),url('assets/hero.webp') center/cover}.hero:after{content:'Imagen ilustrativa sintética · no representa un inmueble ofrecido';display:block;font-size:10px;color:#dce8ef}

label,h1,h2,h3,button{overflow-wrap:anywhere;min-width:0}textarea[name=whatsapp],textarea[name=social]{min-height:150px} .grid label:has(textarea){grid-column:1/-1}
/* Keep all four step names readable on phones; no letter-by-letter wrapping. */
@media(max-width:650px){#screen>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#screen>nav button{padding:12px 8px;overflow-wrap:normal;min-height:48px}}
.photos img{object-fit:contain;background:#eef2f5}
.grid + .grid{margin-top:20px}#features{margin-bottom:18px}summary{line-height:1.5;padding:10px 0}

.hero{position:relative;padding:52px 40px;background-image:linear-gradient(90deg,rgba(7,53,102,.96),rgba(7,53,102,.38)),url('assets/hero.webp');min-height:390px;box-shadow:0 14px 35px #07356620}
.hero h1{font-size:clamp(32px,5vw,56px);line-height:1.06;letter-spacing:-1.5px;max-width:650px}
.hero-subtitle{font-size:20px;max-width:540px!important}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px}.hero-meta{font-size:11px;color:#dce8ef}.gold{background:#D2A23A;border:0;color:#092d53;font-weight:750;padding:17px 22px}.hero:after{margin-top:30px}.notice{font-size:12px;background:#fffaf0;border:1px solid #e8dfca}
#screen{box-shadow:0 5px 24px #0735660b}#screen>nav{padding-bottom:20px;border-bottom:1px solid #e3e9ef}#screen>nav button{flex:1;font-size:11px;font-weight:700;padding:14px 8px}.types{gap:14px;margin:22px 0}.types button{padding:0;overflow:hidden;background:white;border:2px solid #e1e8ee;transition:transform .15s,border-color .15s}.types button:hover{transform:translateY(-3px);border-color:#D2A23A}.types button.active{border-color:#D2A23A;background:#073566}.types .type-photo{height:135px;margin:0;background-image:url('assets/cards.webp');background-size:400% 200%;background-repeat:no-repeat}.types .type-caption{font-size:13px;font-weight:650;display:flex;align-items:center;gap:8px;justify-content:center;margin:0;padding:14px 6px}.types .type-icon{font-size:22px;margin:0}.photo-0{background-position:0 0}.photo-1{background-position:33.333% 0}.photo-2{background-position:66.667% 0}.photo-3{background-position:100% 0}.photo-4{background-position:0 100%}.photo-5{background-position:33.333% 100%}.photo-6{background-position:66.667% 100%}.progressive-preview{background:#edf3f8;border-left:3px solid #D2A23A;padding:18px;margin-top:15px;white-space:pre-line}.progressive-preview p{font-size:14px;line-height:1.7}.grid{margin:20px 0}label{font-weight:550}h2{font-size:24px;letter-spacing:-.6px}button.primary{box-shadow:0 3px 8px #07356618}
@media(max-width:650px){.hero{padding:28px 22px;min-height:350px}.hero-subtitle{font-size:17px}.hero h1{letter-spacing:-1px}.gold{width:100%;font-size:12px}.types .type-photo{height:135px}.types .type-caption{font-size:12px}.types{gap:10px}header small{font-size:10px}#screen>nav{gap:8px}.hero:after{font-size:9px}}
@media(prefers-reduced-motion:reduce){.types button{transition:none}.types button:hover{transform:none}}

#screen textarea{min-height:150px}#screen label small{display:block;color:#073566;margin-top:5px}nav button{white-space:normal}#screen{scroll-margin-top:20px}
