/* ==========================================================
   GAMA GAS
   Estética coordinada con la portada actual
   ========================================================== */

.gas-page{
  background:#fff;
  color:#444;
}

.gas-page main{
  overflow:hidden;
}

.gas-hero{
  position:relative;
  background:
    radial-gradient(circle at 82% 46%, rgba(209,187,0,.12), transparent 24%),
    linear-gradient(135deg,#f7f7f4 0%,#fff 58%,#f3f2e8 100%);
  border-bottom:1px solid #e8e8e2;
}

.gas-hero-inner{
  width:min(1180px,calc(100% - 48px));
  min-height:285px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:70px;
  align-items:center;
  padding:36px 0;
}

.gas-hero-copy{
  max-width:790px;
}

.gas-kicker{
  margin:0 0 14px;
  color:#a39300;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
}

.gas-hero h1{
  max-width:850px;
  margin:0;
  color:#343434;
  font-size:clamp(42px,5vw,68px);
  font-weight:300;
  line-height:1;
  letter-spacing:-.05em;
}

.gas-lead{
  max-width:720px;
  margin:16px 0 0;
  color:#6b6b6b;
  font-size:17px;
  line-height:1.6;
}

.gas-hero-aside{
  min-height:145px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  border-left:1px solid #d9d8ce;
  padding-left:36px;
}

.gas-hero-index{
  color:#aaa;
  font-size:11px;
  letter-spacing:.12em;
}

.gas-hero-line{
  width:74px;
  height:1px;
  margin:22px 0;
  background:#c8b400;
}

.gas-hero-aside strong{
  color:#d1bb00;
  font-size:62px;
  font-weight:300;
  letter-spacing:-.08em;
}

.gas-category-nav{
  background:#fff;
  border-bottom:1px solid #e7e7e2;
  position:relative;
  z-index:2;
}

.gas-category-nav-inner{
  width:min(1180px,calc(100% - 48px));
  min-height:52px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:34px;
  overflow:auto;
  scrollbar-width:none;
}

.gas-category-nav-inner::-webkit-scrollbar{display:none}

.gas-category-nav a{
  flex:0 0 auto;
  color:#676767;
  font-size:12px;
  text-decoration:none;
  white-space:nowrap;
  transition:color .18s ease;
}

.gas-category-nav a:hover{
  color:#9b8b00;
}

.gas-catalog{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}

.gas-group{
  padding:48px 0 54px;
  border-bottom:1px solid #e5e5df;
  scroll-margin-top:120px;
}

.gas-group:last-child{
  border-bottom:0;
}

.gas-group-heading{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:64px;
  align-items:end;
  margin-bottom:22px;
}

.gas-group-heading > div{
  position:relative;
  padding-left:54px;
}

.gas-group-number{
  position:absolute;
  left:0;
  top:3px;
  color:#b4b4ad;
  font-size:11px;
  letter-spacing:.08em;
}

.gas-group-heading h2{
  max-width:720px;
  margin:0;
  color:#3d3d3d;
  font-size:clamp(30px,3.3vw,45px);
  font-weight:300;
  line-height:1.06;
  letter-spacing:-.035em;
}

.gas-group-heading > p{
  max-width:430px;
  justify-self:end;
  margin:0 0 4px;
  color:#777;
  font-size:14px;
  line-height:1.6;
}

.gas-products{
  display:grid;
  gap:18px;
}

.gas-products-two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.gas-products-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.gas-card{
  --card-accent:#d1bb00;
  min-width:0;
  display:grid;
  grid-template-rows:205px auto;
  background:#fafaf8;
  border:1px solid #e4e4de;
  color:inherit;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.gas-card-rinnai{
  --card-accent:#bd2e28;
}

.gas-card::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:4px;
  background:var(--card-accent);
  transform:scaleX(.16);
  transform-origin:left;
  transition:transform .25s ease;
}

.gas-card:hover{
  transform:translateY(-4px);
  border-color:#d4d4cc;
  box-shadow:0 18px 45px rgba(44,44,38,.09);
}

.gas-card:hover::after{
  transform:scaleX(1);
}

.gas-card-image{
  min-width:0;
  display:grid;
  place-items:center;
  padding:16px 22px 8px;
  background:
    radial-gradient(circle at 50% 54%,rgba(209,187,0,.08),transparent 35%),
    #f6f6f3;
  overflow:hidden;
}

.gas-card-rinnai .gas-card-image{
  background:
    radial-gradient(circle at 50% 54%,rgba(185,45,40,.055),transparent 35%),
    #f6f6f3;
}

.gas-card-image img{
  width:100%;
  height:175px;
  object-fit:contain;
  transition:transform .3s ease;
  filter:drop-shadow(0 16px 13px rgba(40,40,40,.12));
}

.gas-card-image-wide img{
  width:94%;
}

.gas-card:hover .gas-card-image img{
  transform:scale(1.025);
}

.gas-card-body{
  min-width:0;
  padding:16px 20px 20px;
  background:#fff;
}

.gas-card-topline{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin-bottom:8px;
  color:#999;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.gas-card-topline span:first-child{
  color:var(--card-accent);
}

.gas-card h3{
  margin:0;
  color:#383838;
  font-size:22px;
  font-weight:400;
  line-height:1.1;
  letter-spacing:-.035em;
}

.gas-card p{
  min-height:34px;
  margin:7px 0 12px;
  color:#727272;
  font-size:13px;
  line-height:1.55;
}

.gas-card dl{
  margin:0;
}

.gas-card dl div{
  min-height:32px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:6px 0;
  border-top:1px solid #e5e5df;
  border-bottom:1px solid #e5e5df;
}

.gas-card dt{
  color:#999;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.gas-card dd{
  margin:0;
  color:#555;
  font-size:12px;
  text-align:right;
}

.gas-card-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:13px;
  color:#756b00;
  font-size:12px;
  font-weight:600;
}

