* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  body {
  font-family: "Khand", sans-serif;
  font-weight: 600;
  font-style: normal;
  background: linear-gradient(to bottom, #0a0a0a, #111827); 
  color: #f0f0f0; 
}
h1, h2, h3 {
  font-family: "Khand", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff; 
}
h1 {
  font-size: 3rem; 
}
h2 {
  font-size: 2.8rem; 
  text-align: center;
  position: center center;
}
.highlight {
  color: #ff6600; 
}

.logo img {
  height: 120px;
  width: auto;
}
.footer-logo img {
  max-height: 110px;   
  width: auto;
  margin: 0 auto; 
  display: block;   
  padding: 5px 10px;   
}
/* Header y navegación */
header {
  position: relative;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1; 
}

nav h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

nav ul li a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.6rem;
  padding: 12px 18px;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ff6600;
}

nav ul li a.btn {
  background: #ff6600;
  color: #fff;
  font-weight: bold;
  border-radius: 20px;
  padding: 10px 20px;
  transition: background 0.3s ease;
}

nav ul li a.btn:hover {
  background: #e05500;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0 40px;
  background-color: #1a1a2e; /* Fallback color - el background-image se aplica dinámicamente con JS */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.paquetes {
  background: linear-gradient(to bottom, #111827, #fff); /* transición suave */
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero .btn {
  font-size: 1.2rem;
  padding: 12px 25px;
}
.hero-content {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 0;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}
.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 20px 0 30px;
  color: #ccc;
}
.btn-primary {
  background: #0077cc;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #005fa3;
}
.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ccc;
}
.hero-content .btn {
  font-size: 1.1rem;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}
.hero-content .btn:hover {
  background: #005fa3;
}
.hero-image {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-height: 90%;
  max-width: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.9);
}
.highlight {
  color: #0077cc; /* azul elegante */
}
.btn {
  background: #ff6600;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e05500;
}

/* Galería */
#galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px 0px;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12),
              0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6600, #ff8a3d, #e05500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 14px 32px rgba(255, 102, 0, 0.18),
              0 6px 12px rgba(0, 0, 0, 0.12),
              0 0 36px rgba(255, 102, 0, 0.12);
  border-color: rgba(255, 102, 0, 0.3);
}

.card img {
  width: 100%;
  height: 400px;          
  object-fit: cover;      
  object-position: center;
  border-bottom: 1px solid rgba(221, 221, 221, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) contrast(1.05);
}

.card:hover img {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.1);
}


.card h3 {
/* Sitio web desarrollado por Nicolás Sosa */

  margin: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  font-family: 'Khand', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #1a1a2e, #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s;
}

.card:hover h3 {
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ff6600, #ff8a3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card a {
  display: inline-block;
  margin: 10px 15px 15px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #ff6600, #e05500);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.card a:hover::before {
  left: 100%;
}

.card a:hover {
  background: linear-gradient(135deg, #e05500, #c94900);
  box-shadow: 0 5px 16px rgba(255, 102, 0, 0.3);
  transform: translateY(-1px);
  text-decoration: none;
}

#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  overflow-y: auto;
  padding: 30px 20px;
  justify-content: center;
  align-items: flex-start;
}

#modalContenido {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  max-width: 960px;
  max-height: 85vh;
  width: 90%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
}

.modal-header button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.modal-header button:hover {
  background: #e05500;
}


.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1; 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.modal-body img {
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


#cerrarModal {
  display: inline-block;
  margin-bottom: 20px;
  background: #ff6600;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  border: none;
}


#modalFotos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}


#modalFotos img {
  max-height: 420px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Estilos del modal para desktop */
.modal-content {
  background: #111, 0.1;
  border-radius: 12px;
  max-width: 1200px;
  width: 90%;
  max-height: none;
  padding: 60px 30px 30px;
  position: relative;
  margin: auto;
}

.modal-content h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #fff;
  text-align: center;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 20px;
}

