/* Estilos generales */
:root {
    --primary-color: #033454 ;
    --secondary-color: #0396A0;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: rgba(136, 139, 141, 0.2);
    --light-gray: #e9ecef;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'GothamBold';
    src: url('../fonts/Gotham_Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FuturaBook';
    src: url('../fonts/Futura_Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

body {
    font-family: FuturaBook, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    font-family: FuturaBook, sans-serif;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    font-family: GothamBold, sans-serif;
    display: inline-block;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outlined {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.btn-outlined:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-family: GothamBold, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
    color: #033454 ;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-family: FuturaBook;
    font-size: 1.1rem;
    color: #033454 ;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 25px;
}

.sr-only { /* sr-only stands for "screen reader only" */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* added this property */
    border: 0;
}

/* Modal de Contacto */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray-color);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    font-family: GothamBold, sans-serif;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

/* Navegación Moderna */
header {
    background-color: #033454;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    border-radius: 5px;
}


.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    margin-left: auto; /* Alinea el menú a la derecha */
}

.nav-links li a {
    font-family: GothamBold, sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-links li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ffffff;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.15);
}


/* Hero Section */
.hero {
    background: url('../img/banners/inicio.png') left center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* <--- importante */
    justify-content: space-between; /* <--- distribuye contenido entre arriba y abajo */
    padding: 20px;
    position: relative;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* background: linear-gradient(135deg, rgba(67, 97, 238, 0.9), rgba(58, 12, 163, 0.9)); */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: GothamBold, sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-family: FuturaBook, sans-serif;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px; /* opcional si quieres más espacio */
    gap: 10px; /* separación entre botones */
}

/* Sección Misión y Visión */
.mission-vision {
    background-color: var(--light-color);
}

.mv-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.mv-card {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.mv-card p {
    font-family: FuturaBook, sans-serif;
    color: var(--primary-color) !important;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-family: GothamBold, sans-serif;
    color: #033454 !important;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.valor-lista {
    text-align: left;
    list-style: none;
    padding: 0;
  }
  
  .valor-lista li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    font-family: FuturaBook, sans-serif;
    color: var(--primary-color) !important;
  }
  
  .valor-lista li::before {
    content: "✔";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 8px;
  }

.mv-card p, .mv-card .valor-lista {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  max-height: 8em; 
  position: relative;
  transition: max-height 0.3s ease;
}

.mv-card:hover p,
.mv-card:hover .valor-lista {
  -webkit-line-clamp: unset;
  max-height: fit-content;
  overflow: visible;
}


.mv-card p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
}

.valor-lista::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
} 

.mv-card.mission:hover p::after {
    opacity: 0;
}

.mv-card.vision:hover p::after {
    opacity: 0;
}

.mv-card.valores:hover .valor-lista::after {
    opacity: 0;
}

/* Sección Nosotros */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-family: GothamBold, sans-serif;
    color: #033454 !important;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    font-family: FuturaBook, sans-serif;
    margin-bottom: 15px;
    color: #033454;
}

/* Sección Clientes */
.clients {
    background-color: var(--light-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.client-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.client-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid rgba(3, 150, 160, 0.25);
}

.client-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-card h4 {
    font-family: GothamBold, sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #033454 !important;
}

.client-card p {
    font-family: FuturaBook, sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #033454 !important;
    color: var(--gray-color);
    font-style: italic;
}

.rating {
    color: #0396A0;
    margin-bottom: 15px;
}

/*Sección Productos*/
* Layout de productos en rejilla */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Card de producto */
.product-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 1.5rem;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Badge de producto (Destacado, Nuevo, etc.) */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(3, 150, 160, 0.3);
}

/* Imagen del producto */
.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer; /* Cambia el cursor a pointer para indicar que es clickeable */
    position: relative; /* Para posicionar el indicador de zoom */
}

