/* =============================================================
   Padilla M y Asociados — styles.css
   Archetype: Institutional Editorial (navy + gold, light body)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand */
  --navy:        #0b2a54;
  --navy-900:    #071c3a;
  --navy-800:    #0b2a54;
  --navy-700:    #14386c;
  --gold:        #9f7924;
  --gold-bright: #c79a3e;
  --gold-soft:   #d8b979;
  --pink:        #e6148b;   /* usado con extrema mesura */
  --wa:          #25d366;   /* verde WhatsApp */
  --wa-dark:     #1eb457;
  --wa-deep:     #128c7e;

  --paper:       #ffffff;
  --bg:          #f7f4ee;   /* warm off-white */
  --bg-2:        #efeae0;
  --ink:         #12233f;   /* near-navy text on light */
  --ink-soft:    #3c4a63;
  --mute:        #6d768a;
  --cream:       #f4f1ea;   /* text on dark navy */
  --cream-2:     #cdd6e6;
  --line:        rgba(11, 42, 84, 0.12);
  --line-strong: rgba(11, 42, 84, 0.22);
  --line-dark:   rgba(244, 241, 234, 0.16);

  /* Type */
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", "Segoe UI", system-ui, sans-serif;
  --serif:   "Source Serif 4", Georgia, serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);

  --shadow-sm: 0 2px 10px rgba(11, 42, 84, 0.06);
  --shadow-md: 0 18px 50px -20px rgba(11, 42, 84, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(7, 28, 58, 0.45);

  --radius: 18px;
  --maxw: 1200px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
}
em { font-style: normal; }
::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .65rem 1rem; background: var(--navy); color: #fff;
  z-index: 2000; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.section-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.section-kicker span {
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  border-radius: 50px; padding: .18rem .55rem;
  font-size: .72rem;
}
.section-kicker.light { color: var(--gold-soft); }
.section-kicker.light span { color: var(--cream); border-color: var(--line-dark); }

.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.05rem);
  letter-spacing: -0.012em; line-height: 1.1;
}
.section-title em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 500; }
.section-intro {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 52ch; margin-top: 1.1rem;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display);
  font-weight: 600; font-size: .95rem; letter-spacing: -0.01em;
  padding: .78rem 1.35rem; border-radius: 50px;
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }

.btn-primary {
  background: var(--gold); color: #fff;
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1.5px solid var(--line-strong); color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-ghost--light { border-color: var(--line-dark); color: var(--cream); }
.btn-ghost--light:hover { border-color: var(--cream); background: rgba(255,255,255,.08); color: #fff; }

/* WhatsApp button — verde sobrio, sin brillo */
.btn-wa {
  background: var(--wa-dark); color: #fff;
}
.btn-wa:hover {
  background: var(--wa-deep);
  transform: translateY(-1px);
}
.btn-wa .wa-ic { color: #fff; }

/* Botón de WhatsApp del menú: compacto y discreto */
.nav-cta {
  padding: .5rem .95rem; font-size: .84rem; font-weight: 600;
  gap: .4rem;
}
.nav-cta .wa-ic { width: 15px; height: 15px; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-out), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }
@media (min-width: 960px) { .brand-logo { height: 46px; } }
/* Logo swap: light over the dark hero, dark once the nav turns solid */
.brand-logo--light { display: none; }
.brand-logo--dark  { display: block; }
.nav.is-hero .brand-logo--light { display: block; }
.nav.is-hero .brand-logo--dark  { display: none; }

.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--navy); letter-spacing: -0.01em;
}
.brand-name em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 500; padding: 0 .05em; }

