/* ================= SERVICE PAGE ================= */

:root{
  --eco-blue: #23376f;
  --eco-green: #2f8f3d;
  --text: #1f2a36;
  --muted: #4b5563;
  --bg: #ffffff;
}

body{
  padding-top: 70px; /* header fixed */
}

/* Reasegurar container si en alguna página no lo trae */
.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ================= HERO ================= */

.service-hero{
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: center;
}

.service-hero__media{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.service-hero__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
  transform: scale(1.02);
}

.service-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(35,55,111,.82), rgba(35,55,111,.55));
}

.service-hero__content{
  position: relative;
  padding: 42px 0 44px;
  color: #fff;
}

.breadcrumbs{
  font-size: 13px;
  color: rgba(255,255,255,.88);
  margin-bottom: 14px;
}

.breadcrumbs a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumbs a:hover{
  text-decoration: underline;
}

.service-hero h1{
  margin: 0 0 10px 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .2px;
}

.service-hero__subtitle{
  margin: 0 0 18px 0;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 820px;
}

.service-hero__ctas{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.service-hero__note{
  margin: 14px 0 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.88);
}

/* Botones */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--eco-green);
  color: #fff;
  text-decoration:none;
  font-weight: 900;
  border: 2px solid var(--eco-green);
  transition: transform .18s ease, filter .18s ease;
}

.btn-primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration:none;
  font-weight: 900;
  border: 2px solid rgba(255,255,255,.38);
  transition: transform .18s ease, background .18s ease;
}

.btn-outline:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
}

/* ================= MAIN ================= */

.service-wrap{
  padding: 56px 0 70px;
  max-width: 900px;
}

.service-section{
  margin-bottom: 28px;
}

.service-section h2{
  margin: 0 0 10px 0;
  font-size: 28px;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 14px;
}

.service-section p{
  margin: 0;
  color: #2c3640;
  line-height: 1.75;
  font-size: 18px;
}

/* Cards */
.service-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.service-card{
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 16px;
}

.service-card h3{
  margin: 0 0 8px 0;
  color: var(--eco-blue);
  font-size: 18px;
  font-weight: 900;
}

.service-card p{
  margin: 0;
  color: #2c3640;
  font-size: 16px;
  line-height: 1.55;
}

/* Callout */
.callout{
  border-left: 5px solid var(--eco-green);
  padding: 16px 16px 16px 16px;
  background: #f3f7f4;
  border-radius: 14px;
}

/* Lista */
.service-list{
  margin: 12px 0 0 18px;
  color: #2c3640;
  line-height: 1.7;
}

/* CTA bloque */
.service-cta{
  margin-top: 10px;
  background: #f5f6f8;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.service-cta__buttons{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* FAQ */
.faq{
  background:#fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary{
  cursor:pointer;
  font-weight: 900;
  color: var(--eco-blue);
}

.faq p{
  margin-top: 10px;
  color:#2c3640;
}

/* ================= WHATSAPP FLOAT (igual que home) ================= */

.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  z-index: 9999;
  transition: all .2s ease;
  text-decoration: none;
}

.whatsapp-float:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}

.whatsapp-icon{
  width: 30px;
  height: 30px;
}

@media (max-width: 900px){
  .service-cards{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .service-hero{
    min-height: 340px;
  }

  .service-wrap{
    padding: 44px 0 60px;
  }

  .whatsapp-float{
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-icon{
    width: 26px;
    height: 26px;
  }
}

/* Botón WhatsApp en bloque CTA */

.btn-whatsapp{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration:none;
  font-weight: 900;
  border: 2px solid #25D366;
  transition: transform .18s ease, filter .18s ease;
}

.btn-whatsapp:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}