/* ============================================================
   BREY LANDING PAGE — Rediseño Completo
   Módulos: Hero | Crisis | Solución | Proceso | Autoridad | Cierre
   Paleta: Azul Medianoche + Crema + Azul Vivo + Blanco
   Tipografía: Outfit (títulos bold) + DM Sans (cuerpo)
============================================================ */

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

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

:root {
  /* ======= PALETA BREY — Extraída de las portadas de video ======= */
  /* Azul BREY */
  --brey-blue-deep:    #004aad;
  --brey-blue-mid:     #0055cc;
  --brey-blue-light:   #38b6ff;

  /* Teal / Cyan BREY */
  --brey-teal-deep:    #0296b0;
  --brey-teal-light:   #23cbe8;

  /* Verde BREY */
  --brey-green-deep:   #238957;
  --brey-green-light:  #2cb170;

  /* Gris BREY */
  --brey-gray-deep:    #535353;
  --brey-gray-mid:     #848181;

  /* UI accentos genéricos (hero, botones, labels) */
  --blue:          #004aad;
  --blue-mid:      #0055cc;
  --blue-light:    #38b6ff;
  --blue-bg:       #e8f4ff;
  --blue-glow:     rgba(0, 74, 173, 0.18);

  /* Hero light palette — crema igual que Maca Riva */
  --hero-bg:       #f9f6f1;
  --hero-bg2:      #f0ebe2;

  /* Neutral */
  --cream:         #f9f6f1;
  --cream-dark:    #f0ebe2;
  --white:         #ffffff;
  --black-text:    #0d1117;
  --grey-dark:     #2d3748;
  --grey-mid:      #5a6480;
  --grey-light:    #9aa5b4;
  --grey-border:   #dde3ee;

  /* Accent */
  --yellow:        #f9d84a;
  --yellow-dark:   #e0b80a;
  --green-wa:      #25d366;

  /* Shadow system */
  --shadow-card:   4px 5px 0px var(--black-text);
  --shadow-btn:    3px 4px 0px rgba(0,0,0,0.35);
  --shadow-btn-hover: 1px 2px 0px rgba(0,0,0,0.2);
  --shadow-glow:   0 0 40px rgba(0, 74, 173, 0.25);

  /* Typography */
  --font-title: 'Outfit', 'Segoe UI', sans-serif;
  --font-body:  'DM Sans', 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-py:  7rem;
  --container-w: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background-color: var(--cream);
  color: var(--black-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a { text-decoration: none; color: inherit; }
s  { opacity: 0.55; }
strong { font-weight: 700; }

/* ----- UTILITIES ----- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ---- SECTION LABELS — Neo-brutalist tag style ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--black-text);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem 0.4rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.75rem;
  box-shadow: 2px 3px 0px rgba(0,0,0,0.25);
  border: none;
  position: relative;
}

.red-underline {
  text-decoration: underline;
  text-decoration-color: #ff3b3b;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* Accent left notch */
.section-label::before {
  content: '';
  align-self: stretch;
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Light variant for dark backgrounds */
.section-label-light {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  box-shadow: 2px 3px 0px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
}

.section-label-light::before {
  background: var(--yellow);
}

.label-dot {
  display: none; /* replaced by ::before pseudo-element */
}

.label-dot-light {
  display: none;
}

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  gap: 0.75rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 1.1rem 2.25rem;
  border: 2px solid var(--black-text);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease), background 0.2s;
  position: relative;
  white-space: normal;
}

.btn-primary:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
}

.btn-primary .btn-arrow {
  width: 18px; height: 18px;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  gap: 0.5rem;
  background: var(--white);
  color: var(--black-text);
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--black-text);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: box-shadow 0.15s, transform 0.15s;
  white-space: normal;
}
.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.1);
}

.btn-full { width: 100%; justify-content: center; }
.btn-large { font-size: 1.1rem; padding: 1.25rem 2.5rem; }
.btn-full-mobile { width: 100%; justify-content: center; }

/* ============================================================
   LUCIDE ICON GLOBAL SIZING
============================================================ */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

