/* ==========================================================================
   HYBRID STRENGTH METHOD · Stylesheet v1.0
   Sistema de diseño basado en brand book oficial.
   Paleta 70/25/5 · Inter + JetBrains Mono · sin gradientes.
   ========================================================================== */

/* --- Tokens ---------------------------------------------------------------- */

:root {
  /* Color */
  --navy: #0A1535;
  --navy-soft: #1A1F2E;
  --paper: #F5F2EC;
  --paper-pure: #FAF8F3;
  --steel: #6B7280;
  --steel-light: #D1D5DB;
  --line: #E5E1D8;
  --line-dark: rgba(245, 242, 236, 0.12);
  --electric: #0066FF;
  --electric-soft: rgba(0, 102, 255, 0.12);
  --success: #10B981;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(20px, 5vw, 64px);
  --section-pad: clamp(80px, 10vw, 140px);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 600ms;

  /* Shadows (muy sutiles, sin sombras dramáticas) */
  --shadow-sm: 0 1px 2px rgba(10, 21, 53, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 21, 53, 0.06);
}

/* --- Reset --------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

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

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Tipografía ---------------------------------------------------------- */

.t-display {
  font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.t-h1 {
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.t-h2 {
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-h3 {
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.t-body-lg {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--steel);
}

.t-body { font-size: 17px; line-height: 1.55; }

.t-small { font-size: 14px; line-height: 1.5; color: var(--steel); }

.t-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.t-mono--electric { color: var(--electric); }
.t-mono--paper { color: rgba(245, 242, 236, 0.7); }

/* Énfasis con italic + electric blue (regla de marca) */
em {
  font-style: italic;
  color: var(--electric);
  font-weight: inherit;
}

/* --- Layout -------------------------------------------------------------- */

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

.section { padding-block: var(--section-pad); }

.section--navy {
  background: var(--navy);
  color: var(--paper);
}

.section--navy .t-mono { color: rgba(245, 242, 236, 0.5); }
.section--navy .t-body-lg { color: rgba(245, 242, 236, 0.75); }

.section-header {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header__label {
  display: block;
  margin-bottom: var(--s-5);
}

.section-header__title { margin-bottom: var(--s-4); }

/* Divisor con número de sección */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding-block: var(--s-6);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section--navy .section-divider__line { background: var(--line-dark); }

/* --- Botones ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 16px 28px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--electric);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.section--navy .btn--primary:hover {
  background: var(--paper);
  color: var(--navy);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn--secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

/* Override del btn--secondary cuando vive sobre fondo oscuro (hero/section navy/CTA navy) */
.section--navy .btn--secondary,
.hero .btn--secondary,
.cta-final .btn--secondary {
  color: var(--paper);
  border-color: rgba(245, 242, 236, 0.25);
}

.section--navy .btn--secondary:hover,
.hero .btn--secondary:hover,
.cta-final .btn--secondary:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--navy);
}

.btn--ghost {
  background: transparent;
  color: var(--electric);
  padding: 8px 0;
}

.btn--ghost:hover { color: var(--navy); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease);
}

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

/* --- Header / Nav -------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  background: transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(10, 21, 53, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.nav__brand-img {
  height: 30px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .nav__brand-img { height: 24px; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease);
}

.nav__links a:hover { opacity: 1; }

.nav__cta { margin-left: var(--s-2); }

.nav__cta .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
}

.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: var(--s-6) var(--container-pad);
    gap: var(--s-5);
    border-top: 1px solid var(--line-dark);
  }
  .nav.is-open .nav__cta {
    display: block;
    position: absolute;
    top: calc(100% + 18px + 280px);
    left: var(--container-pad);
    right: var(--container-pad);
    background: var(--navy);
    padding-bottom: var(--s-6);
  }
  .nav.is-open .nav__cta .btn {
    width: 100%;
  }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 100px);
  padding-top: 140px;
}

/* Halo radial sutil de electric blue (no en el centro) */
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Imagen de fondo con tratamiento (lateral) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.55;
  filter: grayscale(35%) contrast(1.05) brightness(0.85);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--navy) 0%, rgba(10, 21, 53, 0.92) 28%, rgba(10, 21, 53, 0.55) 60%, rgba(10, 21, 53, 0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  background: var(--electric);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  max-width: 980px;
  margin: 0 0 var(--s-6) 0;
  color: var(--paper);
}

.hero__subtitle {
  max-width: 580px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  color: rgba(245, 242, 236, 0.75);
  margin-bottom: var(--s-7);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-dark);
  max-width: 640px;
}

.hero__meta-item .num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--paper);
  display: block;
  letter-spacing: -0.02em;
}

.hero__meta-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  margin-top: 4px;
  display: block;
}

/* --- Diff (lo que no somos) --------------------------------------------- */

.diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diff__col {
  padding: var(--s-7) var(--s-5);
  border-right: 1px solid var(--line);
  position: relative;
}

.diff__col:last-child { border-right: none; }

