:root {
  --color-bg: #0A0A0A;
  --color-surface: #141414;
  --color-gold: #C9A96E;
  --color-text: #F0EDE8;
  --color-text-muted: #A8A8A8;
  --color-border: #2A2A2A;
  --color-neutral: #D8D5CF;
  --font-display: 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  border: none;
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent layout overflow and improve responsive stability */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* Subtle futuristic grid/pattern (extremely low contrast) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to right, rgba(42, 42, 42, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 42, 42, 0.25) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.08;
}

/* Ensure content stays above pattern */
body > * {
  position: relative;
  z-index: 1;
}

/* Avoid fixed navbar overlap when jumping to anchors */
section[id],
footer[id] {
  scroll-margin-top: 110px;
}

/* Keep compatibility for internal spans used as scroll targets */
span[id] {
  scroll-margin-top: 110px;
}

/* Focus visible (sobrio y elegante, sin efectos agresivos) */
a:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.navbar__hamburger:focus-visible {
  outline: 1px solid rgba(201, 169, 110, 0.95);
  outline-offset: 3px;
}

/* Base elements */
button,
a {
  font-family: var(--font-body);
  color: inherit;
}

/* Primary button */
.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.btn-primary:hover {
  border-color: rgba(201, 169, 110, 0.6);
}

/* Secondary button */
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.85);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(201, 169, 110, 1);
  color: var(--color-gold);
}

hr {
  border: none;
  height: 0.5px;
  background: var(--color-border);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg);
  border-bottom: 0.5px solid var(--color-border);

  /* Recommended heights */
  height: 72px;
  padding: 0 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 100;
}

/* 3-block header layout: left (logo), center (premium founder text), right (cta/desktop links) */
.navbar__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  /* keep center visually stable even when left/right widths change */
  pointer-events: none;
  height: 100%;
}

.navbar__centerText {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Logo */
.navbar__logo {
  padding-left: 24px; /* premium alignment */
}

/* Desktop layout */
.navbar__desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

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

/* Logo */
.navbar__logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700; /* slightly stronger */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* CTA (reduce visual weight ~5–10%) */
.navbar__cta {
  text-decoration: none;
  white-space: nowrap;
}

/* make the gold button slightly less dominant inside the navbar */
.navbar__cta.btn-primary,
.navbar__cta.btn-secondary {
  padding-left: 24px;
  padding-right: 24px;
}

.navbar__cta .btn-primary,
.navbar__cta .btn-secondary {
  padding-left: 24px;
  padding-right: 24px;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  height: 28px;
  width: 28px;
  align-items: center;
  justify-content: center;
}

.navbar__hamburgerIcon {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
}

.navbar__hamburgerIcon::before,
.navbar__hamburgerIcon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
}

.navbar__hamburgerIcon::before {
  top: 0;
}

.navbar__hamburgerIcon::after {
  bottom: 0;
}

/* middle line */
.navbar__hamburgerIcon {
  border-top: 1px solid var(--color-gold);
  box-sizing: border-box;
}

/* Open state (X icon) */
.navbar--open .navbar__hamburgerIcon {
  border-top-color: transparent;
}

.navbar--open .navbar__hamburgerIcon::before,
.navbar--open .navbar__hamburgerIcon::after {
  background: var(--color-gold);
}

.navbar--open .navbar__hamburgerIcon::before {
  top: 5.5px;
  transform: rotate(45deg);
}

.navbar--open .navbar__hamburgerIcon::after {
  bottom: 5.5px;
  transform: rotate(-45deg);
}

/* Mobile menu (push down, no overlay) */
.navbar__mobileMenu {
  display: none;
  width: 100%;
  background: var(--color-bg);
  border-bottom: 0.5px solid var(--color-border);
}

.navbar__mobileMenuInner {
  padding: 16px 60px 24px;
}

.navbar__mobileLinks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.navbar__mobileLinks a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

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

.navbar__cta--mobile {
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    height: 64px;
    padding: 0 20px;
  }

  .navbar__desktop {
    display: none;
  }

  .navbar__center {
    display: none; /* keep mobile clean (hamburger + logo) */
  }

  .navbar__hamburger {
    display: inline-flex;
  }

  .navbar__mobileMenu {
    display: none; /* push-down only when open */
  }

  .navbar--open .navbar__mobileMenu {
    display: block;
  }

  .navbar__mobileMenuInner {
    padding: 16px 20px 24px;
  }

  .navbar__logo {
    font-size: 18px;
    padding-left: 16px; /* mobile requirement */
  }

  /* slightly compact CTA on mobile menu button */
  .navbar__cta--mobile {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Hero (reset visual real: hero--clean) */
.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.hero__container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  font-family: Inter, sans-serif;
  color: #C9A96E;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title {
  font-family: Inter, sans-serif !important;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #F0EDE8;
  margin: 0 0 28px;
}

.hero__subtitle {
  font-family: Inter, sans-serif;
  max-width: 620px;
  color: #9A9A9A;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 36px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  /* Buttons must never look like underlined links */
  text-decoration: none !important;

  border: 1px solid transparent;
}

.btn:visited,
.btn:hover,
.btn:focus {
  text-decoration: none !important;
}

a.btn,
a.btn:visited,
a.btn:hover,
a.btn:focus {
  text-decoration: none !important;
}

.btn--primary {
  background: #C9A96E;
  color: #0A0A0A;
  border-color: #C9A96E;
}

