/* =============================================
   VARIABLES GLOBALES
   Paleta y tipografía — Teatro El Chasqui
============================================= */

:root {
  /* Base */
  --color-bg:          #120c0a;
  --color-bg-alt:      #1a120f;
  --color-surface:     #221714;

  /* Dorado — protagonista */
  --color-gold:        #c9a24b;
  --color-gold-light:  #e3c777;
  --color-gold-dark:   #8c6f2f;

  /* Rojo — acento secundario */
  --color-red:         #7a1f2b;
  --color-red-light:   #a83246;

  /* Texto */
  --color-text:        #f3ece2;
  --color-text-muted:  #b8a99a;

  /* Utilidad */
  --color-overlay:     rgba(18, 12, 10, 0.85);

  /* Tipografía */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;

  --text-xs:   0.8rem;
  --text-sm:   0.9rem;
  --text-base: 1.05rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;

  /* Espaciado */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;

  /* Transiciones */
  --transition-base: 0.3s ease;

  /* Layout */
  --max-width: 1280px;
  --section-padding: var(--space-xl) var(--space-md);
}

/* =============================================
   RESET / NORMALIZE
============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* =============================================
   HEADER
============================================= */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

#site-header.scrolled {
  background-color: var(--color-bg);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo img {
  height: 90px;
  width: auto;
  display: block;
}

/* Nav desktop */
.nav-desktop ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-desktop a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition-base);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-gold);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  transform: scaleX(1);
}

.nav-desktop a:focus-visible {
  color: var(--color-gold);
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Header actions (social + hamburger agrupados) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Social icons — compartidos header desktop y mobile menu */
.header-social,
.mobile-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  line-height: 0;
  min-width: 44px;
  min-height: 44px;
}

.social-link:hover {
  color: var(--color-gold);
}

.social-link:focus-visible {
  color: var(--color-gold);
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Hamburger button */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  padding: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  transition: color var(--transition-base);
  line-height: 0;
}

.hamburger:hover {
  color: var(--color-gold);
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.hamburger svg {
  width: 26px;
  height: 26px;
}

/* =============================================
   MOBILE MENU OVERLAY
============================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: var(--color-text-muted);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  transition: color var(--transition-base);
  line-height: 0;
}

.mobile-menu-close:hover {
  color: var(--color-gold);
}

.mobile-menu-close:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.mobile-menu-close svg {
  width: 28px;
  height: 28px;
}

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  color: var(--color-gold);
}

.mobile-menu nav a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.mobile-social .social-link svg {
  width: 22px;
  height: 22px;
}

/* Separador decorativo dorado — reutilizable */
.gold-rule {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 0 auto;
}

/* =============================================
   HERO
============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Imagen de fondo — img con fetchpriority, no CSS background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay oscuro con gradiente cálido */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      155deg,
      rgba(18, 12, 10, 0.45) 0%,
      rgba(18, 12, 10, 0.72) 55%,
      rgba(18, 12, 10, 0.90) 100%
    );
}

/* Vignette adicional al pie para el texto */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(18, 12, 10, 0.55), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.05;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-gold);
  line-height: 1.2;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-address {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.75rem;
}

.hero-address-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-gold);
}

/* =============================================
   BOTÓN PRINCIPAL — reutilizable
============================================= */

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.75rem;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition-base), background-color var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  color: var(--color-bg);
  background-color: var(--color-gold);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* =============================================
   INDICADOR DE SCROLL — animación CSS pura
============================================= */

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-indicator__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.7;
}

