/* ==========================================================================
   VARIABLES DE DISEÑO (Sistema de variables CSS)
   ========================================================================== */
:root {
  --negro: #0D0D0D;
  --carbon: #1A1A1A;
  --humo: #2C2C2C;
  --ocre: #e9954a;         
  --ocre-claro: #f0aa6b;   
  --terracota: #B5422A;
  --crema: #F2EAD8;
  --gris: #8A8A8A;
  --blanco: #FAF8F4;
  --blanco-hueso: #D9D4C5; 
  
  --fuente-principal: 'Fira Sans', sans-serif;
  --transicion: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--negro);
  color: var(--crema);
  font-family: var(--fuente-principal);
  font-weight: 300;
  line-height: 1.6;
  font-display: swap; 
  overflow-x: hidden;
}

/* Fondos Zebra alternados */
.bg-negro { background-color: var(--negro); }
.bg-carbon { background-color: var(--carbon); }

/* ==========================================================================
   GRILLA Y CONTENEDORES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}

/* ==========================================================================
   BOTONES Y ENLACES
   ========================================================================== */
a, button {
  transition: var(--transicion);
  text-decoration: none;
  outline: none;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ocre-claro);
  outline-offset: 4px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--ocre);
  color: var(--negro);
  font-family: var(--fuente-principal);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--ocre-claro);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-outline {
  background-color: transparent;
  border: 1px solid var(--ocre);
  color: var(--ocre);
}

.btn-primary.btn-outline:hover {
  background-color: rgba(233, 149, 74, 0.08);
  border-color: var(--ocre-claro);
  color: var(--ocre-claro);
}

.link-secondary {
  font-family: var(--fuente-principal);
  color: var(--ocre);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.link-secondary:hover {
  color: var(--ocre-claro);
}

/* Acciones Flotantes Fijas */
.floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.btn-floating {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--ocre);
  color: var(--negro);
  border-radius: 8px;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: none;
}

.btn-floating:hover {
  background-color: var(--ocre-claro);
  transform: translateY(-4px);
}

.btn-floating.btn-whatsapp {
  background-color: #25D366;
  color: #FAF8F4;
}

.btn-floating.btn-whatsapp:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-floating.btn-top {
  background-color: var(--carbon);
  color: var(--blanco-hueso);
  border: 1px solid var(--humo);
  font-size: 20px;
}

.btn-floating.btn-top:hover {
  border-color: var(--ocre);
  color: var(--ocre);
  background-color: var(--negro);
}

/* ==========================================================================
   CABECERA Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  background-color: rgba(13, 13, 13, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--carbon);
  padding: 20px 0;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo a img {
  height: 32px; 
  width: auto; 
  display: block;
}

.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 32px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  color: var(--gris);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--blanco);
}

.mobile-nav-cta {
  display: none;
}

.cta-fixed .btn-primary {
  padding: 10px 24px;
  font-size: 13px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 28px;
  cursor: pointer;
}

/* ==========================================================================
   SECCIÓN HERO 
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ocre);
  padding: 100px 0;
  overflow: hidden;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.2) 80%),
              linear-gradient(to bottom, rgba(13, 13, 13, 0.1) 0%, rgba(13, 13, 13, 0.85) 100%);
  z-index: 1;
}

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

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 48px;
  border: 2px solid var(--ocre);
  border-radius: 20px;
  z-index: 2;
  opacity: 0.7;
  transition: var(--transicion);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--ocre);
  border-radius: 4px;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 12px); }
  60% { transform: translate(-50%, 6px); }
}

/* ==========================================================================
   TIPOGRAFÍA Y SECCIONES
   ========================================================================== */
section:not(.hero-section) {
  padding: 100px 0;
}

.section-label {
  font-family: var(--fuente-principal);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: 16px;
  display: block;
}

h1, h2 {
  font-family: var(--fuente-principal);
  font-style: italic;
  font-weight: 300;
  color: var(--blanco-hueso);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

h1 { font-size: clamp(42px, 5.5vw, 64px); } 
h2 { font-size: clamp(28px, 3.5vw, 42px); }

.text-accent {
  color: var(--ocre);
  font-weight: 400;
}

h3 {
  font-family: var(--fuente-principal);
  font-weight: 500;
  font-size: 20px; 
  color: var(--ocre-claro);
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

p {
  color: #C8C0B0;
  font-size: 16px;
  margin-bottom: 24px;
}

.img-wrapper {
  background-color: var(--carbon);
  overflow: hidden;
  display: flex;
  border-radius: 4px;
  position: relative; 
}

.img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transicion);
}

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

.text-block { text-align: left; }

.insight-box {
  background-color: var(--carbon);
  border-left: 4px solid var(--ocre);
  padding: 32px;
  margin-top: 32px;
  border-radius: 0 4px 4px 0;
}

