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

body {
  font-family: 'Signika', 'Arial', sans-serif;
  color: #fff;
  background: #1c1c1c;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Imágenes fluidas por defecto para evitar desbordes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navegación */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(139, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-logo h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Signika', sans-serif;
}

.nav-link:hover {
  color: #f1a70f;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #f1a70f;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Menú hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Header */
.header {
  position: relative;
  text-align: center;
  padding: 120px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a3338 0%, rgb(133 96 96 / 19%) 100%);
  z-index: -1;
}

.header-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

.header-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Botones estilo pill para hero de Productos */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  border: 2px solid rgba(0,0,0,.15);
}

.btn-chip i { font-size: .95rem; }

.btn-chip--yellow {
  background: #f1a70f;
  color: #5d0000;
}

.btn-chip--yellow:hover { transform: translateY(-2px); }

.btn-chip--dark {
  background: rgba(25, 25, 25, 0.85);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

.btn-chip--dark:hover { transform: translateY(-2px); }


.btn-primary {
  display: inline-block;
  background: #f1a70f;
  color: #8b0000;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  font-family: 'Signika', sans-serif;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Secciones */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  color: #8b0000;
  margin-bottom: 30px;
  font-size: 2.05rem;
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
}

.section h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: #f1a70f;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Servicios */
.servicios-section {
  background: #fff;
  color: #333;
}

.servicios-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.servicios-title h2 {
  color: #333;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  position: relative;
  font-family: 'Orbitron', sans-serif;
}

.servicios-title h2::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 7px;
  height: 99px;
  background: #8b0000;
  display: block;
}

.servicios-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.servicio-item {
  text-align: center;
}

.servicio-icon {
  width: 80px;
  height: 80px;
  border: 3px solid #8b0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: #8b0000;
}

.servicio-icon i {
  font-size: 2rem;
  color: #fff;
}

.servicio-item h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Signika', sans-serif;
}

.servicio-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  font-family: 'Signika', sans-serif;
}

