:root{--ink:#071a38;--gold:#f2c45e;--paper:#f7f5ef;--muted:#435166;--line:#deded7}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px/1.65 system-ui,-apple-system,sans-serif;background:var(--paper)}a{color:inherit}a:focus-visible,summary:focus-visible{outline:3px solid #bc8311;outline-offset:4px}.skip{position:absolute;left:1rem;top:-5rem;background:white;padding:.5rem;z-index:5}.skip:focus{top:1rem}header,footer{padding:1rem max(5vw,1.3rem);display:flex;align-items:center;justify-content:space-between;gap:1.6rem;background:var(--ink);color:#fff}header nav{display:flex;flex-wrap:wrap;gap:1.1rem;font-size:.92rem}header nav a{text-decoration:none}header nav a:hover,header nav a[aria-current]{color:var(--gold)}.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;font-weight:800;line-height:1.1;letter-spacing:.08em;font-size:.77rem;white-space:nowrap}.brand img{width:44px;height:44px;object-fit:contain}.button{display:inline-flex;align-items:center;gap:.75rem;justify-content:center;min-height:44px;padding:.65rem 1rem;border:1px solid var(--gold);border-radius:5px;background:var(--gold);color:var(--ink);font-weight:750;text-decoration:none;line-height:1.2}.button:hover{background:#ffda8b}.outline{background:transparent;color:#fff}.outline:hover{color:var(--ink)}.hero{background:linear-gradient(90deg,rgba(7,26,56,.98),rgba(7,26,56,.45)),url('01-cabecera-fondo.jpg') center/cover;color:#fff}.hero-inner{max-width:1320px;margin:auto;display:grid;grid-template-columns:1.55fr 1fr;align-items:end;padding:0 5vw;gap:1.5rem}.herocopy{padding:clamp(3rem,7vw,7.2rem) 0}.eyebrow{font-size:.77rem;letter-spacing:.145em;font-weight:800;color:#765016;margin:0 0 .75rem}.hero .eyebrow,.pagehero .eyebrow{color:var(--gold)}h1,h2{line-height:1.08;letter-spacing:-.04em;margin:0 0 1rem}h1{font-size:clamp(2.4rem,5vw,5.1rem);max-width:15ch}h1 em{display:block;color:var(--gold);font-style:normal}.hero p:not(.eyebrow),.pagehero p:not(.eyebrow){max-width:56ch;font-size:clamp(1rem,1.55vw,1.2rem);color:#ecedf2}.portrait{width:100%;display:block;max-height:530px;object-fit:contain;object-position:bottom right}.actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}.section{max-width:1190px;margin:auto;padding:clamp(2.5rem,6vw,5.2rem) 5vw;display:grid;gap:clamp(1.3rem,6vw,6rem);grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center}.section+.section{border-top:1px solid var(--line)}.section:not(:has(img)){display:block}.section h2{font-size:clamp(1.9rem,3.8vw,3.45rem);max-width:19ch}.section p:not(.eyebrow){color:var(--muted);max-width:60ch}.editorial{width:100%;max-height:390px;aspect-ratio:1.18;object-fit:cover;border-radius:9px}.reverse .editorial{order:-1}.pagehero{background:var(--ink);color:white;border-bottom:5px solid var(--gold);padding:clamp(2rem,6vw,5rem) 5vw}.pagehero>div{max-width:1050px;margin:auto}.pagehero h1{max-width:24ch;font-size:clamp(2.2rem,5vw,4.2rem)}details{border-bottom:1px solid var(--line);padding:.75rem 0}summary{cursor:pointer;font-weight:700}footer{margin-top:1rem}footer p{margin:0;font-size:.89rem}@media(max-width:850px){header{flex-wrap:wrap;gap:.7rem}header nav{order:3;width:100%;gap:.6rem 1rem}.hero-inner{grid-template-columns:1.25fr 1fr}.section{gap:1.3rem}}@media(max-width:600px){.hero-inner,.section{grid-template-columns:1fr}.herocopy{padding:2.5rem 0 0}.portrait{max-height:300px;object-position:bottom center}.reverse .editorial{order:0}footer{align-items:flex-start;flex-direction:column;gap:.65rem}}

/* Portada C: simulación, condiciones y contacto. */
.hero-c h1{max-width:18ch;font-size:clamp(2.4rem,4.7vw,4.6rem)}
.hero-c .herocopy{padding:clamp(2.5rem,5vw,5.25rem) 0}
.home-band{max-width:1320px;margin:auto;padding:2.1rem 5vw}
.home-band h2{font-size:clamp(1.65rem,3vw,2.4rem);max-width:30ch}
.step-grid,.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}
.step-grid{list-style:none;padding:0;margin:1.35rem 0 0}
.step-grid a,.resource-grid a{display:block;height:100%;text-decoration:none;border-radius:9px;overflow:hidden}
.step-grid a{padding:1.3rem;background:#fff;border:1px solid var(--line);border-bottom:3px solid var(--gold)}
.step-grid a:hover,.resource-grid a:hover{box-shadow:0 6px 18px #071a3820}
.step-grid h3,.resource-grid h3{margin:0;font-size:1.28rem;line-height:1.3}
.step-grid p,.resource-grid p{margin:.4rem 0;color:var(--muted)}
.step-grid span{font-size:1.4rem;color:#765016}
.partnership{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.partnership p{margin:0;max-width:70ch;color:var(--muted)}
.resource-grid a{background:var(--ink);color:#fff}
.resource-grid img{display:block;width:100%;height:145px;object-fit:cover}
.resource-grid a div{padding:1rem}
.resource-grid p{color:#d9e3f0}
.resource-grid a:focus-visible{outline-offset:3px}
@media(max-width:700px){.step-grid,.resource-grid{grid-template-columns:1fr}}
@media(max-width:600px){.hero-c .herocopy{padding-bottom:0}}

.hero-reference .herocopy{padding:clamp(2rem,4vw,4rem) 0}
.hero-reference h1{max-width:19ch;font-size:clamp(2.35rem,4.35vw,4.6rem)}
.hero-reference .portrait{max-height:480px}
.reference-rail,.partner-inner,.reference-resources{max-width:1440px;margin:auto;padding:1.55rem 5vw;display:grid;align-items:center;gap:1.3rem}
.reference-rail{grid-template-columns: minmax(155px,1fr) minmax(0,4fr)}
.reference-rail h2,.partner-inner h2{margin:0;font-size:clamp(1.45rem,2.1vw,2.25rem)}
.reference-rail ul{display:flex;list-style:none;padding:0;margin:0}
.reference-rail li{flex:1;min-width:0;border-left:1px solid var(--line);text-align:center}
.reference-rail a{display:block;padding:.45rem .25rem;text-decoration:none;font-size:.95rem;font-weight:720;line-height:1.25}
.reference-rail a:hover{text-decoration:underline}
.rail-symbol{display:block;color:#9a660b;font-size:1.6rem;margin-bottom:.3rem}
.reference-partner{color:white;background:linear-gradient(90deg,#071a38 15%,#071a38aa),url('portada-arquitectura.jpg') center 53%/cover}
.partner-inner{grid-template-columns:1.15fr 1fr 1fr;min-height:180px}
.partner-inner h2 span{color:var(--gold);display:block}
.partner-inner p{margin:.65rem 0 0}
.partner-inner a{background:#fbfaf7;color:var(--ink);border-radius:8px;padding:1.1rem;text-decoration:none;min-height:108px;align-content:center}
.partner-inner a:hover{text-decoration:underline}
.partner-inner strong,.partner-inner a span{display:block}
.partner-inner strong{font-size:1.2rem}
.partner-inner a span{font-size:.92rem;color:var(--muted)}
.reference-cost{border-bottom:1px solid var(--line)}
.reference-resources{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.reference-resources>a{display:grid;grid-template-columns:1fr 1.15fr;overflow:hidden;border-radius:8px;background:var(--ink);color:#fff;text-decoration:none}
.reference-resources img{width:100%;height:100%;object-fit:cover}
.reference-resources a>div{padding:.8rem}
.reference-resources h2{font-size:1.18rem;letter-spacing:-.02em;margin:0}
.reference-resources p{font-size:.86rem;line-height:1.35;color:#e3eaf5}
.reference-resources .button{font-size:.78rem;padding:.45rem .55rem}
.reference-resources a:hover .button{background:#ffda8b}
.reference-contact{text-align:center;padding:0 5vw 1.5rem}
@media(max-width:1050px){.reference-resources>a{grid-template-columns:1fr}.reference-resources img{height:115px}}
@media(max-width:760px){.reference-rail,.partner-inner{grid-template-columns:1fr}.reference-rail ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.reference-rail li{border-left:0;border-bottom:1px solid var(--line)}.reference-resources{grid-template-columns:1fr}.reference-resources>a{grid-template-columns:1fr 1.35fr}.reference-resources img{height:100%}}
@media(max-width:600px){.hero-reference .herocopy{padding-bottom:0}}

.site-footer{display:block;background:var(--ink);color:#e6edf7;margin:0;padding:2.5rem 5vw 1rem;border-top:3px solid var(--gold)}
.footer-grid,.footer-bottom{max-width:1280px;margin:auto}
.footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:2rem;padding-bottom:1.6rem}
.site-footer h2{color:#fff;font-size:1.05rem;margin:.25rem 0 .65rem;letter-spacing:0}
.site-footer p{margin:.65rem 0;font-size:.9rem}
.footer-grid nav a{display:block;width:fit-content;margin:.4rem 0}
.footer-brand{color:white;width:fit-content}
.footer-bottom{border-top:1px solid #ffffff38;padding-top:.8rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.footer-bottom nav{display:flex;flex-wrap:wrap;gap:.45rem 1rem}
.footer-bottom nav a{font-size:.88rem}
.site-footer nav a[aria-current],.site-footer nav a:hover{color:var(--gold)}
.legal-content{max-width:860px;margin:auto;padding:2.4rem 5vw 3.4rem}
.legal-content h2{font-size:1.4rem;letter-spacing:-.02em;margin:1.7rem 0 .55rem}
.legal-content dt{font-weight:750}.legal-content dd{margin:0 0 .65rem}
.legal-content a{overflow-wrap:anywhere}
.legal-note{border-left:3px solid #aa7417;background:#f0e5c7;padding:.7rem 1rem}
@media(max-width:720px){.footer-grid{grid-template-columns:1fr;gap:1rem}.footer-bottom{align-items:flex-start;flex-direction:column;gap:.25rem}}

.profile-bio{display:grid;grid-template-columns:1fr 1.65fr;gap:clamp(1rem,5vw,5rem);max-width:1280px;margin:auto;padding:clamp(2rem,4vw,4rem) 5vw;border-bottom:1px solid var(--line)}
.profile-bio h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:.35rem 0}
.profile-bio p:not(.eyebrow){color:var(--muted)}
.profile-bio .profile-zone{font-weight:750;margin:.5rem 0}
.profile-bio .actions{margin-top:1rem}
.team-grid{max-width:1280px;margin:auto;padding:2.5rem 5vw;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1.2rem}
.team-grid>a{display:block;color:var(--ink);background:#fff;text-decoration:none;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.team-grid>a:hover strong{text-decoration:underline}
.team-grid img{display:block;width:100%;height:220px;object-fit:contain;object-position:center bottom;background:var(--ink)}
.team-grid a div{padding:1rem}.team-grid strong,.team-grid span{display:block}.team-grid span{color:var(--muted);font-size:.92rem}
@media(max-width:700px){.profile-bio{grid-template-columns:1fr;gap:.45rem}}

.partner-inner .partner-card:hover{text-decoration:none}.partner-card .button{display:inline-flex;min-height:44px;margin-top:.7rem;font-size:.88rem;color:var(--ink)}.partner-card .button span{display:inline;color:inherit}.partner-card:hover .button{background:#ffda8b}

.route-wrap{width:min(1120px,calc(100% - 36px));margin:3rem auto}
.route-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;padding:0;list-style:none}
.route-card{display:flex;flex-direction:column;align-items:flex-start;padding:21px;border:1px solid #d5dee6;border-radius:12px;background:#fff;color:#112942}
.route-card h3{margin:0}.route-card p{flex:1}
.route-resource{font-weight:700;text-decoration:underline}
.route-card label{margin-top:16px;display:flex;align-items:center;gap:8px;font-size:.95rem;cursor:pointer}
.route-card input{width:18px;height:18px;accent-color:#17354e}
.route-wrap progress{accent-color:#b17402;vertical-align:middle}
.route-finish{background:#092039;color:#fff;padding:clamp(20px,4vw,48px);border-radius:16px}
.route-finish p,.route-finish a:not(.button){color:#fff}.route-finish a:not(.button){text-decoration:underline}
#route-form[hidden]{display:none}