.nav-links { display: none; margin-left: auto; gap: 1.7rem; }
.nav-links a {
  font-family: var(--display); font-weight: 500; font-size: .92rem;
  color: var(--ink-soft); position: relative; padding: .3rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav.is-hero .nav-links a { color: var(--cream-2); }
.nav.is-hero .nav-links a:hover { color: #fff; }

.nav-cta { display: none; }
.nav-links + .nav-cta { margin-left: 0; }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav.is-hero .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 999;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1.2rem var(--gutter) 1.8rem;
  display: flex; flex-direction: column; gap: .3rem;
  box-shadow: var(--shadow-md);
  animation: drawerIn .35s var(--ease-out);
}
.nav-drawer[hidden] { display: none; }
.nav-drawer a {
  font-family: var(--display); font-weight: 500; font-size: 1.05rem;
  color: var(--navy); padding: .75rem .2rem; border-bottom: 1px solid var(--line);
}
.nav-drawer a.btn { border: 0; margin-top: 1rem; color: #fff; justify-content: center; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(740px, 55vw, 900px);
  padding: calc(var(--nav-h) + 55px) 0 130px;
  background: var(--navy-900); color: var(--cream);
}
.hero-media, .hero-shade, .hero-contour { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 44%; }
.hero-shade {
  z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,28,58,.86), transparent 24%),
    linear-gradient(90deg, rgba(7,28,58,.95) 0%, rgba(7,28,58,.86) 31%, rgba(7,28,58,.57) 47%, rgba(7,28,58,.03) 64%, rgba(7,28,58,.03) 77%, rgba(7,28,58,.52) 100%);
}
.hero-contour { z-index: -1; pointer-events: none; }
.hero-contour path { fill: none; stroke: var(--gold-soft); stroke-width: 2; opacity: .7; vector-effect: non-scaling-stroke; }
.hero .hero-inner {
  display: block; width: 100%; max-width: 1800px;
  margin: 0 auto; padding: 0 clamp(1.25rem, 6vw, 7rem);
}
.hero-copy { width: 54%; max-width: 740px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  max-width: 100%; font-family: var(--display); font-weight: 500;
  font-size: clamp(.7rem, .94vw, .94rem); line-height: 1.5;
  color: var(--gold-soft); padding: .5rem .95rem;
  border: 1px solid rgba(244,241,234,.3); border-radius: 50px;
  background: rgba(7,28,58,.16);
}
.eyebrow-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--gold-soft); }
.hero-title {
  color: #fff; font-family: var(--serif);
  font-size: clamp(2.4rem, 4.05vw, 4.55rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.15;
  margin: 1.65rem 0 0; text-wrap: normal;
}
.hero-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-soft); }
.hero-sub {
  color: var(--cream-2); font-size: clamp(1.05rem, 1.42vw, 1.4rem);
  max-width: 43ch; margin-top: 1.65rem; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-actions .btn { font-size: clamp(.85rem, 1.06vw, 1rem); padding: 1rem 1.4rem; white-space: normal; text-align: center; min-height: 52px; }
.hero-actions .btn-wa { background: #087c3c; }
.hero-actions .btn-wa:hover { background: #076732; }
.hero-actions .btn-ghost { border-color: rgba(244,241,234,.42); color: var(--cream); background: rgba(7,28,58,.16); }
.hero-actions .btn-ghost:hover { border-color: var(--cream); background: rgba(255,255,255,.08); color: #fff; }
.hero-arrow { font-size: 1.35em; margin-left: .25rem; line-height: 1; }
.hero-cred {
  display: inline-flex; align-items: center; gap: .65rem;
  max-width: 100%; margin-top: 1.8rem;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(.72rem, .91vw, .9rem); color: var(--cream-2); line-height: 1.5;
  padding: .7rem 1rem; border: 1px solid rgba(244,241,234,.25);
  border-radius: 50px; background: rgba(7,28,58,.3);
}
.hero-cred svg { color: var(--gold-soft); flex: 0 0 auto; }
.hero-signature {
  position: absolute; right: 2.2%; top: 31%; width: 14%; max-width: 225px;
  display: flex; flex-direction: column; gap: .45rem;
  text-shadow: 0 2px 12px rgba(7,28,58,.5);
}
.hero-signature-name { font-family: "Alex Brush", "Segoe Script", cursive; font-size: clamp(1.6rem, 2.6vw, 3rem); font-weight: 400; color: var(--gold-soft); line-height: 1.2; }
.hero-signature-role { max-width: 18ch; color: #fff; font-size: clamp(.75rem, .96vw, 1rem); line-height: 1.5; }
.hero-signature::after { content: ""; width: 46px; height: 1px; background: var(--gold-soft); margin-top: .75rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 85px; pointer-events: none; }
.hero-wave path { fill: var(--paper); }
@media (min-width: 960px) and (max-width: 1199px) {
  .hero-signature { top: auto; bottom: 105px; right: 4%; width: 28%; padding: .6rem 1rem; background: rgba(7,28,58,.76); border-radius: 10px; }
  .hero-signature::after { display: none; }
  .hero-signature-name { font-size: 2rem; }
}
@media (max-width: 959px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: calc(var(--nav-h) + 25px) 0 0; }
  .hero .hero-inner { order: 1; padding: 0 var(--gutter); }
  .hero-copy { width: 100%; max-width: 620px; margin: 0 auto; }
  .hero-title { font-size: clamp(2.45rem, 10.8vw, 4.2rem); line-height: .98; letter-spacing: -.055em; margin-top: 1.1rem; }
  .eyebrow { font-size: .76rem; }
  .hero-sub { font-size: clamp(.88rem, 3.5vw, 1.02rem); line-height: 1.5; margin-top: .9rem; max-width: 48ch; }
  .hero-actions { margin-top: 1.25rem; gap: .6rem; }
  .hero-actions .btn { min-height: 48px; padding: .78rem 1.1rem; }
  .hero-cred { font-size: .7rem; line-height: 1.35; margin-top: 1.05rem; padding: .55rem .8rem; }
  .hero-media { position: relative; order: 2; inset: auto; height: clamp(360px, 78vw, 560px); margin-top: -10px; z-index: -1; mask-image: linear-gradient(transparent, #000 20%); }
  .hero-media img { object-position: 83% 44%; }
  .hero-shade { display: none; }
  .hero-contour { display: none; }
  .hero-signature { z-index: 1; top: auto; bottom: 55px; right: var(--gutter); width: auto; max-width: 230px; padding: .7rem 1rem; gap: .15rem; border-radius: 10px; background: rgba(7,28,58,.9); }
  .hero-signature-name { font-size: 1.9rem; }
  .hero-signature-role { font-size: .72rem; max-width: none; }
  .hero-signature::after { display: none; }
  .hero-wave { z-index: 2; height: 45px; }
}
@media (max-width: 380px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-title { font-size: 2.45rem; }
  .hero-sub { font-size: .88rem; }
  .hero-cred { border-radius: 16px; }
}

/* =============================================================
   7. Stats
   ============================================================= */
.stats {
  background: var(--paper); color: var(--navy);
  padding: .8rem 0 clamp(2.2rem, 5vw, 3.4rem);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.stats-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.2rem;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.stats .reveal { opacity: 1; transform: none; will-change: auto; }
.stat-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.7rem); color: var(--navy);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-label { font-size: .86rem; color: var(--ink-soft); max-width: 26ch; line-height: 1.45; }

/* =============================================================
   8. About
   ============================================================= */
.about { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.about-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
}
.about-figure { display: flex; flex-direction: column; gap: 1.4rem; }
.about-photo {
  position: relative; align-self: flex-start; max-width: 320px; width: 100%;
}
.about-photo::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: 0;
  background: var(--bg-2); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.about-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%;
  border-radius: var(--radius); background: #dfe4ec;
  box-shadow: var(--shadow-md);
}
.about-cred {
  background: var(--navy); color: var(--cream);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.about-cred-title {
  font-family: var(--display); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: .9rem;
}
.about-cred ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.about-cred li {
  position: relative; padding-left: 1.5rem; font-size: .9rem; color: var(--cream-2); line-height: 1.4;
}
.about-cred li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; background: var(--gold-bright);
  transform: rotate(45deg);
}
.about-copy p { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.05rem; }
.about-copy strong { color: var(--navy); font-weight: 600; }
.about-copy .section-title { margin-top: .2rem; }

.about-values { display: grid; gap: 1.1rem; margin-top: 2rem; }
.value { display: flex; gap: .9rem; align-items: flex-start; }
.value-ic { color: var(--gold); font-size: .7rem; margin-top: .45rem; flex: 0 0 auto; }
.value strong { font-family: var(--display); color: var(--navy); font-size: 1.02rem; }
.value p { margin-top: .15rem; font-size: .92rem; color: var(--mute); line-height: 1.5; }

/* =============================================================
   9. Purpose / Misión / Visión
   ============================================================= */
.purpose {
  color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900);
}
.purpose-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/img/porque-fondo.webp") center/cover no-repeat;
  transform: scale(1.02);
}
.purpose-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(7,28,58,.95) 0%, rgba(7,28,58,.88) 42%, rgba(11,42,84,.74) 100%),
    radial-gradient(ellipse at 78% 90%, rgba(199,154,62,.18), transparent 60%);
}
.purpose-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: 1.4rem; align-items: stretch;
}
.purpose-left { display: flex; flex-direction: column; gap: 1.4rem; }
.purpose-lead {
  font-family: var(--serif); font-weight: 600; color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.15rem); letter-spacing: -0.01em; line-height: 1.3;
  max-width: 26ch;
}
.purpose-lead em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-soft); }
.purpose-card {
  background: rgba(11,28,58,.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  display: flex; flex-direction: column; justify-content: center;
}
.purpose-left .purpose-card { flex: 1 1 auto; }
.purpose-label {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: .9rem;
}
.purpose-card p { color: var(--cream-2); font-size: 1.08rem; line-height: 1.6; }
.purpose-card--vision {
  background: rgba(199,154,62,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-color: rgba(199,154,62,.34);
}
.purpose-card--vision blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: #fff; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55;
}
.purpose-card--vision cite {
  display: block; margin-top: 1rem; font-style: normal;
  font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--gold-soft);
}

