/* ==========================================================================
   ALQUILER DE ÓRGANO POSITIVO DE TUBOS - ESTILOS ELEGANTES Y SOBRIOS
   Rendimiento extremo, sin frameworks pesados, paleta clásica y refinada
   ========================================================================== */

:root {
  --bg-main: #0c0f14;
  --bg-surface: #141820;
  --bg-surface-elevated: #1a202c;
  --bg-surface-card: #161b24;
  --border-subtle: #252d3a;
  --border-gold: rgba(201, 155, 91, 0.28);
  --border-gold-hover: rgba(223, 182, 121, 0.6);

  --gold-primary: #c99b5b;
  --gold-light: #dfb679;
  --gold-dark: #98723b;
  --gold-glow: rgba(201, 155, 91, 0.18);

  --text-main: #f4f0e8;
  --text-body: #c6cdd7;
  --text-muted: #8b95a5;
  --text-inverse: #0c0f14;

  --accent-wood: #8c5d35;
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.12);

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(201, 155, 91, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-body);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background: radial-gradient(circle at 50% 0%, #171d27 0%, #0c0f14 65%);
  background-attachment: fixed;
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TIPOGRAFÍA Y ELEMENTOS BASE
   ========================================================================== */
h1, h2, h3, h4, .brand-title {
  font-family: var(--font-serif);
  color: var(--text-main);
  letter-spacing: 0.02em;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  background: rgba(201, 155, 91, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 15, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--transition-fast), background var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(201, 155, 91, 0.3);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #111;
  box-shadow: 0 4px 15px rgba(201, 155, 91, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fff, var(--gold-light));
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 155, 91, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(201, 155, 91, 0.1);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 155, 91, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
  color: var(--text-main);
}

.hero-pill svg {
  color: var(--gold-primary);
}

.hero-media {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  background: var(--bg-surface-card);
  cursor: pointer;
}

.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card:hover img {
  transform: scale(1.02);
}

.hero-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(12, 15, 20, 0.95) 0%, rgba(12, 15, 20, 0.4) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-card-title {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--gold-light);
}

.tag-badge {
  background: rgba(201, 155, 91, 0.25);
  color: #fff;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   CARACTERÍSTICAS Y ESPECIFICACIONES TÉCNICAS
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.spec-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
}

.spec-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.spec-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(201, 155, 91, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.spec-title {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.spec-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tabla de Ficha Técnica */
.tech-specs-box {
  margin-top: 3rem;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-card);
}

.tech-specs-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tech-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.tech-table tr:last-child {
  border-bottom: none;
}

.tech-table td {
  padding: 0.9rem 0.5rem;
}

.tech-table td.label {
  font-weight: 600;
  color: var(--gold-light);
  width: 32%;
}

.tech-table td.value {
  color: var(--text-body);
}

/* ==========================================================================
   MODALIDADES DE ALQUILER (CON / SIN ORGANISTA)
   ========================================================================== */
.modalities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.modality-card {
  background: var(--bg-surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.8rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.modality-card.featured {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, #1d2330 0%, #161b24 100%);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.modality-ribbon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modality-header {
  margin-bottom: 1.8rem;
}

.modality-badge {
  font-size: 0.82rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.modality-title {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.modality-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.modality-list {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.modality-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  color: var(--text-body);
}

.modality-list li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   LOGÍSTICA Y TRANSPORTE
   ========================================================================== */
.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.transport-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.transport-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  cursor: pointer;
}

.transport-img-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.transport-img-wrapper:hover img {
  transform: scale(1.04);
}

.transport-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.transport-box {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--gold-primary);
}

.transport-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transport-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   GALERÍA
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 15, 20, 0.9) 0%, rgba(12, 15, 20, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.gallery-item-sub {
  color: var(--gold-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   EVENTOS Y OCASIONES
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.event-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  text-align: center;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.event-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201, 155, 91, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  color: var(--gold-light);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.65;
  padding: 0 1.6rem;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.6rem 1.4rem;
}

/* ==========================================================================
   FORMULARIO DE CONTACTO
   ========================================================================== */
.contact-section {
  position: relative;
}

.contact-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 155, 91, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.radio-cards-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.radio-card {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.radio-card:hover {
  border-color: var(--gold-light);
}

.radio-card input[type="radio"] {
  accent-color: var(--gold-primary);
}

.radio-card.selected {
  border-color: var(--gold-primary);
  background: rgba(201, 155, 91, 0.1);
  color: #fff;
}

.alert-box {
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #080a0e;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: var(--text-muted);
  max-width: 420px;
  margin-top: 1rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   MODAL LIGHTBOX Y PRIVACIDAD (RGPD / LOPD)
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Modal Política de Privacidad */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.privacy-modal.active {
  display: flex;
}

.privacy-modal-dialog {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.privacy-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-modal-header h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin: 0;
}

.privacy-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.privacy-modal-close:hover {
  color: #fff;
}

.privacy-modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
}

.privacy-modal-body h4 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 1.4rem 0 0.5rem;
}

.privacy-modal-body h4:first-child {
  margin-top: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: rgba(16, 21, 29, 0.96);
  border-top: 1px solid var(--border-gold);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.cookie-banner.show {
  display: flex;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .modalities-grid {
    grid-template-columns: 1fr;
  }
  .transport-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .contact-card {
    padding: 1.75rem 1.25rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .tech-table td.label {
    width: 45%;
  }
}
