/*
Theme Name: Sandoval Industrias
Author: Emmanuel Coria
Description: Tema corporativo para Industrias Sandoval, basado en los wireframes 2026.
Version: 2.4.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sandoval
*/
:root{--navy:#1e477f;--deep:#15345f;--blue:#3155b6;--sky:#008db4;--pale:#f0f6ff;--ink:#243c5c;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button{font:inherit;cursor:pointer}.container{width:min(var(--max),calc(100% - 48px));margin:auto}.serif,h1,h2,h3,.stat strong{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.18}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.8rem,6vw,5rem);color:var(--deep)}h2{font-size:clamp(1.8rem,3.4vw,2.7rem);color:var(--deep)}h3{font-size:1.55rem;color:var(--deep)}.eyebrow{color:var(--sky);font-size:1.06rem;letter-spacing:.025em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 26px;border:0;border-radius:100px;background:var(--blue);color:#fff;font-size:.83rem;font-weight:700;letter-spacing:.025em;transition:transform .2s,background .2s}.btn:hover,.btn:focus-visible{background:var(--deep);transform:translateY(-2px)}.btn-arrow{background:white;color:var(--blue);width:43px;height:43px;border-radius:50%;display:inline-grid;place-items:center;font-weight:700}.site-header{position:relative;z-index:20;background:rgba(246,250,255,.94);border-bottom:1px solid #dceaf8}.header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;color:var(--navy);font-size:2rem;line-height:.78;font-weight:750;letter-spacing:-.08em;white-space:nowrap}.brand span{display:block;font-size:.48rem;letter-spacing:.45em;text-align:center;margin-top:9px}.brand img{max-width:190px;max-height:64px;width:auto}.site-nav{display:flex;gap:clamp(12px,2vw,32px);align-items:center}.site-nav a{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--navy)}.site-nav a:hover,.site-nav .current-menu-item>a,.site-nav a[aria-current=page]{color:var(--sky);text-decoration:underline;text-underline-offset:8px}.site-nav .contact-link{background:white;color:#111;padding:10px 17px;border-radius:30px;font-weight:700}.menu-toggle{display:none;border:0;background:none;color:var(--navy);font-size:1.6rem}.hero{background:linear-gradient(105deg,#e9f5ff 0%,#d1e7f9 60%,#c7e2f6 100%);position:relative;overflow:hidden}.hero-slide{display:none;min-height:570px;position:relative;align-items:center;background-size:cover;background-position:center}.hero-slide.is-active{display:flex}.hero-slide:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(234,246,255,.96),rgba(234,246,255,.77) 42%,rgba(232,246,255,.12) 83%)}.hero-inner{position:relative;z-index:1;display:flex;align-items:center;min-height:570px}.hero-copy{max-width:570px;padding:65px 0 95px}.hero-copy h1{font-weight:700;text-transform:uppercase;letter-spacing:.025em;font-size:clamp(2.65rem,5vw,4.6rem);margin-bottom:12px}.hero-copy .hero-subtitle{font:400 clamp(1.5rem,3vw,2.4rem)/1.1 Georgia,serif;color:var(--deep);text-transform:uppercase}.hero-copy p{font-size:1.22rem;max-width:330px;margin:24px 0 30px}.hero-card{margin-left:auto;padding:22px;width:310px;background:rgba(236,247,255,.55);backdrop-filter:blur(15px);border:1px solid rgba(255,255,255,.9);border-radius:22px;box-shadow:0 12px 35px #23477422}.hero-card strong{display:block;color:var(--navy);font:1.4rem Georgia,serif;margin-bottom:16px}.hero-card a{display:block;padding:17px;margin-top:12px;background:rgba(255,255,255,.72);border-radius:16px;color:var(--deep);font-size:.9rem}.hero-controls{position:absolute;bottom:22px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:10px}.hero-dot{border:2px solid var(--navy);width:14px;height:14px;border-radius:50%;padding:0;background:transparent}.hero-dot.is-active{background:var(--navy)}.hero-arrow{position:absolute;z-index:3;top:49%;border:0;background:#fff;color:var(--blue);width:52px;height:52px;border-radius:50%;font-size:2rem;box-shadow:0 2px 20px #193e6d1a}.hero-arrow.prev{left:15px}.hero-arrow.next{right:15px}.section{padding:76px 0}.section-tight{padding:58px 0}.section-heading{max-width:720px;margin-bottom:38px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.rounded-img{width:100%;border-radius:16px;object-fit:cover;aspect-ratio:1.55}.image-placeholder{background:linear-gradient(135deg,#bad4ea,#eff8ff);border-radius:16px;min-height:260px;display:grid;place-items:center;padding:28px;text-align:center;color:var(--navy)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:53px}.stat{border-left:3px solid #079bca;padding-left:12px}.stat strong{display:block;font-size:1.85rem;color:var(--deep);line-height:1.05}.stat small{color:var(--sky)}.sector-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sector-card{background:#edf5ff;transition:transform .2s}.sector-card:hover{transform:translateY(-4px)}.sector-card img,.sector-card .image-placeholder{aspect-ratio:1.18;min-height:0;width:100%;object-fit:cover;border-radius:0}.sector-card .card-body{padding:14px}.sector-card h3{font-size:1.35rem;margin:0 0 3px}.sector-card p{font-size:.82rem;margin:0}.sector-layout{display:grid;grid-template-columns:280px 1fr;gap:50px;align-items:center}.callout{background:#f1f6ff;border-radius:25px;padding:50px;display:flex;align-items:center;justify-content:space-between;gap:30px}.callout h2{margin-bottom:13px}.callout p{max-width:640px;font-size:1.1rem;margin:0}.brand-strip{display:flex;align-items:center;justify-content:space-around;flex-wrap:wrap;gap:20px;color:var(--navy);font-weight:700;font-size:1.5rem;min-height:110px}.brand-strip span{padding:9px 20px;border:1px solid #e8eef7}.page-hero{min-height:300px;background:linear-gradient(90deg,#fff 0%,#e6f3ff 100%);display:flex;align-items:center;position:relative;background-size:cover;background-position:center}.page-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#ffffffd9 45%,#ffffff3b 100%)}.page-hero .container{position:relative;z-index:1}.page-hero h1{text-transform:uppercase;letter-spacing:.025em;font-weight:700;margin:0}.intro{text-align:center;max-width:820px;margin:0 auto 50px}.feature-box{background:var(--pale);border-radius:25px;padding:38px 52px}.feature-box h2,.feature-box .eyebrow{text-align:center}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:15px 45px;padding-left:18px}.feature-list li{font:1.15rem Georgia,serif;margin-bottom:8px}.service-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px;padding:55px 0}.service-row:nth-child(even){background:var(--pale);padding:40px;border-radius:24px}.service-row:nth-child(even) .service-image{order:-1}.service-row .service-image img{border-radius:24px;width:100%;aspect-ratio:1.5;object-fit:cover}.service-row ul{padding-left:20px}.solution-links{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;text-align:center;margin-bottom:40px}.solution-links a{padding:30px;background:var(--pale);border-radius:24px;font:1.35rem Georgia,serif;color:var(--deep)}.solution-links a:hover{background:#dcecff}.solution-links .icon{display:block;font:2rem Arial,sans-serif;margin-bottom:16px}.site-footer{background:var(--navy);color:#fff;padding:60px 0 0}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:38px}.footer-grid h3{font:700 .8rem Arial,sans-serif;color:#44b9da;text-transform:uppercase}.footer-grid a{display:block;margin:8px 0;font-size:.95rem}.footer-grid a:hover{text-decoration:underline}.footer-note{border-top:1px solid #3294b4;text-align:center;margin-top:48px;padding:17px;font-size:.83rem}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.contact-grid a{color:var(--blue);text-decoration:underline}.contact-card{padding:38px;background:var(--pale);border-radius:24px}.entry-content{max-width:850px;margin:auto}.entry-content img{border-radius:14px}@media(max-width:900px){.header-inner{min-height:70px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#f5faff;padding:22px 6%;box-shadow:0 14px 20px #14325625;flex-direction:column;align-items:flex-start}.site-nav.is-open{display:flex}.hero-card{display:none}.hero-slide,.hero-inner{min-height:530px}.hero-copy{padding:55px 30px 80px}.hero-arrow{width:42px;height:42px}.grid-two,.contact-grid{gap:35px}.sector-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.container{width:min(100% - 36px,var(--max))}.hero-slide,.hero-inner{min-height:500px}.hero-slide{background-position:60% center}.hero-slide:before{background:linear-gradient(90deg,#eaf6ffed,#eaf6ffac)}.hero-copy{padding:50px 16px 75px;max-width:90%}.hero-copy p{font-size:1.05rem}.hero-arrow{top:auto;bottom:16px}.hero-arrow.prev{left:18px}.hero-arrow.next{right:18px}.grid-two,.service-row,.contact-grid{grid-template-columns:1fr}.service-row:nth-child(even) .service-image{order:0}.stats{grid-template-columns:repeat(2,1fr);gap:30px}.sector-grid,.solution-links{grid-template-columns:1fr}.sector-card img,.sector-card .image-placeholder{aspect-ratio:1.9}.callout{display:block;padding:32px}.callout .btn{margin-top:22px}.footer-grid{grid-template-columns:repeat(2,1fr);gap:25px}.page-hero{min-height:240px}.section{padding:52px 0}.feature-box{padding:30px 24px}.feature-list{grid-template-columns:1fr}.service-row:nth-child(even){padding:24px}}
.site-nav .menu{display:flex;align-items:center;gap:clamp(12px,2vw,32px);padding:0;margin:0;list-style:none}.site-nav .menu li{list-style:none}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.screen-reader-text:focus{clip:auto;width:auto;height:auto;z-index:100;padding:12px;background:#fff}.brand:not(:has(img)){display:block}@media(max-width:900px){.site-nav .menu{display:flex;flex-direction:column;align-items:flex-start;gap:16px}}
.footer-logo{display:inline-block;max-width:210px}.footer-logo img{display:block;width:auto;max-width:100%;max-height:76px;object-fit:contain}.brands-section{overflow:hidden}.brand-marquee{width:100%;overflow:hidden;margin-top:28px;padding:18px 0;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}.brand-marquee-track{display:flex;align-items:center;width:max-content;gap:48px;animation:sandoval-marquee 28s linear infinite;will-change:transform}.brand-marquee:hover .brand-marquee-track{animation-play-state:paused}.brand-logo-item{display:grid;place-items:center;flex:0 0 190px;height:92px;padding:15px 22px;background:#fff;border:1px solid #edf1f6;border-radius:8px}.brand-logo-item img{display:block;max-width:100%;max-height:60px;width:auto;height:auto;object-fit:contain;filter:none;opacity:1}@keyframes sandoval-marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 24px))}}@media(prefers-reduced-motion:reduce){.brand-marquee-track{animation-play-state:paused}}@media(max-width:650px){.brand-marquee-track{gap:26px;animation-duration:22s}.brand-logo-item{flex-basis:150px;height:78px;padding:12px 18px}.brand-logo-item img{max-height:50px}@keyframes sandoval-marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 13px))}}}
.clients-section{background:#f7faff}.clients-section h2{margin-bottom:0}.client-marquee-track{animation-duration:42s}.client-logo-item{flex-basis:180px}.client-logo-item img{max-height:64px}
.hero-copy h1{font-family:var(--hero-title-font);font-size:var(--hero-title-size);line-height:var(--hero-title-line);letter-spacing:var(--hero-title-letter);color:var(--hero-title-color)}.hero-copy .hero-subtitle{font-family:var(--hero-subtitle-font);font-size:var(--hero-subtitle-size);line-height:var(--hero-subtitle-line);letter-spacing:var(--hero-subtitle-letter);color:var(--hero-subtitle-color)}.hero-copy>p{font-family:var(--hero-description-font);font-size:var(--hero-description-size);line-height:var(--hero-description-line);letter-spacing:var(--hero-description-letter);color:var(--hero-description-color)}@media(max-width:650px){.hero-copy h1{font-size:var(--hero-title-mobile)}.hero-copy .hero-subtitle{font-size:var(--hero-subtitle-mobile)}.hero-copy>p{font-size:var(--hero-description-mobile)}}
.hero-slide.hero-text-right:before{background:linear-gradient(270deg,rgba(234,246,255,.96),rgba(234,246,255,.77) 42%,rgba(232,246,255,.12) 83%)}.hero-slide.hero-text-right .hero-copy{margin-left:auto}.hero-slide.hero-text-right .hero-card{order:-1;margin-left:0;margin-right:auto}@media(max-width:650px){.hero-slide.hero-text-right:before{background:linear-gradient(270deg,#eaf6ffed,#eaf6ffac)}.hero-slide.hero-text-right .hero-copy{margin-left:auto;margin-right:0}}
.hero-card{position:absolute;z-index:3;margin:0;top:50%;right:0;transform:translateY(-50%)}.hero-card[hidden]{display:none}.hero-card.panel-left{left:0;right:auto}.hero-card.panel-right{left:auto;right:0}.hero-card.panel-top{top:55px;bottom:auto;transform:none}.hero-card.panel-center{top:50%;bottom:auto;transform:translateY(-50%)}.hero-card.panel-bottom{top:auto;bottom:75px;transform:none}.hero-slide.hero-text-right .hero-card{order:initial;margin:0}@media(max-width:900px){.hero-card{display:none!important}}
.hero-card a{display:flex;align-items:center;gap:10px}.hero-card-icon-image{display:inline-block;width:25px;height:25px;flex:0 0 25px;object-fit:contain}.hero-card-icon-image[hidden],.hero-card-icon[hidden]{display:none}.hero-card-icon{display:inline-grid;place-items:center;width:25px;flex:0 0 25px}.hero-card-text{flex:1}

/* Menú desplegable de soluciones */
.site-nav .menu>li{position:relative}.site-nav .sub-menu{position:absolute;top:calc(100% + 12px);left:50%;z-index:50;display:block;min-width:275px;margin:0;padding:12px;background:#fff;border:1px solid #dfeaf5;border-radius:14px;box-shadow:0 18px 40px rgba(21,52,95,.16);list-style:none;opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:.2s ease}.site-nav .sub-menu:before{content:"";position:absolute;left:0;right:0;top:-14px;height:16px}.site-nav .sub-menu li{display:block}.site-nav .sub-menu a{display:block;padding:11px 13px;border-radius:9px;white-space:nowrap;text-transform:none;font-size:.82rem}.site-nav .sub-menu a:hover,.site-nav .sub-menu a:focus{background:#eef6ff;text-decoration:none}.site-nav .menu-item-has-children:hover>.sub-menu,.site-nav .menu-item-has-children:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* Plantillas individuales de soluciones */
.solution-lead{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.solution-lead p{font-size:1.08rem;max-width:650px}.solution-lead-image{display:block;width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:24px}.solution-highlights{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:62px 0}.solution-highlights>div{padding:20px 18px;border-left:3px solid var(--sky);background:#f5f9ff;border-radius:0 14px 14px 0}.solution-highlights strong,.solution-highlights span{display:block}.solution-highlights strong{font:1.35rem 'Source Serif 4',Georgia,serif;color:var(--deep)}.solution-highlights span{font-size:.87rem;color:var(--sky)}.solution-includes{margin-top:65px}.solution-includes h2{text-align:center}.solution-process{padding:75px 0 15px}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.process-grid>div{padding:28px;background:#f0f6ff;border-radius:20px}.process-grid b{display:block;color:var(--sky);font-size:.85rem;margin-bottom:12px}.process-grid h3{margin-bottom:8px}.process-grid p{margin:0;font-size:.92rem}.medical-heading{margin-top:75px}.specialty-row{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center;padding:45px 0}.specialty-row.reverse .specialty-image{order:2}.specialty-image img,.specialty-image .image-placeholder{display:block;width:100%;aspect-ratio:1.35;object-fit:contain;border-radius:50%;background:#eef6ff}.specialty-row li{margin-bottom:8px}.medical-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:60px}.medical-gallery img,.medical-gallery .image-placeholder{width:100%;height:260px;min-height:260px;object-fit:cover;border-radius:12px}

@media(max-width:900px){.site-nav .sub-menu{position:static;min-width:0;margin:8px 0 0 15px;padding:5px 0 5px 15px;border:0;border-left:2px solid #c9e0f4;border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none;background:transparent}.site-nav .sub-menu a{padding:7px 0}.solution-lead,.specialty-row{grid-template-columns:1fr;gap:35px}.specialty-row.reverse .specialty-image{order:0}.solution-highlights,.process-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.solution-highlights,.process-grid,.medical-gallery{grid-template-columns:1fr}.solution-highlights{margin:40px 0}.specialty-row{padding:30px 0}.medical-gallery img,.medical-gallery .image-placeholder{height:220px;min-height:220px}}
