/* ================= VARIABLES Y RESET ================= */
:root {
  --primary-color: #0f1e2c;
  --secondary-color: #ffcc00;
  --dark-color: #000;
  --light-color: #fff;
  --text-color: #333;
  --accent-color: #1c2b3a;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary-color);
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}


/* ================= SECCIONES GENERALES ================= */
.section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* ================= TESTIMONIOS ================= */


/* ================= MODALIDADES ================= */


/* ================= TARIFAS ================= */
.tarifas-section {
  background-color: var(--light-color);
  padding: 80px 20px;
  text-align: center;
  color: var(--primary-color);
}

.tarifas-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  font-weight: bold;
}

.tarifas-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tarifa-box {
  border: 2px solid var(--secondary-color);
  padding: 30px;
  border-radius: 8px;
  min-width: 220px;
  background-color: var(--light-color);
  text-align: center;
  transition: var(--transition);
}

.tarifa-box:hover {
  transform: scale(1.05);
}

.tarifa-box h3 {
  font-size: 2em;
  margin: 0;
  color: var(--primary-color);
}

.tarifa-box span {
  font-size: 0.5em;
  font-weight: normal;
  color: #555;
}

.tarifa-box p {
  margin-top: 10px;
  font-size: 1.1em;
  color: var(--text-color);
}

.tarifa-simbolo {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
}

/* ================= CALCULO DE ENVÍO ================= */

/* ================= WAREHOUSE ================= */
.warehouse-design-section {
  background-image: url("../img/warehouse3.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.warehouse-design-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}

.warehouse-design-box {
  color: var(--light-color);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--secondary-color);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.warehouse-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-color);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.warehouse-header h3 {
  font-size: 1.8em;
  margin: 0;
  flex: 1;
}

.warehouse-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
}

.warehouse-info-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--secondary-color);
  color: var(--light-color);
  font-size: 1.1em;
  flex-wrap: wrap;
}

.warehouse-info-row span {
  color: var(--secondary-color);
  font-weight: bold;
}

/* ================= FOOTER ================= */
.footer-section {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 80px 30px 30px;
  font-size: 1em;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,204,0,0.1) 0%, transparent 30%);
  z-index: 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}

.footer-col {
  flex: 1 1 300px;
}

.footer-col h4 {
  color: var(--light-color);
  font-size: 1.3em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), transparent);
}

.footer-col p {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6em;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}

.footer-social a {
  color: var(--light-color);
  margin-right: 15px;
  font-size: 1.3em;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--secondary-color);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 12px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
  padding-left: 0.625rem;
}

.contact-info i {
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 0.9em;
  color: #ccc;
  max-width: 1200px;
  margin: auto;
}

/* ================= REDES SOCIALES FLOTANTES ================= */


/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.show {
    max-height: 500px;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .navbar.scrolled .nav-links {
    background-color: rgba(255, 255, 255, 0.98);
  }
  
  .navbar.scrolled .nav-links a {
    color: var(--dark-color) !important;
  }
  


  
  .calculo-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .calculo-formulario,
  .calculo-resultado {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 15px;
  }
  
  .section-title {
    font-size: 2em;
  }
  
  .testimonial-card {
    min-width: 250px;
  }
  
  .warehouse-design-box {
    padding: 30px 20px;
  }
  
  .warehouse-info-row {
    font-size: 1em;
  }
  
  .footer-col {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }
  
  .whatsapp-widget {
    bottom: 200px;
    right: 15px;
  }
  
  .red-social-fb {
    bottom: 140px;
    right: 15px;
  }
  
  .red-social-ig {
    bottom: 80px;
    right: 15px;
  }
  
  .red-social-tt {
    bottom: 20px;
    right: 15px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 10px;
  }
  
  .section-title {
    font-size: 1.8em;
  }
  
  .logo-img {
    width: 140px;
  }
  

  
  .faq-contenido {
    padding: 30px 20px;
  }
  
  .whatsapp-box {
    width: 260px;
    right: -10px;
  }
}

/* ================= ANIMACIONES ================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animar {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ================= EFECTOS DE CARGA ================= */
[data-loading] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-loading="true"] {
  opacity: 1;
  transform: translateY(0);
}