/* ==========================================================================
   CBG CLUB · SISTEMA DE DISEÑO E IDENTIDAD VISUAL
   Estándar: Impeccable Design System / Craft Floor
   Tokens oficiales de DESIGN.md y PRODUCT.md
   ========================================================================== */

:root {
  /* Paleta de Color Institucional y Botánica */
  --color-botanical-dark: #12241E;
  --color-botanical-deep: #0D1612;
  --color-sage-green: #8aa747;
  --color-sage-hover: #8aa747;
  --color-pistachio-light: #8aa747;
  --color-sand-ivory: #F2EEE7;
  --color-sand-surface: #EBE5DB;
  --color-bark-brown: #34221A;
  --color-naranja-cbg: #c88c5a;

  /* Textos y Contrastes */
  --color-text-light: #F2EEE7;
  --color-text-dark: #12241E;
  --color-text-muted-dark: rgba(242, 238, 231, 0.78);
  --color-text-muted-light: rgba(52, 34, 26, 0.78);
  --color-text-faint-dark: rgba(242, 238, 231, 0.55);
  --color-text-faint-light: rgba(52, 34, 26, 0.55);

  /* Líneas divisorias y Bordes (Hairline Rule) */
  --hairline-dark: rgba(242, 238, 231, 0.14);
  --hairline-dark-strong: rgba(242, 238, 231, 0.28);
  --hairline-light: rgba(52, 34, 26, 0.14);
  --hairline-light-strong: rgba(52, 34, 26, 0.28);
  --hairline-green: rgba(143, 168, 110, 0.4);

  /* Tipografías */
  --font-display: 'Syne', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevaciones y Sombras Orgánicas */
  --shadow-sm: 0 4px 12px rgba(13, 22, 18, 0.08);
  --shadow-md: 0 12px 32px -4px rgba(13, 22, 18, 0.12);
  --shadow-lg: 0 20px 48px -8px rgba(13, 22, 18, 0.22);
  --shadow-dark: 0 24px 60px -12px rgba(0, 0, 0, 0.5);

  /* Curvas y Radios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Espaciado del Sistema */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Transición suave global */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-normal: 260ms var(--ease-out);
}

/* ==========================================================================
   RESET & DETALLES DEL NAVEGADOR (CRAFT FLOOR)
   ========================================================================== */

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-botanical-dark);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background-color: var(--color-sand-ivory);
}

/* Personalización de la selección de texto */
::selection {
  background-color: var(--color-sage-green);
  color: var(--color-botanical-dark);
}

/* Barra de desplazamiento nativa estilizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-botanical-dark);
}

::-webkit-scrollbar-thumb {
  background: #233a30;
  border-radius: 5px;
  border: 2px solid var(--color-botanical-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-sage-green);
}

/* Anillos de Foco Accesibles (:focus-visible) */
:focus-visible {
  outline: 2px solid var(--color-sage-green);
  outline-offset: 3px;
}

/* Enlace Accesible de Salto */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--color-sage-green);
  color: var(--color-botanical-dark);
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  z-index: 10000;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 24px;
}

/* Tipografía Base y Contenedores */
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: clamp(24px, 3.5vw, 48px);
    padding-right: clamp(24px, 3.5vw, 48px);
  }
}

/* ==========================================================================
   UTILIDADES RESPONSIVAS MOBILE-FIRST (TAILWIND COMPATIBLE)
   ========================================================================== */

/* Anchos, Contenedores y Overflow */
.w-full {
  width: 100% !important;
}

.max-w-full {
  max-width: 100% !important;
}

.min-w-0 {
  min-width: 0 !important;
}

.max-w-\[1440px\] {
  max-width: 1440px !important;
}

.max-w-\[840px\] {
  max-width: 840px !important;
}

.max-w-\[600px\] {
  max-width: 600px !important;
}