.diff__col--feature {
  background: var(--navy);
  color: var(--paper);
  border-right-color: var(--navy);
}

.diff__col--feature .t-mono { color: var(--electric); }
.diff__col--feature .diff__title { color: var(--paper); }

.diff__col-label {
  display: block;
  margin-bottom: var(--s-3);
}

.diff__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-5) 0;
  line-height: 1.2;
}

.diff__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.diff__list li {
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-4);
  align-items: baseline;
}

.diff__col--feature .diff__list li { border-top-color: var(--line-dark); }

.diff__list li:first-child { border-top: none; }

.diff__list-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.diff__col--feature .diff__list-key { color: rgba(245, 242, 236, 0.5); }

@media (max-width: 760px) {
  .diff__grid { border: none; }
  .diff__col {
    border-right: none;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
  }
  .diff__col--feature {
    border-color: var(--navy);
  }
}

/* --- Method (cómo entrenamos) ------------------------------------------- */

.method {
  background: var(--paper-pure);
}

.method__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}

.method-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  position: relative;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

.method-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.method-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--electric);
  margin-bottom: var(--s-5);
  display: block;
}

.method-card__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3) 0;
}

.method-card__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--steel);
  margin: 0;
}

@media (max-width: 760px) {
  .method-card { padding: var(--s-6); }
}

/* --- Session (estructura de una sesión) --------------------------------- */

.session__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.session-step {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  background: var(--paper-pure);
  transition: all var(--dur-base) var(--ease);
}

.session-step:hover {
  border-color: var(--navy);
  background: var(--paper);
  transform: translateY(-2px);
}

.session-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-3);
}

.session-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.session-step__time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--electric);
  padding: 4px 10px;
  background: var(--electric-soft);
  border-radius: 100px;
}

.session-step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3) 0;
}

.session-step__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--steel);
  margin: 0;
}

@media (max-width: 760px) {
  .session-step { padding: var(--s-6); }
}

/* --- Orion --------------------------------------------------------------- */

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

.orion__visual {
  background: var(--navy-soft);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.orion__visual::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.orion__visual-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  position: relative;
  z-index: 1;
}

.orion__visual-dot {
  width: 8px;
  height: 8px;
  background: var(--electric);
  border-radius: 50%;
  animation: pulse 2s var(--ease) infinite;
}

.orion__visual-rows {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  z-index: 1;
}

.orion-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line-dark);
}

.orion-row__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
}

.orion-row__value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
  text-align: right;
}

.orion-row__value--electric { color: var(--electric); }

.orion__copy { padding-block: var(--s-4); }

.orion__quote {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: var(--s-5) 0 var(--s-6) 0;
  color: var(--paper);
}

@media (max-width: 880px) {
  .orion__grid { grid-template-columns: 1fr; }
}

/* --- Founders ------------------------------------------------------------ */

.founders__head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: var(--s-8);
}

.founders__head-text { max-width: 560px; }

.founders__head-aside {
  font-size: 15px;
  line-height: 1.55;
  color: var(--steel);
  padding-left: var(--s-5);
  border-left: 2px solid var(--electric);
}

.founders__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--dur-base) var(--ease);
}

.tier:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.tier--active {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}

.tier--active:hover { border-color: var(--electric); }

.tier__badge {
  position: absolute;
  top: -10px;
  left: var(--s-7);
  background: var(--electric);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tier__head {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}

.tier--active .tier__head { border-bottom-color: var(--line-dark); }

.tier__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 var(--s-3) 0;
}

.tier--active .tier__name { color: rgba(245, 242, 236, 0.6); }

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--s-2);
}

.tier__price-num {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tier__price-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--steel);
}

.tier--active .tier__price-unit { color: rgba(245, 242, 236, 0.6); }

.tier__pitch {
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  margin: 0;
}

.tier--active .tier__pitch { color: rgba(245, 242, 236, 0.7); }

.tier__list {
  list-style: none;
  margin: 0 0 var(--s-6) 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.tier__list li {
  font-size: 14px;
  line-height: 1.45;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--s-3);
  align-items: start;
}

.tier__list li::before {
  content: "✓";
  color: var(--electric);
  font-size: 13px;
  line-height: 1.45;
}

.tier__stock {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  padding-block: var(--s-4);
  border-block: 1px solid var(--line);
}

.tier--active .tier__stock { border-color: var(--line-dark); }

.tier__stock-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier__stock-row .label { color: var(--steel); }
.tier--active .tier__stock-row .label { color: rgba(245, 242, 236, 0.5); }

.tier__bar {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.tier--active .tier__bar { background: var(--line-dark); }

.tier__bar-fill {
  height: 100%;
  background: var(--electric);
  border-radius: 4px;
  transition: width var(--dur-slow) var(--ease);
}

.tier__cta { margin-top: auto; }

.tier__cta .btn { width: 100%; }

@media (max-width: 880px) {
  .founders__head { grid-template-columns: 1fr; }
  .founders__head-aside {
    border-left: none;
    border-top: 2px solid var(--electric);
    padding-left: 0;
    padding-top: var(--s-4);
  }
}

/* --- Who (cliente ideal) ------------------------------------------------ */

.who {
  background: var(--paper-pure);
}

.who__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.who-card {
  border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
}

.who-card__age {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--electric);
  margin-bottom: var(--s-4);
  display: block;
}

