/* MS Capital — Propuesta 2
   Diseño independiente para revisión local.
*/

:root {
  --ink: #08111f;
  --ink-soft: #112239;
  --paper: #f4f5f7;
  --white: #ffffff;
  --blue: #145cff;
  --blue-dark: #0b2f82;
  --green: #87c93e;
  --orange: #ff6a17;
  --cyan: #52cde1;
  --muted: #657284;
  --line: #dce1e7;
  --shadow: 0 24px 70px rgba(8, 17, 31, .12);
  --radius: 24px;
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  transition: top .2s ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 14px 4vw;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  transition:
    min-height .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.site-header.scrolled {
  min-height: 68px;
  background: rgba(8, 17, 31, .92);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 18px;
  letter-spacing: .05em;
}

.brand small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .28em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, .82);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--cyan);
  transition: right .2s ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-button {
  justify-self: end;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.header-button:hover {
  background: var(--white);
  color: var(--ink);
}

.menu-button,
.mobile-nav {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 4vw 82px;
  color: var(--white);
  background: var(--ink);
}

.hero-background,
.hero-grid,
.hero-glow,
.hero-architecture,
.hero-line {
  position: absolute;
  pointer-events: none;
}

.hero-background {
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgba(20, 92, 255, .25), transparent 25%),
    radial-gradient(circle at 16% 75%, rgba(82, 205, 225, .11), transparent 25%),
    linear-gradient(125deg, #07101d 0%, #0a1728 48%, #07101d 100%);
}

.hero-grid {
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.3), #000 55%, transparent);
}

.hero-glow {
  right: 5vw;
  top: 18%;
  width: min(44vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(20,92,255,.38), rgba(20,92,255,.10) 38%, transparent 68%);
  filter: blur(6px);
}

.hero-architecture {
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 50px 100px rgba(0,0,0,.25);
}

.architecture-one {
  right: -8vw;
  top: 13%;
  width: 48vw;
  height: 62vh;
  transform: perspective(1000px) rotateY(-19deg) rotateZ(-2deg);
  clip-path: polygon(13% 0, 100% 0, 100% 74%, 58% 100%, 0 82%, 0 18%);
}

.architecture-two {
  right: 14vw;
  bottom: -19%;
  width: 36vw;
  height: 54vh;
  transform: perspective(1000px) rotateY(18deg) rotateZ(10deg);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.06) 0 1px,
      transparent 1px 58px
    ),
    linear-gradient(145deg, rgba(20,92,255,.19), rgba(255,255,255,.01));
  clip-path: polygon(8% 0, 82% 0, 100% 28%, 88% 100%, 0 86%, 0 20%);
}

.hero-line {
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.line-one {
  top: 31%;
  right: -5%;
  width: 42%;
  transform: rotate(-17deg);
}

.line-two {
  bottom: 23%;
  right: -3%;
  width: 35%;
  transform: rotate(11deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 62vw);
}

.kicker {
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kicker.dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(54px, 6.7vw, 112px);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .96;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero-intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(17px, 1.25vw, 21px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition:
    transform .18s ease,
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(20, 92, 255, .30);
}

.button-primary:hover {
  background: #3474ff;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .03);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-trust div {
  padding: 22px 22px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-trust div + div {
  padding-left: 22px;
}

.hero-trust div:last-child {
  border-right: 0;
}

.hero-trust strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hero-trust span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.scroll-indicator {
  position: absolute;
  right: 4vw;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, .64);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-indicator i {
  position: relative;
  width: 45px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .24);
}

.scroll-indicator i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-100%);
  animation: scrollLine 2.1s ease-in-out infinite;
}

@keyframes scrollLine {
  50%, 100% {
    transform: translateX(100%);
  }
}

/* SOLUTION SELECTOR */

.solution-selector {
  padding: 110px 4vw 120px;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  column-gap: 7vw;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 58px;
}

.section-heading .kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.advisors-intro h2,
.method-heading h2,
.trust-content h2,
.choose-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 86px);
  font-weight: 820;
  letter-spacing: -.055em;
  line-height: 1;
}

.section-heading > p:not(.kicker) {
  max-width: 540px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(8, 17, 31, .06);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.solution-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  opacity: .10;
}

.solution-health::before {
  background: var(--blue);
}

.solution-patrimony::before {
  background: var(--green);
}

.solution-future::before {
  background: var(--orange);
}

.solution-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.solution-health .solution-icon {
  color: var(--blue);
  background: rgba(20, 92, 255, .10);
}