/* =============================================================
   10. Solutions
   ============================================================= */
.solutions { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.solutions-head, .solutions-list {
  max-width: 920px; margin: 0 auto; padding: 0 var(--gutter);
}
.solutions-head { text-align: left; margin-bottom: clamp(2rem, 4vw, 3rem); }
.solutions-list { display: flex; flex-direction: column; gap: 1rem; }

.solution {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .35s var(--ease-out), border-color .35s, transform .35s;
}
.solution:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.solution[open] { box-shadow: var(--shadow-md); border-color: rgba(159,121,36,.4); }
.solution summary {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.4rem 1.5rem; cursor: pointer; list-style: none;
  user-select: none;
}
.solution summary::-webkit-details-marker { display: none; }
.solution-index {
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  color: var(--gold); font-variant-numeric: tabular-nums; flex: 0 0 auto;
  padding-top: .2rem;
}
.solution-ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg); color: var(--navy);
  display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.solution[open] .solution-ic { background: var(--navy); color: var(--gold-bright); }
.solution-heads { display: flex; flex-direction: column; gap: .15rem; flex: 1 1 auto; min-width: 0; }
.solution-name {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--navy); letter-spacing: -0.02em; line-height: 1.2;
}
.solution-tag { font-size: .84rem; color: var(--mute); }
.solution-toggle {
  flex: 0 0 auto; width: 26px; height: 26px; position: relative;
  border: 1.5px solid var(--line-strong); border-radius: 50%;
  transition: border-color .3s, transform .35s var(--ease-out);
}
.solution-toggle::before, .solution-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--navy);
  transition: transform .35s var(--ease-out), background .3s;
}
.solution-toggle::before { width: 11px; height: 1.5px; transform: translate(-50%,-50%); }
.solution-toggle::after  { width: 1.5px; height: 11px; transform: translate(-50%,-50%); }
.solution[open] .solution-toggle { border-color: var(--gold); }
.solution[open] .solution-toggle::after { transform: translate(-50%,-50%) scaleY(0); }

