/* ==========================================================================
   MI TERCERA EDAD - DISEÑO EDITORIAL PRÉMIUM Y ACCESIBLE
   Orientado a la Tercera Edad, Familias y Organizaciones
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de Colores Prémium (Inspirada en Los Lagos y la Sabiduría Dorada) */
  --color-primary-dark: #142820;    /* Verde bosque patagónico profundo */
  --color-primary: #1E3F33;         /* Verde bosque noble */
  --color-primary-light: #2D5A48;   /* Verde bosque medio */
  --color-primary-soft: #EAF2ED;    /* Verde menta suave para fondos y chips */
  
  --color-gold: #C88728;            /* Oro sabiduría / Ámbar noble */
  --color-gold-hover: #B0741E;
  --color-gold-light: #FBF4E8;      /* Crema dorada sutil */
  --color-gold-border: #E8D3B0;
  
  --color-bg-base: #FAF8F5;         /* Alabastro cálido descansado */
  --color-bg-surface: #FFFFFF;      /* Blanco puro para tarjetas */
  --color-bg-alt: #F3EFE9;          /* Lino cálido */
  
  --color-text-main: #18242A;       /* Carbón pizarra de altísimo contraste (WCAG AAA) */
  --color-text-muted: #4A5B64;      /* Gris azulado neutro legible */
  --color-text-light: #71828D;
  
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;

  /* Tipografía y Escalas */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Factor de escala dinámico de accesibilidad para la tercera edad */
  --font-scale: 1;
  --base-font-size: calc(18px * var(--font-scale));
  --line-height-base: 1.75;
  
  /* Espaciados y Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(20, 40, 32, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 40, 32, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 40, 32, 0.12);
  --shadow-gold: 0 10px 25px rgba(200, 135, 40, 0.25);
  
  --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-fast: 0.15s ease;
  
  --container-max: 1200px;
}

/* Modificadores de Tamaño de Letra Accesible */
body.font-size-large {
  --font-scale: 1.15;
}
body.font-size-xlarge {
  --font-scale: 1.30;
}

/* Modo Alto Contraste */
body.high-contrast {
  --color-bg-base: #FFFFFF;
  --color-bg-alt: #F0F0F0;
  --color-text-main: #000000;
  --color-text-muted: #1A1A1A;
  --color-primary: #0A1C14;
  --color-gold: #9B620C;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

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

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. BARRA SUPERIOR DE CONTACTO RÁPIDO Y UBICACIÓN
   -------------------------------------------------------------------------- */
.top-accessibility-bar {
  background-color: var(--color-primary-dark);
  color: #E2EAE5;
  font-size: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
}

.header-container-fluid {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.2vw, 3.5rem);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.top-bar-location svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.96rem;
}

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

/* --------------------------------------------------------------------------
   4. NAVEGACIÓN Y CABECERA PRINCIPAL (STICKY HEADER PROTAGÓNICO)
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 90;
  border-bottom: 1px solid rgba(20, 40, 32, 0.08);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(20, 40, 32, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  gap: 2rem;
}

/* Logotipo Prémium Protagónico */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-symbol-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #F5E8D0 100%);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(200, 135, 40, 0.22);
  flex-shrink: 0;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.brand-logo-link:hover .logo-symbol-wrap {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(200, 135, 40, 0.35);
}

.logo-symbol-wrap svg {
  width: 38px;
  height: 38px;
  fill: var(--color-gold);
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.1vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-primary-dark);
  line-height: 1.1;
  transition: color var(--transition-fast);
}

.brand-logo-link:hover .logo-title {
  color: var(--color-primary);
}

.logo-subtitle {
  font-size: clamp(0.85rem, 1.05vw, 0.98rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Enlaces de Navegación */
.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 1.8vw, 2rem);
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-gold);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  color: #FFFFFF;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 135, 40, 0.38);
}

/* Botón menú móvil */
.mobile-toggle-btn {
  display: none;
  padding: 0.5rem;
  color: var(--color-primary);
}

.mobile-toggle-btn svg {
  width: 28px;
  height: 28px;
}