.product-image::after {
    content: '\f00e'; /* Código del icono de lupa de Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Container de información del producto */
.product-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Título del producto */
.product-title {
    font-family: GothamBold, sans-serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Sistema de rating con estrellas */
.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #FFA41C;
}

.product-rating span {
    color: #888;
    margin-left: 8px;
    font-size: 0.9rem;
}

/* Descripción del producto */
.product-description {
    font-family: FuturaBook, sans-serif;
    color: #033454;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Características del producto con iconos */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.feature span {
    font-family: FuturaBook, sans-serif;
    color: #033454;
    font-size: 0.95rem;
}

/* Footer con precio y envío */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-price .price-tag {
    font-family: GothamBold, sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.product-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
}

.product-delivery i {
    color: var(--secondary-color);
}

/* Botón de Call to Action */
.product-cta {
    margin: 0 25px 25px;
}

/* CTA de productos al final de la sección */
.product-cta-section {
    text-align: center;
    background-color: white;
    padding: 50px 30px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary-color);
}

.product-cta-section h3 {
    font-family: GothamBold, sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-cta-section p {
    font-family: FuturaBook, sans-serif;
    color: #033454;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background-color: var(--secondary-color);
}

.product-buttons {
    display: flex;
    gap: 10px;
    padding: 0 25px 25px;
}

/* Estilos para el botón secundario */
.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f0f8ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Para mantener los botones con el mismo ancho */
.product-buttons .btn {
    flex: 1;
}

/* Ajuste para el botón CTA individual (cuando solo hay uno) */
.product-cta {
    margin: 0 25px 25px;
}

.modalPdf {
  display: none;
  position: fixed;
  z-index: 9999; /* Aumentamos significativamente el z-index para asegurar que esté por encima de todo */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75); /* Fondo más oscuro para mejor contraste */
  -webkit-backdrop-filter: blur(3px); /* Soporte para Safari */
  backdrop-filter: blur(3px); /* Efecto de desenfoque en el fondo */
  transition: all 0.3s ease; /* Transición suave */
  -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento en iOS */
}

.modal-content-pdf {
  background-color: #fff;
  margin: 3% auto; /* Margen reducido para más espacio */
  padding: 20px;
  border: none; /* Eliminamos el borde sólido */
  width: 85%; /* Ancho del modal en porcentaje de la ventana */
  max-width: 960px; /* Ancho máximo del modal */
  height: auto; /* Altura automática basada en el contenido */
  max-height: 90vh; /* Altura máxima del 90% de la ventana */
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
  animation: modalFadeIn 0.4s ease; /* Animación de entrada */
  z-index: 10000; /* Aseguramos que el contenido esté por encima del fondo modal */
  overflow: hidden; /* Evita desbordamiento del contenido */
  -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento en iOS */
}

/* Estilo para el botón de cerrar */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #555;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1001;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f0f0f0;
}

.close:hover {
  color: #000;
  background-color: #e0e0e0;
  transform: scale(1.05);
}

/* Estilo para el iframe */
#pdfViewer {
  border: none;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  height: 75vh; /* Altura del visor como 75% de la altura de la ventana */
  min-height: 500px; /* Altura mínima del visor */
  width: 100%; /* Ancho completo dentro del contenedor */
  display: block; /* Asegura que el iframe se muestre correctamente */
  overflow: auto; /* Permite scroll si el contenido es más grande */
}

/* Animación de entrada para el modal */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Sección Contacto*/
.contact {
    background-color: var(--light-color);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 800px; /* o el ancho deseado */
    margin: 0 auto 50px; /* centrado horizontal y espacio inferior */
}

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-card .card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: GothamBold, sans-serif;
    color: #033454 !important;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-card p {
    font-family: FuturaBook, sans-serif;
    color: #033454;
}

.map-section {
    margin-bottom: 50px;
}

