/* juangavilanes.com · inicio v5 (3D, claro) */
:root{--bg:#f5f5f7;--sheet:#ffffff;--ink:#1d1d1f;--ink2:#424245;--muted:#6e6e73;--line:rgba(0,0,0,.08);--blue:#0043b9;--blue2:#2a6df4;--gold:#f29a2e;--r:28px;
--font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Inter,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:var(--blue)}
.skip{position:absolute;left:-999px;top:8px;z-index:99;background:#fff;padding:8px 12px;border-radius:10px}.skip:focus{left:8px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.small{font-size:13px;line-height:1.5}.muted{color:var(--muted)}.center{text-align:center}
.kick{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 14px}
h1,h2,h3{letter-spacing:-.025em;line-height:1.06;margin:0;font-weight:700}
h2{font-size:clamp(34px,5.4vw,64px)}
h3{font-size:clamp(24px,2.6vw,32px)}
.lead{font-size:clamp(18px,1.6vw,21px);color:var(--ink2);max-width:40ch}
.btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 24px;border-radius:999px;font-weight:600;font-size:17px;text-decoration:none;border:0;cursor:pointer;transition:transform .2s ease,background .2s ease}
.btn-p{background:var(--ink);color:#fff}.btn-p:hover{background:#000;transform:translateY(-1px)}
.btn:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--blue2);outline-offset:3px}

