@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700&display=swap');

:root {
  --clr-bg: #ffffff;
  --clr-surface: #ffffff;
  --clr-primary: #313237;
  --clr-primary-600: #1f2023;
  --clr-text: #313237;
  --clr-muted: #4b4b4b;
  --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
  --radius-xl: 12px;
  --font-heading: 'Figtree', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

h1, h2, h3, .brand, .section-title { font-family: var(--font-heading); }

.container { max-width: 1700px; width: 92%; margin: 0 auto; }
.grid { display: grid; gap: 24px; }
.center-text { text-align: center; }

/* Barra dólar */
.dolar-bar {
  background: #f5f5f5;
  padding: 5px 0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: var(--clr-surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 10;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px;
}

.brand img { height: 95px; width: auto; }

/* Importante: usamos gap en lugar de margin-left grande */
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  color: var(--clr-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--clr-primary); }

/* Hero con video */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin: 0;
}

.video-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* El iframe lo inyecta YouTube: lo forzamos a cubrir */
.video-background #bg-video,
.video-background iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-background iframe {
  pointer-events: none;
  transform: scale(1.3);
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 1200px;
}

.hero h1 { font-size: 2.5rem; font-weight: 600; margin-bottom: 1px; }
.hero p { margin-bottom: 20px; font-size: 1.8rem; font-weight: 500; }

.cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 81px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 40px;
}
.cta:hover { background: var(--clr-primary-600); }

/* Secciones genéricas */
section { padding: 70px 0; }
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 20px;
}

/* Servicios (cards con ícono) */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
  justify-items: center;
}

.card {
  background: var(--clr-surface);
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--clr-primary);
  text-align: center;
}

/* Formulario de contacto */
form {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
}

.full { grid-column: 1 / -1; }

input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-body);
}

.btn.primary {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.btn.primary:hover { background: var(--clr-primary-600); }

/* Mapa */
#map-section { padding-bottom: 0; margin-bottom: 0; }
#map-section .map {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 0;
  margin: 0;
}


/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 50px auto;
  font-family: var(--font-body);
  padding: 0 15px;
}

.faq-container h2 {
  text-align: left;
  color: #000;
  font-size: 2rem;
  margin-bottom: 30px;
}
.download-section {
  background-image: url('assets/incotermsborel.png'); /* Ruta de la imagen */
  background-size: cover; /* Hace que la imagen cubra toda la sección */
  background-position: center center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  padding: 50px 0; /* Añadir espacio alrededor del contenido */
  color: white; /* Asegura que el texto sea visible */
}


.faq-item {
  border-bottom: 2px solid #ddd;
  margin-bottom: 18px;
}

.faq-question {
  background-color: #f7f7f7;
  color: #333;
  cursor: pointer;
  padding: 15px 10px;
  width: 100%;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* ícono a la derecha */
  gap: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: left;
  font-weight: 600;
}

.faq-question:hover { background-color: #e0f3ff; color: #6CB4EE; }

.faq-icon {
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #fafafa;
  padding: 0 10px;
  text-align: left;
}

.faq-answer p,
.faq-answer ul {
  margin: 10px 0;
  color: #333;
  font-size: 15px;
  text-align: left;
}

.faq-answer ul { padding-left: 20px; }
.faq-answer ul li { list-style-type: disc; }

/* WhatsApp (eliminado .whatsapp-float que te lo hacía gigante) */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  animation: bounce 8s infinite;
}

.whatsapp-widget a img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease-in-out;
}

.whatsapp-widget a img:hover { transform: scale(1.1); }


.whatsapp-bubble {
  background: #25d366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  max-width: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Animaciones */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}





/* Estilos para sección de Novedades con tarjetas */
.novedades-section {
  padding: 2rem 1rem;
}

.novedades-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.novedades-section .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.novedades-section .news-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.novedades-section .news-card:hover {
  transform: translateY(-5px);
}

.novedades-section .news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.novedades-section .card-content {
  padding: 1rem 1.25rem;
  flex: 1;
}

.novedades-section .news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.novedades-section .news-card .date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.novedades-section .news-card p {
  font-size: 1rem;
  color: #444;
}

.novedades-section .volver {
  display: inline-block;
  margin: 3rem auto 0;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.novedades-section .volver:hover {
  text-decoration: underline;
}
/* MODAL - ventana emergente */
.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-content h3 {
  margin-top: 1rem;
  color: #2c3e50;
}

.modal-content .date {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

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

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Botón de cierre */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  cursor: pointer;
}

.close:hover {
  color: red;
}

#custom-counters {
  padding: 40px 0;
  background: #ffffff; /* Fondo blanco */
  text-align: center;
}

.custom-counter-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.custom-counter-box {
  width: 150px;
  padding: 15px 10px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.custom-counter-box:hover {
  transform: translateY(-5px);
}

.custom-counter-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.custom-counter-number {
  font-size: 24px;
  font-weight: bold;
  color: #0073e6;
}

.custom-counter-label {
  font-size: 14px;
  margin-top: 5px;
  color: #333;
}
/* Footer */
.site-footer {
  background-color: #0a2e5c;   
  color: #fff;
  padding: 25px 0 15px;        
  text-align: center;
  width: 100%;                 
  margin: 0;                   
}

.footer-container {
  max-width: 1200px;           
  margin: 0 auto;
  padding: 0 20px;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffffff;             
  margin: 0 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc00;            
}

.footer-copy {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;                   
}


