/* ==== GENERAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #3a3535;
  color: #fff;
  overflow-x: hidden;
}

html, body {
  width: 100%;
  overflow-x: hidden; 
}

/* ==== NAVBAR ==== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: transparent;
  box-shadow: none; 
  transition: background 0.3s ease;
}

.logo img {
  width: 180px;
}

/* Links normales (pantallas grandes) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: rgb(248, 248, 248);
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #63e377; 
}

/* --- Estilos del dropdown --- */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border-radius: 6px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  z-index: 10;
}

.dropdown.open > .dropdown-menu {
  display: flex;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 15px;
  color: #ccc;
}

.dropdown-menu a:hover {
  background: #222;
  color: #63e377;
}

/* --- Hover en desktop --- */
.dropdown:hover > .dropdown-menu {
  display: flex;
}

/* --- Flechita indicadora --- */
.dropdown-toggle::after {
  content: "▾";
  transition: transform 0.3s;
}

.dropdown.open > .dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-links a:hover {
  color: #ff6600;
}

/* --- Responsive: tipo acordeón en móvil --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;        
    justify-content: center;
    align-items: center;
    padding: 10px 5%;
  }

  .logo {
    order: -1;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start; 
    width: 100%;
    padding-left: 15px; 
  }

  .logo img {
    max-width: 150px;
    height: auto;
  }

  .menu-icon {
    position: absolute;
    right: 20px;
    margin-top: 12%;
    top: 25px; 
  }

  .nav-links {
    flex-direction: column;        
    align-items: center;
    gap: 10px;
    display: none;                
  }

  .nav-links.active {
    display: flex;                 
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 10px;
  }

  .dropdown-menu {
    display: flex !important;   
    position: static;          
    box-shadow: none;
    background: transparent;
    padding-left: 20px;         
  }

  .dropdown-menu a {
    font-size: 0.95rem;
    color: #ccc;
  }

  .dropdown-menu a:hover {
    color: #63e377;
  }

  .dropdown-toggle::after {
    content: none; 
  }
  
  /* Oculta submenú hasta que se active */
  .dropdown.open > .dropdown-menu {
    display: flex;
  }
}

/* ==== ICONO HAMBURGUESA ==== */
.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1100;
  gap: 6px; 
}

.menu-icon span {
  width: 28px;
  height: 3px;
  background: #ffffff; 
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center; 
}

/* ==== MENÚ DESPLEGABLE ==== */
@media (max-width: 850px) {
  .menu-icon  {
    display: flex;
  }

  .menu-icon.active span {
    background: #ffffff;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 320px;
    background: rgba(0, 0, 0, 0.92);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: right 0.4s ease;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    display: block;
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 18px 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
  }

  .nav-links a:hover {
    background: rgba(255, 102, 0, 0.25);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}


/* ==== HERO CONTENT ==== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  background-image: url('./img/mula2.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Capa oscura semitransparente */
.hero-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Asegura que el texto e imagen queden arriba */
.hero-content .text-content,
.hero-content .image-content {
  position: relative;
  z-index: 1;
}

.text-content {
  flex: 1;
  max-width: 500px;
  margin-left: 50px;
  z-index: 5;
  opacity: 0;
  transform: translateY(50px);
}

.text-content h1 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, rgb(255, 255, 255), rgba(75, 75, 73, 0.822));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-content p {
  color: #ddd;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 400px;
}

/* ==== BOTÓN ==== */
.cta-btn {
  position: relative;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ce6b1ac2, #f1870d);
  border: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transform: skew(-10deg);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
  transform: skew(-10deg) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #000000, #3b3b3b);
}