/* nav en píldora */
.pill-nav{position:fixed;z-index:50;top:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:6px 6px 6px 18px;border-radius:999px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:saturate(1.8) blur(20px);backdrop-filter:saturate(1.8) blur(20px);box-shadow:0 1px 0 rgba(0,0,0,.04),0 8px 30px rgba(0,0,0,.06);border:1px solid rgba(255,255,255,.6);max-width:calc(100vw - 24px)}
.pn-brand img{width:84px;height:auto}
.pn-links{display:flex;gap:2px;margin-left:14px}
.pn-links a{color:var(--ink2);text-decoration:none;font-size:14px;padding:8px 12px;border-radius:999px}
.pn-links a:hover{background:rgba(0,0,0,.05);color:var(--ink)}
.pn-cta{margin-left:6px;background:#ED1F9E;color:#fff;text-decoration:none;font-size:14px;font-weight:600;padding:9px 16px;border-radius:999px}
.pn-cta:hover{background:#d4198e;color:#fff}
@media (max-width:760px){.pn-links{display:none}.pill-nav{gap:14px;top:10px}}

/* escena 3D fija detrás del contenido */
.scene3d{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(120% 90% at 50% 38%,#ffffff 0%,#f5f5f7 55%,#ececef 100%)}
.scene3d canvas{position:absolute;inset:0;width:100%!important;height:100%!important;transition:opacity .4s}
.scene3d.is-off canvas{opacity:0}
main{position:relative;z-index:1}
.scn{position:relative}
.scn .pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.hero{height:470vh}
.mid{height:250vh}
.poster{position:absolute;left:50%;transform:translateX(-50%);pointer-events:none}
.hero .poster{bottom:-2vh;height:min(102vh,170vw);width:auto;-webkit-mask-image:linear-gradient(to top,transparent 0,#000 22%);mask-image:linear-gradient(to top,transparent 0,#000 22%);transition:opacity .5s}
.scene-live .hero .poster{opacity:0}
.mid .poster{display:none}

/* textos que entran por pasos */
[data-at]{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
[data-at].is-on{opacity:1;transform:none}
.intro{position:absolute;left:max(6vw,24px);top:50%;margin-top:-80px;max-width:330px}
.intro .big{font-size:clamp(34px,3.6vw,52px);font-weight:700;letter-spacing:-.03em;line-height:1.04;margin:0}
.hero .lines{position:absolute;left:max(6vw,24px);top:50%;transform:translateY(-50%);max-width:min(440px,34vw)}
.hero .lines h1{font-size:clamp(38px,4vw,60px);letter-spacing:-.035em}
.lines .sub{font-size:clamp(18px,1.5vw,21px);color:var(--ink2);margin:16px 0 22px;line-height:1.35}
.lines .ln{margin-top:0}
.cue{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:8px;margin:0}
.cue.is-on{transform:translateX(-50%)}
.cue span{width:22px;height:34px;border:1.5px solid #b8b8be;border-radius:12px;position:relative}
.cue span:after{content:"";position:absolute;left:50%;top:7px;width:3px;height:7px;margin-left:-1.5px;border-radius:2px;background:#8e8e93;animation:cue 1.8s infinite}
@keyframes cue{0%{opacity:0;transform:translateY(-3px)}40%{opacity:1}100%{opacity:0;transform:translateY(9px)}}
.lines.c{position:absolute;left:50%;bottom:9vh;transform:translateX(-50%);width:min(760px,88vw);text-align:center}
.lines.c.top{bottom:auto;top:14vh}
.lines.c h2{font-size:clamp(34px,4.6vw,60px)}
.lines.c .sub{margin:14px auto 0;max-width:46ch}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px!important}
.chips a{font-size:14px;text-decoration:none;color:var(--ink);background:rgba(255,255,255,.8);border:1px solid var(--line);padding:8px 14px;border-radius:999px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
#domani .lines.c{bottom:7vh}
#estados .lines.c{top:12vh}
@media (max-width:760px){
  .hero{height:430vh}
  .intro{left:24px;right:24px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 84px);margin:0;max-width:none;text-align:center}
  .intro .big{font-size:34px}
  .hero .lines{left:22px;right:22px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 7vh);transform:none;max-width:none;text-align:center}
  .hero .lines h1{font-size:40px}
  .lines .sub{font-size:18px;margin:12px auto 20px;max-width:30ch}
  .cue{bottom:20px}
  .lines.c{bottom:8vh}
  #estados .lines.c{top:11vh}
  #estados .lines.c .sub{font-size:16px}
}

/* hojas de contenido que se deslizan sobre la escena */
.sheet{position:relative;z-index:2;background:var(--sheet);border-radius:40px 40px 0 0;box-shadow:0 -20px 60px rgba(0,0,0,.05);margin-top:-1px}
.sheet+.scn{margin-top:-40px}
.scn+.sheet{margin-top:0}
.scn .pin{z-index:1}
.sec{max-width:1180px;margin:0 auto;padding:clamp(80px,11vw,150px) max(5vw,22px) 0}
.sec.tight{padding-top:clamp(60px,8vw,110px)}
.sheet>.sec:last-child,.sheet>.foot{padding-bottom:clamp(80px,10vw,140px)}
.sh{text-align:center;margin:0 auto clamp(40px,6vw,80px);max-width:860px}
.sh .lead{margin:18px auto 0}

/* fotos: marcos consistentes, siempre centradas en el rostro */
.ph{position:relative;overflow:hidden;border-radius:var(--r);background:#e9e9ec;margin:0;isolation:isolate}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph.sq{aspect-ratio:1/1}.ph.p45{aspect-ratio:4/5}.ph.p43{aspect-ratio:4/3}
.depth{--dp:0;transform:perspective(1200px) rotateX(calc(var(--dp)*7deg)) scale(calc(1 - (var(--dp) * var(--dp)) * .08));transition:transform .1s linear;box-shadow:0 30px 60px -20px rgba(0,0,0,.25)}
.depth img{transform:scale(1.04) translateY(calc(var(--dp)*-1.5%))}

/* capítulos */
.chaps{display:flex;flex-direction:column;gap:clamp(70px,10vw,140px)}
.chap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,90px);align-items:center}
.chap.flip .ph{order:2}
.chap .ph{width:100%;max-width:500px;justify-self:center}
.chap-t{max-width:440px}
.chap-t .num{font-size:14px;font-weight:600;color:var(--gold);letter-spacing:.06em;margin:0 0 10px}
.chap-t h3{font-size:clamp(32px,3.6vw,48px)}
.chap-t p{color:var(--ink2);font-size:18px;margin:16px 0 0}
.chap-t .punch{color:var(--ink);font-weight:600}
@media (max-width:760px){.chap{grid-template-columns:1fr;gap:26px}.chap.flip .ph{order:0}.chap .ph{max-width:420px}.chap-t{text-align:center;margin:0 auto}}

/* fe */
.faith{max-width:1180px;margin:0 auto;padding:clamp(90px,12vw,170px) max(5vw,22px) 0;display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(30px,6vw,90px);align-items:center}
.faith .ph{max-width:460px;width:100%;justify-self:center}
.faith blockquote{margin:0}
.faith blockquote p{font-size:clamp(38px,4.6vw,66px);font-weight:700;letter-spacing:-.035em;line-height:1.02;margin:0;color:var(--ink)}
.faith blockquote p em{font-style:normal;background:linear-gradient(100deg,#c26a12,#f29a2e 60%,#f7b955);-webkit-background-clip:text;background-clip:text;color:transparent}
.faith cite{display:block;margin-top:22px;font-style:normal;color:var(--muted)}
@media (max-width:760px){.faith{grid-template-columns:1fr;text-align:center}.faith .ph{max-width:340px}}

/* tiras horizontales */
.strip{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px max(5vw,22px) 26px;margin:0 calc(-1*max(5vw,22px));scrollbar-width:none;-webkit-overflow-scrolling:touch}
.strip::-webkit-scrollbar{display:none}
.strip>*{scroll-snap-align:center;flex:0 0 auto}
.g{width:clamp(240px,26vw,330px);margin:0}
.g figcaption{font-size:14px;color:var(--muted);margin-top:12px;text-align:center}
@media (min-width:1180px){#momentos .strip{justify-content:flex-start}}

/* productos */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--bg);border-radius:var(--r);padding:16px 16px 26px;display:flex;flex-direction:column}
.card .ph{border-radius:20px}
.card .illus{font-size:11px;color:var(--muted);margin:8px 4px 0}
.card .tag{font-size:13px;font-weight:600;color:var(--blue);margin:16px 6px 8px;letter-spacing:.02em}
.card h3{margin:0 6px;font-size:clamp(24px,2.2vw,30px)}
.card>.muted{margin:12px 6px 0;font-size:16px}
.card .more{margin:14px 6px 0;font-size:15px}
.card .more summary{cursor:pointer;font-weight:600;color:var(--ink);list-style:none}
.card .more summary::-webkit-details-marker{display:none}
.card .more summary:after{content:" +";color:var(--muted)}
.card .more[open] summary:after{content:" –"}
.card .col h4{font-size:14px;margin:14px 0 4px}.card .col ul,.card .col ol{margin:0;padding-left:20px;color:var(--ink2)}
.card .note{font-size:12.5px;color:var(--muted);margin:14px 6px 18px;line-height:1.45}
.card .btn{margin:auto 6px 0;align-self:flex-start;font-size:15px;min-height:44px;padding:0 18px}
@media (max-width:900px){.cards{grid-template-columns:1fr;max-width:520px;margin:0 auto}}

/* consulta */
.steps{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.steps li{background:var(--bg);border-radius:24px;padding:28px 24px;counter-increment:s}
.steps li:before{content:counter(s,decimal-leading-zero);display:block;font-size:13px;font-weight:600;color:var(--gold);margin-bottom:16px}
.steps h3{font-size:22px}.steps p{color:var(--ink2);font-size:16px;margin:10px 0 0}
@media (max-width:900px){.steps{grid-template-columns:1fr 1fr}}@media (max-width:520px){.steps{grid-template-columns:1fr}}
.cta-row{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:44px}
.call-line{margin:0;color:var(--muted)}.call-line a{color:var(--ink);font-weight:600;text-decoration:none}

/* reseñas */
.rev-top{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:20px}
.stars{color:var(--gold);letter-spacing:2px}
.rev-top .link{font-size:15px}
.rev{width:clamp(270px,30vw,360px);margin:0;background:var(--bg);border-radius:24px;padding:26px;display:flex;flex-direction:column}
.rev blockquote{margin:12px 0 18px;font-size:17px;line-height:1.45;flex:1}
.rev figcaption{font-size:13px;color:var(--muted);line-height:1.6}.rev figcaption b{color:var(--ink);font-size:15px}
#testimonios>.small{text-align:center;color:var(--muted);max-width:720px;margin:14px auto 0}

/* FAQ */
.faq{max-width:820px;margin:0 auto;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:4px 0}
.faq summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-size:19px;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";position:absolute;right:6px;top:16px;font-size:26px;font-weight:300;color:var(--muted);transition:transform .25s}
.faq details[open] summary:after{transform:rotate(45deg)}
.faq details p{margin:0 0 22px;color:var(--ink2);max-width:68ch}
.faq-more{text-align:center;margin-top:28px}.faq-more a{font-weight:600;text-decoration:none}

/* recurso */
.panel{max-width:820px;margin:0 auto;background:var(--bg);border-radius:36px;padding:clamp(30px,5vw,60px);text-align:center}
.panel .lead{margin:16px auto 26px}
.form{display:grid;gap:12px;text-align:left;max-width:520px;margin:0 auto}
.form label{font-size:14px;font-weight:600}
.form input[type=email]{height:52px;border-radius:14px;border:1px solid rgba(0,0,0,.14);padding:0 16px;font-size:17px;font-family:inherit;background:#fff}
.form .consent{display:flex;gap:10px;font-weight:400;font-size:13px;color:var(--ink2);line-height:1.45}
.form .consent input{margin-top:3px;flex:0 0 auto}
.form .btn{justify-self:start;margin-top:6px}
.f-msg{font-size:14px;margin:0}.f-msg.ok{color:#0a7a3d}.f-msg.err{color:#b3261e}
.panel>.small{margin-top:18px}.panel>.link{display:inline-block;margin-top:6px;font-weight:600;text-decoration:none}

/* final */
.final{text-align:center}
.final .lead{margin:18px auto 30px}
.trust{display:flex;gap:18px;align-items:center;justify-content:center;margin:40px auto 0;text-align:left;max-width:560px}
.trust img{width:84px;height:84px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.trust ul{margin:0;padding-left:18px;color:var(--ink2);font-size:15px}.trust .who{font-size:13px;color:var(--muted);margin-top:6px}

/* pie */
.foot{border-top:1px solid var(--line);margin-top:clamp(80px,10vw,140px);padding:60px max(5vw,22px) 50px;font-size:14px;color:var(--ink2)}
.foot-in{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:40px}
.foot img{width:110px;height:auto;margin-bottom:14px}
.foot p{margin:6px 0}.foot a{color:var(--ink)}
.foot nav{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:14px}
.foot nav a{text-decoration:none;font-weight:500}
.badge-ver{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink)!important;font-weight:600;text-decoration:none}
.badge-ver span[aria-hidden]{color:var(--blue)}
.states summary{cursor:pointer;font-weight:600}
@media (max-width:760px){.foot-in{grid-template-columns:1fr}}

/* revelado suave */
.rv{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.rv.in,.no-js .rv{opacity:1;transform:none}

/* sin WebGL o movimiento reducido: póster estático */
.scene-static .hero,.scene-static .mid{height:auto}
.scene-static .scn .pin{position:relative;height:auto;min-height:0;overflow:visible;padding:110px 22px 70px;display:flex;flex-direction:column;align-items:center}
.scene-static .hero .poster{position:relative;left:auto;transform:none;bottom:auto;height:auto;width:min(420px,80vw);opacity:1!important}
.scene-static .intro,.scene-static .cue{display:none}
.scene-static .hero .lines,.scene-static .lines.c,.scene-static #estados .lines.c,.scene-static #domani .lines.c{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;max-width:640px;text-align:center;margin-top:8px}
.scene-static .mid .poster{display:block;position:relative;left:auto;transform:none;width:min(900px,92vw);margin-top:30px}
.scene-static #domani .pin:before{content:"";display:block;width:220px;height:46px;background:url(../img/domani-logo-blue.png) center/contain no-repeat;margin-bottom:24px}
.scene-static [data-at]{opacity:1;transform:none}
.scene-static .scene3d canvas{display:none}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.depth{transform:none}.depth img{transform:none}}

/* v6 · sección del fundador (retrato 3D) */
.founder{height:280vh}
.founder .f-left,.founder .f-right{position:absolute;top:50%;transform:translateY(-50%);width:min(330px,24vw)}
.founder .f-left{left:max(6vw,24px)}
.founder .f-right{right:max(4vw,24px)}
.founder h2{font-size:clamp(40px,4.4vw,64px);letter-spacing:-.035em}
.founder .role{font-size:clamp(19px,1.6vw,23px);font-weight:600;margin:12px 0 0;background:linear-gradient(100deg,#c26a12,#f29a2e 60%,#e0a040);-webkit-background-clip:text;background-clip:text;color:transparent}
.founder .f-right p{font-size:18px;color:var(--ink2);margin:0 0 14px;line-height:1.45}
.founder .f-right .small{font-size:13px}
.founder .poster.face{display:none}
@media (max-width:760px){
  .founder .f-left,.founder .f-right{position:absolute;left:22px;right:22px;width:auto;transform:none;top:auto;text-align:center}
  .founder .f-left{bottom:calc(env(safe-area-inset-bottom) + 26vh)}
  .founder .f-right{bottom:calc(env(safe-area-inset-bottom) + 4vh)}
  .founder .f-left .kick{display:none}
  .founder h2{font-size:36px}.founder .role{font-size:18px;margin-top:6px}
  .founder .f-right p{font-size:16px;margin-bottom:10px}
}
.hero .poster{height:min(112vh,185vw)}
.scene-static .founder .poster.face{display:block;position:relative;left:auto;transform:none;width:min(380px,78vw);-webkit-mask-image:linear-gradient(to top,transparent 0,#000 22%);mask-image:linear-gradient(to top,transparent 0,#000 22%);order:-1}
.scene-static .founder .f-left,.scene-static .founder .f-right{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:min(560px,90vw);text-align:center}
/* ===== v8: foto real nítida (sin WebGL), inclinación rígida 3D ===== */
.h-photo,.f-photo{position:absolute;left:50%;transform:translateX(-50%);aspect-ratio:1/1;pointer-events:none;z-index:0;
  -webkit-mask-image:linear-gradient(to top,transparent 0,#000 18%);mask-image:linear-gradient(to top,transparent 0,#000 18%)}
.h-photo{bottom:0;height:min(86vh,86svh,62vw);width:auto}
.h-photo .dis{width:100%;height:100%;--d:calc(var(--dis,0) * 100%);
  -webkit-mask-image:linear-gradient(to bottom,transparent calc(var(--d) - 5%),#000 calc(var(--d) + 1%));mask-image:linear-gradient(to bottom,transparent calc(var(--d) - 5%),#000 calc(var(--d) + 1%))}
.h-photo img,.f-photo img{display:block;width:100%;height:100%;object-fit:contain;transform-origin:50% 45%;will-change:transform;
  -webkit-mask-image:radial-gradient(ellipse 72% 96% at 50% 30%,#000 74%,transparent 100%);mask-image:radial-gradient(ellipse 72% 96% at 50% 30%,#000 74%,transparent 100%)}
.f-photo{bottom:0;height:min(80vh,80svh,44vw);width:auto}
.hero .intro,.hero .lines,.hero .cue,.founder .f-left,.founder .f-right{z-index:2}
@media (max-width:760px){
  .h-photo{height:auto;width:min(94vw,52svh);bottom:calc(env(safe-area-inset-bottom) + 205px)}
  .f-photo{height:auto;width:min(92vw,44svh);bottom:auto;top:calc(64px + 3svh)}
}
.scene-static .h-photo,.scene-static .f-photo{position:relative;left:auto;bottom:auto;top:auto;transform:none;width:min(440px,86vw);height:auto;order:-1}
.scene-static .h-photo .dis{-webkit-mask-image:none;mask-image:none}
/* ===== v10: visita de regreso = foto familiar B/N (marco redondeado) con corazón que late ===== */
html.jg-ret .h-photo.beige,html:not(.jg-ret) .h-photo.fam{display:none}
html.jg-ret .f-photo.fam,html:not(.jg-ret) .f-photo.beige{display:none}
.h-photo.fam,.f-photo.fam{aspect-ratio:937/1679;-webkit-mask-image:none;mask-image:none;overflow:visible}
.h-photo.fam{bottom:7vh;height:min(78vh,78svh);width:auto}
.f-photo.fam{bottom:8vh;height:min(76vh,76svh);width:auto}
.fam .hrev{width:100%;height:100%;border-radius:22px;overflow:hidden;background:#000;transform-origin:50% 45%;will-change:transform;
  box-shadow:0 34px 80px -34px rgba(70,35,0,.5),0 0 0 1px rgba(0,0,0,.08)}
.fam .hrev img{display:block;width:100%;height:100%;object-fit:contain;-webkit-mask-image:none;mask-image:none;transform:none!important}
.h-photo.fam .dis{border-radius:22px}
.h-photo.fam::before{content:"";position:absolute;inset:-12% -38%;z-index:-1;pointer-events:none;opacity:0;transition:opacity .9s;
  background:radial-gradient(closest-side,rgba(255,170,70,.55),rgba(255,190,110,.18) 60%,rgba(255,190,110,0))}
.h-photo.fam.shown::before{opacity:1;animation:jg-hb 1.7s ease-in-out infinite}
@keyframes jg-hb{0%,100%{transform:scale(1);opacity:.5}9%{transform:scale(1.07);opacity:.95}18%{transform:scale(1.015);opacity:.62}27%{transform:scale(1.05);opacity:.85}45%{transform:scale(1);opacity:.5}}
@media (prefers-reduced-motion:reduce){.h-photo.fam.shown::before{animation:none;opacity:.7}}
.heart-cv{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;transition:opacity .4s}
@media (max-width:760px){
  .h-photo.fam{height:min(56svh,118vw);width:auto;bottom:auto;top:calc(env(safe-area-inset-top) + 78px)}
  .f-photo.fam{height:40svh;width:auto;top:calc(64px + 3svh);bottom:auto}
  .fam .hrev,.h-photo.fam .dis{border-radius:18px}
}
.scene-static .h-photo.fam,.scene-static .f-photo.fam{height:auto;width:min(340px,72vw)}
/* ===== v11 ===== */
.ph.navy{aspect-ratio:900/1233;background:#5b5b5f}
.ph.navy img{object-fit:contain;transform:none}
.chap .ph.navy{max-width:440px}
@media (max-width:760px){
  .h-photo.fam{height:min(64svh,calc(100svh - 285px),150vw);top:calc(env(safe-area-inset-top) + 72px)}
  /* fundador: flujo vertical (sin posiciones absolutas) para que el texto nunca se encime */
  .founder .pin{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;box-sizing:border-box;
    padding:calc(env(safe-area-inset-top) + 72px) 20px calc(env(safe-area-inset-bottom) + 14px)}
  .founder .f-photo{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;flex:0 1 auto;min-height:0;margin:0}
  .founder .f-photo.beige{width:min(78vw,40svh);height:auto}
  .founder .f-photo.fam{height:min(42svh,calc(100svh - 400px));width:auto}
  .founder .f-left,.founder .f-right{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;max-width:440px;text-align:center;flex:0 0 auto}
  .founder h2{font-size:32px;line-height:1.05}
  .founder .role{font-size:17px;margin-top:4px}
  .founder .f-right p{font-size:15px;line-height:1.4;margin:0 0 8px}
  .founder .f-right .btn{margin-top:2px}
}
@media (min-width:761px){.f-photo.beige{height:min(80vh,80svh,40vw)}}
/* ===== v12: insignia "Visto en Forbes" en el hero ===== */
.forbes-wrap{position:absolute;z-index:3;left:max(6vw,24px);top:calc(50% + 96px)}
.forbes{display:inline-flex;align-items:center;gap:10px;padding:9px 16px 9px 14px;border-radius:999px;background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 8px 24px -12px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.06);
  color:#1d1d1f;text-decoration:none;pointer-events:auto;white-space:nowrap;transition:transform .25s,box-shadow .25s}
.forbes:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 12px 28px -12px rgba(0,0,0,.3),0 0 0 1px rgba(0,0,0,.08)}
.forbes .fb-k{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#6e6e73}
.forbes .fb-w{display:block;color:#111;margin-top:-2px}
.forbes .fb-c{font-size:12px;color:#6e6e73;padding-left:10px;border-left:1px solid rgba(0,0,0,.12)}
@media (max-width:760px){
  .forbes-wrap{left:0;right:0;top:calc(env(safe-area-inset-top) + 80px);display:flex;justify-content:center}
  .forbes{gap:8px;padding:7px 13px 7px 12px}
  .forbes .fb-k{font-size:10px}.forbes .fb-w{width:62px;height:16px}.forbes .fb-c{font-size:11px;padding-left:8px}
  html.jg-ret .h-photo.fam{top:calc(env(safe-area-inset-top) + 130px);height:min(62svh,calc(100svh - 338px),150vw)}
}
@media (max-width:360px){.forbes .fb-c{display:none}}
.scene-static .forbes-wrap{position:relative;left:auto;right:auto;top:auto;order:-2;margin-bottom:14px;display:flex;justify-content:center}
/* ===== v12g: Forbes grande y premium ===== */
.forbes{gap:18px;padding:16px 26px 16px 24px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,255,255,.7));
  box-shadow:0 0 0 1px rgba(201,138,40,.35),0 1px 0 rgba(255,255,255,.95) inset,0 18px 50px -18px rgba(150,90,10,.45),0 0 60px -10px rgba(255,176,70,.45)}
.forbes .fb-w{width:auto;height:56px;aspect-ratio:92/24;color:#0b0b0c;margin:0;filter:drop-shadow(0 1px 0 rgba(255,255,255,.8))}
.forbes .fb-t{display:flex;flex-direction:column;gap:4px;padding-left:18px;border-left:1px solid rgba(201,138,40,.35)}
.forbes .fb-k{font-size:12px;letter-spacing:.2em;font-weight:600;color:#b8741a}
.forbes .fb-c{font-size:13px;color:#4a4a4f;padding:0;border:0}
.forbes-wrap{top:calc(50% + 92px)}
@media (max-width:760px){
  .forbes-wrap{top:calc(env(safe-area-inset-top) + 76px)}
  .forbes{gap:12px;padding:10px 16px 10px 15px;border-radius:18px}
  .forbes .fb-w{height:38px}
  .forbes .fb-t{padding-left:12px;gap:3px}
  .forbes .fb-k{font-size:10px;letter-spacing:.18em}
  .forbes .fb-c{font-size:11.5px}
  .h-photo.beige{width:min(94vw,52svh,calc(100svh - 362px))}
  html.jg-ret .h-photo.fam{top:calc(env(safe-area-inset-top) + 152px);height:min(62svh,calc(100svh - 362px),150vw)}
}
@media (max-width:360px){.forbes .fb-c{display:block;font-size:10.5px}}
.forbes .fb-c{white-space:normal;max-width:11em;line-height:1.3}
.forbes .fb-w{height:52px}
@media (max-width:760px){.forbes .fb-c{max-width:9.6em;font-size:11.5px}.forbes .fb-w{height:40px}}
@media (max-width:760px){
  .h-photo.beige{width:min(94vw,52svh,calc(100svh - 382px))}
  html.jg-ret .h-photo.fam{top:calc(env(safe-area-inset-top) + 170px);height:min(60svh,calc(100svh - 380px),150vw)}
}
/* v13: "Visto en Forbes · Juan Gavilanes" */
.forbes .fb-c{font-size:15px;font-weight:600;color:#1d1d1f;max-width:none;white-space:nowrap;text-decoration:underline;text-decoration-color:rgba(201,138,40,.55);text-underline-offset:3px}
.forbes{cursor:pointer}
@media (max-width:760px){.forbes .fb-c{font-size:14px}}
@media (max-width:760px){.forbes{gap:10px;padding:10px 14px 10px 13px}.forbes .fb-w{height:36px}.forbes .fb-t{padding-left:10px}.forbes .fb-c{font-size:13.5px}}
@media (max-width:359px){.forbes .fb-c{white-space:normal;max-width:8em}}
/* ===== v13c: foto fija (hero siempre beige), logo legible, iPad ===== */
.pn-brand{flex:0 0 auto;display:flex;align-items:center}
.pn-brand img{flex:0 0 auto;width:104px;min-width:104px;height:auto}
@media (max-width:760px){.pn-brand img{width:88px;min-width:88px}}
/* tablet horizontal / laptop pequeño: foto a la derecha para que la tarjeta Forbes no la tape */
@media (min-width:761px) and (max-width:1280px) and (min-aspect-ratio:9/10){
  .h-photo.beige{left:auto;right:1vw;transform:none;height:min(84vh,84svh,60vw)}
  .forbes .fb-w{height:44px}.forbes{padding:13px 20px 13px 18px;gap:14px}.forbes .fb-t{padding-left:14px}
}
/* tablet vertical (iPad portrait): composición centrada como en móvil */
@media (min-width:761px) and (max-aspect-ratio:9/10){
  .forbes-wrap{left:0;right:0;top:calc(env(safe-area-inset-top) + 92px);display:flex;justify-content:center}
  .h-photo.beige{height:auto;width:min(80vw,calc(100svh - 470px));bottom:auto;top:calc(env(safe-area-inset-top) + 210px)}
  .intro{left:32px;right:32px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 92px);margin:0;max-width:none;text-align:center}
  .intro .big{font-size:46px}
  .hero .lines{left:32px;right:32px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 8vh);transform:none;max-width:none;text-align:center}
  .lines .sub{margin:14px auto 22px;max-width:34ch}
  .founder .pin{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px;box-sizing:border-box;padding:calc(env(safe-area-inset-top) + 92px) 32px calc(env(safe-area-inset-bottom) + 24px)}
  .founder .f-photo{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;flex:0 1 auto;min-height:0;margin:0}
  .founder .f-photo.fam{height:min(50svh,calc(100svh - 470px));width:auto}
  .founder .f-left,.founder .f-right{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;max-width:560px;text-align:center;flex:0 0 auto}
  .founder .f-left .kick{display:none}
}
/* horizontal ≥761px: foto a la derecha; la tarjeta Forbes nunca la toca */
@media (min-width:761px) and (min-aspect-ratio:9/10){.h-photo.beige{left:auto;right:4vw;transform:none}}
@media (min-width:761px) and (max-width:1280px) and (min-aspect-ratio:9/10){
  .h-photo.beige{right:1.5vw;height:min(84vh,84svh,56vw)}
  .forbes .fb-w{height:40px}.forbes{padding:12px 18px 12px 16px;gap:12px}.forbes .fb-t{padding-left:12px}.forbes .fb-c{font-size:14px}
}
@media (min-width:761px) and (max-width:1280px) and (min-aspect-ratio:9/10){.h-photo.beige{height:min(84vh,84svh,53vw)}}
.pn-links a{white-space:nowrap}
@media (min-width:761px) and (min-aspect-ratio:9/10){.cue,.cue.is-on{left:max(6vw,24px);transform:none;align-items:flex-start}}
/* ===== v14: credenciales en el hero (tarjeta de presentación) ===== */
.creds-wrap{position:absolute;z-index:3;left:max(6vw,24px);top:calc(50% + 192px)}
.creds{display:inline-flex;align-items:stretch;border-radius:18px;text-decoration:none;color:var(--ink);background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);
  box-shadow:0 0 0 1px rgba(0,0,0,.07),0 14px 34px -20px rgba(0,0,0,.3);pointer-events:auto;transition:transform .25s,box-shadow .25s}
.creds:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(201,138,40,.35),0 16px 36px -18px rgba(0,0,0,.3)}
.creds .cr{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:10px 16px;white-space:nowrap}
.creds .cr+.cr{border-left:1px solid rgba(0,0,0,.08)}
.creds .cr-k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--muted)}
.creds .cr-v{font-size:16px;font-weight:700;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.creds .cr-v em{font-style:normal;font-weight:500;font-size:12.5px;color:var(--muted);letter-spacing:0}
.creds .cr-go{font-size:12.5px;font-weight:600;color:var(--blue);justify-content:center}
@media (min-width:761px) and (max-width:1280px) and (min-aspect-ratio:9/10){
  .creds-wrap{top:calc(50% + 170px)}
  .creds .cr{padding:9px 13px}.creds .cr-v{font-size:15px}.creds .cr-go{display:none}
}
@media (min-width:761px) and (max-aspect-ratio:9/10){
  .creds-wrap{left:0;right:0;top:auto;bottom:calc(env(safe-area-inset-bottom) + 20px);display:flex;justify-content:center}
  .hero .cue{display:none}
}
@media (max-width:760px){
  .creds-wrap{left:12px;right:12px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 14px);display:flex;justify-content:center}
  .creds{width:100%;max-width:420px;border-radius:16px}
  .creds .cr{flex:1 1 0;min-width:0;align-items:center;text-align:center;padding:8px 6px;gap:2px}
  .creds .cr-k{font-size:9px;letter-spacing:.08em}
  .creds .cr-v{font-size:14px}
  .creds .cr-v em{display:none}
  .creds .cr-go{display:none}
  .hero .cue{display:none}
}
@media (max-width:359px){.creds .cr-k{font-size:8px;letter-spacing:.04em}.creds .cr-v{font-size:13px}}
.scene-static .creds-wrap{position:relative;left:auto;right:auto;top:auto;bottom:auto;order:0;margin:14px 0;display:flex;justify-content:center}
@media (min-width:761px) and (min-aspect-ratio:9/10){.creds .cr-go{display:none}}
.creds .cr-v i{font-style:normal;color:var(--blue);font-weight:600;margin-left:4px}
@media (max-width:760px){.creds .cr-v em{display:block;font-size:10px;line-height:1.1;margin-top:1px}}
/* ===== v14b: fondo azul + magenta (paleta del reel: True Blue #2C92E5, Magenta Pink #ED1F9E, Galactic Blue #04183B) ===== */
:root{--jg-blue:#2C92E5;--jg-magenta:#ED1F9E;--jg-navy:#04183B;--muted:#5c5c61}
.scene3d{background:radial-gradient(120% 90% at 50% 40%,#ffffff 0%,#f6f6f9 55%,#eeeef3 100%)}
.scene3d::before{content:"";position:absolute;inset:-12%;pointer-events:none;
  background:
   radial-gradient(38% 32% at 14% 20%,rgba(44,146,229,.32),rgba(44,146,229,0) 70%),
   radial-gradient(34% 30% at 88% 80%,rgba(237,31,158,.24),rgba(237,31,158,0) 70%),
   radial-gradient(30% 26% at 86% 14%,rgba(237,31,158,.14),rgba(237,31,158,0) 70%),
   radial-gradient(34% 30% at 10% 88%,rgba(44,146,229,.16),rgba(44,146,229,0) 70%);
  filter:saturate(1.1);animation:jgMesh 26s ease-in-out infinite alternate}
@keyframes jgMesh{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(2%,-1.5%,0) scale(1.04)}100%{transform:translate3d(-1.5%,1.5%,0) scale(1.02)}}
@media (prefers-reduced-motion:reduce){.scene3d::before{animation:none}}
.sec.final{position:relative;isolation:isolate}
.sec.final::before{content:"";position:absolute;inset:-40px 0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 50% at 20% 50%,rgba(44,146,229,.14),transparent 70%),radial-gradient(40% 50% at 80% 50%,rgba(237,31,158,.11),transparent 70%)}
.creds:hover{box-shadow:0 0 0 1px rgba(44,146,229,.45),0 16px 36px -18px rgba(4,24,59,.35)}

.pn-cta{white-space:nowrap}
/* ================= v15: FONDO AZUL + MAGENTA (paleta del reel) =================
   Galactic Blue #04183B · True Blue #2C92E5 · Magenta Pink #ED1F9E · texto claro (WCAG AA) */
:root{--jg-navy:#04183B;--jg-blue:#2C92E5;--jg-magenta:#ED1F9E;
  --bg:rgba(255,255,255,.06);--sheet:transparent;--ink:#ffffff;--ink2:#e4e9f3;--muted:#c9d1e0;--line:rgba(255,255,255,.14);--blue:#8fcbff;--gold:#f7b955}
html{background:#04183B}
body{background:#04183B;color:var(--ink)}
a{color:#8fcbff}
.scene3d{background:linear-gradient(160deg,#061d48 0%,#04183B 45%,#0a1440 100%)}
.scene3d::before{inset:-15%;filter:none;
  background:
   radial-gradient(42% 38% at 12% 16%,rgba(44,146,229,.85),rgba(44,146,229,0) 70%),
   radial-gradient(40% 36% at 90% 84%,rgba(237,31,158,.78),rgba(237,31,158,0) 70%),
   radial-gradient(34% 30% at 88% 12%,rgba(237,31,158,.42),rgba(237,31,158,0) 70%),
   radial-gradient(38% 34% at 8% 90%,rgba(44,146,229,.48),rgba(44,146,229,0) 70%),
   radial-gradient(30% 26% at 52% 52%,rgba(90,60,200,.22),rgba(90,60,200,0) 70%);
  animation:jgMesh 22s ease-in-out infinite alternate}
/* láminas: dejan ver la malla */
.sheet{background:linear-gradient(180deg,rgba(4,24,59,0) 0,rgba(4,24,59,.45) 120px,rgba(4,24,59,.45) calc(100% - 120px),rgba(4,24,59,0) 100%);box-shadow:none}
.card,.steps li,.rev,.panel{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3)}
.badge-ver{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}
.skip{background:#fff;color:#04183B}
/* botones */
.btn-p{background:#fff;color:#04183B}.btn-p:hover{background:#eaf4ff}
.btn:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#8fcbff}
/* nav */
.pill-nav{background:rgba(4,24,59,.55);border:1px solid rgba(255,255,255,.16);box-shadow:0 10px 34px -10px rgba(0,0,0,.5)}
.pn-brand img,.foot img{filter:brightness(0) invert(1)}
.pn-links a{color:#e4e9f3}.pn-links a:hover{background:rgba(255,255,255,.1);color:#fff}
.pn-cta{background:#ED1F9E;color:#fff}.pn-cta:hover{background:#d4198e;color:#fff}
.pill-nav .lang-tg{background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.pill-nav .lang-tg button{color:#dfe6f3}
.pill-nav .lang-tg button.on{background:#fff;color:#04183B}
/* hero */
.cue span{border-color:rgba(255,255,255,.6)}.cue span:after{background:#fff}
.chips a{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}
.h-photo.beige::before,.f-photo.beige::before{opacity:.0}
/* Forbes: cristal oscuro */
.forbes{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));color:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.24),0 1px 0 rgba(255,255,255,.25) inset,0 20px 50px -20px rgba(0,0,0,.6),0 0 60px -12px rgba(237,31,158,.55)}
.forbes:hover{box-shadow:0 0 0 1px rgba(255,255,255,.4),0 1px 0 rgba(255,255,255,.3) inset,0 22px 54px -20px rgba(0,0,0,.6),0 0 70px -10px rgba(237,31,158,.7)}
.forbes .fb-w{color:#fff;filter:none}
.forbes .fb-t{border-left-color:rgba(255,255,255,.25)}
.forbes .fb-k{color:#ff9ad6}
.forbes .fb-c{color:#fff;text-decoration-color:rgba(255,154,214,.8)}
/* credenciales */
.creds{background:rgba(4,24,59,.5);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.2),0 16px 40px -20px rgba(0,0,0,.6)}
.creds:hover{box-shadow:0 0 0 1px rgba(143,203,255,.6),0 18px 44px -20px rgba(0,0,0,.6)}
.creds .cr+.cr{border-left-color:rgba(255,255,255,.14)}
.creds .cr-k{color:#b9c8e2}.creds .cr-v em{color:#c9d1e0}.creds .cr-v i,.creds .cr-go{color:#8fcbff}
/* historia / fe / fundador */
.ph{background:rgba(255,255,255,.08)}
.ph.navy{background:#2a2f3a}
.depth{box-shadow:0 30px 70px -24px rgba(0,0,0,.7)}
.fam .hrev{box-shadow:0 34px 90px -30px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.12)}
.faith blockquote p em,.founder .role{background:linear-gradient(100deg,#8fcbff,#ff6fc4 70%);-webkit-background-clip:text;background-clip:text;color:transparent}
.form input[type=email]{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
.form input[type=email]::placeholder{color:#b9c3d6}
.f-msg.ok{color:#7ee2a8}.f-msg.err{color:#ff9a9a}
.sec.final::before{background:radial-gradient(40% 50% at 20% 50%,rgba(44,146,229,.35),transparent 70%),radial-gradient(40% 50% at 80% 50%,rgba(237,31,158,.3),transparent 70%)}
.foot{border-top-color:rgba(255,255,255,.14)}
@media (prefers-reduced-motion:reduce){.scene3d::before{animation:none}}
/* v15b · foto de mamá en el capítulo 01 (proporción original 7:9, sin recorte) */
.chap-t .mom{margin:22px 0 0;width:min(260px,62vw);border-radius:22px;overflow:hidden;background:#0a1f4a;
  box-shadow:0 0 0 1px rgba(255,255,255,.2),0 24px 60px -24px rgba(0,0,0,.7),0 0 60px -18px rgba(237,31,158,.55),0 0 40px -20px rgba(44,146,229,.6)}
.chap-t .mom img{display:block;width:100%;height:auto;aspect-ratio:900/1157}
@media (max-width:760px){.chap-t .mom{margin:20px auto 0}}
/* v16 · capítulo sin foto (Dios primero): tarjeta de cristal centrada, intencional */
.chap.solo{grid-template-columns:1fr;justify-items:center}
.chap.solo .chap-t{max-width:720px;width:100%;text-align:center;margin:0 auto;position:relative;
  padding:clamp(36px,6vw,64px) clamp(24px,5vw,64px);border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  -webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 30px 80px -34px rgba(0,0,0,.7),0 0 90px -40px rgba(237,31,158,.6)}
.chap.solo .chap-t::before{content:"";display:block;width:56px;height:3px;border-radius:3px;margin:0 auto 22px;
  background:linear-gradient(90deg,#2C92E5,#ED1F9E)}
.chap.solo .chap-t h3{font-size:clamp(36px,4.6vw,60px)}
.chap.solo .chap-t p{font-size:clamp(18px,1.6vw,20px);max-width:560px;margin-left:auto;margin-right:auto}
/* v16 · el ancla del mapa no queda bajo la barra de navegación */
#licencias{scroll-margin-top:clamp(40px,6vw,64px)}
/* ================= v16b: Domani Insurance (intro animada) ================= */
.dmi{position:relative;text-align:center;max-width:1180px;margin:0 auto;padding-top:clamp(90px,12vw,160px);padding-bottom:clamp(120px,10vw,160px);overflow:visible;overflow-x:clip;isolation:isolate}
.dmi-glow{position:absolute;inset:-6% 0;z-index:-1;pointer-events:none;
  background:radial-gradient(36% 30% at 30% 22%,rgba(44,146,229,.55),transparent 70%),radial-gradient(34% 30% at 72% 30%,rgba(237,31,158,.45),transparent 70%),radial-gradient(40% 30% at 50% 85%,rgba(44,146,229,.25),transparent 70%);
  filter:blur(10px);opacity:calc(.45 + var(--lg,1)*.55)}
.dmi-logo{display:inline-block;margin:0 auto 26px}
.dmi-logo img{display:block;width:min(360px,64vw);height:auto;filter:brightness(0) invert(1) drop-shadow(0 0 28px rgba(143,203,255,.45)) drop-shadow(0 0 60px rgba(237,31,158,.35))}
.dmi h2{font-size:clamp(36px,5vw,64px);letter-spacing:-.035em;max-width:820px;margin:10px auto 0}
.dmi .lead{max-width:640px;margin:18px auto 0}
.dmi-pills{list-style:none;padding:0;margin:26px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.dmi-pills li{padding:9px 16px;border-radius:999px;font-size:15px;font-weight:600;color:#fff;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.dmi-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px);margin:clamp(40px,6vw,70px) 0 0;perspective:1400px;text-align:left}
.dmi-card{position:relative;padding:30px 28px 32px;border-radius:28px;color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.04));
  -webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 30px 70px -34px rgba(0,0,0,.8);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .4s}
.dmi-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:.9;
  background:radial-gradient(70% 50% at 0% 0%,rgba(44,146,229,.28),transparent 70%),radial-gradient(70% 50% at 100% 100%,rgba(237,31,158,.24),transparent 70%)}
.dmi-card:hover{box-shadow:0 0 0 1px rgba(255,255,255,.3),0 34px 80px -34px rgba(0,0,0,.8),0 0 60px -20px rgba(237,31,158,.6)}
.dmi-n{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.08em;background:linear-gradient(90deg,#8fcbff,#ff6fc4);-webkit-background-clip:text;background-clip:text;color:transparent}
.dmi-card h3{font-size:clamp(22px,2vw,26px);margin:10px 0 0;letter-spacing:-.02em}
.dmi-card p{font-size:16px;line-height:1.5;color:var(--ink2);margin:12px 0 0}
.dmi-cta{margin:clamp(34px,5vw,54px) 0 0}
/* animación (solo si hay movimiento) */
.dmi.anim .dmi-logo{opacity:0;transform:scale(.82);filter:blur(14px);transition:opacity 1.1s ease,transform 1.3s cubic-bezier(.2,.7,.2,1),filter 1.1s ease}
.dmi.anim.in .dmi-logo{opacity:1;transform:scale(calc(1 + (1 - var(--lg,1))*.06));filter:none}
.dmi.anim .dmi-r{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.dmi.anim .dmi-r.in{opacity:1;transform:none}
.dmi.anim .dmi-card{opacity:0;transform:translateY(90px) rotateX(18deg) scale(.94);transition:opacity .9s ease,transform 1.1s cubic-bezier(.2,.7,.2,1),box-shadow .4s}
.dmi.anim .dmi-card.in{opacity:1;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
.dmi.anim .dmi-card:nth-child(2){transition-delay:.12s}.dmi.anim .dmi-card:nth-child(3){transition-delay:.24s}
.dmi.anim .dmi-card.in:hover{transition-delay:0s}
@media (max-width:860px){.dmi-cards{grid-template-columns:1fr;max-width:560px;margin-left:auto;margin-right:auto}}
@media (prefers-reduced-motion:reduce){.dmi .dmi-logo,.dmi .dmi-r,.dmi .dmi-card{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}}

/* ================= v16b: fundador a pantalla completa con la foto familiar ================= */
html .founder.fs{height:auto;background:#060606;margin-top:0;position:relative;z-index:1}
html .founder.fs::before,html .founder.fs::after{content:"";position:absolute;left:0;right:0;height:90px;z-index:2;pointer-events:none}
html .founder.fs::before{top:-90px;background:linear-gradient(rgba(6,6,6,0),#060606)}
html .founder.fs::after{bottom:-90px;background:linear-gradient(#060606,rgba(6,6,6,0))}
html .founder.fs .pin{position:relative;height:100vh;height:100svh;overflow:hidden;padding:0;display:block;background:#060606}
html .founder.fs .fs-photo{position:absolute;left:0;right:0;bottom:0;top:72px;width:auto;height:auto;margin:0;transform:none;aspect-ratio:auto;
  display:flex;align-items:center;justify-content:center;-webkit-mask-image:none;mask-image:none;overflow:visible;z-index:1}
html .founder.fs .fs-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;transform:none!important;-webkit-mask-image:none;mask-image:none;border-radius:0}
html .founder.fs .fs-left,html .founder.fs .fs-right{position:absolute;z-index:3;top:50%;transform:translateY(-50%);
  width:min(320px,calc((100vw - (100svh - 72px) * .558) / 2 - 56px))}
html .founder.fs .fs-left{left:max(4vw,28px);text-align:left}
html .founder.fs .fs-right{right:max(4vw,28px);text-align:left}
html .founder.fs h2{font-size:clamp(38px,4vw,60px);letter-spacing:-.035em;margin:6px 0 0}
html .founder.fs .role{font-size:clamp(18px,1.5vw,22px);font-weight:600;margin:10px 0 0;background:linear-gradient(100deg,#8fcbff,#ff6fc4 70%);-webkit-background-clip:text;background-clip:text;color:transparent}
html .founder.fs .fs-right p{font-size:17px;line-height:1.45;color:#e4e9f3;margin:0 0 14px}
html .founder.fs .fs-right .small{font-size:13px;color:#b9c3d6}
/* pantallas sin espacio a los lados: la foto ocupa la pantalla y el texto va debajo (nunca encima de las caras) */
@media (max-aspect-ratio:5/4),(max-width:999px){
  html .founder.fs .pin{height:auto;min-height:0}
  html .founder.fs .fs-photo{position:relative;top:auto;left:auto;right:auto;bottom:auto;display:block;padding-top:64px;
    height:auto;width:min(100vw,calc((100svh - 64px) * .558));margin:0 auto}
  html .founder.fs .fs-photo img{width:100%;height:auto;aspect-ratio:937/1679}
  html .founder.fs .fs-left,html .founder.fs .fs-right{position:relative;top:auto;left:auto;right:auto;transform:none;width:auto;max-width:560px;margin:0 auto;padding:0 24px;text-align:center}
  html .founder.fs .fs-left{padding-top:34px}
  html .founder.fs .fs-right{padding-top:16px;padding-bottom:70px}
  html .founder.fs h2{font-size:clamp(34px,8vw,48px)}
}
html.scene-static .founder.fs .fs-photo{order:0}
/* ================= v17: Domani Insurance · tono de lujo (oro + blanco sobre azul/magenta) ================= */
.dmi.lux{--gold1:#f4e2b8;--gold2:#d9b26a;--gold3:#a9823f;max-width:1240px;padding-top:clamp(110px,14vw,190px);padding-bottom:clamp(130px,12vw,180px)}
.dmi.lux .dmi-glow{background:
  radial-gradient(34% 26% at 50% 10%,rgba(217,178,106,.22),transparent 70%),
  radial-gradient(36% 30% at 22% 30%,rgba(44,146,229,.42),transparent 70%),
  radial-gradient(34% 30% at 80% 36%,rgba(237,31,158,.34),transparent 70%),
  radial-gradient(40% 30% at 50% 88%,rgba(44,146,229,.2),transparent 70%)}
.dmi.lux .dmi-logo{position:relative;overflow:hidden;padding:6px 10px;margin-bottom:30px}
.dmi.lux .dmi-logo img{width:min(300px,58vw);filter:brightness(0) invert(1) drop-shadow(0 0 30px rgba(244,226,184,.28))}
.dmi-sheen{position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 35%,rgba(255,240,205,.55) 50%,transparent 65%);transform:translateX(-120%);mix-blend-mode:screen}
.dmi.anim.in .dmi-sheen{animation:dmiSheen 2.6s 1s cubic-bezier(.4,0,.2,1) 1 forwards}
@keyframes dmiSheen{to{transform:translateX(120%)}}
.dmi.lux .kick{color:var(--gold1);letter-spacing:.28em;font-weight:600;font-size:12px}
.dmi.lux .kick::before,.dmi.lux .kick::after{content:"";display:inline-block;vertical-align:middle;width:44px;height:1px;margin:0 14px;background:linear-gradient(90deg,transparent,var(--gold2))}
.dmi.lux .kick::after{background:linear-gradient(90deg,var(--gold2),transparent)}
.dmi.lux h2{font-weight:300;letter-spacing:-.03em;font-size:clamp(38px,5.6vw,76px);line-height:1.04;max-width:900px;margin-top:18px}
.dmi.lux h2 em{display:inline-block;font-style:italic;font-weight:400;font-family:"Bodoni 72","Didot","Bodoni MT","Playfair Display","Iowan Old Style",Georgia,"Times New Roman",serif;letter-spacing:-.01em;
  background:linear-gradient(100deg,var(--gold1) 0%,var(--gold2) 45%,#fff3d6 60%,var(--gold2) 80%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.06em}
.dmi.lux .lead{color:#dfe5f0;max-width:700px;font-weight:400}
.dmi-facts{list-style:none;padding:0;margin:40px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:860px;
  border-top:1px solid rgba(217,178,106,.35);border-bottom:1px solid rgba(217,178,106,.35)}
.dmi-facts li{padding:20px 10px;display:flex;flex-direction:column;align-items:center;gap:4px}
.dmi-facts li+li{border-left:1px solid rgba(255,255,255,.1)}
.dmi-facts a{display:flex;flex-direction:column;align-items:center;gap:4px;color:inherit;text-decoration:none}
.dmi-facts b{font-size:clamp(20px,2.2vw,28px);font-weight:500;letter-spacing:-.01em;color:#fff}
.dmi-facts li:nth-child(3) b{font-family:"Didot","Bodoni 72",Georgia,"Times New Roman",serif;font-weight:700}
.dmi-facts span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold1)}
.dmi-facts a:hover span{color:#fff}
.dmi.lux .dmi-cards{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:clamp(50px,6vw,80px)}
.dmi.lux .dmi-card{padding:34px 28px 36px;border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
  box-shadow:0 0 0 1px rgba(217,178,106,.28),inset 0 1px 0 rgba(255,240,205,.18),0 34px 80px -36px rgba(0,0,0,.85)}
.dmi.lux .dmi-card::before{content:"";position:absolute;left:28px;right:28px;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold2),transparent);opacity:.9}
.dmi.lux .dmi-card::after{background:radial-gradient(80% 50% at 0% 0%,rgba(44,146,229,.2),transparent 70%),radial-gradient(80% 50% at 100% 100%,rgba(237,31,158,.18),transparent 70%)}
.dmi.lux .dmi-card:hover{box-shadow:0 0 0 1px rgba(244,226,184,.55),inset 0 1px 0 rgba(255,240,205,.25),0 38px 90px -36px rgba(0,0,0,.85),0 0 70px -24px rgba(217,178,106,.45)}
.dmi.lux .dmi-n{font-family:"Didot","Bodoni 72",Georgia,"Times New Roman",serif;font-size:18px;font-weight:400;letter-spacing:.12em;background:linear-gradient(90deg,var(--gold1),var(--gold2));-webkit-background-clip:text;background-clip:text;color:transparent}
.dmi.lux .dmi-card h3{font-weight:500;font-size:clamp(20px,1.7vw,23px);margin-top:14px}
.dmi.lux .dmi-card p{font-size:15.5px;color:#d9e0ec}
.dmi-also{max-width:640px;margin:clamp(34px,4vw,48px) auto 0;color:#c9d1e0;font-size:16px}
.btn-gold{background:linear-gradient(100deg,#f4e2b8,#d9b26a 55%,#f1d9a4);color:#1a1405;box-shadow:0 10px 30px -12px rgba(217,178,106,.6)}
.btn-gold:hover{filter:brightness(1.06)}
/* animación elegante: más lenta, sin rebote */
.dmi.lux.anim .dmi-logo{transition:opacity 1.6s ease,transform 1.8s cubic-bezier(.16,1,.3,1),filter 1.6s ease}
.dmi.lux.anim .dmi-r{transform:translateY(18px);transition:opacity 1.2s ease,transform 1.4s cubic-bezier(.16,1,.3,1)}
.dmi.lux.anim .dmi-card{transform:translateY(60px) rotateX(12deg) scale(.97);transition:opacity 1.3s ease,transform 1.6s cubic-bezier(.16,1,.3,1),box-shadow .5s}
.dmi.lux.anim .dmi-card:nth-child(2){transition-delay:.14s}.dmi.lux.anim .dmi-card:nth-child(3){transition-delay:.28s}.dmi.lux.anim .dmi-card:nth-child(4){transition-delay:.42s}
.dmi.lux.anim .dmi-card.in{transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
@media (max-width:1100px){.dmi.lux .dmi-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;margin-left:auto;margin-right:auto}}
@media (max-width:640px){
  .dmi.lux .dmi-cards{grid-template-columns:1fr;max-width:520px}
  .dmi-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dmi-facts li:nth-child(3){border-left:0}
  .dmi-facts li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.1)}
  .dmi.lux .kick::before,.dmi.lux .kick::after{width:24px;margin:0 10px}
}
@media (prefers-reduced-motion:reduce){.dmi-sheen{display:none}}
/* ================= v17: etiquetas en mayúsculas y minúsculas (tipografía refinada) ================= */
.kick{text-transform:none!important;letter-spacing:-.005em!important;font-weight:500;font-size:clamp(16px,1.35vw,19px);color:#d5ddec;font-feature-settings:"ss01"}
.intro .kick{font-size:clamp(15px,1.5vw,20px);font-weight:500;letter-spacing:-.01em!important;color:#e8edf6;white-space:nowrap;max-width:none}
@media (max-width:360px){.intro .kick{white-space:normal}}
.intro .kick .sep,.intro .kick{word-spacing:.02em}
.dmi.lux .kick{color:var(--gold1);font-size:clamp(16px,1.5vw,20px);font-weight:400;font-style:italic;font-family:"Bodoni 72","Didot","Iowan Old Style",Georgia,"Times New Roman",serif;letter-spacing:.01em!important}
.forbes .fb-k{text-transform:none;letter-spacing:0;font-size:13px;font-weight:500}
.creds .cr-k{text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:500}
.dmi-facts span{text-transform:none;letter-spacing:0;font-size:14px}
.cue span+*, .cue{text-transform:none!important;letter-spacing:0!important}
img.dlogo{filter:drop-shadow(0 0 0 transparent)}
.pn-links img.dlogo{height:.8em;vertical-align:-.06em}
.cue{font-size:13px}
/* v17: logo grande sin caja; brillo dorado elegante (sin rectángulo) */
.dmi.lux .dmi-logo{overflow:visible;padding:0}
.dmi-sheen{display:none!important}
.dmi.lux.anim.in .dmi-logo img{animation:dmiGlow 3.2s .8s ease-in-out 1}
@keyframes dmiGlow{0%,100%{filter:brightness(0) invert(1) drop-shadow(0 0 30px rgba(244,226,184,.28))}50%{filter:brightness(0) invert(1) drop-shadow(0 0 46px rgba(244,226,184,.7))}}
@media (prefers-reduced-motion:reduce){.dmi.lux .dmi-logo img{animation:none!important}}

/* ===== v18: orden nuevo (hero solo → mapa → historia → globo), Domani fundador, videos ===== */
#inicio.hero.solo{height:140vh;height:140svh}
@media (max-width:760px){#inicio.hero.solo{height:140vh;height:140svh}}
.scene-static #inicio.hero.solo{height:auto}
.globe{height:280vh;position:relative}
.globe .lines{position:absolute;left:max(6vw,24px);top:50%;transform:translateY(-50%);max-width:min(460px,36vw);z-index:2}
.globe .lines h1{font-size:clamp(38px,4vw,60px);letter-spacing:-.035em;margin:0}
@media (max-width:760px){
  .globe{height:260vh}
  .globe .lines{left:22px;right:22px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 7vh);transform:none;max-width:none;text-align:center}
  .globe .lines h1{font-size:40px}
}
@media (min-width:761px) and (max-aspect-ratio:9/10){
  .globe .lines{left:32px;right:32px;top:auto;bottom:calc(env(safe-area-inset-bottom) + 8vh);transform:none;max-width:none;text-align:center}
}
.scene-static .globe{height:auto}
.scene-static .globe .lines{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;max-width:640px;text-align:center;margin:0 auto}
/* Domani: línea del fundador y qué hace */
.dmi-founder{margin:clamp(30px,4vw,44px) auto 0;font-family:"Bodoni 72","Didot","Iowan Old Style",Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(19px,1.8vw,24px);color:var(--gold1,#f4e2b8);letter-spacing:.01em;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.35em}
.dmi-founder .dmi-fn{font-style:normal;font-family:inherit;letter-spacing:.02em;color:#fff}
.dmi-founder .dmi-dot{color:var(--gold2,#d9b26a)}
.dmi-founder .dlogo{height:1.05em;width:auto;vertical-align:-.12em;margin-left:.1em}
.dmi-founder::before,.dmi-founder::after{content:"";width:40px;height:1px;background:linear-gradient(90deg,transparent,var(--gold2,#d9b26a));margin:0 12px}
.dmi-founder::after{background:linear-gradient(90deg,var(--gold2,#d9b26a),transparent)}
@media (max-width:640px){.dmi-founder::before,.dmi-founder::after{display:none}}
.dmi-what{max-width:640px;margin:16px auto 0;color:#dfe5f0;font-size:clamp(16px,1.3vw,18px);line-height:1.5}
/* tarjetas Domani con video de fondo */
.dmi.lux .dmi-card.has-vid{overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(400px,34vw,470px);padding-top:150px;background:#07142c}
.dmi-card .dmi-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;border-radius:inherit;transform:scale(1.02)}
.dmi.lux .dmi-card.has-vid::after{z-index:-1;opacity:1;background:linear-gradient(180deg,rgba(4,12,30,.12) 0%,rgba(4,12,30,.35) 32%,rgba(4,12,30,.86) 62%,rgba(4,12,30,.96) 100%),radial-gradient(80% 50% at 100% 100%,rgba(217,178,106,.12),transparent 70%)}
.dmi.lux .dmi-card.has-vid::before{z-index:1}
.dmi.lux .dmi-card.has-vid h3,.dmi.lux .dmi-card.has-vid p{text-shadow:0 1px 14px rgba(0,0,0,.5)}
@media (max-width:640px){.dmi.lux .dmi-card.has-vid{min-height:430px;padding-top:180px}}
/* tarjetas de producto con video */
.ph video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* v18b: el video ocupa la parte superior (proporción fija) para que las personas no queden bajo el texto */
.dmi-card .dmi-vid{inset:0 0 auto 0;height:auto;aspect-ratio:5/4;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;transform:none;
  -webkit-mask-image:linear-gradient(180deg,#000 0,#000 55%,rgba(0,0,0,.35) 82%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 55%,rgba(0,0,0,.35) 82%,transparent 100%)}
.dmi-card:nth-child(1) .dmi-vid{object-position:72% 80%}
.dmi-card:nth-child(2) .dmi-vid{object-position:50% 66%}
.dmi-card:nth-child(3) .dmi-vid{object-position:45% 62%}
.dmi-card:nth-child(4) .dmi-vid{object-position:40% 40%}
.dmi.lux .dmi-card.has-vid::after{background:linear-gradient(180deg,rgba(4,12,30,.05) 0%,rgba(4,12,30,0) 30%,rgba(4,12,30,.25) 100%),radial-gradient(80% 40% at 100% 100%,rgba(217,178,106,.1),transparent 70%)}
.dmi.lux .dmi-card.has-vid{min-height:0;justify-content:flex-start;padding-top:66%}
@media (max-width:640px){.dmi.lux .dmi-card.has-vid{min-height:0;padding-top:66%}
  .dmi-founder{flex-direction:column;gap:2px}.dmi-founder .dmi-dot{display:none}}

/* v20: bloque propio para capítulos 02–03 (Primero Dios · Construimos algo grande) */
#historia-2{padding-top:clamp(70px,10vw,140px)}

/* ===== v21: Forbes centrado y muy visible; hero 3D largo otra vez; idioma ===== */
#inicio.hero.solo{height:470vh} /* por si alguna copia conserva .solo */
@media (max-width:760px){#inicio.hero.solo{height:430vh}}

html .forbes-wrap{
  position:absolute;z-index:5;
  left:0;right:0;
  top:calc(env(safe-area-inset-top) + 86px);
  display:flex;justify-content:center;transform:none;
}
html .forbes{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:12px 28px 14px;
  border-radius:22px;
  background:#fff;
  color:#111;
  box-shadow:0 0 0 1px rgba(201,138,40,.55),0 16px 40px -12px rgba(0,0,0,.55);
  text-decoration:none;
  cursor:pointer;
  max-width:min(92vw,420px);
}
html .forbes:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(201,138,40,.7),0 22px 48px -12px rgba(0,0,0,.6)}
html .forbes .fb-k{
  font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:#9a6a16;margin:0;
}
html .forbes .fb-w{
  display:block;width:auto;height:52px;aspect-ratio:92/24;
  color:#111;margin:2px 0 0;filter:none;
}
html .forbes .fb-t{display:contents;border:0;padding:0}
html .forbes .fb-c{
  font-size:14px;font-weight:600;color:#1d1d1f;padding:0;border:0;
  text-decoration:underline;text-decoration-color:rgba(201,138,40,.7);text-underline-offset:3px;
  white-space:nowrap;max-width:none;
}
@media (max-width:760px){
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 72px)}
  html .forbes{padding:10px 20px 12px;border-radius:18px}
  html .forbes .fb-w{height:44px}
  html .forbes .fb-c{font-size:13px}
  /* deja espacio bajo el sello para no tapar la cara */
  .h-photo.beige{bottom:calc(env(safe-area-inset-bottom) + 200px)}
}
@media (min-width:761px){
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 88px)}
  html .forbes .fb-w{height:58px}
  html .forbes .fb-c{font-size:15px}
}
@media (max-width:359px){
  html .forbes .fb-c{white-space:normal;text-align:center;max-width:12em}
  html .forbes .fb-w{height:40px}
}
.scene-static .forbes-wrap{position:relative;left:auto;right:auto;top:auto;order:-2;margin:0 0 16px;display:flex;justify-content:center}

/* idioma: refuerzo (el estilo principal va en i18n-v21.js) */
.pill-nav .lang-tg{background:#04183B;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);padding:3px;margin:0 6px 0 auto}
.pill-nav .lang-tg button{color:#fff;font-weight:700;font-size:13px;letter-spacing:0;padding:8px 12px;min-height:36px;min-width:0}
.pill-nav .lang-tg button.on{background:#fff;color:#04183B;box-shadow:0 1px 4px rgba(0,0,0,.25)}
@media (max-width:760px){
  .pill-nav{gap:8px;padding:5px 5px 5px 12px}
  .pill-nav .lang-tg button{font-size:12px;padding:7px 9px;min-height:34px}
}

/* v22: la foto del hero gira en 3D (órbita v6); el sello ya no dice Liechtenstein */
#inicio .h-photo.beige .dis,#inicio .h-photo.beige .tilt3d{transform-style:preserve-3d;will-change:transform}
html .forbes .fb-c{text-decoration:none}
html .forbes .fb-go{font-size:16px;color:#9a6a16}

/* v28: Hablar con Juan → tel link + phone icon; number visible on desktop */
.btn-tel{gap:8px}
.btn-tel .ico-phone{width:18px;height:18px;flex:none;display:block}
.call-cta{margin:0}
.call-cta .tel-num{display:none;margin:8px 0 0;font-size:14px;font-weight:650;letter-spacing:.01em;color:inherit}
.call-cta .tel-num a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;user-select:all}
.call-cta .tel-num .tel-copied{display:none;margin-left:8px;font-weight:700;color:#ED1F9E}
.call-cta.is-copied .tel-copied{display:inline}
@media (hover:hover) and (pointer:fine){
  .call-cta .tel-num{display:block}
}
@media (min-width:761px){
  .call-cta .tel-num{display:block}
  .fs-right .call-cta .tel-num{color:rgba(255,255,255,.86)}
  .fs-right .call-cta .tel-copied{color:#ff9ad6}
}


/* ===== v30: Forbes badge to the SIDE, smaller — do not cover the face ===== */
html .forbes-wrap{
  position:absolute;z-index:5;
  left:max(10px, env(safe-area-inset-left));
  right:auto;
  top:calc(env(safe-area-inset-top) + 66px);
  display:block;
  width:auto;
  max-width:min(220px, 62vw);
  justify-content:flex-start;
  transform:none;
}
html .forbes{
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  gap:6px;
  padding:6px 10px 6px 10px;
  border-radius:999px;
  background:#fff;
  color:#111;
  max-width:100%;
  box-shadow:0 0 0 1px rgba(201,138,40,.5),0 8px 22px -10px rgba(0,0,0,.55);
  text-decoration:none;
  cursor:pointer;
}
html .forbes:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(201,138,40,.7),0 12px 28px -10px rgba(0,0,0,.6)}
html .forbes .fb-k{
  font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#9a6a16;margin:0;line-height:1;white-space:nowrap;
}
html .forbes .fb-w{
  display:block;width:auto;height:16px;aspect-ratio:92/24;
  color:#111;margin:0;filter:none;flex:none;
}
html .forbes .fb-t{display:contents;border:0;padding:0}
html .forbes .fb-c{
  font-size:11px;font-weight:600;color:#1d1d1f;padding:0;border:0;
  text-decoration:none;white-space:nowrap;max-width:none;line-height:1;
}
html .forbes .fb-go{font-size:12px;color:#9a6a16;line-height:1}
/* mobile: compact pill in the top-left, clear of the centered portrait and of the nav */
@media (max-width:760px){
  html .forbes-wrap{
    left:max(10px, env(safe-area-inset-left));
    right:auto;
    top:calc(env(safe-area-inset-top) + 64px);
    max-width:min(200px, 58vw);
  }
  html .forbes{padding:5px 9px;gap:5px;border-radius:999px}
  html .forbes .fb-k{font-size:8px;letter-spacing:.12em}
  html .forbes .fb-w{height:15px}
  html .forbes .fb-c{font-size:10px}
  html .forbes .fb-go{font-size:11px}
  /* portrait can sit more naturally in the open center — no reserved band for a centered badge */
  html .h-photo.beige{bottom:calc(env(safe-area-inset-bottom) + 168px)}
}
@media (max-width:359px){
  html .forbes-wrap{max-width:min(170px, 54vw)}
  html .forbes .fb-c{display:none} /* hide the ↗ if the pill would get tight */
  html .forbes .fb-w{height:14px}
}
/* desktop / landscape: badge stays in the left column, beside the portrait, never over the hair */
@media (min-width:761px){
  html .forbes-wrap{
    left:max(24px, 5vw);
    right:auto;
    top:calc(env(safe-area-inset-top) + 88px);
    max-width:none;
  }
  html .forbes{padding:7px 12px;gap:7px}
  html .forbes .fb-k{font-size:10px;letter-spacing:.16em}
  html .forbes .fb-w{height:20px}
  html .forbes .fb-c{font-size:12px}
  html .forbes .fb-go{font-size:13px}
}
/* iPad portrait: still a side pill, not a centered block over the face */
@media (min-width:761px) and (max-aspect-ratio:9/10){
  html .forbes-wrap{
    left:max(24px, env(safe-area-inset-left));
    right:auto;
    top:calc(env(safe-area-inset-top) + 80px);
    justify-content:flex-start;
  }
}
.scene-static .forbes-wrap{position:relative;left:auto;right:auto;top:auto;order:-2;margin:0 0 16px;display:flex;justify-content:flex-start;max-width:none}

/* ===== v31: larger floating Forbes card, still beside the portrait, never over the face/hair ===== */
@keyframes forbes-float{
  0%,100%{transform:rotate(-6deg) translateY(0)}
  50%{transform:rotate(-6deg) translateY(-5px)}
}
html .forbes-wrap{
  position:absolute;
  z-index:4;
  left:max(16px, env(safe-area-inset-left));
  right:auto;
  top:calc(env(safe-area-inset-top) + 78px);
  display:block;
  width:auto;
  max-width:none;
  justify-content:flex-start;
  transform:none;
  pointer-events:none;
}
html .forbes{
  pointer-events:auto;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  position:relative;
  padding:12px 22px 14px;
  border-radius:20px;
  background:#fff;
  color:#111;
  max-width:100%;
  border:1.5px solid rgba(201,138,40,.7);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.9),
    0 18px 40px -12px rgba(0,0,0,.65),
    0 0 28px -6px rgba(201,138,40,.45);
  text-decoration:none;
  cursor:pointer;
  transform:rotate(-6deg);
  transform-origin:center center;
  animation:forbes-float 4.8s ease-in-out infinite;
}
html .forbes:hover,html .forbes:focus-visible{
  transform:rotate(-3deg) translateY(-3px);
  animation:none;
  box-shadow:
    0 0 0 1px rgba(201,138,40,.85),
    0 22px 48px -12px rgba(0,0,0,.7),
    0 0 36px -6px rgba(201,138,40,.55);
}
html .forbes .fb-k{
  display:block;
  order:0;
  font-size:10px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#9a6a16;
  margin:0;
  line-height:1.2;
  white-space:nowrap;
}
html .forbes .fb-w{
  display:block;
  order:1;
  width:auto;
  height:40px;
  aspect-ratio:92/24;
  color:#0b0b0c;
  margin:0;
  filter:none;
  flex:none;
}
html .forbes .fb-t{display:contents;border:0;padding:0}
html .forbes .fb-c{
  position:absolute;
  top:8px;
  right:10px;
  font-size:12px;
  font-weight:600;
  color:#9a6a16;
  padding:0;
  border:0;
  text-decoration:none;
  white-space:nowrap;
  max-width:none;
  line-height:1;
}
html .forbes .fb-go{font-size:13px;color:#9a6a16;line-height:1}
/* iPhone / narrow: big wordmark in the empty starry band, left of and above the head */
@media (max-width:760px){
  html .forbes-wrap{
    left:max(12px, env(safe-area-inset-left));
    right:auto;
    top:calc(env(safe-area-inset-top) + 76px);
    max-width:min(230px, 62vw);
  }
  html .forbes{padding:12px 18px 14px;gap:3px;border-radius:18px}
  html .forbes .fb-k{font-size:9px;letter-spacing:.2em}
  html .forbes .fb-w{height:38px}
  html .forbes .fb-c{top:7px;right:8px;font-size:11px}
  html .forbes .fb-go{font-size:12px}
  /* keep the v30 portrait placement so the card sits in the open sky, not over the hair */
  html .h-photo.beige{bottom:calc(env(safe-area-inset-bottom) + 168px)}
}
@media (max-width:760px) and (min-height:740px){
  /* taller phones: float the card a bit deeper into the starry field above the head */
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 100px)}
}
@media (max-width:359px){
  html .forbes-wrap{max-width:min(200px, 68vw);top:calc(env(safe-area-inset-top) + 70px)}
  html .forbes{padding:10px 14px 12px}
  html .forbes .fb-w{height:34px}
}
/* desktop / landscape: larger card in the left column, clear of the portrait on the right */
@media (min-width:761px){
  html .forbes-wrap{
    left:max(28px, 4vw);
    right:auto;
    top:calc(env(safe-area-inset-top) + 96px);
    max-width:none;
  }
  html .forbes{padding:16px 28px 18px;gap:6px;border-radius:22px}
  html .forbes .fb-k{font-size:11px;letter-spacing:.24em}
  html .forbes .fb-w{height:52px}
  html .forbes .fb-c{top:10px;right:12px;font-size:13px}
  html .forbes .fb-go{font-size:15px}
}
@media (min-width:761px) and (max-aspect-ratio:9/10){
  html .forbes-wrap{
    left:max(24px, env(safe-area-inset-left));
    right:auto;
    top:calc(env(safe-area-inset-top) + 88px);
    justify-content:flex-start;
  }
  html .forbes .fb-w{height:44px}
}
@media (prefers-reduced-motion:reduce){
  html .forbes,html .forbes:hover,html .forbes:focus-visible{
    animation:none;
    transform:rotate(-4deg);
  }
}
.scene-static .forbes-wrap{position:relative;left:auto;right:auto;top:auto;order:-2;margin:0 0 16px;display:flex;justify-content:flex-start;max-width:none}
.scene-static .forbes{animation:none;transform:rotate(-4deg)}

/* ===== v32: Forbes card top-center under the nav, no tilt, clear gap above the hair ===== */
html .forbes-wrap{
  position:absolute;
  z-index:4;
  left:0;
  right:0;
  top:calc(env(safe-area-inset-top) + 72px);
  display:flex;
  justify-content:center;
  width:auto;
  max-width:none;
  transform:none;
  pointer-events:none;
}
html .forbes{
  pointer-events:auto;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  position:relative;
  padding:12px 22px 14px;
  border-radius:20px;
  background:#fff;
  color:#111;
  max-width:100%;
  border:1.5px solid rgba(201,138,40,.7);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.9),
    0 18px 40px -12px rgba(0,0,0,.65),
    0 0 28px -6px rgba(201,138,40,.45);
  text-decoration:none;
  cursor:pointer;
  transform:none;
  animation:none;
}
html .forbes:hover,html .forbes:focus-visible{
  transform:translateY(-2px);
  animation:none;
  box-shadow:
    0 0 0 1px rgba(201,138,40,.85),
    0 22px 48px -12px rgba(0,0,0,.7),
    0 0 36px -6px rgba(201,138,40,.55);
}
html .forbes .fb-k{
  display:block;
  order:0;
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#9a6a16;
  margin:0;
  line-height:1.2;
  white-space:nowrap;
}
html .forbes .fb-w{
  display:block;
  order:1;
  width:auto;
  height:40px;
  aspect-ratio:92/24;
  color:#0b0b0c;
  margin:0;
  filter:none;
  flex:none;
}
html .forbes .fb-t{display:contents;border:0;padding:0}
html .forbes .fb-c{
  position:absolute;
  top:8px;
  right:10px;
  font-size:12px;
  font-weight:600;
  color:#9a6a16;
  padding:0;
  border:0;
  text-decoration:none;
  white-space:nowrap;
  max-width:none;
  line-height:1;
}
html .forbes .fb-go{font-size:13px;color:#9a6a16;line-height:1}
/* iPhone: keep the large card, parked just under the nav so the gap to the hair stays wide */
@media (max-width:760px){
  html .forbes-wrap{
    left:0;
    right:0;
    top:calc(env(safe-area-inset-top) + 70px);
    max-width:none;
    display:flex;
    justify-content:center;
  }
  html .forbes{padding:12px 18px 14px;gap:3px;border-radius:18px}
  html .forbes .fb-k{font-size:9px;letter-spacing:.14em}
  html .forbes .fb-w{height:38px}
  html .forbes .fb-c{top:7px;right:8px;font-size:11px}
  html .forbes .fb-go{font-size:12px}
  html .h-photo.beige{bottom:calc(env(safe-area-inset-bottom) + 168px)}
}
@media (max-width:760px) and (min-height:740px){
  /* do not drop the card lower on tall phones — stay under the nav */
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 70px)}
}
@media (max-width:359px){
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 68px)}
  html .forbes{padding:10px 14px 12px}
  html .forbes .fb-w{height:34px}
  html .forbes .fb-k{letter-spacing:.1em}
}
/* desktop: centered under the nav; slightly smaller portrait so the card doesn't crowd the hair */
@media (min-width:761px){
  html .forbes-wrap{
    left:0;
    right:0;
    top:calc(env(safe-area-inset-top) + 82px);
    max-width:none;
    display:flex;
    justify-content:center;
  }
  html .forbes{padding:16px 28px 18px;gap:6px;border-radius:22px}
  html .forbes .fb-k{font-size:11px;letter-spacing:.18em}
  html .forbes .fb-w{height:52px}
  html .forbes .fb-c{top:10px;right:12px;font-size:13px}
  html .forbes .fb-go{font-size:15px}
}
@media (min-width:761px) and (min-aspect-ratio:9/10){
  html .h-photo.beige{
    left:auto;
    right:3vw;
    transform:none;
    height:min(72vh,72svh,52vw);
    bottom:0;
    top:auto;
  }
}
@media (min-width:761px) and (max-aspect-ratio:9/10){
  html .forbes-wrap{
    left:0;
    right:0;
    top:calc(env(safe-area-inset-top) + 80px);
    display:flex;
    justify-content:center;
  }
  html .forbes .fb-w{height:44px}
  html .h-photo.beige{
    height:auto;
    width:min(80vw,calc(100svh - 490px));
    bottom:auto;
    top:calc(env(safe-area-inset-top) + 230px);
  }
}
@media (prefers-reduced-motion:reduce){
  html .forbes,html .forbes:hover,html .forbes:focus-visible{
    animation:none;
    transform:none;
  }
}
.scene-static .forbes-wrap{position:relative;left:auto;right:auto;top:auto;order:-2;margin:0 0 16px;display:flex;justify-content:center;max-width:none}
.scene-static .forbes{animation:none;transform:none}

/* ===== v33: same top-center Forbes card, moved closer to the hair (24-32px gap) ===== */
@media (max-width:760px){
  /* iPhone 390: badge was at top+70 (bottom 150), hair at ~318, gap 168.
     Drop the wrap so the card sits just above the hair, still centered. */
  html .forbes-wrap{
    left:0;
    right:0;
    top:calc(env(safe-area-inset-top) + 212px);
    bottom:auto;
    display:flex;
    justify-content:center;
    max-width:none;
  }
}
@media (max-width:760px) and (min-height:740px){
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 212px)}
}
@media (max-width:359px){
  /* slightly smaller card; keep a similar tight gap */
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 200px)}
}
@media (min-width:761px){
  /* desktop 1440x900: badge was at top+82 (bottom 189), hair at ~275, gap 86.
     Lower it so the gap is ~28px, still centered under the nav, not over the hair. */
  html .forbes-wrap{
    left:0;
    right:0;
    top:calc(env(safe-area-inset-top) + 140px);
    bottom:auto;
    display:flex;
    justify-content:center;
    max-width:none;
  }
}
@media (min-width:761px) and (max-aspect-ratio:9/10){
  /* iPad portrait: sit just above the lowered portrait */
  html .forbes-wrap{top:calc(env(safe-area-inset-top) + 112px)}
}