.max-w-prose {
  max-width: 65ch !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

.flex {
  display: flex !important;
}

.flex-col {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-center {
  align-items: center !important;
}

.items-end {
  align-items: flex-end !important;
}

.self-start {
  align-self: flex-start !important;
}

.self-center {
  align-self: center !important;
}

.self-end {
  align-self: flex-end !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-between {
  justify-content: space-between !important;
}

.grid {
  display: grid !important;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

.gap-y-8 {
  row-gap: 2rem !important;
}

.gap-x-8 {
  column-gap: 2rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.container>.px-6 {
  padding-left: 0;
  padding-right: 0;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.mb-8 {
  margin-bottom: 2rem !important;
}

.mb-12 {
  margin-bottom: 3rem !important;
}

.mb-16 {
  margin-bottom: 4rem !important;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

/* Escala Tipográfica Mobile-First */
.text-xs {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.text-base {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
}

.text-xl {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
}

.text-2xl {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

.text-3xl {
  font-size: 1.875rem !important;
  line-height: 1.2 !important;
}

.text-4xl {
  font-size: 2.25rem !important;
  line-height: 1.15 !important;
}

.text-5xl {
  font-size: 3rem !important;
  line-height: 1.1 !important;
}

.text-6xl {
  font-size: 3.75rem !important;
  line-height: 1.05 !important;
}

.text-7xl {
  font-size: 4.5rem !important;
  line-height: 1.02 !important;
}

/* Control de Quiebre de Línea y Balance */
.break-words {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
}

.whitespace-normal {
  white-space: normal !important;
}

.hyphens-none {
  -webkit-hyphens: none !important;
  hyphens: none !important;
}

/* Regla estricta: Los títulos y encabezados NUNCA deben partir palabras al medio */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.hero-title-line,
.editorial-title,
.editorial-title-sm,
.reprocann-title,
.footer-title,
.pilar-title,
.step-heading,
.faq-title,
.banner-bottom-text {
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

.text-balance {
  text-wrap: balance !important;
}

.leading-tight {
  line-height: 1.15 !important;
}

.leading-snug {
  line-height: 1.35 !important;
}

.leading-relaxed {
  line-height: 1.65 !important;
}

.tracking-tighter {
  letter-spacing: -0.04em !important;
}

.tracking-tight {
  letter-spacing: -0.025em !important;
}

.tracking-normal {
  letter-spacing: 0 !important;
}

.tracking-wide {
  letter-spacing: 0.05em !important;
}

.tracking-wider {
  letter-spacing: 0.08em !important;
}

.tracking-widest {
  letter-spacing: 0.16em !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

/* Breakpoint SM (min-width: 640px) */
@media (min-width: 640px) {
  .sm\:text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
  }

  .sm\:text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }

  .sm\:text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
  }

  .sm\:text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
  }

  .sm\:text-2xl {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  .sm\:text-3xl {
    font-size: 1.875rem !important;
    line-height: 1.25 !important;
  }

  .sm\:text-4xl {
    font-size: 2.25rem !important;
    line-height: 1.18 !important;
  }

  .sm\:text-5xl {
    font-size: 3rem !important;
    line-height: 1.12 !important;
  }

  .sm\:text-6xl {
    font-size: 3.75rem !important;
    line-height: 1.08 !important;
  }

  .sm\:px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sm\:w-auto {
    width: auto !important;
  }

  .sm\:gap-4 {
    gap: 1rem !important;
  }

  .sm\:gap-6 {
    gap: 1.5rem !important;
  }

  .sm\:mb-8 {
    margin-bottom: 2rem !important;
  }

  .sm\:mb-12 {
    margin-bottom: 3rem !important;
  }
}

/* Breakpoint MD (min-width: 768px) */
@media (min-width: 768px) {
  .md\:text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }

  .md\:text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
  }

  .md\:text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
  }

  .md\:text-2xl {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  .md\:text-3xl {
    font-size: 1.875rem !important;
    line-height: 1.2 !important;
  }

  .md\:text-4xl {
    font-size: 2.25rem !important;
    line-height: 1.15 !important;
  }

  .md\:text-5xl {
    font-size: 3rem !important;
    line-height: 1.1 !important;
  }

  .md\:text-6xl {
    font-size: 3.75rem !important;
    line-height: 1.06 !important;
  }

  .md\:text-7xl {
    font-size: 4.5rem !important;
    line-height: 1.04 !important;
  }

  .md\:px-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .md\:flex-row {
    flex-direction: row !important;
  }

  .md\:items-center {
    align-items: center !important;
  }

  .md\:items-end {
    align-items: flex-end !important;
  }

  .md\:items-start {
    align-items: flex-start !important;
  }

  .md\:self-end {
    align-self: flex-end !important;
  }

  .md\:w-auto {
    width: auto !important;
  }

  .md\:mb-12 {
    margin-bottom: 3rem !important;
  }

  .md\:mb-16 {
    margin-bottom: 4rem !important;
  }
}

/* Breakpoint LG (min-width: 992px y 1024px) */
@media (min-width: 992px) {
  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .lg\:col-span-4 {
    grid-column: 1 / span 4 !important;
  }

  .lg\:col-start-6 {
    grid-column-start: 6 !important;
  }

  .lg\:col-span-7 {
    grid-column-end: span 7 !important;
  }

  .lg\:px-12 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }

  .container>.lg\:px-12 {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .lg\:text-4xl {
    font-size: 2.25rem !important;
    line-height: 1.15 !important;
  }

  .lg\:text-5xl {
    font-size: 3rem !important;
    line-height: 1.1 !important;
  }

  .lg\:text-6xl {
    font-size: 3.75rem !important;
    line-height: 1.06 !important;
  }

  .lg\:text-7xl {
    font-size: 4.5rem !important;
    line-height: 1.02 !important;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .lg\:px-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* ==========================================================================
   UTILIDADES Y COLORES DE TEXTO
   ========================================================================== */

.title-white {
  color: var(--color-sand-ivory);
}

.title-dark {
  color: var(--color-botanical-dark);
}

.title-accent {
  color: var(--color-pistachio-light);
}

.title-accent-green {
  color: var(--color-sage-green);
}

/* Filtro para invertir logo CBG.svg en secciones claras */
.logo-filter-dark {
  filter: brightness(0.12) sepia(1) hue-rotate(110deg) saturate(160%);
}

.logo-filter-green {
  /* Convierte la imagen a negro base y la proyecta al valor exacto #8aa747 */
  filter: brightness(0) saturate(100%) invert(64%) sepia(35%) saturate(722%) hue-rotate(42deg) brightness(96%) contrast(87%);
}

/* Botones del Sistema (Pills con elevación única) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:active {
  transform: scale(0.98);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-pill-accent {
  background-color: var(--color-sage-green);
  color: var(--color-botanical-dark);
  box-shadow: 0 8px 20px -4px rgba(143, 168, 110, 0.35);
}

.btn-pill-accent:hover {
  background-color: var(--color-pistachio-light);
  box-shadow: 0 12px 24px -4px rgba(168, 189, 132, 0.45);
}

.btn-pill-outline {
  background-color: transparent;
  color: var(--color-sand-ivory);
  border: 1px solid rgba(242, 238, 231, 0.5);
}

.btn-pill-outline:hover {
  background-color: rgba(242, 238, 231, 0.12);
  border-color: var(--color-sand-ivory);
}

.btn-dark-submit {
  background-color: var(--color-botanical-dark);
  color: var(--color-sand-ivory);
  width: 100%;
  padding: 16px 32px;
  font-size: 0.9375rem;
}

.btn-dark-submit:hover {
  background-color: #1e3a31;
  box-shadow: 0 10px 24px -4px rgba(18, 36, 30, 0.4);
}

.btn-dark-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: transparent;
  border-bottom: none;
  transition: background-color var(--transition-normal);
}

.site-header.scrolled {
  background-color: transparent;
  box-shadow: none;
}

/* Capa de fondo detrás del header: degradé progresivo y desenfoque suave */
.header-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(120px, 14vh, 140px);
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.header-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-iso {
  height: 38px;
  width: auto;
}

.brand-logo {
  height: 22px;
  width: auto;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  margin-left: auto;
  justify-content: flex-end;
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-sand-ivory);
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-pistachio-light);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    padding: 10px 22px;
    font-size: 0.8125rem;
  }
}

/* Botón Hamburger Móvil */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  background: transparent;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-sand-ivory);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menú Móvil Desplegable */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(13, 22, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline-dark);
  padding: 32px 24px;
  box-shadow: var(--shadow-dark);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-sand-ivory);
  padding: 8px 0;
  border-bottom: 1px solid rgba(242, 238, 231, 0.08);
}

.mobile-nav-link:hover {
  color: var(--color-pistachio-light);
}

.mobile-cta-wrapper {
  margin-top: 28px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   SECCIÓN 1: HERO SECTION
   ========================================================================== */

.section-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding-top: clamp(100px, 14vh, 140px);
  padding-bottom: clamp(24px, 4vh, 48px);
  background-color: var(--color-botanical-dark);
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  -webkit-backdrop-filter: grayscale(100%);
  backdrop-filter: grayscale(100%);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.65) 70%,
      rgba(0, 0, 0, 0.95) 100%);
}