.gas-card-rinnai .gas-card-link{
  color:#a92c27;
}

.gas-card-link b{
  font-size:19px;
  font-weight:300;
  transition:transform .18s ease;
}

.gas-card:hover .gas-card-link b{
  transform:translateX(5px);
}

.gas-help{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto 56px;
  padding:34px 40px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:48px;
  align-items:center;
  background:#f4f3ea;
  border:1px solid #e1dfcf;
}

.gas-help h2{
  max-width:650px;
  margin:0;
  color:#404040;
  font-size:clamp(28px,3vw,40px);
  font-weight:300;
  line-height:1.08;
  letter-spacing:-.03em;
}

.gas-help-actions{
  display:flex;
  flex-direction:column;
  min-width:230px;
}

.gas-help-actions a{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 4px;
  border-bottom:1px solid #cbc8b0;
  color:#5b5b55;
  font-size:12px;
  text-decoration:none;
}

.gas-help-actions a:first-child{
  border-top:1px solid #cbc8b0;
}

.gas-help-actions a span{
  color:#a39300;
  font-size:18px;
  transition:transform .18s ease;
}

.gas-help-actions a:hover span{
  transform:translateX(4px);
}

@media(max-width:900px){
  .gas-hero-inner{
    grid-template-columns:1fr;
    min-height:0;
    gap:34px;
    padding:58px 0 48px;
  }

  .gas-hero-aside{
    min-height:0;
    flex-direction:row;
    justify-content:flex-start;
    align-items:center;
    gap:18px;
    border-left:0;
    border-top:1px solid #d9d8ce;
    padding:24px 0 0;
  }

  .gas-hero-line{
    width:50px;
    margin:0;
  }

  .gas-hero-aside strong{
    font-size:34px;
  }

  .gas-group-heading{
    grid-template-columns:1fr;
    gap:18px;
  }

  .gas-group-heading > p{
    justify-self:start;
    padding-left:54px;
  }

  .gas-products-three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .gas-help{
    grid-template-columns:1fr;
  }
}

@media(max-width:680px){
  .gas-hero-inner,
  .gas-category-nav-inner,
  .gas-catalog,
  .gas-help{
    width:min(100% - 30px,1180px);
  }

  .gas-hero h1{
    font-size:40px;
  }

  .gas-category-nav-inner{
    gap:24px;
  }

  .gas-group{
    padding:60px 0 64px;
  }

  .gas-group-heading{
    margin-bottom:26px;
  }

  .gas-group-heading > div{
    padding-left:0;
  }

  .gas-group-number{
    position:static;
    display:block;
    margin-bottom:12px;
  }

  .gas-group-heading > p{
    padding-left:0;
  }

  .gas-products-two,
  .gas-products-three{
    grid-template-columns:1fr;
  }

  .gas-card{
    grid-template-rows:270px auto;
  }

  .gas-card-image img{
    height:225px;
  }

  .gas-card-body{
    padding:22px 22px 25px;
  }

  .gas-card h3{
    font-size:25px;
  }

  .gas-help{
    margin-bottom:58px;
    padding:36px 26px;
  }

  .gas-help-actions{
    min-width:0;
  }
}


/* AJUSTE COMPACTO · mismo criterio que el resto de páginas de gama */
.gas-group-heading{gap:36px}
.gas-group-heading h2{font-size:clamp(27px,2.6vw,38px)}
.gas-group-heading>p{line-height:1.45}
.gas-kicker{margin-bottom:9px}
.gas-card-topline{margin-bottom:8px}
.gas-card p{line-height:1.42}
.gas-products{gap:14px}

@media(max-width:900px){
  .gas-hero-inner{padding:42px 0 34px}
  .gas-group{padding:42px 0 48px}
  .gas-group-heading{gap:12px}
}

@media(max-width:680px){
  .gas-group{padding:38px 0 42px}
  .gas-card{grid-template-rows:205px auto}
  .gas-card-image img{height:170px}
}
