/* ============================================================
   contacto.css  –  Estilos página de contacto
   Cinematográfico · Dark · Rojo #ff4d4d
   ============================================================ */

/* ── Base ── */
body {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  min-height: 100vh;
}

.main-content {
  padding-top: 0px;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-mobile {
  display: none;
}

/* Cambiar video en móvil */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
  
  .hero-video-mobile {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 2.5rem; /* Aumentado de 1.5rem para más separación */
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #ff4d4d 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
 
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact Section ── */
.contact-section {
  padding: 8rem 0;
  background: rgba(26, 26, 26, 0.8);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.5), transparent);
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 77, 77, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Contact Grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* ── Cards ── */
.contact-info-card,
.contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 77, 77, 0.2);
  overflow: hidden;
}

.card-header {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 2rem;
  text-align: center;
}

.card-header h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 77, 77, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  margin: 0 auto;
  border-radius: 2px;
}

/* ── Contact Methods ── */
.contact-methods {
  padding: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.1);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-method:hover {
  background: rgba(255, 77, 77, 0.05);
  border-color: rgba(255, 77, 77, 0.3);
  transform: translateY(-2px);
}

.method-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(255, 77, 77, 0.15);
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  color: #ff4d4d;
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover .method-icon {
  background: #ff4d4d;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(255, 77, 77, 0.4);
}

.method-content h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.method-content p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.method-link {
  color: #ff4d4d;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.method-link:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

/* ── Social Section ── */
.social-section {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 77, 77, 0.1);
}

.social-section h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.social-section .social-links {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-section .social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.social-section .social-link:hover {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  border-color: #ff4d4d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

.social-section .social-link:hover i {
  color: white !important;
}

.social-section .social-link i {
  font-size: 1rem;
  color: white !important;
}

/* Footer social links */
.footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer .social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 77, 77, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 77, 77, 0.3);
  text-decoration: none;
}

.footer .social-link i {
  color: white !important;
  font-size: 1.1rem;
}

.footer .social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer .social-link:hover i {
  color: white !important;
}

/* ── Contact Form ── */
.contact-form {
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

select option {
  background: #1a1a1a;
  color: #fff;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Checkbox ── */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  accent-color: #ff4d4d;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  cursor: pointer;
}

.privacy-link {
  color: #ff4d4d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

/* ── Submit Button ── */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.1rem 2rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #e63333 0%, #ff4d4d 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Map Section ── */
.map-section {
  position: relative;
  height: 500px;
}

.map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.5), transparent);
  z-index: 1;
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Notificaciones de error ── */
.jlv-notification--error {
  border-left-color: #ff4d4d;
}

.jlv-notification--error .jlv-notification__icon {
  background: #ff4d4d;
}
/* Footer usa estilos globales de index.css */

/* ────────────────────────────────────────
   MENÚ HAMBURGUESA (mobile)
   Una única fuente de verdad — sin !important
   Se activa con la clase .active del JS
──────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.25s ease;
  z-index: 1100;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
  background: rgba(255, 77, 77, 0.2);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Mostrar botón hamburguesa */
  .mobile-menu-btn {
    display: block;
  }

  /* Ocultar nav por defecto */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 77, 77, 0.2);
    z-index: 1000;
  }

  /* Mostrar nav cuando está activo */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 1.05rem;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
  }

  /* Controlar altura del hero en móvil */
  /* .hero {
    height: 80vh;
    min-height: 400px;
  } */

  /* Asegurarse de que el header tenga position relativa para el menú absoluto */
  .header {
    position: relative;
  }

  /* Form en una columna */
  .form-row {
    grid-template-columns: 1fr;
  }

  .map-section {
    height: 380px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  /* Controlar altura del hero en móviles pequeños */
  /* .hero {
    height: 70vh;
    min-height: 350px;
  } */

  

  .contact-methods {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .map-section {
    height: 300px;
  }

  .social-section .social-links {
    gap: 0.6rem;
  }
}