/* Split layout pegado a los laterales de la pantalla completa */
.hero-split-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

@media (min-width: 768px) {
  .hero-split-wrapper {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(32px, 4vw, 80px);
  }
}

@media (min-width: 1024px) {
  .hero-split-wrapper.lg\:px-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Columna / Bloque Izquierdo: alineado a la izquierda y pegado al extremo */
.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1 1 auto;
  max-width: 960px;
  width: 100%;
  margin-left: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-sand-ivory);
  opacity: 0.9;
  margin-bottom: 20px;
  text-align: left;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: normal;
}

.hero-title-line {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  text-align: left;
}

@media (min-width: 768px) {
  .hero-title-line {
    white-space: nowrap;
    width: fit-content;
    text-align: left;
  }
}

.hero-lead {
  max-width: 580px;
  width: 100%;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--color-sand-ivory);
  opacity: 0.92;
  margin-bottom: clamp(24px, 4vh, 48px);
  text-align: left;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(32px, 5vh, 64px);
  justify-content: flex-start;
  align-items: center;
}

.hero-footer-left {
  font-size: clamp(0.75rem, 1vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-sand-ivory);
  opacity: 0.85;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-dark);
  width: 100%;
  text-align: left;
}

/* Columna / Bloque Derecho: alineado a la derecha y pegado al extremo */
.hero-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-left: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: flex-end !important;
  flex-shrink: 0;
  padding-bottom: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-col-right {
    width: auto;
    margin-left: auto !important;
    align-self: flex-end !important;
  }
}

