:root{
  --bg1:#f5f6f8;
  --bg2:#eceff3;
  --ink:#0f172a;
  --muted:#475569;
  --card:#ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);
  --shadow2: 0 10px 25px rgba(15, 23, 42, .12);
  --radius: 18px;

  --brand:#e46b62;
  --nav:#304556;
  --soft:#f2f4f7;
  --border:rgba(15,23,42,.08);

  --gold:#F3C316;
  --goldInk:#1f2937;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(1160px, calc(100% - 32px));
  margin:0 auto;
}

.section{ padding: 34px 0; }
.section.alt{ padding: 40px 0 54px; }

.section-title{
  margin: 0 0 8px;
  font-size: clamp(26px, 2.2vw, 34px);
  letter-spacing: -0.02em;
}
.section-sub{
  margin: 0 0 18px;
  color:var(--muted);
}

/* =========================
   HEADER (INDEX)
   ========================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(48,69,86,.98), rgba(48,69,86,.94));
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  backdrop-filter: blur(8px);
  padding-top: max(env(safe-area-inset-top), 0px);
}

.header-inner{
  min-height:72px;
  height:auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding: 12px 0;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand-logo{
  height:62px;
  width:auto;
  border-radius:12px;
  background:#fff;
  padding:8px;
}

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.06;
  letter-spacing:.14em;
  font-weight:900;
  color:#eaf0f6;
  text-transform:uppercase;
}

.brand-title .t1,
.brand-title .t2{
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight:900;
}

.nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  color:#eaf0f6;
  font-weight:700;
  opacity:.9;
  padding:10px 10px;
  border-radius: 12px;
  transition: all .18s ease;
}
.nav a:hover{
  opacity:1;
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.header-cta{
  margin-left: 12px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
}

.dot{
  width:8px;
  height:8px;
  background:#22c55e;
  border-radius:99px;
  box-shadow: 0 0 0 5px rgba(34,197,94,.18);
}

/* MENU MOBILE */
.menu-btn{
  display:none;
  margin-left:auto;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  cursor:pointer;
  padding:10px;
}
.menu-btn span{
  display:block;
  height:2px;
  background:#fff;
  margin:6px 0;
  border-radius:99px;
}

/* =========================
   HERO
   ========================= */
.hero-section{ padding-top: 22px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.45fr .85fr;
  gap: 20px;
  align-items: stretch;
}

.hero-card{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 420px at 0% 20%, rgba(0,0,0,.58), transparent 55%),
    linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.05));
}

.hero-content{
  position:relative;
  z-index:2;
  padding: 34px;
  color:#fff;
  max-width: 560px;
}
.hero-title{
  margin:0 0 10px;
  font-size: clamp(32px, 3.2vw, 54px);
  line-height: 1.02;
  letter-spacing:-0.03em;
  font-weight: 900;
  text-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.hero-sub{
  margin: 0 0 18px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
  max-width: 520px;
}
.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
}

/* =========================
   CARDS
   ========================= */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}
.card-title{
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all .18s ease;
  user-select:none;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow2); }
.btn:active{ transform: translateY(0px) scale(.99); box-shadow:none; }

