:root {
  --ink: #142122;
  --paper: #f8f6f0;
  --soft: #efede6;
  --line: #d9d7cb;
  --muted: #555f5a;
  --gold: #e7b66b;
  --gold-dark: #79531e;
  --gutter: max(clamp(20px, 5.1vw, 100px), calc((100vw - 1470px) / 2));
  --header-height: 76px;
  --section-space: clamp(56px, 6.5vw, 114px);
}

html { scroll-padding-top: calc(var(--header-height) + 18px); }
section[id] { scroll-margin-top: 0; }
body { background: var(--paper); }
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: var(--paper);
  border-bottom: 1px solid #13212218;
  padding-inline: var(--gutter);
}
.brand img { width: clamp(162px, 17vw, 224px); }
.site-header nav { gap: clamp(19px, 2.6vw, 48px); font-size: 14px; }
.nav-panel { top: calc(var(--header-height) - 1px); background: var(--paper); }
.nav-contact { padding: 13px 22px; }
.reading-progress { top: calc(var(--header-height) - 2px); width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; }
.site-header .menu-toggle { font-size: 14px; min-height: 44px; }
.whatsapp { right: 18px; bottom: 16px; border-color: #d9d7cb; }
.home.hero-in-view .whatsapp, .footer-in-view .whatsapp { visibility: hidden; }
.site-footer {
  --footer-ink: #11201e;
  --footer-sheet: #f1ede3;
  --footer-line: #d5cdbd;
  --footer-dark-line: #f8f6f030;
  --footer-on-dark: #bdc8c0;
  background: var(--footer-ink);
  color: var(--paper);
}
.footer-inner {
  margin-inline: auto;
  width: calc(100% - 2 * var(--gutter));
}
.footer-signoff {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 66% 12%, #3d4735 0%, #26362c 32%, var(--footer-ink) 75%);
}
.footer-signoff-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(255px, 1fr);
  align-items: end;
  gap: clamp(28px, 6vw, 96px);
  padding-block: clamp(48px, 6.3vw, 94px);
}
.footer-ampersand {
  position: absolute;
  z-index: -1;
  inset-inline-end: 7%;
  top: 42%;
  color: #e7b66b24;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #e7b66b63;
  font: italic clamp(285px, 43vw, 675px)/.9 var(--serif);
  transform: translateY(-50%) rotate(-10deg);
  user-select: none;
  pointer-events: none;
}
.footer-signoff-main { min-width: 0; }
.footer-brand {
  display: block;
  width: fit-content;
  margin-bottom: clamp(27px, 4.1vw, 58px);
}
.footer-brand img { width: clamp(184px, 20vw, 284px); height: auto; }
.footer-talk {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 29px);
  font: 400 clamp(50px, 8.5vw, 142px)/.88 var(--serif);
  letter-spacing: -.075em;
}
.footer-period { color: var(--gold); }
.footer-talk-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(42px, 4.8vw, 74px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--footer-ink);
  background: var(--gold);
  font: 400 clamp(20px, 2.55vw, 37px)/1 var(--font);
  letter-spacing: 0;
  transition: transform .2s ease, background-color .2s ease;
}
.footer-talk:hover .footer-talk-arrow, .footer-talk:focus-visible .footer-talk-arrow {
  transform: translateX(4px);
  background-color: var(--paper);
}
.footer-contact {
  min-width: 0;
  background: #11201ec9;
  border: 1px solid #d3d5b552;
  border-radius: 16px;
  padding: 4px clamp(14px, 2.25vw, 30px);
}
.footer-contact a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 49px;
  padding-block: 9px;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.footer-contact a + a { border-top: 1px solid var(--footer-dark-line); }
