/* EL ORIGEN DEL CÁNCER — Revisión 1.7.0
   La portada se compone de HTML real; las imágenes siguen siendo independientes.
   Este archivo se carga después de las revisiones anteriores. */
:root{--foe17-ink:#080715;--foe17-gold:#f0cb88;--foe17-violet:#d2acef;--foe17-line:rgba(202,147,233,.31)}
body.foe-page .foe-home17{background:#090819;color:#f5eefa;overflow:hidden}
body.foe-page .foe-home17 h1,body.foe-page .foe-home17 h2,body.foe-page .foe-home17 h3{font-family:'Cormorant Garamond',Georgia,serif!important;letter-spacing:-.024em!important;line-height:1!important;font-weight:600!important}
.foe-home17 .foe-wrap{width:min(1430px,calc(100% - 84px))}
.foe-home17 .foe17-eyebrow{display:flex;align-items:center;gap:13px;color:var(--foe17-gold);font:800 10px/1.5 'Manrope',sans-serif;letter-spacing:.19em;text-transform:uppercase;margin:0}
.foe-home17 .foe17-rule{display:inline-block;width:29px;height:1px;flex:0 0 29px;background:#ecc183}
.foe-home17 .foe17-hero{height:auto;min-height:475px;display:flex;align-items:stretch;isolation:isolate;position:relative;overflow:hidden;background:#0a0818;border-bottom:1px solid rgba(189,132,232,.24)}
.foe-home17 .foe17-hero-image{position:absolute;inset:0;z-index:-3;background:url('escenas/portada-conexion.webp') no-repeat right 40% center;background-size:cover;filter:contrast(1.08) saturate(1.06)}
.foe-home17 .foe17-hero-cells{position:absolute;inset:0 0 0 auto;width:32%;z-index:-2;background:url('escenas/celulas.webp') right center / cover no-repeat;opacity:.68;-webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.30) 22%,#000 75%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.30) 22%,#000 75%)}
.foe-home17 .foe17-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080715 0%,rgba(8,7,21,.98) 22%,rgba(8,7,21,.83) 34%,rgba(8,7,21,.24) 60%,rgba(8,7,21,.05) 88%),linear-gradient(0deg,rgba(8,7,21,.64) 0%,transparent 27%,transparent 82%,rgba(8,7,21,.35) 100%)}
.foe-home17 .foe17-hero-inner{display:flex;align-items:center;min-height:475px;padding:42px 0 46px}
.foe-home17 .foe17-hero-copy{width:min(535px,55%);position:relative;z-index:2}
.foe-home17 .foe17-hero-copy h1{font-size:clamp(58px,6.1vw,100px)!important;line-height:.91!important;text-transform:uppercase;letter-spacing:-.035em!important;margin:20px 0 10px;max-width:630px;overflow:visible}
.foe-home17 .foe17-hero-copy h1 span{display:block;color:#e1baf4;font-size:1.08em;line-height:1.05;letter-spacing:-.038em}
.foe-home17 .foe17-strap{font:800 clamp(10px,.96vw,14px)/1.4 'Manrope',sans-serif;letter-spacing:.22em;color:#f4ce8e;margin:8px 0 10px}
.foe-home17 .foe17-description{color:#f0e9f5;font:500 clamp(12px,1.05vw,15px)/1.66 'Manrope',sans-serif;max-width:480px;margin:10px 0 24px;text-wrap:pretty}
.foe-home17 .foe17-hero-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.foe-home17 .foe17-primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:42px;padding:12px 22px;border-radius:5px;background:linear-gradient(130deg,#ffe2a9,#ddb477);color:#120d1b!important;font:800 10px/1.3 'Manrope',sans-serif;letter-spacing:.07em;transition:filter .2s,transform .2s}
.foe-home17 .foe17-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.foe-home17 .foe17-textlink{display:inline-flex;align-items:center;gap:11px;border-bottom:1px solid rgba(237,194,133,.60);padding:8px 0;color:#f1e7f6!important;font:800 10px/1.3 'Manrope',sans-serif;letter-spacing:.08em}
.foe-home17 .foe17-hero-foot{font:700 9px/1.5 'Manrope',sans-serif;letter-spacing:.23em;color:#d3bddf;margin:28px 0 0}
.foe-home17 .foe17-hero-foot span{padding-inline:4px;color:#d7b580}
/* Narrow explanatory strip between the hero and the content grid. */
.foe-home17 .foe17-statement{background:linear-gradient(110deg,#140d2d,#0d0a20 45%,#151029);border-bottom:1px solid rgba(206,151,239,.30)}
.foe-home17 .foe17-statement-inner{display:grid;grid-template-columns:31% 1fr;gap:34px;align-items:center;padding:31px 0}
.foe-home17 .foe17-wave{border-right:1px solid rgba(241,202,141,.55);height:110px;display:flex;align-items:center;justify-content:center}
.foe-home17 .foe17-wave img{width:min(260px,80%);height:auto;max-height:104px;filter:drop-shadow(0 0 15px rgba(184,104,245,.55))}
.foe-home17 .foe17-statement-text{padding-left:10px}
.foe-home17 .foe17-statement-text h2{font-size:clamp(29px,2.9vw,47px)!important;margin:8px 0 7px}
.foe-home17 .foe17-statement-text h2 em{font-weight:500;color:#d7b5ed;font-style:italic}
.foe-home17 .foe17-statement-text>p:last-child{max-width:780px;margin:8px 0 0;font:400 14px/1.68 'Manrope',sans-serif;color:#e9dfec}
/* Compact visual section cards: four then three, each a real link to a WordPress page. */
.foe-home17 .foe17-sections{position:relative;background:radial-gradient(ellipse at 48% 0%,rgba(76,38,120,.22),transparent 55%),#090819;padding:38px 0 56px}
.foe-home17 .foe17-anchor{position:absolute;top:0}
.foe-home17 .foe17-section-header{text-align:center;max-width:710px;margin:0 auto 25px}
.foe-home17 .foe17-section-header .foe17-eyebrow{justify-content:center}
.foe-home17 .foe17-section-header h2{font-size:clamp(37px,4vw,58px)!important;margin:6px 0}
.foe-home17 .foe17-section-header>p:last-child{font:400 13px/1.55 'Manrope',sans-serif;margin:3px 0 0;color:#cfc6da}
.foe-home17 .foe17-grid{display:grid;gap:12px}
.foe-home17 .foe17-grid-top{grid-template-columns:repeat(4,minmax(0,1fr))}
.foe-home17 .foe17-grid-bottom{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}
.foe-home17 .foe17-card{min-height:258px;border:1px solid rgba(192,135,224,.48);position:relative;isolation:isolate;overflow:hidden;border-radius:9px;background:#100c25;transition:border-color .2s,transform .2s,box-shadow .2s}
.foe-home17 .foe17-card:hover{border-color:rgba(251,217,167,.8);box-shadow:0 16px 38px rgba(4,1,21,.34);transform:translateY(-2px)}
.foe-home17 .foe17-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-3;max-width:none;display:block;filter:contrast(1.07) saturate(1.12);transition:transform .5s}
.foe-home17 .foe17-card:hover>img{transform:scale(1.04)}
.foe-home17 .foe17-card-overlay{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(7,6,19,.94) 0%,rgba(7,6,19,.78) 37%,rgba(7,6,19,.25) 77%,rgba(7,6,19,.09) 100%),linear-gradient(0deg,rgba(6,6,18,.74) 0%,transparent 56%)}
.foe-home17 .foe17-card-body{position:relative;z-index:1;min-height:258px;display:flex;flex-direction:column;align-items:flex-start;padding:20px 18px 19px}
.foe-home17 .foe17-card-num{color:#f3cd8b;font:600 32px/1 'Cormorant Garamond',Georgia,serif;display:block;letter-spacing:.04em;margin:0 0 7px}
.foe-home17 .foe17-card h3{font-size:clamp(22px,1.9vw,31px)!important;line-height:1!important;max-width:92%;text-transform:none;letter-spacing:-.019em!important}
.foe-home17 .foe17-card h3 a{color:#fff3ff!important}
.foe-home17 .foe17-card h3 a:hover{color:#f5d2a0!important}
.foe-home17 .foe17-card p{font:400 11px/1.5 'Manrope',sans-serif;max-width:82%;margin:8px 0 12px;color:#eae0f0}
.foe-home17 .foe17-card-button{margin-top:auto;display:inline-flex;align-items:center;gap:15px;padding:7px 12px;border-radius:5px;border:1px solid rgba(239,193,123,.94);color:#ffe0a7!important;background:rgba(9,6,22,.65);font:800 9px/1.4 'Manrope',sans-serif;letter-spacing:.08em}
.foe-home17 .foe17-card-button:hover{background:rgba(245,206,145,.98);color:#0a0919!important}
.foe-home17 .foe17-card#seccion-04{border-color:rgba(226,160,209,.74)}
.foe-home17 .foe17-grid-bottom .foe17-card{min-height:238px}
.foe-home17 .foe17-grid-bottom .foe17-card-body{min-height:238px}
.foe-home17 .foe17-grid-bottom .foe17-card h3{max-width:80%;font-size:clamp(24px,2.2vw,35px)!important}
/* Contact row mirrors the chosen design, but keeps the real Fluent Forms shortcode. */
.foe-home17 .foe17-contact{background:radial-gradient(ellipse at 17% 15%,rgba(63,32,118,.40),transparent 45%),linear-gradient(110deg,#100b26,#09081b);border-top:1px solid rgba(184,128,224,.34);padding:42px 0 45px}
.foe-home17 .foe17-contact-inner{display:grid;grid-template-columns:minmax(190px,1fr) minmax(195px,.88fr) minmax(410px,1.65fr);gap:27px;align-items:start}
.foe-home17 .foe17-contact-heading{padding:9px 30px 0 0;border-right:1px solid rgba(210,174,238,.36);height:100%}
.foe-home17 .foe17-contact-heading h2{font-size:clamp(42px,4vw,62px)!important;margin:9px 0 14px}
.foe-home17 .foe17-contact-heading>p:last-child{font:400 12px/1.8 'Manrope',sans-serif;max-width:330px;margin:0;color:#d8cfe1}
.foe-home17 .foe17-contact-links{display:flex;flex-direction:column;gap:23px;padding-top:45px}
.foe-home17 .foe17-contact-links a{font:700 12px/1.5 'Manrope',sans-serif;color:#f7ebff!important;display:flex;align-items:center;gap:13px;overflow-wrap:anywhere}
.foe-home17 .foe17-contact-links a span{font:28px/1 Arial,sans-serif;color:#eac483;flex-shrink:0}
.foe-home17 .foe17-contact-form{min-width:0}
.foe-home17 .foe17-contact-form .fluentform .ff-el-group{margin-bottom:10px!important}
.foe-home17 .foe17-contact-form .fluentform .ff-el-input--label,.foe-home17 .foe17-contact-form .fluentform label{color:#e9e1f2!important;font-size:10px!important;letter-spacing:.015em!important}
.foe-home17 .foe17-contact-form .fluentform input:not([type=checkbox]):not([type=radio]),.foe-home17 .foe17-contact-form .fluentform textarea,.foe-home17 .foe17-contact-form .fluentform select{min-height:38px!important;padding:8px 11px!important;border-radius:5px!important;background:#16102a!important;border:1px solid rgba(165,124,208,.60)!important;color:#fff!important}
.foe-home17 .foe17-contact-form .fluentform textarea{min-height:76px!important;max-height:130px!important}
.foe-home17 .foe17-contact-form .fluentform button.ff-btn-submit{float:right;min-height:41px!important;border-radius:5px!important;font-size:10px!important;width:auto!important;padding:9px 24px!important}
.foe-home17 .foe17-contact-form .fluentform:after{content:"";display:table;clear:both}
.foe-home17 .foe17-contact-form .fluentform .ff-t-container{gap:10px!important}
/* Global polish consistent with the sketch. */
.foe-header{background:#080715!important}
.foe-header-inner{min-height:63px!important}
.foe-brand img{width:73px!important;height:39px!important}
.foe-brand span{font:600 clamp(20px,1.7vw,27px)/1.06 'Cormorant Garamond',Georgia,serif!important;letter-spacing:.015em!important}
.foe-menu{gap:clamp(12px,1.4vw,23px)!important}
.foe-menu>a{font-size:10px!important;letter-spacing:.10em!important}
.foe-menu>.foe-header-button{margin-left:6px!important;padding:11px 18px!important}
.foe-footer{min-height:66px}
.foe-footer-inner{padding-block:12px}
@media(max-width:1200px){
 .foe-home17 .foe-wrap{width:calc(100% - 62px)}
 .foe-home17 .foe17-card{min-height:265px}
 .foe-home17 .foe17-card-body{min-height:265px;padding:17px 14px}
 .foe-home17 .foe17-card h3{font-size:24px!important}
 .foe-home17 .foe17-card p{max-width:91%}
 .foe-home17 .foe17-contact-inner{grid-template-columns:1fr .93fr 1.45fr;gap:17px}
}
@media(max-width:1040px){
 .foe-header .foe-nav-button{display:flex;align-items:center;gap:7px}
 .foe-header .foe-menu{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0!important;background:#0c091e;padding:19px 28px 27px;border-bottom:1px solid rgba(185,132,224,.4);box-shadow:0 18px 40px rgba(0,0,0,.5)}
 .foe-header .foe-menu.foe-menu-open{display:flex}
 .foe-header .foe-menu>a{font-size:12px!important;padding:12px 5px;border-bottom:1px solid rgba(188,139,230,.17)}
 .foe-header .foe-menu>.foe-header-button{margin:12px 0 0!important;text-align:center}
 .foe-home17 .foe17-grid-top,.foe-home17 .foe17-grid-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
 .foe-home17 .foe17-card,.foe-home17 .foe17-card-body,.foe-home17 .foe17-grid-bottom .foe17-card,.foe-home17 .foe17-grid-bottom .foe17-card-body{min-height:245px}
 .foe-home17 .foe17-card h3,.foe-home17 .foe17-grid-bottom .foe17-card h3{font-size:30px!important}
 .foe-home17 .foe17-contact-inner{grid-template-columns:1fr 1.6fr}
 .foe-home17 .foe17-contact-heading{border:0;height:auto}
 .foe-home17 .foe17-contact-links{grid-column:1;grid-row:2;padding:5px 0 0}
 .foe-home17 .foe17-contact-form{grid-column:2;grid-row:1/3}
}
@media(max-width:760px){
 .foe-home17 .foe-wrap{width:calc(100% - 35px)}
 .foe-home17 .foe17-hero{min-height:560px}
 .foe-home17 .foe17-hero-inner{min-height:560px;padding:56px 0 42px;align-items:flex-end}
 .foe-home17 .foe17-hero-copy{width:100%;max-width:600px}
 .foe-home17 .foe17-hero-image{background-position:64% center;opacity:.81}
 .foe-home17 .foe17-hero-cells{display:none}
 .foe-home17 .foe17-hero-shade{background:linear-gradient(0deg,#080715 0%,rgba(8,7,21,.96) 24%,rgba(8,7,21,.47) 75%,rgba(8,7,21,.23) 100%),linear-gradient(90deg,rgba(8,7,21,.65),rgba(8,7,21,.15))}
 .foe-home17 .foe17-hero-copy h1{font-size:clamp(52px,10vw,80px)!important;max-width:600px}
 .foe-home17 .foe17-description{max-width:530px;font-size:14px}
 .foe-home17 .foe17-statement-inner{grid-template-columns:1fr;gap:6px;padding:26px 0}
 .foe-home17 .foe17-wave{height:65px;border:0;border-bottom:1px solid rgba(241,202,141,.34)}
 .foe-home17 .foe17-wave img{width:205px;height:60px}
 .foe-home17 .foe17-statement-text{padding:13px 0 0}
 .foe-home17 .foe17-statement-text h2{font-size:37px!important}
 .foe-home17 .foe17-statement-text>p:last-child{font-size:13px}
 .foe-home17 .foe17-sections{padding-block:40px 55px}
 .foe-home17 .foe17-grid-top,.foe-home17 .foe17-grid-bottom{grid-template-columns:1fr;gap:12px}
 .foe-home17 .foe17-grid-bottom{margin-top:12px}
 .foe-home17 .foe17-card,.foe-home17 .foe17-card-body,.foe-home17 .foe17-grid-bottom .foe17-card,.foe-home17 .foe17-grid-bottom .foe17-card-body{min-height:260px}
 .foe-home17 .foe17-card h3,.foe-home17 .foe17-grid-bottom .foe17-card h3{font-size:clamp(31px,7vw,40px)!important;max-width:70%}
 .foe-home17 .foe17-card p{max-width:75%;font-size:12px}
 .foe-home17 .foe17-contact-inner{display:flex;flex-direction:column;gap:14px}
 .foe-home17 .foe17-contact-heading{border:0;padding:0}
 .foe-home17 .foe17-contact-links{padding:0;gap:12px}
 .foe-home17 .foe17-contact-form{width:100%;margin-top:9px}
 .foe-home17 .foe17-contact-form .fluentform button.ff-btn-submit{float:none;width:100%!important}
}
@media(max-width:390px){
 .foe-home17 .foe17-hero{min-height:535px}
 .foe-home17 .foe17-hero-inner{min-height:535px}
 .foe-home17 .foe17-hero-copy h1{font-size:clamp(47px,12.4vw,55px)!important}
 .foe-home17 .foe17-strap{letter-spacing:.12em}
 .foe-home17 .foe17-hero-actions{gap:10px}
 .foe-home17 .foe17-primary,.foe-home17 .foe17-textlink{font-size:9px}
 .foe-home17 .foe17-card-body{padding:19px}
 .foe-home17 .foe17-card h3{max-width:80%}
}
@media(prefers-reduced-motion:reduce){.foe-home17 .foe17-card,.foe-home17 .foe17-card>img,.foe-home17 .foe17-primary{transition:none!important}}

/* Ajustes finales: héroe de dos líneas y disolución real del borde fotográfico. */
.foe-home17 .foe17-hero-copy{width:min(620px,58%)}
.foe-home17 .foe17-hero-copy h1{font-size:clamp(58px,5.4vw,87px)!important;max-width:620px}
.foe-home17 .foe17-hero-image{-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 22%,rgba(0,0,0,.48) 42%,#000 68%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 22%,rgba(0,0,0,.48) 42%,#000 68%)}
.foe-home17 .foe17-hero-cells{width:24%;opacity:.61;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 35%,#000 88%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 35%,#000 88%)}
.foe-home17 .foe17-statement-text h2{font-size:clamp(33px,3.15vw,48px)!important;letter-spacing:-.01em!important;text-transform:uppercase}
@media(max-width:760px){.foe-home17 .foe17-hero-copy{width:100%}.foe-home17 .foe17-hero-copy h1{font-size:clamp(52px,10vw,80px)!important}.foe-home17 .foe17-hero-image{-webkit-mask-image:none;mask-image:none}}
@media(max-width:390px){.foe-home17 .foe17-hero-copy h1{font-size:clamp(47px,12.4vw,55px)!important}}