.scroll-indicator__track {
  width: 1px;
  height: 52px;
  background-color: rgba(201, 162, 75, 0.18);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42%;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollDrop 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scrollDrop {
  0%   { transform: translateY(-100%); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(280%); opacity: 0; }
}

/* =============================================
   RESPONSIVE — Hero
============================================= */

@media (max-width: 768px) {
  .hero-inner {
    padding: 8rem 1.5rem 5rem;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 7rem 1.25rem 4.5rem;
  }

  .hero-address {
    margin-bottom: 2rem;
  }
}

/* =============================================
   SECCIONES — base
============================================= */

.section {
  padding: var(--space-xl) var(--space-md);
  background-color: var(--color-bg);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-inner--narrow {
  max-width: 720px;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-inner--narrow .gold-rule {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}

.gold-rule--left {
  margin-left: 0;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

.section-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.85;
}

.section-inner--narrow .section-text {
  max-width: 580px;
  margin: 0 auto;
}

/* =============================================
   SPLIT LAYOUT — dos columnas
============================================= */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.split-text {
  display: flex;
  flex-direction: column;
}

.split-image {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}

.split-image:hover img {
  transform: scale(1.03);
}

/* =============================================
   STAT — "+60 años"
============================================= */

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* =============================================
   ANIMACIONES DE SCROLL — reveal
============================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.split-layout .reveal:last-child {
  transition-delay: 0.15s;
}

/* =============================================
   RESPONSIVE — Secciones
============================================= */

@media (max-width: 1024px) {
  .split-layout {
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) var(--space-sm);
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .split-image img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
}

/* =============================================
   RESPONSIVE — Header
============================================= */

@media (max-width: 768px) {
  #site-header {
    padding: 1rem 1.25rem;
  }

  .logo img {
    height: 65px;
  }

  .nav-desktop,
  .header-social {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* =============================================
   GALERÍA — Nuestras Instalaciones
============================================= */

.section-header-centered {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header-centered .gold-rule {
  margin-top: 1rem;
}

/* Marquee de galería — dos filas en direcciones opuestas */
.gallery-marquee {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.gallery-strip {
  overflow: hidden;
}

.gallery-strip__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
}

.gallery-strip--fwd .gallery-strip__track {
  animation: marqueeForward 55s linear infinite;
}

.gallery-strip--rev .gallery-strip__track {
  animation: marqueeReverse 48s linear infinite;
}

.gallery-marquee:hover .gallery-strip__track,
.gallery-marquee:focus-within .gallery-strip__track {
  animation-play-state: paused;
}

@keyframes marqueeForward {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-strip__track {
    animation: none !important;
  }
}

.gallery-item {
  display: block;
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--color-surface);
  padding: 0;
  transition: border-color var(--transition-base);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: var(--color-gold);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* =============================================
   LIGHTBOX
============================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 6, 4, 0.94);
  cursor: zoom-out;
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-image {
  max-width: 88vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--color-gold-dark);
}

.lightbox-counter {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.lightbox-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background-color: rgba(34, 23, 20, 0.75);
  border: 1px solid var(--color-gold-dark);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  z-index: 2;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  color: var(--color-gold);
  background-color: var(--color-surface);
  border-color: var(--color-gold);
}

.lightbox-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.lightbox-btn svg {
  width: 20px;
  height: 20px;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* =============================================
   RESPONSIVE — Galería y Lightbox
============================================= */

@media (max-width: 768px) {
  .gallery-item {
    width: 240px;
    height: 170px;
  }

  .gallery-strip__track {
    gap: 0.5rem;
  }

  .gallery-marquee {
    gap: 0.5rem;
  }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 200px;
    height: 145px;
  }

  .lightbox-image {
    max-width: 96vw;
    max-height: 75vh;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
  }
}

/* =============================================
   CONTACTO
============================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* --- Formulario --- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.form-required {
  color: var(--color-gold);
}

.form-input {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-dark);
  color: var(--color-text);
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.55;
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 75, 0.15);
}

.form-input.is-error {
  border-color: var(--color-red-light);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-body);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-red-light);
  min-height: 1.1em;
  line-height: 1.4;
}

.btn-submit {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* --- Mensaje de éxito --- */

.contact-success {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--color-gold-dark);
  background-color: var(--color-surface);
}

.contact-success__icon {
  margin: 0 auto 1.25rem;
  width: 56px;
  height: 56px;
}

.contact-success__icon svg {
  width: 56px;
  height: 56px;
  color: var(--color-gold);
  display: block;
}

.contact-success__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-success__text {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* --- Columna de info --- */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 0.1rem;
}

.contact-info-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  overflow-wrap: break-word;
}

.contact-info-item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  overflow-wrap: break-word;
}

.contact-info-item a:hover {
  color: var(--color-gold);
}

/* --- Redes en contacto --- */

.contact-social {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: var(--space-md);
}

.contact-social .social-link svg {
  width: 22px;
  height: 22px;
}

/* --- Mapa --- */

.contact-map {
  border: 1px solid var(--color-gold-dark);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  display: block;
  border: 0;
  filter: grayscale(20%) contrast(0.92) brightness(0.88);
}

/* =============================================
   RESPONSIVE — Contacto
============================================= */

@media (max-width: 1024px) {
  .contact-layout {
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 220px;
  }
}

/* =============================================
   FOOTER
============================================= */

.site-footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-gold-dark);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.6fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Marca */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.85rem;
  line-height: 0;
}

.footer-logo-link img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* Headings de columna */
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

/* Nav */
.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--color-gold);
}

.footer-nav a:focus-visible {
  color: var(--color-gold);
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Contacto */
.footer-contact li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  overflow-wrap: break-word;
}

.footer-contact a {
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--color-gold);
}

/* Redes */
.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social .social-link svg {
  width: 20px;
  height: 20px;
}

/* Copyright */
.footer-bottom {
  border-top: 1px solid rgba(140, 111, 47, 0.18);
  padding: 1.25rem var(--space-md);
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* =============================================
   RESPONSIVE — Footer
============================================= */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-sm) var(--space-md);
    gap: var(--space-md);
  }
}

/* =============================================
   VIDEO EMBED — Sección Bienvenida
============================================= */

.section-inner--video {
  max-width: 900px;
  margin-top: var(--space-lg);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-gold-dark);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background-color: var(--color-bg);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 480px) {
  .section-inner--video {
    margin-top: var(--space-md);
  }
}
