/* ============================================
   MSFinital Capital Management
   ============================================ */

:root {
  --brand: #023838;
  --brand-600: #03504f;
  --orange: #FDB465;
  --beige: #DFCFAB;
  --cream: #FFF7EC;
  --cream-2: #FBEFD8;
  --text: #2a2018;
  --text-light: #7a7060;
  --line: rgba(42, 32, 24, 0.12);
  --shadow-sm: 0 2px 10px rgba(2, 56, 56, 0.06);
  --shadow: 0 20px 60px -20px rgba(2, 56, 56, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ---------- Typography ---------- */
.display,
.h2,
h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand);
  line-height: 1.08;
  margin: 0 0 .4em;
}
.display {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
}
.display em {
  font-style: italic;
  color: var(--brand);
  position: relative;
  background: linear-gradient(180deg, transparent 62%, rgba(253,180,101,.5) 62%, rgba(253,180,101,.5) 92%, transparent 92%);
  padding: 0 .05em;
}
.h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.h2--light { color: var(--cream); }
h3 { font-size: 1.35rem; color: var(--brand); }
h4 { font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--brand); margin: 0 0 .4em; }
h5 { font-family: "DM Sans", sans-serif; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 1rem; }
p { margin: 0 0 1em; color: var(--text); }
.lead { font-size: 1.12rem; color: var(--text-light); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 1.2rem;
  background: rgba(255,255,255,.5);
}
.eyebrow--light {
  color: var(--orange);
  border-color: rgba(253,180,101,.4);
  background: rgba(255,255,255,.04);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--brand);
  color: var(--cream);
  box-shadow: 0 10px 30px -10px rgba(2,56,56,.5);
}
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: var(--cream); }
.btn--sm { padding: .7rem 1.25rem; font-size: .9rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.6rem 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 247, 236, 0.92);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 1rem 0;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: .7rem;
  transition: opacity .3s var(--ease);
}
.nav__brand:hover { opacity: .78; }
.nav__brand-mark { height: 54px; width: auto; display: block; }
.nav__brand-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brand);
  letter-spacing: -0.005em;
  line-height: 1;
}
.nav__brand-ms {
  font-weight: 400;
  margin-right: .35em;
}
.nav.is-scrolled .nav__brand-mark { height: 46px; }
.nav.is-scrolled .nav__brand-text { font-size: 1.5rem; }
.nav__links a:not(.btn) { font-size: 1rem; }
@media (max-width: 520px) {
  .nav__brand-mark { height: 40px; }
  .nav__brand-text { font-size: 1.3rem; }
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color .2s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--brand); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--brand); transition: transform .3s, opacity .3s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(253,180,101,.28), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(223,207,171,.5), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 920px; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__stats {
  display: flex; align-items: center; gap: 2.2rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.hero__stats strong {
  font-family: "DM Serif Display", serif;
  font-size: 2.4rem; color: var(--brand); display: block; line-height: 1;
}
.hero__stats span { font-size: .88rem; color: var(--text-light); }
.hero__stat-div { width: 1px; height: 38px; background: var(--line); }
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid var(--brand); border-radius: 20px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--brand); border-radius: 3px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: .3; }
}

/* ---------- VALUES STRIP ---------- */
.values {
  background: var(--brand);
  color: var(--cream);
  padding: 1.6rem 0;
}
.values__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.values__item {
  display: flex; align-items: center; gap: .7rem;
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
  color: var(--cream);
}
.values__item span {
  font-family: "DM Sans", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--orange);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.section--alt { background: var(--cream-2); }
.section--dark { background: var(--brand); color: var(--cream); }
.section--dark p { color: rgba(255,247,236,.8); }

.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- GRID 2 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.grid-2--reverse > *:first-child { order: 2; }
.grid-2--reverse > *:last-child { order: 1; }

.image-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/6;
  background: var(--beige);
}
.image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease);
}
.image-frame:hover img { transform: scale(1.03); }
.image-frame--tall { aspect-ratio: 4/5; }
.image-frame--wide { aspect-ratio: 16/10; }

.quote {
  margin: 2rem 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--orange);
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 1.22rem;
  color: var(--brand);
  background: rgba(253,180,101,.08);
  border-radius: 0 12px 12px 0;
}

