/* =========================================================
   NEXUM ABOGADOS — HOME
   Sistema visual oficial:
   Azul #0B1F33 | Oro #B59A6A | #F0F4FA | #F9F4EE | #FFFFFF
   Tipografías: Bogat Semi Bold + Avenir Next
   ========================================================= */

:root {
  --navy: #0B1F33;
  --gold: #B59A6A;
  --cool-bg: #F0F4FA;
  --warm-bg: #F9F4EE;
  --white: #FFFFFF;
  --text-soft: #526171;
  --border: rgba(11,31,51,.14);
  --gold-line: rgba(181,154,106,.72);
  --container: 1240px;
  --serif: "Bogat Semi Bold", "Bogat", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 14px; background: var(--navy); color: #fff;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-heading { text-align: center; max-width: 850px; margin: 0 auto 46px; }
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -.025em;
}
.section-heading > p:last-child {
  margin: 14px auto 0;
  color: var(--text-soft);
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(11,31,51,.08);
  backdrop-filter: blur(10px);
}
.site-header__inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header__brand img { width: 205px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.site-nav__link { text-decoration: none; font-size: .84rem; position: relative; padding: 28px 0; }
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-header__toggle { display: none; border: 0; background: none; padding: 10px; }
.site-header__toggle span { display: block; width: 24px; height: 1px; background: var(--navy); margin: 5px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 21px; border-radius: 999px;
  text-decoration: none; font-size: .82rem; font-weight: 600;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.button:hover { transform: translateY(-1px); }
.button--gold { background: var(--gold); color: var(--navy); }
.button--gold:hover { background: #a88d5d; }
.button--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button--outline:hover { background: var(--navy); color: #fff; }
.button--dark-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button--dark-outline:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--warm-bg); }
.hero__slides { position: relative; height: var(--hero-height, min(620px, calc(100vh - 74px))); min-height: 0; }
.hero__slide {
  position: absolute; inset: 0; display: block;
  height: 100%; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s;
}
.hero__slide::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 50%;
  background: rgba(249, 244, 238, .5); z-index: 1; pointer-events: none;
}
.hero__slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero__copy { position: relative; z-index: 2; width: 50%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 92px) clamp(28px, 7vw, 92px); }
.hero__copy h1, .hero__copy h2 {
  margin: 0; max-width: 640px; font-family: var(--serif);
  font-size: clamp(2.65rem, 5vw, 5.1rem); line-height: .98; letter-spacing: -.035em;
}
.hero__copy h2 { font-size: clamp(2.45rem, 4.5vw, 4.6rem); }
.hero__copy h2.hero__title--compact { font-size: clamp(2rem, 3.15vw, 3.35rem); line-height: 1.08; max-width: 760px; }
.hero__text { max-width: 590px; color: var(--text-soft); margin: 18px 0 0; font-size: clamp(.96rem, 1.2vw, 1.08rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero__media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.96); color: var(--navy); font-size: 1.7rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(11,31,51,.12);
}
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 5; }
.hero__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(11,31,51,.18); cursor: pointer; }
.hero__dot.is-active { width: 25px; background: var(--gold); }