/* Productos */
.productos-section {
  background: rgba(255, 255, 255, 0.05);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.producto-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.producto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.producto-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.producto-card:hover img {
  transform: scale(1.05);
}

.producto-info {
  padding: 25px;
}

.producto-info h3 {
  color: #f1a70f;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Filtros de galería */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 25px;
}

.filtro-btn {
  background: transparent;
  color: #f1a70f;
  border: 2px solid #f1a70f;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Signika', sans-serif;
}

.filtro-btn:hover {
  background: #f1a70f;
  color: #8b0000;
  transform: translateY(-2px);
}

.filtro-btn.active {
  background: #f1a70f;
  color: #8b0000;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

/* Sobre nosotros / Presentación */
.sobre-section {
  background: #fff;
  color: #333;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.sobre-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.sobre-text h3 {
  color: #222;
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
}

.sobre-text p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.9;
  font-family: 'Signika', sans-serif;
}

/* (Revertidos estilos del hero con chips y mantenimiento de index; mantenemos el resto) */

/* Estadísticas */
.estadisticas {
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
              radial-gradient(circle at 20% 20%, rgba(139,0,0,0.35), transparent 40%),
              radial-gradient(circle at 80% 60%, rgba(255,215,0,0.20), transparent 35%);
  padding: 80px 20px;
  text-align: center;
}

.estadisticas h2 {
  color: #fff;
  margin-bottom: 50px;
}

.estadisticas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.estadistica-item {
  background: rgba(139, 0, 0, 0.8);
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.estadistica-item:hover {
  transform: translateY(-5px);
  background: rgba(139, 0, 0, 0.9);
}

.estadistica-item h3 {
  font-size: 3rem;
  color: #f1a70f;
  margin-bottom: 10px;
  font-weight: bold;
}

.estadistica-item p {
  font-size: 1.1rem;
  color: #fff;
  font-family: 'Signika', sans-serif;
}

/* Contacto */
.contacto {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.05);
}

.contacto h2 {
  text-align: center;
  color: #8b0000;
  margin-bottom: 50px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contacto-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contacto-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.contacto-item i {
  font-size: 2rem;
  color: #f1a70f;
  margin-right: 20px;
  min-width: 50px;
}

.contacto-item h4 {
  color: #f1a70f;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contacto-item p {
  color: #fff;
  font-size: 1rem;
  font-family: 'Signika', sans-serif;
}

.redes {
  margin-top: 30px;
}

.redes h4 {
  color: #f1a70f;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.redes-links {
  display: flex;
  gap: 15px;
}

.red-social {
  display: inline-block;
  color: #fff;
  background: #8b0000;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.red-social:hover {
  background: #f1a70f;
  color: #8b0000;
  transform: translateY(-3px);
}

.mapa {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

.mapa h4 {
  color: #f1a70f;
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-align: center;
}

.mapa iframe {
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  background: #111;
  border-top: 3px solid #8b0000;
}

.footer p {
  margin: 10px 0;
  color: #ccc;
}

/* Hero genérico (para páginas internas como Nosotros) */
.hero {
  position: relative;
  height: 52vh;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1c1c1c;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Asegurar que el título del hero quede por encima del overlay */
.hero .hero-content,
.header .header-content {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}

.hero-content h1 {
  color: #fff;
  font-size: 3.2rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .5px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.hero.hero-nosotros { /* altura completa similar al header de inicio */
  height: 100vh;
  min-height: 500px;
}

.hero.hero-nosotros::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a3338 0%, rgb(133 96 96 / 19%) 100%);
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navegación móvil mejorada */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(139, 0, 0, 0.98);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    z-index: 999;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 15px 20px;
    margin: 5px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .nav-menu .nav-link:hover {
    background-color: rgba(241, 167, 15, 0.2);
    transform: translateX(10px);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Header responsive mejorado */
  .header {
    padding: 100px 15px 60px;
    min-height: 80vh;
  }

  .header-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .header-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }

  /* Secciones responsive */
  .section {
    padding: 60px 15px;
  }

  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  /* Servicios responsive mejorado */
  .servicios-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .servicios-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .servicios-title h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
  }

  .servicios-title h2::after {
    display: none;
  }

  .servicio-item {
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
  }

  .servicio-item p {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Sobre nosotros responsive */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .sobre-text h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .sobre-text p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  /* Contacto responsive mejorado */
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contacto-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .contacto-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 40px;
  }

  .contacto-item h4 {
    font-size: 1.1rem;
  }

  .contacto-item p {
    font-size: 0.9rem;
  }

  /* Mapa responsive mejorado */
  .mapa {
    padding: 15px;
  }

  .mapa iframe {
    height: 250px;
    width: 100%;
  }

  /* Estadísticas responsive */
  .estadisticas-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .estadistica-item {
    padding: 25px 15px;
  }

  .estadistica-number {
    font-size: 2.5rem;
  }

  .estadistica-label {
    font-size: 0.9rem;
  }

  /* Productos responsive */
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Slider responsive mejorado */
  .slider-wrapper {
    height: 280px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .slider-controls {
    padding: 0 5px;
  }

  /* Hero responsive para páginas internas */
  .hero {
    height: 40vh;
    min-height: 250px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  /* Contenedor responsive */
  .container {
    padding: 0 15px;
  }

  /* Botones de acción responsive */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-chip {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ==========================
   Responsive: Tablets (≤1024)
   ========================== */
@media (max-width: 1024px) {
  .header-content h1 {
    font-size: 3rem;
  }

  /* Slider: reducir altura para tablets */
  .slider-wrapper {
    height: 340px;
  }

  /* Servicios: 2 columnas en tablet */
  .servicios-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .servicios-content {
    grid-template-columns: 1fr;
  }

  /* Sobre nosotros: 1 columna en tablet grande */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Contacto: dos columnas cómodas en tablet */
  .contacto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Galería/promoción: 1 columna para evitar desbordes */
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Header para móviles muy pequeños */
  .header {
    padding: 90px 10px 50px;
    min-height: 70vh;
  }

  .header-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .header-content p {
    font-size: 0.9rem;
    padding: 0 5px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Navegación para móviles pequeños */
  .logo-img {
    height: 35px;
  }

  .nav-logo h2 {
    font-size: 1.3rem;
  }

  .nav-menu .nav-link {
    padding: 12px 15px;
    font-size: 1rem;
  }

  /* Secciones para móviles pequeños */
  .section {
    padding: 50px 10px;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  /* Servicios para móviles pequeños */
  .servicios-title h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .servicios-title h2::after {
    display: none;
  }

  /* Asegurar que el texto no se corte */
  .servicios-title {
    padding: 0 10px;
  }

  .servicio-item {
    padding: 15px 10px;
  }

  .servicio-item p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .servicio-icon {
    width: 50px;
    height: 50px;
  }

  .servicio-icon i {
    font-size: 1.3rem;
  }

  /* Sobre nosotros para móviles pequeños */
  .sobre-text h3 {
    font-size: 1.5rem;
  }

  .sobre-text p {
    font-size: 0.9rem;
  }

  /* Estadísticas para móviles pequeños */
  .estadistica-item {
    padding: 20px 10px;
  }

  .estadistica-number {
    font-size: 2rem;
  }

  .estadistica-label {
    font-size: 0.8rem;
  }

  /* Contacto para móviles pequeños */
  .contacto-item {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    margin-bottom: 12px;
  }

  .contacto-item i {
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 1.3rem;
  }

  .contacto-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .contacto-item p {
    font-size: 0.85rem;
  }

  /* Mapa para móviles pequeños */
  .mapa {
    padding: 10px;
  }

  .mapa iframe {
    height: 200px;
  }

  /* Slider para móviles pequeños */
  .slider-wrapper {
    height: 220px;
  }

  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .slider-controls {
    padding: 0 5px;
  }

  /* Hero para móviles pequeños */
  .hero {
    height: 35vh;
    min-height: 200px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  /* Contenedor para móviles pequeños */
  .container {
    padding: 0 10px;
  }

  /* Botones para móviles pequeños */
  .btn-chip {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
}

/* Animaciones suaves para scroll */
/* Slider de Productos */
.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background: #f8f9fa;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

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

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

.slide:hover img {
  transform: scale(1.02);
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.slider-btn {
  background: rgba(139, 0, 0, 0.8);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  pointer-events: all;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(139, 0, 0, 1);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(139, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #8b0000;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(139, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

/* Efectos de scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Botón flotante: Ir arriba */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #8b0000;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease, color .2s ease;
}

.scroll-top i { font-size: 1.2rem; }

.scroll-top:hover {
  background: #f1a70f;
  color: #333;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .scroll-top { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* Layouts de texto/medios para Nosotros */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.text h2 {
  color: #8b0000;
  font-size: 2rem;
  margin-bottom: 14px;
  position: relative;
  font-family: 'Orbitron', sans-serif;
}

.text h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #f1a70f;
  margin-top: 8px;
}

.text p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.9;
  font-family: 'Signika', sans-serif;
}

/* Contacto variantes para Nosotros */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards { display: grid; gap: 18px; }
.contact-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); color: #fff; padding: 16px 18px; border-radius: 12px; text-decoration: none; transition: .2s; }
.contact-item:hover { background: rgba(255,255,255,.13); transform: translateX(4px); }
.contact-item i { font-size: 1.4rem; color: #ffd700; width: 32px; text-align: center; }
.contact-item h4 { color: #ffd700; margin-bottom: 4px; font-size: 1.05rem; font-family: 'Orbitron', sans-serif; }
.contact-item p { color: #fff; font-size: .98rem; font-family: 'Signika', sans-serif; }
.contact-social { display: flex; gap: 10px; margin-top: 6px; }
.social { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: #8b0000; color: #fff; text-decoration: none; transition: .2s; }
.social:hover { background: #f1a70f; color: #8b0000; transform: translateY(-2px); }
.map { background: rgba(255, 255, 255, 0.1); padding: 5px; border-radius: 5px; backdrop-filter: blur(10px); }
.map h4 { color: #f1a70f; margin-bottom: 6px; font-family: 'Orbitron', sans-serif; }
.map p { color: #fff; margin-bottom: 10px; font-family: 'Signika', sans-serif; }
.map iframe { border: 0; border-radius: 5px; box-shadow: 0 3px 10px rgba(0,0,0,.25); }

@media (max-width: 992px) {
  .hero { height: 46vh; min-height: 320px; }
  .hero-content h1 { font-size: 2.6rem; }
  .split { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 768px) {
  .hero { height: 38vh; min-height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Sección promocional bajo galería */
.promo-section {
  background: rgba(255,255,255,0.05);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.promo-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.35));
}

.promo-content h2 {
  color: #8b0000;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-family: 'Orbitron', sans-serif;
}

.promo-sub { color: #ddd; margin-bottom: 16px; font-family: 'Signika', sans-serif; }
.promo-quote { color: #ddd; font-style: italic; font-family: 'Signika', sans-serif; }

.promo-list { list-style: none; text-align: left; color: #fff; margin: 0 0 18px; padding: 0; font-family: 'Signika', sans-serif; }
.promo-list li { margin: 8px 0; line-height: 1.7; }
.promo-list li span { margin-right: 6px; }

@media (max-width: 992px) {
  .promo-grid { grid-template-columns: 1fr; }
}

/* Contacto: formulario superior en Contacto.html */
.contact-title {
  text-align: center;
  color: #f1a70f;
  font-size: 2.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: 'Orbitron', sans-serif;
}

.contacto-main-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-img { display: flex; align-items: center; justify-content: center; }
.contact-img img { width: 360px; height: 320px; object-fit: cover; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.2); }

.contact-form { flex: 1; background: #222; color: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.15); display: flex; flex-direction: column; gap: 14px; min-width: 360px; max-width: 620px; }
.form-row { display: flex; gap: 12px; }
.contact-form input, .contact-form textarea { background: #222; color: #fff; border: 2px solid #f1a70f; border-radius: 7px; padding: 10px 12px; font-size: .95rem; flex: 1; outline: none; }
.contact-form textarea { min-height: 80px; max-height: 160px; resize: vertical; }
.btn-enviar { background: #b80000; color: #fff; border: none; padding: 10px 28px; border-radius: 7px; font-weight: 700; cursor: pointer; align-self: center; transition: background .2s ease; }
.btn-enviar:hover { background: #f1a70f; color: #222; }

/* Sección de contacto estática */
.contacto-static {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.05);
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.contacto-static .contact-title,
.contacto-static .contacto-main-grid {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Formulario de contacto responsive mejorado */
@media (max-width: 768px) {
  .contacto-main-grid { 
    flex-direction: column; 
    align-items: center; 
    gap: 25px;
  }
  
  .contact-form { 
    min-width: 100%;
    max-width: 100%;
    padding: 20px;
  }
  
  .form-row { 
    flex-direction: column; 
    gap: 15px;
  }
  
  .contact-form input, 
  .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
  }
  
  .btn-enviar {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .contact-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .contacto-main-grid {
    gap: 20px;
  }
  
  .contact-form {
    padding: 15px;
  }
  
  .form-row {
    gap: 12px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .btn-enviar {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .contact-img img {
    max-width: 250px;
  }
}