.solution-patrimony .solution-icon {
  color: #589514;
  background: rgba(135, 201, 62, .15);
}

.solution-future .solution-icon {
  color: var(--orange);
  background: rgba(255, 106, 23, .13);
}

.solution-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-number {
  position: absolute;
  top: 32px;
  right: 30px;
  color: #9aa5b2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.solution-label {
  margin: 34px 0 8px !important;
  color: var(--muted);
  font-size: 9px !important;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.solution-card h3 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 42px);
  letter-spacing: -.045em;
  line-height: 1.03;
}

.solution-card > p:not(.solution-label) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.solution-card ul {
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  margin: 10px 0;
  padding-left: 20px;
  font-size: 14px;
}

.solution-card li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 8px;
  height: 2px;
  background: currentColor;
}

.solution-owner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.solution-owner span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solution-owner strong {
  font-size: 16px;
}

.card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.card-link span {
  font-size: 19px;
  transition: transform .18s ease;
}

.card-link:hover span {
  transform: translate(3px, -3px);
}

/* CLARITY */

.clarity-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 6vw;
  min-height: 760px;
  align-items: center;
  padding: 105px 4vw;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 92, 255, .14), transparent 50%),
    var(--ink);
}

.clarity-copy {
  max-width: 590px;
}

.clarity-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.8vw, 92px);
  font-weight: 820;
  letter-spacing: -.06em;
  line-height: .96;
}

.clarity-copy > p:not(.kicker) {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 17px;
}

.clarity-visual {
  position: relative;
  min-height: 520px;
}

.clarity-visual svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(100%, 620px);
  transform: translate(-50%, -50%);
}

.clarity-visual path {
  fill: none;
  stroke: rgba(255, 255, 255, .26);
  stroke-width: 1.4;
  stroke-dasharray: 5 8;
}

.clarity-center,
.clarity-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.clarity-center {
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .05);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.clarity-node {
  width: 126px;
  height: 126px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: var(--ink-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .26);
}

.clarity-node span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
}

.clarity-node strong {
  margin-top: -23px;
  font-size: 15px;
}

.node-health {
  left: 7%;
  top: 7%;
  color: #8aaeff;
}

.node-patrimony {
  right: 5%;
  top: 5%;
  color: #b2e67b;
}

.node-future {
  left: 58%;
  bottom: 2%;
  color: #ff9d67;
}

/* ADVISORS */

.advisors-section {
  padding: 115px 4vw 120px;
  background: var(--white);
}

.advisors-intro {
  max-width: var(--max);
  margin: 0 auto 58px;
}

.advisors-intro h2 {
  max-width: 930px;
}

.advisor {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  min-height: 680px;
  max-width: var(--max);
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: 28px;
}

.advisor-photo {
  min-height: 600px;
  overflow: hidden;
  background: #d9dee6;
}

.advisor-photo picture,
.advisor-photo img {
  width: 100%;
  height: 100%;
}

.advisor-photo img {
  object-fit: cover;
  object-position: 50% 19%;
  transition: transform .6s ease;
}

.advisor:hover .advisor-photo img {
  transform: scale(1.025);
}

.advisor-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 82px);
}

.advisor-health {
  background: var(--blue);
  color: var(--white);
}

.advisor-patrimony {
  background: #c7eb9e;
  color: var(--ink);
}

.advisor-future {
  background: #ffe1d1;
  color: var(--ink);
}

