/* HAYFIBRA | Edicion visual arquitectonica. 03 Nov 2026. CSS aislado. */
:root{--a:#c46d4c;--b:#faf4eb;--c:#21373b;--ink:#26383b;--muted:#62736c;--line:#e9e4da;--bg:#fcfaf5;--panel:#fff;--radius:24px}
body{background:#fcfaf6;color:#293c3a}
.wrap{width:min(1190px,92%);margin-inline:auto}
.top{background:rgba(253,251,246,.95);backdrop-filter:blur(18px);border-color:#e8e7df;box-shadow:0 4px 24px #1e35290a}
.nav{height:81px}.nav nav a{color:#4b645c;font-weight:760}
.nav nav a:hover{color:#c36b4d}
.cta{background:#29473f;color:#fff;border-radius:12px;padding:13px 19px;box-shadow:0 10px 25px #173f341c}
.cta:hover{background:#385c4a}
.hero{position:relative;isolation:isolate;padding:78px 0 102px;overflow:hidden;background:radial-gradient(ellipse at 83% 6%,#dce6d3,transparent 48%),radial-gradient(ellipse at 12% 95%,#f5e5d7,transparent 54%),linear-gradient(125deg,#fcfaf4 0%,#faf5ed 56%,#e6efe5 100%)}
.hero:before{content:"";position:absolute;left:-180px;top:-270px;width:620px;height:620px;border-radius:50%;border:1px solid #a8b6a431;pointer-events:none}
.hero-grid{display:grid;grid-template-columns:minmax(0,.99fr) minmax(0,1.01fr);gap:clamp(22px,4vw,63px);align-items:center}
.hero-grid>div:first-child{min-width:0;position:relative;z-index:3}
.hero .eyebrow{display:inline-flex;align-items:center;gap:10px;background:#fffdf8;border:1px solid #e4d6c3;border-radius:90px;padding:11px 16px;font-size:10px;color:#b46f4b;letter-spacing:.14em;box-shadow:0 10px 28px #79583a0b}
.hero .eyebrow:before{content:"";height:8px;width:8px;background:#eaa17e;border-radius:50%;box-shadow:0 0 0 4px #eaa17e24}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(46px,5.35vw,78px);font-weight:700;letter-spacing:-.06em;line-height:1.06;color:#213735;margin:24px 0 24px;text-wrap:balance}
.hero h1 em{font-style:normal;color:#bf7151}
.hero .lead{color:#566e65;font-size:clamp(16px,1.55vw,20px);line-height:1.72;max-width:525px;margin:0}
.hero-actions{gap:12px;flex-wrap:wrap;margin-top:30px}
.hero .btn{min-height:55px;padding-inline:21px;border-radius:13px;transition:transform .2s,box-shadow .2s}
.hero .btn:hover{transform:translateY(-2px)}
.hero .btn.primary{background:#b96649;border-color:#b96649;color:#fff;box-shadow:0 13px 30px #b9664936}
.hero .btn.primary:hover{background:#a2563f}
.hero .btn:not(.primary){background:#fffaf4;border:1px solid #e4d8c9;color:#3d574e}
.hf-stepbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.hf-stepbar>span{display:inline-flex;gap:7px;align-items:center;color:#506d5e;font-size:11px;font-weight:750;padding:8px 10px;border:1px solid #dcdccf;background:#ffffff9e;border-radius:10px}
.hf-stepbar b{color:#c27751;font-weight:900}
.hero .disclaimer{font-size:11px;color:#879185;line-height:1.5;margin-top:16px}
.hf-hero-stage{position:relative;min-width:0;min-height:690px;isolation:isolate}
.hf-aerial{position:absolute;inset:8px 0 165px 12px;margin:0;background:#435a4e;overflow:hidden;border-radius:43% 43% 28px 28px / 31% 31% 28px 28px;border:9px solid #fffdf4;box-shadow:0 31px 75px #2c49302c}
.hf-aerial img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hf-aerial:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#152f2bbf)}
.hf-aerial figcaption{position:absolute;bottom:65px;left:29px;right:27px;z-index:2;color:#fff;max-width:380px}
.hf-aerial figcaption small{display:block;color:#f0e5d3;font-size:9px;letter-spacing:.17em;font-weight:850;margin-bottom:10px}
.hf-aerial figcaption strong{display:block;font-size:clamp(22px,2vw,29px);line-height:1.16;font-weight:780;letter-spacing:-.035em;text-shadow:0 2px 8px #071c1824}
.hf-address-tag{position:absolute;top:11px;right:-10px;z-index:4;display:flex;align-items:center;gap:9px;padding:14px 16px;background:#fffef9;border-radius:17px;border:1px solid #fff;box-shadow:0 18px 43px #24413628;transform:rotate(5deg);color:#3b574a}
.hf-address-tag .hf-pin{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:12px;background:#f7e7db;color:#b96546;font-size:27px;line-height:1}
.hf-address-tag strong{display:block;font-size:12px;letter-spacing:-.025em}
.hf-address-tag small{display:block;font-size:10px;color:#788e7b;margin-top:3px}
.hf-hero-stage>.hero-card{position:absolute;left:20px;right:20px;bottom:0;z-index:5;width:auto;margin:0;padding:23px 26px;background:#fffefb;border-radius:24px!important;border:1px solid #e7e6dc!important;box-shadow:0 23px 58px #1c3f322b}
.hf-hero-stage .hero-card .eyebrow{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;color:#b16d50;font-size:10px}
.hf-hero-stage .hero-card .eyebrow:before{display:none}
.hf-hero-stage .hero-card .big{font-family:Georgia,serif;font-size:clamp(43px,4vw,59px);letter-spacing:-.055em;line-height:1.15;color:#233f36;margin-top:7px}
.hf-hero-stage .hero-card>p{color:#728778;font-size:12px;line-height:1.5;margin:5px 0 0}
.hf-hero-stage .metric-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}
.hf-hero-stage .metric{background:#f7f8f2;border:1px solid #e6e8dd;border-radius:13px;padding:13px 12px;min-width:0}
.hf-hero-stage .metric b{font-size:18px;color:#3d5847;letter-spacing:-.03em}
.hf-hero-stage .metric span{font-size:10px;color:#738673}

.section{padding:88px 0}
.section.alt{background:#fffdf8;border-color:#ece8de}
.head{gap:33px;margin-bottom:30px}
.head h2{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(31px,3.8vw,50px);line-height:1.18;color:#283f3a;letter-spacing:-.045em;text-wrap:balance}
.head p{line-height:1.76;color:#62776c;font-size:15px}
.section .eyebrow{color:#bc7656;font-size:10px;letter-spacing:.16em}
.toolbox{background:#fff;border-radius:22px;border:1px solid #e8e6de;box-shadow:0 18px 45px #3046370d;padding:31px}
.toolbox input,.toolbox select{min-height:52px;border:1px solid #d6dfd4;border-radius:13px}
.toolbox input:focus-visible,.toolbox select:focus-visible{outline:3px solid #acbfa7;outline-offset:2px}
.tool-result{background:#f7faf4;border-color:#e0ead9}
.status{color:#617567}
.plan{background:#fff;border:1px solid #ebe8e1;border-radius:23px;box-shadow:0 12px 34px #3d50300e;transition:transform .18s,box-shadow .18s}
.plan:hover{transform:translateY(-4px);box-shadow:0 24px 48px #3d50301f}
.plan.special-offer{border-color:#c5a8d9;box-shadow:0 14px 35px #775d8721}
.panels{gap:18px}.panel{background:#fffdf8;border:1px solid #e9e6dd;border-radius:22px;padding:26px;box-shadow:0 10px 27px #33483409}
.panel .num{color:#bc7351}.panel h3{color:#365245;letter-spacing:-.026em}
.panel p{color:#697e71;line-height:1.7;font-size:14px}
.hf-journey{position:relative;overflow:hidden;padding:100px 0;background:#263a34;color:#fff}
.hf-journey:after{content:"";position:absolute;top:-270px;right:-180px;width:610px;height:610px;border:1px solid #dcdfb33d;border-radius:50%;pointer-events:none}
.hf-journey-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(29px,5vw,80px);align-items:center;position:relative}
.hf-journey-photo{margin:0;position:relative;overflow:hidden;min-height:555px;border-radius:38px 130px 38px 38px;border:8px solid #ffffff1b;box-shadow:0 32px 65px #0f241b59;background:#557261}
.hf-journey-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hf-journey-photo:after{content:"";position:absolute;inset:47% 0 0;background:linear-gradient(transparent,#0e3229ce)}
.hf-journey-photo figcaption{position:absolute;z-index:1;bottom:29px;left:34px;right:23px;color:#fff;max-width:390px}
.hf-journey-photo figcaption span{display:block;color:#e5f1d7;font-size:10px;font-weight:800;letter-spacing:.17em;margin-bottom:12px}
.hf-journey-photo figcaption strong{display:block;font-family:Georgia,serif;font-size:clamp(25px,2.4vw,35px);font-weight:600;line-height:1.15;letter-spacing:-.04em}
.hf-journey-copy{padding:15px 0}
.hf-overline{color:#eaba95;font-size:10px;letter-spacing:.16em;font-weight:850}
.hf-journey h2{font-family:Georgia,serif;font-size:clamp(37px,4.15vw,56px);font-weight:650;letter-spacing:-.055em;line-height:1.11;margin:20px 0 18px;color:#fff;text-wrap:balance}
.hf-journey h2 em{color:#e5b68f;font-style:normal}
.hf-journey-copy>p{color:#c6d4c8;line-height:1.73;font-size:16px}
.hf-checklist{border-top:1px solid #ffffff39;margin:27px 0 25px}
.hf-checklist>div{display:flex;gap:21px;align-items:baseline;padding:14px 0;border-bottom:1px solid #ffffff28}
.hf-checklist>div>b{font-size:13px;color:#e4b594;letter-spacing:.05em}
.hf-checklist strong{font-size:15px;color:#fff;display:block;margin-bottom:3px}
.hf-checklist span{font-size:12px;color:#b8cfc1;line-height:1.52}
.hf-journey-link{display:flex;justify-content:space-between;align-items:center;max-width:410px;border-bottom:1px solid #e6b998;color:#ffe0c7;font-size:15px;font-weight:800;text-decoration:none;padding:0 0 15px;gap:15px}
.hf-journey-link>span{font-size:24px;font-weight:400}
.hf-journey-link:hover{color:#fff}

#factibilidad-real{background:#fcfaf5}
.hf-building-feature{position:relative;display:block;overflow:hidden;height:340px;margin:3px 0 33px;border-radius:27px;background:#a8bca9;box-shadow:0 19px 48px #324c341c}
.hf-building-feature img{width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block}
.hf-building-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#19372bc9,transparent 83%)}
.hf-building-feature figcaption{position:absolute;left:37px;bottom:39px;max-width:480px;right:30px;z-index:1;color:#fff}
.hf-building-feature figcaption span{display:block;font-size:10px;letter-spacing:.16em;color:#ffddbc;font-weight:850;margin-bottom:11px}
.hf-building-feature figcaption strong{font-family:Georgia,serif;line-height:1.18;letter-spacing:-.04em;font-size:clamp(23px,2.9vw,33px);font-weight:600}
#guias{background:#fffdf8}
.guides{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.guide{display:flex;flex-direction:column;background:#fff;overflow:hidden;padding:0 0 27px;border-radius:24px;border:1px solid #ece9e1;box-shadow:0 13px 32px #3d56310d;transition:transform .18s,box-shadow .18s}
.guide:hover{transform:translateY(-4px);box-shadow:0 22px 45px #3d563125}
.hf-guide-photo{display:block;height:188px;margin-bottom:22px;overflow:hidden;background:#d5e1d6}
.hf-guide-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.guide:hover .hf-guide-photo img{transform:scale(1.045)}
.guide small,.guide h3{margin-inline:23px}
.guide small{color:#ba7756;font-weight:900;letter-spacing:.12em}
.guide h3{font-family:Georgia,serif;font-size:22px;line-height:1.28;letter-spacing:-.025em;color:#2f4940}
#faq .faq details,#factibilidad-real .faq details{border-radius:15px;border:1px solid #e9e7df;background:#fff}
#faq .faq summary,#factibilidad-real .faq summary{color:#415d4d}
.hf-photo-credit{font-size:11px;line-height:1.6;color:#879188;padding:22px 0 10px}
.hf-photo-credit a{color:#96745c;text-decoration:underline;text-underline-offset:3px}
.foot{background:#263a34;color:#cad3c5;border-top:0;padding:37px 0 50px}
.foot a{color:#e5e5d9}
a:focus-visible,button:focus-visible{outline:3px solid #d69d77;outline-offset:3px}
@media(max-width:1050px){
.hero-grid{gap:24px}.hero h1{font-size:clamp(40px,5.35vw,59px)}
.hf-hero-stage{min-height:625px}.hf-aerial{bottom:170px}.hf-address-tag{right:0}
}
@media(max-width:920px){
.hero{padding:63px 0 72px}.hero-grid{grid-template-columns:1fr;gap:35px}
.hero-grid>div:first-child{max-width:760px}.hero h1{font-size:clamp(43px,7.5vw,68px)}
.hf-hero-stage{min-height:650px;max-width:760px}
.hf-aerial{top:8px;bottom:165px;left:0;right:0}
.hf-hero-stage>.hero-card{bottom:0;left:30px;right:30px}
.hf-journey{padding:75px 0}.hf-journey-grid{grid-template-columns:1fr;gap:30px}
.hf-journey-photo{min-height:395px}.hf-journey-copy{max-width:800px}
.section{padding:72px 0}
}
@media(max-width:700px){
.nav{height:69px}.nav .logo img{width:175px;height:auto}.nav nav{display:none}.cta{display:none}
.hero h1{font-size:clamp(40px,8.4vw,55px)}
.guides,.plans,.panels{grid-template-columns:1fr}
.head{display:block}.head p{margin-top:14px}
.hf-guide-photo{height:215px}
.hf-journey h2{font-size:clamp(35px,7vw,44px)}
}
@media(max-width:620px){
.hero{padding:40px 0 58px}
.hero .eyebrow{font-size:9px;padding:9px 12px}
.hero h1{font-size:clamp(37px,10vw,49px);line-height:1.09}
.hero .lead{font-size:15px;line-height:1.64}
.hero .btn{min-height:48px;padding-inline:15px;font-size:13px}
.hf-stepbar{gap:6px;margin-top:23px}
.hf-stepbar>span{padding:7px 8px;font-size:10px;gap:4px}
.hf-hero-stage{min-height:445px}
.hf-aerial{top:12px;bottom:142px;left:0;right:0;border-radius:32% 32% 20px 20px / 25% 25% 20px 20px;border-width:5px}
.hf-aerial figcaption{bottom:32px;left:18px;right:13px}
.hf-aerial figcaption strong{font-size:20px}
.hf-aerial figcaption small{font-size:8px}
.hf-address-tag{top:5px;right:-1px;padding:8px 10px;gap:7px;border-radius:11px}
.hf-address-tag .hf-pin{width:29px;height:29px;font-size:19px}
.hf-address-tag strong{font-size:10px}.hf-address-tag small{font-size:9px}
.hf-hero-stage>.hero-card{bottom:0;left:10px;right:10px;padding:19px 16px;border-radius:20px!important}
.hf-hero-stage .hero-card .big{font-size:42px}
.hf-hero-stage .hero-card>p{font-size:11px}
.hf-hero-stage .metric-row{gap:6px;margin-top:11px}
.hf-hero-stage .metric{padding:10px 7px;border-radius:11px}
.hf-hero-stage .metric b{font-size:15px}
.hf-hero-stage .metric span{font-size:9px}
.section{padding:57px 0}.head h2{font-size:clamp(29px,8vw,39px)}
.head p{font-size:14px}.toolbox{padding:18px;border-radius:17px}
.hf-journey{padding:55px 0}.hf-journey-photo{min-height:305px;border-width:5px;border-radius:25px 75px 25px 25px}
.hf-journey-photo figcaption{bottom:19px;left:19px;right:16px}
.hf-journey-photo figcaption strong{font-size:23px}
.hf-journey h2{font-size:clamp(31px,8.5vw,40px)}
.hf-journey-copy>p{font-size:14px}
.hf-checklist>div{gap:13px}
.hf-building-feature{height:270px;border-radius:19px}
.hf-building-feature figcaption{left:18px;bottom:22px;right:18px}
.hf-building-feature figcaption strong{font-size:23px}
.hf-guide-photo{height:200px}.guide{border-radius:19px}
.guide h3{font-size:21px}.hf-photo-credit{font-size:10px}
.foot-grid{display:block}
}
@media(prefers-reduced-motion:reduce){.hero .btn,.plan,.guide,.hf-guide-photo img{transition:none!important;transform:none!important}}

/* Ajuste de legibilidad: caption visible fuera del panel de metricas */
.hf-aerial:after{inset:0;background:linear-gradient(90deg,#12342a84,transparent 78%)}
.hf-aerial figcaption{top:30%;bottom:auto;left:22px;right:25px;max-width:330px;padding:15px 18px;border-radius:16px;border:1px solid #ffffff36;background:#172f29be;backdrop-filter:blur(6px)}
@media(max-width:620px){
.hf-aerial figcaption{top:29%;bottom:auto;left:12px;right:12px;max-width:270px;padding:10px 12px;border-radius:11px}
.hf-aerial figcaption small{font-size:7px;letter-spacing:.08em;margin-bottom:7px}
.hf-aerial figcaption strong{font-size:16px;line-height:1.19}
}