.eyebrow-icon {
  /* Defined near .eyebrow-pill — this is the canonical rule */
  width: 13px; height: 13px;
  stroke-width: 2.2;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.arch-icon {
  width: 14px; height: 14px;
  stroke-width: 2;
  flex-shrink: 0;
}

.crisis-icon-svg {
  width: 28px; height: 28px;
  stroke-width: 1.8;
}

.profile-icon-svg {
  width: 28px; height: 28px;
  stroke-width: 1.8;
  color: var(--blue-light);
}

.profile-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(44, 111, 239, 0.2);
  border: 1.5px solid rgba(44, 111, 239, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.photo-tag-icon {
  width: 16px; height: 16px;
  stroke-width: 2;
  color: var(--blue);
  flex-shrink: 0;
}
/* ============================================================
   HEADER / NAVBAR — Sticky sobre fondo crema (estilo Maca Riva)
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  background: var(--cream);
  border-bottom: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.brand-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.btn-sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.header-cta {
  background-color: var(--white);
  color: var(--brey-blue-deep) !important;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.header-cta:hover {
  background-color: var(--cream);
  color: var(--brey-blue-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ============================================================
   MÓDULO 1: HERO — Estilo Maca Riva (foto izquierda enorme + texto derecha)
============================================================ */
.hero-section {
  /* DESKTOP: imagen de fondo full-bleed con sujeto a la izquierda */
  background:
    linear-gradient(to right, transparent 40%, rgba(0,14,51,0.72) 60%, rgba(0,14,51,0.92) 100%),
    url('assets/guillermo-hero.jpeg') no-repeat left center / cover;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Decorative shape — sutil gradiente en la columna de texto */
.hero-bg-shape {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grid principal: columna izq vacía (ocupa el espacio del sujeto) | texto der */
.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  flex: 1;
  min-height: 100vh;
}

/* COLUMNA IZQUIERDA — vacía en desktop, la imagen de fondo hace el trabajo */
.hero-left {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Sin background propio — la imagen del hero-section lo ocupa */
}

/* Eliminamos los anillos decorativos de la columna izquierda */
.hero-left::after {
  display: none;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
}

/* COLUMNA DERECHA — todo el contenido textual */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 4rem 4rem 4.5rem;
  animation: fadeInRight 0.9s 0.2s var(--ease) both;
  overflow: visible;
}

.hero-eyebrow { margin-bottom: 0.8rem; }

.eyebrow-pill, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
  animation: fadeInDown 0.7s var(--ease) both;
}

.section-label {
  margin-bottom: 0.8rem;
}

.label-dot {
  width: 8px; height: 8px;
  background: var(--brey-teal-light);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--brey-teal-light);
  flex-shrink: 0;
}

.eyebrow-icon {
  width: 14px; height: 14px;
  stroke-width: 2.5;
  color: var(--brey-teal-light);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s 0.1s var(--ease) both;
  letter-spacing: -0.02em;
}

