/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #111;
  color: #fff;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 100;
}

.logo img {
  height: 45px;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.btn-header {
  background: #f4b400;
  padding: 10px 20px;
  border-radius: 6px;
  color: #111;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("img/banner.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  max-width: 650px;
  padding-left: 80px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero h1 span {
  color: #f4b400;
}

.hero p {
  margin: 20px 0 40px;
  font-size: 1.1rem;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #f4b400;
  color: #111;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.btn-secondary {
  border: 2px solid #f4b400;
  color: #f4b400;
  padding: 16px 30px;
  border-radius: 8px;
  text-decoration: none;
}

/* HOVER */
.btn-primary:hover {
  background: #ffc933;
}

.btn-secondary:hover {
  background: #f4b400;
  color: #111;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}


.machines {
  padding: 80px 60px;
  background: #f7f7f7;
  text-align: center;
}

.machines h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #111;
}

.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.machine-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: transform .3s ease;
}

.machine-card:hover {
  transform: translateY(-8px);
}

.machine-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.machine-card h3 {
  margin: 20px 0 10px;
  color: #111;
}

.machine-card p {
  color: #666;
  font-size: .95rem;
}

.btn-card {
  display: block;
  margin: 20px;
  padding: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.btn-card:hover {
  background: #f4b400;
  color: #111;
}


.rent-cta {
  background: url("img/banner2.png") center/cover no-repeat;
  padding: 120px 20px;
  position: relative;
}

.rent-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.rent-box {
  position: relative;
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
}

.rent-box h2 {
  color: #111;
  margin-bottom: 10px;
}

.rent-box p {
  color: #555;
  margin-bottom: 30px;
}


.brands {
  background: #111;
  padding: 80px 40px;
  text-align: center;
}

.brands h2 {
  color: #fff;
  margin-bottom: 40px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.brands-grid img {
  height: 90px;
  mix-blend-mode: lighten;
}


.brands-grid img {
  height: 90px; /* antes 50px */
  max-width: 180px; /* evita que se deformen */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
  transition: transform .3s ease, filter .3s ease, opacity .3s ease;
}

.brands-grid img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}


.brands-grid img:hover {
  filter: none;
  opacity: 1;
}

.why-us {
  position: relative;
  background: url("img/banner3.png") center/cover no-repeat;
  padding: 120px 20px;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.why-box {
  position: relative;
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
}

.why-box h2 {
  color: #111;
  margin-bottom: 25px;
}

.why-box ul {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.why-box li {
  margin-bottom: 12px;
  font-weight: 500;
  color: #333;
}

.contact {
  padding: 100px 40px;
  background: #f7f7f7;
  text-align: center;
}

.contact h2 {
  margin-bottom: 50px;
  color: #111;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #0c0c0c;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-card.map iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 10px;
}

.whatsapp-wrapper {
  margin-top: 25px;   /* ← separa del correo */
}

.btn-whatsapp {
  display: inline-block;
  background: #f4b400;
  color: #111;
  padding: 14px 40px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}


.contact-card a {
  color: #f7f7f7;
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: #f4b400;
  text-decoration: underline;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ← centra toda la lista */
}

.social-list li {
  margin-bottom: 14px;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center; /* ← centra icono + texto */
  gap: 12px;
  color: #f1f1f1;
  font-weight: 600;
  text-decoration: none;
}

.social-list a {
  min-width: 160px; /* hace que todos queden alineados */
}

.social-list a:hover {
  transform: translateX(3px);
}

/* ===== CARRUSEL BASE ===== */
.carousel {
  overflow: hidden;
  max-width: 1200px;
  margin: auto;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .6s ease;
  will-change: transform;
}

/* CARD */
.machine-card {
  min-width: calc(25% - 18px); /* Desktop: 4 */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  text-align: center;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .machine-card {
    min-width: calc(50% - 12px); /* 2 */
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .carousel {
    padding-left: 10px;
  }

  .machine-card {
    min-width: 85%; /* 1 tarjeta grande */
  }
}






.machines {
  padding: 60px 20px;
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.machines-carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.machine-card {
  min-width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  transition: transform .3s;
}

.machine-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}


.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.7);
  color: #fff;
  border: none;
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: .2s;
   max-width: 1200px;
  margin: auto;
}

.carousel-arrow:hover {
  background: #f4b400;
  color: #111;
}

.carousel-arrow.left { left: -10px; }
.carousel-arrow.right { right: -10px; }



/* Desktop: 4 tarjetas visibles */
@media (min-width: 1024px) {
  .machines-carousel {
   gap: 16px;
    justify-content: center;
  }

  .machine-card {
    min-width: calc(25% - 22px);
  }

  /*.carousel-arrow {
    display: none;
  }*/
  .carousel-arrow.left { left: 270px; }
.carousel-arrow.right { right: 270px; }
}


.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dots span.active {
  background: #caa64b;
  transform: scale(1.2);
}

.partner-section {
  background: #fff;
  padding: 100px 20px;
}

.partner-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.partner-content {
  color: #f5b400;
}

.partner-badge {
  display: inline-block;
  background: #caa64b;
  color: #111;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.partner-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.partner-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #000;
  max-width: 520px;
  margin-bottom: 30px;
}

.btn-partner {
  display: inline-block;
  background: #caa64b;
  color: #111;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-partner:hover {
  background: #b8973f;
  transform: translateY(-2px);
}

.partner-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 14px 32px;
}

/* Responsive */
@media (max-width: 900px) {
  .partner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-content p {
    margin: auto auto 30px;
  }
}

.machine-img {
  position: relative;
  overflow: hidden;
}

.machine-img img {
  width: 100%;
  display: block;
  transition: opacity .4s ease, transform .4s ease;
}

/* Imagen secundaria */
.img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

/* Hover */
.machine-card:hover .img-hover {
  opacity: 1;
}

.machine-card:hover .img-main {
  opacity: 0;
  transform: scale(1.05);
}

body {
  margin: 0;
  padding: 0;
}


