@font-face{font-family:Alegreya;src:url(fonts/AlegreyaSans-Regular.ttf)}@font-face{font-family:Alegreya;src:url(fonts/AlegreyaSans-Bold.ttf);font-weight:700}@font-face{font-family:Quetzalli;src:url(fonts/QuetzalliSans-Regular.otf)}@font-face{font-family:Quetzalli;src:url(fonts/QuetzalliSans-Bold.otf);font-weight:700}
:root{--forest:#2E3B2B;--stone:#CBCABE;--wine:#4D263C;--brown:#7C4A36;--olive:#71785B;--sand:#BC9B73;--paper:#F5F4F2}*{box-sizing:border-box}body{margin:0;background:#F5F4F2;color:#202720;font:17px/1.4 Alegreya,Arial,sans-serif}h1,h2,h3,h4,h5,h6{font-family:Quetzalli,Arial,sans-serif;line-height:1.2}a{color:inherit}.official-header{background:#fff;position:relative;z-index:5}.gov-row,.menu-row{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px}.gov-row{height:64px}.gov-row>img{width:475px;max-width:68%;height:55px;object-fit:contain;object-position:left center}.gov-actions{display:flex;gap:10px}.gov-actions a{background:var(--forest);color:white;text-decoration:none;border-radius:3px;padding:6px 13px;font-size:13px;font-weight:700;letter-spacing:.03em}.menu-row{min-height:92px}.site-logo img{display:block;width:150px;max-height:88px;object-fit:contain}.site-nav{display:flex;align-items:center;gap:24px}.site-nav a{font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;color:#1d291e}.site-nav a:hover,.site-nav a[aria-current=page]{color:var(--wine)}.menu-toggle{display:none}.hero{height:445px;position:relative;background:#27352b;overflow:hidden}.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s;background-position:center 40%;background-size:cover}.hero-slide.active{opacity:1}.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);background:transparent;border:0;color:white;font:50px Alegreya;cursor:pointer;padding:5px 20px;z-index:2;text-shadow:0 1px 3px #0006}.hero-arrow.prev{left:10px}.hero-arrow.next{right:10px}.stats{position:relative;z-index:3;max-width:690px;margin:-52px auto 0;display:grid;grid-template-columns:1fr 1fr;border-radius:7px;overflow:hidden;box-shadow:0 6px 16px #0001}.stat{min-height:145px;padding:28px 35px 22px;color:white;background:var(--forest)}.stat:nth-child(2){background:var(--olive)}.stat p{font-family:Quetzalli;margin:0 0 17px;font-size:16px;line-height:1.15;min-height:48px}.meter{height:4px;background:#ffffff5c;margin-top:10px}.meter span{display:block;height:100%;background:#c4d5b4}.stat b{display:block;text-align:right;font-size:17px}.content-width{max-width:920px;margin:0 auto}.intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:75px 0 25px;align-items:start}.intro h2{font-size:25px;margin:20px 0 25px}.intro p{font-size:18px;line-height:1.35}.intro img{width:100%;border-radius:18px;display:block}.numbers{display:flex;gap:50px;margin:45px 0}.numbers strong{font-family:Quetzalli;font-size:48px;color:var(--forest)}.numbers span{display:block}.section{padding:55px 0}.section h2{font-size:31px;color:var(--forest)}.split{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.split img{width:100%;border-radius:14px}.types{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.type{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px #0001}.type img{width:100%;height:160px;object-fit:cover}.type h3{font-size:15px;padding:0 15px 16px}.banner{background:var(--forest);color:white;padding:45px;text-align:center;border-radius:16px}.official-footer{background:var(--forest);color:#fff;text-align:center;padding:30px;margin-top:70px}.internal{padding:35px 24px 65px;max-width:1100px;margin:auto}.internal>h1{font-size:36px;color:var(--forest)}.internal .page-content{font-size:17px;line-height:1.5}.internal img{max-width:100%;height:auto}.internal .page-content h1,.internal .page-content h2,.internal .page-content h3{color:var(--forest)}.internal .page-content p{margin:0 0 20px}.internal .page-content a{color:var(--wine)}.internal .page-content .slider-placeholder{display:none}.internal .page-content [style*="color: #FFFFFF"]{color:var(--forest)!important}
@media(max-width:1100px){.gov-row,.menu-row{padding:0 20px}.site-nav{gap:12px}.site-nav a{font-size:11px}.content-width{padding-left:22px;padding-right:22px}}@media(max-width:750px){.gov-row{height:auto;padding:12px 16px;flex-wrap:wrap}.gov-row>img{max-width:100%;width:330px}.gov-actions a{font-size:11px}.menu-row{padding:8px 16px;min-height:65px}.site-logo img{width:105px}.menu-toggle{display:block;border:0;background:none;font-size:26px;color:var(--forest);cursor:pointer}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:15px 20px;flex-direction:column;align-items:flex-start;box-shadow:0 8px 12px #0002}.site-nav.open{display:flex}.site-nav a{font-size:14px}.hero{height:340px}.stats{margin:-25px 15px 0;grid-template-columns:1fr}.stat{min-height:110px;padding:20px}.stat p{min-height:0}.intro,.split{grid-template-columns:1fr}.intro{padding-top:45px}.types{grid-template-columns:repeat(2,1fr)}.numbers{gap:20px}.numbers strong{font-size:35px}}

/* Ajustes de fidelidad a las capturas del inicio */
.home-page{background:#f5f5f5;color:#171717}
.home-page .gov-row,.home-page .menu-row{max-width:1160px}
.home-page .gov-row{height:62px}
.home-page .gov-row>img{width:510px;height:54px;object-position:center}
.home-page .menu-row{min-height:76px;align-items:center}
.home-page .site-logo img{width:118px;max-height:72px}
.home-page .site-nav{gap:27px}
.home-page .site-nav a{font-family:'Alegreya',sans-serif;font-size:11px;font-weight:700}
.home-page .hero{height:590px;background:#ddd}
.home-page .hero-slide{background-position:center 43%}
.home-page .hero-arrow{font-size:52px}
.home-page .stats{max-width:1125px;margin:-52px auto 0;grid-template-columns:1fr 1fr;border-radius:7px}
.home-page .stat{min-height:196px;padding:40px 46px 28px}
.home-page .stat p{font-size:17px;min-height:50px;letter-spacing:.02em}
.home-page .stat b{font-size:18px}
.home-page .meter{margin-top:10px}
.home-page .content-width{max-width:1010px}
.home-page .intro{grid-template-columns:1fr 1fr;gap:34px;padding:72px 0 25px;align-items:start}
.home-page .intro h2{font-size:25px;color:#111;margin:0 0 32px}
.home-page .intro p{font-size:19px;line-height:1.45}
.home-page .intro-photo{width:100%;height:445px;object-fit:cover;border-radius:0 0 20px 20px}
.home-page .numbers{gap:0;margin:40px 0 0;text-align:center}
.home-page .numbers>div{width:50%;padding:0 18px;display:flex;flex-direction:column;align-items:center}
.home-page .numbers>div+div{border-left:1px solid #e6e6e6}
.home-page .numbers strong{font-size:58px;line-height:1;color:var(--forest)}
.home-page .numbers span{font-size:17px;color:#666;margin:10px 0}
.home-page .numbers b{font-family:'Quetzalli';font-size:23px;color:var(--forest)}
.home-page .numbers small{font-size:16px;line-height:1.25;margin-top:6px}
.home-page .split{grid-template-columns:1fr 1.35fr;gap:30px;padding-top:38px;align-items:center}
.home-page .split img{width:100%;height:430px;object-fit:cover;border-radius:20px}
.home-page .split h2{font-size:25px;color:#111;margin:0 0 4px}
.home-page .split h3{font-size:23px;color:#111;margin:18px 0 8px}
.home-page .split p{font-size:19px;line-height:1.45;margin:12px 0 18px}
.home-page .call-button{display:inline-block;background:var(--forest);color:#fff;padding:11px 22px;text-decoration:none;font-size:14px;font-weight:700;letter-spacing:.03em}
.home-page .types-section{padding:45px 4px 60px}
.home-page .types{max-width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 10px;margin:0}
.home-page .type{background:transparent;border-radius:10px;box-shadow:none;text-align:center;overflow:hidden;padding-bottom:12px}
.home-page .type img{width:100%;height:240px;object-fit:contain;background:#fff;border-radius:12px}
.home-page .type strong{display:block;font-family:'Quetzalli';font-size:58px;line-height:1.1;color:var(--forest);margin-top:10px}
.home-page .type h3{font-family:'Quetzalli';font-size:25px;margin:8px 0 0;color:#303030}
.home-page .campaign-panel{margin:20px 0 0;padding:90px 20px;background:linear-gradient(#263328aa,#263328aa),url('images/mujer3.webp') center/cover no-repeat}
.home-page .campaign-inner{max-width:1160px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
.home-page .campaign-inner img{width:100%;height:560px;object-fit:cover;border-radius:28px}
.home-page .campaign-inner>div{background:var(--forest);color:white;border-radius:28px;padding:70px 65px;display:flex;flex-direction:column;justify-content:center}
.home-page .campaign-inner h2{font-size:30px;line-height:1.08;text-align:center;color:white;margin:0 0 34px}
.home-page .campaign-inner p{font-size:18px;line-height:1.55;text-align:justify}
.home-page .home-footer{display:grid;grid-template-columns:repeat(4,1fr);background:var(--forest);color:white;text-align:center}
.home-page .home-footer>div{min-height:185px;padding:35px 12px;background:var(--forest)}
.home-page .home-footer>div:nth-child(even){background:var(--olive)}
.home-page .home-footer h3{font-family:'Alegreya';font-size:21px;color:white;margin:0 0 26px}
.home-page .home-footer a{display:inline-block;border:1px solid white;border-radius:3px;color:white;padding:10px 24px;text-decoration:none;font-size:14px;font-weight:700}
.home-page .home-footer>p{grid-column:1/-1;margin:0;padding:16px;background:var(--forest);font-size:16px}
.home-page .back-top{position:fixed;right:25px;bottom:20px;border:1px solid #ddd;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;background:#ffffffaa;color:#aaa;text-decoration:none;font-size:28px;z-index:8}
@media(max-width:750px){
 .home-page .hero{height:360px}
 .home-page .stats{margin:-25px 14px 0;grid-template-columns:1fr}
 .home-page .stat{min-height:130px;padding:22px}
 .home-page .intro,.home-page .split{grid-template-columns:1fr;padding-left:20px;padding-right:20px}
 .home-page .intro-photo,.home-page .split img{height:auto;max-height:460px}
 .home-page .types{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 8px}
 .home-page .type img{height:150px}
 .home-page .type strong{font-size:38px}
 .home-page .type h3{font-size:17px}
 .home-page .campaign-inner{grid-template-columns:1fr}
 .home-page .campaign-inner img{height:350px}
 .home-page .campaign-inner>div{padding:32px 24px}
 .home-page .home-footer{grid-template-columns:repeat(2,1fr)}
}

/* Bloque de campaña y franja inferior, fieles a las referencias enviadas */
.home-page .campaign-panel{margin:0;padding:96px 20px;background: url("images/fondo-campana.webp") center/cover no-repeat}
.home-page .campaign-inner{max-width:1184px;grid-template-columns:576px 556px;gap:10px;align-items:stretch}
.home-page .campaign-inner img{width:100%;height:574px;object-fit:cover;object-position:center;border-radius:27px}
.home-page .campaign-inner>div{height:554px;align-self:center;padding:62px 76px;background:#2e3b2b;border-radius:28px}
.home-page .campaign-inner h2{font-size:30px;line-height:1.02;margin:0 0 36px}
.home-page .campaign-inner p{font-size:17px;line-height:1.62;text-align:justify;margin:0}
.home-page .footer-photo-strip{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;overflow:hidden}
.home-page .footer-photo-strip img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}
.home-page .home-footer{margin:0;grid-template-columns:repeat(4,1fr);border-radius:0 0 18px 18px;overflow:hidden}
.home-page .home-footer>div{height:188px;min-height:188px;padding:43px 12px 24px}
.home-page .home-footer h3{font-size:21px;margin-bottom:26px}
.home-page .home-footer>p{padding:17px}
@media(max-width:750px){
 .home-page .campaign-panel{padding:35px 16px}
 .home-page .campaign-inner{grid-template-columns:1fr;gap:14px}
 .home-page .campaign-inner img{height:auto;aspect-ratio:1/1;max-height:520px}
 .home-page .campaign-inner>div{height:auto;min-height:380px;padding:35px 26px}
 .home-page .campaign-inner h2{font-size:25px}
 .home-page .campaign-inner p{font-size:16px}
 .home-page .footer-photo-strip{height:auto;grid-template-columns:repeat(2,1fr)}
 .home-page .footer-photo-strip img{aspect-ratio:1/1;height:auto}
 .home-page .home-footer{grid-template-columns:repeat(2,1fr)}
}

/* Sistema tipográfico unificado solicitado */
.home-page{font-size:19px}
.home-page p,.home-page li,.home-page small,.home-page .numbers span,
.home-page .numbers small,.home-page .stat p,.home-page .campaign-inner p{font-size:19px}
.home-page h1,.home-page h2,.home-page h3,.home-page h4,.home-page h5,.home-page h6,
.home-page .home-footer h3,.home-page .type h3{font-family:'Quetzalli',Arial,sans-serif}
.home-page button,.home-page .call-button,.home-page .home-footer a,
.home-page .gov-actions a{font-size:18px}

/* Tarjetas interactivas: al pasar el cursor o enfocar con teclado muestran su descripción */
.home-page .types{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 12px}
.home-page .type{height:390px;min-width:0;background:transparent;box-shadow:none;perspective:1100px;overflow:visible;border-radius:12px}
.home-page .type-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.home-page .type:hover .type-inner,.home-page .type:focus .type-inner,.home-page .type:focus-within .type-inner{transform:rotateY(180deg)}
.home-page .type-front,.home-page .type-back{position:absolute;inset:0;overflow:hidden;border-radius:12px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.home-page .type-front{background:transparent;display:flex;flex-direction:column}
.home-page .type-front img{width:100%;height:288px;object-fit:contain;background:#fff;border-radius:12px;display:block}
.home-page .type-heading{flex:1;text-align:center;padding:12px 8px 8px}
.home-page .type-heading strong{display:block;font-family:'Quetzalli',Arial,sans-serif;font-size:58px;line-height:1.08;color:var(--forest);margin:0}
.home-page .type-heading h3,.home-page .type-back h3{font-family:'Quetzalli',Arial,sans-serif;font-size:25px;line-height:1.15;margin:7px 0;color:#303030}
.home-page .type-back{transform:rotateY(180deg);background:#ebe9df;color:#1d291e;padding:28px 24px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.home-page .type-back h3{font-size:27px;color:var(--forest);margin:0 0 18px}
.home-page .type-back p{font-family:'Alegreya',Arial,sans-serif;font-size:19px;line-height:1.45;margin:0}
.home-page .type:focus{outline:3px solid var(--olive);outline-offset:4px}
@media(max-width:900px){.home-page .types{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page .type{height:360px}.home-page .type-front img{height:250px}}
@media(max-width:520px){.home-page .types{grid-template-columns:1fr}.home-page .type{height:390px}.home-page .type-front img{height:280px}}

/* Tipos de violencia: porcentaje y título permanecen fijos; sólo gira la imagen */
.home-page .types-intro{max-width:1180px;margin:0 auto 28px;padding:0 8px}
.home-page .types-intro h2{font-family:'Quetzalli',Arial,sans-serif;font-size:32px;margin:0 0 8px;color:var(--forest)}
.home-page .types-intro p{font-family:'Alegreya',Arial,sans-serif;font-size:19px;line-height:1.4;margin:0}
.home-page .types{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 12px}
.home-page .type{height:auto;min-height:0;perspective:none;overflow:visible;background:transparent;box-shadow:none;border-radius:0;text-align:center}
.home-page .type-visual{height:288px;width:100%;perspective:1100px;cursor:pointer;border-radius:12px;outline-offset:4px}
.home-page .type-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.home-page .type-visual:hover .type-inner,
.home-page .type-visual:focus .type-inner,
.home-page .type-visual.is-flipped .type-inner{transform:rotateY(180deg)}
.home-page .type-front,.home-page .type-back{position:absolute;inset:0;overflow:hidden;border-radius:12px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.home-page .type-front{background:#fff}
.home-page .type-front img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:12px}
.home-page .type-back{transform:rotateY(180deg);background:#ebe9df;color:#1d291e;padding:24px;display:flex;align-items:center;justify-content:center;text-align:center}
.home-page .type-back p{font-family:'Alegreya',Arial,sans-serif;font-size:19px;line-height:1.45;margin:0}
.home-page .type-visual:focus{outline:3px solid var(--olive)}
.home-page .type-meta{min-height:135px;padding:12px 8px 8px;text-align:center}
.home-page .type-percentage{font-family:'Quetzalli',Arial,sans-serif;font-size:58px;font-weight:700;line-height:1.05;color:var(--forest);margin:0 0 12px}
.home-page .type-meta h3{font-family:'Quetzalli',Arial,sans-serif;font-size:25px;line-height:1.15;margin:0;color:#303030}
.home-page .stat .meter{overflow:hidden}
.home-page .stat .meter-fill{display:block;width:0;height:100%;background:#c4d5b4;transition:width 1.7s cubic-bezier(.2,.7,.2,1)}
.home-page .stat .meter-fill.is-filled{width:var(--fill-width)}
@media(max-width:900px){.home-page .types{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.home-page .types{grid-template-columns:1fr}.home-page .type-visual{height:280px}.home-page .type-percentage{font-size:48px}}

/* Ajuste de alineación y estructura de la cuadrícula de tipos */
.home-page .types-section{width:100%;padding:48px 4px 60px;box-sizing:border-box}
.home-page .types-intro{width:min(100% - 48px,1400px);margin:0 auto 30px;text-align:center}
.home-page .types-intro h2{text-align:center;margin:0 auto 10px}
.home-page .types-intro p{text-align:center;max-width:1250px;margin:0 auto}
.home-page .types{width:min(100% - 24px,1600px);margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;justify-items:stretch;gap:34px 12px}
.home-page .type{width:100%;min-width:0;display:flex;flex-direction:column;align-items:stretch;overflow:visible;padding:0;margin:0;background:transparent;box-shadow:none}
.home-page .type-visual{display:block;width:100%;height:288px;flex:none;overflow:visible}
.home-page .type-front img{width:100%;height:100%;object-fit:contain;padding:0;margin:0;border-radius:12px;background:#fff}
.home-page .type-meta{display:block;width:100%;min-height:132px;box-sizing:border-box;text-align:center}
.home-page .type-percentage{display:block;text-align:center}
.home-page .type-meta h3{display:block;text-align:center;padding:0;margin:8px 0 0}
@media(max-width:900px){.home-page .types{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.home-page .types{grid-template-columns:1fr;max-width:440px}.home-page .types-intro{width:calc(100% - 32px)}}

/* Encabezado institucional actualizado */
.home-page .official-header{background:#fff}
.home-page .gov-row{height:104px;max-width:1500px;padding:8px 24px;box-sizing:border-box}
.home-page .gov-row>img{width:min(1122px,calc(100% - 210px));max-width:none;height:90px;object-fit:contain;object-position:left center;background:#fff}
.home-page .menu-row{max-width:1500px;min-height:100px;padding:8px 24px;box-sizing:border-box;gap:36px}
.home-page .site-logo img{width:180px;max-height:94px;object-fit:contain}
.home-page .site-nav{gap:22px}
.home-page .site-nav a{font-size:15px;line-height:1.25}
@media(max-width:900px){
 .home-page .gov-row{height:auto;min-height:82px;padding:8px 16px}
 .home-page .gov-row>img{width:calc(100% - 150px);height:auto;max-height:72px}
 .home-page .menu-row{min-height:86px;padding:8px 16px}
 .home-page .site-logo img{width:150px;max-height:80px}
 .home-page .site-nav a{font-size:14px}
}
@media(max-width:640px){
 .home-page .gov-row>img{width:100%;max-width:100%;height:auto;max-height:none}
 .home-page .gov-row{flex-wrap:wrap;justify-content:center}
 .home-page .gov-actions{margin:0 auto 4px}
 .home-page .site-logo img{width:145px}
 .home-page .site-nav a{font-size:16px}
}

/* Paleta institucional Morelos */
:root{
 --forest:#2E3B2B;
 --neutral:#CBCABE;
 --wine:#4D263C;
 --brown:#7C4A36;
 --olive:#71785B;
 --sand:#BC9B73;
}
.home-footer{background:var(--forest)}
.home-footer>div:nth-child(even){background:var(--olive)}
.home-footer>div:nth-child(odd){background:var(--forest)}
.home-footer .footer-cenefa{
 display:block;
 width:100%;
 height:23px;
 object-fit:cover;
 object-position:center;
 margin:0;
 padding:0;
 grid-column:1/-1;
}
.home-footer p{background:var(--forest)}
.site-nav a:hover,.site-nav a[aria-current=page]{color:var(--wine)}
.gov-actions a,.help-button,.cta-button{background:var(--forest)}


/* Ajustes de identidad visual solicitados */
:root{--forest:#2E3B2B;--wine:#4D263C}
h1,h2,h3,h4,h5,h6,
.home-page .intro h2,.home-page .split h2,.home-page .split h3,
.internal>h1,.internal .page-content h1,.internal .page-content h2,.internal .page-content h3{
  color:#2E3B2B;
}
/* Botones guinda; los botones informativos de las tarjetas conservan su estilo */
button:not(.menu-toggle):not(.hero-arrow),
.call-button,.gov-actions a,
a.button,a.btn,.wp-element-button,.elementor-button{
  background-color:#4D263C!important;
  border-color:#4D263C!important;
  color:#fff!important;
}
.home-page .home-footer a{background:transparent!important;border-color:#fff!important;color:#fff!important}
.home-page .type strong,
.home-page .type .type-percentage,
.home-page .type .type-meta .type-percentage{
  font-weight:800!important;
}


/* Pleca de accesos: fondo blanco y acentos institucionales armonizados */
.home-page .home-footer{
  background:#fff!important;
  color:#2E3B2B!important;
  border-top:1px solid #CBCABE;
  border-bottom:1px solid #CBCABE;
  gap:0;
}
.home-page .home-footer>div,
.home-page .home-footer>div:nth-child(even){
  background:#fff!important;
  color:#2E3B2B!important;
  min-height:188px;
  border-right:1px solid #E7E5DE;
  position:relative;
}
.home-page .home-footer>div:last-of-type{border-right:0}
.home-page .home-footer>div:before{
  content:"";
  position:absolute;
  top:0;left:22%;right:22%;
  height:4px;
  background:#71785B;
  border-radius:0 0 4px 4px;
}
.home-page .home-footer>div:nth-child(2):before,
.home-page .home-footer>div:nth-child(4):before{background:#4D263C}
.home-page .home-footer h3{
  color:#2E3B2B!important;
  font-family:'Quetzalli',sans-serif;
  font-size:21px;
  font-weight:700;
}
.home-page .home-footer a{
  background:#4D263C!important;
  border:1px solid #4D263C!important;
  color:#fff!important;
  border-radius:4px;
  transition:background .2s ease,transform .2s ease;
}
.home-page .home-footer a:hover{
  background:#5E2844!important;
  border-color:#5E2844!important;
  transform:translateY(-2px);
}
.home-page .home-footer>p{
  background:#2E3B2B!important;
  color:#fff!important;
}
@media(max-width:750px){
  .home-page .home-footer>div{border-bottom:1px solid #E7E5DE}
}


/* Ajustes de acabado: fondo cálido, fotografías contenidas y estadísticas bicolor */
.home-page{
  background:#f5f4f2;
}
.home-page .footer-photo-strip{
  display:grid;
  width:100%;
  height:510px;
  overflow:hidden;
  margin:0;
  padding:0;
  line-height:0;
  align-items:stretch;
}
.home-page .footer-photo-strip img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  margin:0;
  padding:0;
  vertical-align:top;
}
/* Evita que la cenefa sobresalga debajo o invada el cierre fotográfico */
.home-page .home-footer{
  overflow:hidden;
  background:#f5f4f2!important;
  border:0;
}
.home-page .home-footer>div,
.home-page .home-footer>div:nth-child(even){
  background:#f5f4f2!important;
}
.home-page .home-footer>div:before{display:none}
.home-page .home-footer>p{
  background:#2E3B2B!important;
  color:#fff!important;
}
.home-page .home-footer .footer-cenefa{
  display:block;
  width:100%;
  height:18px;
  max-height:18px;
  object-fit:cover;
  overflow:hidden;
  margin:0;
  padding:0;
  line-height:0;
}
/* Tarjetas de datos: beige al 40% a la izquierda y guinda a la derecha */
.home-page .stats .stat:first-child{
  background:#FBF6F0!important;
  color:#2E3B2B!important;
}
.home-page .stats .stat:first-child p,
.home-page .stats .stat:first-child b{color:#2E3B2B!important}
.home-page .stats .stat:first-child .meter{background:rgba(46,59,43,.25)}
.home-page .stats .stat:first-child .meter-fill{background:#2E3B2B}
.home-page .stats .stat:nth-child(2){
  background:#4D263C!important;
  color:#fff!important;
}
.home-page .stats .stat:nth-child(2) p,
.home-page .stats .stat:nth-child(2) b{color:#fff!important}
.home-page .stats .stat:nth-child(2) .meter{background:rgba(255,255,255,.35)}
.home-page .stats .stat:nth-child(2) .meter-fill{background:#fff}
@media(max-width:750px){
 .home-page .footer-photo-strip{height:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-page .footer-photo-strip img{height:240px}
 .home-page .home-footer .footer-cenefa{height:14px;max-height:14px}
}


/* Pulido visual final de accesos e imágenes */
.home-page .home-footer a{
  border-radius:10px!important;
  overflow:hidden;
}
.home-page .footer-photo-strip{
  gap:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#f5f4f2!important;
  overflow:hidden!important;
  font-size:0!important;
}
.home-page .footer-photo-strip img{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  vertical-align:top!important;
  transform:translateZ(0);
}
.home-page .footer-photo-strip + .home-footer{
  margin-top:0!important;
  border-top:0!important;
}
.home-page .home-footer>div{
  border-top:0!important;
}


/* Uniformar esquinas redondeadas en todos los botones del sitio */
.home-page button,
.home-page a.button,
.home-page .button,
.home-page .btn,
.home-page input[type="button"],
.home-page input[type="submit"],
.home-page input[type="reset"],
.home-page [role="button"],
.home-page .home-footer a{
  border-radius:10px!important;
}


/* Guinda institucional exacto y botones redondeados */
.home-page{
  --wine:#4D263C;
}
.home-page button,
.home-page a.button,
.home-page a.btn,
.home-page .button,
.home-page .btn,
.home-page .call-button,
.home-page .gov-actions a,
.home-page .help-button,
.home-page .cta-button,
.home-page .official-header a[role="button"],
.home-page input[type="button"],
.home-page input[type="submit"],
.home-page input[type="reset"],
.home-page [role="button"]{
  border-radius:12px!important;
}
.home-page .gov-actions a,
.home-page .help-button,
.home-page .cta-button,
.home-page .call-button{
  background-color:#4D263C!important;
}


/* Colores actualizados del bloque de estadísticas */
.home-page .stats .stat:first-child{
  background:#d3d6d5!important;
  color:#2E3B2B!important;
}
.home-page .stats .stat:first-child p,
.home-page .stats .stat:first-child b{
  color:#2E3B2B!important;
}
.home-page .stats .stat:first-child .meter{
  background:rgba(46,59,43,.24)!important;
}
.home-page .stats .stat:first-child .meter span{
  background:#2E3B2B!important;
}
.home-page .stats .stat:nth-child(2){
  background:#a7aeaa!important;
  color:#2E3B2B!important;
}
.home-page .stats .stat:nth-child(2) p,
.home-page .stats .stat:nth-child(2) b{
  color:#2E3B2B!important;
}
.home-page .stats .stat:nth-child(2) .meter{
  background:rgba(46,59,43,.24)!important;
}
.home-page .stats .stat:nth-child(2) .meter span{
  background:#2E3B2B!important;
}

/* Guinda solicitado para botones y elementos de acción */
.home-page{
  --wine:#6f3756;
}
.home-page button:not(.menu-toggle):not(.hero-arrow),
.home-page .call-button,
.home-page .gov-actions a,
.home-page .help-button,
.home-page .cta-button,
.home-page a.button,
.home-page a.btn,
.home-page .button,
.home-page .btn,
.home-page input[type="button"],
.home-page input[type="submit"],
.home-page input[type="reset"],
.home-page [role="button"]{
  background-color:#6f3756!important;
}




/* Fondo solicitado únicamente para la cara posterior de las tarjetas al voltearse */
.home-page .violence-card .card-back,
.home-page .violence-card .flip-card-back,
.home-page .type-card .card-back,
.home-page .type-card .flip-card-back,
.home-page .violence-type-card .card-back,
.home-page .violence-type-card .flip-card-back{
  background-color:#D3D6D5!important;
}

/* Color solo en el reverso de cada tarjeta al voltearse */
.home-page .type-back{
  background-color:#D3D6D5!important;
}

/* Ajuste de amplitud para las dos secciones informativas del inicio */
.home-page .content-width{
  max-width:1180px;
}
.home-page .intro{
  gap:48px;
}
.home-page .numbers strong{
  color:#6f3756!important;
}
@media(max-width:1230px){
  .home-page .content-width{
    max-width:calc(100% - 64px);
  }
}
@media(max-width:750px){
  .home-page .content-width{
    max-width:100%;
  }
}

/* Fondo base general de la página, tomado de la referencia */
html, body { background-color: #F5F4F2; }



/* Encabezado superior completamente blanco */
.official-header,
.official-header .gov-row,
.official-header .menu-row{
  background:#fff!important;
}
.official-header .site-nav a,
.official-header .menu-toggle{
  color:#2E3B2A!important;
}
.official-header .site-nav a:hover,
.official-header .site-nav a[aria-current="page"]{
  color:#6f3756!important;
}
/* Los botones superiores conservan su estilo original */
.official-header .gov-actions a{
  background:var(--forest)!important;
  color:#fff!important;
}
/* Verde olivo únicamente en la franja que contiene los logos del footer */
.official-footer,
.home-footer{
  background:#2E3B2A!important;
}
.footer-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  background:#71785B!important;
  padding:18px 20px;
}
.footer-brand img{
  display:block;
  width:min(310px, 80vw);
  height:auto;
  object-fit:contain;
}


/* Corrección exacta del bloque de logotipos institucionales del footer del inicio */
.home-page footer.home-footer > .footer-cenefa{
  display:block!important;
  grid-column:1 / -1!important;
  width:100%!important;
  height:28px!important;
  max-height:28px!important;
  min-height:28px!important;
  object-fit:cover!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
}
.home-page footer.home-footer > .footer-brand{
  grid-column:1 / -1!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  width:100%!important;
  min-height:193px!important;
  height:193px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 55px!important;
  background-color:#2E3B2B!important;
  text-align:left!important;
  border:0!important;
}
.home-page footer.home-footer > .footer-brand > img{
  display:block!important;
  width:380px!important;
  max-width:calc(100vw - 110px)!important;
  height:auto!important;
  max-height:120px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
}


/* Logo institucional del footer en SVG para conservar nitidez */
.home-page .footer-brand > img,
.official-footer .footer-brand > img{
  width:380px!important;
  max-width:calc(100vw - 110px)!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* Hero del inicio: separado de los bordes y con esquinas redondeadas */
.home-page .hero{
  width:calc(100% - 64px)!important;
  max-width:calc(100% - 64px)!important;
  margin:22px auto 28px!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.home-page .hero-slide{
  border-radius:20px!important;
}
@media (max-width:700px){
  .home-page .hero{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
    margin:14px auto 20px!important;
    border-radius:14px!important;
  }
  .home-page .hero-slide{border-radius:14px!important}
}

/* Campañas: carrusel con las imágenes originales en su proporción nativa */
.campaign-gallery{position:relative;width:min(1000px,calc(100% - 48px));margin:24px auto 34px;overflow:hidden;border-radius:12px;background:transparent;aspect-ratio:1000/537}
.campaign-gallery-track{position:absolute;inset:0}
.campaign-gallery-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .6s ease}
.campaign-gallery-slide.active{opacity:1}
.campaign-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:46px;border:0;border-radius:50%;background:var(--wine);color:#fff;font-size:32px;line-height:1;cursor:pointer}
.campaign-gallery-arrow.prev{left:14px}.campaign-gallery-arrow.next{right:14px}
@media(max-width:750px){.campaign-gallery{width:calc(100% - 28px);margin:16px auto 24px}}

/* Reeducación de mujeres: imagen y acordeón desplegable con la paleta institucional */
.women-support{max-width:1190px;margin:58px auto 72px;padding:0 24px;display:grid;grid-template-columns:minmax(320px,1fr) minmax(380px,1fr);gap:24px;align-items:start}
.women-support-photo{min-width:0}
.women-support-photo img{display:block;width:100%;height:535px;object-fit:cover;object-position:center 43%;border-radius:22px}
.women-support-content{padding:0 0 0 0}
.women-support-content h2{font-family:Quetzalli,sans-serif;color:#2E3B2B;font-size:27px;line-height:1.2;margin:0 0 12px}
.women-support-lead{font-family:Quetzalli,sans-serif;font-size:19px;line-height:1.45;color:#202020;margin:0 0 18px}
.women-accordion{display:grid;gap:9px}
.women-accordion details{background:#2E3B2B;color:#fff;border-radius:9px;overflow:hidden;box-shadow:0 3px 10px #00000012;transition:background .2s ease}
.women-accordion details[open]{background:#6f3756}
.women-accordion summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;padding:17px 20px;font-family:Quetzalli,sans-serif;font-size:17px;font-weight:800;letter-spacing:.015em}
.women-accordion summary::-webkit-details-marker{display:none}
.women-accordion summary:focus-visible{outline:3px solid #bc9b73;outline-offset:-4px}
.women-accordion .accordion-icon{width:10px;height:10px;flex:0 0 10px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);transition:transform .2s ease;margin:0 4px 5px 0}
.women-accordion details[open] .accordion-icon{transform:rotate(225deg);margin-top:7px}
.women-accordion .accordion-panel{padding:0 20px 19px;border-top:1px solid #ffffff45}
.women-accordion .accordion-panel p{font-family:Quetzalli,sans-serif;color:#fff;font-size:18px;line-height:1.5;margin:14px 0 0}
.women-accordion .accordion-panel a{display:inline-block;margin-top:12px;padding:9px 17px;border-radius:999px;background:#bc9b73;color:#2E3B2B;text-decoration:none;font-size:16px;font-weight:800}
.women-accordion .accordion-panel a:hover{background:#d3d6d5}
@media(max-width:800px){
 .women-support{grid-template-columns:1fr;margin:38px auto 48px;padding:0 18px;gap:24px}
 .women-support-photo img{height:auto;max-height:520px;aspect-ratio:1/1;object-fit:cover}
 .women-support-content h2{font-size:24px}
 .women-support-lead{font-size:18px}
 .women-accordion summary{min-height:58px;font-size:16px}
 .women-accordion .accordion-panel p{font-size:17px}
}

/* Hero específico de Reeducación de mujeres: fotografía y llamada institucional */
.women-hero{position:relative;height:640px;min-height:480px;margin:0 0 0;background-image:url('images/violencia4.webp');background-size:cover;background-position:center 38%;border-radius:0;display:flex;align-items:flex-end;justify-content:center}
.women-hero-callout{position:relative;z-index:2;width:min(1110px,calc(100% - 48px));margin:0 auto -105px;padding:42px 28px 34px;background:#2E3B2B;color:#fff;border-radius:10px;text-align:center;box-shadow:0 12px 32px #00000018}
.women-hero-callout h2{font-family:Quetzalli,sans-serif;color:#fff;font-size:25px;font-weight:800;margin:0 0 25px}
.women-hero-phone{display:inline-block;color:#fff;text-decoration:none;font-family:Quetzalli,sans-serif;font-size:30px;font-weight:900;line-height:1.2;margin:0 0 20px}
.women-hero-callout p{font-family:Quetzalli,sans-serif;color:#fff;font-size:28px;font-weight:800;margin:0}
.women-page-content{padding-top:135px}
.women-page-title{display:block;text-align:center!important;color:#2E3B2B!important;font-family:Quetzalli,sans-serif!important;font-size:42px!important;line-height:1.15!important;font-weight:800!important;margin:0 auto 22px!important}
.women-page-content>p:first-of-type{max-width:1120px;margin:0 auto 30px!important;font-size:19px!important;line-height:1.55}
@media(max-width:800px){
 .women-hero{height:430px;min-height:380px;background-position:center}
 .women-hero-callout{width:calc(100% - 32px);margin-bottom:-78px;padding:28px 18px 24px}
 .women-hero-callout h2{font-size:21px;margin-bottom:18px}
 .women-hero-phone{font-size:25px;margin-bottom:13px}
 .women-hero-callout p{font-size:22px}
 .women-page-content{padding-top:105px}
 .women-page-title{font-size:32px!important;margin-bottom:18px!important}
}

/* Ajustes finales de la página Mujeres: hero institucional y tarjetas fotográficas */
.women-hero.women-hero-medical{
  height:454px;min-height:0;margin:0;border-radius:0;
  background-image:linear-gradient(rgba(46,59,43,.58),rgba(46,59,43,.58)),url('images/hero-manos-veda.jpg');
  background-size:cover;background-position:center 48%;
  display:flex;align-items:center;justify-content:center;
}
.women-medical-copy{width:min(1500px,calc(100% - 48px));text-align:center;color:#fff;padding:24px 12px}
.women-medical-copy>p{margin:0 0 22px;color:#fff;font-size:24px;line-height:1.2;font-weight:800;letter-spacing:1.5px}
.women-medical-copy h2{margin:0 auto 26px;color:#fff;font-size:64px;line-height:1.08;font-weight:900;max-width:1400px}
.women-directory-button{display:inline-flex;align-items:center;justify-content:center;gap:34px;min-width:218px;padding:17px 28px;background:#2E3B2B;color:#fff;text-decoration:none;border-radius:6px;font-size:18px;font-weight:700}
.women-directory-button span{font-size:22px}
.women-photo-cards{height:510px;margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.women-photo-cards img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:750px){
 .women-hero.women-hero-medical{height:360px;background-position:center}
 .women-medical-copy{width:calc(100% - 28px)}
 .women-medical-copy>p{font-size:14px;margin-bottom:16px}
 .women-medical-copy h2{font-size:32px;margin-bottom:20px}
 .women-directory-button{min-width:170px;padding:13px 20px;font-size:15px;gap:20px}
 .women-photo-cards{height:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
 .women-photo-cards img{aspect-ratio:1/1;height:auto}
}

/* Hero de contacto original restaurado; banner médico separado antes de las tarjetas */
.women-hero.women-hero-medical{display:none!important}
.women-hero:not(.women-hero-medical){
 height:640px;min-height:480px;margin:0;background-image:url('images/violencia4.webp');
 background-size:cover;background-position:center 38%;display:flex;align-items:flex-end;justify-content:center
}
.women-hero:not(.women-hero-medical) .women-hero-callout{
 width:min(1110px,calc(100% - 48px));margin:0 auto -105px;padding:42px 28px 34px;
 background:#2E3B2B;color:#fff;border-radius:10px;text-align:center;box-shadow:0 12px 32px #00000018
}
.women-medical-banner{
 height:454px;min-height:0;margin:50px 0 0;
 background-image:linear-gradient(rgba(46,59,43,.58),rgba(46,59,43,.58)),url('images/hero-manos-veda.jpg');
 background-size:cover;background-position:center 48%;
 display:flex;align-items:center;justify-content:center
}
.women-medical-banner .women-medical-copy{width:min(1500px,calc(100% - 48px));text-align:center;color:#fff;padding:24px 12px}
@media(max-width:750px){
 .women-hero:not(.women-hero-medical){height:430px;min-height:380px;background-position:center}
 .women-hero:not(.women-hero-medical) .women-hero-callout{width:calc(100% - 32px);margin-bottom:-78px;padding:28px 18px 24px}
 .women-medical-banner{height:360px;margin-top:35px;background-position:center}
 .women-medical-banner .women-medical-copy{width:calc(100% - 28px)}
}

/* Reeducación de hombres: mismos componentes y medidas de la página de mujeres */
.men-medical-banner{
  background-image:linear-gradient(rgba(46,59,43,.58),rgba(46,59,43,.58)),url('images/hero-manos-veda.jpg');
  background-size:cover;background-position:center 48%;
}
.men-contact-banner{
  background-image:linear-gradient(#00000012,#00000012),url('images/hombre2.webp');
  background-size:cover;background-position:center 42%;
}

/* Ajuste explícito del hero superior de Reeducación de hombres */
body .women-hero.men-contact-banner{
  background:linear-gradient(#00000012,#00000012),url('images/hombre2.webp') center 42% / cover no-repeat !important;
}


/* Video de Reeducación de hombres: entre el contenido y el banner inferior */
.men-video-section{
  width:100%;
  padding:54px 24px 58px;
  background:#f5f4f2;
}
.men-video-wrap{
  width:min(1200px,100%);
  margin:0 auto;
  overflow:hidden;
  border-radius:12px;
  background:#2E3B2B;
  box-shadow:0 10px 28px #00000012;
}
.men-video-wrap video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:contain;
}
@media(max-width:750px){
  .men-video-section{padding:34px 16px 40px}
  .men-video-wrap{border-radius:9px}
}


/* Hero de Violencia en el noviazgo: mismo componente y medidas que Mujeres y Hombres */
body .women-hero.noviazgo-contact-banner{
  background-image:linear-gradient(#00000012,#00000012),url('images/jovenes2.webp') !important;
  background-size:cover !important;
  background-position:center 42% !important;
}


/* Estadísticas de Violencia en el noviazgo */
.dating-stats{
  width:100%;
  max-width:1760px;
  margin:0 auto;
  padding:44px clamp(20px,3.5vw,64px) 42px;
  color:#171717;
  background:#f5f4f2;
  text-align:center;
}
.dating-stats h2{
  margin:0 0 20px;
  color:#2E3B2B;
  font-family:Quetzalli,sans-serif;
  font-size:clamp(30px,2.4vw,46px);
  line-height:1.15;
  font-weight:800;
}
.dating-stats-intro{
  margin:0 0 36px;
  font-size:18px;
  font-weight:800;
}
.dating-stats-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:start;
  gap:22px;
}
.dating-stat{min-width:0;padding:0 8px}
.dating-stat-number{
  color:#2E3B2B;
  font-size:clamp(48px,4.1vw,72px);
  line-height:1.05;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  letter-spacing:-1.5px;
}
.dating-stat-kicker{
  color:#5c6064;
  font-size:20px;
  line-height:1.3;
  margin:12px 0 14px;
}
.dating-stat h3{
  color:#6f3756;
  font-size:clamp(20px,1.6vw,29px);
  line-height:1.2;
  font-weight:800;
  margin:0 0 8px;
}
.dating-stat>p:last-child{
  font-size:18px;
  line-height:1.45;
  margin:0;
}
.dating-stats-source{
  margin:30px 0 0;
  font-size:13px;
  line-height:1.4;
}
@media(max-width:1050px){
  .dating-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:34px}
}
@media(max-width:650px){
  .dating-stats{padding:34px 18px}
  .dating-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}
  .dating-stat-kicker{font-size:16px}
  .dating-stat>p:last-child{font-size:15px}
  .dating-stats-source{font-size:11px}
}


/* Ajuste solicitado: estadísticas a ancho completo y etiquetas en guinda */
.dating-stats{
  width:100%;
  max-width:none;
}
.dating-stats-grid{
  width:100%;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.dating-stat{
  width:100%;
}
.dating-stat-number{
  display:block;
  width:100%;
}
.dating-stat h3,
.dating-stat-kicker{
  color:#6f3756;
}
@media(max-width:1050px){
  .dating-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .dating-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Estadísticas de noviazgo: ocupar todo el ancho de la ventana */
.dating-stats{
  box-sizing:border-box;
  position:relative;
  width:100vw;
  max-width:100vw;
  left:50%;
  margin-left:-50vw;
  padding-left:clamp(22px,4vw,80px);
  padding-right:clamp(22px,4vw,80px);
  color:#2E3B2B;
}
.dating-stats h2,
.dating-stats-intro,
.dating-stat-kicker,
.dating-stat h3,
.dating-stat>p,
.dating-stats-source{
  color:#2E3B2B;
}
.dating-stat-number,
.dating-stat-number .count-up{
  color:#6f3756;
}
.dating-stats-grid{
  width:100%;
  max-width:none;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
@media(max-width:1050px){
  .dating-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .dating-stats{
    padding-left:18px;
    padding-right:18px;
  }
  .dating-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Separación entre las estadísticas y el siguiente bloque */
.dating-stats-source-spaced{
  margin-bottom:clamp(58px,7vw,112px)!important;
}

/* Ciclo de violencia: composición editorial de dos columnas */
.violence-cycle{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);
  gap:clamp(42px,6vw,110px);
  align-items:center;
  padding:10px 0 70px;
  color:#202020;
}
.violence-cycle-copy h2{
  color:#2E3B2B;
  font-size:clamp(30px,2.35vw,46px);
  line-height:1.15;
  margin:0 0 26px;
  font-weight:800;
}
.violence-cycle-copy p{
  font-size:clamp(17px,1.35vw,25px);
  line-height:1.65;
  margin:0 0 34px;
  text-align:justify;
}
.violence-cycle-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 0;
}
.cycle-ring{
  position:relative;
  width:min( min(100%,560px), 38vw);
  aspect-ratio:1;
  border:7px solid #2E3B2B;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cycle-detail{
  width:68%;
  text-align:center;
  padding:10px;
}
.cycle-detail h3{
  font-size:clamp(19px,1.55vw,29px);
  line-height:1.25;
  color:#333;
  font-weight:500;
  margin:0 0 24px;
}
.cycle-detail p{
  font-size:clamp(16px,1.25vw,23px);
  line-height:1.65;
  color:#333;
  margin:0;
}
.cycle-node{
  position:absolute;
  width:clamp(82px,6.2vw,120px);
  aspect-ratio:1;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#333;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
  z-index:2;
}
.cycle-node svg{
  width:52%;
  height:52%;
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.cycle-node:hover,.cycle-node:focus-visible,.cycle-node.is-active{
  background:#333;
  color:#fff;
  transform:scale(1.04);
  outline:0;
}
.cycle-node:focus-visible{box-shadow:0 0 0 4px #bc9b73}
.cycle-node-top{top:0;left:50%;transform:translate(-50%,-50%)}
.cycle-node-top:hover,.cycle-node-top:focus-visible,.cycle-node-top.is-active{transform:translate(-50%,-50%) scale(1.04)}
.cycle-node-left{left:12%;bottom:2%;transform:translate(-50%,50%)}
.cycle-node-left:hover,.cycle-node-left:focus-visible,.cycle-node-left.is-active{transform:translate(-50%,50%) scale(1.04)}
.cycle-node-right{right:12%;bottom:2%;transform:translate(50%,50%)}
.cycle-node-right:hover,.cycle-node-right:focus-visible,.cycle-node-right.is-active{transform:translate(50%,50%) scale(1.04)}
@media(max-width:900px){
  .violence-cycle{grid-template-columns:1fr;gap:26px}
  .cycle-ring{width:min(78vw,520px)}
  .violence-cycle-copy p{text-align:left}
}
@media(max-width:560px){
  .dating-stats-source-spaced{margin-bottom:48px!important}
  .violence-cycle{padding-bottom:45px}
  .cycle-ring{width:min(82vw,420px);border-width:5px}
  .cycle-node{width:76px}
  .cycle-detail{width:72%}
}


/* Ajustes finales de ancho, escala y geometría del ciclo */
.dating-stats-source-spaced{
  margin-bottom:clamp(100px,11vw,170px)!important;
}
.violence-cycle{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  box-sizing:border-box;
  padding:10px clamp(24px,6.5vw,134px) 70px;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:clamp(34px,5vw,90px);
}
.violence-cycle-copy h2{
  font-size:clamp(27px,2vw,39px);
}
.violence-cycle-copy p{
  font-size:clamp(15px,1.08vw,20px);
  line-height:1.62;
  margin-bottom:28px;
}
.violence-cycle-visual{
  min-width:0;
  width:100%;
  overflow:visible;
}
.cycle-ring{
  box-sizing:border-box;
  display:block;
  flex:0 0 auto;
  width:min( min(100%,560px), 34vw);
  min-width:0;
  height:auto;
  aspect-ratio:1 / 1;
  border-radius:50%;
  position:relative;
}
.cycle-node{
  box-sizing:border-box;
  flex:0 0 auto;
  width:clamp(76px,6vw,112px);
  height:clamp(76px,6vw,112px);
  min-width:0;
  aspect-ratio:1 / 1;
  border-radius:50%;
  padding:0;
  overflow:hidden;
}
.cycle-detail h3{
  font-size:clamp(17px,1.35vw,25px);
  margin-bottom:18px;
}
.cycle-detail p{
  font-size:clamp(14px,1.05vw,19px);
  line-height:1.55;
}
@media(max-width:900px){
  .violence-cycle{
    width:100%;
    margin-left:0;
    padding:10px 24px 55px;
    grid-template-columns:minmax(0,1fr);
  }
  .cycle-ring{
    width:min(78vw,500px);
  }
}
@media(max-width:560px){
  .dating-stats-source-spaced{margin-bottom:80px!important}
  .cycle-ring{width:min(82vw,420px)}
  .cycle-node{width:72px;height:72px}
}


/* Corrección de centrado del contenido y botones circulares */
.violence-cycle-visual{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0}
.cycle-ring{
  width:min(72vw,560px)!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  flex:none!important;
  position:relative!important;
  border-radius:50%!important;
}
.cycle-detail{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  width:72%!important;
  max-width:400px!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
  text-align:center!important;
}
.cycle-detail h3,
.cycle-detail p{
  width:100%!important;
  text-align:center!important;
  overflow-wrap:break-word;
}
.cycle-node{
  width:clamp(76px,6vw,112px)!important;
  height:clamp(76px,6vw,112px)!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}
.dating-stats-source-spaced{
  margin-top:clamp(52px,6vw,88px)!important;
  margin-bottom:18px!important;
}
@media(max-width:900px){
  .cycle-ring{width:min(78vw,500px)!important}
  .cycle-detail{width:72%!important}
}
@media(max-width:560px){
  .cycle-ring{width:min(82vw,420px)!important}
  .cycle-node{width:72px!important;height:72px!important}
  .cycle-detail{width:70%!important}
  .dating-stats-source-spaced{margin-top:44px!important;margin-bottom:12px!important}
}


/* Ajuste solicitado: nodos redondos y espaciado moderado de la fuente */
.violence-cycle .cycle-ring button.cycle-node,
.violence-cycle .cycle-ring .cycle-node{
  width:clamp(76px,6vw,112px)!important;
  height:clamp(76px,6vw,112px)!important;
  min-width:clamp(76px,6vw,112px)!important;
  min-height:clamp(76px,6vw,112px)!important;
  max-width:112px!important;
  max-height:112px!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  padding:0!important;
  box-sizing:border-box!important;
  flex:none!important;
  overflow:hidden!important;
}
.dating-stats-source-spaced{
  margin-top:clamp(30px,3vw,48px)!important;
  margin-bottom:clamp(28px,2.5vw,40px)!important;
}
@media(max-width:560px){
  .violence-cycle .cycle-ring button.cycle-node,
  .violence-cycle .cycle-ring .cycle-node{
    width:72px!important;height:72px!important;
    min-width:72px!important;min-height:72px!important;
  }
  .dating-stats-source-spaced{
    margin-top:28px!important;
    margin-bottom:28px!important;
  }
}


/* Alinear el centro de cada nodo con la circunferencia principal */
.violence-cycle .cycle-ring .cycle-node-top{
  top:0!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
}
.violence-cycle .cycle-ring .cycle-node-left{
  left:13.4%!important;
  right:auto!important;
  bottom:25%!important;
  top:auto!important;
  transform:translate(-50%,50%)!important;
}
.violence-cycle .cycle-ring .cycle-node-right{
  right:13.4%!important;
  left:auto!important;
  bottom:25%!important;
  top:auto!important;
  transform:translate(50%,50%)!important;
}
.violence-cycle .cycle-ring .cycle-node-top:hover,
.violence-cycle .cycle-ring .cycle-node-top:focus-visible,
.violence-cycle .cycle-ring .cycle-node-top.is-active{
  transform:translate(-50%,-50%) scale(1.04)!important;
}
.violence-cycle .cycle-ring .cycle-node-left:hover,
.violence-cycle .cycle-ring .cycle-node-left:focus-visible,
.violence-cycle .cycle-ring .cycle-node-left.is-active{
  transform:translate(-50%,50%) scale(1.04)!important;
}
.violence-cycle .cycle-ring .cycle-node-right:hover,
.violence-cycle .cycle-ring .cycle-node-right:focus-visible,
.violence-cycle .cycle-ring .cycle-node-right.is-active{
  transform:translate(50%,50%) scale(1.04)!important;
}


/* Señales de alerta: tarjetas flip a cuatro columnas y ancho completo */
.warning-signs-section{
  width:100%; max-width:none; margin:64px 0 54px; padding:0;
  box-sizing:border-box;
}
.warning-signs-section > h1{
  width:100%; text-align:center; margin:0 0 34px; color:#303b2e;
  font-size:clamp(27px,3vw,42px); line-height:1.18; font-weight:750;
}
.warning-signs-grid{
  width:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px; align-items:stretch; box-sizing:border-box;
}
.warning-sign-card{
  min-width:0; min-height:300px; height:300px; perspective:1100px;
  border-radius:14px; cursor:pointer; outline:none;
}
.warning-sign-card-inner{
  position:relative; width:100%; height:100%; border-radius:14px;
  transform-style:preserve-3d; transition:transform .65s cubic-bezier(.2,.75,.25,1);
}
.warning-sign-card:hover .warning-sign-card-inner,
.warning-sign-card:focus .warning-sign-card-inner,
.warning-sign-card:focus-visible .warning-sign-card-inner{
  transform:rotateY(180deg);
}
.warning-sign-card-front,.warning-sign-card-back{
  position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box;
  border-radius:14px; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:28px 20px; overflow:hidden;
}
.warning-sign-card-front{background:#A8AEAA;color:#fff;}
.warning-sign-card-back{
  background:#D4D6D5;color:#303b2e; transform:rotateY(180deg);
}
.warning-sign-card-front img{
  width:112px;height:112px;object-fit:contain;margin:0 auto 20px;
  filter:brightness(0) invert(1);
}
.warning-sign-card-front h3,.warning-sign-card-back h3{
  margin:0;font-size:clamp(16px,1.2vw,21px);line-height:1.25;
  letter-spacing:.035em;font-weight:750;
}
.warning-sign-card-back h3{margin-bottom:16px;color:#303b2e;}
.warning-sign-card-back p{
  color:#303b2e;font-size:16px;line-height:1.55;margin:0;max-width:34ch;
}
@media(max-width:900px){
 .warning-signs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:540px){
 .warning-signs-grid{grid-template-columns:1fr;gap:12px;padding:0 14px;}
 .warning-sign-card{height:250px;min-height:250px;}
 .warning-sign-card-front,.warning-sign-card-back{padding:22px 18px;}
}

/* Ajuste full-bleed: la sección ocupa todo el ancho del viewport */
.warning-signs-section{
  width:100vw !important;
  max-width:100vw !important;
  position:relative;
  left:50%;
  margin-left:-50vw !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box;
}
.warning-signs-grid{
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  padding:0 !important;
  margin:0 !important;
}
@media(max-width:900px){
  .warning-signs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:540px){
  .warning-signs-grid{grid-template-columns:1fr;}
}

/* Fases del ciclo: tarjetas informativas entre el círculo y la fotografía */
.violence-cycle-phases{
  width:min( calc(100% - 64px), 1284px );
  margin:48px auto 26px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  box-sizing:border-box;
}
.violence-phase-card{
  background:#ebeae0;
  color:#171717;
  border-radius:28px;
  padding:20px 20px 22px;
  min-width:0;
  box-sizing:border-box;
}
.violence-phase-card h2{
  color:#303b2e;
  font-size:clamp(18px,1.45vw,24px);
  line-height:1.08;
  text-align:center;
  margin:0 0 20px;
  font-weight:750;
}
.violence-phase-card p{
  color:#171717;
  font-size:15.5px;
  line-height:1.58;
  margin:0;
}
.noviazgo-boy-photo{
  width:min(calc(100% - 64px), 944px);
  margin:26px auto 48px;
  box-sizing:border-box;
}
.noviazgo-boy-photo img{
  display:block;
  width:100%;
  height:auto;
  border-radius:26px;
}
@media(max-width:850px){
  .violence-cycle-phases{
    width:calc(100% - 40px);
    grid-template-columns:1fr;
    gap:14px;
  }
  .violence-phase-card{padding:22px;}
  .noviazgo-boy-photo{width:calc(100% - 40px);}
}

/* Ajustes solicitados: tarjetas de fases más anchas y nuevo gris */
.violence-cycle-phases{
  width:calc(100% - 48px);
  max-width:1500px;
  margin-left:auto;
  margin-right:auto;
}
.violence-phase-card{
  background:#d4d6d5;
}
/* Las tarjetas giratorias conservan el ancho de sección, con margen lateral visible */
.warning-signs-section{
  padding-left:clamp(16px,3vw,48px) !important;
  padding-right:clamp(16px,3vw,48px) !important;
}
.warning-signs-grid{
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box;
}
@media(max-width:540px){
  .violence-cycle-phases{width:calc(100% - 32px);}
  .warning-signs-section{
    padding-left:16px !important;
    padding-right:16px !important;
  }
}

/* Ajuste solicitado: tarjetas de fases al 80% y tipografía más grande */
.violence-cycle-phases{
  width:80% !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.violence-phase-card h2{
  font-size:clamp(22px,1.75vw,28px) !important;
}
.violence-phase-card p{
  font-size:17px !important;
  line-height:1.62 !important;
}
@media(max-width:850px){
  .violence-cycle-phases{
    width:calc(100% - 40px) !important;
  }
  .violence-phase-card h2{
    font-size:24px !important;
  }
  .violence-phase-card p{
    font-size:17px !important;
  }
}

/* Corrección: 80% del ancho de la ventana del navegador, no del contenedor padre */
.violence-cycle-phases{
  width:80vw !important;
  max-width:80vw !important;
  margin-left:50% !important;
  margin-right:0 !important;
  transform:translateX(-50%);
  box-sizing:border-box;
}
@media(max-width:850px){
  .violence-cycle-phases{
    width:calc(100vw - 32px) !important;
    max-width:calc(100vw - 32px) !important;
  }
}

/* Espaciado actualizado para las tarjetas descriptivas del ciclo */
.violence-cycle-phases{
  margin-top:30px !important;
  margin-bottom:58px !important;
}
/* Dos videos en una misma fila debajo de las tarjetas giratorias */
.noviazgo-videos{
  width:80vw;
  max-width:1500px;
  margin:42px auto 64px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
  box-sizing:border-box;
}
.noviazgo-video-item{
  min-width:0;
  overflow:hidden;
  border-radius:18px;
  background:#d4d6d5;
}
.noviazgo-video-item video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:contain;
  background:#000;
}
@media(max-width:850px){
  .violence-cycle-phases{
    margin-top:24px !important;
    margin-bottom:46px !important;
  }
  .noviazgo-videos{
    width:calc(100% - 32px);
    grid-template-columns:1fr;
    gap:18px;
    margin:32px auto 48px;
  }
}

/* Centrar los dos videos como conjunto debajo de las tarjetas giratorias */
.noviazgo-videos{
  justify-content:center;
  justify-items:center;
}
.noviazgo-video-item{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* Centrado real de los videos dentro de su fila */
.noviazgo-videos{
  margin-left:auto !important;
  margin-right:auto !important;
  justify-content:center !important;
  align-items:center !important;
  justify-items:center !important;
  text-align:center;
}
.noviazgo-video-item{
  display:flex;
  align-items:center;
  justify-content:center;
}
.noviazgo-video-item video{
  margin:auto;
  align-self:center;
}
/* Cintillo de atención especializada debajo de los videos */
.noviazgo-specialized-ribbon{
  width:100%;
  min-height:230px;
  margin:0 auto 58px;
  padding:42px 24px;
  box-sizing:border-box;
  background:#303b2e;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:14px;
}
.noviazgo-ribbon-eyebrow{
  margin:0;
  color:#fff;
  font-size:clamp(14px,1.2vw,19px);
  font-weight:700;
  letter-spacing:.06em;
}
.noviazgo-specialized-ribbon h2{
  margin:0;
  color:#fff;
  font-size:clamp(25px,3vw,44px);
  line-height:1.15;
  font-weight:800;
}
.noviazgo-ribbon-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-width:210px;
  margin-top:8px;
  padding:15px 28px;
  border-radius:6px;
  background:#303b2e;
  border:1px solid rgba(255,255,255,.75);
  color:#fff !important;
  text-decoration:none;
  font-weight:600;
}
.noviazgo-ribbon-button:hover{
  background:#71785b;
}
@media(max-width:850px){
  .noviazgo-specialized-ribbon{
    min-height:200px;
    padding:34px 20px;
    margin-bottom:42px;
  }
}

/* Corrección específica: centrar verticalmente la tarjeta verde del hero de noviazgo */
body .women-hero.noviazgo-contact-banner{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background-position:center 42% !important;
}
body .women-hero.noviazgo-contact-banner .women-hero-callout{
  margin:0 auto !important;
  transform:none !important;
}

/* Los dos videos quedan como un bloque centrado, alineados por el centro vertical */
body .noviazgo-videos{
  width:min(1500px, calc(100% - 64px)) !important;
  margin:42px auto 52px !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:center !important;
  justify-items:center !important;
  justify-content:center !important;
  gap:24px !important;
}
body .noviazgo-video-item{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body .noviazgo-video-item video{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/9 !important;
  object-fit:contain !important;
  margin:auto !important;
}

/* Cintillo institucional debajo de los videos, siguiendo la captura enviada */
body .noviazgo-specialized-ribbon{
  width:100vw !important;
  max-width:none !important;
  min-height:454px !important;
  margin:0 calc(50% - 50vw) 58px !important;
  padding:48px 24px !important;
  box-sizing:border-box !important;
  background:
    linear-gradient(rgba(35,45,34,.42),rgba(35,45,34,.42)),
    url('images/jovenes2.webp') center 42% / cover no-repeat !important;
  color:#fff !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  gap:16px !important;
}
body .noviazgo-specialized-ribbon .noviazgo-ribbon-eyebrow{
  margin:0 !important;
  color:#fff !important;
  font-size:clamp(15px,1.25vw,20px) !important;
  font-weight:800 !important;
  letter-spacing:.05em !important;
}
body .noviazgo-specialized-ribbon h2{
  margin:0 !important;
  color:#fff !important;
  font-size:clamp(28px,3.2vw,48px) !important;
  line-height:1.12 !important;
  font-weight:900 !important;
}
body .noviazgo-specialized-ribbon .noviazgo-ribbon-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:28px !important;
  min-width:218px !important;
  margin-top:10px !important;
  padding:16px 30px !important;
  border:0 !important;
  border-radius:5px !important;
  background:#303b2e !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:17px !important;
  font-weight:700 !important;
}
body .noviazgo-specialized-ribbon .noviazgo-ribbon-button:hover{
  background:#71785b !important;
}
@media(max-width:850px){
  body .noviazgo-videos{
    width:calc(100% - 32px) !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
    margin:32px auto 42px !important;
  }
  body .noviazgo-specialized-ribbon{
    min-height:340px !important;
    padding:36px 18px !important;
    margin-bottom:42px !important;
  }
  body .women-hero.noviazgo-contact-banner{
    min-height:380px !important;
  }
  body .women-hero.noviazgo-contact-banner .women-hero-callout{
    width:calc(100% - 32px) !important;
  }
}

/* Ajuste solicitado: devolver la tarjeta telefónica del hero a su posición original */
body .women-hero.noviazgo-contact-banner{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
}
body .women-hero.noviazgo-contact-banner .women-hero-callout{
  margin:0 auto -105px !important;
  transform:none !important;
}
@media(max-width:800px){
  body .women-hero.noviazgo-contact-banner .women-hero-callout{
    margin:0 auto -78px !important;
  }
}


/* Violencia en el noviazgo: quitar el hueco antes de las tarjetas INFÓRMATE */
body .noviazgo-page{
  padding-bottom:0 !important;
}
body .noviazgo-page .noviazgo-specialized-ribbon{
  margin-bottom:0 !important;
}


/* FIX DEFINITIVO: eliminar el hueco entre el cintillo de atención y las imágenes inferiores */
body .internal.noviazgo-page{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
body .internal.noviazgo-page .page-content{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
body .internal.noviazgo-page .noviazgo-specialized-ribbon{
  margin-bottom:0 !important;
  padding-bottom:42px !important;
}
body .internal.noviazgo-page + .footer-photo-strip{
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}


/* Color institucional guinda de los botones INFÓRMATE en todas las páginas */
.home-footer a,
footer.home-footer a,
.home-page .home-footer a{
  background-color:#6f3756 !important;
  border:1px solid #6f3756 !important;
  color:#fff !important;
  border-radius:5px !important;
}
.home-footer a:hover,
footer.home-footer a:hover,
.home-page .home-footer a:hover{
  background-color:#572943 !important;
  border-color:#572943 !important;
  color:#fff !important;
}


/* Campañas: galería/hero al 70% del ancho de pantalla */
body.home-page .campaign-gallery{
  width:70vw !important;
  max-width:none !important;
  margin:24px auto 34px !important;
  box-sizing:border-box !important;
}
@media(max-width:800px){
  body.home-page .campaign-gallery{
    width:94vw !important;
    margin:16px auto 24px !important;
  }
}


/* Hero de Violencia Sexual: imagen proporcionada y tarjeta telefónica institucional */
body .women-hero.sexual-violence-hero{
  height:604px !important;
  min-height:480px !important;
  margin:0 0 0 !important;
  background-image:url('images/violencia1.webp') !important;
  background-size:cover !important;
  background-position:center 43% !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
}
body .women-hero.sexual-violence-hero .sexual-violence-callout{
  width:min(1126px,calc(100% - 48px)) !important;
  margin:0 auto -116px !important;
  padding:42px 28px 34px !important;
  background:#2e3b2b !important;
  border-radius:10px !important;
  text-align:center !important;
  color:#fff !important;
}
body .sexual-violence-callout h2{
  color:#fff !important;
  margin:0 0 25px !important;
  font-size:25px !important;
}
body .sexual-violence-callout .women-hero-phone{
  color:#fff !important;
}
body .sexual-violence-callout p{
  color:#fff !important;
}
body .internal:has(+ .footer-photo-strip){
  padding-top:140px;
}
@media(max-width:800px){
  body .women-hero.sexual-violence-hero{
    height:420px !important;
    min-height:380px !important;
    background-position:43% center !important;
  }
  body .women-hero.sexual-violence-hero .sexual-violence-callout{
    width:calc(100% - 32px) !important;
    margin:0 auto -78px !important;
    padding:28px 18px !important;
  }
}


/* Introducción de Violencia Sexual, siguiendo la composición de referencia */
body .sexual-violence-page{
  width:100%;
  max-width:none;
  margin:0 auto;
  padding:78px 3.0% 36px;
  box-sizing:border-box;
}
body .sexual-violence-page > .page-content{
  width:100%;
  max-width:none;
  margin:0;
}
body .sexual-intro-layout{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr);
  align-items:center;
  gap:4.2%;
  margin:0 auto 56px;
}
body .sexual-intro-image{
  width:100%;
  height:740px;
  border-radius:42px;
  overflow:hidden;
}
body .sexual-intro-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:42px;
}
body .sexual-intro-copy{
  width:100%;
  text-align:left;
  padding:0 1.2% 0 0;
  box-sizing:border-box;
}
body .sexual-intro-copy h2{
  color:#2e3b2b;
  font-size:clamp(38px,3.55vw,66px);
  line-height:1.05;
  font-weight:800;
  text-align:center;
  margin:0 0 48px;
}
body .sexual-intro-copy p{
  color:#171717;
  font-size:clamp(18px,1.35vw,27px);
  line-height:1.85;
  font-weight:400;
  text-align:justify;
  margin:0 0 48px;
}
body .sexual-intro-copy p:last-child{margin-bottom:0}
@media(max-width:900px){
  body .sexual-violence-page{padding:42px 5% 24px}
  body .sexual-intro-layout{
    grid-template-columns:1fr;
    gap:30px;
    margin-bottom:42px;
  }
  body .sexual-intro-image{height:auto;aspect-ratio:1/1.05;border-radius:28px}
  body .sexual-intro-image img{border-radius:28px}
  body .sexual-intro-copy{padding:0}
  body .sexual-intro-copy h2{font-size:clamp(32px,8vw,46px);margin-bottom:28px}
  body .sexual-intro-copy p{font-size:18px;line-height:1.7;margin-bottom:26px}
}


/* Ajustes solicitados: contenido al 60% y tipografía más compacta */
body .sexual-violence-page{
  width:100%;
  padding:62px 0 34px;
}
body .sexual-intro-layout{
  width:60%;
  max-width:1220px;
  grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr);
  gap:4%;
  margin:0 auto 34px;
}
body .sexual-intro-image{
  height:clamp(390px, 31vw, 610px);
  border-radius:32px;
}
body .sexual-intro-image img{border-radius:32px}
body .sexual-intro-copy h2{
  font-size:clamp(30px, 2.45vw, 46px);
  line-height:1.08;
  margin:0 0 28px;
}
body .sexual-intro-copy p{
  font-size:clamp(15px, .95vw, 19px);
  line-height:1.65;
  margin:0 0 27px;
}
body .sexual-video-section{
  width:60%;
  max-width:1220px;
  margin:0 auto 54px;
}
body .sexual-video-section video{
  display:block;
  width:100%;
  height:auto;
  max-height:690px;
  background:#000;
  border-radius:18px;
}
@media(max-width:900px){
  body .sexual-violence-page{padding:34px 0 20px}
  body .sexual-intro-layout{
    width:90%;
    grid-template-columns:1fr;
    gap:24px;
    margin-bottom:28px;
  }
  body .sexual-intro-image{height:auto;aspect-ratio:1/1.05}
  body .sexual-intro-copy h2{font-size:clamp(28px,7vw,40px);margin-bottom:22px}
  body .sexual-intro-copy p{font-size:16px;line-height:1.6;margin-bottom:20px}
  body .sexual-video-section{width:90%;margin-bottom:38px}
  body .sexual-video-section video{border-radius:12px}
}


/* Directorio desplegable de unidades y hospitales */
body .sexual-intro-copy p{
  font-size:clamp(17px,1.08vw,21px);
}
body .location-directory{
  width:100%;
  margin:48px auto 60px;
  padding:0 1.2%;
  box-sizing:border-box;
}
body .location-group{margin:0 0 54px}
body .location-group h2{
  text-align:center;
  color:#303b2d;
  font-size:26px;
  font-weight:800;
  letter-spacing:.04em;
  margin:0 0 10px;
}
body .location-hours{
  text-align:center;
  font-size:18px;
  font-weight:700;
  color:#444;
  margin:0 0 50px;
}
body .location-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px 20px;
  width:100%;
}
body .location-card{
  min-width:0;
  background:#f1f0eb;
  border:0;
  margin:0;
}
body .location-card summary{
  list-style:none;
  cursor:pointer;
  background:#303b2d;
  color:#fff;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  padding:15px 16px;
  min-height:48px;
  display:flex;
  align-items:center;
  box-sizing:border-box;
}
body .location-card summary::-webkit-details-marker{display:none}
body .location-card summary::before{
  content:"▸";
  margin-right:9px;
  transition:transform .2s ease;
}
body .location-card[open] summary::before{transform:rotate(90deg)}
body .location-card-body{
  padding:17px 16px 20px;
  text-align:center;
  color:#303030;
  font-size:15px;
  line-height:1.7;
  background:#e9e8df;
  min-height:100px;
}
body .location-address{
  display:block;
  color:#303030;
  text-decoration:none;
  margin-bottom:10px;
}
body .location-address:hover{text-decoration:underline}
body .location-phone{
  color:#303030;
  text-decoration:none;
  font-weight:600;
}
body .location-phone:hover{text-decoration:underline}
body .phone-separator{padding:0 4px}
@media(max-width:1050px){
  body .location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  body .location-directory{padding:0 5%;margin:35px auto 42px}
  body .location-grid{grid-template-columns:1fr;gap:12px}
  body .location-group h2{font-size:22px}
  body .location-hours{font-size:16px;margin-bottom:28px}
  body .location-card summary{font-size:14px}
}


/* Color solicitado para el directorio */
body .location-card,
body .location-card-body{
  background:#a8aeaa;
}
body .location-card-body,
body .location-address,
body .location-phone{
  color:#71785b;
}
body .location-address:hover,
body .location-phone:hover{color:#566044}

/* Cintillo de orientación y atención inmediata bajo el directorio */
body .sexual-help-banner{
  position:relative;
  width:100%;
  min-height:560px;
  margin:8px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background-image:linear-gradient(rgba(27,38,29,.42),rgba(27,38,29,.42)),url("images/violencia4.webp");
  background-size:cover;
  background-position:center 42%;
  filter:none;
  box-sizing:border-box;
  padding:60px 5%;
}
body .sexual-help-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(32,43,33,.14);
  backdrop-filter:grayscale(1);
  pointer-events:none;
}
body .sexual-help-content{
  position:relative;
  z-index:1;
  width:min(1120px,100%);
  text-align:center;
  color:#fff;
}
body .sexual-help-content h2{
  font-size:clamp(26px,2.25vw,44px);
  line-height:1.12;
  font-weight:700;
  margin:0 auto 26px;
  color:#fff;
}
body .sexual-help-content h3{
  font-size:clamp(27px,2.25vw,43px);
  line-height:1.12;
  font-weight:900;
  margin:0 auto 24px;
  color:#fff;
}
body .sexual-help-content p{
  font-size:clamp(17px,1.25vw,25px);
  line-height:1.25;
  font-weight:700;
  margin:0 auto 28px;
  color:#fff;
}
body .sexual-help-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-width:218px;
  padding:18px 28px;
  background:#303b2d;
  color:#fff;
  border-radius:5px;
  text-decoration:none;
  font-size:17px;
  font-weight:600;
  transition:background .2s ease,transform .2s ease;
}
body .sexual-help-button:hover{
  background:#71785b;
  color:#fff;
  transform:translateY(-2px);
}
@media(max-width:700px){
  body .sexual-help-banner{min-height:440px;padding:42px 6%;background-position:center}
  body .sexual-help-content h2{font-size:25px}
  body .sexual-help-content h3{font-size:27px}
  body .sexual-help-content p{font-size:16px;line-height:1.4}
}


/* Ajuste final del cintillo: toda la tipografía en blanco */
body .sexual-help-content,
body .sexual-help-content h2,
body .sexual-help-content h3,
body .sexual-help-content p,
body .sexual-help-button,
body .sexual-help-button span{
  color:#fff !important;
}
body .sexual-help-button{
  background:#303b2d !important;
}


/* Corrección de ancho completo para la parte final de Reeducación de Mujeres */
body.home-page .women-medical-banner,
body.home-page .footer-photo-strip,
body.home-page footer.home-footer{
  width:100vw !important;
  max-width:100vw !important;
  position:relative !important;
  left:50% !important;
  margin-left:-50vw !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
body.home-page .women-medical-banner{
  color:#fff !important;
}
body.home-page .women-medical-banner .women-medical-copy,
body.home-page .women-medical-banner .women-medical-copy p,
body.home-page .women-medical-banner .women-medical-copy h2,
body.home-page .women-medical-banner .women-medical-copy a{
  color:#fff !important;
}

/* Tarjetas del directorio: esquinas redondeadas y estado activo guinda */
body .location-card{
  border-radius:12px !important;
  overflow:hidden !important;
  background:#f1f0eb !important;
  transition:background-color .2s ease, box-shadow .2s ease;
}
body .location-card summary{
  border-radius:12px !important;
  transition:background-color .2s ease,color .2s ease;
}
body .location-card[open]{
  background:#6f3756 !important;
  box-shadow:0 5px 16px #00000018;
}
body .location-card[open] summary{
  background:#6f3756 !important;
  color:#fff !important;
  border-radius:12px 12px 0 0 !important;
}
body .location-card[open] .location-card-body{
  background:#6f3756 !important;
  color:#fff !important;
  border-radius:0 0 12px 12px !important;
}
body .location-card[open] .location-address,
body .location-card[open] .location-phone{
  color:#fff !important;
}


/* Cierre del footer de Mujeres: eliminar cualquier franja blanca inferior */
html:has(body.home-page footer.home-footer),
body.home-page{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
body.home-page footer.home-footer{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
  border-bottom:0 !important;
  border-radius:0 !important;
  background:#2E3B2B !important;
}
body.home-page footer.home-footer > p:last-child{
  margin:0 !important;
  padding:16px 16px 0 !important;
  min-height:0 !important;
  line-height:1.4 !important;
  background:#2E3B2B !important;
}
body.home-page footer.home-footer::after{
  content:none !important;
  display:none !important;
}


/* Footer: el rótulo institucional lleva aire inferior en todas las páginas */
body.home-page footer.home-footer > p:last-child{
  padding:16px 16px 24px !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

/* Exclusivo de la página Mujeres: cerrar el espacio inferior sin alterar Reeducación */


/* Mujeres: conservar el fondo normal del contenido y terminar el documento justo al final del footer */
html:has(body.women-footer-flush),
body.women-footer-flush{
  background:#F5F4F2 !important;
  margin:0 !important;
  padding:0 !important;
  min-height:0 !important;
  height:auto !important;
}
body.women-footer-flush{
  display:block !important;
}
body.women-footer-flush > footer.home-footer{
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding-bottom:0 !important;
  flex-shrink:0 !important;
  background:#2E3B2B !important;
  border-radius:0 !important;
}
