/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #cc2b0d; /* base rojo */
  color: #fff;
  line-height: 1.5;
}

.bodyb {
  font-family: "Inter", sans-serif;
  background: white; /* base rojo */
  color: black;
  line-height: 1.5;
}

.navbarb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px; /* antes 20px 40px */
}

.navbarb .logo img {
  width: 120px;
}

.nav-linksb a {
  margin-left: 60px;
  margin-right: 20px; /* antes 25px */
  /* antes 25px */
  font-weight: 500;
  font-size: 1.2rem; /* <-- más grande */
  color: black;
}

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

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px; /* antes 20px 40px */
}

.navbar .logo img {
  width: 120px;
}

.nav-links a {
  margin-left: 60px;
  margin-right: 20px; /* antes 25px */
  /* antes 25px */
  font-weight: 500;
  font-size: 1.2rem; /* <-- más grande */
  color: white;
}

/* Hero */
.hero {
  padding: 40px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero h1 span {
  color: white;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #ffe0e0;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}

.btn-primary {
  background-color: #ff6c3e;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 25px;
}

.btn-secondary {
  background-color: white;
  color: #000;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
}

/* Brand Cards */
.brand-cards {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  flex-wrap: nowrap; /* evita salto de línea */
  gap: 0; /* quita el espacio automático */
}

.card {
  position: relative;
  height: 560px;
  border-radius: 20px;
  transition: transform 0.3s ease;
  margin-left: -40px; /* superposición */
  z-index: 1;
}

.card:first-child {
  margin-left: 0; /* evita margen negativo en el primero */
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Efecto acordeón con rotaciones individuales */
.card:nth-child(1) {
  transform: rotateZ(-8deg) translateY(60px);
  z-index: 1;
}

.card:nth-child(2) {
  transform: rotateZ(-2deg);
  z-index: 2;
}

.card:nth-child(3) {
  transform: rotateZ(2deg);
  z-index: 3;
}

.card:nth-child(4) {
  transform: rotateZ(8deg) translateY(60px);
  z-index: 4;
}

/* Badge sigue igual */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50px;
  color: white;
  z-index: 1;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50px;
  color: white;
}

.badge.yellow {
  background-color: #ffeb3b;
  color: #000;
}

.badge.blue {
  background-color: #4a00e0;
}

.badge.green {
  background-color: #4caf50;
}

.badge.darkgreen {
  background-color: #003300;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .buttons {
    flex-direction: column;
  }
}

.content .overlap-group {
  position: relative;
  height: 619px;
}

.content .imgi-boton-bloko {
  position: absolute;
  width: 403px;
  height: 567px;
  top: 50px;
  left: 0;
  object-fit: cover;
}

.content .imgi-boton {
  position: absolute;
  width: 359px;
  height: 547px;
  top: 0;
  left: 313px;
  object-fit: cover;
}

.content .imgi-boton-foret {
  position: absolute;
  width: 354px;
  height: 543px;
  top: 7px;
  left: 596px;
  object-fit: cover;
}

.content .imgi-boton-hyper {
  position: absolute;
  width: 390px;
  height: 564px;
  top: 55px;
  left: 862px;
  object-fit: cover;
}

/* CRECER SECTION */
.grow-section {
  background-color: #fefefe;
  padding: 60px 20px;
  color: #111;
}

.grow-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

.grow-text {
  flex: 1 1 400px;
}

.grow-text h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  font-weight: bold;
}

.grow-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.grow-form {
  background-color: #f5f5f5;
  padding: 24px;
  border-radius: 12px;
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.grow-form h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #111;
}

