/* =========================================================================
   Horacio Guzmán — Asesoría Financiera
   Design system: corporate / private-banking aesthetic
   Palette: navy, slate, grays, white  ·  Serif headings + clean sans body
   ========================================================================= */

:root {
  /* Brand palette */
  --navy-900: #131d39;
  --navy-800: #253668; /* Pantone 19-3953 TCX · Sodalite Blue */
  --navy-700: #2e437f;
  --navy-600: #3c559f;
  --blue-500: #516dbd;
  --blue-400: #778dcf;
  --blue-100: #dce1f2;

  --slate-700: #2f3e52;
  --slate-500: #56657a;
  --slate-400: #7d8ba0;
  --slate-200: #c8d2df;

  --gray-100: #f4f6f9;
  --gray-50:  #f9fafc;
  --line:     #e3e8ef;

  --white: #ffffff;
  --ink:   #0d1726;

  /* Typography */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-sm: 0 1px 2px rgba(13, 23, 38, 0.06), 0 1px 3px rgba(13, 23, 38, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 23, 38, 0.08);
  --shadow-lg: 0 30px 60px rgba(13, 23, 38, 0.12);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* --------------------------------------------------------------- Helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-gray  { background: var(--gray-50); }
.bg-navy  { background: var(--navy-800); color: var(--white); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue-400);
}
.bg-navy .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--blue-400); }

/* Longer kicker phrase used as a tagline (not a tiny tracked label) */
.eyebrow--statement { text-transform: none; letter-spacing: 0.02em; font-size: 0.98rem; font-weight: 600; }
.eyebrow--statement::before { margin-top: 1px; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--navy-900); }
/* White headings on dark surfaces (hero, page headers, dark CTA band) */
.bg-navy h1, .bg-navy h2, .bg-navy h3,
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.cta-band h1, .cta-band h2, .cta-band h3 { color: var(--white); }
.hero h1 .accent, .cta-band .accent { color: var(--blue-400); }

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--slate-500); line-height: 1.55; }
.bg-navy .lead,
.hero .lead,
.page-hero .lead,
.cta-band .lead { color: var(--slate-200); }

.muted { color: var(--slate-500); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--navy-600); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--blue-500); color: var(--white); }
.btn--accent:hover { background: var(--blue-400); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy-800); border: 1px solid var(--slate-200); }
.btn--ghost:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }

.bg-navy .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.32); }
.bg-navy .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.cta-band .btn--ghost:hover { background: var(--white); color: var(--navy-800); border-color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue-500);
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 42px; height: 42px;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.site-header .brand__name {
  font-size: 1.8125rem;
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 600;
}

.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width 0.25s var(--ease);
}
.nav__link:hover { color: var(--navy-900); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--navy-900); }

.nav__actions { display: flex; align-items: center; gap: 20px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-toggle button {
  padding: 6px 13px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  transition: all 0.2s var(--ease);
}
.lang-toggle button.is-active { background: var(--navy-800); color: var(--white); }

/* Mobile nav */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.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); }

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.hero__grid-lines {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  right: -15vw; top: -20vw;
  background: radial-gradient(circle, rgba(79,143,208,0.28), transparent 62%);
  pointer-events: none;
}
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 45%, #000 78%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 45%, #000 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  padding-block: clamp(80px, 11vw, 150px);
}
.hero__content { max-width: 680px; }
.hero h1 { margin-top: 22px; }
.hero h1 .accent { color: var(--blue-400); font-style: italic; }
.hero__lead { margin-top: 26px; max-width: 520px; }
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 56px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat__num { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; color: var(--white); }
.stat__label { font-size: 0.78rem; color: var(--slate-200); letter-spacing: 0.04em; margin-top: 2px; }

/* Hero value statements (replace numeric stats) */
.hstmt { max-width: 230px; }
.hstmt__accent { width: 28px; height: 2px; background: var(--blue-400); margin-bottom: 14px; }
.hstmt p { font-size: 0.92rem; color: var(--slate-200); line-height: 1.5; }
.hstmt strong { color: var(--white); font-weight: 600; }

.hero__panel {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 32px;
  backdrop-filter: blur(4px);
}
.hero__panel h3 { font-size: 1.05rem; color: var(--white); }
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.panel-row:last-child { border-bottom: none; padding-bottom: 0; }
.panel-row:first-of-type { padding-top: 22px; }
.panel-row__label { font-size: 0.9rem; color: var(--slate-200); }
.panel-row__value { font-family: var(--font-serif); font-size: 1.1rem; color: var(--blue-400); font-weight: 600; }

/* ------------------------------------------------------- Section headings */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }

/* --------------------------------------------------------- Services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 38px 34px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--slate-500); font-size: 0.98rem; }
.card__list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.card__list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--slate-700); }
.card__list li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; flex: none; border-radius: 50%; background: var(--blue-500); }

/* --------------------------------------------------------- Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-md);
}
.split__media--photo {
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: none;
}
.split__media--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-list { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}
.feature__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-500);
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.feature h4 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.feature p { font-size: 0.94rem; color: var(--slate-500); }

/* ------------------------------------------------------------- Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-band .stat__num { font-size: clamp(2.4rem, 4vw, 3.2rem); }
.stat-band .stat__label { font-size: 0.85rem; }

/* --------------------------------------------------------------- Process */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px; }
.step {
  padding: 34px 28px;
  border-left: 1px solid var(--line);
  position: relative;
}
.step:first-child { border-left: none; }
.step__num {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-500);
}
.step h4 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin: 14px 0 8px; color: var(--navy-900); }
.step p { font-size: 0.92rem; color: var(--slate-500); }