/* Areas / scroll-driven balance */
.areas { background: var(--white); }
.areas__scroll { height: 180vh; }
.areas__sticky { position: sticky; top: 74px; min-height: calc(100vh - 74px); display: flex; align-items: center; padding: 58px 0 30px; }
.areas__layout {
  display: grid; grid-template-columns: minmax(250px,1fr) minmax(300px, 1.05fr) minmax(250px,1fr);
  align-items: center; gap: 28px;
}
.areas__column { display: grid; gap: 18px; }
.service-card {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 13px;
  padding: 13px; text-decoration: none; border: 1px solid rgba(181,154,106,.75);
  background: rgba(255,255,255,.8); transition: background .25s, transform .25s, border-color .25s;
}
.service-card:hover { background: var(--warm-bg); transform: translateY(-2px); }
.service-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--navy); font-size: 1.5rem; }
.service-card__content strong { display: block; font-family: var(--serif); font-size: 1.12rem; }
.service-card__content small { display: block; margin-top: 4px; color: var(--text-soft); font-size: .75rem; line-height: 1.35; }
.areas__media { display: grid; place-items: center; min-height: 400px; }
.areas__balance-wrap { width: min(100%, 500px); aspect-ratio: 1; display: grid; place-items: center; }
.areas__balance { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 18px rgba(11,31,51,.08)); }
.areas__footer-link { text-align: center; margin-top: 20px; }
.areas__footer-link a, .text-link { font-weight: 700; font-size: .84rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* CTA */
.cta-strip { background: var(--gold); color: var(--navy); }
.cta-strip__inner { min-height: 120px; display: grid; grid-template-columns: .9fr 1.6fr auto; gap: 34px; align-items: center; }
.cta-strip h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; }
.cta-strip p { margin: 0; font-size: .88rem; max-width: 620px; }

/* Process */
.process { background: var(--warm-bg); padding: 88px 0 96px; }
.process__list { position: relative; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; padding: 0; margin: 0; }
.process__list::before { content: ""; position: absolute; left: 11%; right: 11%; top: 38px; height: 1px; background: var(--gold); }
.process-step { position: relative; text-align: center; }
.process-step__interactive {
  position: relative; z-index: 2; width: 100%; border: 0; background: transparent; cursor: pointer; color: inherit;
  display: flex; flex-direction: column; align-items: center; padding: 0 16px;
}
.process-step__icon {
  width: 76px; height: 76px; border: 1px solid var(--gold); border-radius: 50%;
  background: var(--white); display: grid; place-items: center; position: relative;
  color: var(--navy); font-size: 1.75rem; transition: background .25s, color .25s, transform .25s;
}
.process-step__number { display: none; font-family: var(--sans); font-size: 1.6rem; font-weight: 700; }
.process-step__title { margin-top: 17px; font-family: var(--serif); font-size: 1.28rem; line-height: 1.08; }
.process-step__text { margin-top: 9px; max-width: 245px; color: var(--text-soft); font-size: .83rem; line-height: 1.45; }
.process-step__interactive:hover .process-step__icon,
.process-step__interactive:focus-visible .process-step__icon,
.process-step.is-active .process-step__icon { background: var(--gold); color: #fff; transform: translateY(-2px); }
.process-step__interactive:hover .process-step__icon > span:last-child,
.process-step__interactive:focus-visible .process-step__icon > span:last-child,
.process-step.is-active .process-step__icon > span:last-child { display: none; }
.process-step__interactive:hover .process-step__number,
.process-step__interactive:focus-visible .process-step__number,
.process-step.is-active .process-step__number { display: block; }

/* Why */
.why { background: var(--white); padding: 88px 0; }
.why__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.why__item { text-align: center; padding: 8px 28px; border-right: 1px solid var(--border); }
.why__item:last-child { border-right: 0; }
.why__icon { color: var(--gold); font-size: 2rem; display: block; min-height: 38px; }
.why__item h3 { margin: 10px 0 4px; font-family: var(--serif); font-size: 1.25rem; }
.why__item p { margin: 0; color: var(--text-soft); font-size: .82rem; }

/* Lawyer */
.lawyer { position: relative; overflow: hidden; background: var(--warm-bg); padding: 95px 0; }
.lawyer__inner { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); gap: clamp(45px,7vw,100px); align-items: center; }
.lawyer__photo-wrap { position: relative; width: min(100%, 430px); }
.lawyer__photo { position: relative; z-index: 2; width: 100%; aspect-ratio: .82; object-fit: cover; border-radius: var(--radius); }
.lawyer__frame { position: absolute; z-index: 1; left: -12px; top: -12px; width: 100%; height: 100%; border: 1px solid var(--gold); border-radius: var(--radius); }
.lawyer__copy { position: relative; z-index: 2; }
.lawyer__copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.5rem); line-height: .98; }
.lawyer__lead { font-size: 1.25rem; margin: 10px 0 16px; }
.lawyer__copy > p:not(.eyebrow):not(.lawyer__lead) { max-width: 640px; color: var(--text-soft); }
.lawyer__watermark { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); opacity: .055; width: min(35vw, 470px); pointer-events: none; }
.lawyer__watermark img { width: 100%; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-top: 4px solid var(--gold); padding: 68px 0 0; }
.site-footer__watermark { position: absolute; right: 1%; top: 12px; width: min(35vw, 480px); opacity: .055; pointer-events: none; }
.site-footer__watermark img { width: 100%; }
.site-footer__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 42px; padding-bottom: 48px; }
.site-footer__brand img { width: 160px; height: auto; margin-bottom: 16px; }
.site-footer__brand p { color: rgba(255,255,255,.72); max-width: 270px; font-size: .8rem; }
.site-footer__heading { margin: 0 0 17px; font-family: var(--serif); color: var(--gold); font-size: 1.05rem; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a { text-decoration: none; color: rgba(255,255,255,.78); font-size: .8rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__pending { color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.7; }
.site-footer__socials { display: flex; gap: 9px; }
.site-footer__socials a { width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: .75rem; }
.site-footer__bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.15); min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: rgba(255,255,255,.58); font-size: .68rem; }
.site-footer__bottom a { text-decoration: none; }
.whatsapp-float { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; text-decoration: none; box-shadow: 0 10px 25px rgba(11,31,51,.18); }