.who-card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 var(--s-3) 0;
}

.who-card__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--steel);
  margin: 0;
}

@media (max-width: 880px) {
  .who-card { padding: var(--s-6) var(--s-5); }
}

/* --- Location ------------------------------------------------------------ */

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.location__row { padding-block: var(--s-2); }

.location__row-label {
  display: block;
  margin-bottom: 6px;
}

.location__row-value {
  font-size: 17px;
  line-height: 1.45;
}

.location__map {
  background: var(--navy);
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(40%) contrast(1.05);
}

@media (max-width: 760px) {
  .location__grid { grid-template-columns: 1fr; }
}

/* --- CTA Final ---------------------------------------------------------- */

.cta-final { background: var(--navy); color: var(--paper); }

.cta-final__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-final__title {
  color: var(--paper);
  margin-bottom: var(--s-5);
}

.cta-final__sub {
  color: rgba(245, 242, 236, 0.75);
  margin-bottom: var(--s-7);
  font-size: clamp(17px, 1.6vw, 19px);
}

.form {
  display: grid;
  gap: var(--s-3);
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

@media (min-width: 540px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__field { position: relative; }

.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(245, 242, 236, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  color: var(--paper);
  font-size: 15px;
  transition: all var(--dur-base) var(--ease);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(245, 242, 236, 0.4);
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--electric);
  background: rgba(245, 242, 236, 0.1);
}

.form__legal {
  font-size: 12px;
  color: rgba(245, 242, 236, 0.5);
  line-height: 1.4;
  margin-top: var(--s-2);
}

.form__legal a { color: var(--paper); text-decoration: underline; }

.form__btn { margin-top: var(--s-3); }
.form__btn .btn { width: 100%; padding: 16px; }

.form__msg {
  font-size: 14px;
  text-align: center;
  margin-top: var(--s-3);
  min-height: 20px;
}

.form__msg--success { color: var(--success); }
.form__msg--error { color: #FCA5A5; }

/* --- Footer -------------------------------------------------------------- */

.footer {
  background: var(--navy-soft);
  color: var(--paper);
  padding-block: var(--s-8) var(--s-6);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line-dark);
}

.footer__brand-img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: var(--s-4);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(245, 242, 236, 0.5);
  max-width: 360px;
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.4);
  margin: 0 0 var(--s-4) 0;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer__col a {
  color: rgba(245, 242, 236, 0.7);
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease);
}

.footer__col a:hover { color: var(--paper); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  font-size: 12px;
  color: rgba(245, 242, 236, 0.4);
  flex-wrap: wrap;
  gap: var(--s-3);
}

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--s-7); }
}

/* --- Sticky CTA mobile --------------------------------------------------- */

.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
  display: none;
}

.sticky-cta .btn {
  width: 100%;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(10, 21, 53, 0.3);
}

@media (max-width: 760px) {
  .sticky-cta { display: block; }
}

/* --- Animations: reveal on scroll --------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Carrusel horizontal mobile (scroll-snap) --------------------------- */
/*
   Aplica a grids comparativos en mobile. El usuario ve un card a la vez,
   asoma el siguiente, hace snap al deslizar. Desktop intacto.
*/

.scroll-indicator { display: none; }

@media (max-width: 880px) {
  .scroll-x {
    display: flex !important;
    flex-direction: row;
    gap: var(--s-4);
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--container-pad));
    padding: var(--s-3) var(--container-pad);
    /* Permite que las sombras y borders no se corten */
    overscroll-behavior-x: contain;
  }
  .scroll-x::-webkit-scrollbar {
    display: none;
  }

  .scroll-x > * {
    flex: 0 0 86%;
    max-width: 360px;
    min-width: 260px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* En diff, el card feature lleva margen para que destaque más al ser el central */
  .scroll-x .diff__col {
    border-radius: var(--r-lg);
  }

  /* Indicador de scroll: barra fina con thumb que se desplaza */
  .scroll-indicator {
    display: block;
    width: 72px;
    height: 3px;
    background: var(--line);
    border-radius: 100px;
    margin: var(--s-6) auto 0;
    overflow: hidden;
    position: relative;
  }

  .section--navy .scroll-indicator {
    background: rgba(245, 242, 236, 0.15);
  }

  .scroll-indicator__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--electric);
    border-radius: 100px;
    transform: translateX(0);
    transition: transform 80ms linear;
  }

  /* Pequeña pista textual debajo del primer carrusel para enseñar el gesto */
  .scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: var(--s-3);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
    opacity: 0.7;
  }

  .section--navy .scroll-hint { color: rgba(245, 242, 236, 0.5); }
}

.scroll-hint { display: none; }


/* --- Utilidades ---------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
