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

/* Body y tipografía */
body {
  font-family: 'Inter', sans-serif;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(17, 35, 49, 0.85)),
    url('img/fondo-pagina.jpg') no-repeat center center / cover;
  color: white;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

/* Logo y texto */
.logo-texto {
  display: flex;
  align-items: center;
}

.logo-texto img {
  height: 80px;
  margin-right: 12px;
}

.logo-texto span {
  font-size: 1.3rem;
  font-weight: bold;
  color: #112331;
}

/* Navegación escritorio */
nav {
  display: flex;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #074470;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #cda661;
}

.whatsapp-icon {
  height: 24px;
  vertical-align: middle;
  margin-left: 10px;
}

/* Menú hamburguesa oculto por defecto */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #074470;
}

/* Hero */
.hero {
  margin-top: 120px;
  height: 60vh;
  background: linear-gradient(to bottom right, rgba(7, 68, 112, 0.7), rgba(17, 35, 49, 0.85)),
    url('img/fondo-hero.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 24px;
  margin: 1rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.btn-cta {
  display: inline-block;
  background-color: #cda661;
  color: #112331;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 2rem;
}

/* Productos */
.productos {
  padding: 4rem 2rem;
}

.productos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #cda661;
}

.productos p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.producto {
  background-color: #1c2e3f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.producto .swiper-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.producto-info {
  padding: 1rem;
}

.producto-info h3 {
  color: #cda661;
  margin-bottom: 0.5rem;
}

/* Botón catálogo hero */
.catalogo-btn {
  text-align: center;
  margin-top: 3rem;
}

.catalogo-btn a {
  background-color: #cda661;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.catalogo-btn a:hover {
  background-color: #e0b977;
}

/* Banner */
.banner {
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto 2rem auto;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #112331;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #cda661;
  margin: 0 10px;
  text-decoration: none;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  display: inline-block;
  margin: 0 8px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.footer-social img:hover {
  transform: scale(1.2);
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25d366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Marcas Nosotros */
.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
}

.marca {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  width: 140px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 0.5rem;
  transition: transform 0.2s ease;
  text-align: center;
}

.marca:hover {
  transform: scale(1.05);
}

.marca img {
  max-width: 90%;
  max-height: 60px;
  object-fit: contain;
}

.marca span {
  display: block;
  font-size: 0.85rem;
  color: #112331;
  margin-top: 0.3rem;
}
/* Galería Nosotros */
.nosotros-galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.nosotros-galeria img {
  width: 300px;
  height: 200px; /* Altura fija */
  object-fit: cover; /* Mantiene proporción sin deformar */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.nosotros-galeria img:hover {
  transform: scale(1.03);
}
/* Formulario de contacto */
.contacto-container {
  max-width: 600px;
  margin: 140px auto 3rem auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  text-align: center;
}

.contacto-container h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #cda661;
}

.contacto-container p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #ddd;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contacto-form .campo {
  width: 100%;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 0.9rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 1rem;
  color: #fff;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #ccc;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: #cda661;
  background: rgba(255,255,255,0.15);
}

.contacto-form button {
  background-color: #cda661;
  color: #112331;
  font-weight: bold;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
}

.contacto-form button:hover {
  background-color: #e0b977;
}

.contacto-whatsapp {
  margin-top: 2rem;
}

.contacto-whatsapp a {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.contacto-whatsapp a:hover {
  background-color: #1ebd5d;
}
/* Página de Gracias */
.gracias-container {
  max-width: 600px;
  margin: 140px auto 3rem auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.gracias-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  text-align: center;
  width: 100%;
}

.gracias-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #cda661;
}

.gracias-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.btn-regresar {
  display: inline-block;
  background-color: #cda661;
  color: #112331;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-regresar:hover {
  background-color: #e0b977;
}
.gracias-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.gracias-page main {
  flex: 1;
}

/* Menú responsive */
@media screen and (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  nav a {
    margin: 0.5rem 0;
    color: #112331;
    font-size: 1rem;
  }
}

/* Hero responsive */
@media screen and (max-width: 768px) {
  .hero {
    height: 40vh; /* Compacto */
    margin: 0.5rem;
    border-radius: 16px;
    padding: 1rem;
  }

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

  .btn-cta {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}
body {
  padding-top: 50px; /* Ajusta si tu header es más alto */
}
/* Tarjetas Flip Modernas */
.portafolio {
  perspective: 1200px;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Hover levantamiento */
.portafolio:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Al hacer clic (clase active): zoom y borde dorado */
.portafolio.active {
  transform: scale(1.03);
  border: 2px solid #cda661;
}

/* Contenedor interno con efecto flip */
.portafolio .flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  position: relative;
}

/* Activar el flip */
.portafolio.active .flip-inner {
  transform: rotateY(180deg);
}

/* Cara frontal y trasera */
.portafolio .flip-front,
.portafolio .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  top: 0;
  left: 0;
}

/* Frontal */
.portafolio .flip-front {
  background-color: rgba(28,46,63,0.95);
  display: flex;
  flex-direction: column;
}

/* Trasera */
.portafolio .flip-back {
  background-color: rgba(28,46,63,0.98);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

/* Imagen */
.portafolio .flip-front img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.portafolio:hover .flip-front img {
  transform: scale(1.03);
}

/* Info frontal */
.portafolio .producto-info {
  padding: 1rem;
  text-align: center;
}
.portafolio .producto-info h3 {
  color: #cda661;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.portafolio .producto-info p {
  font-size: 0.95rem;
  color: #ccc;
}

/* Título trasero arriba */
.portafolio .flip-back h3 {
  color: #cda661;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Descripción trasera debajo */
.portafolio .flip-back p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .portafolio .flip-front img {
    height: 160px;
  }
  .portafolio .producto-info h3 {
    font-size: 1.1rem;
  }
}
.btn-cotizacion {
  display: inline-block;
  margin-top: 1rem;
  background: #cda661;
  color: #112331;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-cotizacion:hover {
  background: #e0b977;
}
/* Estilo del botón de descarga */
.download-btn {
    background-color: #074470;
    color: white;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 30px; /* Bordes redondeados para un diseño moderno */
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    border: none;
    display: block;
    margin: 20px auto; /* Centra el botón */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #112331; /* Efecto hover */
}

/* Estilo de la ventana flotante (Modal) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro translúcido */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Contenido del modal */
.modal-content {
    background-color: #1a1a1a; /* Fondo oscuro para el modal */
    padding: 40px;
    border-radius: 15px; /* Bordes redondeados */
    width: 450px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
    color: white;
}

/* Título del modal */
.modal-header {
    font-size: 24px;
    margin-bottom: 20px;
    color: #074470; /* Título en el color de GTS */
    font-weight: bold;
}

/* Estilo de los botones dentro del modal */
.modal-button {
    background-color: #074470;
    color: white;
    padding: 12px 25px;
    border-radius: 25px; /* Bordes más redondeados */
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.modal-button:hover {
    background-color: #112331; /* Hover con el color más oscuro */
    transform: scale(1.05); /* Efecto de agrandado en el hover */
}

/* Estilo para el botón de cerrar */
.close-btn {
    background-color: #f44336; /* Rojo brillante */
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
    background-color: #d32f2f; /* Hover con rojo más oscuro */
    transform: scale(1.05); /* Efecto de agrandado en el hover */
}

/* Ajuste para el footer */
footer {
    margin-top: 50px; /* Separación entre el contenido y el footer */
}
/* Slider de Novedades */
.novedades-slider {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  border-radius: 8px;
}

.slide-content h3 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.btn-slider {
  background-color: #cda661;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.3s;
}
.btn-slider:hover {
  background-color: #b58c4d;
}

.slider-controls {
  text-align: center;
  margin-top: 0.5rem;
}
.slider-controls .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}
.slider-controls .dot.active {
  background: #cda661;
}