.solution-body {
  padding: 0 1.5rem 1.6rem calc(1.5rem + 52px + 1.1rem);
  display: grid; gap: 1.3rem;
}
.solution-block h3 {
  font-family: var(--display); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: .4rem;
}
.solution-block p { color: var(--ink-soft); font-size: .98rem; }
.solution-block--benefit {
  background: var(--bg); border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem; border-radius: 0 12px 12px 0;
}
.solution-block--benefit p { color: var(--navy); font-weight: 500; }
.solution-includes {
  display: grid; gap: 1rem 1.4rem; grid-template-columns: 1fr;
}
.solution-includes h4 {
  font-family: var(--display); font-size: .96rem; font-weight: 600; color: var(--navy);
  margin-bottom: .2rem; letter-spacing: -0.01em;
}
.solution-includes p { color: var(--mute); font-size: .9rem; line-height: 1.5; }
.solution-cta { justify-self: start; margin-top: .2rem; }

/* =============================================================
   11. Process
   ============================================================= */
.process { background: var(--bg-2); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.process-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.process-head { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.steps {
  list-style: none; display: grid; gap: 1.2rem;
  counter-reset: step;
}
.step {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-media { position: relative; overflow: hidden; }
.step-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  transition: transform .5s var(--ease-out);
}
.step:hover .step-media img { transform: scale(1.05); }
.step-num {
  position: absolute; left: 1.05rem; bottom: 1.05rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold-bright);
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 10px 22px -8px rgba(7,28,58,.7);
}
.step-body { padding: 1.35rem 1.5rem 1.6rem; }
.step-body h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .35rem; }
.step-body p { color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   12. Testimonials
   ============================================================= */
.testimonials { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.testimonials-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.testimonials .section-title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.testi-grid { display: grid; gap: 1.3rem; }
.testi {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 1.7rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-quote {
  position: absolute; top: .3rem; left: 1.3rem;
  font-family: var(--serif); font-style: italic; font-size: 4.5rem; line-height: 1;
  color: var(--gold-soft); opacity: .5;
}
.testi blockquote { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; position: relative; }
.testi figcaption { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.testi figcaption strong { display: block; font-family: var(--display); color: var(--navy); font-size: 1rem; }
.testi figcaption span { font-size: .82rem; color: var(--gold); font-weight: 500; }

/* =============================================================
   13. FAQ
   ============================================================= */
.faq { background: var(--bg-2); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.faq-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: clamp(2rem, 4vw, 3rem);
}
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: rgba(159,121,36,.4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.15rem 1.35rem; font-family: var(--display); font-weight: 600;
  font-size: 1.02rem; color: var(--navy); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; margin-left: auto;
  width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 1.35rem 1.3rem; }
.faq-answer p { color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   14. Contact
   ============================================================= */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 60%, #0d3068 100%);
  color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.contact-glow {
  position: absolute; z-index: -1; inset: -20% -10% auto auto;
  width: 60vw; max-width: 620px; aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(199,154,62,.28), transparent 62%);
  filter: blur(20px);
}
.contact-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: clamp(2.2rem, 5vw, 3.5rem);
}
.contact-title {
  color: #fff; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -0.012em; line-height: 1.1; margin-top: .3rem;
}
.contact-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-soft); }
.contact-lead { color: var(--cream-2); font-size: 1.1rem; max-width: 44ch; margin-top: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Contacto — información listada, sin tarjetas */
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; }
.contact-list li { border-top: 1px solid var(--line-dark); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-list a, .contact-list .ci-static {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem .3rem;
  transition: padding-left .3s var(--ease-out), color .3s;
}
.contact-list a:hover,
.contact-list .ci-static:hover { padding-left: .75rem; }
.ci-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  color: var(--gold-soft); transition: background .3s, border-color .3s, color .3s;
}
.contact-list a:hover .ci-ic,
.contact-list .ci-static:hover .ci-ic { background: rgba(199,154,62,.15); border-color: rgba(199,154,62,.4); color: var(--gold-bright); }
.ci-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.ci-label {
  font-family: var(--display); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft);
}
.ci-value { font-family: var(--display); font-weight: 600; color: #fff; font-size: 1.02rem; word-break: break-word; }

/* Redes sociales */
.contact-social { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.contact-social-title {
  font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--cream-2);
}
.social-icons { display: flex; gap: .7rem; }
.social-icons a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  transition: background .3s var(--ease-out), border-color .3s, transform .3s var(--ease-out);
}
.social-icons a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }

/* =============================================================
   15. Footer
   ============================================================= */
.footer { background: var(--navy-900); color: var(--cream-2); padding: clamp(2.8rem, 6vw, 4rem) 0 0; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 2.6rem;
  display: grid; gap: 2rem; align-items: center; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-tag {
  font-size: .95rem; line-height: 1.6; color: var(--cream-2);
  max-width: 42ch; margin: 0 auto;
}
.footer-logo-wrap { display: flex; justify-content: center; }
.footer-logo { height: 104px; width: auto; }
.footer-meta p { font-size: .86rem; color: var(--cream-2); line-height: 1.5; }
.footer-meta p + p { margin-top: .45rem; }
.footer-base {
  max-width: var(--maxw); margin: 0 auto; padding: 1.4rem var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center;
  font-size: .8rem; color: var(--mute);
}
.footer-home-link { border-radius: 6px; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: .15rem 1.5rem; }
.footer-legal a {
  display: inline-flex; align-items: center; min-height: 32px;
  color: var(--cream-2); text-underline-offset: .3em;
  text-decoration-thickness: 1px; transition: color .2s;
}
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--gold-soft); text-decoration: underline; }

/* Footer stacks logo-first on mobile */
.footer-logo-wrap { order: -1; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 620px) {
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .solution-includes { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  /* Footer: texto izquierda · logo centro · info derecha */
  .footer-inner { grid-template-columns: 1fr auto 1fr; text-align: initial; align-items: center; }
  .footer-tag { text-align: left; margin: 0; max-width: 30ch; }
  .footer-meta { text-align: right; }
  .footer-logo-wrap { order: 0; }
}
@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-scroll { display: block; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .about-inner { grid-template-columns: 340px 1fr; align-items: start; }
  .about-figure { position: sticky; top: calc(var(--nav-h) + 24px); }
  .purpose-inner { grid-template-columns: 1fr 1.05fr; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-inner { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .contact-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
@media (min-width: 1280px) {
  .solutions-head, .solutions-list { max-width: 960px; }
}

/* =============================================================
   17. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow, .eyebrow-dot, .hero-scroll span, .contact-glow { animation: none; }
  .reveal { transition-duration: .001s; }
}