.location-map {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.cta-section {
    text-align: center;
    background-color: white;
    padding: 60px 30px;
    border-radius: 15px;
    margin-top: 50px;
    box-shadow: var(--box-shadow);
}

.cta-section h3 {
    font-family: GothamBold, sans-serif;
    color:#033454 !important;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.cta-section p {
    font-family: FuturaBook, sans-serif;
    color: #033454;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color:rgba(3, 105, 160, 0.15);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 45px;
    /* filter: brightness(0) invert(1); */
    margin-bottom: 20px;
}

.footer-description {
    font-family: FuturaBook, sans-serif;
    color: #033454;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-menu h4, 
.footer-contact h4,
.footer-social h4 {
    font-family: GothamBold, sans-serif;
    color: #033454 !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-menu h4::after, 
.footer-contact h4::after,
.footer-social h4::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    color: #033454 !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    color: #033454;
}

.footer-links li a:hover {
    font-family: FuturaBook, sans-serif;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    font-family: FuturaBook, sans-serif;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #033454;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    color: #adb5bd;
}

.social-links a {
    font-family: FuturaBook, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    font-family: FuturaBook, sans-serif;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #033454;
}

/* Botón flotante de contacto */
.float-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.float-contact:hover {
    background-color: #033454;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.map-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
    border-top: 4px solid #033454;
    border-bottom: 4px solid #033454;
}

.map-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.map-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #033454;
    margin: 10px auto 0;
    border-radius: 2px;
}

.map-section iframe {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: 400px;
}


.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  .whatsapp-chat {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 999;
  }
  
  .whatsapp-chat .header {
    font-family: GothamBold, sans-serif;
    background: #033454;
    color: white;
    padding: 15px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .whatsapp-chat .body {
    font-family: FuturaBook, sans-serif;
    padding: 15px;
  }
  
  .whatsapp-chat .body button {
    background-color: #0396A0;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .whatsapp-chat .close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: white;
  }

.titulo-con-bandera {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrado horizontalmente */
    gap: 10px; /* Espacio entre la bandera y el texto */
}

.icono-bandera {
    width: 30px !important; /* Tamaño ajustable */
    height: auto;
}

  

/* Estilos responsivos */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .mv-container {
        flex-direction: column;
    }
    
    .product-container,.about-container {
        flex-direction: column-reverse;
    }
    
    .about-content, 
    .about-image,
    .product-content,
    .product-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        background-image: url('../img/banners/inicio_movil.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100vh; /* o el alto que necesites */
       
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .hamburger {
        display: flex;
        color: white;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #033454;
        width: 100%;
        max-height: calc(100vh - 70px);
        padding: 20px 0;
        text-align: center;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 900;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    
    .nav-links li {
        margin: 10px 0;
        border-radius: 10px;
        width: 90%;
        margin-inline: auto;
        overflow: hidden;
    }
    
    .nav-links li a {
        font-family: FuturaBook, sans-serif;
        font-size: 1.1rem;
        display: block;
        padding: 14px 20px;
        margin: 0;
        color: white;
        background-color: #0396A0;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
    }
    
    .nav-links li a:hover {
        background-color: #033454;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .modalPdf {
    -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento táctil */
  }

  .modal-content-pdf {
    width: 92%; /* Ancho más grande en móviles */
    margin: 10% auto 5%; /* Más espacio en la parte superior */
    padding: 15px 10px; /* Menos padding horizontal */
    max-height: 80vh; /* Altura máxima reducida en móviles */
  }
  
  #pdfViewer {
    height: 65vh; /* Altura reducida en móviles */
    min-height: 300px; /* Altura mínima reducida */
    -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento táctil */
  }
  
  .close {
    top: 10px;
    right: 10px;
    font-size: 24px;
    width: 32px;
    height: 32px;
  }

   .product-buttons {
        flex-direction: column;
    }

    .product-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
} 
    
    /* Clase para mostrar el menú cuando está activo */
    .nav-links.active {
        left: 0;
    }
    
   

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .hero {
        min-height: 50vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .mv-card, 
    .contact-card {
        padding: 25px;
    }
    
    .client-card {
        padding: 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }

     .product-buttons {
        flex-direction: column;
    }

    .product-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}