/*
Theme Name: SyS Hidráulicos
Author: SyS Hidráulicos
Description: Tema de bloques industrial, editable en el Editor del sitio. Incluye portada, servicios, productos y contacto.
Version: 1.3.2
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: sys-hidraulicos
License: GPL-2.0-or-later
*/
:root{--red:#c82e24;--ink:#20252b;--muted:#616970;--line:#dfe2e4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.65;font-size:16px}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}a:focus-visible,button:focus-visible{outline:3px solid #cf9e36;outline-offset:5px}img{max-width:100%;height:auto;display:block}figure,p,h1,h2,h3{margin:0}p+p{margin-top:18px}h1,h2,h3{line-height:1.1;letter-spacing:-.035em}h1{font-size:clamp(42px,4.8vw,72px);font-weight:750}h2{font-size:clamp(32px,3.3vw,49px);font-weight:700}h3{font-size:23px;letter-spacing:-.02em}.wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}.section{padding-block:100px}.eyebrow{color:var(--red);font-size:11px;letter-spacing:2px;font-weight:700;margin:0 0 22px;line-height:1.5}.topbar{background:var(--ink);color:#d5d8da;font-size:11px}.top-inner{display:flex;justify-content:space-between;gap:20px;padding-block:9px}.top-inner p{margin:0}.divider{margin:0 16px;color:#66717a}.site-header{background:#fff;border-bottom:3px solid var(--red)}.nav-inner{display:flex;justify-content:space-between;align-items:center;gap:30px;min-height:100px}.brand{width:280px;flex-shrink:0}.brand img{width:100%}#main-nav{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:600}.nav-cta{padding:13px 23px;background:var(--red);color:#fff}.nav-cta:hover{background:#a12119;color:white}.menu-toggle{display:none}.hero{position:relative;background:#111316;color:#fff;min-height:640px;overflow:hidden}.hero-image{position:absolute;inset:0;width:100%;height:100%}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:75% 50%}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,16,20,.96),rgba(13,16,20,.83) 35%,rgba(13,16,20,.15) 76%)}.hero-content{position:relative;z-index:1;padding-block:88px 36px}.hero .eyebrow{color:#f08e83}.hero h1{max-width:680px}.hero-description{max-width:490px;color:#d1d4d7;margin-top:27px;line-height:1.8}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:31px}.wp-block-button__link{display:inline-block;border:1px solid var(--red);border-radius:0;background:var(--red);color:#fff;padding:15px 23px;font-size:13px;font-weight:600;line-height:1.5;transition:background .2s}.wp-block-button__link:hover{background:#a92119;color:white}.outline .wp-block-button__link{background:transparent;border-color:#70767c;color:inherit}.outline .wp-block-button__link:hover{background:#ffffff15}.hero-bottom{font-size:10px;letter-spacing:2px;color:#aab0b6;margin-top:70px}.facts{display:grid;grid-template-columns:repeat(3,1fr);padding-block:34px;border-bottom:1px solid var(--line);gap:35px}.fact{position:relative;padding-left:45px}.fact .number{position:absolute;left:0;top:2px;color:var(--red);font-size:12px}.fact h3{font-size:18px;letter-spacing:0}.fact p:last-child{font-size:13px;color:var(--muted);margin-top:10px}.about{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}.about-photo img{width:100%;height:360px;object-fit:cover}.photo-caption{font-size:9px;letter-spacing:1.8px;padding:16px 0;border-bottom:2px solid var(--red)}.about-copy>p:not(.eyebrow){color:var(--muted);font-size:15px;margin-top:22px}.text-button .wp-block-button__link{background:none;border:0;border-bottom:1px solid var(--red);color:var(--red);padding:0 0 9px}.services-bg{background:#f3f4f5}.section-heading{max-width:680px;margin-bottom:45px}.section-heading>p:last-child:not(.eyebrow){color:var(--muted);margin-top:23px;max-width:580px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.service-card{padding:32px;background:#fff;display:flex;flex-direction:column}.service-number{font-size:12px;color:var(--red);margin-bottom:30px}.service-card h3{min-height:50px;max-width:260px}.service-card>p:not(.service-number){font-size:14px;color:var(--muted);margin-top:18px}.service-card .service-link{padding-top:24px;margin-top:auto!important;font-weight:700}.service-link a{color:var(--ink)}.service-link span{float:right;color:var(--red)}.products-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:stretch}.product-feature img{width:100%;height:100%;object-fit:cover;object-position:64%}.product-row{padding:24px 0;border-bottom:1px solid var(--line)}.product-row:first-child{padding-top:0}.product-row h3{font-size:23px}.product-row p{margin-top:12px;font-size:14px;color:var(--muted)}.product-row a{font-size:12px;color:var(--red);font-weight:600}.brand-strip{margin-top:55px;padding-top:30px;border-top:1px solid var(--line)}.brand-strip .eyebrow{color:var(--muted)}.brands{font-size:21px;font-weight:700;line-height:1.9}.brands span{color:#b6bbc0;margin-inline:15px}.muted{font-size:12px;color:var(--muted)}.work-bg{background:#f3f4f5}.work-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:25px}.work-card img{width:100%;height:330px;object-fit:cover}.work-card:last-child img{object-fit:contain;background:#e0e2df}.work-card h3{font-size:20px;margin-top:23px}.work-card p{font-size:13px;color:var(--muted);margin-top:10px}.contact-bg{background:var(--ink);color:#fff}.contact{display:grid;grid-template-columns:1.3fr 1fr;gap:100px}.contact .eyebrow{color:#f08e83}.contact-intro>p:not(.eyebrow){color:#bec4ca;margin-top:25px;max-width:550px}.contact-details{border-left:1px solid #50565c;padding-left:45px}.contact-details h3{font-size:22px;margin-bottom:20px}.contact-details p{font-size:14px;margin-top:12px}.contact-details .eyebrow{font-size:10px;margin-top:24px;margin-bottom:0}.contact-details a{overflow-wrap:anywhere}.contact-details a:hover{color:#f08e83}.site-footer{padding:40px 0 65px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.footer-logo{width:230px}.footer-inner p{font-size:11px;color:var(--muted);margin:0}.floating-contact{position:fixed;right:22px;bottom:22px;background:#176b49;color:#fff;z-index:20;padding:13px 21px;font-size:13px;border-radius:3px;box-shadow:0 4px 20px #0002}.floating-contact:hover{background:#12573b;color:#fff}.floating-contact span{margin-right:9px}.legacy-content{min-height:55vh}.legacy-content h1{margin-bottom:35px}.legacy-content p{margin-block:20px}.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}.wp-block-template-part{margin:0}.skip-link{position:absolute;left:-999px}.skip-link:focus{left:15px;top:15px;background:white;padding:15px;z-index:100}
@media(min-width:1600px){.hero{min-height:720px}.hero-content{padding-top:120px}}@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.brand{width:230px}#main-nav{gap:16px;font-size:12px}.about{gap:40px}.service-card{padding:24px}.products-layout{gap:35px}.contact{gap:45px}.hero h1{max-width:620px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.top-inner{justify-content:center}.top-inner p:last-child{display:none}.nav-inner{min-height:83px;position:relative}.brand{width:230px;max-width:72%}.menu-toggle{display:block;border:1px solid #d7dadd;background:#fff;padding:9px 12px;font-size:12px;color:var(--ink)}#main-nav{display:none;position:absolute;top:83px;left:-20px;right:-20px;background:white;z-index:30;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px;box-shadow:0 8px 10px #0002}#main-nav.is-open{display:flex}#main-nav a{padding:13px 15px}.hero{min-height:650px}.hero-image img{object-position:67% center}.hero:after{background:linear-gradient(90deg,#101317eb,#10131780),linear-gradient(0deg,#101317aa,transparent)}.hero-content{padding-block:68px 32px}.hero h1{font-size:46px;max-width:540px}.hero-description{font-size:15px;max-width:440px}.hero-bottom{font-size:9px;letter-spacing:1.1px;margin-top:45px}.hero .eyebrow{font-size:10px;letter-spacing:1.5px}.facts{grid-template-columns:1fr;gap:24px;padding-block:28px}.fact{padding-left:35px}.fact p:last-child{margin-top:6px}.section{padding-block:65px}.about,.products-layout,.contact{grid-template-columns:1fr;gap:35px}.about-copy{grid-row:1}.about-photo img{height:280px}.service-grid{grid-template-columns:1fr 1fr}.service-card{padding:25px 20px}.service-card h3{font-size:21px}.service-card>p:not(.service-number){font-size:13px}.product-feature img{height:300px;object-position:center}.work-grid{grid-template-columns:1fr;gap:35px}.work-card img{height:350px;object-position:center 45%}.work-card:last-child img{height:280px}.contact-details{border-left:0;border-top:1px solid #50565c;padding:30px 0 0}.footer-inner{flex-wrap:wrap;align-items:flex-start}.footer-logo{width:220px}.brands{font-size:18px}.brands span{margin-inline:8px}.floating-contact{bottom:14px;right:14px;padding:11px 15px}.wp-block-button__link{padding:14px 18px}.section-heading{margin-bottom:32px}}
@media(max-width:420px){.hero h1{font-size:39px}.service-grid{grid-template-columns:1fr}.service-card h3{min-height:0}.service-number{margin-bottom:17px}.hero{min-height:660px}.hero .wp-block-buttons{flex-direction:column;align-items:flex-start}.hero-description{font-size:14px}.hero-bottom{margin-top:30px}.contact h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Version 1.1: product catalog, carousel and Street View */
.hero-slides{position:absolute;inset:0}.hero-image{opacity:0;transition:opacity .8s ease}.hero-image.is-active{opacity:1}.carousel-controls{display:flex;align-items:center;gap:12px;margin-top:40px;flex-wrap:wrap}.carousel-controls button{height:38px;min-width:38px;border:1px solid #737b83;background:#171b20b3;color:#fff;cursor:pointer;font-size:14px;padding:8px 13px}.carousel-controls button:hover{background:var(--red);border-color:var(--red)}.carousel-status{min-width:38px;text-align:center;color:#ddd;font-size:12px;font-variant-numeric:tabular-nums}.carousel-caption{color:#d4d8dc;font-size:11px;margin-left:10px}.hero-bottom{margin-top:24px}.hero-content{padding-bottom:38px}.catalog-note{font-size:12px;color:#626970;border-left:2px solid var(--red);padding:8px 15px;margin-bottom:25px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.catalog-card{border:1px solid var(--line);display:flex;flex-direction:column}.catalog-photo{padding:22px;background:#fff}.catalog-photo img{width:100%;height:180px;object-fit:contain}.catalog-copy{padding:22px;background:#f5f6f7;flex:1;display:flex;flex-direction:column}.catalog-copy h3{font-size:20px;min-height:44px}.catalog-copy p{font-size:13px;color:var(--muted);margin-top:15px}.catalog-copy p:last-child{padding-top:20px;margin-top:auto}.catalog-copy a{color:var(--red);font-size:12px;font-weight:700}.catalog-extra{margin-top:35px;padding:30px;background:var(--ink);color:white;display:flex;align-items:center;justify-content:space-between;gap:35px}.catalog-extra p{font-size:14px;color:#ced3d8;max-width:740px;margin-top:12px}.catalog-extra h3{font-size:22px}.catalog-extra .wp-block-buttons{margin:0;flex-shrink:0}.engineering-wrap{padding-bottom:85px}.engineering-strip{display:grid;grid-template-columns:1.1fr 1fr;background:white;border:1px solid var(--line)}.engineering-image img{width:100%;height:100%;object-fit:cover}.engineering-copy{padding:35px}.engineering-copy h3{font-size:30px}.engineering-copy>p:not(.eyebrow){margin-top:20px;font-size:14px;color:var(--muted)}.work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 25px}.work-card:last-child img{object-fit:cover}.work-card img{height:300px}.location{display:grid;grid-template-columns:1fr 1.2fr;gap:60px;align-items:center}.location-copy>p:not(.eyebrow){margin-top:24px;color:var(--muted)}.street-view iframe{display:block;width:100%;height:380px;background:#e7e9eb}.street-caption{color:var(--muted);font-size:11px;margin-top:10px}.location .wp-block-buttons{align-items:center}
@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-extra{align-items:flex-start;flex-direction:column}.location{gap:35px}.engineering-copy{padding:25px}}
@media(max-width:760px){.carousel-controls{gap:9px;margin-top:30px}.carousel-caption{width:100%;margin:0;font-size:11px}.hero-bottom{font-size:8px;letter-spacing:1px;margin-top:20px}.hero{min-height:730px}.catalog-grid{gap:15px}.catalog-photo{padding:13px}.catalog-photo img{height:150px}.catalog-copy{padding:18px}.catalog-copy h3{font-size:18px;min-height:40px}.catalog-copy p{font-size:12px}.engineering-strip,.location{grid-template-columns:1fr}.engineering-image img{height:230px;object-fit:contain}.engineering-wrap{padding-bottom:60px}.work-grid{grid-template-columns:1fr 1fr;gap:30px 18px}.work-card img,.work-card:last-child img{height:230px}.work-card h3{font-size:19px}.street-view iframe{height:340px}.location{gap:30px}.location h2{font-size:34px}}
@media(max-width:420px){.catalog-grid,.work-grid{grid-template-columns:1fr}.catalog-photo img{height:210px}.catalog-copy h3{min-height:0;font-size:22px}.catalog-copy p{font-size:14px}.work-card img,.work-card:last-child img{height:320px}.hero .wp-block-buttons{gap:12px}.carousel-caption{display:none}.hero-bottom{line-height:1.6;max-width:270px}.hero-content{padding-top:55px}.hero{min-height:730px}}

/* Version 1.2: persistent navigation and moving logo ribbons */
:root{--nav-height:103px;--topbar-height:36px;--adminbar-height:0px}
html{scroll-padding-top:calc(var(--nav-height) + var(--adminbar-height) + 18px)}
.sys-sticky-header{position:sticky;top:calc(var(--adminbar-height) - var(--topbar-height));z-index:60;background:white;box-shadow:0 4px 14px #20252b0a}
.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.catalog-photo img{height:210px}.catalog-copy h3{min-height:0}
.logo-ribbon{padding-block:48px 42px;border-block:1px solid var(--line);background:#fff;overflow:hidden}
.ribbon-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:32px}
.ribbon-heading .eyebrow{margin-bottom:12px}.ribbon-heading h2{font-size:clamp(25px,2.4vw,34px)}
.logo-pause{flex-shrink:0;background:none;color:#626970;border:0;border-bottom:1px solid #c7cbd0;padding:8px 0;font:inherit;font-size:11px;cursor:pointer}
.logo-pause span{margin-left:7px}.logo-pause:hover{color:var(--red)}
.logo-window{overflow-x:auto;scrollbar-width:thin}.logo-ribbon.is-animated .logo-window{overflow:hidden}
.logo-track{display:flex;width:max-content}
.logo-list{display:flex;flex:none;align-items:center;justify-content:space-around;min-width:100vw;gap:48px;padding:0 48px 0 0}
.logo-item{flex:0 0 210px;width:210px;height:108px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.logo-art{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.logo-art img{width:180px;max-height:82px;object-fit:contain}
.logo-parker img{background:#111}.logo-denison img{width:205px}
.logo-schneider img{max-height:126px;width:195px}.logo-cartocor img{width:210px;max-height:210px}
.logo-ribbon.is-animated .logo-track{animation:logo-flow 36s linear infinite}
#clientes.is-animated .logo-track{animation-duration:32s}
.logo-ribbon.is-paused .logo-track,.logo-ribbon.is-offscreen .logo-track,.logo-ribbon:hover .logo-track,.logo-ribbon:focus-within .logo-track{animation-play-state:paused}
@keyframes logo-flow{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.logo-ribbon [hidden]{display:none!important}
@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--nav-height:86px}.ribbon-heading{align-items:flex-start;gap:20px}.ribbon-heading h2{max-width:360px}.logo-ribbon{padding-block:35px 28px}.logo-list{gap:30px;padding-right:30px}.logo-item{width:180px;flex-basis:180px}.logo-art img{width:155px}.logo-denison img{width:175px}.logo-schneider img{width:180px}.logo-cartocor img{width:200px}#main-nav{max-height:calc(100dvh - var(--nav-height));overflow-y:auto}}
@media(max-width:420px){.catalog-grid{grid-template-columns:1fr}.ribbon-heading{flex-direction:column;gap:10px;margin-bottom:18px}.logo-pause{font-size:11px}.ribbon-heading h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.logo-ribbon.is-animated .logo-track{animation:none}.logo-ribbon.is-animated .logo-window{overflow-x:auto}}

/* Version 1.3: expanded catalog and accessible work gallery */
.component-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 20px;max-width:760px}
.component-list li{font-size:13px;color:#eef0f2;display:flex;align-items:center;gap:8px}
.component-list li:before{content:"";width:5px;height:5px;background:#f0695e;flex:none}
#pistones .catalog-photo{padding-inline:10px}
#repuestos .catalog-photo img{object-fit:contain}
.work-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:34px}
.work-heading .section-heading{margin:0;max-width:665px}
.work-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:0 0 255px}
.work-controls[hidden]{display:none!important}
.work-controls button{min-width:42px;min-height:42px;border:1px solid #c3c9ce;background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.work-controls button:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.work-controls .work-pause{margin-left:auto;border:0;border-bottom:1px solid #aeb5bb;font-size:11px;padding:6px 0;min-height:34px}
.work-pause span{margin-left:9px}.work-count{font-size:12px;min-width:74px;text-align:center;font-variant-numeric:tabular-nums}
.work-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:15px;overscroll-behavior-x:contain}
.work-slide{min-width:0;background:white;scroll-snap-align:start;border:1px solid #e1e4e7;display:flex;flex-direction:column}
.work-photo img{width:100%;height:300px;object-fit:cover;display:block}
.work-copy{padding:23px;display:flex;flex-direction:column;flex:1}
.work-copy .work-tag{font-size:9px;letter-spacing:1.3px;font-weight:700;color:var(--red);margin-bottom:11px}
.work-copy h3{font-size:21px;line-height:1.25;margin-bottom:10px}
.work-copy>p:not(.work-tag){font-size:13px;line-height:1.6;color:var(--muted)}
.work-copy .work-credit{font-size:10px!important;margin-top:auto;padding-top:17px}
.work-credit a{text-decoration:underline;text-underline-offset:3px}
.work-track:focus-visible{outline:2px solid var(--red);outline-offset:4px}
#clientes.is-animated .logo-track{animation-duration:52s}
.logo-arcor img{width:125px;max-height:90px}
.logo-ypf img{width:200px;height:78px;max-height:78px;object-fit:none;object-position:8% center}
.logo-agd{width:200px;overflow:hidden;justify-content:flex-start}
.logo-agd img{width:350px;max-width:none;max-height:none;flex-shrink:0}
@media(max-width:1000px){.work-track{grid-auto-columns:calc((100% - 24px)/2)}.work-heading{align-items:flex-start;flex-direction:column}.work-controls{flex-basis:auto;justify-content:flex-start;width:100%}.work-controls .work-pause{margin-left:12px}}
@media(max-width:600px){.work-track{grid-auto-columns:100%;gap:18px}.work-photo img{height:290px}.work-copy{padding:22px}.work-controls{gap:8px}.work-controls .work-pause{margin-left:auto}.component-list{flex-direction:column;gap:12px}.catalog-extra{padding:26px}.logo-ypf img{width:180px;object-position:8% center}.logo-agd{width:180px}.logo-agd img{width:320px}}
@media(prefers-reduced-motion:reduce){.work-track{scroll-behavior:auto}}

/* Keep tall machinery entirely visible in the work gallery. */
.work-photo-contain{background:#edf0f2}
.work-photo-contain img{object-fit:contain}