.modal-foto-item {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-foto-item:hover {
  transform: scale(1.05);
}

.modal-foto-item img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  background: rgba(255, 102, 0, 0.8);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
}

.close:hover {
  background: rgba(224, 85, 0, 0.95);
  transform: scale(1.1);
}

/* Modal Zoom para Desktop */
.modal-zoom {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
}

.modal-zoom-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.close-zoom {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  z-index: 100000;
  color: #fff;
  background: rgba(255, 102, 0, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-zoom:hover {
  background: rgba(224, 85, 0, 0.95);
  transform: scale(1.1);
}

.zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#zoomImagen {
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.zoom-nav {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.zoom-btn {
  font-size: 3rem;
  width: 70px;
  height: 100px;
  padding: 0;
  margin: 0;
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.zoom-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.zoom-prev {
  border-radius: 0 10px 10px 0;
}

.zoom-next {
  border-radius: 10px 0 0 10px;
}

.zoom-info {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1.2rem;
  z-index: 100001;
  color: #fff;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 5px;
}

footer a {
  color: #ff6600;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-credits {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.85;
  color: #fff;
}


.presentacion {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.presentacion h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.presentacion p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}


.paquetes {
  padding: 60px 20px;
  background: #dbdbdb;
}

.paquetes h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.paquetes .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.paquetes .card .btn-detalles {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  background: rgba(0,114,255,0.7);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.paquetes .card .btn-detalles:hover {
  background: rgba(0,114,255,0.9);
  transform: scale(1.05);
}

.paquetes .card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.paquetes .card .icono {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #0077cc; /* azul elegante */
}



.paquetes .card:hover {
  transform: translateY(-5px);
}

.paquetes .card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #222;
}

.paquetes .card p {
  margin-bottom: 20px;
  color: #555;
}

.paquetes .card a {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6600;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.paquetes .card a:hover {
  background: #e05500;
}

/* ==================== SERVICIOS ASOCIADOS ==================== */
.servicios-asociados {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #0a0a0a, #111827);
}

.servicios-asociados h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #fff;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
}

.servicios-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.grid-asociados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.asociado-card-home {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 102, 0, 0.15);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.asociado-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-primary, #ff6600), var(--card-accent, #ff8a3d), var(--card-secondary, #e05500));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.asociado-card-home:hover::before {
  transform: scaleX(1);
}

.asociado-card-home:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(255, 102, 0, 0.3),
              0 6px 12px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 102, 0, 0.3);
}

.asociado-logo-home {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--card-primary, #ff6600), var(--card-accent, #ff8a3d));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.3),
              0 0 0 3px rgba(255, 102, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.asociado-card-home:hover .asociado-logo-home {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 32px rgba(255, 102, 0, 0.4),
              0 0 0 5px rgba(255, 102, 0, 0.15);
}

.asociado-logo-home::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.asociado-logo-home img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  position: relative;
  z-index: 1;
  filter: brightness(1.1);
}

.asociado-nombre-home {
  font-family: 'Khand', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asociado-descripcion-home {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
  min-height: 48px;
}

.asociado-badge-home {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 102, 0, 0.1));
  color: var(--card-primary, #ff6600);
  border: 1.5px solid rgba(255, 102, 0, 0.6);
}

.asociado-btn-home {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--card-primary, #ff6600), var(--card-secondary, #e05500));
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.25);
}

.asociado-btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.4);
}

.loading-asociados {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #fff;
}