/* --------------------------------------------------------------------------
   5. BOTONES Y ELEMENTOS DE ACCIÓN (BUTTONS)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--color-gold);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 135, 40, 0.35);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION: PAISAJE DE LOS LAGOS + TEXTOS HUMANOS + ESPACIO VÍDEO
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5.5rem;
  background-color: #F8F6F2;
  overflow: hidden;
}

/* Fondo con el Lago Llanquihue y el Volcán Osorno claramente visible */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    rgba(250, 248, 245, 0.82) 0%,
    rgba(250, 248, 245, 0.55) 45%,
    rgba(250, 248, 245, 0.20) 75%,
    rgba(250, 248, 245, 0.10) 100%
  ), url('../assets/images/hero_llanquihue.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.hero-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-text-col {
  max-width: 660px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(20, 40, 32, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
  border: 1px solid rgba(30, 63, 51, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  color: var(--color-primary-dark);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight-gold {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 700;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.2rem;
}

.trust-chip-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-primary);
}

.trust-chip-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Espacio Reservado para Vídeo de Bienvenida */
.hero-media-col {
  position: relative;
}

.video-placeholder-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200, 135, 40, 0.25);
  position: relative;
  transition: transform var(--transition-normal);
}

.video-placeholder-card:hover {
  transform: translateY(-4px);
}

.video-frame-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #192922;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(0.92);
}

.video-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(20, 40, 32, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200, 135, 40, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.video-badge-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

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

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(20, 40, 32, 0.2) 0%, rgba(20, 40, 32, 0.65) 100%);
  cursor: pointer;
  padding: 1.5rem;
  text-align: center;
}

.play-circle-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.play-circle-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--color-gold);
  margin-left: 4px;
}

.video-play-overlay:hover .play-circle-btn {
  transform: scale(1.1);
  background-color: var(--color-gold-light);
}

.video-caption-title {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.3rem;
}