.hero-accent {
  font-style: normal;
  color: var(--brey-teal-light);
  position: relative;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeInUp 0.8s 0.2s var(--ease) both;
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.hero-green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00ff66; /* Bright green as in screenshot */
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.hero-subtitle strong {
  color: var(--white);
  font-weight: 700;
}

.hero-subtitle-emphasis {
  display: block;
  color: #e53e3e;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.3s var(--ease) both;
}

.hero-microcopy {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  animation: fadeInUp 0.8s 0.4s var(--ease) both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.trust-item svg {
  width: 15px; height: 15px;
  color: var(--brey-teal-light);
  flex-shrink: 0;
}

.trust-divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-section .btn-primary {
  background: var(--white);
  color: var(--brey-blue-deep);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-section .btn-primary:hover {
  background: var(--hero-bg);
  color: var(--brey-blue-deep);
}

/* ============================================================
   MÓDULO 1: HERO FOTO — Desktop: fondo del hero-section
                         Móvil/Tablet: imagen encima del bloque azul
============================================================ */
.hero-photo-backdrop {
  display: none;
}

/* En desktop la imagen-wrap está vacía — solo el founder-pill flota */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

/* En desktop ocultamos la foto (el fondo del section la muestra) */
.hero-photo {
  display: none;
}

/* Pill del fundador — se mantiene en desktop, posicionado en columna izquierda */
.hero-founder-pill {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgb(255, 255, 255);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 10;
  white-space: nowrap;
  pointer-events: auto;
}

/* ---- Bloque de imagen para móvil/tablet ---- */
.hero-mobile-image {
  display: none; /* oculto en desktop */
  position: relative;
}

/* Pill del fundador encima de la imagen móvil — oculto en desktop */
.hero-mobile-pill {
  display: none;
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  z-index: 10;
  white-space: nowrap;
  align-items: center;
  gap: 0.5rem;
}


/* ============================================================
   MÓDULO 2: CRISIS — Las Tres Crisis Colectivas
============================================================ */
.crisis-section {
  background: #0a192f;
  padding: var(--section-py) 0;
  border-top: 3px solid var(--black-text);
}

.crisis-title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 720px;
}

.crisis-title.full-width {
  max-width: 100%;
  text-align: center;
}

.crisis-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 680px;
}

.crisis-intro.full-width {
  max-width: 100%;
  text-align: center;
}

.crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.crisis-card {
  background: var(--white);
  border: 2px solid var(--black-text);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: hidden;
}

.crisis-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.crisis-card:active {
  transform: scale(0.98);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.crisis-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-bg);
  border: 1.5px solid rgba(44,111,239,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
  transition: background 0.2s, border-color 0.2s;
}

.crisis-card:hover .crisis-icon-wrap {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Per-card accent colors */
#crisis-piloto .crisis-icon-wrap  { background: #edf0ff; border-color: rgba(99,102,241,0.25); color: #6366f1; }
#crisis-piloto:hover .crisis-icon-wrap { background: #6366f1; color: var(--white); }
#crisis-fantasma .crisis-icon-wrap { background: #fff7ed; border-color: rgba(249,115,22,0.25); color: #f97316; }
#crisis-fantasma:hover .crisis-icon-wrap { background: #f97316; color: var(--white); }
#crisis-control .crisis-icon-wrap  { background: #fef2f2; border-color: rgba(239,68,68,0.25); color: #ef4444; }
#crisis-control:hover .crisis-icon-wrap { background: #ef4444; color: var(--white); }


.crisis-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black-text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.crisis-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-bg);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--blue);
  margin-bottom: 1rem;
}

/* Crisis visual placeholders — CSS illustrations */
.crisis-visual {
  margin: 1rem 0;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  position: relative;
}

.crisis-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px;
  border: 1.5px solid var(--grey-border);
}