.advisor-area {
  margin: 0 0 28px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.advisor-content h3 {
  margin: 0;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 840;
  letter-spacing: -.07em;
  line-height: .88;
}

.advisor-lead {
  max-width: 650px;
  margin: 28px 0 12px !important;
  font-size: clamp(20px, 1.8vw, 27px) !important;
  font-weight: 750;
  line-height: 1.22;
}

.advisor-content > p:not(.advisor-area, .advisor-lead) {
  max-width: 660px;
  margin: 0;
  opacity: .75;
  font-size: 16px;
}

.advisor-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.advisor-points span {
  padding: 9px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.advisor-health .advisor-points span {
  border-color: rgba(255, 255, 255, .4);
}

.advisor-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.advisor-button {
  background: var(--ink);
  color: var(--white);
}

.advisor-health .advisor-button {
  background: var(--white);
  color: var(--blue-dark);
}

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* METHOD */

.method-section {
  padding: 110px 4vw 120px;
  background: var(--paper);
}

.method-heading {
  max-width: 880px;
  margin: 0 auto 65px;
  text-align: center;
}

.method-heading .kicker {
  color: var(--blue);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.method-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(8, 17, 31, .05);
}

.method-card > span {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #a5afba;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.method-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(20, 92, 255, .08);
}

.method-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-card h3 {
  margin: 65px 0 12px;
  font-size: 26px;
  letter-spacing: -.03em;
}

.method-card p {
  margin: 0;
  color: var(--muted);
}

/* TRUST */

.trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 820px;
  color: var(--white);
  background: var(--ink);
}

.trust-image {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    linear-gradient(140deg, transparent 35%, rgba(20, 92, 255, .14)),
    #0c192a;
}

.trust-image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.trust-building {
  position: absolute;
  inset: 18% 10% -10% 10%;
  transform: perspective(1000px) rotateY(-10deg);
}

.trust-building > div {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(140deg, rgba(255,255,255,.07), rgba(255,255,255,.01));
  box-shadow: 0 35px 100px rgba(0, 0, 0, .30);
}

.trust-building > div:nth-child(1) {
  left: 6%;
  top: 16%;
  width: 50%;
  height: 70%;
  clip-path: polygon(0 18%, 82% 0, 100% 100%, 10% 86%);
}

.trust-building > div:nth-child(2) {
  right: 4%;
  top: 3%;
  width: 48%;
  height: 80%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 50px),
    linear-gradient(140deg, rgba(20,92,255,.25), rgba(255,255,255,.02));
  clip-path: polygon(8% 0, 100% 13%, 87% 100%, 0 83%);
}

.trust-building > div:nth-child(3) {
  left: 30%;
  bottom: 0;
  width: 58%;
  height: 32%;
  background: rgba(82, 205, 225, .08);
  clip-path: polygon(0 31%, 100% 0, 86% 100%, 10% 88%);
}

.trust-content {
  align-self: center;
  padding: 95px 7vw;
}

.trust-content h2 {
  max-width: 700px;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.trust-list article {
  min-height: 165px;
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.trust-list article:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.trust-list article:nth-child(even) {
  padding-left: 22px;
}

.trust-list strong {
  font-size: 17px;
}

.trust-list p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .57);
  font-size: 14px;
}

/* CHOOSE */

.choose-section {
  padding: 115px 4vw 125px;
  background: var(--white);
}

.choose-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  column-gap: 6vw;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 55px;
}

.choose-heading .kicker {
  grid-column: 1 / -1;
}

.choose-heading > p:not(.kicker) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.choose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
  border-radius: 22px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.choose-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.choose-card span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.choose-card strong {
  max-width: 330px;
  margin-top: auto;
  font-size: clamp(28px, 2.8vw, 43px);
  letter-spacing: -.05em;
  line-height: 1;
}

.choose-card i {
  margin-top: 24px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.choose-health {
  background: #dfe8ff;
  color: var(--blue-dark);
}

.choose-patrimony {
  background: #dff2c8;
  color: #294a08;
}

.choose-future {
  background: #ffe5d7;
  color: #8d3405;
}

/* FOOTER */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  padding: 52px 4vw 34px;
  color: var(--white);
  background: #050b13;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 20px;
  letter-spacing: .04em;
}