.cta-btn1 {
   display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente si el contenedor tiene altura */
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff7300, #ff7300);
  border: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transform: skew(-10deg);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn1:hover {
  transform: skew(-10deg) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff7300, #3b3b3b);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transform: skew(10deg);
  transition: all 0.3s ease;
}

.cta-btn:hover::before {
  background: rgba(255, 255, 255, 0.801);
  width: 25px;
  height: 25px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
  .orange-column {
    width: 45%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .image-content img {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .text-content {
    margin: 0 auto;
  }

  .text-content h1 {
    font-size: 3rem;
    margin-top: 40%;
  }

  .text-content p {
    font-size: 1.7rem;
    margin-top: 10%;
  }

   .cta-btn {
    margin-top: 50px !important; 
    display: inline-block;       
  }
}


/* ==== COMPANY ==== */
.about-section {
  padding: 40px 20px; 
  background-color: #111;
  color: white;
}

.stats {
  display: flex;
  gap: 40px;
  flex: 1 1 300px;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 80px;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 400px;
  max-width: 550px;
}

.about-text h5 {
  color: #ff6600;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 30px;
}

.learn-more {
  color: #ff6600;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.learn-more:hover {
  color: #fff;
  text-shadow: 0 0 10px #ff6600;
}

.stat{
  padding: 40px 50px;
  width: 190px; 
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px; 
  border-radius: 12px;
  transform: skew(8deg); 
  background: linear-gradient(135deg, #ff6600, #ff9b00);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Pequeña inclinación visual sin deformar layout */
.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 102, 0, 0.05);
  transform: skew(8deg); 
  z-index: 0;
  border-radius: inherit;
}

.stat h3 {
  font-size: 2rem;
  color: #ff6600;
  margin-bottom: 5px;
}

.stat p {
  color: #bbb;
  font-size: 0.95rem;
}

/* Animaciones suaves */
.about-text,
.stat {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.about-text.visible,
.stat.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Responsivo */
/* --- Ajustes responsivos --- */
@media (max-width: 768px) {
  .about-section {
    padding: 30px 15px; 
  }

  .container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2rem; 
    margin-bottom: 10px;
  }

  .about-text h5 {
    font-size: .95rem; 
  }

  .about-text p {
    margin-bottom: 15px; 
    font-size: 1.3rem; 
    line-height: 1.5;
    margin-top: 10%;
  }

  .stats {
    margin-top: -10%;
  }

   .stat p {
    font-size: 1.3rem;
  }


  
}









/* ==== SERVICES ==== */

.mining-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}


.text-column {
  flex: 1;
  min-width: 320px;
}

.text-column h5 {
  color: #ff7300;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.text-column h1 {
  font-size: 2.7rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-column p {
  color: #ccc;
  margin-bottom: 30px;
  font-size: 1rem;
}


/* ==== FAQ ==== */
.faq {
  border-top: 1px solid #333;
}

.faq-item {
  border-bottom: 1px solid #333;
  padding: 15px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item h3 {
  position: relative;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  user-select: none;
  padding-right: 25px;
}

.faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  color: #ff7300;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  content: '−';
}

.faq-item p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease;
  margin: 0;
}

.faq-item.active p {
  opacity: 1;
  transform: translateY(0);
  margin-top: 10px;
  max-height: 1000px;
}

.faq-item.active h3 {
  color: #ff7300;
}

/* ==== VIDEO DE FONDO PARA MINING SECTION ==== */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none; /* evita bloquear clics en el contenido */
}

/* Ajuste de overlay y contenido (ya lo tienes, esto solo refuerza) */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  margin: 0 auto;               /* centra horizontalmente */
  padding: 40px 60px;  
  gap: 3rem; /* 🔹 separa los cuadros */         /* espacio interno */
  max-width: 1100px;            /* límite del ancho */
  background: rgba(255, 255, 255, 0.05); /* leve fondo translúcido */
  border: 1px solid rgba(255, 255, 255, 0.2); /* borde suave */
  border-radius: 15px;          /* esquinas redondeadas */
  backdrop-filter: blur(5px);   /* efecto de desenfoque */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

/* ==== IMAGE COLUMN ==== */
.image-column {
  flex: 1;
  position: relative;
  min-width: 320px;
}

.image-column img {
  width: 100%;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: 0.6s ease;
}

.image-column img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ==== ORANGE BOX ==== */
.orange-box {
  position: absolute;
  right: 2%;        /* 👈 más cerca del borde derecho */
  bottom: -15%;       /* 👈 más cerca del borde inferior */
  background: #ff7300;
  padding: 10px 20px;
  text-align: center;
  border-radius: 10px;
  color: #fff;
  transform: skewX(-10deg);
  box-shadow: 0 5px 20px rgba(255, 115, 0, 0.3);
  z-index: 5;
}

.orange-box span {
  font-size: 2rem;
  font-weight: bold;
}

.orange-box p {
  margin-top: 5px;
  font-size: 1rem;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
   .content {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px; /* 👈 Añadido: espacio lateral */
    box-sizing: border-box; /* asegura que el padding no desborde */
    gap: 2rem; /* espacio entre los cuadros */
  }
  
  .mining-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  gap: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 40px;
}

.faq-item p {
 font-size: 1.2rem;
}
  .text-column,
  .faq {
    width: 100%;
    flex: 1 1 100%;
  }

  .orange-box {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    transform: none;
    align-self: center;
  }

  .text-column h1 {
    font-size: 2rem;
  }
}