.motion-blur {
  background: linear-gradient(135deg, #e8f0fe 0%, #c8d8f8 100%);
}

.warm-light {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.dark-office {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* People silhouettes as CSS art */
.visual-lines {
  position: absolute;
  width: 60%;
  height: 60%;
  background: repeating-linear-gradient(
    90deg,
    rgba(44, 111, 239, 0.15) 0px,
    rgba(44, 111, 239, 0.15) 2px,
    transparent 2px,
    transparent 18px
  );
  border-radius: 8px;
  filter: blur(1px);
}

.visual-person {
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgba(44, 111, 239, 0.5);
  border-radius: 50% 50% 0 0;
  bottom: 20px;
}

.visual-phone-glow {
  position: absolute;
  width: 24px;
  height: 40px;
  background: rgba(249, 216, 74, 0.6);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(249, 216, 74, 0.8);
  right: 30%;
  bottom: 20px;
}

.visual-scene {
  position: absolute;
  left: 20%;
  bottom: 20px;
  width: 80px;
  height: 28px;
  background: rgba(200, 160, 80, 0.3);
  border-radius: 4px;
}

.visual-laptop-glow {
  position: absolute;
  width: 60px;
  height: 40px;
  background: rgba(44, 111, 239, 0.2);
  border-radius: 4px;
  border: 1px solid rgba(44, 111, 239, 0.4);
  box-shadow: 0 0 25px rgba(44, 111, 239, 0.5);
  bottom: 20px;
}

.visual-head {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  right: 30%;
  top: 20px;
}

.crisis-text {
  font-size: 0.92rem;
  color: var(--grey-mid);
  line-height: 1.78;
}

.crisis-cta-bridge {
  margin-top: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.crisis-cta-bridge p {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

/* ============================================================
   MÓDULO 3: SOLUCIÓN — La Matriz de los 12 Arquetipos BREY
   Fondo: Azul BREY profundo (#004aad) — Portada Módulo UNO
============================================================ */
.solution-section {
  background: var(--brey-blue-deep);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.solution-bg-deep {
  position: absolute;
  inset: 0;
  /* Fondo radial + patrón de cuadrícula de precisión */
  background:
    radial-gradient(ellipse at 15% 60%, rgba(56, 182, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(0, 85, 204, 0.5) 0%, transparent 45%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  background-position: 0 0, 0 0, 30px 30px, 30px 30px;
}

/* Detalles geométricos abstractos (Figuritas) */
.solution-section::before {
  content: '+';
  position: absolute;
  top: 10%; right: 12%;
  font-size: 12rem;
  font-family: var(--font-body);
  font-weight: 200;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.solution-section::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -5%;
  width: 600px; height: 600px;
  border: 2px dashed rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

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

.solution-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 760px;
}

.solution-title em {
  font-style: normal;
  color: var(--yellow);
}

.solution-intro {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.solution-intro strong { color: var(--yellow); }

/* 3 Dimensions pills */
.three-dims {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.dim-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid;
}

.dim-pill svg { width: 16px; height: 16px; }

.dim-dir {
  background: var(--brey-blue-light);
  color: var(--black-text);
  border: none;
}

.dim-con {
  background: var(--brey-teal-light);
  color: var(--black-text);
  border: none;
}

.dim-aper {
  background: var(--brey-green-light);
  color: var(--black-text);
  border: none;
}

.dim-plus {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yellow);
}

/* Solution body: stacked — archetypes on top, text below */
.solution-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Archetypes block is now on top, takes full width */
.archetypes-grid-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.solution-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.solution-text strong { color: var(--white); }

/* Profile card example */
.profile-card-example {
  background: var(--white);
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.profile-emoji {
  font-size: 2.4rem;
  line-height: 1;
}

.profile-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.2rem;
}

.profile-card-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black-text);
}

.profile-dims { display: flex; flex-direction: column; gap: 0.75rem; }

.pdim {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pdim-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-mid);
  min-width: 70px;
}

.pdim-bar {
  flex: 1;
  height: 6px;
  background: var(--grey-border);
  border-radius: 100px;
  overflow: hidden;
}

.pdim-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brey-blue-light), var(--brey-teal-light));
  border-radius: 100px;
  transition: width 1.5s var(--ease);
}

.pdim-val {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--black-text);
  min-width: 30px;
  text-align: right;
}

/* archetypes-grid-wrap is now a top-level block, no column flex needed here */

.archetypes-label {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-align: center;
}

.archetypes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.arch-chip {
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brey-blue-deep);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.arch-chip:hover {
  background: var(--yellow);
  color: var(--black-text);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.arch-chip:active {
  transform: scale(0.96);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ¿Cuál eres tú? — shown ABOVE the grid as a large heading */
.archetypes-question {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--brey-blue-light);
  text-align: center;
  margin-bottom: 1.5rem;
  order: -1;
}

/* ============================================================
   MÓDULO 4: PROCESO — Ingeniería Fricción Cero
============================================================ */
.process-section {
  background: var(--white);
  padding: var(--section-py) 0;
  border-top: 2px solid var(--black-text);
  border-bottom: 2px solid var(--black-text);
}

.process-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--black-text);
  margin-bottom: 1rem;
  text-align: center;
}

.process-subtitle {
  font-size: 1.05rem;
  color: var(--grey-mid);
  line-height: 1.8;
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.process-step {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--black-text);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: hidden;
}

.process-step:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 8px 0px var(--black-text);
}

.step-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.5rem 2rem 1.5rem;
  flex: 1;
}

.step-number-block {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--blue);
  border: 2px solid var(--black-text);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--black-text);
}

.step-num {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

.step-content { flex: 1; }

.step-icon-wrap {
  margin-bottom: 0.6rem;
}

.step-icon-wrap svg {
  width: 22px; height: 22px;
  color: var(--blue-mid);
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black-text);
  margin-bottom: 0.3rem;
}

.step-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-mid);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--grey-mid);
  line-height: 1.75;
}

.step-mockup {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  margin-top: auto;
}

.step-img {
  width: 100%;
  max-width: 230px;
  height: auto;
  border-radius: 16px 16px 0 0;
  border: 2px solid var(--grey-border);
  border-bottom: none;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  object-fit: cover;
  display: block;
  transform: translateY(2px);
}

/* ============================================================
   MÓDULO 5: AUTORIDAD — La Firma de Autor (con fondo edificio)
============================================================ */
.authority-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.authority-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(40, 60, 90, 0.45);
  z-index: 1;
}

.authority-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  width: 100%;
  max-width: 1000px;
  background: var(--cream);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}