.hero-patient-club {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 8px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.2vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-sand-ivory);
  text-transform: uppercase;
  white-space: nowrap;
  text-align: right;
}

.hero-tag-line {
  width: 48px;
  height: 3px;
  background-color: var(--color-sage-green);
  border-radius: 2px;
}

/* ==========================================================================
   ESTILOS GENERALES DE SECCIONES (CRAFT FLOOR)
   ========================================================================== */

.light-section {
  background-color: var(--color-sand-ivory);
  color: var(--color-botanical-dark);
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.dark-section {
  background-color: var(--color-botanical-dark);
  color: var(--color-sand-ivory);
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.section-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(32px, 5vw, 70px);
  width: 100%;
  max-width: 100%;
}

.section-top-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.section-top-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  flex-wrap: wrap;
}

.section-number {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-sage-green);
  overflow-wrap: break-word;
}

.section-number-line {
  width: 32px;
  height: 2px;
  background-color: var(--color-botanical-dark);
  opacity: 0.35;
  flex-shrink: 1;
}

@media (min-width: 640px) {
  .section-number-line {
    width: 60px;
  }

  .section-top-tag {
    gap: 16px;
    flex-wrap: nowrap;
  }
}

.dark-section .section-number-line {
  background-color: var(--color-sand-ivory);
  opacity: 0.35;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: normal;
  text-wrap: balance;
}

.editorial-title-sm {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: normal;
  text-wrap: balance;
}

/* ==========================================================================
   SECCIÓN 2: 01 / IDENTIDAD (SOBRE NOSOTROS)
   ========================================================================== */

.identidad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (min-width: 900px) {
  .identidad-grid {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
    gap: clamp(48px, 8vw, 120px);
  }

  .identidad-visual-col {
    align-items: flex-start;
  }

  .identidad-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 760px;
    width: 100%;
    margin-left: auto;
  }
}

.identidad-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Máscara de video circular perfecta */
.circle-video-container {
  width: clamp(286px, 41.6vw, 546px);
  height: clamp(286px, 41.6vw, 546px);
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 48px -10px rgba(18, 36, 30, 0.35);
  border: 4px solid #ffffff;
}