.btn-primary{ background: var(--brand); color:#fff; }
.btn-primary:hover{ filter: brightness(1.03); }

.btn-secondary,
.btn-soft{
  background: var(--soft);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-outline{
  background: transparent;
  border: 1px solid rgba(15,23,42,.22);
  color: var(--ink);
}
.btn-pill{ border-radius: 999px; }

.btn-ghost{
  background: rgba(255,255,255,.16);
  color:#fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}

/* Botón Dorado */
.btn-gold{
  background: linear-gradient(180deg, #f7d94a 0%, var(--gold) 50%, #d4a80e 100%);
  color: var(--goldInk);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 8px 20px rgba(243,195,22,.35);
  font-weight: 800;
}
.btn-gold:hover{
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(243,195,22,.45);
}

.btn-full{
  width: 100%;
  justify-content: center;
}

/* Botón Verde WhatsApp */
.btn-green{
  background: linear-gradient(180deg, #25d366 0%, #20bd5a 50%, #1da851 100%);
  color: #fff;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
  font-weight: 800;
}
.btn-green:hover{
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
}

/* Instagram button (sin tocar HTML): queda dorado */
.center .btn.btn-pill.btn-outline{
  background: var(--gold);
  color: var(--goldInk);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 22px rgba(243,195,22,.28);
}
.center .btn.btn-pill.btn-outline:hover{
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(243,195,22,.34);
}

/* =========================
   SERVICES GRID
   ========================= */
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg,
    #ffffff 0%,
    #f3f4f6 18%,
    #d6d9de 45%,
    #f7f8fa 70%,
    #cfd3d9 100%
  );
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.service-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  pointer-events:none;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,.85) 0%,
      rgba(255,255,255,0) 35%,
      rgba(255,255,255,.35) 55%,
      rgba(255,255,255,0) 75%
    );
  opacity:.6;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
  filter: brightness(1.03) contrast(1.02);
}

/* Service card como link clickeable */
.service-link{
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-link h3{
  color: var(--ink);
}

.service-link p{
  color: var(--muted);
}

.service-card{
  display: flex;
  flex-direction: column;
}

.service-card .service-link{
  flex: 1;
}

.card-img{
  width:100%;
  height: 155px;
  object-fit: cover;
}
.card-body{ padding: 14px; }
.card-body h3{
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.card-body p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Botones dentro de service-card */
.card-btns{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 14px;
}
.card-btns .btn{
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 10px 12px;
}

.center{ display:flex; justify-content:center; margin-top: 18px; }

/* =========================
   REVIEWS CARD (Profesional)
   ========================= */
.reviews-card{
  padding: 22px;
}

.rating-box{
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.rating-score{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.rating-number{
  font-size: 42px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rating-stars{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rating-stars .stars{
  color: #facc15;
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-label{
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating-source{
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.google-icon{
  width: 18px;
  height: 18px;
}

/* =========================
   PROJECTS / PROMOS
   ========================= */
.project-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}

.project-card{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
  background-image: var(--pimg);
  background-size: cover;
  background-position: center;
}

.project-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 360px at 0% 20%, rgba(0,0,0,.60), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.10));
}

.project-content{
  position:relative;
  z-index:2;
  padding: 26px;
  color:#fff;
  max-width: 520px;
}
.project-content h3{ margin:0 0 6px; font-size: 28px; letter-spacing:-0.02em; }
.project-content p{ margin:0 0 14px; color: rgba(255,255,255,.9); }

/* PROMO VIDEO */
.promo-card{
  background: transparent;
  position:relative;
  overflow:hidden;
  border-radius:20px;
  max-height:450px;
}
.promo-video{
  width:100%;
  max-height:450px;
  object-fit:contain;
  display:block;
  border-radius:20px;
}

/* =========================
   FOOTER
   ========================= */
.footer{ padding: 18px 0 26px; }
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}
.muted{ opacity:.85; }

/* =========================
   DETAIL PAGES (internas)
   ========================= */
.page{ padding-bottom: 40px; }

.page-title{
  margin: 18px 0 10px;
  font-size: clamp(28px, 2.4vw, 38px);
  letter-spacing: -0.02em;
}
.page-sub{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 75ch;
}

.detail-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  margin-top: 14px;
}

.detail-card{
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow2);
  padding: 16px;
}

.bullets{ margin: 10px 0 0; padding-left: 18px; }
.bullets li{ margin: 6px 0; color: var(--ink); }

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-item{
  margin:0;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow2);
}
.gallery-item img{
  width:100%;
  height: 150px;
  object-fit: cover;
}
.gallery-item figcaption{
  padding: 10px 10px;
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   DETAIL HEADER (UNICO) - igual al de "Proyectos y Obra"
   (ESTO ES LO QUE TE ARREGLA EL "SE AGRANDA AL EXTREMO")
   ========================= */
.detail-header{
  position: sticky;
  top: calc(12px + env(safe-area-inset-top));
  z-index: 80;
  padding: 0;
  margin: 0;
  background: transparent;
}

.detail-header .container{
  /* NO 100% y NO !important */
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.detail-bar{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  margin-top: 14px;
  padding:14px 16px;
  border-radius:16px;

  /* mismo look del topbar de Proyectos */
  background: linear-gradient(180deg, rgba(12,26,43,.78), rgba(12,26,43,.62));
  box-shadow: 0 14px 40px rgba(15,23,42,.12);
  backdrop-filter: blur(10px);
}

.detail-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}

.detail-logo{
  width:44px;
  height:44px;
  border-radius:12px;
  background:#fff;
  padding:6px;
  border:1px solid rgba(255,255,255,.30);
  object-fit: contain;
  flex: 0 0 auto;
}

.detail-title{
  margin:0;
  color:#fff;
  font-size:16px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform: uppercase;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-back{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:10px 12px;
  border-radius:999px;

  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);

  color:#fff;
  font-weight:700;
  flex: 0 0 auto;
}
.detail-back:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.18);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .project-grid{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .detail-grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .nav, .header-cta{ display:none; }
  .menu-btn{ display:block; }

  .header-inner{
    min-height:94px;
    padding: 14px 0;
  }

  .brand{
    flex:1;
    justify-content:center;
    position:relative;
    padding: 0 70px;
  }

  .brand-logo{
    height:66px;
    padding:8px;
    position:absolute;
    left:0;
    top:50%;
    transform: translateY(-50%);
  }

  .menu-btn{
    position:absolute;
    right:0;
    top:50%;
    transform: translateY(-50%);
  }

  .brand-title{
    align-items:center;
    text-align:center;
    letter-spacing:.18em;
  }
  .brand-title .t1,
  .brand-title .t2{ font-size: 20px; }

  .hero-card{ min-height: 520px; }
  .hero-content{ padding: 22px; }
  .grid-4{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction:column; }

  .detail-title{ font-size:14px; }
}

@media (max-width: 520px){
  .detail-header .container{ width: calc(100% - 24px); }
  .detail-logo{ width:40px; height:40px; }
  .detail-title{ font-size:14px; }
}

/* Menú abierto (mobile) */
body.menu-open .nav{
  display:flex;
  position: fixed;
  top: calc(86px + env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(48,69,86,.98);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 80;
}
body.menu-open .header-cta{
  display:flex;
  position: fixed;
  top: calc(86px + env(safe-area-inset-top) + 186px);
  left: 16px;
  right: 16px;
  justify-content:center;
  z-index: 80;
}
/* =========================
   CONTACT CARD (FIX ICONOS)
   ========================= */
.contact-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.08);
  text-decoration:none;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.contact-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(2,6,23,.09);
}

.contact-item .ico{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:14px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background: rgba(16,24,40,.06);
  border:1px solid rgba(15,23,42,.08);
}

/* WhatsApp fondo verde completo */
.contact-item[href*="wa.me"]{
  background: linear-gradient(135deg, #25d366 0%, #20bd5a 100%);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 8px 24px rgba(37,211,102,.25);
}

.contact-item[href*="wa.me"] .c-txt strong,
.contact-item[href*="wa.me"] .c-txt small,
.contact-item[href*="wa.me"] .chev{
  color: #fff;
}

.contact-item[href*="wa.me"] .ico{
  background: rgba(255,255,255,.95);
  border: none;
}

/* Email fondo azul marino */
.contact-item[href*="mailto:"]{
  background: linear-gradient(135deg, #1a3a5c 0%, #2c4f73 100%);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 8px 24px rgba(26,58,92,.25);
}

.contact-item[href*="mailto:"] .c-txt strong,
.contact-item[href*="mailto:"] .c-txt small,
.contact-item[href*="mailto:"] .chev{
  color: #fff;
}

.contact-item[href*="mailto:"] .ico{
  background: rgba(255,255,255,.95);
  border: none;
}

/* Ubicación fondo rojo Google Maps */
.contact-item[href*="maps.google"]{
  background: linear-gradient(135deg, #ea4335 0%, #d33426 100%);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 8px 24px rgba(234,67,53,.25);
}

.contact-item[href*="maps.google"] .c-txt strong,
.contact-item[href*="maps.google"] .c-txt small,
.contact-item[href*="maps.google"] .chev{
  color: #fff;
}

.contact-item[href*="maps.google"] .ico{
  background: rgba(255,255,255,.95);
  border: none;
}

.contact-item .ico-img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.contact-item .c-txt{
  display:flex;
  flex-direction:column;
  line-height:1.15;
  min-width:0;
}

.contact-item .c-txt strong{ font-weight:800; }

.contact-item .c-txt small{
  color: var(--muted);
  font-size:.92rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.contact-item .chev{
  margin-left:auto;
  color: rgba(15,23,42,.45);
  font-size:22px;
  line-height:1;
}

@media (max-width: 720px){
  .contact-item{ padding:12px; border-radius:16px; }
  .contact-item .ico{ width:36px; height:36px; flex-basis:36px; border-radius:12px; }
  .contact-item .chev{ font-size:20px; }
}
/* ===== FIX: WhatsApp gigante en tarjeta "VENTAS Y PRESUPUESTOS" ===== */
a.wa-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin: 12px 0 14px;
}

a.wa-logo > img{
  width: 110px;          /* <-- ajustá acá si querés más chico */
  height: 110px;
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  display:block;
}

/* Mobile */
@media (max-width: 720px){
  a.wa-logo > img{
    width: 88px;
    height: 88px;
    max-width: 88px;
    max-height: 88px;
  }
}
/* ===== Fondo para la card "VENTAS Y PRESUPUESTOS" ===== */
#contact.contact-card{
  /* tu imagen */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.92)),
    url("../images/bg-ventas.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Fondo para la card "VENTAS Y PRESUPUESTOS" */
#contacto.contact-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.55)),
    url("../images/bg-ventas.png") center / cover no-repeat !important;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

#contacto.contact-card .card-title{
  margin: 0 0 12px;
  text-align: center;
}

#contacto.contact-card .wa-logo{
  margin: 0 auto 16px;
}

#contacto.contact-card .map{
  flex: 1;
  min-height: 200px;
  width: calc(100% + 40px);
  margin: 0 -20px -20px -20px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
}