/* Focus */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1024px) {
  .site-nav__link { padding: 20px 0; }
  .hero__copy { padding: 48px; }
  .areas__layout { grid-template-columns: 1fr 1fr; }
  .areas__media { grid-column: 1 / -1; grid-row: 1; min-height: 300px; }
  .areas__column { grid-row: 2; }
  .areas__scroll { height: 160vh; }
  .cta-strip__inner { grid-template-columns: 1fr 1.6fr; }
  .cta-strip .button { grid-column: 1 / -1; justify-self: start; }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header__inner { min-height: 66px; }
  .site-header__brand img { width: 170px; }
  .site-header__toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 66px; background: #fff; padding: 12px 20px 22px;
    display: none; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 10px 0; }
  .site-nav__link::after { bottom: 4px; }
  .site-nav__cta { margin-top: 6px; }
  .hero__slides { height: var(--hero-height, 720px); min-height: 0; }
  .hero__slide { display: block; }
  .hero__slide::before { width: 68%; }
  .hero__copy { width: 68%; padding: 42px 28px 28px; }
  .hero__copy h1, .hero__copy h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .hero__copy h2.hero__title--compact { font-size: clamp(1.9rem, 7.2vw, 2.65rem); line-height: 1.08; }
  .hero__media { min-height: 0; }
  .hero__arrow { top: auto; bottom: 285px; transform: none; }
  .hero__arrow--prev { left: 12px; }
  .hero__arrow--next { right: 12px; }
  .areas__scroll { height: auto; }
  .areas__sticky { position: relative; top: auto; min-height: 0; padding: 72px 0 54px; }
  .areas__layout { grid-template-columns: 1fr; }
  .areas__media { grid-column: auto; grid-row: auto; min-height: 300px; order: -1; }
  .areas__column { grid-row: auto; }
  .areas__footer-link { margin-top: 28px; }
  .cta-strip__inner { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .cta-strip .button { grid-column: auto; justify-self: start; }
  .process__list { grid-template-columns: 1fr; gap: 28px; }
  .process__list::before { left: 37px; right: auto; top: 38px; bottom: 38px; width: 1px; height: auto; }
  .process-step__interactive { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; text-align: left; }
  .process-step__icon { grid-row: 1 / span 2; }
  .process-step__title { margin-top: 4px; }
  .process-step__text { margin-top: 6px; max-width: none; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .why__item { border-bottom: 1px solid var(--border); padding: 25px 15px; }
  .why__item:nth-child(2) { border-right: 0; }
  .lawyer__inner { grid-template-columns: 1fr; }
  .lawyer__photo-wrap { margin: 0 auto; }
  .lawyer__copy { text-align: center; }
  .lawyer__copy > p:not(.eyebrow):not(.lawyer__lead) { margin-inline: auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; justify-content: center; padding: 16px 0; text-align: center; }
}
@media (max-width: 640px) {
  .hero__slides { height: var(--hero-height, 760px); min-height: 0; }
  .hero__slide { display: block; }
  .hero__slide::before { width: 78%; }
  .hero__copy { width: 78%; padding: 36px 22px 20px; }
  .hero__actions .button { width: 100%; }
  .areas__media { min-height: 240px; }
  .areas__balance-wrap { max-width: 310px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   REFINAMIENTO FINAL — CTA + PROCESO
   Referencia visual aprobada
   ========================================================= */

.cta-strip {
  background: var(--gold);
  color: var(--navy);
}

.cta-strip__inner {
  min-height: 184px;
  display: grid;
  grid-template-columns: 285px 1px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 38px;
  padding: 26px 0;
}

.cta-strip__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.3vw, 3.2rem);
  line-height: .92;
  letter-spacing: -.035em;
}

.cta-strip__title span { display: block; }

.cta-strip__divider {
  display: block;
  width: 1px;
  height: 118px;
  background: var(--navy);
  opacity: .9;
}

.cta-strip__inner > p {
  margin: 0;
  max-width: 690px;
  font-size: clamp(.95rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.cta-strip__button {
  min-width: 250px;
  min-height: 64px;
  padding: 12px 24px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-decoration: none;
  font-size: .98rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.cta-strip__button:hover,
.cta-strip__button:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.cta-strip__button .icon--whatsapp {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
}

.cta-strip__button .icon--whatsapp svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process {
  background: var(--white);
  padding: 76px 0 92px;
}

.process .section-heading {
  max-width: 900px;
  margin-bottom: 66px;
}

.process .section-heading .eyebrow {
  margin-bottom: 12px;
  font-size: .78rem;
  letter-spacing: .25em;
}

.process .section-heading h2 {
  font-size: clamp(3rem, 5vw, 4.25rem);
  line-height: .98;
}

.process .section-heading > p:last-child {
  margin-top: 16px;
  max-width: none;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--text-soft);
}

.process__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process__list::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 10%;
  right: 10%;
  top: 59px;
  height: 1px;
  background: var(--gold);
}

.process-step {
  position: relative;
  min-width: 0;
  text-align: center;
}

.process-step__interactive {
  position: relative;
  z-index: 2;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  text-align: center;
}

.process-step__icon {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--navy);
  transition: background .22s ease, color .22s ease, transform .22s ease, border-color .22s ease;
}

.process-step__svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .18s ease;
}