.footer-contact .footer-phone { font-size: clamp(19px, 2.1vw, 30px); }
.footer-contact a span[aria-hidden] { color: var(--gold); font-size: 17px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold); }
.footer-signoff :focus-visible, .footer-community :focus-visible, .footer-bottom :focus-visible {
  outline-color: var(--gold);
}
.footer-directory {
  background: var(--footer-sheet);
  color: var(--footer-ink);
  border-top: 1px solid #c6af83;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(285px, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 62px);
  padding-block: clamp(32px, 4.2vw, 60px) clamp(30px, 3.8vw, 54px);
}
.footer-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 37px);
}
.footer-links h2, .footer-offices h2 {
  color: #735224;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .075em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-links a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 29px;
  padding-block: 3px;
  color: var(--footer-ink);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.footer-links a:hover, .footer-news .privacy a:hover {
  color: #735224;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.footer-news {
  width: 100%;
  border: 1px solid #d8c9aa;
  border-radius: 16px;
  padding: clamp(18px, 2.45vw, 34px);
  background: #e9e0cd;
}
.footer-news h2 {
  font: 400 clamp(24px, 2.55vw, 37px)/1.05 var(--serif);
  letter-spacing: -.035em;
  max-width: 16ch;
  margin-bottom: 16px;
}
.newsletter-field {
  display: flex;
  min-height: 48px;
  background: var(--paper);
  border: 1px solid #a49a82;
  border-radius: 6px;
}
.newsletter-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 6px 0 0 6px;
  color: var(--footer-ink);
  background: none;
  padding: 8px 11px;
  font-size: 16px;
}
.newsletter-field input::placeholder { color: #535d55; }
.newsletter-field button {
  flex-shrink: 0;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--footer-ink);
  color: var(--paper);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
}
.newsletter-field button:hover { background: #33443b; }
.newsletter-field :focus-visible { outline-offset: -4px; }
.newsletter-field button:focus-visible { outline-color: var(--gold); }
.footer-news .privacy { color: #39433c; margin-top: 13px; cursor: pointer; }
.footer-news .privacy input { accent-color: var(--footer-ink); }
.footer-news .form-feedback:not(:empty) { margin-top: 10px !important; }
.footer-news .form-feedback.error { color: #822b24; }
.footer-offices {
  display: grid;
  grid-template-columns: minmax(105px, .65fr) minmax(0, 3fr);
  gap: 17px clamp(12px, 4vw, 52px);
  padding-block: 23px 29px;
  border-top: 1px solid var(--footer-line);
}
.footer-offices h2 { margin-top: 2px; }
.footer-locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px clamp(16px, 3.5vw, 42px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-locations li { padding-inline-start: 13px; border-inline-start: 1px solid #ab8b56; }
.footer-locations h3 { font-size: 14px; line-height: 1.35; letter-spacing: 0; }
.footer-locations p { color: #49534a; font-size: 13px; line-height: 1.45; margin-top: 3px; }
.footer-community, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 24px;
}
.footer-community { padding-block: 21px; }
.association-logos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(12px, 2.25vw, 30px);
  width: min(100%, 430px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-logo img { width: 100%; height: auto; object-fit: contain; }
.footer-logo--info { padding: 7px 9px; border-radius: 3px; background: var(--paper); }
.footer-social, .footer-bottom nav { display: flex; flex-wrap: wrap; }
.footer-social { gap: 7px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--footer-dark-line);
  border-radius: 24px;
  padding-inline: 13px;
  font-size: 13px;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  color: var(--footer-on-dark);
  border-top: 1px solid var(--footer-dark-line);
  padding-block: 12px 18px;
  font-size: 12px;
}
.footer-bottom nav { gap: 0 17px; }
.footer-bottom a, .footer-bottom button { display: inline-flex; align-items: center; min-height: 36px; }
.footer-bottom button { border: 0; background: none; padding: 0; color: inherit; font-size: inherit; text-align: left; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 860px) {
  .footer-signoff-inner { grid-template-columns: minmax(0, 1fr) minmax(190px, .7fr); gap: 22px; }
  .footer-talk { font-size: clamp(48px, 8.5vw, 82px); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-news { max-width: 480px; }
  .footer-ampersand { inset-inline-end: 2%; }
}
@media (max-width: 620px) {
  .footer-signoff-inner { grid-template-columns: minmax(0, 1fr); padding-block: 31px 25px; }
  .footer-brand { margin-bottom: 22px; }
  .footer-talk { font-size: clamp(47px, 12vw, 68px); }
  .footer-ampersand { inset-inline-end: -12%; top: 42%; }
  .footer-contact { max-width: 410px; }
  .footer-contact a { min-height: 44px; }
  .footer-grid { gap: 25px; }
  .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 21px; }
  .footer-navigation nav:first-child { grid-row: span 2; }
  .footer-tools { grid-column: 2; }
  .footer-links a { min-height: 35px; }
  .footer-offices { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .footer-offices h2 { margin-bottom: 4px; }
  .footer-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-locations li:first-child { grid-column: 1 / -1; }
  .footer-news { max-width: none; }
  .footer-community { gap: 16px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 3px; }
  .footer-bottom nav { column-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-talk-arrow { transition: none; }
  .footer-talk:hover .footer-talk-arrow, .footer-talk:focus-visible .footer-talk-arrow { transform: none; }
}
.cookie-dialog {
  background: var(--paper);
  border-color: var(--line);
  border-top: 3px solid var(--gold);
  padding: 18px 21px;
  box-shadow: 0 18px 80px #14212235;
}
.cookie-dialog:not(:modal) { inset: auto var(--gutter) 22px auto; width: 380px; }
.cookie-dialog:modal { inset: 0; margin: auto; max-height: calc(100dvh - 32px); overflow: auto; }
.cookie-dialog h2 { font-size: 26px; margin: 0 0 8px; }
.cookie-dialog .cookie-label { display: none; }
.cookie-dialog .cookie-settings { margin-top: 10px; }
.cookie-dialog .cookie-actions { margin-top: 12px; }
.cookie-dialog .cookie-actions .button { min-height: 42px; }
.cookie-dialog>a { margin-top: 8px; }
.cookie-dialog::backdrop { background: #14212255; }
body:has(.cookie-dialog[open]) .whatsapp { visibility: hidden; }
.inner-page ol.migas { list-style: none; padding: 0; align-items: baseline; }
.inner-page ol.migas li::before { content: none; }
.inner-page .video-cfo { width: calc(100% - 2 * var(--gutter)); }
.inner-page .herramienta.fondo-claro .herramienta__dato { color: var(--muted); }

/* A full-width picture in every viewport, including the side-panel browser. */
.home .hero--home {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(560px, calc(100svh - var(--header-height)), 820px);
  background: var(--ink);
  color: #fffdf7;
  padding: 0;
  isolation: isolate;
}
.home .hero-film { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.home .hero-film .hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  filter: none;
  z-index: auto;
}
.home .hero-film::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111b1af0 0%, #111b1abf 36%, #111b1a38 78%),
    linear-gradient(0deg, #111b1ae8, transparent 49%);
  pointer-events: none;
}
.home .hero--home > .hero__velo-lateral,
.home .hero--home > .hero__velo-inferior,
.home .hero--home > .hero__velo-superior { display: none; }
.home .hero--home .hero__contenido {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: clamp(42px, 6vh, 94px) var(--gutter) clamp(26px, 4vh, 55px);
  justify-content: center;
  gap: clamp(14px, 2.3vh, 25px);
}
.home .hero__etiqueta {
  letter-spacing: .1em;
  color: #f4e0bf;
  display: flex;
  align-items: center;
  gap: 12px;
}
.home .hero__etiqueta::before { content: ''; width: 27px; height: 1px; background: var(--gold); }
.home .hero--home .titulo-1 {
  font-size: clamp(48px, 6.35vw, 108px);
  max-width: min(22ch, 1010px);
  line-height: .99;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.home .hero-title-lead { letter-spacing: inherit; text-wrap: wrap; }
.home .hero-title-value {
  color: #ffd69b;
  font-size: .81em;
  max-width: 20ch;
  margin-top: .14em;
  line-height: 1.02;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.home .hero--home .hero__pie {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  max-width: 550px;
  gap: 20px;
  margin-top: 4px;
}
.home .hero--home .hero__texto { font-size: clamp(15px, 1.35vw, 18px); line-height: 1.52; color: #f8f6f0; }
.home .hero--home .hero__intro .texto-etiqueta { color: #f1d7af; opacity: 1; margin-top: 12px; }
.home .hero--home .grupo-botones { display: flex; flex-direction: row; align-items: center; }
.home .hero--home .boton { min-height: 49px; width: auto; padding: 12px 19px; font-size: 14px; }
.home .hero--home .boton--primario { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.home .hero--home .boton--primario:hover { background: #fffdf7; border-color: #fffdf7; }
.home .hero--home .boton--contorno-claro { border-color: #f8f6f070; }
.hero-foot {
  position: relative;
  z-index: 2;
  margin-inline: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  border-top: 1px solid #f8f6f055;
}
.hero-foot a { display: flex; gap: 13px; align-items: center; font-size: 13px; min-height: 44px; }
.hero-foot a span { color: var(--gold); font-size: 18px; }
.film-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 13px;
  background: #1521227a;
  border: 1px solid #f8f6f05e;
  color: #fffdf7;
  font-size: 12px;
  line-height: 1.1;
  backdrop-filter: blur(7px);
}
.film-toggle[hidden] { display: none; }
.film-toggle:hover, .hero-foot a:hover { color: #ffd69b; }
[data-film-icon] { display: inline-block; width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; }
.film-toggle[data-playing] [data-film-icon] { width: 8px; height: 11px; border: 0; border-inline: 2px solid currentColor; }

/* Intro, a view from Cartagena and the firm's real figures. */
.home .model-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px clamp(34px, 6vw, 110px);
  padding-block: var(--section-space);
  background: var(--paper);
}
.model-section > .regla { display: none; }
.home .model-section .cabecera-seccion { grid-column: 1 / -1; grid-template-columns: 19% 1fr; margin: 0 0 clamp(10px, 3vw, 40px); }
.model-section .titulo-destacado { max-width: 21ch; }
.model-section .titulo-destacado .acento { font-family: var(--serif); font-weight: 400; font-style: italic; }
.model-photo { position: relative; margin: 0; align-self: start; overflow: hidden; }
.model-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.model-photo figcaption { position: absolute; bottom: 0; left: 0; background: var(--ink); color: white; padding: 8px 14px; font-size: 12px; }
.home .model-section .columnas-divididas { display: grid; grid-template-columns: 1fr; gap: 26px; margin: 0; align-content: center; }
.model-section .columnas-divididas__col { border-top: 1px solid var(--line); padding-top: 22px; }
.model-section .columnas-divididas h3 { margin-bottom: 12px; }
.model-section .columnas-divididas p { font-size: 17px; line-height: 1.57; }
.home .modelo-cifras { grid-column: 1 / -1; margin-top: 12px; gap: clamp(18px, 4vw, 58px); }
.modelo-cifras__valor { display: block; color: var(--gold-dark); font-size: clamp(51px, 6vw, 84px); }
.home .seccion:not(.model-section), .home .clientes { padding-block: var(--section-space); }
.home .cabecera-seccion .titulo-seccion, .home .filas-area__titulo-col .titulo-seccion, .home .clientes__titular .titulo-seccion { text-wrap: balance; }
.home .entradilla { text-wrap: pretty; }

/* Five real service artworks share the same frame while their chapters scroll. */
.home .service-story { background: var(--ink); color: var(--paper); }
.home .filas-area__cabecera { padding: var(--section-space) var(--gutter) clamp(24px, 3.5vw, 48px); color: inherit; }
.home .filas-area__titulares { grid-template-columns: 19% 1fr; }
.home .filas-area__etiqueta, .home .tool-section .etiqueta { color: var(--gold); }
.home .filas-area__titulo-col .titulo-seccion { max-width: 20ch; }
.service-story__body { padding: 0 var(--gutter) var(--section-space); }
.service-story__dock { display: none; }
.service-story .fila-area { padding-inline: 0; color: inherit; background: transparent; border-color: #f8f6f03a; }
.service-story .fila-area__rejilla { min-height: 0; }
.service-story .fila-area__contenido { min-width: 0; }
.service-story .fila-area__entradilla, .service-story .accordion-content { color: #d3d9d4; }
.service-story .content-accordion { border-color: #f8f6f036; }
.service-story .content-accordion summary::after { color: var(--gold); }
.service-story .fila-area__nombre { color: var(--gold); }
.service-story .fila-area__herramienta a { border-color: var(--gold); }
.service-story .fila-area .boton--primario:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.service-story .fila-area__media { border: 1px solid #f8f6f035; }
.service-story .fila-area__media img { object-fit: cover; }
.service-story .fila-area { scroll-margin-top: 0; }
.service-story__scene { position: relative; width: 100%; overflow: hidden; background: #dfdcd0; }
.service-story__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.055); transition: opacity .6s ease, transform 1.1s cubic-bezier(.2,.75,.3,1); }
.service-story__scene img.is-active { opacity: 1; transform: scale(1); }

@media (min-width: 961px) {
  .service-story.is-enhanced .service-story__body { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: clamp(42px, 6vw, 114px); }
  .service-story.is-enhanced .service-story__dock { display: block; position: sticky; top: calc(var(--header-height) + 24px); align-self: start; padding-top: 22px; }
  .service-story.is-enhanced .fila-area__lateral { display: none; }
  .service-story.is-enhanced .fila-area__rejilla { display: block; }
  .service-story.is-enhanced .fila-area { min-height: clamp(485px, 75vh, 610px); display: grid; align-items: center; padding-block: 34px; }
  .service-story.is-enhanced .fila-area__contenido { padding-top: 0; }
  .service-story__scene { height: min(480px, 59svh); }
  .service-story__nav { display: flex; flex-wrap: wrap; gap: 1px; padding-top: 1px; background: #f8f6f025; }
  .service-story__nav a { flex: 1 0 auto; display: grid; place-content: center; min-height: 43px; background: var(--ink); padding: 5px 8px; color: #e9eae1; font-size: 12px; text-align: center; }
  .service-story__nav a[aria-current] { color: var(--ink); background: var(--gold); }
  .service-story__nav a:hover:not([aria-current]) { background: #304044; }
}
.area-label-short { display: none; }
.home .service-story .fila-area .titulo-tarjeta { text-wrap: balance; }
.service-story .content-accordion summary { padding-block: 14px; min-height: 44px; }
.service-story .fila-area__texto { gap: 19px; }

.home .banda { min-height: clamp(350px, 44vw, 650px); height: auto; padding-block: 68px; }
.home .banda__img { object-position: center; }
.home .banda__velo { background: linear-gradient(90deg, #172221dd, #17222136); }
.home .banda__claim { font-style: italic; max-width: 17ch; text-wrap: balance; }
.home .banda__claim .acento { color: #ffd69b; }

/* Tools are treated as a small publication index. */
.home .tool-section { background: var(--paper); color: var(--ink); }
.home .tool-section .etiqueta, .home .tool-section .acento { color: var(--gold-dark); }
.home .tool-section .entradilla { color: var(--muted); }
.home .tool-section .cabecera-seccion { grid-template-columns: 19% 1fr; }
.home .tool-section .mosaico { background: var(--line); border-color: var(--line); }
.home .tool-section .tarjeta-mosaico { background: #f8f6f0; color: var(--ink); min-height: 265px; padding: clamp(22px, 2.6vw, 42px); transition: background .25s ease; }
.home .tool-section .tarjeta-mosaico:nth-of-type(3n + 2) { background: #eeece2; }
.home .tool-section .tarjeta-mosaico.fondo-ambar { background: #eac68e; }
.home .tool-section .tarjeta-mosaico:hover { background: #e6e2d6; }
.home .tool-section .tarjeta-mosaico.fondo-ambar:hover { background: #efcc95; }
.home .tool-section .logo-herramienta { filter: none; opacity: 1; }
.home .tool-section .tarjeta-mosaico__meta { border-color: #14212240; }
.home .tool-section .tarjeta-mosaico__cuerpo { gap: 17px; }

/* A second scroll sequence uses three photos that belong to the firm. */
.home .method-story { background: #e9e7de; }
.home .method-story .cabecera-seccion { grid-template-columns: 19% 1fr; }
.home .method-story .titulo-seccion { max-width: 20ch; }
.home .method-story a.chip { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; }
.home .method-story a.chip:hover { background: var(--ink); color: var(--paper); }
.home .method-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(35px, 8vw, 135px); }
.home .method-stage .story-art { max-width: none; height: min(500px, 61svh); top: calc(var(--header-height) + 24px); margin: 0; overflow: hidden; background: var(--ink); }
.story-reel { position: absolute; inset: 0; overflow: hidden; }
.story-reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #1421228a, transparent 70%); }
.story-reel img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: 0; transition: opacity .65s ease, transform 1s ease; transform: scale(1.06); }
.story-reel img:first-child, .story-reel img.is-active { opacity: 1; transform: scale(1); }
.story-reel.is-enhanced img:not(.is-active) { opacity: 0; transform: scale(1.06); }
.home .method-stage .story-amp { position: absolute; font-size: clamp(88px, 12vw, 198px); color: #ffdda7e8; bottom: 18px; left: 24px; transform: none; }
.story-meter { position: absolute; right: 26px; bottom: 22px; display: flex; gap: 6px; }
.story-meter span { width: 23px; height: 2px; background: #fff9; }
.story-art[data-step='0'] .story-meter span:nth-child(1),
.story-art[data-step='1'] .story-meter span:nth-child(2),
.story-art[data-step='2'] .story-meter span:nth-child(3) { background: #ffdda7; }
.home .method-story .linea-tiempo__paso { opacity: 1; min-height: clamp(240px, 52vh, 420px); transition: border-color .3s ease; }
.home .method-story .linea-tiempo__paso.is-active { border-color: var(--gold-dark); }
.home .method-story .linea-tiempo__paso.is-active h3 { color: var(--gold-dark); }
.home .cita { background: var(--ink); }
.home .cita, .home .cita__fijo, .home .cita__tarjeta { min-height: clamp(390px, 49vw, 660px); }
.home .cita__velo { background: linear-gradient(0deg, #101c1ee8, #101c1e14 77%); }
.home .cita__frase { max-width: 17ch; font-style: italic; }

.home .clientes { background: var(--paper); }
.home .marquesina__celda { background: #fcfaf6; }
.home .bloque-contacto { background: #e9e7de; }
.home .bloque-contacto__img { height: clamp(220px, 24vw, 380px); }
.home .pestanas__lista { margin-bottom: 24px; }
.home .bloque-contacto__tarjeta { padding: clamp(22px, 3vw, 42px); background: var(--paper); border: 1px solid var(--line); }
.home .contact-form label { font-size: 14px; }
.home .contact-form input:not([type='checkbox']), .home .contact-form select { min-height: 44px; }
.opiniones__citas.enhanced { display: grid; align-items: start; }
.opiniones__citas.enhanced .opinion { grid-area: 1 / 1; display: block; }
.opiniones__citas.enhanced .opinion:not(.is-active) { display: block; visibility: hidden; }
.opiniones__flecha:hover { background: var(--gold); color: var(--ink); }
.opiniones__flecha:focus-visible { outline-color: var(--gold); }

/* JavaScript only adds movement to readable, already rendered content. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-revealed { animation: reveal-in .58s cubic-bezier(.2,.75,.3,1) both; }
  .home .hero--home .hero__etiqueta { animation: reveal-in .65s ease-out both; }
  .home .hero--home .titulo-1 { animation: reveal-in .85s .05s cubic-bezier(.2,.75,.3,1) both; }
  .home .hero--home .hero__pie { animation: reveal-in .8s .18s ease-out both; }
  .opiniones__citas.enhanced .opinion.is-active { animation: reveal-in .36s ease-out both; }
  @keyframes reveal-in { from { opacity: .68; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 960px) {
  :root { --header-height: 68px; }
  .site-header .menu-toggle { display: flex; align-items: center; gap: 13px; border: 0; background: none; padding-inline: 0; }
  .menu-toggle span, .menu-toggle span::after { width: 23px; height: 1px; background: var(--ink); display: block; content: ''; }
  .menu-toggle span::after { transform: translateY(6px); }
  .site-header nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--paper); padding: 23px var(--gutter) 28px; box-shadow: 0 20px 30px #17222115; max-height: calc(100dvh - var(--header-height)); overflow: auto; font-size: 18px; }
  .menu-open .site-header nav { display: grid; gap: 15px; }
  .site-header nav > a, .nav-group summary { min-height: 44px; align-content: center; }
  .site-header .nav-panel { position: static; box-shadow: none; border: 0; font-size: 15px; padding: 12px 0 12px 16px; gap: 14px; }
  .site-header .nav-contact { text-align: center; }
  .home .hero--home .titulo-1 { font-size: clamp(46px, 8.1vw, 75px); }
  .home .hero--home .hero__pie { max-width: 490px; }
  .home .model-section { gap: 30px; }
  .home .service-story .fila-area { padding-block: 40px; }
  .service-story .fila-area__media { height: min(490px, 63vw); }
  .service-story.is-enhanced .service-story__dock { display: block; }
  .service-story__scene { display: none; }
  .service-story__nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 25px; }
  .service-story__nav a { font-size: 13px; padding: 8px 11px; border: 1px solid #f8f6f058; }
  .service-story__nav a[aria-current] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
  .home .method-stage .story-art { height: clamp(260px, 58vw, 380px); }
}

@media (max-width: 800px) {
  .site-header .brand img { width: 178px; }
  .home .hero--home .hero__contenido { padding-block: clamp(30px, 5vh, 48px) 23px; gap: 16px; }
  .home .hero-film .hero__media { object-position: 58% center; }
  .home .hero-film::after { background: linear-gradient(90deg, #111b1adc, #111b1a52), linear-gradient(0deg, #111b1af0, #111b1a2a 70%); }
  .hero-foot { min-height: 56px; }
  .home .model-section { display: block; }
  .home .model-section .cabecera-seccion { margin-bottom: 34px; }
  .model-photo { margin-bottom: 30px; }
  .model-photo img { aspect-ratio: 16 / 10; }
  .home .model-section .columnas-divididas { gap: 24px; }
  .home .modelo-cifras { margin-top: 28px; }
  .home .method-stage .story-art { top: auto; margin-bottom: 24px; }
  .home .method-story .linea-tiempo__paso { min-height: 0; padding-block: 29px; }
  .home .method-story .linea-tiempo__paso h3 { font-size: 36px; }
  .home .method-story .linea-tiempo__descripcion { font-size: 17px; }
}

@media (max-width: 480px) {
  .home .hero--home .hero__contenido { gap: 14px; }
  .home .hero--home .titulo-1 { font-size: clamp(37px, 10.2vw, 51px); max-width: 100%; text-wrap: initial; }
  .home .hero-title-value { max-width: 17ch; font-size: .82em; text-wrap: initial; }
  .home .hero--home .hero__etiqueta { font-size: 10px; letter-spacing: .07em; }
  .home .hero--home .hero__texto { font-size: 15px; }
  .home .hero--home .hero__pie { gap: 14px; flex-direction: column; }
  .home .hero--home .grupo-botones { display: flex; gap: 8px; }
  .home .hero--home .boton { padding: 9px 11px; font-size: 13px; min-height: 44px; }
  .hero-foot a { font-size: 12px; }
  .home .service-story .fila-area__media { height: 64vw; }
  .home .banda { min-height: 380px; padding-block: 60px; }
  .home .banda__claim { font-size: 42px; }
  .home .tool-section .tarjeta-mosaico { min-height: 215px; }
  .cookie-dialog:not(:modal) { inset: auto 10px 10px; width: auto; max-width: none; }
  .cookie-dialog { max-width: calc(100vw - 24px); padding: 12px 14px; }
  .cookie-dialog h2 { font-size: 22px; }
  .cookie-dialog p { font-size: 12px; }
  .cookie-actions { margin-top: 13px; }
  .cookie-dialog .button { min-height: 39px; padding: 8px; }
}

@media (max-width: 480px) and (max-height: 700px) {
  .home .hero--home { min-height: max(500px, calc(100svh - var(--header-height))); }
  .home .hero--home .hero__etiqueta { margin: 0; }
}

@media (max-width: 960px) and (min-height: 530px) and (prefers-reduced-motion: no-preference) {
  .service-story { --service-frame: min(190px, 22svh); }
  .service-story.is-enhanced .service-story__dock {
    position: sticky;
    top: var(--header-height);
    z-index: 3;
    background: var(--ink);
    padding-top: 6px;
  }
  .service-story.is-enhanced .service-story__scene { display: block; height: var(--service-frame); }
  .service-story.is-enhanced .service-story__scene img { object-position: center 40%; }
  .service-story.is-enhanced .service-story__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding-block: 7px; }
  .service-story.is-enhanced .service-story__nav a { display: grid; place-content: center; min-height: 44px; padding: 5px 1px; font-size: clamp(11px, 2.8vw, 14px); line-height: 1.13; text-align: center; }
  .service-story__nav .area-label-full { display: none; }
  .service-story__nav .area-label-short { display: inline; }
  .service-story.is-enhanced .fila-area__lateral { display: none; }
  .service-story.is-enhanced .fila-area__rejilla { display: block; }
  .service-story.is-enhanced .fila-area__contenido { padding-top: 0; }
  .service-story.is-enhanced .fila-area { scroll-margin-top: calc(var(--service-frame) + 53px); }
}

@media (max-width: 800px) and (min-height: 530px) and (prefers-reduced-motion: no-preference) {
  .home .method-stage .story-art { position: sticky; top: var(--header-height); z-index: 3; height: min(195px, 26svh); }
  .home .method-story .linea-tiempo__paso { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-story.is-enhanced .service-story__dock,
  .home .method-stage .story-art { position: static; }
}