/* ==== PAGES ==== */
.tea-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 6rem 8%;
  background: radial-gradient(circle at center, #111, #000);
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  gap: 2rem;
  flex: 1 1 500px;
  justify-content: center;
  flex-wrap: wrap;
}

.text-section {
  flex: 1 1 400px;
  max-width: 550px;
  color: #fff;
}

.tea-content {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: left;
}

.title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.title span {
  color: #ff7300;
}

.subtitle {
  margin: 1.5rem 0;
  color: #ccc;
  line-height: 1.6;
  font-size: 1.3rem;
  max-width: 90%;
}

/* ==== SLIDER ==== */
.slider {
  position: relative;
  flex: 1 1 350px;
  width: 350px;
  height: 480px;
  perspective: 1000px;
  min-width: 300px;
}

.slide {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #ff7300, #ff7300);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 2rem;
}

/* ==== TARJETA DE TÉ ==== */
.tea-card {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tea-card img {
  width: 80%;
  border-radius: 50%;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.tea-info {
  width: 100%;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: #63e377;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tea-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #63e377;
}

.tea-info p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* ==== RESPONSIVE ==== */


/* === Tablets (768px a 1024px) === */
@media (max-width: 1024px) {
  .tea-carousel {
    flex-direction: column;
    text-align: center;
    padding: 4rem 5%;
  }

  .text-section h1 {
    font-size: 2.8rem;
  }

  .carousel {
    flex-wrap: wrap;
    justify-content: center;
  }

  .slide {
    width: 240px;
  }
}

/* === Celulares (hasta 768px) === */
@media (max-width: 768px) {
  .tea-carousel {
    flex-direction: column;
    padding: 3rem 5%;
  }

  .text-section {
    text-align: center;
  }

  .text-section h1 {
    font-size: 2.3rem;
  }

  .text-section p {
    font-size: 1rem;
  }

  .carousel {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .slide {
    width: 90%;
    padding: 1.5rem;
  }

  .slide img {
    height: 180px;
  }
}

/* === Celulares pequeños (hasta 480px) === */
@media (max-width: 480px) {
  .text-section h1 {
    font-size: 1.9rem;
    margin-top: 40%;
  }

  .carousel{
    margin-top: -10%;
  }

  .slide {
    width: 100%;
    padding: 1rem;
  }

  .slide img {
    height: 150px;
  }

  .rating {
    font-size: 0.9rem;
  }
}

/* ==== CONTAC ==== */
/* ===== logos carousel ===== */
.partners {
  padding: 40px 4%;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.2));
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.partners .wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.partners h4 {
  font-size: 0.95rem;
  color: rgb(209, 143, 20);
  margin: 0 0 18px 6px;
  font-weight: 500;
}

.partners h1{
  color: rgb(209, 143, 20);
}

.marquee {
  display: flex;
  gap: 32px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  margin-top: 5%;
}

.logo-item {
  width: 240px;
  height: 144px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.03);
  overflow: hidden; /* mantiene la imagen dentro del borde */
  padding: 0; /* 🔹 elimina el margen interno */
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔹 ahora ocupa todo el espacio */
  object-position: center;
  opacity: 0.92;
  filter: grayscale(60%);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.logo-item img:hover {
  transform: scale(1.05);
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== subscribe section ===== */
.subscribe {
  position: relative;
  padding: 80px 4%;
  background-image: url('bg-mining.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;                 /* ✅ centramos el contenido */
  align-items: center;           /* centrado vertical */
  justify-content: center;       /* centrado horizontal */
  min-height: 90vh;              /* ocupa casi toda la pantalla */
}

.subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}

.subscribe .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  justify-items: center; /* centra cada columna */
}

/* ==== Left content ==== */
.subscribe .left {
  position: relative;
  z-index: 2;
  margin: 0 auto;               /* centra horizontalmente */
  padding: 40px 60px;           /* espacio interno */
  max-width: 1100px;            /* límite del ancho */
  background: rgba(255, 255, 255, 0.05); /* leve fondo translúcido */
  border: 1px solid rgba(255, 255, 255, 0.2); /* borde suave */
  border-radius: 15px;          /* esquinas redondeadas */
  backdrop-filter: blur(5px);   /* efecto de desenfoque */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.subscribe .eyebrow {
  color: #bfbfbf;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.subscribe h2 {
  font-size: 2rem;
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 700;
  text-align: center;
}

.subscribe p {
  color: #cfcfcf;
  max-width: 560px;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* ==== Right content ==== */
.subscribe .right {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orange-rect {
  position: absolute;
  right: 32px;
  top: 0;
  width: 36%;
  height: 100%;
  background: #ff6600;
  z-index: 2;
  transform: translateX(30px);
  box-shadow: -20px 0 60px rgba(255,102,0,0.12);
}

.excavator-card {
  position: relative;
  z-index: 3;
  width: 420px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.excavator-card img {
  width: 100%;
  height: auto;
  max-width: 420px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.7));
}

.exp-tag {
  position: absolute;
  bottom: 14px;
  right: 92px;
  background: rgba(0,0,0,0.6);
  padding: 14px 18px;
  border-left: 4px solid #ff6600;
  color: #fff;
  border-radius: 6px;
  z-index: 4;
  text-align: left;
}

.exp-tag h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.exp-tag p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #cfcfcf;
}

/* ======= Responsive Tablets ======= */
@media (max-width: 1024px) {
  .subscribe .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .subscribe .form {
    margin: 0 auto;
  }

  .orange-rect {
    display: none;
  }

  .subscribe .right {
    height: auto;
    margin-top: 40px;
  }

  .excavator-card img {
    width: 80%;
  }

  .exp-tag {
    position: static;
    margin-top: 10px;
    display: inline-block;
  }
}

/* ======= Responsive Celulares ======= */
@media (max-width: 600px) {
  .subscribe {
    padding: 50px 5%;
    min-height: auto; /* deja espacio natural en móvil */
  }

  .subscribe h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    max-width: 90%;
    margin: 0 auto 10px auto;
  }

  .subscribe p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto 20px auto;
  }

  .subscribe .form {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10px;
  }

  .subscribe .form input {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .subscribe .form button {
    width: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
    border-radius: 8px;
  }
}




    /* ===== footer ===== */
    footer.site-footer{
      background: #0b0b0b;
      padding:60px 4%;
      color:#ddd;
      border-top:1px solid rgba(255,255,255,0.03);
    }

    .footer-wrap{
      max-width:1200px;
      margin:0 auto;
      display:grid;
      grid-template-columns:1fr 1fr 1fr;
      gap:30px;
      align-items:start
    }

    .brand{
      display:flex;
      gap:14px;
      align-items:flex-start
    }

    .brand .logo-box{
      width:56px;
      height:56px;
      border-radius:8px;
      background:rgba(255,255,255,0.04);
      display:flex;
      align-items:center;
      justify-content:center
    }

    .brand h4{
      margin:0;
      font-size:1.1rem
    }

    .brand p{
      color:#bfbfbf;
      font-size:0.95rem;
      margin-top:8px
    }

    .footer-col h5{
      color:#fff;
      margin-bottom:12px
    }

    .footer-links a{
      display:block;
      color:#bfbfbf;
      margin-bottom:8px;
      font-size:0.95rem
    }

    .blog-item{
      border-left:3px solid rgba(255,255,255,0.03);
      padding-left:12px;
      margin-bottom:14px
    }

    .blog-item small{
      color:#bfbfbf;
      display:block;
      margin-bottom:6px
    }

    .footer-bottom{
      border-top:1px solid rgba(255,255,255,0.03);
      margin-top:28px;
      padding-top:18px;
      display:flex;
      justify-content:space-between;
      flex-wrap:wrap;
      color:#bfbfbf;
      font-size:0.9rem
    }

    .socials-footer a{
      margin-right:12px;
      color:#bfbfbf;
    }

    /* responsive */
    @media (max-width: 980px){
      .subscribe .container{
        grid-template-columns: 1fr;gap:28px
      }
      .subscribe .right{
        order:-1
      }
      .footer-wrap{
        grid-template-columns:1fr;
        gap:20px
      }
      .marquee{
        gap:18px
      }

      .logo-item{
        width:120px
      }
    }

    /* section 1*/
    /* ==== FONDO SOLO PARA HERO-CONTENT ==== */
     .hero-content {
      background: 
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
      url('../img/mula2.jpeg') center/cover no-repeat;
      min-height: 100vh;
      border-radius: 0 0 30px 30px; /* opcional: da un borde suave abajo */
     }


     /* == carrusel marcas*/
      
     .brands-section {
      padding: 60px 0;
      background: #111;
      text-align: center;
      overflow: hidden;
     }

    .brands-title {
     color: #fff;
     font-size: 2rem;
     margin-bottom: 40px;
     }

     .brands-slider {
      overflow: hidden;
      white-space: nowrap;
      position: relative;
     }

     .brands-track {
      display: inline-flex;
      animation: scroll 25s linear infinite;
     }

     .brands-track img {
      height: 80px;
      margin: 0 40px;
      filter: brightness(0.9);
      transition: transform 0.3s, filter 0.3s;
     }

    .brands-track img:hover {
     transform: scale(1.1);
     filter: brightness(1.2);
     }

     @keyframes scroll {
     from {
     transform: translateX(0);
     }
     to {
    transform: translateX(-50%);
     }
     }
/* === carrusel para lo que cuenta la empresa */
   
  * {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #111;
  color: #fff;
}

/* ==== SECCIÓN DEL CARRUSEL ==== */
.tea-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  min-height: 100vh;
  text-align: center;
}

/* Texto lateral */
.text-section {
  max-width: 400px;
}

.text-section h1 {
  font-size: 2.5rem;
  color: white;
}

.text-section h1 span {
  color: orange;
}

.text-section p {
  color: #ccc;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Carrusel */
.carousel {
  position: relative;
  width: 500px;
  height: 400px;
  overflow: hidden;
  border-radius: 25px;
  background-color: orange;
  box-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
  transition: all 0.3s ease;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid white;
}

.slide h2 {
  color: white;
  margin: 0.5rem 0;
}

.rating {
  color: #ffe600;
  font-weight: bold;
  margin-top: 0.5rem;
}

/* ======== RESPONSIVE ======== */

/* Tablets (pantallas medianas) */
@media (max-width: 992px) {
  .tea-carousel {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .text-section {
    max-width: 90%;
  }

  .text-section h1 {
    font-size: 2rem;
  }

  .text-section p {
    font-size: 1rem;
  }

  .carousel {
    width: 80%;
    height: auto;
  }

  .slide img {
    width: 180px;
    height: 180px;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 600px) {
  .tea-carousel {
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .text-section h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .text-section p {
    font-size: 0.95rem;
  }

  .carousel {
    width: 100%;
    max-width: 380px;
    height: auto;
  }

  .slide img {
    width: 150px;
    height: 150px;
  }

  .slide h2 {
    font-size: 1.1rem;
  }

  .rating {
    font-size: 0.9rem;
  }
}