.grow-form input,
.grow-form select {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.grow-form button {
  background-color: #f3501b;
  color: white;
  padding: 12px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.grow-form button:hover {
  background-color: #c63d0f;
}

/* FOOTER */
.footer {
  background-color: #f4f4f4;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

.footer-logo {
  display: flex;
  gap: 20px;
  flex-direction: column; /* ← esto es la clave */
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 80px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #333;
  max-width: 400px;
}

.footer-columns {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-columns h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #000;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
}

.footer-columns li {
  margin-bottom: 8px;
}

.footer-columns a {
  color: #444;
  font-size: 0.95rem;
}

.newsletter p {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  padding: 10px;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.newsletter-form button {
  background-color: #f3501b;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* === HERO SECTION === */
.hero-section.white {
  background: #fff;
  color: #111;
  padding: 60px 20px;
  text-align: center;
}

.hero-section h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 30px;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background-color: #c63d0f;
  padding: 40px 20px;
}

.gallery-row img {
  height: 200px;
  width: auto;
  border-radius: 8px;
}

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  background: #f3f4f6;
  padding: 40px 20px;
  text-align: center;
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  font-size: 1.5rem;
}

.features-grid h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

/* === DEFINITION SECTION === */
.definition-section {
  background: #fff;
  padding: 60px 20px;
}
.definition-section h1 {
  text-align: center;
  font-size: 60px;
  margin-bottom: 10px;
}

.definition-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.definition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.definition-grid img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

.definition-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
  color: #444;
  font-size: 1rem;
}

/* === VISION SECTION === */
.vision-section {
  background: #f5f5f5;
  padding: 40px 20px;
}

.vision-card {
  display: flex;
  flex-direction: row; /* Alinea imagen y texto en fila */
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.vision-card img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  flex: 1 1 50%; /* Ocupa el 50% del contenedor si puede */
}

.vision-text {
  flex: 1 1 300px;
}

.vision-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #000;
}

.vision-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .vision-card {
    flex-direction: column; /* Apila imagen y texto */
    text-align: center;
  }
}

/* === COMO TRABAJAMOS === */
.como-trabajamos {
  background: #fff;
  padding: 60px 20px;
}

.como-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.como-grid .item {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 300px;
  text-align: center;
}

.card-destacado {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fefefe;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 12px;
  gap: 20px;
}

.card-destacado img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.card-texto h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-texto ul {
  list-style: disc;
  margin-left: 20px;
  color: #444;
}

/* === TEAM SECTION === */
.team-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  padding-left: 360px;
  padding-right: 360px;
}

.team-section h1 {
  font-size: 60px;
  margin-bottom: 10px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-card {
  padding: 80px 20px;
  border: 1px solid #000;
  border-radius: 4px;
  font-size: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  font-weight: bold;
  line-height: 1.4;
  color: #111827;
}

.team-card.red {
  background: #f3501b;
  color: white;
}

.team-card small {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: normal;
}

/* === CTA SECTION === */
.cta-section {
  background: #b72b0e;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.cta-section h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}
/* === BRANDS SECTION === */
/* === BRANDS SECTION === */
.brands-section {
  background: #f3501b;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.brands-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.brands-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  justify-items: center;
}

.brand-card {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.brand-card:hover {
  transform: scale(1.05);
}

.brand-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.brand-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.brand-carousel::-webkit-scrollbar {
  display: none; /* Oculta scroll en navegadores Webkit */
}

.brand-card {
  flex: 0 0 300px; /* Fijo en 300px */
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-fade-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}

.carousel-fade-left {
  left: 0;
  background: linear-gradient(to right, #f3501b 60%, transparent);
}

.carousel-fade-right {
  right: 0;
  background: linear-gradient(to left, #f3501b 60%, transparent);
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive Navbar con hamburguesa */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    color: white;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    display: none;
    margin-top: 10px;
    gap: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    margin: 0;
    padding: 10px;
    text-align: center;
    background-color: #e94f20;
    color: white;
    border-radius: 6px;
  }

  .nav-links .btn-ingresar {
    background-color: white;
    color: #e94f20;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    color: #e94f20;
  }

  .nav-linksb {
    width: 100%;
    flex-direction: column;
    display: none;
    margin-top: 10px;
    gap: 10px;
  }

  .nav-linksb.show {
    display: flex;
  }

  .nav-linksb a {
    margin: 0;
    padding: 10px;
    text-align: center;
    background-color: white;
    color: #e94f20;
    border-radius: 6px;
  }

  .nav-linksb .btn-ingresar {
    background-color: #e94f20;
    color: white;
  }
}
.navbartrans {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  color: white;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