/* ---------- CARDS 3 ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  position: relative;
  padding: 2.4rem 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.section--alt .card { background: var(--cream); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(253,180,101,.4);
}
.card__num {
  font-family: "DM Serif Display", serif;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: .6rem;
}
.card--flat { background: var(--cream); }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--text-light); }
.card__list {
  margin-top: 1.2rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.card__list li {
  font-size: .93rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
.card__link {
  display: inline-block;
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand);
  transition: gap .3s var(--ease), color .3s;
}
.card__link:hover { color: var(--orange); }

/* ---------- CORE BUSINESS ---------- */
.core { padding-top: clamp(80px, 10vw, 120px); }
.core__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.core__col {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--line);
}
.core__col:last-child { border-right: none; }
.core__col--light { background: #fff; }
.core__col--dark {
  background: var(--brand);
  color: var(--cream);
}
.core__col--dark h3, .core__col--dark li { color: var(--cream); }
.core__col h3 { margin-bottom: 1.6rem; font-size: 1.5rem; }
.core__col ul { display: flex; flex-direction: column; gap: .9rem; }
.core__col li {
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
}
.core__col--dark li { border-color: rgba(255,247,236,.12); }
.core__col li:last-child { border-bottom: none; }

/* ---------- MINI CARDS (wealth) ---------- */
.mini-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}
.mini-card {
  padding: 1.6rem 1.8rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.mini-card:hover { border-color: var(--orange); transform: translateX(4px); }
.mini-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .8rem; margin-top: .6rem; }
.mini-card li { font-size: .88rem; padding-left: 1rem; position: relative; color: var(--text-light); }
.mini-card li::before { content:"✓"; position:absolute; left:0; color: var(--orange); font-weight: 700; }

/* ---------- STEPS (modelo) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  padding: 2.6rem 2rem;
  border: 1px solid rgba(255,247,236,.18);
  border-radius: var(--radius-lg);
  background: rgba(255,247,236,.03);
  transition: transform .4s var(--ease), background .4s;
}
.step:hover { transform: translateY(-6px); background: rgba(253,180,101,.08); }
.step__num {
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { color: var(--cream); }

/* ---------- CULTURE ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.culture { height: 100%; }
@media (max-width: 900px) {
  .culture-grid { grid-template-columns: 1fr 1fr; }
}
.culture {
  padding: 2.2rem;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  display: flex; gap: 1.2rem; align-items: flex-start;
  transition: transform .4s var(--ease), background .4s;
  border: 1px solid transparent;
}
.culture:hover { transform: translateY(-4px); border-color: var(--orange); }
.culture svg { width: 38px; height: 38px; color: var(--orange); flex-shrink: 0; margin-top: 4px; }
.culture h4 { margin-bottom: .3rem; font-size: 1.15rem; }
.culture p { margin: 0; font-size: .95rem; color: var(--text-light); }

/* ---------- TEAM (hover overlay) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  justify-content: center;
}
.member {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--beige);
  cursor: pointer;
  isolation: isolate;
}
.member__photo {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #c9b98f 0%, #ddccaa 50%, #b8a877 100%);
  display: flex; align-items: center; justify-content: center;
}
.member__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}
.member__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(2,56,56,0.82), transparent);
  color: var(--cream);
  transition: opacity .4s var(--ease);
  z-index: 2;
}
.member__label .member__name {
  font-family: "DM Serif Display", serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin: 0 0 .15rem;
  line-height: 1.15;
}
.member__label .member__role {
  font-size: .78rem;
  color: rgba(255, 247, 236, 0.82);
  line-height: 1.3;
}
.member__overlay {
  position: absolute; inset: 0;
  background: rgba(2, 56, 56, 0.88);
  padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transition: opacity .45s var(--ease);
  z-index: 3;
}
.member__role-top {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .7rem;
}
.member__name-top {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.member__bio {
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255, 247, 236, 0.85);
  margin: 0 0 1.2rem;
}
.member__link {
  display: inline-flex; align-items: center; gap: .55rem;
  align-self: flex-start;
  padding: .55rem 1rem;
  border: 1px solid rgba(255, 247, 236, 0.35);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--cream);
  transition: background .3s, border-color .3s, color .3s;
}
.member__link svg { width: 13px; height: 13px; fill: currentColor; }
.member__link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--brand);
}
.member:hover .member__overlay { opacity: 1; }
.member:hover .member__label   { opacity: 0; }
@media (hover: none) {
  .member__overlay { opacity: 1; background: rgba(2,56,56,0.82); }
  .member__label { display: none; }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 0 0 12px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(var(--orange), var(--beige));
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-areas:
    "dot year"
    "dot body";
  column-gap: 1.4rem;
  row-gap: .25rem;
  align-items: start;
  padding: 1.4rem 0;
}
.timeline__dot {
  grid-area: dot;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--orange);
  margin: .5rem 0 0 2px;
}
.timeline__year {
  grid-area: year;
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  color: var(--brand);
  line-height: 1;
}
.timeline__body { grid-area: body; }
.timeline__body h4 { margin-bottom: .2rem; }
.timeline__body p { color: var(--text-light); margin: 0; }

/* ---------- REG ---------- */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.reg {
  padding: 1.6rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 14px;
}
.reg p { margin: 0; font-size: .9rem; color: var(--text-light); }