.identity-circle-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.identidad-keywords-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.accent-bar-indicator {
  width: 4px;
  height: 72px;
  background-color: var(--color-sage-green);
  border-radius: 2px;
  flex-shrink: 0;
}

.keywords-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.keyword-item {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-botanical-dark);
}

.keywords-white .keyword-item {
  color: var(--color-sand-ivory);
}

.editorial-body {
  max-width: 60ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--color-text-muted-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.section-bottom-line {
  width: 100%;
  height: 1px;
  background-color: var(--hairline-light);
}

/* ==========================================================================
   SECCIÓN 3: 02 / NUESTROS PILARES
   ========================================================================== */

/* Banner superior Pilares */
.pilares-top-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-sand-ivory);
  padding: 60px 0;
  overflow: hidden;
}

.banner-dark-overlay {
  -webkit-backdrop-filter: grayscale(100%);
  backdrop-filter: grayscale(100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .banner-inner {
    grid-template-columns: auto 1px 1fr 1px 1fr;
    gap: clamp(24px, 3.5vw, 48px);
    width: 100%;
    justify-content: space-between;
  }
}

.banner-logo-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-divider {
  display: none;
  width: 1px;
  height: 70px;
  background-color: var(--hairline-dark);
}

@media (min-width: 900px) {
  .banner-divider {
    display: block;
  }
}

.banner-text-col p {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  opacity: 0.95;
}

.banner-text-col strong {
  color: var(--color-sand-ivory);
}

/* Encabezado dividido de Pilares */
.pilares-header-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

@media (min-width: 768px) {
  .pilares-header-split {
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(32px, 6vw, 96px);
  }

  .pilares-sublead-col {
    max-width: 620px;
    margin-left: auto;
    text-align: right;
  }
}

.pilares-sublead-col {
  display: flex;
  align-items: flex-end;
}

.pilares-sublead {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.35;
  color: var(--color-text-dark);
  font-weight: 500;
}

.pilares-sublead strong {
  font-weight: 700;
}

/* Cuadrícula de Pilares */
.pilares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}

@media (min-width: 600px) {
  .pilares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pilares-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.2vw, 32px);
  }
}

.pilar-card {
  background-color: #FAF8F5;
  border: 1px solid var(--hairline-light-strong);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sage-green);
}

.pilar-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.pilar-index {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-sage-green);
}

.pilar-index-bar {
  width: 32px;
  height: 2px;
  background-color: var(--color-sage-green);
}

.pilar-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-faint-light);
  margin-bottom: 12px;
}

.pilar-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-botanical-dark);
  margin-bottom: 16px;
  min-height: 2.5em;
}

.pilar-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted-light);
}

/* Banner inferior Pilares */
.pilares-bottom-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  color: var(--color-sand-ivory);
  text-align: center;
}

.banner-bottom-inner {
  position: relative;
  z-index: 2;
}

.banner-bottom-text {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.8vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-sand-ivory);
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
  text-wrap: balance;
  max-width: 100%;
}

@media (min-width: 768px) {
  .banner-bottom-text {
    letter-spacing: 0.12em;
  }
}

.banner-bottom-text .sep {
  color: var(--color-sage-green);
  margin: 0 6px;
}

@media (min-width: 768px) {
  .banner-bottom-text .sep {
    margin: 0 10px;
  }
}

/* ==========================================================================
   SECCIÓN 4: 03 / VINCULACIÓN REPROCANN
   ========================================================================== */

.section-reprocann {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reprocann-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.60) 100%);
}

.reprocann-inner {
  position: relative;
  z-index: 2;
}

.reprocann-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
  align-items: start;
  width: 100%;
  margin-bottom: 60px;
}

@media (min-width: 992px) {
  .reprocann-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(16px, 2.5vw, 32px);
    row-gap: 32px;
    align-items: start;
  }

  .reprocann-left-col,
  .reprocann-intro-col {
    grid-column: 1 / span 5;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .reprocann-timeline-col {
    grid-column: 6 / span 7;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-left: 0;
  }
}

.reprocann-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-sand-ivory);
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: normal;
  text-wrap: balance;
}

