:root{
  --navy:#092c62; --navy2:#061d3f; --teal:#05a9b8; --text:#173158;
  --muted:#62748d; --line:#dde6ef; --soft:#f6f9fc; --white:#fff;
  --shadow:0 10px 30px rgba(8,40,81,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.45}
a{text-decoration:none;color:inherit} button,input,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 48px));margin:auto}
.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid #edf1f5}
.nav{height:76px;display:flex;align-items:center;gap:36px}.logo{width:64px;height:64px;display:flex;align-items:center;justify-content:center;flex:0 0 64px}.logo img{width:64px;height:64px;object-fit:contain;display:block}.navlinks{display:flex;gap:28px;margin-left:auto;font-size:14px;color:#173158}.navlinks a{padding:27px 0 23px;border-bottom:3px solid transparent}.navlinks a.active{font-weight:700;border-color:var(--teal)}
.nav-actions{display:flex;gap:10px;align-items:center}.btn{border:0;border-radius:999px;padding:13px 23px;font-weight:700;cursor:pointer;transition:.2s ease}.btn.primary{background:var(--navy);color:#fff}.btn.primary:hover{background:#0d3e82}.btn.outline{border:1px solid #bed0e1;background:#fff;color:var(--navy)}
.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#fff 0%,#f7fafc 45%,#eef5fa 100%)}
.hero:before{content:"";position:absolute;inset:auto -10% -42% 38%;height:420px;background:radial-gradient(circle,rgba(7,169,184,.12),transparent 65%)}
.hero-grid{min-height:510px;display:grid;grid-template-columns:41% 59%;align-items:center;position:relative;z-index:1}
.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:12px;font-weight:800;color:#0d4f78;margin-bottom:12px}.eyebrow:after{content:"";display:block;width:44px;height:3px;background:var(--teal);margin-top:10px;border-radius:2px}
.hero h1{font-size:58px;line-height:.96;margin:0 0 20px;letter-spacing:-.035em;color:#0a2d64}.hero h1 span{color:var(--teal)}.hero .lead{font-size:20px;line-height:1.5;margin:0 0 28px;max-width:530px;color:#30496e}.hero-copy{padding:62px 18px 62px 0}
.hero-stage{height:510px;position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.hero-stage:after{content:"";position:absolute;left:10%;right:4%;bottom:35px;height:36px;background:radial-gradient(ellipse,rgba(4,28,55,.18),transparent 70%);filter:blur(4px)}
.hero-main{position:absolute;width:64%;max-height:470px;object-fit:contain;right:2%;bottom:12px;z-index:3}.hero-side{position:absolute;width:31%;object-fit:contain;left:8%;bottom:35px;z-index:4}.hero-gauge{position:absolute;width:20%;object-fit:contain;left:31%;bottom:18px;z-index:5}
.pillbar{background:#fff;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}.pillgrid{display:grid;grid-template-columns:repeat(4,1fr)}.pill{padding:22px 28px;border-right:1px solid var(--line)}.pill:last-child{border-right:0}.pill b{display:block;font-size:17px;color:var(--navy);margin-bottom:4px}.pill span{font-size:14px;color:var(--muted)}
.performance{padding:66px 0 54px}.section-title{font-size:38px;line-height:1.08;margin:0 0 12px;color:#0a2d64;letter-spacing:-.025em}.section-copy{font-size:17px;color:var(--muted);max-width:800px;margin:0}.perf-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:34px;border-top:1px solid #cfdbe6}.perf{padding:27px 34px 4px;border-right:1px solid #cfdbe6}.perf:first-child{padding-left:0}.perf:last-child{border-right:0}.perf h3{font-size:22px;margin:0 0 8px;color:var(--navy)}.perf p{margin:0;color:var(--muted);font-size:15px}
.portfolio{padding:60px 0 72px;background:linear-gradient(#fbfdff,#f7fafc)}.portfolio-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:28px}.portfolio-head p{max-width:500px;margin:0;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid #e2e9f0;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(5,38,76,.04);display:flex;flex-direction:column;min-width:0}.media{height:228px;display:flex;align-items:center;justify-content:center;padding:18px;background:linear-gradient(180deg,#fff,#f8fafc);overflow:hidden}.media img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.media.dual{gap:5px}.media.dual img{max-width:52%;max-height:95%}.card-body{padding:16px 17px 18px;display:flex;flex-direction:column;flex:1}.card h3{margin:0 0 7px;font-size:19px;line-height:1.12;color:var(--navy)}.card p{margin:0 0 12px;color:#60728c;font-size:14px;line-height:1.38}.spec{font-size:13px;color:#315275;border-top:1px solid #e8eef4;padding-top:10px;margin-top:auto}.quote-link{margin-top:12px;background:none;border:0;padding:0;color:#0876b6;font-weight:800;text-align:left;cursor:pointer}.quote-link:hover{text-decoration:underline}
.cta{position:relative;background-image:linear-gradient(90deg,rgba(4,24,47,.94) 0%,rgba(4,24,47,.82) 35%,rgba(4,24,47,.42) 58%,rgba(4,24,47,.08) 80%),url('../assets/cta-hydronic-room.webp');background-size:cover;background-position:center center;background-repeat:no-repeat;color:#fff;overflow:hidden}.cta-grid{min-height:330px;display:grid;grid-template-columns:minmax(0,640px) 1fr;align-items:center}.cta h2{font-size:42px;line-height:1.05;margin:0 0 14px;letter-spacing:-.03em;text-shadow:0 2px 10px rgba(0,0,0,.18)}.cta p{font-size:17px;color:#eef5fb;max-width:560px;text-shadow:0 1px 6px rgba(0,0,0,.18)}.cta .btn{background:#fff;color:var(--navy);margin-top:12px}.cta-art{display:none}
.footer{background:#04182f;color:#d7e2ed;padding:45px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.footer-logo img{width:120px}.footer p{color:#aebfd0;max-width:420px}.footer h4{color:#fff;margin:0 0 12px}.footer a{display:block;color:#b8c8d7;margin:7px 0;font-size:14px}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:30px;padding-top:15px;font-size:13px;color:#8197ab}
.modal{position:fixed;inset:0;background:rgba(0,18,38,.62);display:none;align-items:center;justify-content:center;padding:20px;z-index:100}.modal.open{display:flex}.modal-card{background:#fff;width:min(760px,100%);border-radius:18px;padding:26px;box-shadow:0 22px 80px rgba(0,0,0,.25)}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.modal-head h3{margin:0;color:var(--navy);font-size:28px}.modal-head p{margin:5px 0;color:var(--muted)}.close{border:0;background:#eff4f8;width:38px;height:38px;border-radius:50%;font-size:23px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.form-grid .full{grid-column:1/-1}label{display:block;font-size:13px;font-weight:700;color:#38506d;margin-bottom:5px}input,textarea{width:100%;border:1px solid #d8e2eb;border-radius:10px;padding:11px;background:#fff}textarea{min-height:105px;resize:vertical}.form-note,.form-result{font-size:13px;color:#6a7b8d;margin-top:12px}.form-result{display:none;background:#edf8f7;color:#1f6f68;padding:10px;border-radius:8px}
@media(max-width:980px){.navlinks{display:none}.hero-grid{grid-template-columns:1fr}.hero-copy{padding-bottom:10px}.hero-stage{height:430px}.pillgrid{grid-template-columns:1fr 1fr}.pill:nth-child(2){border-right:0}.cards{grid-template-columns:repeat(2,1fr)}.cta-grid{grid-template-columns:1fr}.cta-art{height:240px}.footer-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:50px}}
@media(max-width:620px){.container{width:min(100% - 28px,1180px)}.nav{height:68px}.logo{width:56px;height:56px;flex-basis:56px}.logo img{width:56px;height:56px}.nav-actions .outline{display:none}.hero h1{font-size:42px}.hero .lead{font-size:17px}.hero-stage{height:330px}.hero-main{width:68%}.hero-side{width:32%;left:2%}.hero-gauge{width:22%;left:28%}.pillgrid{grid-template-columns:1fr}.pill{border-right:0;border-bottom:1px solid var(--line);padding:16px 0}.performance,.portfolio{padding:46px 0}.section-title{font-size:32px}.perf-grid{grid-template-columns:1fr}.perf{border-right:0;border-bottom:1px solid #dce5ed;padding:18px 0}.portfolio-head{display:block}.portfolio-head p{margin-top:10px}.cards{grid-template-columns:1fr}.media{height:240px}.cta{background-position:68% center}.cta-grid{min-height:300px}.cta h2{font-size:34px}.footer-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}


/* V3 — photographic hero + CTA backgrounds */
.hero.hero-photo{
  position:relative;
  overflow:hidden;
  background:#eef4f8;
}
.hero.hero-photo:before{display:none}
.hero-photo-bg{
  position:absolute;
  inset:0;
  background-image:url('../assets/hero-valvulas-real.webp');
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  z-index:0;
}
.hero.hero-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.97) 27%,rgba(255,255,255,.80) 40%,rgba(255,255,255,.28) 55%,rgba(255,255,255,0) 72%);
  z-index:1;
  pointer-events:none;
}
.hero.hero-photo .hero-grid{
  min-height:430px;
  position:relative;
  z-index:2;
  grid-template-columns:45% 55%;
}
.hero.hero-photo .hero-copy{padding:54px 12px 54px 0}
.hero.hero-photo .hero-stage{height:430px;min-height:0}
.hero.hero-photo .hero-stage:after{display:none}
.hero.hero-photo .hero-main,
.hero.hero-photo .hero-side,
.hero.hero-photo .hero-gauge{display:none!important}
.hero.hero-photo h1{font-size:52px;line-height:.98;margin-bottom:18px}
.hero.hero-photo .lead{font-size:18px;max-width:520px}

.cta{
  background-image:linear-gradient(90deg,rgba(4,24,47,.96) 0%,rgba(4,24,47,.88) 32%,rgba(4,24,47,.58) 52%,rgba(4,24,47,.18) 72%,rgba(4,24,47,.03) 100%),url('../assets/cta-hidronico-real.webp')!important;
  background-size:cover!important;
  background-position:center 52%!important;
  background-repeat:no-repeat!important;
}
.cta-grid{min-height:360px}

@media(max-width:980px){
  .hero.hero-photo .hero-grid{grid-template-columns:1fr;min-height:500px}
  .hero.hero-photo .hero-stage{display:none}
  .hero.hero-photo:after{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 58%,rgba(255,255,255,.42) 100%)}
  .hero-photo-bg{background-position:60% center}
}
@media(max-width:620px){
  .hero.hero-photo .hero-grid{min-height:440px}
  .hero.hero-photo .hero-copy{padding:42px 0}
  .hero.hero-photo h1{font-size:40px}
  .hero.hero-photo .lead{font-size:16px;max-width:92%}
  .hero-photo-bg{background-position:64% center}
  .cta{background-position:58% center!important}
}


/* ===== RESPONSIVE / FULL-BLEED FIX — 2026-11-13 ===== */
:root{--page-gutter:clamp(18px,3.2vw,52px)}
html,body{width:100%;max-width:100%;overflow-x:hidden}
.container{width:min(1320px,calc(100% - (2 * var(--page-gutter))))!important;margin-inline:auto!important}
.hero.hero-photo,.cta{width:100%;max-width:none}
.hero.hero-photo .hero-grid{min-height:clamp(390px,31vw,480px)!important;grid-template-columns:minmax(340px,45%) minmax(0,55%)!important}
.hero.hero-photo .hero-copy{padding:clamp(38px,4vw,56px) clamp(12px,2vw,28px) clamp(38px,4vw,56px) 0!important}
.hero.hero-photo h1{font-size:clamp(40px,4vw,54px)!important}
.hero.hero-photo .lead{font-size:clamp(16px,1.35vw,19px)!important}
.section-title{font-size:clamp(31px,2.8vw,39px)!important}
.cta h2{font-size:clamp(32px,3vw,42px)!important}
.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(15px,1.5vw,20px)}
@media(max-width:1050px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .hero.hero-photo .hero-grid{grid-template-columns:1fr!important;min-height:clamp(390px,70vw,480px)!important}
  .hero.hero-photo .hero-copy{padding:36px 0!important}
  .cards{grid-template-columns:1fr}
}
