:root {
  --yellow: #f5b400;
  --yellow-dark: #d99a00;
  --graphite: #20292b;
  --dark: #121719;
  --gray: #687174;
  --light: #f5f5f2;
  --white: #ffffff;
  --blue: #1f6f9f;

  --container: 1180px;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

.header__content {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 190px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--yellow-dark);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  border: 0;
  cursor: pointer;
}

.btn--primary {
  background: var(--yellow);
  color: var(--dark);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--white);
  color: var(--dark);
}

.btn--secondary:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background:
    linear-gradient(90deg, rgba(18, 23, 25, 0.92), rgba(18, 23, 25, 0.45)),
    url("../img/hero-camion.jpg") center/cover no-repeat;
  color: var(--white);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__text {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.96;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
}

.hero p {
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__trust {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 96px 0;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section__heading h2,
.split h2,
.cta h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section__heading p {
  color: var(--gray);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: var(--light);
  padding: 28px;
  border-radius: var(--radius);
  border-bottom: 5px solid var(--yellow);
}

.card h3 {
  font-size: 1.15rem;
  line-height: 1.18;
  margin-bottom: 14px;
}

.card p {
  color: var(--gray);
}

.dark-section {
  background: var(--dark);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.split p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.machinery {
  background: var(--white);
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.machine {
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.machine img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.machine div {
  padding: 30px;
}

.machine h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.machine p {
  color: var(--gray);
}

.benefits {
  background: var(--graphite);
  color: var(--white);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefits__grid span {
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
  border-radius: 16px;
  font-weight: 800;
  border-left: 5px solid var(--yellow);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery__grid img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.coverage {
  background: var(--light);
}

.coverage .split p {
  color: var(--gray);
}

.cta {
  background:
    linear-gradient(rgba(18, 23, 25, 0.82), rgba(18, 23, 25, 0.82)),
    url("../img/camion-faena.jpg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 110px 0;
}

.cta__content {
  max-width: 760px;
}

.cta p {
  font-size: 1.14rem;
  margin-bottom: 30px;
}

.cta .hero__actions {
  justify-content: center;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact__info {
  margin-top: 30px;
}

.contact__info p {
  margin-bottom: 10px;
}

.form {
  background: var(--light);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #d9ddde;
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  font: inherit;
}

.form button {
  width: 100%;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 34px;
  z-index: 60;
  background: #25d366;
  color: var(--white);
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 38px 0;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive */

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .machine-grid,
  .split,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .header__content {
    min-height: 76px;
  }

  .logo img {
    width: 145px;
  }

  .header .btn {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .cards,
  .benefits__grid,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .footer__content {
    flex-direction: column;
  }
}

.footer__bottom{
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  font-size:.9rem;
  color:rgba(255,255,255,.7);
}

.footer__bottom a{
  color:var(--yellow);
  font-weight:700;
}

.footer__bottom span{
  margin:0 8px;
}

@media (max-width: 620px) {
  .footer__bottom {
    font-size: 0.78rem;
    gap: 6px;
  }
}

.form input[readonly]{
    background:#f5f5f5;
    color:#333;
    font-weight:600;
    cursor:not-allowed;
}

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

.hero-retro {
  background:
    linear-gradient(90deg, rgba(18,23,25,.92), rgba(18,23,25,.45)),
    url("../img/hero-retroexcavadora.jpg") center/cover no-repeat;
}

.hero-camion {
  background:
    linear-gradient(90deg, rgba(18,23,25,.92), rgba(18,23,25,.45)),
    url("../img/hero-camion-tolva.jpeg") center/cover no-repeat;
}

.hero-escombros {
  background:
    linear-gradient(90deg, rgba(18,23,25,.92), rgba(18,23,25,.45)),
    url("../img/hero-escombros.png") center/cover no-repeat;
}

.hero-aridos {
  background:
    linear-gradient(90deg, rgba(18,23,25,.92), rgba(18,23,25,.45)),
    url("../img/hero-aridos.png") center/cover no-repeat;
}

.hero-demoliciones {
  background:
    linear-gradient(90deg, rgba(18,23,25,.92), rgba(18,23,25,.45)),
    url("../img/hero-demoliciones.png") center/cover no-repeat;
}