.spinner-small {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #ff6600;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#modalPaquete {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#modalPaquete .modal-contenido {
  background: #111111;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: fadeInUp 0.5s ease-out; 
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.paquetes .card {
  opacity: 0;                  /* invisible al inicio */
  transform: translateY(30px); /* desplazados hacia abajo */
  animation: fadeInCards 0.8s ease-out forwards;
}

.paquetes .card:nth-child(1) {
  animation-delay: 0.2s;
}
.paquetes .card:nth-child(2) {
  animation-delay: 0.4s;
}
.paquetes .card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInCards {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cerrar, .modal-header button, #cerrarModal {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 102, 0, 0.8); 
  color: #fff;
  font-size: 1.4rem;       
  padding: 12px 20px;      
  border-radius: 50px;     
  border: none;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  z-index: 1100;          
}

.cerrar:hover, .modal-header button:hover, #cerrarModal:hover {
  background: rgba(224, 85, 0, 0.95); 
  transform: scale(1.1);              
}

/* ===== Tablet (768px) ===== */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  
  body {
    padding-top: 0;
    overflow-x: hidden;
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav h1 {
    font-size: 1.3rem;
    text-align: left;
    width: auto;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding-bottom: 0;
    border-bottom: none;
    margin: 0;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  nav ul {
    width: 100%;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }

  nav ul li a {
    display: block;
    font-size: 1rem;
    padding: 12px 20px;
    min-height: 44px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 102, 0, 0.2);
  }

  nav ul li a:active {
    background: rgba(255, 102, 0, 0.2);
    transform: scale(0.98);
  }

  nav ul li a.btn {
    background: linear-gradient(135deg, #ff6600 0%, #e05500 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    font-weight: 700;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    padding: 30px 20px;
    text-align: center;
    background-color: #0a0a0a;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
      rgba(0, 0, 0, 0.4) 0%, 
      rgba(26, 26, 46, 0.6) 50%, 
      rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    padding: 20px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 15px 0 25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.95);
  }

  .hero h2,
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-content .btn {
    font-size: 1.05rem;
    padding: 14px 30px;
    min-height: 48px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ff6600 0%, #e05500 100%);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    font-weight: 700;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 102, 0, 0.3);
  }

  .hero-content .btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
  }

  .hero-image {
    display: none;
  }

  /* CARDS MOBILE - 2 COLUMNAS */
  #galeria {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 20px 15px !important;
  }

  .card {
    cursor: pointer !important;
    touch-action: pan-y !important;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    position: relative;
    will-change: transform, opacity;
  }

  .card img {
    height: auto;
    width: 100%;
    min-height: 200px;
    max-height: 350px;
    object-fit: contain;
    pointer-events: none;
    background: #f5f5f5;
  }

  .card h3 {
    margin: 10px 8px 8px;
    font-size: 1rem;
    pointer-events: none;
  }

  .card a {
    margin: 8px;
    font-size: 0.85rem;
    padding: 8px 12px;
    min-height: 40px;
    display: inline-block;
    -webkit-tap-highlight-color: rgba(255, 102, 0, 0.3);
  }

  /* MODAL MOBILE - REHECHO */
  .modal {
    padding: 0;
    position: fixed;
    z-index: 9999;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100vh;
    padding: 60px 15px 40px;
    border-radius: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    position: relative;
  }

  .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-top: 10px;
  }

  .close {
    font-size: 3rem;
    top: 10px;
    right: 15px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    z-index: 10000;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.3);
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .modal-foto-item {
    width: 100%;
    position: relative;
  }

  .modal-foto-item img {
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    touch-action: manipulation;
  }

  .foto-clickeable {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  }

  /* MODAL ZOOM MOBILE - COMPLETAMENTE REHECHO */
  .modal-zoom {
    position: fixed;
    z-index: 99999;
  }

  .modal-zoom-content {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.98);
  }

  .close-zoom {
    position: fixed;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    z-index: 100000;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.3);
  }

  .zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 10px;
  }

  #zoomImagen {
    max-width: 95%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    touch-action: pan-x pan-y pinch-zoom;
  }

  .zoom-nav {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    pointer-events: none;
  }

  .zoom-btn {
    font-size: 2.5rem;
    width: 60px;
    height: 80px;
    padding: 0;
    margin: 0;
    pointer-events: all;
    touch-action: manipulation;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
  }

  .zoom-prev {
    border-radius: 0 10px 10px 0;
  }

  .zoom-next {
    border-radius: 10px 0 0 10px;
  }

  .zoom-info {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    z-index: 100001;
  }

  section {
    padding: 25px 15px;
    margin: 10px 0;
  }

  section h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  footer {
    padding: 15px 10px;
  }

  footer p {
    font-size: 0.9rem;
    margin: 5px 0;
  }

  .footer-logo img {
    max-height: 60px;
  }
}