.process-step__number {
  display: none;
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.process-step__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.65vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -.018em;
}

.process-step__text {
  margin: 12px auto 0;
  max-width: 290px;
  color: var(--text-soft);
  font-size: clamp(.92rem, 1.05vw, 1.05rem);
  line-height: 1.52;
}

.process-step__interactive:hover .process-step__icon,
.process-step__interactive:focus-visible .process-step__icon,
.process-step.is-active .process-step__icon {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.process-step__interactive:hover .process-step__svg,
.process-step__interactive:focus-visible .process-step__svg,
.process-step.is-active .process-step__svg {
  display: none;
}

.process-step__interactive:hover .process-step__number,
.process-step__interactive:focus-visible .process-step__number,
.process-step.is-active .process-step__number {
  display: block;
}

@media (max-width: 1024px) {
  .cta-strip__inner {
    grid-template-columns: 250px 1px minmax(0, 1fr);
    column-gap: 28px;
  }
  .cta-strip__button {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -58px;
  }
  .process__list { column-gap: 10px; }
  .process-step__icon { width: 100px; height: 100px; flex-basis: 100px; }
  .process__list::before { top: 50px; }
}

@media (max-width: 768px) {
  .cta-strip__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 34px 0;
  }
  .cta-strip__title { font-size: 2.5rem; }
  .cta-strip__divider {
    width: 100%;
    height: 1px;
  }
  .cta-strip__inner > p { max-width: 650px; }
  .cta-strip__button {
    grid-column: auto;
    justify-self: start;
    margin-top: 4px;
  }

  .process {
    padding: 68px 0 76px;
  }
  .process .section-heading {
    margin-bottom: 48px;
  }
  .process .section-heading h2 {
    font-size: clamp(2.7rem, 9vw, 3.6rem);
  }
  .process__list {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }
  .process__list::before {
    left: 59px;
    right: auto;
    top: 59px;
    bottom: 59px;
    width: 1px;
    height: auto;
  }
  .process-step__interactive {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 24px;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .process-step__icon {
    grid-row: 1 / span 2;
  }
  .process-step__title {
    margin-top: 0;
  }
  .process-step__text {
    margin: 10px 0 0;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .cta-strip__title { font-size: 2.2rem; }
  .cta-strip__button { width: 100%; }
  .process__list::before { left: 43px; }
  .process-step__interactive { grid-template-columns: 86px minmax(0,1fr); column-gap: 18px; }
  .process-step__icon { width: 86px; height: 86px; flex-basis: 86px; }
  .process-step__svg { width: 48px; height: 48px; }
}

/* =========================================================
   SU ABOGADO EN SANTA ROSA DE COPÁN
   Fotografía cuadrada, proporcionada al Home y contenido amplio.
   ========================================================= */
.lawyer {
  position: relative;
  overflow: hidden;
  background: var(--warm-bg);
  min-height: 690px;
  padding: 70px 0 76px;
  border-bottom: 5px solid var(--gold);
}
.lawyer__inner {
  position: relative; z-index: 2;
  width: min(calc(100% - 80px), 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 540px minmax(0, 1fr);
  gap: clamp(60px, 6vw, 105px);
  align-items: center;
}
.lawyer__photo-wrap { position: relative; width: 520px; height: 520px; justify-self: start; z-index: 2; }
.lawyer__photo { position: relative; z-index: 2; display: block; width: 520px; height: 520px; object-fit: cover; object-position: center center; border-radius: 18px; }
.lawyer__frame { position: absolute; z-index: 1; left: -28px; top: -28px; width: 520px; height: 520px; border: 4px solid var(--gold); border-radius: 3px; pointer-events: none; }
.lawyer__copy { position: relative; z-index: 3; width: 100%; max-width: 650px; }
.lawyer__copy .eyebrow { margin: 0 0 20px; color: var(--gold); font-size: clamp(.72rem, .8vw, .92rem); font-weight: 600; letter-spacing: .24em; line-height: 1.25; text-transform: uppercase; }
.lawyer__copy h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(3.6rem, 4.4vw, 5rem); line-height: .98; letter-spacing: -.045em; }
.lawyer__lead { margin: 20px 0 30px; color: var(--navy); font-family: var(--sans); font-size: clamp(1.2rem, 1.5vw, 1.6rem); line-height: 1.28; }
.lawyer__copy > p:not(.eyebrow):not(.lawyer__lead) { max-width: 650px; margin: 0 0 32px; color: var(--navy); font-size: clamp(.98rem, 1.08vw, 1.1rem); line-height: 1.58; }
.lawyer__copy .text-link { display: inline-flex; align-items: center; gap: 24px; color: var(--navy); font-size: 1rem; font-weight: 600; text-decoration: none; border-bottom: 0; padding-bottom: 5px; }
.lawyer__copy .text-link__label { border-bottom: 2px solid var(--gold); padding-bottom: 5px; }
.lawyer__copy .text-link__arrow { border-bottom: 0; font-size: 1.45em; line-height: .6; transition: transform .25s var(--ease); }
.lawyer__copy .text-link:hover .text-link__arrow { transform: translateX(5px); }
.lawyer__watermark { position: absolute; z-index: 1; right: -2%; top: 50%; transform: translateY(-50%); width: min(28vw, 500px); opacity: .045; pointer-events: none; }
.lawyer__watermark img { width: 100%; height: auto; }
@media (max-width: 1200px) {
  .lawyer__inner { width: min(calc(100% - 64px), 1080px); grid-template-columns: 470px minmax(0, 1fr); gap: 58px; }
  .lawyer__photo-wrap, .lawyer__photo, .lawyer__frame { width: 450px; height: 450px; }
  .lawyer__copy h2 { font-size: clamp(3.2rem, 5vw, 4.5rem); }
  .lawyer__watermark { width: 400px; right: -110px; }
}
@media (max-width: 900px) {
  .lawyer { padding: 64px 0 72px; }
  .lawyer__inner { width: min(calc(100% - 48px), 720px); grid-template-columns: 1fr; gap: 52px; justify-items: center; }
  .lawyer__photo-wrap { width: min(500px, 100%); height: auto; aspect-ratio: 1 / 1; }
  .lawyer__photo, .lawyer__frame { width: 100%; height: 100%; }
  .lawyer__copy { max-width: 680px; text-align: center; }
  .lawyer__copy > p:not(.eyebrow):not(.lawyer__lead) { margin-inline: auto; }
  .lawyer__copy .text-link { justify-content: center; }
  .lawyer__watermark { width: 360px; right: -110px; top: 72%; }
}
@media (max-width: 520px) {
  .lawyer { padding: 50px 0 62px; }
  .lawyer__inner { width: min(calc(100% - 30px), 480px); gap: 42px; }
  .lawyer__photo-wrap { width: calc(100% - 16px); margin-right: 16px; }
  .lawyer__frame { left: -12px; top: -12px; border-width: 3px; }
  .lawyer__copy .eyebrow { font-size: .62rem; letter-spacing: .16em; }
  .lawyer__copy h2 { font-size: clamp(2.55rem, 11vw, 3.5rem); }
  .lawyer__lead { font-size: 1.06rem; }
  .lawyer__copy > p:not(.eyebrow):not(.lawyer__lead) { font-size: .94rem; }
  .lawyer__watermark { width: 270px; right: -105px; top: 68%; opacity: .04; }
}

/* =========================================================
   FOOTER — CONTACTO + GOOGLE MAPS
   ========================================================= */
.site-footer__contact { position: relative; z-index: 2; }
.site-footer__contact-location,
.site-footer__contact-row { display: flex; align-items: center; gap: 18px; }
.site-footer__contact-location { margin-bottom: 14px; }
.site-footer__contact-location p { margin: 0; color: rgba(255,255,255,.9); font-size: .9rem; line-height: 1.55; }
.site-footer__contact-icon { flex: 0 0 38px; width: 38px; height: 38px; display: inline-grid; place-items: center; color: var(--gold); }
.site-footer__contact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__map { width: 100%; aspect-ratio: 16 / 8.5; min-height: 120px; margin: 8px 0 20px; overflow: hidden; border-radius: 7px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.site-footer__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.site-footer__contact-row { color: rgba(255,255,255,.92); text-decoration: none; font-size: .9rem; line-height: 1.35; margin-top: 10px; transition: color .2s ease, transform .2s ease; }
.site-footer__contact-row:hover { color: var(--gold); transform: translateX(2px); }
.site-footer__contact-row .site-footer__contact-icon { flex-basis: 38px; }
@media (max-width: 768px) {
  .site-footer__map { max-width: 520px; }
}

/* =========================================================
   ÁREAS DE SERVICIO — implementación funcional de referencia
   ========================================================= */
.areas-ref { background: #fbfbfb; padding-top: clamp(56px, 6vw, 96px); }
.areas-ref__trigger { min-height: max(814px, calc(100vh - 35px)); }
.areas-ref__sticky { position: sticky; top: 74px; height: calc(100vh - 129px); min-height: 705px; display: flex; flex-direction: column; padding: 38px 0 14px; overflow: hidden; }
.areas-ref__header { flex: 0 0 auto; text-align:center; position:relative; z-index:30; padding-top: 4px; }
.areas-ref__header .eyebrow { margin: 0 0 7px; }
.areas-ref__header h2 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.1rem); line-height: .98; color: var(--navy); }
.areas-ref__header > p:last-child { margin:0 auto; max-width:560px; color:var(--text-soft); font-size:.82rem; line-height:1.45; }
.areas-ref__grid { position:relative; flex:1; min-height:0; display:flex; align-items:center; justify-content:space-between; gap:30px; width:100%; z-index:20; margin-top: 12px; margin-bottom: 8px; }
.areas-ref__column { width:250px; flex:0 0 250px; display:flex; flex-direction:column; gap:24px; position:relative; z-index:25; }
.areas-ref__column--left { align-items:flex-start; }
.areas-ref__column--right { align-items:flex-end; }
.areas-ref__card { width:250px; min-height:116px; box-sizing:border-box; position:relative; display:block; padding:30px 14px 15px; border:1.5px solid rgba(181,154,106,.8); background:#fff; border-radius:0; text-decoration:none; color:var(--navy); box-shadow:0 4px 16px rgba(11,31,51,.035); overflow:visible; transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease; }
.areas-ref__card:hover,.areas-ref__card:focus-visible { border-color:var(--gold); background:var(--warm-bg); box-shadow:0 8px 24px rgba(181,154,106,.16); transform:translateY(-2px); }
.areas-ref__icon { width:44px; height:44px; position:absolute; top:0; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; box-sizing:border-box; border:1.5px solid rgba(181,154,106,.8); background:#fff; color:var(--navy); z-index:3; }
.areas-ref__icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.areas-ref__card:hover .areas-ref__icon,.areas-ref__card:focus-visible .areas-ref__icon { color:var(--gold); border-color:var(--gold); }
.areas-ref__card-content { display:block; text-align:center; }
.areas-ref__card-content strong { display:block; margin-bottom:4px; font-family:var(--serif); font-size:1.13rem; line-height:1.1; color:var(--gold); }
.areas-ref__card-content small { display:block; color:#596575; font-size:.70rem; line-height:1.38; }
.areas-ref__center { position:absolute; inset:0; z-index:10; display:flex; flex-direction:column; align-items:center; justify-content:center; pointer-events:none; overflow:visible; }
.areas-ref__balance { width:auto; height:500px; max-width:none; max-height:none; object-fit:contain; mix-blend-mode:normal; user-select:none; -webkit-user-drag:none; filter:contrast(1.03) brightness(.98); flex: 0 0 auto; -webkit-mask-image: radial-gradient(ellipse 74% 74% at 50% 50%, #000 52%, rgba(0,0,0,.92) 64%, rgba(0,0,0,.52) 76%, transparent 94%); mask-image: radial-gradient(ellipse 74% 74% at 50% 50%, #000 52%, rgba(0,0,0,.92) 64%, rgba(0,0,0,.52) 76%, transparent 94%); }
.areas-ref__arrows { position:absolute; inset:0; width:100%; height:100%; overflow:visible; z-index:1; pointer-events:none; }
.areas-ref__arrow { stroke-width:2; stroke-dasharray:4 4; fill:none; transition:d .03s linear, opacity .2s ease; }
.areas-ref__hint { position:relative; left:auto; bottom:auto; transform:none; margin-top:6px; color:var(--gold); font-size:.68rem; font-weight:600; letter-spacing:.03em; white-space:nowrap; opacity:.8; z-index:12; }
.areas-ref__hint span { display:inline-block; margin-right:5px; animation:areasHintBounce 1.5s ease-in-out infinite; }
@keyframes areasHintBounce { 0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)} }
.areas-ref__footer-link { position:relative; z-index:30; flex:0 0 auto; text-align:center; padding-top:84px; min-height:62px; box-sizing:border-box; }
.areas-ref__footer-link a { display:inline-flex; align-items:center; gap:8px; color:var(--navy); font-weight:700; font-size:.86rem; text-decoration:none; border-bottom:2px solid var(--gold); padding-bottom:3px; }
.areas-ref__footer-link a span { transition:transform .25s ease; }
.areas-ref__footer-link a:hover span { transform:translateX(5px); }

@media (min-width: 821px) {
  .areas-ref__sticky { padding-top: 38px; }
}

@media (max-width: 1100px) {
  .areas-ref__grid { gap:16px; }
  .areas-ref__column { width:220px; flex-basis:220px; }
  .areas-ref__card { width:220px; min-height:112px; }
  .areas-ref__balance { height:520px; }
}
@media (max-width: 820px) {
  .areas-ref__sticky { min-height:calc(100vh - 74px); padding-top:45px; }
  .areas-ref__trigger { min-height:180vh; }
  .areas-ref__sticky { height:auto; min-height:calc(100vh - 74px); overflow:visible; padding:45px 0 45px; }
  .areas-ref__grid { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:24px 18px; margin:42px 0 30px; }
  .areas-ref__center { position:relative; inset:auto; grid-column:1 / -1; grid-row:1; min-height:340px; order:-1; }
  .areas-ref__column { width:auto; flex-basis:auto; }
  .areas-ref__column { gap:24px; }
  .areas-ref__column--left,.areas-ref__column--right { align-items:stretch; }
  .areas-ref__card { width:100%; min-height:120px; }
  .areas-ref__balance { height:390px; max-width:100%; }
  .areas-ref__arrows { display:none; }
  .areas-ref__hint { bottom:auto; margin-top:6px; }
}
@media (max-width: 560px) {
  .areas-ref__trigger { min-height:auto; }
  .areas-ref__sticky { padding:58px 0 42px; }
  .areas-ref__break { display:none; }
  .areas-ref__header h2 { font-size:2rem; }
  .areas-ref__grid { grid-template-columns:1fr; gap:26px; }
  .areas-ref__center { grid-column:auto; min-height:310px; }
  .areas-ref__column { gap:26px; }
  .areas-ref__card { width:100%; max-width:320px; margin:0 auto; }
  .areas-ref__balance { height:330px; max-width:100%; }
  .areas-ref__hint { font-size:.62rem; }
}

/* =========================================================
   ÁREAS DE SERVICIO — ajuste fino de composición vertical v3
   ========================================================= */
@media (min-width: 821px) {
  .areas-ref__sticky {
    min-height: 740px;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .areas-ref__header {
    padding-top: 0;
  }

  .areas-ref__header .eyebrow {
    margin-bottom: 8px;
  }

  .areas-ref__header h2 {
    margin-bottom: 10px;
  }

  .areas-ref__grid {
    margin-top: 24px;
    margin-bottom: 64px;
  }

  .areas-ref__center {
    justify-content: flex-start;
    padding-top: 4px;
    box-sizing: border-box;
  }

  .areas-ref__balance {
    height: 500px;
  }

  .areas-ref__hint {
    margin-top: 12px;
  }

  .areas-ref__footer-link {
    padding-top: 8px;
    min-height: 44px;
    margin-top: 0;
  }
}

/* =========================================================
   ÁREAS DE SERVICIO — separación real entre indicación y enlace
   ========================================================= */
@media (min-width: 821px) {
  .areas-ref__footer-link {
    position: relative;
    top: auto;
    margin-top: 50px;
    padding-top: 0;
    min-height: 44px;
  }
}

@media (max-width: 820px) {
  .areas-ref__footer-link {
    margin-top: 34px;
    padding-top: 0;
  }
}


/* =========================================================
   ÁREAS DE SERVICIO — orden definitivo de controles inferiores v14
   ========================================================= */
.areas-ref__bottom {
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.areas-ref__bottom .areas-ref__hint {
  position: relative;
  left: auto;
  bottom: auto;
  margin: 0;
}

.areas-ref__bottom .areas-ref__footer-link {
  position: relative;
  top: auto;
  margin-top: 50px;
  padding-top: 0;
  min-height: 0;
}

@media (max-width: 820px) {
  .areas-ref__bottom .areas-ref__footer-link {
    margin-top: 34px;
  }
}
