:root {
  --logo-height: 120px;
  --logo-shrink-height: 60px;
  --nav-height: 50px;
  --orange-main: #e04e26;
  --orange-light: #ffc898;
  --orange-lighter: #ffdbb3;
}

body {
  background-color: var(--orange-light);
  overflow-x: hidden;
  padding-top: calc(var(--logo-height) + var(--nav-height));
}

.contenedor {
  max-width: 1140px;
  margin: auto;
  padding: 0 15px;
}

/* Header contenedor */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all 0.4s ease;
  background-color: var(--orange-light);
}

.top-bar {
  padding: 10px 0;
  text-align: center;
  transition: all 0.4s ease;
}

.top-bar.shrink {
  padding: 5px 0;
  background-color: rgba(255, 200, 152, 0.95);
}

/* Logo */
.top-bar img.logo {
  height: var(--logo-height);
  transition: all 0.4s ease;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.top-bar.shrink img.logo {
  height: var(--logo-shrink-height);
}

/* Barra de navegación - Siempre horizontal */
.navbar {
  background-color: var(--orange-main) !important;
  transition: all 0.4s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
}

.navbar-container::-webkit-scrollbar {
  height: 4px;
}

.navbar-container::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 2px;
}

.navbar.shrink {
  position: sticky;
  top: var(--logo-shrink-height);
}

.navbar-nav {
  display: inline-flex;
  flex-wrap: nowrap;
  padding: 0 10px;
  margin: 0;
}

.nav-item {
  display: inline-block;
}

.navbar-nav .nav-link {
  padding: 0 15px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: var(--nav-height);
  color: white !important;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: rgba(255, 219, 179, 0.2);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Contenido principal */
.main-content {
  min-height: calc(100vh - 300px);
}

/* Centrado y contenedores */
.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Carrusel principal */
.carousel-container {
  max-width: 960px;
  margin: 20px auto;
  padding: 0;
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Banner */
.mensaje-banner {
  background-color: var(--orange-lighter);
  color: var(--orange-main);
  font-weight: bold;
  text-align: center;
  padding: 15px;
  font-size: 1.2rem;
  margin: 30px auto;
  max-width: 960px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Carrusel de productos */
.productos-carousel {
  margin: 30px 0;
}

/* Tarjeta de producto compacta */
.product-card {
  max-width: 400px; /* Más estrecha */
  margin: 0 auto;
}

.main-product-image {
  height: 150px; /* Imagen más baja */
}

.product-thumbnails {
  padding: 8px; /* Menos espacio interno */
}

.product-thumbnails .thumbnail {
  width: 40px;
  height: 40px; /* Miniaturas más pequeñas */
}

.card-body {
  padding: 0.8rem;
}

.card-title {
  font-size: 1rem; /* Texto más pequeño */
}

.card-text {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.btn {
  padding: 0.3rem 0.8rem; /* Botón más compacto */
  font-size: 0.8rem;
}
/* Video */
.video-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
}

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.whatsapp-btn img {
  width: 70%;
  height: auto;
}

/* Footer */
footer {
  background: linear-gradient(to right, var(--orange-main), #d03a12);
  padding: 2rem 0;
  color: white;
  position: relative;
  margin-top: 50px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--orange-light), var(--orange-main));
}

footer p {
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
  :root {
    --logo-height: 100px;
    --logo-shrink-height: 50px;
  }
  
  .navbar-nav .nav-link {
    padding: 0 12px;
    font-size: 0.9rem;
  }
  
  .main-product-image {
    height: 280px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: calc(var(--logo-height) + var(--nav-height));
  }
  
  :root {
    --logo-height: 90px;
    --nav-height: 45px;
  }
  
  .navbar-nav .nav-link {
    padding: 0 10px;
    font-size: 0.85rem;
  }
  
  .carousel-item img {
    height: 300px;
  }
  
  .main-product-image {
    height: 350px;
  }
  
  .product-thumbnails .thumbnail {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  :root {
    --logo-height: 80px;
    --logo-shrink-height: 40px;
    --nav-height: 40px;
  }
  
  .navbar-nav .nav-link {
    padding: 0 8px;
    font-size: 0.8rem;
  }
  
  .carousel-item img {
    height: 250px;
  }
  
  .mensaje-banner {
    font-size: 1rem;
    padding: 10px;
    margin: 20px 15px;
  }
  
  .main-product-image {
    height: 200px;
  }
  
  .product-thumbnails {
    gap: 5px;
    padding: 8px;
  }
  
  .product-thumbnails .thumbnail {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  :root {
    --logo-height: 70px;
    --nav-height: 36px;
  }
  
  .navbar-nav .nav-link {
    padding: 0 6px;
    font-size: 0.75rem;
  }
  
  .main-product-image {
    height: 180px;
  }
  
  .product-thumbnails .thumbnail {
    width: 35px;
    height: 35px;
  }
}

/* Estilos para Quiénes Somos */
.text-orange {
  color: var(--orange-main);
}

.bg-orange-light {
  background-color: var(--orange-lighter);
}

.about-section {
  border-top: 5px solid var(--orange-main);
}

.feature-icon {
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: scale(1.1);
  background-color: var(--orange-main) !important;
}

.feature-icon:hover i {
  color: white !important;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--orange-main);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-year {
  width: 80px;
  text-align: center;
  position: absolute;
  top: 15px;
  z-index: 1;
  font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -100px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -100px;
}

.timeline-content {
  position: relative;
}

.timeline-content h4 {
  margin-top: 0;
  color: var(--orange-main);
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 3px solid var(--orange-main);
  transition: all 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 767px) {
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    left: 0;
    right: auto;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Estilos para página de contacto */
.contact-section {
    border-top: 5px solid var(--orange-main);
}

.contact-info {
    border-left: 4px solid var(--orange-main);
}

.contact-icon {
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    transform: rotate(15deg);
    background-color: var(--orange-main-dark) !important;
}

.btn-orange {
    background-color: var(--orange-main);
    color: white;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: var(--orange-main-dark);
    transform: translateY(-2px);
}

#contactForm .form-control {
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: var(--orange-main);
    box-shadow: 0 0 0 0.25rem rgba(224, 78, 38, 0.25);
}

.whatsapp-direct {
    background-color: rgba(37, 211, 102, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #25D366;
}

/* Mapa */
.ratio-16x9 iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 767px) {
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 10px !important;
    }
}

/* Estilos para página de ubicación */
.location-section {
    border-top: 5px solid var(--orange-main);
}

.address-card {
    border-left: 4px solid var(--orange-main);
    transition: all 0.3s ease;
}

.address-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.transport-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--orange-light);
}

.transport-icon {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.transport-card:hover .transport-icon {
    background-color: var(--orange-main) !important;
}

.transport-card:hover .transport-icon i {
    color: white !important;
}

.btn-orange {
    background-color: var(--orange-main);
    color: white;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #d03a12;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-chico {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 300px; /* o lo que prefieras */
    object-fit: cover;
}
/* Agrega esto en tu sección de estilos generales */
h1 {
  font-size: 2.0rem; /* Tamaño reducido */
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}