/* ---------- SECTION BACKGROUND IMAGE ---------- */
.section--bg { position: relative; isolation: isolate; overflow: hidden; }
.section--bg .container { position: relative; z-index: 2; }
.section__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section__bg-overlay {
  position: absolute; inset: 0; z-index: 1;
}
.section__bg-overlay--dark {
  background: linear-gradient(120deg, rgba(2,56,56,.78) 0%, rgba(2,56,56,.62) 45%, rgba(2,56,56,.45) 100%);
}
.section__bg-overlay--light {
  background: linear-gradient(120deg, rgba(255,247,236,.78) 0%, rgba(251,239,216,.6) 50%, rgba(255,247,236,.5) 100%);
}
.section--bg-light { background: var(--cream); }

/* Dark transparent cards on photo-background sections */
#wealth, #trading { color: var(--cream); }
#wealth p, #trading p,
#wealth .lead, #trading .lead { color: rgba(255, 247, 236, 0.85); }

#wealth .mini-card,
#trading .card,
#trading .card--flat {
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.18);
  color: var(--cream);
}
#wealth .mini-card h4,
#wealth .mini-card h3,
#trading .card h3 { color: var(--cream); }
#wealth .mini-card li,
#wealth .mini-card p,
#trading .card p,
#trading .card li { color: rgba(255, 247, 236, 0.85); }
#wealth .mini-card li::before { color: var(--orange); }
#trading .card__list li::before { background: var(--orange); }
#wealth .mini-card:hover,
#trading .card:hover {
  background: rgba(253, 180, 101, 0.08);
  border-color: rgba(253, 180, 101, 0.5);
  transform: translateY(-4px);
}
#wealth .card__link { color: var(--orange); }
#wealth .card__link:hover { color: var(--cream); }
#wealth .quote {
  color: var(--cream);
  background: rgba(253, 180, 101, 0.12);
}

/* Dark transparent culture cards on photo-background */
#cultura .culture {
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.18);
}
#cultura .culture h4 { color: var(--cream); }
#cultura .culture p { color: rgba(255, 247, 236, 0.85); }
#cultura .culture:hover {
  background: rgba(253, 180, 101, 0.08);
  border-color: rgba(253, 180, 101, 0.5);
  transform: translateY(-4px);
}

/* Dark transparent cards for servicios & asset */
#servicios .card,
#asset .card,
#asset .card--flat {
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.18);
  color: var(--cream);
}
#servicios .card h3,
#asset .card h3 { color: var(--cream); }
#servicios .card p,
#servicios .card li,
#asset .card p { color: rgba(255, 247, 236, 0.85); }
#servicios .card__num { color: var(--orange); }
#servicios .card__list li::before,
#asset .card__list li::before { background: var(--orange); }
#servicios .card__list li { color: rgba(255, 247, 236, 0.85); }
#servicios .card:hover,
#asset .card:hover {
  background: rgba(253, 180, 101, 0.08);
  border-color: rgba(253, 180, 101, 0.5);
  transform: translateY(-4px);
}
#servicios .card__link { color: var(--orange); }
#servicios .card__link:hover { color: var(--cream); }

.section__bg--surfer {
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

.nosotros__content { max-width: 720px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(253,180,101,.22), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/costa.jpg") center/cover no-repeat;
  opacity: .35;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.cta > * { position: relative; }
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta__inner .lead { margin-left: auto; margin-right: auto; }
.cta__info {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin: 2rem 0 2.4rem;
  font-size: .95rem;
  color: var(--text-light);
}
.cta__info a { color: var(--brand); font-weight: 600; }
.cta__info a:hover { color: var(--orange); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--brand);
  color: rgba(255,247,236,.72);
  padding: 4.5rem 0 1.6rem;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,247,236,.1);
}
.footer__logo {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1.2rem;
}
.footer__logo img { height: 36px; width: auto; display: block; }
.footer__logo span {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: -0.005em;
  line-height: 1;
}
.footer__logo-ms {
  font-weight: 400;
  margin-right: .35em;
}
.footer h5 { color: var(--orange); }
.footer ul { display: flex; flex-direction: column; gap: .55rem; }
.footer a:hover { color: var(--orange); }
.footer__brand p { color: rgba(255,247,236,.6); max-width: 320px; }
.footer__bottom {
  padding-top: 1.6rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,247,236,.5);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(80%, 340px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 100px 2rem 2rem;
    background: var(--cream);
    box-shadow: -10px 0 40px rgba(2,56,56,.1);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 51; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-2--reverse > *:first-child,
  .grid-2--reverse > *:last-child { order: initial; }
  .cards-3 { grid-template-columns: 1fr; }
  .core__grid { grid-template-columns: 1fr; }
  .core__col { border-right: none; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .timeline__year { font-size: 1.3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mini-card ul { grid-template-columns: 1fr; }
  .values__row { justify-content: center; }
}
@media (max-width: 520px) {
  .hero { padding: 140px 0 70px; }
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero__stat-div { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { padding: .9rem 1.4rem; }
}