.reprocann-intro {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
  color: var(--color-text-muted-dark);
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reprocann-intro-sub {
  color: var(--color-sand-ivory);
  font-weight: 600;
}

.reprocann-tag-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Timeline Vertical de 3 Pasos */
.timeline-track {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 36px);
  width: 100%;
  min-width: 0;
}

.timeline-step {
  display: flex;
  gap: 20px;
  position: relative;
  width: 100%;
  min-width: 0;
  height: auto;
  flex-shrink: 0;
  align-items: flex-start;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
}

.marker-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-sand-ivory);
  border: 3px solid var(--color-sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(143, 168, 110, 0.4);
  flex-shrink: 0;
  z-index: 2;
}

.marker-line {
  width: 2px;
  flex-grow: 1;
  background-color: var(--color-sage-green);
  opacity: 0.6;
  margin-top: 10px;
}

.timeline-content {
  position: relative;
  padding-bottom: 8px;
  width: 100%;
  min-width: 0;
  height: auto;
  flex: 1 1 auto;
}

.step-giant-number {
  position: absolute;
  top: -16px;
  left: -8px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 4.75rem);
  font-weight: 800;
  color: rgba(242, 238, 231, 0.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-pistachio-light);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.step-heading {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-sand-ivory);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted-dark);
  max-width: 60ch;
  position: relative;
  z-index: 1;
}

.reprocann-footer-note {
  padding-top: 24px;
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.8125rem;
  color: var(--color-text-faint-dark);
  text-align: center;
}

/* ==========================================================================
   SECCIÓN 5: 04 / PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */

.section-faq {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
  column-gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
  width: 100%;
}

@media (min-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(16px, 2.5vw, 32px);
    row-gap: 32px;
    align-items: start;
  }

  .faq-intro-col {
    grid-column: 1 / span 5;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .faq-intro-col .editorial-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    white-space: normal;
  }

  .faq-accordion-col {
    grid-column: 6 / span 7;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: 0;
  }
}

.faq-lead-text {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text-muted-light);
  margin-bottom: 28px;
}

.faq-divider-line {
  width: 100%;
  height: 1px;
  background-color: var(--hairline-light);
  margin-bottom: 20px;
}

.faq-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-botanical-dark);
}

/* Acordeón Accesible */
.faq-accordion-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.faq-item {
  width: 100%;
  min-width: 0;
  height: auto;
  position: relative;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  background-color: #ffffff;
  border-color: var(--color-sage-green);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-botanical-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-sage-green);
  margin-right: 16px;
  font-weight: 600;
}

.faq-title {
  flex-grow: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-botanical-dark);
  transition: transform var(--transition-fast);
}

/* Barra horizontal */
.faq-icon::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

/* Barra vertical */
.faq-icon::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 20px clamp(48px, 5vw, 64px);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted-light);
}

/* ==========================================================================
   SECCIÓN 6: ORIENTACIÓN & FORMULARIO DE CONTACTO
   ========================================================================== */

/* Banner de Orientación */
.contacto-top-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-sand-ivory);
  padding: 80px 0;
}

.banner-inner-contact {
  position: relative;
  z-index: 2;
}

.contact-banner-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-banner-header {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.contact-banner-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.contact-banner-quote {
  max-width: 600px;
}

.contact-banner-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-sand-ivory);
}

.contact-banner-quote strong {
  color: var(--color-sand-ivory);
}

/* Sub-bloque 05: Orientación */
.orientacion-sub-block {
  border-bottom: 1px solid var(--hairline-light);
  /* 1. REDUCIR PADDING VERTICAL: Si el bloque tiene padding arriba y abajo, acórtalo a la mitad. */
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  /* Antes solía ser de 4rem o más */
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.orientacion-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* 2. REDUCIR EL GAP: Bájalo de 32px a algo más compacto como 16px o 20px */
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .orientacion-content-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    /* 3. ACHICAR GAP EN DESKTOP: Menos separación horizontal y vertical */
    gap: clamp(16px, 2.5vw, 32px);
    width: 100%;
    justify-content: space-between;
  }
}