.video-caption-sub {
  color: #E2EAE5;
  font-size: 0.88rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.video-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-author-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.video-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.video-author-role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   7. CITA FILOSÓFICA CENTRAL & CONTADORES ANIMADOS
   -------------------------------------------------------------------------- */
.quote-section {
  background-color: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  text-align: center;
  background-image: radial-gradient(circle at top center, #1E3F33 0%, #142820 100%);
}

.quote-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.5rem;
  fill: var(--color-gold);
  opacity: 0.85;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 860px;
  margin: 0 auto 1.5rem;
  font-weight: 400;
  color: #FAF5EB;
}

.quote-author {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.quote-author-title {
  font-size: 0.92rem;
  color: #A3B5AC;
  margin-top: 0.25rem;
}

/* Contadores Numéricos */
.stats-banner {
  background: var(--color-bg-surface);
  border-bottom: 1px solid rgba(20, 40, 32, 0.07);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number-wrap {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number-wrap span.stat-plus {
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN: SOBRE FERNANDO DAZA ÁLVAREZ (QUIÉN SOY & TRAYECTORIA)
   -------------------------------------------------------------------------- */
.about-section {
  padding: 6rem 0;
  background-color: var(--color-bg-base);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.about-photos-stack {
  position: relative;
}

.about-main-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-main-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.about-main-photo-wrap:hover .about-main-photo {
  transform: scale(1.02);
}

.about-badge-card {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--color-gold);
  max-width: 280px;
}

.about-badge-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.about-badge-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--color-primary-dark);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about-narrative p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.about-narrative p.lead-story {
  font-size: 1.15rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.career-highlights-box {
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.75rem 0;
  border-left: 4px solid var(--color-primary);
}

.career-box-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.career-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
}

.career-item {
  font-size: 0.92rem;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.career-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   8B. SECCIÓN: SANTUARIO DE BIENESTAR - LA REGIÓN DE LOS LAGOS
   -------------------------------------------------------------------------- */
.territory-section {
  padding: 6.5rem 0;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.territory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.territory-card {
  background: var(--color-bg-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 40, 32, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.territory-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 135, 40, 0.4);
}

.territory-img-wrap,
.territory-card-media {
  height: 270px;
  overflow: hidden;
  position: relative;
}

.territory-img-wrap img,
.territory-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.territory-card:hover .territory-img-wrap img,
.territory-card:hover .territory-card-media img {
  transform: scale(1.06);
}

.territory-badge-loc,
.territory-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(20, 40, 32, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.territory-badge-loc svg,
.territory-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.territory-body,
.territory-card-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.territory-card-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.territory-card-desc {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.territory-highlight-banner {
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, #FAF6EE 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  border: 1px solid rgba(200, 135, 40, 0.25);
  box-shadow: var(--shadow-sm);
}

.territory-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.territory-banner-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.territory-banner-text,
.territory-highlight-text {
  flex: 1;
  min-width: 280px;
}

.territory-banner-text h3,
.territory-banner-text h4,
.territory-highlight-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--color-primary-dark);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.territory-banner-text p,
.territory-highlight-desc {
  font-size: 1.06rem;
  color: var(--color-text-main);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. SECCIÓN: CÍRCULOS DE SABIDURÍA (EL ALMA DEL PROYECTO)
   -------------------------------------------------------------------------- */
.circles-section {
  padding: 6.5rem 0;
  background-color: #FAF6EF;
  position: relative;
}

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

.circles-intro-text {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.circles-featured-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.circles-card-presentation {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--color-gold);
}

.circles-card-presentation h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.circles-benefit-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.circle-benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold-light);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 2px;
}

.benefit-text-title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-primary-dark);
}

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

.circle-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.circle-real-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.circle-photo-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(20, 40, 32, 0.95) 0%, rgba(20, 40, 32, 0.6) 70%, transparent 100%);
  color: #FFFFFF;
}

.circle-caption-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.circle-caption-loc {
  font-size: 0.88rem;
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   10. SECCIÓN: SERVICIOS DE COACHING (3 PILARES CLAROS)
   -------------------------------------------------------------------------- */
.services-section {
  padding: 6.5rem 0;
  background-color: var(--color-bg-base);
}

.services-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 40, 32, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 135, 40, 0.4);
}

.service-card.featured-card {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F3 100%);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.service-card.featured-card .service-icon-wrap {
  background: var(--color-gold-light);
}

.service-card.featured-card .service-icon-wrap svg {
  fill: var(--color-gold);
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.service-modalities-chip {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-points-list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.service-point-item {
  font-size: 0.94rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--color-text-main);
}

.service-point-item svg {
  width: 17px;
  height: 17px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-card-btn {
  margin-top: auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   11. NUEVA SECCIÓN: GALERÍA DE ENCUENTROS REALES (CON LIGHTBOX)
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 6.5rem 0;
  background-color: #F6F4EE;
}

.gallery-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.8rem;
}

.filter-tab-btn {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(20, 40, 32, 0.12);
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-tab-btn:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.filter-tab-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.gallery-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 40, 32, 0.07);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.gallery-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #E8E5DC;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-overlay-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(20, 40, 32, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-zoom-icon {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--color-primary-dark);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-zoom-icon svg {
  width: 18px;
  height: 18px;
}

.gallery-item-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.gallery-item-meta {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-item-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

/* --------------------------------------------------------------------------
   12. METODOLOGÍA EN 4 PASOS
   -------------------------------------------------------------------------- */
.methodology-section {
  padding: 6.5rem 0;
  background-color: var(--color-bg-base);
}

.methodology-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-box-item {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number-tag {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold-light);
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

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

/* --------------------------------------------------------------------------
   13. PREGUNTAS FRECUENTES (FAQ ACORDEÓN ACCESIBLE)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
  background-color: #FAF8F4;
}

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

.faq-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 40, 32, 0.08);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--color-primary-dark);
  background: transparent;
  gap: 1rem;
}

.faq-question-btn:hover {
  color: var(--color-gold);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  fill: var(--color-gold);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.6rem;
}

.faq-item.active .faq-answer-panel {
  padding: 0 1.6rem 1.5rem;
}

.faq-answer-content {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  border-top: 1px solid #F0EEEA;
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   14. SECCIÓN CONTACTO Y AGENDAMIENTO
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 6.5rem 0;
  background-color: var(--color-bg-base);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-col {
  padding-right: 1rem;
}

.contact-direct-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  border-left: 5px solid var(--color-gold);
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.channel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
}

.channel-title {
  font-size: 0.84rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.channel-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.channel-val a:hover {
  color: var(--color-gold);
}

/* Formulario Accesible */
.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(20, 40, 32, 0.08);
}

.form-header-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.form-header-sub {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #D6DFD9;
  background-color: #FCFDFD;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--color-text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 135, 40, 0.18);
  background-color: #FFFFFF;
}

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

.form-actions-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.8rem;
}

.form-notice {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. FOOTER DE MARCA
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--color-primary-dark);
  color: #CBD8D0;
  padding: 5rem 0 2.5rem;
  border-top: 4px solid var(--color-gold);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col .logo-title {
  color: #FFFFFF;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #A3B8AD;
  max-width: 360px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav-link {
  font-size: 0.95rem;
  color: #CBD8D0;
}

.footer-nav-link:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #8C9F94;
}

/* --------------------------------------------------------------------------
   16. MODALES: LIGHTBOX & VIDEO PREVIEW
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 20, 0.94);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 40, 32, 0.7);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-gold);
}

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

.lightbox-img-wrap {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
  overflow: hidden;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-caption-wrap {
  padding: 1.25rem 2rem;
  background: #FFFFFF;
}

.lightbox-caption-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.lightbox-caption-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Botón flotante directo de WhatsApp */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn svg {
  width: 34px;
  height: 34px;
}

/* Tooltip accesible de WhatsApp */
.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: #FFFFFF;
  color: var(--color-primary-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-normal);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   17. ANIMACIONES AL SCROLL (FADE-IN UP, PARALLAX SUTIL)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE DESIGN (TABLETS, PHABLETS Y MÓVILES)
   -------------------------------------------------------------------------- */

/* Breakpoint 1: Laptops compactos y Tablets en horizontal (<= 1140px) */
@media (max-width: 1140px) {
  .nav-menu-desktop {
    gap: 1.1rem;
  }
  
  .nav-link {
    font-size: 0.98rem;
  }
  
  .btn-header-cta {
    padding: 0.75rem 1.3rem;
    font-size: 0.95rem;
  }
}

/* Breakpoint 2: Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .nav-menu-desktop {
    display: none;
  }
  
  .mobile-toggle-btn {
    display: block;
  }
  
  .btn-header-cta {
    padding: 0.7rem 1.25rem;
    font-size: 0.92rem;
  }

  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text-col {
    max-width: 100%;
  }

  .video-placeholder-card {
    max-width: 680px;
    margin-inline: auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-photos-stack {
    max-width: 620px;
    margin-inline: auto;
  }

  .about-main-photo {
    height: 420px;
  }
  
  .territory-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-inline: auto;
  }

  .territory-grid .territory-card:last-child {
    grid-column: span 2;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  
  .circles-featured-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-cards-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }
  
  .steps-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-direct-card,
  .contact-form-card {
    max-width: 640px;
    margin-inline: auto;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

/* Breakpoint 3: Phablets y Tablets en vertical (<= 768px) */
@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
  }

  .top-bar-location {
    justify-content: center;
    font-size: 0.84rem;
  }

  .top-bar-actions {
    display: none;
  }
  
  .btn-header-cta {
    display: none;
  }

  .header-inner {
    padding: 0.85rem 0;
  }

  .logo-symbol-wrap {
    width: 52px;
    height: 52px;
  }

  .logo-symbol-wrap svg {
    width: 30px;
    height: 30px;
  }

  .logo-title {
    font-size: 1.55rem;
  }

  .logo-subtitle {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .brand-logo-link {
    gap: 0.85rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
    min-height: auto;
  }

  .hero-bg-layer {
    background-image: linear-gradient(
      to bottom,
      rgba(250, 248, 245, 0.90) 0%,
      rgba(250, 248, 245, 0.78) 55%,
      rgba(250, 248, 245, 0.45) 100%
    ), url('../assets/images/hero_llanquihue.jpg');
  }

  .hero-text-col {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
  }

  .hero-description {
    font-size: 1.08rem;
  }

  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions-row .btn {
    width: 100%;
  }
  
  .stats-banner {
    padding: 2.2rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-number-wrap {
    font-size: 2.3rem;
  }

  .about-section {
    padding: 4.5rem 0;
  }

  .about-main-photo {
    height: 350px;
  }

  .about-badge-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
  }
  
  .steps-timeline-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  
  .career-list {
    grid-template-columns: 1fr;
  }

  .territory-section {
    padding: 4.5rem 0;
  }

  .territory-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .territory-grid .territory-card:last-child {
    grid-column: span 1;
    max-width: 520px;
  }

  .territory-card-media {
    height: 230px;
  }

  .territory-highlight-banner {
    padding: 2rem 1.5rem;
  }

  .territory-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .territory-banner-icon {
    margin: 0 auto;
  }

  .territory-banner-text {
    min-width: 100%;
  }

  .territory-banner-content .btn {
    width: 100%;
  }

  .circles-section,
  .services-section,
  .methodology-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 4.5rem 0;
  }

  .gallery-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    gap: 1.5rem;
  }

  .faq-question-btn {
    padding: 1.15rem 1.25rem;
    font-size: 1.05rem;
  }

  .contact-direct-card {
    padding: 1.75rem 1.5rem;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .footer-section {
    padding: 4rem 0 2rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp-btn svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .lightbox-modal {
    padding: 1rem;
  }
}

/* Breakpoint 4: Teléfonos Inteligentes y Pantallas Angostas (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1.1rem;
  }

  .header-container-fluid {
    padding-inline: 1.1rem;
  }

  .logo-symbol-wrap {
    width: 46px;
    height: 46px;
    border-width: 1.5px;
  }

  .logo-symbol-wrap svg {
    width: 26px;
    height: 26px;
  }

  .logo-title {
    font-size: 1.32rem;
    line-height: 1.1;
  }

  .logo-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .brand-logo-link {
    gap: 0.65rem;
  }

  .mobile-toggle-btn svg {
    width: 26px;
    height: 26px;
  }

  .hero-section {
    padding: 1.8rem 0 2.8rem;
  }

  .hero-text-col {
    padding: 1.4rem 1.1rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
  }

  .badge-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
  }

  .badge-pill svg {
    width: 14px;
    height: 14px;
  }

  .hero-trust-chips {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1.8rem;
  }

  .trust-chip-item {
    font-size: 0.88rem;
  }

  .video-placeholder-card {
    padding: 0.85rem;
  }

  .play-circle-btn {
    width: 58px;
    height: 58px;
    margin-bottom: 0.6rem;
  }

  .play-circle-btn svg {
    width: 24px;
    height: 24px;
  }

  .video-caption-title {
    font-size: 1.05rem;
  }

  .video-caption-sub {
    font-size: 0.8rem;
  }

  .quote-section {
    padding: 3.5rem 0;
  }

  .quote-container {
    padding: 0 0.5rem;
  }

  .quote-body {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .quote-author-name {
    font-size: 1rem;
  }

  .quote-author-title {
    font-size: 0.82rem;
  }

  .stats-banner {
    padding: 1.8rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .stat-item {
    padding: 0.5rem 0.25rem;
  }

  .stat-number-wrap {
    font-size: 1.95rem;
  }

  .stat-label {
    font-size: 0.82rem;
  }

  .section-eyebrow {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.62rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .about-main-photo {
    height: 280px;
  }

  .about-narrative p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .about-narrative p.lead-story {
    font-size: 1.05rem;
  }

  .career-highlights-box {
    padding: 1.25rem 1rem;
  }

  .career-box-title {
    font-size: 1rem;
  }

  .career-item {
    font-size: 0.88rem;
  }

  .territory-card-media {
    height: 190px;
  }

  .territory-card-title {
    font-size: 1.22rem;
  }

  .territory-card-desc {
    font-size: 0.92rem;
  }

  .circles-feature-item {
    padding: 1.25rem 1rem;
  }

  .circles-feature-title {
    font-size: 1.15rem;
  }

  .circles-feature-desc {
    font-size: 0.92rem;
  }

  .service-card {
    padding: 1.6rem 1.15rem;
  }

  .service-card-title {
    font-size: 1.35rem;
  }

  .step-card {
    padding: 1.6rem 1.15rem;
  }

  .step-num-badge {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .step-card-title {
    font-size: 1.22rem;
  }

  .gallery-filter-tabs {
    gap: 0.4rem;
  }

  .filter-tab-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .gallery-item-info {
    padding: 1.1rem 1rem;
  }

  .gallery-item-title {
    font-size: 1.05rem;
  }

  .faq-question-btn {
    padding: 0.95rem 1rem;
    font-size: 0.96rem;
  }

  .faq-answer-content {
    font-size: 0.92rem;
  }

  .contact-direct-card {
    padding: 1.4rem 1.1rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.1rem;
  }

  .form-header-title {
    font-size: 1.45rem;
  }

  .form-header-sub {
    font-size: 0.92rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .form-control {
    font-size: 0.95rem;
    padding: 0.75rem 0.85rem;
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.98rem;
  }

  .btn-lg {
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
  }

  .lightbox-modal {
    padding: 0.5rem;
  }

  .lightbox-close-btn {
    top: 0.5rem;
    right: 0.5rem;
    width: 38px;
    height: 38px;
  }

  .lightbox-caption-wrap {
    padding: 0.85rem 1rem;
  }

  .lightbox-caption-title {
    font-size: 1.05rem;
  }

  .lightbox-caption-desc {
    font-size: 0.85rem;
  }

  .mobile-nav-drawer {
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
  }

  .mobile-nav-item {
    font-size: 1.25rem;
  }
}

/* Soporte para el menú móvil */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 20, 0.97);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.2rem;
  flex-shrink: 0;
}

.mobile-close-btn {
  color: #FFFFFF;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-close-btn svg {
  width: 32px;
  height: 32px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex-grow: 1;
}

.mobile-nav-item {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #FFFFFF;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.mobile-nav-item:hover {
  color: var(--color-gold);
}