#contacto.contact-card .map iframe{
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: none;
  display: block;
}

/* Overlay clickeable sobre el mapa */
.map-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  background: transparent;
  transition: background .2s ease;
}
.map-overlay:hover{
  background: rgba(0,0,0,.08);
}

/* Sección Promociones dentro de contacto */
.promo-section{
  text-align: center;
  margin-bottom: 16px;
}

.promo-title{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.promo-desc{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

/* Video sin contenido encima */
.promo-clean .project-content{
  display: none;
}

.promo-clean .project-overlay{
  background: linear-gradient(135deg, rgba(0,0,0,.15), rgba(0,0,0,.25));
}

/* =========================
   MANTENIMIENTO EDIFICIOS
   ========================= */
.page-detail{
  padding-top: 20px;
}

.silver-card{
  background: linear-gradient(145deg,
    #d4d4d4 0%,
    #f5f5f5 15%,
    #8a8a8a 30%,
    #c9c9c9 50%,
    #7a7a7a 65%,
    #b8b8b8 80%,
    #9e9e9e 100%) !important;
  border: 2px solid #6a6a6a;
  border-radius: var(--radius);
  box-shadow:
    0 12px 35px rgba(0,0,0,.25),
    inset 0 2px 4px rgba(255,255,255,.8),
    inset 0 -2px 4px rgba(0,0,0,.2);
  position: relative;
}

.silver-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.4) 0%,
    rgba(255,255,255,0) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.silver-card .card-title,
.silver-card h3{
  color: #2a2a2a;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

.silver-card .btn{
  position: relative;
  z-index: 1;
}

/* =========================
   NAVY CARD (Azul cielo)
   ========================= */
.navy-card{
  background: linear-gradient(145deg,
    #1a3a5c 0%,
    #2c4f73 20%,
    #1e4265 40%,
    #345a7a 60%,
    #1b3d5f 80%,
    #264c6a 100%) !important;
  border: 2px solid #1a3650;
  border-radius: var(--radius);
  box-shadow:
    0 12px 35px rgba(0,0,0,.35),
    inset 0 2px 4px rgba(255,255,255,.15),
    inset 0 -2px 4px rgba(0,0,0,.3);
  position: relative;
}

.navy-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.navy-card .card-title,
.navy-card h3{
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navy-card p,
.navy-card .muted,
.navy-card span,
.navy-card small{
  color: #fff !important;
  font-weight: 400;
}

.navy-card .checklist,
.navy-card .checklist li{
  color: #fff !important;
  font-weight: 400;
}

.navy-card .step-n{
  background: rgba(255,255,255,0.2);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 900;
}

.navy-card .btn{
  position: relative;
  z-index: 1;
}

.navy-card h2{
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navy-card strong,
.navy-card b{
  color: #fff !important;
  font-weight: 700;
}

.navy-card .btn-outline{
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.navy-card .btn-outline:hover{
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

.navy-card .bullets{
  margin: 0;
  padding-left: 20px;
}

.navy-card .bullets li{
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 0;
}

/* =========================
   BANNER CANALETAS
   ========================= */
.canaletas-banner{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/chapa/canaletas.jpg') center / cover no-repeat;
  background-color: #3a3a3a;
}

.canaletas-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.7) 100%);
}

.canaletas-content{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 20px;
}

.canaletas-title{
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.canaletas-sub{
  margin: 0 0 18px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

@media (max-width: 720px){
  .canaletas-banner{
    min-height: 180px;
  }
  .canaletas-title{
    font-size: 22px;
  }
}

/* =========================
   CTA PREMIUM (Cotización)
   ========================= */
.cta-premium{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 48px 40px;
  text-align: center;
}

.cta-premium__bg{
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
    #e8e8e8 0%,
    #f5f5f5 20%,
    #d0d0d0 40%,
    #e0e0e0 60%,
    #c8c8c8 80%,
    #dcdcdc 100%);
  z-index: 0;
}

.cta-premium__bg::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.4) 0%, transparent 40%);
  z-index: 1;
}

.cta-premium__bg::after{
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(60px);
  background: rgba(255,255,255,0.15);
  z-index: 2;
}

.cta-premium__content{
  position: relative;
  z-index: 10;
}

.cta-premium__badge{
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #4a4a4a;
  margin-bottom: 16px;
}

.cta-premium__title{
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(255,255,255,0.5);
}

.cta-premium__desc{
  margin: 0 auto 28px;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.cta-premium__actions{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-lg{
  padding: 16px 32px;
  font-size: 16px;
}

.btn-outline-dark{
  background: transparent;
  color: #2a2a2a;
  border: 2px solid rgba(0,0,0,0.2);
  font-weight: 700;
}

.btn-outline-dark:hover{
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.3);
}

@media (max-width: 720px){
  .cta-premium{
    padding: 36px 24px;
    border-radius: 20px;
  }
  .cta-premium__title{
    font-size: 26px;
  }
  .cta-premium__desc{
    font-size: 15px;
  }
  .cta-premium__actions{
    flex-direction: column;
    align-items: center;
  }
  .btn-lg{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   HERO FULL BACKGROUND
   ========================= */
.hero-fullbg{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2a2a2a;
  display: flex;
  align-items: center;
}

.hero-fullbg__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.3) 100%);
}

.hero-fullbg__content{
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 650px;
}

.hero-fullbg__badge{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-fullbg__title{
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-fullbg__desc{
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
}

.hero-fullbg__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-fullbg__badges{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-fullbg__badge-item{
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-fullbg__badge-item strong{
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.hero-fullbg__badge-item span{
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 720px){
  .hero-fullbg{
    min-height: 500px;
  }
  .hero-fullbg__content{
    padding: 28px 20px;
  }
  .hero-fullbg__title{
    font-size: 28px;
  }
  .hero-fullbg__badges{
    flex-direction: column;
  }
  .hero-fullbg__cta{
    flex-direction: column;
  }
  .hero-fullbg__cta .btn{
    width: 100%;
    justify-content: center;
  }
}

/* Detail Hero */
.detail-hero{
  padding: 24px;
  margin-top: 16px;
}

.detail-hero__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.detail-hero__copy .pill{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

.detail-hero__copy .detail-title{
  margin: 0 0 12px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.detail-hero__copy .detail-sub{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 50ch;
}

.detail-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.detail-badges{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-badges .badge{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-badges .badge strong{
  font-size: 14px;
  font-weight: 800;
}

.detail-badges .badge span{
  font-size: 12px;
  color: var(--muted);
}

.detail-hero__media{
  display: flex;
  justify-content: center;
}

.detail-hero__img{
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow2);
}

/* Feature Grid */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature{
  padding: 18px;
}

.feature h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.feature p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.checklist{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.checklist li{
  margin: 6px 0;
}

/* Steps Grid */
.steps-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step{
  padding: 18px;
  text-align: center;
}

.step-n{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 12px;
}

.step h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.step p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* CTA Band */
.cta-band{
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band h2{
  margin: 0 0 4px;
  font-size: 22px;
}

.cta-band .muted{
  margin: 0;
  color: var(--muted);
}

.cta-band__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Section Head */
.section-head{
  margin-bottom: 18px;
}

/* Responsive para mantenimiento */
@media (max-width: 980px){
  .detail-hero__grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .feature-grid{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr; }
  .detail-badges{ flex-direction: column; }
  .cta-band{ flex-direction: column; text-align: center; }
}

/* =========================
   WHATSAPP FLOTANTE
   ========================= */
.whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;

  width: 70px;
  height: 70px;
  border-radius: 16px;

  background: transparent;
  border: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover{
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37,211,102,.65);
}

.whatsapp-float img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 720px){
  .whatsapp-float{
    bottom: 18px;
    right: 18px;
    width: 60px;
    height: 60px;
  }
}

/* =========================
   PRODUCTOS QUE UTILIZAMOS
   ========================= */
.productos-section{
  margin: 30px 0;
}

.productos-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.producto-card{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.producto-img{
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}

.producto-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-info{
  flex: 1;
  min-width: 0;
}

.producto-info h3{
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.2;
}

.producto-info p{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.9;
}

@media (max-width: 980px){
  .productos-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px){
  .producto-card{
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .producto-img{
    flex: none;
    width: 120px;
    height: 120px;
  }
  .producto-info h3{
    font-size: 16px;
  }
  .producto-info p{
    font-size: 14px;
  }
}

/* =========================
   MODAL FORMULARIO
   ========================= */
.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:1000;
  justify-content:center;
  align-items:center;
  padding:20px;
}
.modal-overlay.active{display:flex;}

.modal-card{
  background:#fff;
  border-radius:20px;
  max-width:450px;
  width:100%;
  padding:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
  position:relative;
  animation:modalIn .3s ease;
}

@keyframes modalIn{
  from{opacity:0;transform:scale(.9) translateY(20px);}
  to{opacity:1;transform:scale(1) translateY(0);}
}

.modal-close{
  position:absolute;
  top:16px;right:16px;
  width:32px;height:32px;
  border-radius:50%;
  background:#f1f5f9;
  border:none;
  cursor:pointer;
  font-size:18px;
  display:grid;place-items:center;
}
.modal-close:hover{background:#e2e8f0;}

.modal-title{
  margin:0 0 20px;
  font-size:20px;
  color:#0f172a;
}

.form-group{margin-bottom:16px;}
.form-group label{
  display:block;
  margin-bottom:6px;
  font-weight:600;
  font-size:14px;
  color:#334155;
}
.form-group input,
.form-group textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #e2e8f0;
  font-size:14px;
  font-family:inherit;
  transition:border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color:#1a3a5c;
  box-shadow:0 0 0 3px rgba(26,58,92,.15);
}
.form-group textarea{
  min-height:120px;
  resize:vertical;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.btn-enviar{
  width:100%;
  padding:14px;
  border-radius:12px;
  background: linear-gradient(145deg, #25d366 0%, #20bd5a 50%, #1da851 100%);
  color:#fff;
  border:none;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
  margin-top:8px;
}
.btn-enviar:hover{
  transform:translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
}

@media(max-width:500px){
  .form-row{grid-template-columns:1fr;}
}