.footer-brand span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .50);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-note {
  display: flex;
  align-items: flex-end;
  gap: 25px;
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-note p {
  margin: 0;
}

.footer-note a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.site-footer small {
  grid-column: 1 / -1;
  max-width: 980px;
  color: rgba(255, 255, 255, .38);
}

/* MOTION */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* TABLET */

@media (max-width: 1120px) {
  .desktop-nav,
  .header-button {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    background: rgba(8, 17, 31, .55);
    color: var(--white);
  }

  .menu-button span {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    padding: 10px 4vw 20px;
    background: rgba(8, 17, 31, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    transform: translateY(-140%);
    transition: transform .24s ease;
  }

  .site-header.scrolled .mobile-nav {
    top: 68px;
  }

  .mobile-nav.open {
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 12px;
    font-weight: 800;
  }

  .hero-content {
    width: min(780px, 72vw);
  }

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

  .solution-card {
    min-height: auto;
  }

  .clarity-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .clarity-copy {
    max-width: 760px;
  }

  .clarity-visual {
    min-height: 560px;
  }

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

  .method-steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-image {
    min-height: 620px;
  }

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

  .choose-card {
    min-height: 230px;
  }
}

/* MOBILE */

@media (max-width: 740px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    min-height: 930px;
    align-items: start;
    padding: 122px 20px 80px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .hero-trust div,
  .hero-trust div + div {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .hero-trust strong {
    font-size: 25px;
  }

  .hero-trust span {
    margin: 0;
  }

  .architecture-one {
    right: -40vw;
    top: 48%;
    width: 110vw;
    height: 44vh;
  }

  .architecture-two {
    right: -13vw;
    bottom: -15%;
    width: 88vw;
    height: 38vh;
  }

  .hero-glow {
    right: -30vw;
    top: 48%;
    width: 100vw;
  }

  .scroll-indicator {
    display: none;
  }

  .solution-selector,
  .clarity-section,
  .advisors-section,
  .method-section,
  .choose-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading,
  .choose-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading h2,
  .advisors-intro h2,
  .method-heading h2,
  .trust-content h2,
  .choose-heading h2 {
    font-size: clamp(42px, 12vw, 65px);
  }

  .solution-card {
    min-height: 580px;
    padding: 25px;
  }

  .clarity-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .clarity-copy h2 {
    font-size: clamp(44px, 13vw, 70px);
  }

  .clarity-visual {
    min-height: 470px;
  }

  .clarity-center {
    width: 120px;
    height: 120px;
  }

  .clarity-node {
    width: 105px;
    height: 105px;
  }

  .node-health {
    left: -2%;
  }

  .node-patrimony {
    right: -2%;
  }

  .node-future {
    left: 53%;
  }

  .advisor,
  .advisor-patrimony {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .advisor-patrimony .advisor-content {
    order: 2;
  }

  .advisor-photo {
    min-height: 500px;
    height: 500px;
  }

  .advisor-content {
    padding: 38px 25px 44px;
  }

  .advisor-content h3 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .advisor-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .advisor-button {
    width: 100%;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 300px;
  }

  .trust-image {
    min-height: 480px;
  }

  .trust-content {
    padding: 80px 20px;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list article,
  .trust-list article:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .choose-card {
    min-height: 255px;
    padding: 25px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .footer-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
/* Jerarquía visual: Tere, Alfredo Moya Silva, Alfredo Moya Santos. */
:root { --max: 1320px; }
section[id], article[id], div[id] { scroll-margin-top: 95px; }
.site-header { background: rgba(8,17,31,.85); }
.desktop-nav { gap: 24px; }
.hero { grid-template-columns: 1fr; min-height: 100svh; padding: 150px 6vw 95px; }
.hero-content { width: min(950px, 78vw); }
.hero h1 { font-size: clamp(52px,6.2vw,100px); line-height: 1; }
.hero h1 span { margin-top: 16px; }
.hero-intro { max-width: 670px; }
.hero-trust { margin-top: 36px; }
.hero-trust strong { font-size: clamp(19px,1.8vw,28px); }
.hero-trust span { color: rgba(255,255,255,.75); }
.solution-grid { grid-template-columns: 1.15fr .85fr; }
.solution-health { border: 2px solid var(--blue); }
.solution-health h3 { font-size: clamp(32px,3.4vw,50px); }
.solution-future { box-shadow: none; }
.solution-patrimony { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 64px 1fr 1fr; gap: 14px 30px; align-items: center; padding: 24px 30px; box-shadow: none; background: #f9fafb; }
.solution-patrimony .solution-label { grid-column: 2; margin: 0 !important; }
.solution-patrimony h3 { grid-column: 2; font-size: 27px; }
.solution-patrimony .solution-icon { grid-row: 1 / 3; }
.solution-patrimony > p:not(.solution-label) { grid-column: 2; margin: 0; font-size: 14px; }
.solution-patrimony ul { display: none; }
.solution-patrimony .solution-owner { grid-column: 3; grid-row: 1 / 3; padding: 0; border: 0; }
.solution-patrimony .card-link { grid-column: 3; }
.solution-patrimony .solution-number { display: none; }
.clarity-section { min-height: 0; grid-template-columns: 1.2fr .8fr; padding: 80px 6vw; }
.clarity-copy { max-width: 700px; }
.clarity-copy h2 { font-size: clamp(40px,4.2vw,66px); }
.clarity-contact { border-left: 1px solid #ffffff35; padding: 25px 0 25px 4vw; }
.clarity-contact > span { color: var(--cyan); font-size: 10px; letter-spacing: .14em; }
.clarity-contact h3 { font-size: 32px; line-height: 1.2; letter-spacing: -.03em; }
.clarity-contact .text-link { display: block; width: max-content; margin-top: 20px; }
.advisor-health { min-height: 640px; }
.advisor-health .advisor-full-name { margin-top: 18px !important; opacity: 1 !important; letter-spacing: .04em; }
.team-heading { max-width: var(--max); margin: 75px auto 28px; }
.team-heading h2 { margin: 0; font-size: clamp(30px,3.2vw,48px); letter-spacing: -.045em; line-height: 1.1; }
.team-heading > p:last-child { color: var(--muted); }
.advisor-future { min-height: 450px; grid-template-columns: minmax(220px,.65fr) minmax(0,1.35fr); background: #fff0e7; }
.advisor-future .advisor-photo { min-height: 450px; }
.advisor-future .advisor-content { padding: 42px; }
.advisor-future h3 { font-size: clamp(36px,4vw,62px); line-height: 1; }
.advisor-future .advisor-lead { font-size: 21px !important; }
.advisor-future .advisor-area { margin-bottom: 18px; }
.advisor-patrimony { min-height: 0; grid-template-columns: minmax(0,1fr) 180px; background: #f4f5f7; border: 1px solid var(--line); border-radius: 18px; }
.advisor-patrimony .advisor-content { padding: 30px 36px; }
.advisor-patrimony .advisor-area { margin-bottom: 14px; color: var(--muted); font-size: 9px; }
.advisor-patrimony h3 { font-size: 29px; letter-spacing: -.035em; line-height: 1.1; }
.advisor-patrimony .advisor-lead { font-size: 17px !important; margin: 14px 0 10px !important; }
.advisor-patrimony .advisor-content > p:not(.advisor-area,.advisor-lead) { font-size: 14px; }
.advisor-patrimony .advisor-photo { min-height: 0; height: 100%; }
.advisor-patrimony .advisor-points { display: none; }
.advisor-patrimony .advisor-actions { margin-top: 22px; }
.advisor-patrimony .advisor-button { min-height: 42px; padding: 10px 0; border-radius: 0; background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); }
.choose-grid { grid-template-columns: 1.2fr .8fr; }
.choose-health { min-height: 270px; }
.choose-future { min-height: 270px; background: #fff0e7; }
.choose-patrimony { grid-column: 1 / -1; min-height: 100px; background: #f4f5f7; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 25px 30px; }
.choose-patrimony strong { font-size: 23px; margin: 0; }
.choose-patrimony i { margin-left: auto; margin-top: 0; }
.choose-patrimony span { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.mobile-nav:not(.open) { visibility: hidden; }
.mobile-nav.open { visibility: visible; }
/* Content remains readable with JavaScript disabled. */
.reveal { opacity: 1; transform: none; }
@media (max-width: 1120px) {
  .hero { padding-inline: 4vw; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .choose-grid { grid-template-columns: 1.2fr .8fr; }
}
@media (max-width: 740px) {
  .hero { grid-template-columns: 1fr; min-height: 100svh; padding: 125px 20px 65px; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(43px,11.8vw,68px); }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-trust div, .hero-trust div + div { display: block; padding: 16px 8px 16px 0; }
  .hero-trust div:last-child { grid-column: 1 / -1; }
  .hero-trust span { margin-top: 8px; }
  .solution-selector, .advisors-section, .method-section, .choose-section { padding-top: 70px; padding-bottom: 70px; }
  .solution-grid, .choose-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
  .solution-patrimony { grid-template-columns: 1fr; gap: 14px; padding: 25px; }
  .solution-patrimony .solution-label, .solution-patrimony h3, .solution-patrimony > p:not(.solution-label), .solution-patrimony .solution-owner, .solution-patrimony .card-link { grid-column: auto; grid-row: auto; }
  .solution-patrimony .solution-icon { grid-row: auto; width: 48px; height: 48px; }
  .solution-patrimony h3 { font-size: 27px; }
  .solution-patrimony .solution-owner { padding-top: 14px; }
  .clarity-section { grid-template-columns: 1fr; padding: 65px 20px; gap: 30px; }
  .clarity-contact { padding: 30px 0 0; border-left: 0; border-top: 1px solid #ffffff35; }
  .advisor-health { min-height: 0; }
  .advisor-health .advisor-photo { height: 440px; min-height: 0; }
  .advisor-future { grid-template-columns: 1fr; min-height: 0; }
  .advisor-future .advisor-photo { height: 360px; min-height: 0; }
  .advisor-future .advisor-content { padding: 32px 25px; }
  .advisor-patrimony { grid-template-columns: 1fr; }
  .advisor-patrimony .advisor-content { order: 0; padding: 25px; }
  .advisor-patrimony .advisor-photo { display: none; }
  .choose-card { min-height: 220px; }
  .choose-patrimony { min-height: 150px; padding: 25px; }
  .choose-patrimony i { margin-left: 0; }
  .choose-patrimony strong { font-size: 23px; }
}