.orientacion-desc-col p {
  /* 4. REDUCIR TAMAÑO E INTERLINEADO: Letra más compacta y line-height más ajustado */
  font-size: 0.9375rem;
  /* ~15px en vez de 1rem completo */
  line-height: 1.45;
  /* Antes estaba en 1.6, lo cual estira mucho las líneas */
  color: var(--color-text-muted-light);
  margin-bottom: 0;
  /* Elimina márgenes inferiores sobrantes en los párrafos */
}

/* Main Formulario 06 */
.formulario-main-block {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.formulario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}

@media (min-width: 992px) {
  .formulario-grid {
    grid-template-columns: minmax(360px, 480px) 1fr;
    justify-content: space-between;
    gap: clamp(48px, 8vw, 120px);
  }

  .formulario-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 480px;
  }

  .form-card {
    width: 100%;
    margin-left: auto;
  }
}

.form-instructions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted-light);
  margin-bottom: 40px;
}

.privacy-emphasis {
  font-weight: 600;
  color: var(--color-bark-brown);
}

.form-disclaimer-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hairline-light-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.callout-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-pistachio-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-botanical-dark);
  font-weight: 500;
}

/* Tarjeta del Formulario */
.contact-card-form {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--hairline-light-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-botanical-dark);
}

.required {
  color: #c44040;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--color-sage-green);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.icon-textarea {
  top: 14px;
}

.form-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-botanical-dark);
  background-color: #FAF8F5;
  border: 1px solid var(--hairline-light-strong);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  background-color: #ffffff;
  border-color: var(--color-sage-green);
  box-shadow: 0 0 0 3px rgba(143, 168, 110, 0.2);
}

.form-input::placeholder {
  color: var(--color-text-faint-light);
}

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

.form-textarea {
  padding-top: 12px;
  resize: vertical;
  min-height: 90px;
}

.form-security-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #EEF4EE;
  border-radius: var(--radius-md);
}

.form-security-box p {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-botanical-dark);
}

.lock-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--color-botanical-dark);
}

.form-checkbox-group {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid var(--hairline-light-strong);
  border-radius: var(--radius-sm);
  background-color: #FAF8F5;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.checkbox-input:checked~.checkbox-custom {
  background-color: var(--color-botanical-dark);
  border-color: var(--color-botanical-dark);
}

.checkbox-input:checked~.checkbox-custom::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-input:focus-visible~.checkbox-custom {
  outline: 2px solid var(--color-sage-green);
  outline-offset: 2px;
}

.checkbox-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted-light);
}

.error-msg {
  font-size: 0.75rem;
  color: #c44040;
  min-height: 16px;
}

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
}

.form-feedback.success {
  background-color: #E2EDE3;
  color: #1a4224;
  border: 1px solid #b7d6bb;
}

.form-feedback.error {
  background-color: #FBEBEB;
  color: #7A2424;
  border: 1px solid #E4B5B5;
}

/* ==========================================================================
   SECCIÓN 7: 08 PIE DE PÁGINA (FOOTER)
   ========================================================================== */

.site-footer {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-sand-ivory);
  padding: clamp(60px, 8vw, 100px) 0 40px;
}

.footer-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(18, 36, 30, 0.90) 0%,
      rgba(13, 22, 18, 0.96) 100%);
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: normal;
  text-wrap: balance;
}

.footer-lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--color-sand-ivory);
  opacity: 0.9;
  max-width: 60ch;
}

/* Fila interactiva HABLEMOS */
.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}

@media (min-width: 768px) {
  .footer-contact-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-row-badge span {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--color-sand-ivory);
}

.contact-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.5vw, 48px);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-sand-ivory);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-contact-link svg {
  transition: transform var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--color-pistachio-light);
}

.footer-contact-link:hover svg {
  transform: translateX(4px);
}

/* Barra inferior del Footer */
.footer-bottom-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  font-size: 0.8125rem;
}

@media (min-width: 600px) {
  .footer-bottom-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-bottom-meta {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
}

.footer-cbg-tag {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-divider {
  width: 1px;
  height: 18px;
  background-color: var(--hairline-dark);
}

.meta-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-sand-ivory);
}

.meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-header {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-pistachio-light);
}

.meta-value {
  color: var(--color-text-muted-dark);
}

.copyright-col {
  text-align: left;
}

@media (min-width: 992px) {
  .copyright-col {
    text-align: right;
  }
}