/* ===== Móvil Pequeño (480px) ===== */
@media (max-width: 480px) {
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  body {
    padding-top: 0;
    overflow-x: hidden;
  }

  nav {
    padding: 12px 15px;
    gap: 10px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav h1 {
    font-size: 1.3rem;
    text-align: left;
    width: auto;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding-bottom: 0;
    border-bottom: none;
    margin: 0;
  }

  nav ul li a {
    font-size: 0.95rem;
    padding: 12px 18px;
    min-height: 44px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 102, 0, 0.2);
  }

  nav ul li a:active {
    background: rgba(255, 102, 0, 0.2);
    transform: scale(0.98);
  }

  nav ul li a.btn {
    background: linear-gradient(135deg, #ff6600 0%, #e05500 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    font-weight: 700;
  }

  .hero {
    height: 65vh;
    min-height: 350px;
    max-height: 550px;
    padding: 25px 15px;
    text-align: center;
    background-color: #0a0a0a;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
      rgba(0, 0, 0, 0.4) 0%, 
      rgba(26, 26, 46, 0.6) 50%, 
      rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
  }

  .hero-content {
    max-width: 100%;
    padding: 18px 15px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-title {
    font-size: 1.7rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 12px 0 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.95);
  }

  .hero h2,
  .hero-content h2 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-content .btn {
    font-size: 1rem;
    padding: 13px 26px;
    min-height: 46px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ff6600 0%, #e05500 100%);
    box-shadow: 0 5px 18px rgba(255, 102, 0, 0.4);
    font-weight: 700;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 102, 0, 0.3);
  }

  .hero-content .btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
  }

  /* CARDS MOBILE PEQUEÑO - 2 COLUMNAS */
  #galeria {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 15px 10px !important;
  }

  .card {
    border-radius: 12px;
    touch-action: pan-y !important;
    will-change: transform, opacity;
    cursor: pointer !important;
  }

  .card img {
    height: auto;
    width: 100%;
    min-height: 180px;
    max-height: 320px;
    object-fit: contain;
    pointer-events: none;
    background: #f5f5f5;
  }

  .card h3 {
    margin: 8px 6px 6px;
    font-size: 0.9rem;
    pointer-events: none;
  }

  .card a {
    margin: 6px;
    font-size: 0.8rem;
    padding: 8px 12px;
    min-height: 40px;
    -webkit-tap-highlight-color: rgba(255, 102, 0, 0.3);
  }

  /* MODAL */
  .modal-content {
    padding: 15px 12px 50px;
  }

  .modal-content h3 {
    font-size: 1.3rem;
  }

  .close {
    font-size: 2.8rem;
    width: 48px;
    height: 48px;
    line-height: 48px;
  }

  .modal-foto-item img {
    min-height: 240px;
    max-height: 450px;
  }

  /* ZOOM */
  .close-zoom {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 2.8rem;
  }

  .zoom-btn {
    font-size: 2.2rem;
    width: 55px;
    height: 70px;
  }

  .zoom-info {
    bottom: 25px;
    padding: 8px 18px;
    font-size: 1rem;
  }

  /* Headings */
  h1 {
    font-size: 1.3rem;
  }

  section {
    padding: 15px 10px;
    margin: 8px 0;
  }

  section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  /* Footer */
  footer {
    padding: 12px 8px;
  }

  footer p {
    font-size: 0.8rem;
    margin: 4px 0;
  }

  .footer-logo img {
    max-height: 50px;
  }
}