.insight-box p {
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--crema);
  margin-bottom: 0;
}

.eje-z-a .col-text { grid-column: span 8; order: 1; }
.eje-z-a .col-img { grid-column: span 4; order: 2; }
.eje-z-b .col-img { grid-column: span 4; order: 1; }
.eje-z-b .col-text { grid-column: span 8; order: 2; }

/* ==========================================================================
   GRILLA DE PROPUESTAS
   ========================================================================== */
.events-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: 48px; }
.segment-card { grid-column: span 4; background-color: var(--negro); border: 1px solid var(--humo); border-radius: 8px; transition: var(--transicion); display: flex; flex-direction: column; }
.bg-negro .segment-card { background-color: var(--carbon); }
.segment-card:hover { transform: translateY(-4px); border-color: var(--ocre); }
.segment-info { padding: 32px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-icon { font-size: 40px; color: var(--ocre); margin-bottom: 20px; display: inline-block; }
.segment-title { font-weight: 500; font-size: 20px; text-transform: uppercase; color: var(--blanco); line-height: 1.3; margin-bottom: 12px; }
.segment-desc { font-size: 15px; color: #C8C0B0; margin-bottom: 16px; line-height: 1.6; }
.feature-list { list-style: none; margin-top: 8px; margin-bottom: 24px; flex-grow: 1; }
.feature-list li { position: relative; padding-left: 18px; color: #C8C0B0; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.feature-list li strong { color: var(--blanco-hueso); font-weight: 500; }
.feature-list li::before { content: '·'; position: absolute; left: 0; top: -3px; color: var(--ocre); font-weight: bold; font-size: 24px; }
.activities-row { margin-top: 64px; border-top: 1px solid var(--humo); padding-top: 40px; align-items: start; }
.activities-row .col-act { grid-column: span 6; }

/* ==========================================================================
   PIE DE PÁGINA 
   ========================================================================== */
.site-footer { background-color: #050505; padding: 80px 0 40px; border-top: 2px solid var(--ocre); }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; }
.footer-grid > div { grid-column: span 4; }
.footer-col-title { color: var(--ocre); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; margin-bottom: 24px; display: block; }
.footer-logo { margin-bottom: 24px; }
.footer-logo img { height: 32px; width: auto; display: block; }
.footer-text { color: #C8C0B0; font-size: 13px; line-height: 1.8; max-width: 100%; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: #C8C0B0; font-size: 14px; }
.footer-links a:hover { color: var(--blanco); }
.footer-address { font-style: normal; color: #C8C0B0; font-size: 15px; line-height: 2; margin-bottom: 32px; }

/* Enlace nativo para teléfono que no altera el estilo visual */
.footer-address a.phone-link { color: inherit; text-decoration: none; transition: var(--transicion); }
.footer-address a.phone-link:hover { color: var(--ocre); }

.social-icons { display: flex; gap: 16px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--humo); border-radius: 8px; color: var(--blanco); font-size: 20px; background-color: transparent; }
.social-icons a:hover { border-color: var(--ocre); color: var(--ocre); background-color: rgba(233, 149, 74, 0.05); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--carbon); }
.footer-copyright { font-size: 11px; color: var(--gris); opacity: 0.5; }
.footer-agency { display: flex; align-items: center; font-size: 11px; text-decoration: none; letter-spacing: 1px; }
.footer-agency .agency-label { color: #C8C0B0; opacity: 0.5; margin-right: 6px; transition: var(--transicion); }
.footer-agency .agency-name { color: #C8C0B0; opacity: 1; font-weight: 500; transition: var(--transicion); }
.footer-agency:hover .agency-label, .footer-agency:hover .agency-name { opacity: 1; color: #C8001A; }

/* ==========================================================================
   MEDIA QUERIES (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .floating-actions { bottom: 20px; right: 20px; gap: 8px; }
  .btn-floating { width: 46px; height: 46px; font-size: 22px; }
  .btn-floating.btn-top { font-size: 18px; }
  .mobile-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--negro); padding: 24px; border-bottom: 1px solid var(--carbon); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 20px; }
  .mobile-nav-cta { display: block; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--humo); }
  .mobile-nav-cta .btn-primary { width: 100%; text-align: center; }
  .cta-fixed { display: none; }
  .grid-12, .events-grid, .footer-grid { display: flex; flex-direction: column; gap: 40px; }
  .hero-section .grid-12 .col-text, .hero-section .grid-12 .col-img, .eje-z-a .col-text, .eje-z-a .col-img, .eje-z-b .col-img, .eje-z-b .col-text, .segment-card, .activities-row .col-act { width: 100%; order: initial; }
  section { padding: 60px 0; }
  .scroll-indicator { display: none; } 
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}