/* Ajustes visuales del prototipo en Gutenberg y Astra */
body.home .hero{min-height:590px}
body.home .heroInner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding-block:56px}
body.home .heroText{position:relative;z-index:3;min-width:0}
body.home .hero h1{max-width:720px;font-size:clamp(2.8rem,5.6vw,5.25rem);overflow-wrap:normal;word-break:normal}
body.home .hero .hero-lead{max-width:60ch;color:#fff1e7;font-size:1.12rem}
body.home .hero .eyebrow{color:#f1ce6c}
body.home .hero .heroNote{color:#fff0e8;margin-top:20px}
body.home .hero .wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 0}
body.home .hero .wp-block-button__link{border-radius:8px;padding:13px 20px;font-weight:800}
body.home .hero .sunbtn .wp-block-button__link{background:#dbad3d;color:#332c23}
body.home .hero .outline .wp-block-button__link{color:#fff;background:#ffffff14;border:1px solid #ffffffa8}
body.home .heroArt{position:relative;z-index:1;height:500px;width:100%;max-width:620px;margin:auto;overflow:hidden;border-radius:20px}
body.home .heroArt img{display:block;width:100%;height:100%;object-fit:cover;object-position:58% center;border-radius:inherit;clip-path:none;-webkit-clip-path:none;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 20px 26px #081b343b)}
body.home .directoryTop{padding-top:70px}
body.home .directoryTop>.wp-block-group__inner-container,body.home .directoryTop>.wp-block-group{width:min(1180px,calc(100% - 42px));margin-inline:auto}
body.home .directoryTop h2{margin:0 0 12px}
body.home .redpe-directory{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:22px;align-items:start}
body.home .redpe-map,body.home .redpe-list{min-width:0;background:#fff;border:1px solid #e4e1dc;border-radius:18px;box-shadow:0 18px 54px #1e2f4b12;padding:20px}
body.home .redpe-map{overflow:hidden;min-height:0}
body.home .redpe-map svg.worldmap{position:relative!important;inset:auto!important;display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;margin-top:10px}
body.home .redpe-map .redpe-pin{fill:#c81e2b;stroke:#fff;stroke-width:2.5;vector-effect:non-scaling-stroke;cursor:pointer;filter:drop-shadow(0 1px 2px #13243b77)}
body.home .redpe-map .redpe-pin:hover{fill:#e0b24b;r:11}
body.home .redpe-map .redpe-sample-pin{fill:#e0b24b;stroke:#fff;stroke-width:2.5;vector-effect:non-scaling-stroke;opacity:.96;pointer-events:none;filter:drop-shadow(0 1px 2px #13243b77)}
body.home .redpe-map .redpe-sample-halo{fill:#e0b24b;opacity:.23;pointer-events:none}
body.home .redpe-map-legend{margin:10px 0 0;padding:8px 11px;border-radius:9px;background:#f8f6f1;color:#57545a;font-size:.76rem;line-height:1.45}
body.home .redpe-map-legend .redpe-legend-dot{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%;background:#e0b24b;vertical-align:-1px}
body.home .redpe-list h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:0 0 14px}
body.home .redpe-filters{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}
body.home .redpe-filters input{grid-column:1/-1}
body.home .redpe-filters input,body.home .redpe-filters select,body.home .redpe-profile-form input,body.home .redpe-profile-form select,body.home .redpe-profile-form textarea{min-width:0;width:100%;padding:12px 13px;border:1px solid #ded3c8;border-radius:8px;background:#fff;font:inherit;box-sizing:border-box}
body.home .redpe-list #sumar-perfil{display:none}
body.home .redpe-profile-open{width:100%;margin-top:12px;border:0;border-radius:8px;padding:13px 18px;background:#c81e2b;color:white;font:800 .96rem 'Nunito Sans',sans-serif;cursor:pointer}
body.home .redpe-cards{margin:16px 0;max-height:270px;overflow:auto}
body.home .redpe-card{border-color:#e4e1dc;background:#fffefd;border-radius:11px;padding:13px}
body.home .redpe-card small{color:#113c78}
body.home .redpe-card p{overflow-wrap:anywhere}
body.home .redpe-contact-copy{align-self:center}
body.home .contactCard .redpe-contact-form{margin:0}
body.home .contactCard .redpe-contact-form input,body.home .contactCard .redpe-contact-form textarea{min-width:0;width:100%;padding:12px 13px;border:1px solid #ded3c8;border-radius:8px;background:#fff;font:inherit;box-sizing:border-box}
body.home .redpe-contact-form button{background:#c81e2b;color:white;border-radius:8px}
body.home .redpe-home-pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.home .redpe-home-card{height:100%;padding:22px 20px;background:#fff;border:1px solid #ecdfd3;border-radius:14px;box-shadow:0 8px 25px #402b1b0b}
body.home .redpe-home-card h3{color:#113c78}
body.home .redpe-home-card p{margin:0;font-size:.92rem}
body.home .redpe-summary-grid,body.home .redpe-testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
body.home .redpe-summary-card,body.home .redpe-testimonial-card{height:100%;overflow:hidden;background:#fff;border:1px solid #ecdfd3;border-radius:15px;box-shadow:0 9px 27px #3b261409}
body.home .redpe-summary-card figure{margin:0}
body.home .redpe-summary-card figure img{display:block;width:100%;height:210px;object-fit:cover}
body.home .redpe-summary-card>.wp-block-group{padding:20px}
body.home .redpe-summary-card .redpe-summary-copy{padding:20px}
body.home .redpe-summary-card .eyebrow{font-size:.68rem}
body.home .redpe-summary-card h3{margin:7px 0;font-size:1.25rem}
body.home .redpe-summary-card p{font-size:.88rem}
body.home .redpe-text-link a{color:#147b78;font-weight:800;text-decoration:underline;text-underline-offset:3px}
body.home .redpe-testimonial-card{padding:14px}
body.home .redpe-testimonial-placeholder{aspect-ratio:16/9;display:grid;place-items:center;margin:0 0 14px;padding:14px;border-radius:9px;background:linear-gradient(145deg,#edf1f5,#f8e6d4);color:#113c78;text-align:center;font-size:.84rem;font-weight:800}
body.home .redpe-testimonial-card h3{margin:0;font-size:1.04rem}
body.home .ctaBand{background:#113c78}
body.home .redpe-cta-row{display:flex;align-items:center;justify-content:space-between;gap:22px}
body.home .redpe-cta-copy h2{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 6px;color:#fff}
body.home .redpe-cta-copy p{margin:0;color:#e7edf6}
body.home .redpe-cta-action .wp-block-buttons{margin:0}
body.home .redpe-cta-action .wp-block-button__link{background:#dbad3d;color:#30271c}
body.home #contacto{scroll-margin-top:110px}

.redpe-overlay{position:fixed;inset:0;z-index:999999;display:none;place-items:center;padding:18px;background:#07172bba;backdrop-filter:blur(5px);overflow:auto}
.redpe-overlay.is-open{display:grid}
.redpe-dialog{position:relative;width:min(520px,100%);max-height:min(92vh,900px);overflow:auto;padding:30px;background:#fffdf9;border:1px solid #ecdfd3;border-radius:18px;box-shadow:0 30px 90px #07172b55;color:#343337}
.redpe-dialog h2{margin:7px 35px 12px 0;color:#113c78;font-size:clamp(1.65rem,5vw,2.15rem)}
.redpe-dialog>p{color:#6f6c70}
.redpe-modal-tag{display:inline-block;margin:4px 0 6px;padding:5px 10px;border-radius:20px;background:#f5eddc;color:#113c78;font-size:.68rem;font-weight:900;letter-spacing:.1em}
.redpe-modal-close{position:absolute;top:11px;right:13px;width:38px;height:38px;border:0;border-radius:50%;background:#f4f1ec;color:#343337;font-size:1.7rem;line-height:1;cursor:pointer}
.redpe-welcome-art{display:flex;align-items:center;min-height:115px;margin:-30px -30px 22px;padding:25px 30px;background:linear-gradient(120deg,#103567,#17487f 58%,#bd2330);color:white}
.redpe-welcome-art span{max-width:350px;font-size:.82rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#f1ce6c}
.redpe-welcome-actions{display:grid;gap:10px;margin-top:18px}
.redpe-welcome-actions a,.redpe-welcome-actions button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 17px;border-radius:8px;font:800 .95rem 'Nunito Sans',sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.redpe-welcome-explore{background:#dbad3d;color:#30271c}
.redpe-welcome-register{border:0;background:#c81e2b;color:white}
.redpe-modal-dismiss{display:block;margin:15px auto 0;border:0;background:none;color:#113c78;font:700 .84rem 'Nunito Sans',sans-serif;cursor:pointer}
.redpe-profile-dialog{width:min(590px,100%)}
.redpe-profile-form-slot{min-width:0}
.redpe-profile-form-slot .redpe-profile-form{display:grid;gap:11px;margin-top:16px}
.redpe-profile-form-slot .redpe-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.redpe-profile-form-slot label{font-size:.82rem;line-height:1.45}
.redpe-profile-form-slot label input{width:auto}
body.home .redpe-profile-form-slot .redpe-profile-form label input[type="checkbox"]{width:auto}
.redpe-profile-form-slot .redpe-profile-form button{min-height:46px;background:#c81e2b;color:white;border:0;border-radius:8px;padding:12px 18px;font-weight:900;cursor:pointer}
.redpe-profile-form-slot .redpe-message{color:#113c78;font-weight:800}
body.redpe-modal-open{overflow:hidden}
@media(max-width:790px){body.home .hero{min-height:0}body.home .heroInner{grid-template-columns:minmax(0,1fr);gap:12px;padding:44px 0 28px}body.home .hero h1{font-size:clamp(2.5rem,8.5vw,3.6rem)}body.home .heroArt{height:340px;max-width:100%}body.home .redpe-directory{grid-template-columns:minmax(0,1fr)}body.home .redpe-map{overflow:hidden;padding:14px}body.home .redpe-map svg.worldmap{width:100%!important;max-width:100%!important}body.home .redpe-home-pillars{grid-template-columns:repeat(2,minmax(0,1fr))}body.home .redpe-summary-grid,body.home .redpe-testimonial-grid{grid-template-columns:1fr}body.home .redpe-summary-col,body.home .redpe-testimonial-grid>.wp-block-column{max-width:560px;width:100%;margin-inline:auto}body.home .redpe-summary-card figure img{height:240px}body.home .redpe-cta-row{display:grid;grid-template-columns:1fr}body.home .directoryTop>.wp-block-group__inner-container,body.home .directoryTop>.wp-block-group{width:calc(100% - 30px)}}
@media(max-width:520px){body.home .hero .wrap{width:calc(100% - 36px)}body.home .hero h1{font-size:clamp(2.35rem,9vw,3rem)}body.home .heroArt{height:290px}body.home .redpe-home-pillars{grid-template-columns:1fr}body.home .redpe-filters{grid-template-columns:1fr}body.home .redpe-filters input{grid-column:auto}.redpe-dialog{padding:23px}.redpe-welcome-art{min-height:100px;margin:-23px -23px 18px;padding:22px}.redpe-profile-form-slot .redpe-form-row{grid-template-columns:1fr}.redpe-overlay{padding:10px}}

@media(max-width:790px){header.nav .navin{position:relative}header.nav .menuBtn{display:block!important;margin-left:auto;position:relative;z-index:1002;cursor:pointer}header.nav .links{display:none!important;position:absolute!important;left:0;right:0;top:100%;z-index:1001;width:100%;margin:0!important;padding:10px 22px 18px!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;background:#fffdfa;border-bottom:1px solid #eadfd3;box-shadow:0 18px 54px #42222b24}header.nav .links.open{display:flex!important}header.nav .links ul.redpe-menu{display:grid;grid-template-columns:1fr;gap:0;width:100%;margin:0;padding:0;list-style:none}header.nav .links ul.redpe-menu li{display:block;width:100%;margin:0;padding:0}header.nav .links ul.redpe-menu a,header.nav .links>a{display:block;width:100%;padding:12px 10px}header.nav .links>a.btn{margin-top:8px;text-align:center}}

/* Una sola sección de contacto: las voces quedan sobre la franja azul */
body.home .ctaBand{display:none!important}
body.home #testimonios.redpe-testimonials-band{padding-top:70px;padding-bottom:70px;background:#113c78!important;color:#fff}
body.home #testimonios.redpe-testimonials-band>.eyebrow{color:#f1ce6c!important}
body.home #testimonios.redpe-testimonials-band>h2,body.home #testimonios.redpe-testimonials-band>p:not(.eyebrow){color:#fff!important}
body.home #testimonios .redpe-testimonial-card{background:#fffdf9;color:#343337}
body.home #testimonios .redpe-testimonial-card h3{color:#113c78}
