/* Celeris 2026 — light executive direction.
   Loaded last so the current content, translations and interactions stay intact. */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #17283a;
  --ink-soft: #263849;
  --bone: #ecebe6;
  --bone-deep: #e2e1dc;
  --cream: #f5f4f0;
  --paper: #fbfaf7;
  --stone: #66717a;
  --stone-soft: #9a9f9f;
  --line: #d2d1c9;
  --accent: #a07a43;
  --accent-deep: #806034;
  --blue: #17283a;
  --green: #567663;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1480px;
  --section-y: 128px;
}

* { letter-spacing: 0 !important; }

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
}

body::before,
.cursor-glow { display: none; }

.grain { opacity: .012; }
.section { border-bottom: 1px solid var(--line); }
.section-kicker { color: var(--accent-deep); font-size: 10px; }

.section-head {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
  align-items: end;
  margin-bottom: 72px;
}

.section-head h2,
.faq__head h2 {
  max-width: 900px;
  color: var(--ink);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.02;
}

.section-head h2 em,
.faq__head h2 em { color: var(--accent-deep); }
.section-head > p { color: var(--stone); font-size: 17px; }

/* Navigation */
.nav {
  height: 76px;
  padding: 15px var(--gutter);
  color: var(--ink);
  background: rgba(251, 250, 247, .62);
  border-bottom: 1px solid rgba(23, 40, 58, .11);
  backdrop-filter: blur(14px) saturate(.9);
}

.nav.is-stuck,
.nav.is-menu-open {
  height: 66px;
  color: var(--ink);
  background: rgba(251, 250, 247, .94);
  box-shadow: 0 10px 30px rgba(23, 40, 58, .05);
}

.logo { gap: 11px; }
.logo__mark {
  width: 34px;
  height: 34px;
  padding: 6px;
  color: var(--accent);
  border: 1px solid rgba(160, 122, 67, .5);
}
.logo__word {
  color: var(--ink);
  font-size: 23px;
  font-weight: 500;
}
.logo__tag { color: var(--stone); }
.nav__links a { font-size: 12px; }
.nav__links a::after { background: var(--accent); }

.nav:not(.is-stuck):not(.is-menu-open) .language button { color: var(--stone); }
.nav:not(.is-stuck):not(.is-menu-open) .language button.is-active { color: var(--ink); }
.nav:not(.is-stuck):not(.is-menu-open) .nav__access {
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  border-color: rgba(23, 40, 58, .2);
}
.nav:not(.is-stuck):not(.is-menu-open) .nav__cta {
  color: white;
  background: var(--ink);
}
.scroll-progress { height: 1px; background: var(--accent); }