/* ---------------------------------------------------------------- Profile */
.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.profile__photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-md);
}
.profile__badge {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(255,255,255,0.95);
  padding: 14px 18px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.profile__badge .n { font-family: var(--font-serif); font-weight: 600; color: var(--navy-900); }
.profile__badge .l { font-size: 0.75rem; color: var(--slate-500); }
.profile__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  color: var(--navy-900);
  font-style: italic;
}
.profile__bio { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; color: var(--slate-500); }
.cred-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.cred { padding-top: 18px; border-top: 2px solid var(--navy-800); }
.cred .n { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--navy-900); }
.cred .l { font-size: 0.82rem; color: var(--slate-500); margin-top: 2px; }

/* -------------------------------------------------------------- Insights */
.insight-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.insight {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.insight:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.insight__media { height: 180px; background: linear-gradient(150deg, var(--navy-800), var(--blue-500)); position: relative; }
.insight__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.insight__tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-500); font-weight: 600; }
.insight h3 { font-size: 1.18rem; }
.insight p { font-size: 0.92rem; color: var(--slate-500); flex: 1; }
.insight__meta { font-size: 0.8rem; color: var(--slate-400); }

/* ------------------------------------------------------------------- CTA */
.cta-band {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: 12px;
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band__glow {
  position: absolute;
  width: 50%; height: 200%;
  left: 25%; top: -50%;
  background: radial-gradient(circle, rgba(79,143,208,0.22), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band p { color: var(--slate-200); max-width: 560px; margin: 18px auto 34px; }
.cta-band .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 8px; background: var(--blue-100); color: var(--navy-700); display: grid; place-items: center; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px; }
.contact-item p { color: var(--navy-900); font-weight: 500; }

form.form { display: grid; gap: 20px; background: var(--white); padding: 38px; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--slate-700); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(44,108,179,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.8rem; color: var(--slate-400); }
.form__success {
  display: none;
  padding: 16px 20px;
  background: var(--blue-100);
  border-radius: var(--radius);
  color: var(--navy-700);
  font-size: 0.92rem;
  font-weight: 500;
}
.form__success.is-visible { display: block; }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-900); color: var(--slate-200); padding-block: 70px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand__name {
  color: var(--white);
}
.footer-brand p { margin-top: 18px; font-size: 0.92rem; color: var(--slate-400); max-width: 280px; }
.footer-col h5 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 18px; font-weight: 700; font-family: var(--font-sans); }
.footer-col a { display: block; font-size: 0.92rem; color: var(--slate-200); padding: 7px 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--slate-400);
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; display: grid; place-items: center; transition: all 0.2s var(--ease); }
.footer-bottom .socials a:hover { background: var(--blue-500); border-color: var(--blue-500); }
.footer-bottom .socials svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------- Page header */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding-block: clamp(70px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.page-hero__glow { position: absolute; width: 50vw; height: 50vw; right: -12vw; top: -20vw; background: radial-gradient(circle, rgba(79,143,208,0.22), transparent 62%); }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { margin-top: 20px; }
.page-hero .lead { margin-top: 22px; max-width: 600px; }
.breadcrumb { font-size: 0.82rem; color: var(--slate-200); }
.breadcrumb a:hover { color: var(--blue-400); }

/* ---------------------------------------------------------- Article */
.article { max-width: 780px; margin-inline: auto; }
.article__lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--slate-700); line-height: 1.65; margin-bottom: 10px; }
.article > p { color: var(--slate-700); line-height: 1.8; margin-bottom: 18px; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin: 46px 0 16px; }
.article h3 { font-family: var(--font-sans); font-size: 1.12rem; font-weight: 700; color: var(--navy-800); margin: 30px 0 10px; }
.article ul.article-list { margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.article ul.article-list li { display: flex; gap: 13px; color: var(--slate-700); line-height: 1.7; }
.article ul.article-list li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; flex: none; border-radius: 50%; background: var(--blue-500); }
.article ul.article-list li strong { color: var(--navy-800); }
.article figure { margin: 34px 0; }
.article figure img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.article figcaption { font-size: 0.85rem; color: var(--slate-400); margin-top: 12px; text-align: center; }
.article__note { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--slate-400); }
.formula {
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-500);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--navy-900);
  text-align: center;
  overflow-x: auto;
}
.formula sub { font-size: 0.7em; }
.formula .frac { display: inline-flex; flex-direction: column; text-align: center; vertical-align: middle; margin: 0 2px; }
.formula .frac > span:first-child { border-bottom: 1.5px solid var(--navy-700); padding: 0 6px; line-height: 1.3; }
.formula .frac > span:last-child { padding: 0 6px; line-height: 1.3; }
.formula-legend { font-size: 0.88rem; color: var(--slate-500); line-height: 1.7; }
.article-meta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; color: var(--slate-200); }
.article-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-400); font-weight: 700; }

/* --------------------------------------------------------- Reveal anim */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- Lang display */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-es] { display: none; }
html[lang="en"] [data-lang-en] { display: revert; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { display: none; }
  .hero__panel { max-width: 440px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 300px; }
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: none; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
  }
  .nav__links.is-open { display: flex; transform: translateY(0); }
  .nav__link { width: 100%; padding: 14px var(--gutter); }
  .nav__link::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