.btn--secondary {
  background: transparent;
  color: #F0EDE8;
  border-color: #2A2A2A;
}

.hero__microcopy {
  color: #A8A8A8;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.hero__media {
  width: 100%;
}

.hero__media-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  min-height: 520px;
  border: 1px solid #2A2A2A;
  background: #101010;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.hero__media-placeholder span {
  font-family: Inter, sans-serif;
  color: #F0EDE8;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__media-placeholder small {
  margin-top: 8px;
  color: #A8A8A8;
  font-size: 14px;
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero {
    padding: 72px 0;
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__title {
    font-size: clamp(44px, 12vw, 62px);
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero__media-placeholder {
    min-height: 420px;
  }
}

/* Problem section */
.problem {
  padding: 64px 60px 96px;
}

.problem__container {
  max-width: 1200px;
  margin: 0 auto;
}

.problem__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.problem__eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.problem__title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.problem__text {
  margin: 0;
  max-width: 620px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.problem__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem__item {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.problem__number {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  align-self: start;
}

.problem__itemText {
  color: var(--color-neutral);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
}

.problem__closing {
  margin: 28px 0 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

/* Mobile */
@media (max-width: 768px) {
  .problem {
    padding: 48px 20px 72px;
  }

  .problem__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem__title {
    font-size: 44px;
  }

  .problem__text {
    font-size: 16px;
  }

  .problem__item {
    padding: 16px;
  }
}

/* About section */
.about {
  padding: 80px 60px 96px;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
}

.about__content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about__media {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 5;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about__mediaText {
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 18px;
}

.about__mediaLabel {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
}

.about__eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.about__title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.about__text {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.about__text p {
  margin: 0 0 16px;
}

.about__highlight {
  color: var(--color-text);
  margin-top: 6px;
}

.about__stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about__stat {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 16px 16px;
}

.about__statMain {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

/* Mobile */
@media (max-width: 768px) {
  .about {
    padding: 56px 20px 72px;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__title {
    font-size: 44px;
  }

  .about__text {
    font-size: 16px;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Method section */
.method {
  padding: 72px 60px 92px;
}

.method__container {
  max-width: 1200px;
  margin: 0 auto;
}

.method__header {
  margin-bottom: 40px;
  max-width: 820px;
}

.method__eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.method__title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.method__text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 700px;
}

.method__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.method__card {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 18px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: border-color 0.2s;
  min-height: 190px;
  position: relative;
  border-radius: 2px;
}

/* subtle module gridline accent */
.method__card::before {
  content: "";
  display: none;
}

.method__card:hover {
  border-color: var(--color-gold);
}

.method__number {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.method__card-title {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.method__card-text {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
}

.method__closing {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 760px;
}

/* Mobile */
@media (max-width: 768px) {
  .method {
    padding: 52px 20px 68px;
  }

  .method__header {
    margin-bottom: 28px;
  }

  .method__title {
    font-size: 44px;
  }

  .method__text {
    font-size: 16px;
  }

  .method__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .method__card {
    min-height: unset;
    padding: 16px;
  }
}

/* Case / Testimonio section */
.case {
  padding: 72px 60px 92px;
}

.case__container {
  max-width: 1200px;
  margin: 0 auto;
}

.case__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.case__eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.case__title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.case__text {
  margin: 0 0 28px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 620px;
}

.case__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.case__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.case__itemNumber {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding-top: 2px;
}

.case__itemText {
  color: var(--color-neutral);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
}

/* Testimonial card */
.case__testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 28px;
  display: grid;
  gap: 18px;
  border-radius: 2px;
  position: relative;
}

.case__testimonial::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 18px;
  height: 1px;
  background: rgba(201, 169, 110, 0.28);
  pointer-events: none;
}

.case__quote-mark {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  margin-top: -6px;
}

.case__quote {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.case__author {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.case__role {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
}

.case__avatar {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Mobile */
@media (max-width: 768px) {
  .case {
    padding: 52px 20px 68px;
  }

  .case__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case__title {
    font-size: 44px;
  }

  .case__text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .case__testimonial {
    padding: 20px;
  }

  .case__quote-mark {
    font-size: 46px;
  }
}

/* Programs section */
.programs {
  padding: 72px 60px 92px;
}

.programs__container {
  max-width: 1200px;
  margin: 0 auto;
}

.programs__header {
  margin-bottom: 40px;
  max-width: 880px;
}

.programs__eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.programs__title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.programs__text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 720px;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.programs__card {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 300px;
  transition: border-color 0.2s;
  border-radius: 2px;
  position: relative;
}

/* (reset) remove interface-like divider line from programs cards */
.programs__card::after {
  content: "";
  display: none;
}

/* (reset) keep programs cards flat/minimal */
.programs__card:nth-child(even) {
  background: transparent;
}

.programs__card:hover {
  border-color: var(--color-gold);
}

.programs__card--featured {
  border-color: var(--color-gold);
  background: var(--color-surface);
}

.programs__number {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.programs__card-title {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.programs__card-text {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
}

.programs__meta {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.programs__meta-item {
  color: var(--color-neutral);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.programs__cta {
  margin-top: auto;
}

.programs__cta .btn-primary,
.programs__cta .btn-secondary {
  width: fit-content;
}

.programs__note {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
}

/* Mobile */
@media (max-width: 768px) {
  .programs {
    padding: 52px 20px 68px;
  }

  .programs__title {
    font-size: 44px;
  }

  .programs__text {
    font-size: 16px;
  }

  .programs__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .programs__card {
    min-height: unset;
    padding: 16px;
  }

  .programs__cta .btn-primary,
  .programs__cta .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Final CTA */
.final-cta {
  padding: 86px 60px 64px;
  border-top: 1px solid var(--color-border);
  background: #0A0A0A;
}

.final-cta__container {
  max-width: 980px;
  margin: 0 auto;
}

.final-cta__content {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.final-cta__eyebrow {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.final-cta__title {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 68px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 860px;
}

.final-cta__text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 760px;
}

.final-cta__button {
  margin-top: 6px;
}

.final-cta__microcopy {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  background: #0A0A0A;
  padding: 52px 60px 22px;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__columns {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.footer__column {
  display: grid;
  gap: 12px;
}

.footer__logo {
  margin: 0;
}

.footer__brand {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
}

.footer__text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 420px;
}

.footer__note {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

.footer__title {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__link {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.footer__bottom-text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
}

/* Diagnostics page (diagnostico.html) */

/* Shared section layout */
.diag-hero,
.diag-section {
  padding: 92px 60px 64px;
}

.diag-section__container {
  max-width: 1200px;
  margin: 0 auto;
}

.diag-hero__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.diag-hero__anchor {
  height: 0;
}

/* Typography helpers (reuse home eyebrow/title feel) */
.diag__eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.diag__title,
.diag__h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  color: var(--color-text);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.diag__subtitle,
.diag__lead {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.diag-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.diag__microcopy {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
}

/* Summary card */
.diag-hero__summary,
.diag-summary__header,
.diag-summary__list {
  width: 100%;
}

.diag-hero__summary,
.diag-summary {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 2px;
  padding: 22px;
}

.diag-summary__label {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.diag-summary__hint {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
}

.diag-summary__hintDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.9);
  display: inline-block;
}

/* Bullets */
.diag-bullets {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.diag-bullet {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 2px;
  padding: 16px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.diag-bullet__num {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.diag-bullet__text {
  color: var(--color-neutral);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
}

/* Blocks (qué te llevas) */
.diag-blocks {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.diag-block {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 2px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.diag-block__num {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding-top: 2px;
}

.diag-block__title {
  margin: 0 0 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.diag-block__text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

/* Timeline */
.diag-timeline {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.diag-step {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 2px;
  padding: 18px;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.diag-step__num {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding-top: 2px;
}

.diag-step__title {
  margin: 0 0 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.diag-step__text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

/* Form */
.diag-form__form {
  margin-top: 24px;
}

.diag-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.diag-field {
  display: grid;
  gap: 8px;
}

.diag-field--full {
  grid-column: 1 / -1;
}

.diag-field__label {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
}

.diag-field__input,
.diag-field__textarea {
  width: 100%;
  background: #141414;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  padding: 14px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  font-size: 15px;
  font-weight: 300;
}

.diag-field__input::placeholder,
.diag-field__textarea::placeholder {
  color: var(--color-text-muted);
}

.diag-field__textarea {
  min-height: 120px;
  resize: vertical;
}

.diag-field__input:focus,
.diag-field__textarea:focus {
  border-color: var(--color-gold);
}

.diag-form__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

/* FAQ */
.diag-faq {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.diag-faq__item {
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 2px;
  padding: 18px;
}

.diag-faq__q {
  margin: 0 0 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.diag-faq__a {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

/* Diagnostics responsive */
@media (max-width: 768px) {
  .diag-hero,
  .diag-section {
    padding: 66px 20px 52px;
  }

  .diag-hero__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .diag__h2 {
    font-size: 44px;
  }

  .diag__subtitle,
  .diag__lead {
    font-size: 16px;
  }

  .diag-blocks {
    grid-template-columns: 1fr;
  }

  .diag-timeline {
    grid-template-columns: 1fr;
  }

  .diag-form__grid {
    grid-template-columns: 1fr;
  }

  .diag-field--full {
    grid-column: auto;
  }

  .diag-field__textarea {
    min-height: 140px;
  }
}

/* Keep original footer mobile overrides at end */

/* ====== HOME reset: eliminar reglas legacy de “dashboard/system” ======
   Este bloque neutraliza el CSS antiguo que aún dominaba la home. */

.hero__media--systemPanel,
.hero__mediaSystemLabel,
.hero__mediaSystemGrid,
.hero__mediaSystemModule,
.hero__mediaSystemPanelInner,
.hero__mediaSystemAdrianHint,
.hero__mediaSystemModuleState,
.hero__mediaSystemModuleStatus,
.programs__accessLabel,
.method__moduleLabel,
.method__moduleLabelMain,
.method__moduleTag,
.footer__systemLabel,
.label-tech {
  display: none !important;
}

/* ====== Botones: compatibilidad con hero moderno (btn / btn--*) ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 14px 22px;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-bg);
  border: 1px solid rgba(201, 169, 110, 0.35);
}

.btn--primary:hover {
  border-color: rgba(201, 169, 110, 0.9);
}

.btn--secondary {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(201, 169, 110, 0.85);
}

.btn--secondary:hover {
  border-color: rgba(201, 169, 110, 1);
  color: var(--color-gold);
}

/* ====== Hero moderno (especificación) ====== */
.hero--modern {
  padding: 128px 60px 88px;
}

.hero--modern .hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.hero--modern .hero__content {
  display: block;
}

.hero--modern .hero__title {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}

.hero--modern .hero__subtitle {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 28px;
  max-width: 620px;
}

.hero--modern .hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero--modern .hero__microcopy {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
}

/* Visual placeholder premium (sin dashboard) */
.hero__visual {
  display: flex;
  align-items: stretch;
}

.hero__photo-placeholder {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  aspect-ratio: 4 / 5;
  padding: 22px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero__photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  pointer-events: none;
}

.hero__photo-placeholder span {
  position: relative;
  z-index: 1;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 650;
}

.hero__photo-placeholder small {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
}

/* Mobile: 390px */
@media (max-width: 768px) {
  .hero--modern {
    padding: 112px 20px 64px;
  }

  .hero--modern .hero__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero--modern .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero--modern .hero__title {
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
}

/* Diagnostics/cards: (reset) remove /SYSTEM decorative separators */
.diag__eyebrow::after,
.programs__eyebrow::after,
.problem__eyebrow::after {
  content: "";
}

/* ====== Legal pages ====== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.legal-section p,
.legal-section li {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-note {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 20px;
  border-radius: 10px;
  color: var(--color-text-muted);
}

/* Internal page containers alignment fixes (avoid left cut / edge pegado) */
.diag-hero__content {
  max-width: 1180px;
  margin: 0 auto;
}

.diag-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .diag-hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Internal diagnostics title sizing (smaller than home hero, but still premium) */
.diag-hero .diag__title {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 600;
  max-width: 820px;
}

/* Mobile */
@media (max-width: 640px) {
  .diag-hero .diag__title {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1;
  }
}

/* Gracias buttons spacing (avoid overlap / text colliding with buttons) */
.thanks-hero .diag__lead,
.thanks-hero .diag__subtitle {
  margin-bottom: 32px;
}

.thanks-hero .diag__subtitle {
  margin-bottom: 28px;
  color: var(--color-text-muted);
}

.thanks-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===============================
   PREMIUM FOUNDER BRAND (REST OF HOME)
   Overrides visuales sin tocar estructura/copy
   =============================== */

/* ===============================
   FASE 4 (global): Inter manda
   =============================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body) !important;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Asegurar que títulos grandes no hereden serif accidental */
.diag__title,
.diag__h2,
.prog__title,
.prog__h2 {
  font-family: var(--font-body) !important;
}

/* Problema: pensar estratégico, menos “lista normal” */
.problem {
  padding-top: 86px;
  padding-bottom: 86px;
}

.problem__container {
  max-width: 1200px;
}

.problem__content {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.problem__eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.25em;
}

.problem__title {
  margin-bottom: 18px;
  font-size: 62px;
  line-height: 1.0;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.problem__text {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
}

.problem__list {
  gap: 0;
  border-top: 1px solid rgba(42, 42, 42, 0.9);
  padding-top: 8px;
}

.problem__item {
  border: none !important;
  padding: 18px 0 !important;
  grid-template-columns: auto 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(42, 42, 42, 0.75);
}

.problem__number {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: rgba(201, 169, 110, 0.95);
}

.problem__itemText {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Sobre mí: placeholder más “brand presence” */
.about {
  padding-top: 86px;
  padding-bottom: 92px;
}

.about__content {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.about__media {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(12, 12, 12, 0.9));
  border-color: rgba(42, 42, 42, 0.85);
  box-shadow: none;
}

.about__mediaText {
  font-size: 16px;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.about__mediaLabel {
  font-size: 12px;
  opacity: 0.95;
}

.about__eyebrow {
  margin-bottom: 16px;
}

.about__title {
  font-size: 58px;
  line-height: 1.02;
}

.about__text {
  font-size: 17px;
  line-height: 1.75;
}

.about__highlight {
  margin-top: 14px;
  color: var(--color-text);
  font-weight: 400;
}

.about__stats {
  margin-top: 28px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about__stat {
  border-color: rgba(42, 42, 42, 0.75);
  background: transparent;
  padding: 18px 16px;
}

/* Sistema Inly: metodología limpia y premium */
.method {
  padding-top: 86px;
  padding-bottom: 92px;
}

.method__container {
  max-width: 1200px;
}

.method__header {
  margin-bottom: 44px;
}

.method__title {
  font-size: 58px;
  line-height: 1.0;
}

.method__text {
  font-size: 17px;
  max-width: 740px;
  line-height: 1.75;
}

.method__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.method__card {
  min-height: 220px;
  border-color: rgba(42, 42, 42, 0.9);
  padding: 22px;
  transition: border-color 0.2s, background-color 0.2s;
  border-radius: 2px;
}

.method__card:hover {
  border-color: rgba(201, 169, 110, 0.95);
  background: rgba(20, 20, 20, 0.35);
}

.method__number {
  font-size: 18px;
  letter-spacing: 0.26em;
  color: rgba(201, 169, 110, 0.9);
}

.method__card-title {
  font-size: 20px;
  font-weight: 700;
}

.method__card-text {
  font-size: 16.5px;
  line-height: 1.7;
}

.method__closing {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Caso Cristina: más presencia humana */
.case {
  padding-top: 86px;
  padding-bottom: 92px;
}

.case__content {
  gap: 56px;
}

.case__title {
  font-size: 58px;
  line-height: 1.02;
}

.case__text {
  font-size: 17px;
  line-height: 1.75;
}

.case__testimonial {
  padding: 34px 32px;
  border-color: rgba(42, 42, 42, 0.9);
  background: rgba(20, 20, 20, 0.35);
  border-radius: 2px;
}

.case__quote-mark {
  font-size: 64px;
  margin-top: -10px;
}

.case__quote {
  font-size: 19px;
  line-height: 1.75;
  font-weight: 400;
}

.case__author {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}

.case__role {
  font-size: 13px;
  color: var(--color-text-muted);
}

.case__avatar {
  display: none; /* placeholder discreto si no hay foto real */
}

/* Programas: oferta de alto valor */
.programs {
  padding-top: 86px;
  padding-bottom: 92px;
}

.programs__header {
  margin-bottom: 48px;
}

.programs__title {
  font-size: 58px;
  line-height: 1.02;
}

.programs__text {
  font-size: 17px;
  line-height: 1.75;
}

.programs__grid {
  gap: 16px;
}

.programs__card {
  min-height: 320px;
  padding: 26px 22px;
  border-color: rgba(42, 42, 42, 0.9);
  transition: border-color 0.2s, background-color 0.2s;
  border-radius: 2px;
}

.programs__card:hover {
  border-color: rgba(201, 169, 110, 0.95);
  background: rgba(20, 20, 20, 0.25);
}

.programs__card--featured {
  border-color: rgba(201, 169, 110, 0.95);
  background: rgba(20, 20, 20, 0.45);
}

.programs__card-title {
  font-size: 22px;
}

.programs__card-text {
  font-size: 16.5px;
  line-height: 1.7;
}

.programs__meta-item {
  font-size: 14px;
  color: var(--color-neutral);
}

.programs__cta .btn-primary,
.programs__cta .btn-secondary {
  width: fit-content;
  padding-left: 22px;
  padding-right: 22px;
}

/* CTA final: cierre premium, aire y autoridad */
.final-cta {
  padding-top: 96px;
  padding-bottom: 72px;
}

.final-cta__container {
  max-width: 980px;
}

.final-cta__title {
  font-size: 64px;
  line-height: 1.0;
}

.final-cta__text {
  font-size: 17px;
  line-height: 1.75;
}

.final-cta__button .btn-primary {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Footer: limpio, tipografía refinada */
.footer {
  padding-top: 64px;
  padding-bottom: 24px;
}

.footer__brand {
  letter-spacing: 0.14em;
  font-weight: 700;
}

.footer__text {
  font-size: 14.5px;
  line-height: 1.75;
}

.footer__title {
  letter-spacing: 0.08em;
}

.footer__link {
  font-size: 14.5px;
  line-height: 1.8;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--color-gold);
}

/* ===============================
   PREMIUM FOUNDER BRAND (HOME)
   Solo cambios visuales para index.html
   =============================== */

/* --- Navbar premium polish --- */
.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar__logo {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.navbar__cta,
.navbar__cta--mobile {
  border-radius: 6px;
}

/* Make existing button styles more “premium” */
.btn-primary,
.btn-secondary {
  border-radius: 6px;
  letter-spacing: 0.07em;
  font-size: 13px;
  padding: 13px 26px;
}

.btn-primary {
  border-color: rgba(201, 169, 110, 0.45);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.btn-secondary {
  border-color: rgba(201, 169, 110, 0.6);
  transition: border-color 0.2s, color 0.2s;
}

/* --- Hero: stronger presence --- */
.hero__eyebrow {
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: 0.26em;
}

.hero__title {
  margin-bottom: 22px;
  font-size: clamp(56px, 5.8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero__subtitle {
  margin-bottom: 32px;
  font-size: 20px;
  line-height: 1.6;
}

/* Improve hero microcopy spacing */
.hero__microcopy {
  font-size: 14px;
  line-height: 1.45;
}

/* --- Hero placeholder: “brand-ready” --- */
.hero__media-placeholder {
  background: #0E0E0E;
  border-color: rgba(42, 42, 42, 0.9);
  min-height: 520px;
  padding: 30px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__media-placeholder::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 48px;
  height: 1px;
  background: rgba(201, 169, 110, 0.18);
}

.hero__media-placeholder span {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #F0EDE8;
}

.hero__media-placeholder small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #A8A8A8;
  position: relative;
  padding-bottom: 4px;
}

/* Footer subtle separator already exists; keep it clean */
.footer {
  padding-top: 56px;
}

/* --- Sections rhythm: more air, subtle separators --- */
.problem,
.about,
.method,
.case,
.programs,
.final-cta {
  padding-top: 86px;
  padding-bottom: 86px;
}

/* Make problem closer to strategic feel */
.problem__item {
  background: transparent;
  padding-top: 16px;
  padding-bottom: 16px;
}

.problem__itemText {
  font-size: 16.5px;
  line-height: 1.65;
}

.problem__number {
  font-size: 13px;
  letter-spacing: 0.22em;
}

.about__stats,
.method__grid,
.programs__grid {
  gap: 18px;
}

.method__card,
.programs__card,
.case__testimonial {
  border-radius: 2px;
  border-color: rgba(42, 42, 42, 0.9);
}

/* --- Ensure hero buttons look like buttons (not links) --- */
.hero .btn {
  border-radius: 6px;
  text-decoration: none;
}

.hero .btn--primary {
  box-shadow: none;
}

.hero .btn--secondary {
  background: transparent;
}

/* Mobile: keep rhythm clean */
@media (max-width: 900px) {
  .hero__subtitle {
    font-size: 17px;
  }

  .hero__media-placeholder {
    min-height: 420px;
    padding: 22px;
  }

  .problem,
  .about,
  .method,
  .case,
  .programs,
  .final-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ===============================
   HOME HERO RESET (clean, stable)
   =============================== */

/* Kill legacy hero/system/dashboard selectors */
.hero--modern,
.hero__visual,
.hero__photo-placeholder,
.hero__mediaLabel,
.hero__mediaFooter,
.hero__media--systemPanel,
.hero__mediaSystemLabel,
.hero__mediaSystemGrid,
.hero__mediaSystemModule,
.hero__mediaSystemPanelInner,
.hero__mediaSystemAdrianHint,
.hero__mediaSystemModuleState,
.hero__mediaSystemModuleStatus,
.method__moduleLabel,
.method__moduleLabelMain,
.method__moduleTag,
.programs__accessLabel,
.footer__systemLabel,
.label-tech {
  display: none !important;
}

/* Base hero layout */
.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.hero__container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  font-family: Inter, sans-serif;
  color: #C9A96E;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title {
  font-family: Inter, sans-serif !important;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #F0EDE8;
  margin: 0 0 28px;
}

.hero__subtitle {
  font-family: Inter, sans-serif;
  max-width: 620px;
  color: #9A9A9A;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 36px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Buttons inside hero (must not look like underlined links) */
.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
}

.hero .btn--primary {
  background: #C9A96E;
  color: #0A0A0A;
  border-color: #C9A96E;
}

.hero .btn--secondary {
  background: transparent;
  color: #F0EDE8;
  border-color: #2A2A2A;
}

.hero__microcopy {
  color: #A8A8A8;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.hero__media {
  width: 100%;
}

.hero__media-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  min-height: 520px;
  border: 1px solid #2A2A2A;
  background: #101010;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  box-shadow: none;
}

.hero__media-placeholder span {
  font-family: Inter, sans-serif;
  color: #F0EDE8;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__media-placeholder small {
  margin-top: 8px;
  color: #A8A8A8;
  font-size: 14px;
}

/* Hero landing video card (index.html) */
.hero__video-card {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  display: grid;
  gap: 14px;
}

.hero__video-eyebrow {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero__video-title {
  margin: 0;
  font-family: var(--font-body) !important;
  color: var(--color-text);
  font-weight: 650;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero__video-text {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero__video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 110, 0.18);
  background: #101010;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.hero__video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(201, 169, 110, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.hero__video-play {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(10, 10, 10, 0.35);
  z-index: 1;
}

.hero__video-label {
  position: relative;
  z-index: 1;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0;
}

.hero__video-or {
  position: relative;
  z-index: 1;
  color: rgba(240, 237, 232, 0.78);
  font-family: var(--font-body);
  font-size: 12px;
  margin: 8px 0 6px;
  font-weight: 400;
}

.hero__video-label--alt {
  display: none;
}

@media (max-width: 900px) {
  .hero__video-card {
    padding: 22px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .hero__video-title {
    font-size: 20px;
  }

  .hero__video-text {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .hero__video-card {
    padding: 18px;
  }

  .hero__video-title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero__video-frame {
    padding: 14px;
    border-radius: 8px;
  }

  .hero__video-play {
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 72px 0;
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn {
    width: 100%;
  }

  .hero__title {
    font-size: clamp(44px, 12vw, 62px);
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__media-placeholder {
    min-height: 420px;
  }
}

/* =========================================================
   Internal pages system (Modern Founder Brand)
   Fixes: internal pages rendering as “plain HTML”
   Usage: rework internal pages to use:
   - main.page-main
   - .page-hero / .page-hero__container / __content / __panel
   - .page-section / .container / .section-header / .card-grid
   ========================================================= */

/* Navbar overlap safety */
.page-main {
  padding-top: 96px;
}

/* Hero / page top spacing */
.page-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: center;
}

.page-hero__content {
  max-width: 760px;
}

.page-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.page-hero__microcopy {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Typography */
.page-hero__eyebrow,
.section-eyebrow {
  font-family: Inter, sans-serif;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hero__title {
  font-family: Inter, sans-serif;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 28px;
}

.page-hero__text {
  font-family: Inter, sans-serif;
  color: var(--color-text-muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 680px;
  margin: 0 0 34px;
}

/* Hero panel */
.page-hero__panel,
.premium-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 32px;
}

.premium-panel__title {
  font-size: 22px;
  font-weight: 650;
  color: var(--color-text);
  margin: 0 0 22px;
}

.premium-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-list li {
  color: var(--color-text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.premium-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.premium-panel__footer {
  margin-top: 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  opacity: 0.95;
  font-weight: 500;
}

/* Sections */
.page-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--color-border);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-header {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-title {
  font-family: Inter, sans-serif;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 24px;
}

.section-text {
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0;
}

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
}

.info-card__number {
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: inline-block;
}

.info-card__title {
  color: var(--color-text);
  font-size: 22px;
  font-weight: 650;
  margin: 0 0 14px;
}

.info-card__text {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Number lists */
.number-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.number-list__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.number-list__number {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.number-list__text {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

/* Responsive for internal pages */
@media (max-width: 900px) {
  .page-hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .number-list__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .page-section {
    padding: 72px 0;
  }

  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===========================
   MOBILE FIXES (fuertes, un solo bloque)
   Objetivo iPhone 390/430:
   - anti-overflow horizontal
   - menú móvil debajo del navbar (sin tapar hero)
   - títulos/hero internos menos gigantes (headlines que no cortan)
   - Sobre mí en 1 columna
   - grids/cards apiladas
   - diagnóstico headline y formulario sin corte
   =========================== */

@media (max-width: 900px) {
  /* 1) BASE GLOBAL ANTI-OVERFLOW */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

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

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

  body {
    position: relative;
  }

  /* Reforzar anti-overflow en elementos “flex/grids” típicos */
  .navbar__mobileMenu,
  .navbar__mobileMenuInner,
  .navbar__mobileLinks,
  .hero__container,
  .page-hero__container,
  .about__content,
  .about__stats,
  .card-grid,
  .stats-grid,
  .form-grid,
  .diag-bullets,
  .diag-blocks,
  .diag-timeline,
  .diag-hero__content,
  .case__content {
    min-width: 0;
    max-width: 100%;
  }

  /* 2) CONTENEDORES MOBILE */
  .container,
  .hero__container,
  .page-hero__container,
  .section__container,
  .site-footer__container,
  .footer__container,
  .diag-section__container,
  .diag-hero__content {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
  }

  /* 3) MENÚ MOBILE: debajo del navbar y sin overlay feo sobre hero */
  /* En este proyecto el navbar es fijo y el menú es: .navbar__mobileMenu */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg);
    border-bottom: 0.5px solid var(--color-border);
  }

  .navbar__desktop {
    display: none !important;
  }

  .navbar__hamburger {
    display: inline-flex !important;
    margin-left: auto;
    z-index: 1002;
  }

  .navbar__mobileMenu {
    display: none !important;
    width: 100%;
    background: var(--color-bg); /* fondo sólido */
    border-bottom: 0.5px solid var(--color-border);
    position: absolute;
    top: 100%; /* justo debajo del navbar fijo */
    left: 0;
    right: 0;
    z-index: 1001;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Estado abierto: mantener el mismo wrapper, pero sin tapar el hero */
  .navbar--open .navbar__mobileMenu {
    display: block !important;
  }

  .navbar__mobileMenuInner {
    padding: 20px 24px 28px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .navbar__mobileLinks {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 100%;
  }

  .navbar__mobileLinks a {
    width: 100%;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .navbar__cta--mobile {
    width: 100%;
    margin-top: 6px;
    text-align: center;
  }

  /* Asegura que el botón del menú no use estilos raros */
  .navbar__mobileMenu .btn-primary,
  .navbar__mobileMenu .btn-secondary {
    width: 100% !important;
    display: inline-flex;
    justify-content: center;
  }

  /* 4) HERO HOME MOBILE: títulos y layout limpio */
  .hero {
    min-height: auto;
    padding-top: 64px; /* reduce el “salto” por el navbar fijo */
    padding-bottom: 72px;
  }

  .hero__container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero__content,
  .hero__media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    margin-bottom: 24px;
  }

  .hero__title {
    font-size: clamp(40px, 11vw, 52px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero__subtitle {
    font-size: 17px;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 32px;
    overflow-wrap: break-word;
  }

  .hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    max-width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    max-width: 100%;
  }

  .hero__microcopy {
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero__media-placeholder {
    width: 100%;
    min-height: 420px;
    aspect-ratio: 4 / 5;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  /* 5) PAGE HERO MOBILE (internas + diagnóstico headline) */
  .page-main {
    padding-top: 0;
  }

  .page-hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .page-hero__container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 36px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-hero__content,
  .page-hero__panel,
  .premium-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    margin-bottom: 22px;
  }

  .page-hero__title {
    font-size: clamp(40px, 10.5vw, 52px) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .page-hero__text {
    font-size: 17px;
    line-height: 1.55;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }

  .page-hero__actions .btn {
    width: 100%;
    max-width: 100%;
  }

  /* 6) SOBRE MÍ: forzar 1 columna + orden foto arriba */
  .about,
  .about-section {
    overflow: hidden;
  }

  .about__content,
  .about__grid,
  .about-grid,
  .about__container,
  .about-section__grid,
  .about__stats {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Si el HTML tiene media antes que content: order no rompe, solo refuerza */
  .about__media {
    order: -1;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .about__title {
    font-size: clamp(36px, 10.5vw, 50px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.05em !important;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .about__text {
    font-size: 17px;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .about__stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about__stat {
    width: 100%;
    max-width: 100%;
    padding: 22px;
    min-width: 0;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  /* 7) GRIDS/CARDS: 1 columna + sin min-width que genere scroll */
  .two-column,
  .problem__grid,
  .method__grid,
  .program__grid,
  .program-grid,
  .card-grid,
  .stats-grid,
  .legal-grid,
  .form-grid,
  .page-grid,
  .split-layout,
  .problem__content,
  .method__content,
  .programs__grid,
  .programs__content,
  .card-grid,
  .diag-bullets,
  .diag-blocks,
  .diag-timeline,
  .diag-hero__content,
  .case__content {
    grid-template-columns: 1fr !important;
  }

  /* Forzar tarjetas a no crear overflow */
  .card,
  .info-card,
  .method-card,
  .program-card,
  .stat-card,
  .legal-card,
  .programs__card,
  .method__card,
  .case__testimonial,
  .diag-block,
  .diag-step,
  .diag-bullet,
  .diag-field {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* 8) TITULARES DE SECCIÓN */
  .section,
  .page-section,
  .diag-hero,
  .diag-section,
  .problem,
  .about,
  .method,
  .case,
  .programs,
  .final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-header {
    margin-bottom: 36px;
    max-width: 100%;
  }

  .section-title,
  .problem__title,
  .method__title,
  .programs__title,
  .final-cta__title {
    font-size: clamp(32px, 9.6vw, 46px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .section-text,
  .problem__text,
  .method__text,
  .programs__text {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* 9) FORMULARIO DIAGNÓSTICO: 1 columna y sin corte */
  .diagnostic-form,
  .diag-form__form,
  .diag-form__grid,
  .diagnostic-form .diag-form__grid,
  .form-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .diag-field,
  .diag-field--full {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .diag-field__input,
  .diag-field__textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  textarea {
    min-height: 140px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .diag-form__actions {
    justify-content: center;
  }

  .diag-form__actions .btn-primary {
    width: 100%;
  }

  /* 10) BOTONES SIN SUBRAYADO + full width */
  .btn,
  .btn:visited,
  .btn:hover,
  .btn:focus {
    text-decoration: none !important;
    white-space: normal;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  /* 11) FOOTER MOBILE */
  .site-footer__container,
  .footer__container {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .site-footer__columns,
  .footer__columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  /* 12) ELIMINAR CAUSAS DE OVERFLOW (min-width) */
  .hero__content,
  .hero__media,
  .page-hero__content,
  .page-hero__panel,
  .section-header,
  .card,
  .info-card,
  .programs__card,
  .method__card,
  .about__content,
  .about__media {
    min-width: 0;
    max-width: 100%;
  }

  .navbar__mobileMenu,
  .navbar__mobileMenuInner,
  .navbar__mobileLinks {
    overflow-x: hidden;
  }
}

/* Ajustes extra para iPhone 390/430: menos tamaño de títulos y padding */
@media (max-width: 430px) {
  /* Contenedores */
  .container,
  .hero__container,
  .page-hero__container,
  .section__container,
  .site-footer__container,
  .footer__container,
  .diag-section__container,
  .diag-hero__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Menú */
  .navbar__mobileMenuInner {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Títulos (evitar cortes/overflow por tamaño excesivo) */
  .hero__title {
    font-size: clamp(36px, 11vw, 46px) !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
  }

  .page-hero__title {
    font-size: clamp(34px, 10.5vw, 44px) !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
  }

  .diag-hero .diag__title {
    font-size: clamp(38px, 12vw, 52px) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
  }
}

/* HERO VIDEO-FIRST (index.html) - convertir hero en landing vertical sin rediseñar el resto */
/* Desktop: texto centrado arriba, bloque de vídeo protagonista, CTAs y microcopy debajo */
.hero--video-first {
  min-height: auto;
  padding: 96px 0 112px;
}

.hero__container--video-first {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.hero__intro {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 56px;
}

.hero--video-first .hero__title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-align: center;
}

.hero--video-first .hero__subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero__video-main {
  width: 100%;
  max-width: 980px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 32px;
  box-sizing: border-box;
}

.hero__video-header {
  max-width: 720px;
  margin-bottom: 24px;
}

.hero--video-first .hero__video-eyebrow {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero--video-first .hero__video-title {
  color: var(--color-text);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}

.hero--video-first .hero__video-text {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
  max-width: 720px;
}

.hero--video-first .hero__video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: linear-gradient(
      180deg,
      rgba(201, 169, 110, 0.1),
      rgba(10, 10, 10, 0.15)
    ),
    #0a0a0a;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px;
  overflow: hidden;
}

.hero--video-first .hero__video-play {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.45);
  background: rgba(10, 10, 10, 0.35);
  font-size: 18px;
}

.hero--video-first .hero__video-label {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0;
  z-index: 1;
  position: relative;
}

/* Asegurar que no aparezca texto “O” si quedara algún elemento */
.hero--video-first .hero__video-or {
  display: none !important;
}

.hero__actions--center {
  justify-content: center;
  margin-bottom: 22px;
  width: 100%;
  max-width: 980px;
  box-sizing: border-box;
}

.hero__microcopy--center {
  text-align: center;
  max-width: 980px;
  width: 100%;
}

/* Mobile: mantener jerarquía vertical (texto -> vídeo -> CTAs -> microcopy) */
@media (max-width: 900px) {
  .hero--video-first {
    padding: 64px 0 80px;
  }

  .hero__container--video-first {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__intro {
    text-align: left;
    max-width: 100%;
    margin-bottom: 36px;
  }

  .hero--video-first .hero__eyebrow {
    text-align: left;
  }

  .hero--video-first .hero__title {
    text-align: left;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1;
    letter-spacing: -0.055em;
    max-width: 100%;
  }

  .hero--video-first .hero__subtitle {
    text-align: left;
    font-size: 17px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero__video-main {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 28px;
  }

  .hero--video-first .hero__video-title {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.08;
  }

  .hero--video-first .hero__video-frame {
    aspect-ratio: 16 / 10;
    padding: 20px;
  }

  .hero--video-first .hero__video-play {
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }

  .hero__actions--center {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
  }

  .hero__actions--center .btn {
    width: 100%;
  }

  .hero__microcopy--center {
    text-align: left;
  }
}

/* -------------- Existing file continues -------------- */
@media (max-width: 768px) {
  /* Ajustes de legibilidad extra en pantallas pequeñas */
  .footer {
    padding-top: 56px;
    padding-bottom: 32px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .thanks-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thanks-hero__actions .btn-primary,
  .thanks-hero__actions .btn-secondary {
    width: 100%;
  }
}