/* ==========================================================================
   BANNER DE CONSENTIMIENTO DE COOKIES Y MODAL DE PRIVACIDAD
   Estándar: Impeccable Design System / Ley N° 25.326 / GA4
   ========================================================================== */

/* Banner Flotante */
.cbg-cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1rem;
  right: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 44rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(1.5rem);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cbg-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-card {
  position: relative;
  background-color: var(--color-botanical-deep);
  color: var(--color-sand-ivory);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline-dark);
  box-shadow: 0 20px 48px -8px rgba(13, 22, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sage-green);
  margin-bottom: 0.35rem;
}

.cookie-banner-description {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-muted-dark);
  margin: 0;
}

.cookie-banner-link {
  color: var(--color-sand-ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  font-weight: 500;
}

.cookie-banner-link:hover {
  color: var(--color-sage-green);
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cookie-banner-actions {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.cookie-btn:focus-visible {
  outline: 2px solid var(--color-sage-green);
  outline-offset: 2px;
}

.cookie-btn-secondary {
  background-color: transparent;
  color: var(--color-text-muted-dark);
  border: 1px solid var(--hairline-dark);
}

.cookie-btn-secondary:hover {
  color: var(--color-sand-ivory);
  border-color: var(--hairline-dark-strong);
  background-color: rgba(242, 238, 231, 0.05);
}

.cookie-btn-secondary:active {
  transform: scale(0.98);
}

.cookie-btn-primary {
  background-color: var(--color-sage-green);
  color: var(--color-botanical-deep);
  font-weight: 700;
}

.cookie-btn-primary:hover {
  background-color: #9db856;
}

.cookie-btn-primary:active {
  transform: scale(0.98);
}

/* Modal de Políticas de Privacidad */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 22, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.privacy-modal-container {
  position: relative;
  background-color: var(--color-botanical-deep);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 52rem;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transform: translateY(1rem) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal-overlay.is-open .privacy-modal-container {
  transform: translateY(0) scale(1);
}

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

.privacy-modal-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--color-sage-green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.privacy-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-sand-ivory);
  margin: 0;
}

.privacy-modal-close {
  background: transparent;
  border: 1px solid var(--hairline-dark);
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sand-ivory);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.privacy-modal-close:hover {
  background-color: rgba(242, 238, 231, 0.08);
  border-color: var(--hairline-dark-strong);
  color: var(--color-sage-green);
}

.privacy-modal-close:focus-visible {
  outline: 2px solid var(--color-sage-green);
  outline-offset: 2px;
}

.privacy-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  color: var(--color-text-muted-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Custom scrollbar para modal */
.privacy-modal-body::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track {
  background: rgba(13, 22, 18, 0.5);
}

.privacy-modal-body::-webkit-scrollbar-thumb {
  background: rgba(242, 238, 231, 0.2);
  border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-sage-green);
}

/* Tipografía legal */
.legal-prose h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-sand-ivory);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-prose h3:first-child {
  margin-top: 0;
}

.legal-prose h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-sage-green);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.legal-prose p {
  margin-bottom: 0.875rem;
  max-width: 70ch;
}

.legal-prose ul {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-highlight-box {
  background-color: rgba(138, 167, 71, 0.08);
  border-left: 3px solid var(--color-sage-green);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  color: var(--color-sand-ivory);
}

.legal-highlight-box p {
  margin-bottom: 0.5rem;
}

.legal-highlight-box p:last-child {
  margin-bottom: 0;
}

.legal-aaip-quote {
  background-color: rgba(242, 238, 231, 0.04);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.8125rem;
  color: var(--color-sand-ivory);
  line-height: 1.6;
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.legal-table th {
  background-color: rgba(242, 238, 231, 0.06);
  color: var(--color-sand-ivory);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hairline-dark);
  font-family: var(--font-display);
}

.legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(242, 238, 231, 0.08);
  color: var(--color-text-muted-dark);
}

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

.privacy-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .privacy-modal-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.privacy-modal-footer-note {
  font-size: 0.75rem;
  color: var(--color-text-faint-dark);
  font-family: var(--font-mono);
}

/* ==========================================================================
   ACCESIBILIDAD Y MOVIMIENTO REDUCIDO
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-video,
  .identity-circle-video {
    animation: none;
  }
}