:root{
  --bg: #36664e;
  --white: #ffffff;
  --text: #0e1411;
  --muted: rgba(14,20,17,.70);

  --brand: #22c55e;      /* verde principal */
  --brand2: #86efac;     /* menta */
  --line: rgba(0,0,0,.08);

  --radius: 18px;
  --container: 1100px;

  --shadow-sm: 0 10px 30px rgba(0,0,0,.06);
  --shadow: 0 18px 60px rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container{
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,248,247,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo{
  font-weight: 800;
  text-decoration:none;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span{ color: var(--brand); }

.nav{
  display:flex;
  gap: 18px;
}
.nav a{
  text-decoration:none;
  color: rgba(14,20,17,.82);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover{ color: var(--text); }

.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.burger{
  display:none;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
}

.btn--primary{
  background: var(--brand);
  color: #062410;
  box-shadow: 0 12px 30px rgba(34,197,94,.22);
}
.btn--primary:hover{ filter: brightness(.98); }

.btn--ghost{
  background: var(--white);
  border-color: rgba(0,0,0,.12);
  color: var(--text);
}
.btn--ghost:hover{ background: rgba(255,255,255,.75); }

.btn--wa{
  background: #0b2a17;
  color: var(--brand2);
  border-color: rgba(134,239,172,.25);
}
.btn--wa:hover{ filter: brightness(1.05); }

.btn--big{ padding: 14px 18px; border-radius: 16px; }

/* HERO con foto de fondo en toda la sección */
.hero{
  padding: 84px 0 64px;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(11,42,23,.75),
      rgba(7,20,15,.85)
    ),
    url("../assets/img/camioneta.jpeg");

  background-size: cover;
  background-position: center;
}

/* Texto claro sobre el fondo */
.hero,
.hero h1,
.hero .lead,
.hero .badge,
.hero .stat,
.hero .stat span{
  color: #ffffff;
}

.hero .badge{
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

h1{
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 14px 0 10px;
}

.lead{
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
  opacity: .92;
}

.hero__cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__stats{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stat{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.stat strong{ display:block; font-size: 18px; }
.stat span{ font-weight: 600; font-size: 12px; opacity: .9; }

/* Card flotante (glass) */
.hero__visual{
  min-height: 300px;
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}

/* Blob decorativo para volumen */
.hero__visual::after{
  content:"";
  position:absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(134,239,172,.55), rgba(34,197,94,.10) 60%, transparent 70%);
  filter: blur(2px);
  border-radius: 50%;
  transform: rotate(12deg);
}

.hero__card{
  position:absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(10px);
}
.hero__card h3{ margin: 0 0 6px; }
.hero__card p{ margin: 0 0 12px; opacity: .95; }

.chips{ display:flex; gap: 8px; flex-wrap: wrap; }
.chips span{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

/* Secciones */
.section{
  padding: 54px 0;
}
.section--alt{
  background: rgba(255,255,255,.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2{
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.muted{ color: var(--muted); margin: 0 0 18px; }

.grid{
  display:grid;
  gap: 14px;
}

/* Cards servicios */
.cards{
  grid-template-columns: repeat(4, 1fr);
}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: var(--muted); line-height: 1.55; }

/* Steps */
.steps{ grid-template-columns: repeat(3, 1fr); }
.step{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.step__num{
  display:inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  align-items:center;
  justify-content:center;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.2);
  font-weight: 800;
  margin-bottom: 10px;
}

/* Compromisos */
.promises{
  grid-template-columns: repeat(4, 1fr);
}

.promise{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.promise__icon{
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.18);
  margin-bottom: 10px;
  font-size: 18px;
}

/* Zonas */
.zones{ grid-template-columns: repeat(4, 1fr); }
.zone{
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.18);
  font-weight: 700;
}

/* Contacto */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.form{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
label{
  display:block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}
input, textarea{
  width:100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  font-family: inherit;
}
input:focus, textarea:focus{
  border-color: rgba(34,197,94,.6);
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

.fineprint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Footer */
.footer{
  padding: 26px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: rgba(14,20,17,.85);
}

/* Responsive */
@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .zones{ grid-template-columns: repeat(2, 1fr); }
  .promises{ grid-template-columns: repeat(2, 1fr); }
  .contact{ grid-template-columns: 1fr; }

  .nav{ display:none; }
  .burger{ display:inline-flex; }
}

@media (max-width: 520px){
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .promises{ grid-template-columns: 1fr; }
}