/* ================== COLUMNA IZQUIERDA (FOTO) ================== */
.authority-images {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.authority-img-guillermo {
  position: relative;
  width: 100%;
  height: 100%;
}

.authority-img-guillermo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.authority-img-edificio {
  display: none;
}

.img-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0px 2px 5px rgba(0,0,0,0.7);
}

/* ================== COLUMNA DERECHA (TEXTOS) ================== */
.authority-content {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authority-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--black-text);
  margin-bottom: 1.5rem;
}

.authority-title em {
  font-style: normal;
  color: var(--blue);
}

.authority-text {
  font-size: 0.95rem;
  color: var(--grey-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.authority-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.astat {
  display: flex;
  flex-direction: column;
}

.astat-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.astat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   MÓDULO 6: CIERRE — El Acceso a la Comunidad
   Fondo: Teal BREY (#0296b0) — Portada Módulo DOS
============================================================ */
.closing-section {
  background: var(--brey-teal-deep);
  padding: var(--section-py) 0;
  border-top: 3px solid var(--black-text);
  border-bottom: 3px solid var(--black-text);
  position: relative;
  overflow: hidden;
}

/* Textura sutil teal + Patrón de puntos */
.closing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(35, 203, 232, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(0, 148, 176, 0.4) 0%, transparent 45%),
    radial-gradient(circle, rgba(255,255,255,0.06) 2px, transparent 2.5px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Rombo gigante de fondo */
.closing-section::after {
  content: '';
  position: absolute;
  top: -100px; left: 60%;
  transform: translateX(-50%) rotate(45deg);
  width: 700px; height: 700px;
  border: 60px solid rgba(255,255,255,0.02);
  border-radius: 60px;
  pointer-events: none;
  z-index: 0;
}

.closing-section .container { position: relative; z-index: 1; }

.closing-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 5rem;
  align-items: start;
}

.closing-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.closing-title em {
  font-style: normal;
  color: #b4f0fc; /* Teal claro para contraste sobre fondo teal oscuro */
}

.closing-text {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.closing-text strong { color: var(--yellow); }

.closing-subtext {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 2rem;
}

.closing-includes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black-text);
  padding: 0.9rem 1.25rem;
  background: var(--white);
  border: none;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ci-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.ci-item:active {
  transform: scale(0.97);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ci-item svg {
  width: 18px; height: 18px;
  color: var(--brey-teal-deep);
  flex-shrink: 0;
}

.closing-price-block {
  margin-bottom: 1.75rem;
  padding: 2rem;
  background: var(--white);
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.price-was {
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}

.price-now {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-big {
  font-family: var(--font-title);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--black-text);
  line-height: 1;
}

.price-usd {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grey-mid);
}

.price-badge {
  background: var(--yellow);
  color: var(--black-text);
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.2);
  margin-left: 0.5rem;
}

.closing-anchor {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

/* WhatsApp Mockup */
.closing-visual { position: sticky; top: 2rem; }

.whatsapp-mockup {
  background: #ece5dd;
  border: 2px solid var(--black-text);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wa-header {
  background: #075e54;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-icon {
  width: 40px; height: 40px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.wa-icon svg {
  width: 22px; height: 22px;
  color: var(--white);
}

/* Group profile avatar using the real circulo-brey image */
.wa-group-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
}

.wa-group-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wa-info { flex: 1; }

.wa-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.wa-status {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

.wa-dots {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.wa-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 280px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 0h80v80H0V0z' fill='%23ece5dd'/%3E%3C/svg%3E");
}

.wa-msg {
  display: flex;
  justify-content: flex-start;
}

.wa-msg-system {
  justify-content: center;
}

.wa-msg-system span {
  font-size: 0.72rem;
  color: #777;
  background: rgba(255,255,255,0.6);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.wa-msg-mine { justify-content: flex-end; }

.wa-bubble {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  padding: 0.75rem 1rem;
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.wa-bubble p {
  font-size: 0.85rem;
  color: #111;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.wa-bubble p:last-of-type { margin-bottom: 0; }

.wa-bubble-mine {
  background: #dcf8c6;
  border-radius: 12px 0 12px 12px;
}

.wa-time {
  font-size: 0.67rem;
  color: #999;
  display: block;
  text-align: right;
  margin-top: 0.3rem;
}

.wa-footer {
  background: #f0f0f0;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #ddd;
}

.wa-input {
  flex: 1;
  background: var(--white);
  border-radius: 100px;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #999;
}

.wa-send {
  width: 40px; height: 40px;
  background: #075e54;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-send svg {
  width: 18px; height: 18px;
  color: var(--white);
}

.wa-group-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.wa-group-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================================
   GARANTÍA
   Fondo: Verde BREY (#238957) — Portada Módulo CUATRO
============================================================ */
.guarantee-section {
  background: var(--brey-green-deep);
  padding: var(--section-py) 0;
  border-top: 2px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.guarantee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(44, 177, 112, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(35, 137, 87, 0.5) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
  pointer-events: none;
  z-index: 0;
}

/* Anillos concéntricos de precisión (Estilo radar/target) */
.guarantee-section::after {
  content: '';
  position: absolute;
  top: 50%; right: -5%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.03);
  box-shadow: 
    inset 0 0 0 80px transparent,
    inset 0 0 0 82px rgba(255,255,255,0.03),
    inset 0 0 0 160px transparent,
    inset 0 0 0 162px rgba(255,255,255,0.02),
    inset 0 0 0 240px transparent,
    inset 0 0 0 242px rgba(255,255,255,0.015);
  pointer-events: none;
  z-index: 0;
}

.guarantee-section .container { position: relative; z-index: 1; }

.guarantee-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--white);
  border: none;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.guarantee-icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: rgba(44, 177, 112, 0.15);
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-icon svg {
  width: 36px; height: 36px;
  color: var(--brey-green-deep);
}

.guarantee-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black-text);
  margin-bottom: 1rem;
}

.guarantee-text {
  font-size: 1rem;
  color: var(--grey-mid);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.guarantee-text strong { color: var(--black-text); }

.guarantee-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.g-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brey-green-deep);
  background: rgba(44, 177, 112, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: none;
}

.g-badge svg {
  width: 14px; height: 14px;
  color: var(--brey-green-deep);
}

/* ============================================================
   FAQ
============================================================ */
.faq-outer-section {
  background: var(--cream);
  padding: var(--section-py) 0;
  border-top: 2px solid var(--black-text);
  border-bottom: 2px solid var(--black-text);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--black-text);
  border-radius: 14px;
  box-shadow: 3px 4px 0 var(--grey-border);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.faq-item.open { box-shadow: var(--shadow-card); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black-text);
  transition: background 0.15s;
}

.faq-question:hover { background: var(--cream); }

.faq-icon {
  width: 18px; height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--grey-mid);
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   Fondo: Gris BREY (#535353) — Portada Módulo TRES
============================================================ */
.footer {
  background: var(--brey-gray-deep);
  border-top: 2px solid rgba(255,255,255,0.1);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-links a { transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}



@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Entrance animation for visible elements */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   RESPONSIVE — 1100px (Tablet Landscape)
============================================================ */
@media (max-width: 1100px) {
  /* Hero: cap de altura para que la imagen de fondo no escale demasiado
     en tablets portrait (iPad Air/Pro, Surface), lo que desplazaría al
     sujeto hacia la derecha dentro del área del texto. */
  .hero-section {
    min-height: min(75vh, 680px);
    /* Gradient más agresivo: darkens the right column text area earlier */
    background:
      linear-gradient(to right, transparent 35%, rgba(0,14,51,0.80) 50%, rgba(0,14,51,0.96) 100%),
      url('assets/guillermo-hero.jpeg') no-repeat 60% center / cover;
  }
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: min(75vh, 680px);
  }

  .hero-right {
    padding: 4rem 2.5rem 3rem 3rem;
  }
  

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

  /* Autoridad: columnas más compactas */
  .authority-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
  }

  .authority-content {
    padding: 3.5rem 3rem;
  }

  /* Cierre: single column */
  .closing-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   RESPONSIVE — 900px (Tablet Portrait)
============================================================ */
@media (max-width: 768px) {
  :root { --section-py: 4rem; }

  /* HEADER */
  .brand-logo img { height: 60px; }
  .site-header { padding: 1.25rem 0; }

  /* HERO: apilado — bloque azul arriba (texto), imagen abajo */
  .hero-section {
    /* En tablet: fondo azul sólido, la imagen se muestra como bloque separado */
    background: var(--brey-blue-deep);
    min-height: auto;
  }
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    min-height: auto;
  }
  /* El texto (hero-right) va ARRIBA en móvil */
  .hero-right {
    order: 1;
    padding: 3rem 2.5rem;
    animation: none;
    background: var(--brey-blue-deep);
  }
  /* La foto (hero-left) va ABAJO en móvil */
  .hero-left {
    order: 2;
    border-right: none;
    min-height: auto;
    height: auto;
    position: relative;
  }
  /* Mostrar bloque de imagen móvil con pill superpuesto */
  .hero-mobile-image {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 80vw;
    max-height: 540px;
    position: relative;
  }
  .hero-photo-mobile {
    position: absolute;
    height: 138%;
    width: auto;
    max-width: none;
    top: -17%;
    left: 50%;
    /* MENOS negativo = sujeto más a la DERECHA en el frame */
    transform: translateX(-38%);
    object-fit: unset;
    display: block;
  }
  /* Pill del fundador encima de la imagen móvil */
  .hero-mobile-image .hero-mobile-pill {
    display: flex;
  }
  /* Ocultar el hero-image-wrap (sólo tiene el pill del fundador en desktop) */
  .hero-image-wrap {
    display: none;
  }
  .hero-title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 0.75rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-trust-bar { gap: 1.2rem; }

  /* CRISIS */
  .crisis-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  /* PROCESO: 1 columna */
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .step-mockup {
    max-width: 200px;
    margin: 0 auto;
  }

  /* AUTORIDAD: stack, foto arriba — tarjeta centrada */
  .authority-section {
    padding: 3rem 1rem;
  }
  .authority-layout {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .authority-images {
    min-height: 380px;
    border-radius: 4px 4px 0 0;
  }
  .authority-img-guillermo img {
    object-position: center 15%;
    transform: scale(1.18);
  }
  .authority-content {
    padding: 2.5rem 2rem;
    border-radius: 0 0 4px 4px;
  }

  /* CIERRE */
  .closing-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .guarantee-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }
  .guarantee-badges { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — 640px (Mobile)
============================================================ */
@media (max-width: 640px) {
  :root { --section-py: 3.5rem; }
  .container { padding: 0 1.2rem; }

  /* HEADER */
  .brand-logo img { height: 44px; }
  .site-header { padding: 1rem 0; }

  /* HERO — apilado en mobile: bloque azul arriba (texto), foto abajo */
  .hero-section {
    background: var(--brey-blue-deep);
    min-height: auto;
  }
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    min-height: auto;
  }
  /* Texto ARRIBA en mobile */
  .hero-right {
    order: 1;
    padding: 2.5rem 1.5rem 2.5rem;
    text-align: center;
    animation: none;
  }
  /* Foto ABAJO en mobile */
  .hero-left {
    order: 2;
    min-height: auto;
    height: auto;
    border-right: none;
    position: relative;
  }
  /* Imagen móvil: posicionamiento absoluto para centrar al sujeto */
  .hero-mobile-image {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 105vw;
    max-height: 480px;
    position: relative;
  }
  .hero-photo-mobile {
    position: absolute;
    height: 135%;
    width: auto;
    max-width: none;
    top: -15%;
    left: 50%;
    /* MENOS negativo = sujeto más a la DERECHA en el frame */
    transform: translateX(-37%);
    object-fit: unset;
    display: block;
  }
  /* Pill del fundador encima de la imagen móvil */
  .hero-mobile-image .hero-mobile-pill {
    display: flex;
  }
  .hero-image-wrap {
    display: none;
  }
  .hero-founder-pill {
    bottom: 5%;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .header-cta {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.3rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .hero-cta-block {
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .btn-primary {
    font-size: 0.9rem;
    padding: 0.85rem 1.6rem;
  }
  .hero-microcopy { font-size: 0.78rem; }
  .hero-trust-bar {
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .trust-divider { display: none; }

  /* CRISIS */
  .crisis-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .crisis-visual { height: 200px; }

  /* SOLUCIÓN */
  .archetypes-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .arch-chip { padding: 0.55rem 0.5rem; font-size: 0.72rem; }
  .three-dims { gap: 0.5rem; justify-content: center; }
  .dim-pill { font-size: 0.75rem; padding: 0.4rem 0.8rem; }

  /* PROCESO */
  .process-title { font-size: 1.7rem; }
  .process-subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
  .process-steps { max-width: 100%; }
  .process-step { padding: 0; }
  .step-left { padding: 1.5rem 1.25rem 1rem; gap: 1rem; }
  .step-number-block { width: 48px; height: 48px; border-radius: 12px; }
  .step-num { font-size: 1.4rem; }
  .step-title { font-size: 1.1rem; }
  .step-mockup { max-width: 160px; }

  /* AUTORIDAD */
  .authority-section { padding: 0; }
  .authority-layout { max-width: 100%; border-radius: 0; }
  .authority-images { height: 300px; border-radius: 0; }
  .authority-img-guillermo img {
    object-position: center 15%;
    transform: scale(1.25);
  }
  .authority-title { font-size: 1.4rem; }
  .authority-content { padding: 2rem 1.5rem; }
  .authority-stats { flex-wrap: wrap; gap: 1.25rem; margin-top: 1.25rem; }
  .astat-num { font-size: 1.6rem; }

  /* CIERRE */
  .closing-price-block { padding: 1.25rem; text-align: center; }
  .price-big { font-size: 3rem; }
  .price-now { flex-wrap: wrap; justify-content: center; }
  .ci-item { font-size: 0.82rem; padding: 0.6rem 0.8rem; }
  .guarantee-card { padding: 1.5rem; gap: 1.25rem; }

  /* FAQ */
  .faq-question { font-size: 0.88rem; padding: 1rem 1.2rem; }
  .faq-answer p { padding: 0 1.2rem 1rem; font-size: 0.88rem; }

  /* CÍRCULO BREY mobile */
  .circulo-layout { grid-template-columns: 1fr; gap: 2rem; }
  .circulo-visual { position: static; max-width: 100%; }
  .guarantee-inline { padding: 1.5rem; gap: 1.25rem; }
  .closing-final-title { font-size: 1.6rem; }
}

/* ============================================================
   MÓDULO 6: CÍRCULO BREY — Sección Independiente
   Fondo: Teal BREY (#0296b0)
============================================================ */
.circulo-section {
  background: var(--brey-teal-deep);
  padding: var(--section-py) 0;
  border-top: 3px solid var(--black-text);
  border-bottom: 3px solid var(--black-text);
  position: relative;
  overflow: hidden;
}

.circulo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(35, 203, 232, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(0, 148, 176, 0.4) 0%, transparent 45%),
    radial-gradient(circle, rgba(255,255,255,0.06) 2px, transparent 2.5px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.circulo-section .container { position: relative; z-index: 1; }

.circulo-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 5rem;
  align-items: start;
}

.circulo-visual { position: sticky; top: 2rem; }

.circulo-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.circulo-title em {
  font-style: normal;
  color: #b4f0fc;
}

.circulo-text {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.circulo-text strong { color: var(--yellow); }

/* Features de la comunidad Círculo BREY */
.circulo-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.circulo-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.circulo-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circulo-feature-icon svg {
  width: 20px; height: 20px;
  color: var(--white);
}

.circulo-feature-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.circulo-feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.circulo-anchor {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}

.btn-circulo {
  background: var(--white);
  color: var(--brey-teal-deep);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-circulo:hover {
  background: var(--cream);
  color: var(--brey-teal-deep);
}

/* ============================================================
   MÓDULO 7: PAGO + GARANTÍA — Sección Final Combinada
============================================================ */
.closing-final-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

/* Includes list en la sección de pago */
.closing-includes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.closing-price-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.closing-final-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2rem;
}

.closing-final-title em {
  font-style: normal;
  color: #b4f0fc;
}

/* Garantía inline dentro de la sección de pago */
.guarantee-inline {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2.5rem;
}

.guarantee-inline-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-inline-icon svg {
  width: 32px; height: 32px;
  color: var(--white);
}

.guarantee-inline-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.guarantee-inline-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.guarantee-inline-text strong {
  color: var(--white);
}

.guarantee-inline .guarantee-badges .g-badge {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.guarantee-inline .guarantee-badges .g-badge svg {
  color: var(--white);
}

/* Responsive: Círculo BREY y layout final */
@media (max-width: 1100px) {
  .circulo-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .closing-final-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .circulo-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .circulo-visual { position: static; max-width: 480px; margin: 0 auto; width: 100%; }
  .closing-final-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .guarantee-inline {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }
  .guarantee-inline .guarantee-badges { justify-content: center; }
}