/* Controls */
.btn {
  min-height: 48px;
  border-radius: 2px;
  font-size: 12px;
  overflow: visible;
}
.btn::before { display: none; }
.btn--primary { color: white; background: var(--ink); }
.btn--primary:hover { color: white; background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { background: rgba(255, 255, 255, .38); border-color: rgba(23, 40, 58, .28); }
.btn--ghost:hover { color: var(--ink); background: white; border-color: var(--ink); }
.btn--light { color: var(--ink); background: white; }

/* Hero */
.hero {
  height: 88svh;
  min-height: 700px;
  max-height: 920px;
  padding: 104px var(--gutter) 30px;
  color: var(--ink);
  background-color: #e8e7e3;
  background-image: url("images/celeris-office-andorra-v2.jpg");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.hero::before,
.hero::after,
.hero__terrain,
.hero__orb { display: none; }
.hero__grid { min-height: 0; }
.hero__eyebrow {
  min-height: 38px;
  padding: 0 0 18px clamp(120px, 10vw, 160px);
  color: #4b5966;
  border-bottom: 1px solid rgba(23, 40, 58, .16);
  font-size: 9px;
}
.hero__eyebrow-place { color: #6f7880; }
.hero__brand-lockup {
  width: min(760px, 53%);
  margin: auto 0 0;
  text-align: center;
}
.hero__title {
  display: block;
  max-width: none;
  color: var(--ink);
  font-size: 104px;
  font-weight: 380;
  line-height: .9;
  text-transform: uppercase;
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
}
.hero__brand-rule {
  display: block;
  width: min(430px, 74%);
  height: 1px;
  margin: 27px auto 16px;
  background: var(--accent);
  opacity: .65;
}
.hero__descriptor {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: #344555;
  font-size: 14px;
  font-weight: 500;
}
.hero__descriptor em { color: var(--accent-deep); font-family: var(--sans); font-style: normal; font-weight: 500; }
.hero__content--editorial {
  width: min(760px, 53%);
  margin: 30px 0 auto;
  padding-bottom: 34px;
  display: block;
}
.hero__copy { text-align: center; }
.hero__content--editorial .hero__lede {
  max-width: 500px;
  margin-inline: auto;
  color: #455662;
  font-size: 17px;
  line-height: 1.5;
}
.hero__actions { justify-content: center; gap: 12px; margin-top: 28px; }
.hero .hero__actions .btn--primary {
  min-width: 230px;
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.hero .hero__actions .btn--primary:hover {
  color: white;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.hero .hero__actions .btn--ghost {
  min-width: 176px;
  color: var(--ink);
  background: rgba(255, 255, 255, .3);
  border-color: rgba(23, 40, 58, .3);
}
.hero .hero__actions .btn--ghost:hover {
  color: var(--ink);
  background: white;
  border-color: var(--ink);
}
.hero__actions .btn svg { flex: 0 0 auto; }
.hero__scroll { color: #53616d; }
.hero__scroll i { background: rgba(23, 40, 58, .25); }
.hero__scroll i::after { background: var(--accent); }

/* The firm */
.firm-overview {
  padding: clamp(72px, 7vw, 104px) var(--gutter) clamp(88px, 9vw, 138px);
  color: var(--ink);
  background: #f1f0ec;
  border-top: 1px solid rgba(23, 40, 58, .18);
}
.firm-overview__intro,
.firm-model,
.firm-values {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}
.firm-overview__intro {
  display: grid;
  grid-template-columns: minmax(460px, 1.15fr) minmax(300px, .65fr);
  gap: clamp(48px, 8vw, 126px);
  align-items: end;
}
.firm-overview__intro h2 {
  max-width: 760px;
  margin-top: 22px;
  font: 400 clamp(52px, 5vw, 76px)/.98 var(--serif);
  letter-spacing: 0;
}
.firm-overview__intro h2 em { color: var(--accent-deep); }
.firm-overview__intro > p {
  max-width: 500px;
  padding-left: 24px;
  border-left: 1px solid var(--accent);
  color: #53616b;
  font-size: 17px;
  line-height: 1.65;
}
.firm-model {
  min-height: 248px;
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(210px, .72fr) 88px minmax(220px, .7fr) 88px minmax(480px, 1.65fr);
  align-items: stretch;
}
.firm-model__node,
.firm-model__scope {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 40, 58, .22);
}
.firm-model__stage {
  min-height: 54px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(23, 40, 58, .16);
  color: #746242;
  font-size: 8px;
}
.firm-model__stage span {
  min-width: 24px;
  color: var(--accent-deep);
}
.firm-model__stage small { font: inherit; }
.firm-model__copy,
.firm-model__core-brand {
  min-height: 192px;
  padding: 30px 28px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}
.firm-model__copy > span {
  color: #7b6847;
  font-size: 8px;
}
.firm-model__copy strong {
  margin-top: 32px;
  font: 400 32px/1 var(--serif);
}
.firm-model__copy small {
  margin-top: 10px;
  color: #68747c;
  font-size: 12px;
}
.firm-model__node--source { background: rgba(255, 255, 255, .54); }
.firm-model__node--core {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.firm-model__node--core .firm-model__stage {
  color: rgba(255, 255, 255, .55);
  border-bottom-color: rgba(255, 255, 255, .16);
}
.firm-model__node--core .firm-model__stage span { color: #d0ad70; }
.firm-model__core-brand {
  align-items: center;
  text-align: center;
}
.firm-model__core-brand > span {
  color: #c3a36d;
  font: 500 18px var(--sans);
}
.firm-model__core-brand strong {
  margin-top: 20px;
  font: 400 36px/1 var(--serif);
}
.firm-model__core-brand small {
  margin-top: 10px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}
.firm-model__connector {
  position: relative;
  display: grid;
  place-items: center;
}
.firm-model__connector > span {
  position: absolute;
  top: calc(50% - 28px);
  width: 100%;
  color: #81745e;
  font-size: 7px;
  text-align: center;
}
.firm-model__connector i {
  position: relative;
  width: 100%;
  height: 1px;
  display: block;
  background: rgba(23, 40, 58, .36);
}
.firm-model__connector i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}
.firm-model__scope {
  background: #e2e8ea;
}
.firm-model__scope-head {
  min-height: 54px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(23, 40, 58, .16);
}
.firm-model__scope-head .firm-model__stage {
  min-height: 53px;
  border-bottom: 0;
}
.firm-model__scope-head > span {
  color: #746f66;
  font-size: 7px;
  white-space: nowrap;
}
.firm-model__areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.firm-model__areas b {
  min-height: 91px;
  padding: 17px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(23, 40, 58, .16);
}
.firm-model__areas b:last-child { border-right: 0; }
.firm-model__areas small {
  color: #8a7653;
  font: 500 8px var(--mono);
}
.firm-model__areas span {
  font-size: 12px;
  font-weight: 550;
}
.firm-model__result {
  min-height: 102px;
  margin-top: auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(23, 40, 58, .18);
  background: rgba(255, 255, 255, .28);
}
.firm-model__result small {
  color: #81745e;
  font-size: 7px;
}
.firm-model__result strong {
  padding-left: 20px;
  border-left: 1px solid rgba(23, 40, 58, .2);
  font: 400 25px/1.08 var(--serif);
}
.firm-values {
  margin-top: 100px;
  padding-top: 54px;
  border-top: 1px solid rgba(23, 40, 58, .26);
}
.firm-values > header {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: end;
}
.firm-values > header h3 {
  max-width: 640px;
  font: 400 42px/1.05 var(--serif);
  letter-spacing: 0;
}
.firm-values__grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 40, 58, .22);
  border-left: 1px solid rgba(23, 40, 58, .22);
}
.firm-values__grid article {
  min-height: 190px;
  padding: 26px 28px;
  border-right: 1px solid rgba(23, 40, 58, .22);
  border-bottom: 1px solid rgba(23, 40, 58, .22);
  background: rgba(255, 255, 255, .32);
}
.firm-values__grid article:nth-child(even) { background: rgba(225, 231, 233, .45); }
.firm-values__grid span {
  color: var(--accent-deep);
  font: 500 9px var(--mono);
}
.firm-values__grid h4 {
  margin-top: 36px;
  font: 400 27px/1.05 var(--serif);
}
.firm-values__grid p {
  max-width: 310px;
  margin-top: 12px;
  color: #5c6870;
  font-size: 13px;
  line-height: 1.5;
}

.statement { color: var(--ink); background: #f1f0ec; }
.statement::before { display: none; }
.statement__quote { font-size: 64px; line-height: 1.04; }
.statement__quote em { color: var(--accent-deep); }
.statement__text { color: var(--stone); }
.statement__signal { border-left-color: var(--line); }
.statement__signal .signal-c { stroke: var(--ink); }
.statement__signal .signal-lines { stroke: var(--accent); }

.chapter-transition {
  --chapter-bg: #f8f7f4;
  --chapter-fg: var(--ink);
  --chapter-accent: var(--accent);
}
.chapter-transition > div {
  min-width: 100%;
  padding: 20px 0;
  justify-content: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  transform: none !important;
}
.chapter-transition--dark {
  --chapter-bg: var(--ink);
  --chapter-fg: white;
}
.chapter-transition--accent {
  --chapter-bg: #dfe5e7;
  --chapter-fg: var(--ink);
  --chapter-accent: var(--accent-deep);
}

/* Solutions */
.audiences {
  padding-block: clamp(82px, 7vw, 108px);
  background: #f5f3ee;
  border-bottom: 1px solid #c8c7c0;
}
.audiences .section-head { margin-bottom: 48px; }
.audiences .section-head h2 { max-width: 720px; font-size: 58px; }
.audiences .section-head > p { max-width: 430px; font-size: 15px; }
.pathfinder {
  min-height: 430px;
  grid-template-columns: 290px minmax(0, 1fr);
  background: var(--paper);
  border-color: rgba(23, 40, 58, .72);
}
.pathfinder__nav { border-right-color: var(--ink); }
.pathfinder__nav button {
  position: relative;
  min-height: 0;
  padding: 22px 24px;
  grid-template-columns: 26px minmax(0, 1fr) 16px;
  gap: 10px;
}
.pathfinder__nav button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
}
.pathfinder__nav button[aria-selected="true"] { color: white; background: var(--ink); }
.pathfinder__nav button[aria-selected="true"]::before { background: var(--accent); }
.pathfinder__nav button span { color: var(--accent-deep); }
.pathfinder__nav button b { font-size: 12px; font-weight: 560; }
.path-panel {
  min-height: 430px;
  padding: 42px 48px;
  grid-template-columns: minmax(270px, .9fr) minmax(320px, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-content: center;
  background: var(--paper);
}
.path-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 1px;
  background: var(--line);
}
.path-panel__index {
  top: 20px;
  right: 28px;
  color: rgba(23, 40, 58, .045);
  font-size: 118px;
}
.path-panel > div:not(.path-panel__detail) { align-self: center; }
.path-panel > div:not(.path-panel__detail) > p { display: none; }
.path-panel h3 {
  max-width: 500px;
  margin-top: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
}
.path-panel__detail { align-self: center; }
.path-panel__detail > p {
  max-width: 520px;
  color: var(--stone);
  font-size: 15px;
  line-height: 1.55;
}
.path-panel__detail ul { margin-top: 18px; }
.path-panel__detail li { padding-block: 9px; color: var(--ink-soft); font-size: 12px; }
.path-panel__detail .text-link { margin-top: 24px; font-size: 13px; }

/* Service directory */
.services {
  color: var(--ink);
  background: #e7ecee;
  border-top: 8px solid #d7dfe2;
}
.services .section-head--light h2,
.services .section-head--light > p { color: var(--ink); }
.service-index { border-color: var(--ink); }
.service-index a { border-right-color: var(--line); }
.service-index a:hover { color: white; background: var(--ink); }
.service-index span { color: var(--accent-deep); }
.service-index b { color: inherit; }
.service-catalog { display: grid; gap: 34px; }
.service-cluster {
  --cluster-accent: #967342;
  --cluster-surface: #f5f2eb;
  display: block;
  padding: 0;
  overflow: hidden;
  background: rgba(251, 250, 247, .72);
  border: 1px solid rgba(23, 40, 58, .2);
  border-top: 4px solid var(--cluster-accent);
  border-radius: 4px;
}
.service-cluster#gestion { --cluster-accent: #3f6272; --cluster-surface: #eaf0f2; }
.service-cluster#crecimiento { --cluster-accent: #58705f; --cluster-surface: #edf1ed; }
.service-cluster#proteccion { --cluster-accent: #806555; --cluster-surface: #f1ece8; }
.service-cluster__head {
  position: static;
  min-height: 170px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: var(--cluster-surface);
  border-bottom: 1px solid rgba(23, 40, 58, .18);
}
.service-cluster__head > span {
  width: 50px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  color: white;
  background: var(--cluster-accent);
  border-radius: 2px;
  font-size: 9px;
}
.service-cluster__head > div {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(260px, .6fr);
  gap: 48px;
  align-items: end;
}
.service-cluster__head h3 { max-width: 560px; color: var(--ink); font-size: 42px; line-height: 1.02; }
.service-cluster__head p { max-width: 420px; margin: 0; color: #56636c; font-size: 16px; line-height: 1.55; }
.service-cluster__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0;
}
#gestion .service-cluster__grid,
#proteccion .service-cluster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  min-height: 360px;
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0;
  border-right: 1px solid rgba(23, 40, 58, .16);
  border-bottom: 1px solid rgba(23, 40, 58, .16);
  background: rgba(255, 255, 255, .56);
}
.service-card:nth-child(3n) { border-right: 0; }
#gestion .service-card:nth-child(3n),
#proteccion .service-card:nth-child(3n) { border-right: 1px solid rgba(23, 40, 58, .16); }
#gestion .service-card:nth-child(2n),
#proteccion .service-card:nth-child(2n) { border-right: 0; }
.service-card:hover { background: white; }
.service-card__number {
  position: static;
  margin-bottom: 52px;
  color: var(--cluster-accent);
  font-size: 10px;
}
.service-card h4 { max-width: 320px; color: var(--ink); font-size: 28px; line-height: 1.08; }
.service-card > p:not(.service-card__scope) { margin-top: 18px; color: var(--stone); font-size: 15px; line-height: 1.55; }
.service-card__scope {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 40, 58, .14);
  color: #68747b;
  font-size: 10px;
  line-height: 1.7;
}
.service-card button {
  width: 100%;
  margin-top: 20px;
  padding-top: 17px;
  color: var(--ink);
  border-top: 1px solid rgba(23, 40, 58, .14);
  font-size: 12px;
}
.service-card button i { color: var(--cluster-accent); }
.service-card--accent { background: var(--cluster-surface); }

/* Sofia */
.sofia { color: var(--ink); background: #dfe6e8; }
.sofia::before { display: none; }
.sofia__intro h2 { color: var(--ink); font-size: 60px; }
.sofia__intro h2 em { color: var(--accent-deep); }
.sofia__intro > p:not(.section-kicker) { color: #4e5e68; font-size: 16px; }
.sofia__intro ul { border-top-color: rgba(23, 40, 58, .2); }
.sofia__intro li { border-bottom-color: rgba(23, 40, 58, .2); }
.sofia__intro li > span { color: var(--accent-deep); }
.sofia__intro li strong { color: var(--ink); }
.sofia__intro li small { color: #5e6b73; }
.sofia__demo {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(23, 40, 58, .2);
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(23, 40, 58, .14);
  transform: none;
}
.sofia__demo:hover { transform: translateY(-4px); }
.sofia__message { border-radius: 3px; background: white; }
.sofia__message--user { color: white; background: var(--ink); }
.sofia__avatar,
.drawer__avatar { background: var(--accent-deep); }

/* Process and portal */
.process { background: #f7f6f2; }
.process__steps::before { width: 1px; background: var(--accent); }
.process__steps li.is-current { background: #efede7; }
.process__steps h3 { color: var(--ink); font-size: 32px; }
.process__steps p { color: var(--stone); font-size: 14px; }

.portal {
  position: relative;
  padding-block: clamp(88px, 8vw, 120px);
  grid-template-columns: minmax(340px, .72fr) minmax(620px, 1.28fr);
  gap: clamp(58px, 7vw, 108px);
  color: var(--ink);
  background: #e3e9ea;
  border-top: 1px solid rgba(23, 40, 58, .15);
}
.portal__copy { max-width: 510px; }
.portal__copy h2 { color: var(--ink); font-size: 58px; line-height: 1; }
.portal__copy h2 em { color: var(--accent-deep); }
.portal__copy > p:not(.section-kicker) {
  max-width: 480px;
  color: #52616b;
  font-size: 15px;
  line-height: 1.6;
}
.portal__benefits {
  margin-top: 32px;
  border-top: 1px solid rgba(23, 40, 58, .22);
}
.portal__benefits li {
  min-height: 72px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(23, 40, 58, .18);
}
.portal__benefits > li > span {
  color: var(--accent-deep);
  font: 500 8px var(--mono);
}
.portal__benefits div { display: flex; flex-direction: column; }
.portal__benefits strong { font-size: 13px; font-weight: 600; }
.portal__benefits small { margin-top: 4px; color: #65727a; font-size: 11px; line-height: 1.45; }
.portal__actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.portal__actions .btn { min-height: 46px; white-space: nowrap; }
.portal__actions p { display: flex; flex-direction: column; }
.portal__actions strong { font-size: 10px; }
.portal__actions small { margin-top: 3px; color: #6c787e; font-size: 9px; line-height: 1.4; }
.portal__mock {
  width: 100%;
  min-width: 0;
  max-width: 900px;
  grid-template-columns: 136px minmax(0, 1fr);
  align-self: center;
  overflow: hidden;
  background: #f8f7f3;
  border-radius: 4px;
  border: 1px solid rgba(23, 40, 58, .22);
  box-shadow: 0 30px 68px rgba(23, 40, 58, .15);
  transform: none;
}
.portal__mock > .portal__rail {
  min-width: 0;
  padding: 22px 16px 18px;
  align-items: stretch;
  gap: 0;
  color: white;
  background: var(--ink);
}
.portal__brand {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  background: transparent;
}
.portal__brand span { color: #d1ad70; font: 500 11px var(--sans); }
.portal__brand strong { font: 400 18px var(--serif); }
.portal__rail nav {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portal__rail nav span {
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .54);
  border-left: 2px solid transparent;
  font-size: 9px;
}
.portal__rail nav span.is-active {
  color: white;
  background: rgba(255, 255, 255, .08);
  border-left-color: #d1ad70;
}
.portal__rail > small {
  width: 28px;
  height: 28px;
  margin-top: auto;
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  font: 500 7px var(--mono);
}
.portal__screen { padding: 26px 28px 24px; }
.portal__screen-head { padding-bottom: 18px; border-bottom: 1px solid rgba(23, 40, 58, .15); }
.portal__screen-head div { display: flex; flex-direction: column; }
.portal__screen-head small { color: #7a7469; font: 500 7px var(--mono); }
.portal__screen-head strong { margin-top: 6px; font: 400 23px/1.05 var(--serif); }
.portal__screen > .portal__screen-head > span {
  width: auto;
  height: 25px;
  padding: 0 10px;
  display: inline-flex;
  color: #486857;
  background: #e1ebe4;
  border: 0;
  border-radius: 2px;
  font: 500 8px var(--sans);
}
.portal__progress {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: end;
}
.portal__progress > div { display: flex; flex-direction: column; }
.portal__progress small { color: #81745e; font: 500 7px var(--mono); }
.portal__progress strong { margin-top: 4px; font-size: 11px; font-weight: 600; }
.portal__progress em { color: var(--accent-deep); font: 500 10px var(--mono); }
.portal__progress > span {
  grid-column: 1 / -1;
  height: 4px;
  display: block;
  background: #deded9;
}
.portal__progress i { width: 72%; height: 100%; display: block; background: var(--accent-deep); animation: none; }
.portal__cards { margin-top: 22px; gap: 0; border-top: 1px solid rgba(23, 40, 58, .18); border-left: 1px solid rgba(23, 40, 58, .18); }
.portal__cards article {
  min-height: 126px;
  padding: 16px;
  border: 0;
  border-right: 1px solid rgba(23, 40, 58, .18);
  border-bottom: 1px solid rgba(23, 40, 58, .18);
  background: rgba(255, 255, 255, .4);
}
.portal__cards article:hover { transform: none; box-shadow: none; background: white; }
.portal__cards article > span { color: var(--accent-deep); }
.portal__cards small { margin-top: 18px; color: #737d81; }
.portal__cards strong { font-size: 15px; }
.portal__cards em { color: #4d6d5a; font-size: 8px; }
.portal__cards article:last-child em { color: #8b6634; }
.portal__activity { margin-top: 22px; }
.portal__activity > small { color: #81745e; font-size: 7px; }
.portal__activity > span {
  min-height: 38px;
  margin-top: 7px;
  padding: 8px 10px;
  background: #efeee9;
  border-left: 2px solid transparent;
}
.portal__activity > span:last-child { border-left-color: #b88a4c; }
.portal__activity i { color: #4d755d; }
.portal__activity b { font-size: 9px; }
.portal__activity em { font-size: 8px; }

@media (min-width: 801px) {
  .portal { padding-right: calc(var(--gutter) + 56px); }
}

/* FAQ */
.faq { background: #f7f6f2; }
.faq__list details[open] { background: #edebe5; }

/* Contact */
.contact { color: var(--ink); background: #dfe5e7; }
.contact__copy h2 { color: var(--ink); font-size: 62px; }
.contact__copy h2 em { color: var(--accent-deep); }
.contact__copy > p:not(.section-kicker) { color: #50606a; }
.contact__channels small { color: #717b81; }
.lead-form {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(23, 40, 58, .14);
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(23, 40, 58, .12);
}
.lead-form input:not([type="checkbox"]),
.lead-form textarea,
.lead-form select { background: white; }
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus { border-color: var(--accent); }

/* Footer and assistant */
.footer { color: rgba(255, 255, 255, .8); background: var(--ink); }
.footer .logo__word { color: white; }
.footer .logo__mark { color: #c5a46e; border-color: rgba(197, 164, 110, .48); }
.footer__brand p,
.footer__top h3,
.footer__bottom { color: rgba(255, 255, 255, .54); }
.footer__bottom { border-top-color: rgba(255, 255, 255, .16); }
.footer__top a:hover,
.footer__top button:hover { color: #d9ba83; }
.chat-fab { color: white; background: var(--ink); border-radius: 4px; }
.drawer__panel { background: var(--paper); }

@media (max-width: 1100px) {
  :root { --section-y: 104px; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    padding: 24px var(--gutter) 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: rgba(251, 250, 247, .98);
    border-bottom: 1px solid rgba(23, 40, 58, .16);
    box-shadow: 0 22px 42px rgba(23, 40, 58, .09);
  }
  .nav.is-menu-open .nav__menu { display: flex; }
  .nav__links { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
  .language { order: 2; }
  .nav__access { order: 3; width: 100%; }
  .nav__cta { order: 4; width: 100%; }
  .hero__eyebrow { padding-left: clamp(54px, 7vw, 78px); }
  .hero__brand-lockup,
  .hero__content--editorial {
    width: min(480px, calc(100% - 150px));
    margin-left: clamp(54px, 7vw, 78px);
  }
  .hero__brand-lockup { margin-top: auto; }
  .hero__content--editorial { margin-top: 24px; }
  .hero__lede { max-width: 480px; }
  .hero__title { font-size: 82px; }
  .firm-model { grid-template-columns: minmax(170px, .7fr) 46px minmax(180px, .66fr) 46px minmax(380px, 1.5fr); }
  .firm-model__stage { padding-inline: 18px; }
  .firm-model__copy,
  .firm-model__core-brand { padding-inline: 22px; }
  .firm-model__scope-head { padding-right: 18px; }
  .firm-model__areas b { padding-inline: 12px; }
  .firm-model__result { padding-inline: 18px; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .audiences { padding-block: 82px; }
  .audiences .section-head h2 { font-size: 52px; }
  .pathfinder { min-height: 410px; grid-template-columns: 220px minmax(0, 1fr); }
  .pathfinder__nav button { padding: 18px 16px; grid-template-columns: 22px minmax(0, 1fr) 14px; }
  .pathfinder__nav button b { font-size: 10px; }
  .path-panel { min-height: 410px; padding: 34px; grid-template-columns: minmax(220px, .85fr) minmax(260px, 1fr); gap: 30px; }
  .path-panel h3 { font-size: 41px; }
  .path-panel__detail > p { font-size: 14px; }
  .portal { grid-template-columns: minmax(290px, .65fr) minmax(0, 1.35fr); gap: 42px; }
  .portal__copy h2 { font-size: 49px; }
  .portal__actions { grid-template-columns: 1fr; }
  .portal__actions .btn { width: fit-content; }
  .portal__mock { min-width: 0; grid-template-columns: 112px minmax(0, 1fr); }
  .portal__mock > .portal__rail { padding-inline: 12px; }
  .portal__rail nav span { padding-inline: 7px; font-size: 8px; }
  .portal__screen { padding: 22px; }
  .portal__cards article { padding: 13px; }
  .service-cluster__head > div { grid-template-columns: minmax(240px, .85fr) minmax(230px, .65fr); gap: 30px; }
  .service-cluster__grid,
  #gestion .service-cluster__grid,
  #proteccion .service-cluster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(3n) { border-right: 1px solid rgba(23, 40, 58, .16); }
  .service-card:nth-child(2n) { border-right: 0; }
}

@media (min-width: 801px) and (max-height: 720px) {
  .hero {
    height: 100svh;
    min-height: 560px;
    max-height: none;
    padding-top: 88px;
    padding-bottom: 18px;
  }
  .hero__eyebrow { min-height: 30px; padding-bottom: 12px; }
  .hero__title { font-size: 72px; }
  .hero__brand-rule { margin-block: 18px 11px; }
  .hero__descriptor { font-size: 12px; }
  .hero__content--editorial { margin-top: 18px; }
  .hero__lede { font-size: 14px; line-height: 1.45; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .btn { min-height: 42px; }
}

@media (max-width: 800px) {
  :root { --section-y: 84px; }
  .hero__eyebrow { padding-left: 0; }
  .nav { height: 66px; padding-block: 10px; }
  .nav__menu { top: 65px; background: rgba(251, 250, 247, .98); }
  .nav:not(.is-stuck):not(.is-menu-open) .nav__toggle { border-color: rgba(23, 40, 58, .28); }
  .nav:not(.is-stuck):not(.is-menu-open) .nav__toggle span { background: var(--ink); }
  .hero {
    height: auto;
    min-height: 760px;
    padding-top: 88px;
    background-position: 39% center;
  }
  .hero__brand-lockup,
  .hero__content--editorial { width: 64%; margin-left: 0; }
  .hero__title { font-size: 62px; }
  .hero__descriptor { display: grid; gap: 1px; }
  .hero__lede { font-size: 14px; }
  .firm-overview__intro { grid-template-columns: 1fr; gap: 30px; }
  .firm-overview__intro > p { max-width: 650px; }
  .firm-model {
    max-width: 650px;
    grid-template-columns: 1fr;
  }
  .firm-model__connector { height: 52px; }
  .firm-model__connector > span {
    top: 50%;
    left: calc(50% + 14px);
    width: auto;
    transform: translateY(-50%);
    text-align: left;
  }
  .firm-model__connector i { width: 1px; height: 100%; }
  .firm-model__connector i::after { top: auto; right: auto; bottom: 1px; left: -3px; transform: rotate(135deg); }
  .firm-model__node { min-height: 230px; }
  .firm-values > header { grid-template-columns: 1fr; gap: 22px; }
  .firm-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audiences { padding-block: 72px; }
  .audiences .section-head { margin-bottom: 34px; }
  .audiences .section-head h2 { font-size: 48px; }
  .pathfinder { display: block; min-height: 0; }
  .pathfinder__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .pathfinder__nav button {
    min-height: 82px;
    padding: 14px;
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 8px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .pathfinder__nav button::before { inset: auto 0 0; width: auto; height: 3px; }
  .pathfinder__nav button b { font-size: 9px; line-height: 1.3; }
  .pathfinder__nav button i { display: none; }
  .path-panel { min-height: 0; padding: 34px 30px; grid-template-columns: 1fr; gap: 24px; }
  .path-panel__index { top: 14px; right: 20px; font-size: 88px; }
  .path-panel h3 { max-width: 520px; font-size: 42px; }
  .path-panel__detail { max-width: 620px; }
  .portal { grid-template-columns: 1fr; gap: 48px; align-content: start; }
  .portal__copy { max-width: 680px; }
  .portal__copy h2 { font-size: 52px; }
  .portal__actions { grid-template-columns: auto minmax(0, 1fr); }
  .portal__mock { width: 100%; max-width: 760px; min-width: 0; margin-top: 0; grid-template-columns: 124px minmax(0, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head h2,
  .faq__head h2 { font-size: 48px; }
  .statement__quote { font-size: 50px; }
  .path-panel h3 { font-size: 46px; }
  .service-catalog { gap: 26px; }
  .service-cluster__head { min-height: 0; padding: 28px; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; }
  .service-cluster__head > span { width: 44px; height: 44px; }
  .service-cluster__head > div { grid-template-columns: 1fr; gap: 14px; }
  .service-cluster__head h3 { font-size: 38px; }
  .service-cluster__head p { max-width: 560px; }
  .service-cluster__grid,
  #gestion .service-cluster__grid,
  #proteccion .service-cluster__grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(2n),
  .service-card:nth-child(3n) { min-height: 0; padding: 28px; border-right: 0; }
  .service-card__number { margin-bottom: 30px; }
  .sofia__intro h2,
  .portal__copy h2,
  .contact__copy h2 { font-size: 48px; }
}

@media (max-width: 600px) {
  .logo__word { font-size: 20px; }
  .logo__tag { display: none; }
  .hero {
    min-height: 730px;
    padding: 84px 20px 24px;
    background-position: 36% center;
  }
  .hero__eyebrow { padding-bottom: 12px; font-size: 7px; }
  .hero__brand-lockup,
  .hero__content--editorial { width: 72%; max-width: 280px; }
  .hero__brand-lockup { margin-top: auto; }
  .hero__title { width: auto; font-size: 48px; line-height: .95; overflow-wrap: normal; }
  .hero__brand-rule { margin: 17px auto 11px; }
  .hero__descriptor { font-size: 11px; line-height: 1.35; }
  .hero__content--editorial { margin-top: 18px; }
  .hero__copy { width: 100%; max-width: none; }
  .hero__lede { width: 100%; color: #465661; font-size: 12px; line-height: 1.5; }
  .hero__actions { width: 100%; display: grid; margin-top: 17px; }
  .hero__actions .btn { width: 100%; min-height: 43px; font-size: 10px; }
  .firm-overview { padding: 72px 20px; }
  .firm-overview__intro h2 { font-size: 45px; }
  .firm-overview__intro > p { padding-left: 16px; font-size: 15px; }
  .firm-model { margin-top: 50px; }
  .firm-model__node { min-height: 218px; }
  .firm-model__stage { min-height: 50px; padding-inline: 16px; }
  .firm-model__copy,
  .firm-model__core-brand { min-height: 166px; padding: 24px 20px; }
  .firm-model__scope-head { padding-right: 16px; }
  .firm-model__scope-head > span { display: none; }
  .firm-model__areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .firm-model__areas b { min-height: 82px; padding: 14px 16px; }
  .firm-model__areas b:nth-child(2) { border-right: 0; }
  .firm-model__areas b:nth-child(-n+2) { border-bottom: 1px solid rgba(23, 40, 58, .16); }
  .firm-model__result { min-height: 94px; padding: 18px 16px; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .firm-model__result strong { padding-left: 14px; font-size: 23px; }
  .firm-values { margin-top: 70px; padding-top: 38px; }
  .firm-values > header h3 { font-size: 34px; }
  .firm-values__grid { margin-top: 30px; grid-template-columns: 1fr; }
  .firm-values__grid article { min-height: 154px; padding: 24px 22px; }
  .firm-values__grid h4 { margin-top: 28px; }
  .audiences { padding: 64px 20px; }
  .audiences .section-head h2 { font-size: 42px; }
  .audiences .section-head > p { font-size: 14px; }
  .pathfinder__nav button { min-height: 76px; padding: 12px 9px; }
  .pathfinder__nav button b { font-size: 8px; }
  .path-panel { padding: 28px 20px 30px; gap: 20px; }
  .path-panel__index { display: none; }
  .path-panel h3 { font-size: 37px; }
  .path-panel__detail > p { font-size: 14px; }
  .path-panel__detail ul { margin-top: 16px; }
  .path-panel__detail li { padding-block: 9px; font-size: 11px; }
  .path-panel__detail .text-link { margin-top: 22px; font-size: 12px; }
  .portal { padding: 70px 20px; gap: 40px; }
  .portal__copy h2 { font-size: 43px; }
  .portal__copy > p:not(.section-kicker) { font-size: 14px; }
  .portal__benefits { margin-top: 26px; }
  .portal__benefits li { min-height: 68px; }
  .portal__actions { grid-template-columns: 1fr; }
  .portal__actions .btn { width: 100%; }
  .portal__mock { grid-template-columns: 1fr; }
  .portal__mock > .portal__rail {
    min-height: 58px;
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
  }
  .portal__rail nav { display: none; }
  .portal__rail > small { margin: 0 0 0 auto; }
  .portal__screen { padding: 18px 16px; }
  .portal__screen-head strong { font-size: 20px; }
  .portal__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal__cards article { min-height: 106px; }
  .portal__cards article:last-child { grid-column: 1 / -1; }
  .portal__activity > span { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .section-head h2,
  .faq__head h2 { font-size: 40px; }
  .statement__quote { font-size: 39px; }
  .statement__signal { display: none; }
  .chapter-transition > div { min-width: 230%; font-size: 13px; }
  .path-panel h3 { font-size: 39px; }
  .service-index b { font-size: 13px; }
  .service-cluster { grid-template-columns: 1fr; }
  .service-cluster__head { padding: 24px 20px; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .service-cluster__head > span { width: 40px; height: 40px; font-size: 7px; }
  .service-cluster__head h3 { font-size: 32px; }
  .service-cluster__head p { font-size: 14px; }
  .service-card { padding: 26px 22px; }
  .service-card h4 { font-size: 27px; }
  .sofia__intro h2,
  .portal__copy h2,
  .contact__copy h2 { font-size: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title { opacity: 1; filter: none; transform: none; animation: none; }
}

/* Chapter-based navigation */
body.sectioned-site {
  height: 100svh;
  overflow: hidden;
}
body.sectioned-site #contenido {
  height: 100svh;
  overflow: hidden;
}
.section-stage {
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.section-panel {
  width: 100%;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: var(--paper);
}
.section-panel[hidden],
.section-subview[hidden] { display: none !important; }
.section-panel.is-active { animation: chapterIn .38s ease-out; }
.section-panel:focus { outline: 0; }
.section-subview { min-height: 0; }
.section-panel[data-view="inicio"] .section-subview { min-height: 100svh; }
.section-panel:not([data-view="inicio"]) > .section-subview:first-of-type { padding-top: 76px; }
.sectioned-site .service-index { display: none; }
.section-panel[data-view="servicios"] .service-catalog { margin-top: 72px; }
.section-panel[data-view="servicios"] .service-cluster {
  min-height: 0;
  padding-bottom: 0;
}
.section-panel[data-view="servicios"] .service-cluster__head { position: static; }
.section-panel[data-view="portal"] .portal {
  min-height: calc(100svh - 82px);
}

.view-pager {
  min-height: 82px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.view-pager button {
  min-width: 0;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.view-pager__next { align-items: flex-end !important; text-align: right !important; }
.view-pager button:hover b { color: var(--accent-deep); }
.view-pager__direction { color: var(--stone); font: 500 8px var(--mono); text-transform: uppercase; }
.view-pager b { color: var(--ink); font: 400 20px var(--serif); transition: color .2s; }
.view-pager__previous b::before { content: "← "; color: var(--accent); }
.view-pager__next b::after { content: " →"; color: var(--accent); }
.view-pager__counter {
  min-width: 100px;
  display: grid;
  place-items: center;
  color: var(--stone);
  border-inline: 1px solid var(--line);
  font-size: 9px;
}

.sectioned-site .chat-fab {
  right: 22px;
  bottom: 102px;
  width: 48px;
  height: 48px;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.sectioned-site .chat-fab > span:last-child { display: none; }
.sectioned-site .chat-fab__icon { width: 24px; height: 24px; }

@keyframes chapterIn {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 800px) {
  .section-panel:not([data-view="inicio"]) > .section-subview:first-of-type { padding-top: 66px; }
  .section-panel[data-view="portal"] .portal { min-height: 0; }
  .view-pager { min-height: 74px; padding-inline: 20px; }
  .view-pager b { font-size: 17px; }
  .sectioned-site .chat-fab { right: 16px; bottom: 90px; width: 44px; height: 44px; }
}

@media (max-width: 600px) {
  .section-panel[data-view="servicios"] .service-cluster { min-height: 0; }
  .view-pager { grid-template-columns: 1fr 60px 1fr; }
  .view-pager__counter { min-width: 60px; }
  .view-pager b { max-width: 120px; font-size: 15px; }
  .sectioned-site .chat-fab { display: none; }
}
