/* INGLOBAL · propuesta de sitio
   Estilo institucional de firma de servicios profesionales: titulares en Baskerville (Libre Baskerville),
   texto en Red Hat Text (pariente geométrica del logotipo), blanco y azul marino, cobre del logo como acento.
   Secciones con encabezado centrado, grilla de imágenes, lista de servicios con íconos y bloques a todo ancho. */

@font-face { font-family: "Libre Baskerville"; src: url("../fonts/LibreBaskerville.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/RedHatText.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --white: #FFFFFF;
  --navy: #0F2340;
  --navy-deep: #0B1A30;
  --navy-2: #1C3354;
  --ink: #1E2733;
  --ink-soft: #545D69;
  --paper: #F3F5F7;
  --copper: #996640;
  --copper-dark: #6F4A2D;
  --copper-lt: #D2A27C;
  --line: #D8DDE3;
  --line-dk: rgba(255, 255, 255, .2);

  --serif: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --sans: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 60px);
  --maxw: 1280px;
  --section: clamp(80px, 8.5vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 92px;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--copper); color: var(--white); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--white); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; }
/* sin flechas decorativas: el texto del botón ya dice a dónde lleva */
.btn .icon, .link-arrow .icon, .more .icon, .cred a .icon, .timeline a .icon, .tile h3 .icon { display: none; }
em { font-style: normal; font-weight: 600; }
.paths, .foot-word, .util, .brand .brand-logo-dark { display: none; }

/* ───────── Type ───────── */
h1, h2, h3 { hyphens: none; }
.display { font: 400 clamp(36px, 4.6vw, 66px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.h2 { font: 400 clamp(30px, 3.4vw, 48px)/1.16 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.h3 { font: 400 22px/1.3 var(--serif); }
.kicker { display: block; font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.on-dark .kicker, .bg-navy .kicker, .bg-deep .kicker, .feature-body .kicker { color: var(--copper-lt); }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
.on-dark { color: var(--white); }
.on-dark .lede { color: rgba(255,255,255,.88); }
.statement { font: 400 clamp(26px, 2.8vw, 38px)/1.3 var(--serif); letter-spacing: -.01em; max-width: 30ch; text-wrap: balance; }
.statement-xl { font-size: clamp(30px, 3.4vw, 46px); }
.mask, .mask > span { display: inline; }
.mask + .mask::before { content: " "; }

/* ───────── Buttons and links ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; white-space: nowrap; font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--copper); color: var(--white); }
.btn-line { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn-line:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--copper); }
.btn-ghost-dark { color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }
.bg-white .btn-light, .bg-paper .btn-light { background: var(--navy); color: var(--white); }
.bg-white .btn-light:hover, .bg-paper .btn-light:hover { background: var(--copper); }
.link-arrow { font-weight: 600; color: var(--copper-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link-arrow:hover { text-decoration-thickness: 2px; }
.on-dark .link-arrow, .bg-navy .link-arrow, .bg-deep .link-arrow, .why .link-arrow, .entity .link-arrow { color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Header ───────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--white); transition: background-color .3s, height .3s; }
.site-header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line-dk); transition: opacity .3s; }
.site-header.is-scrolled { --header-h: 74px; background: var(--navy); }
.site-header.is-scrolled::after { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { display: block; width: auto; height: 42px; transition: height .3s; }
.site-header.is-scrolled .brand-logo { height: 36px; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.nav > a, .nav-drop > button { padding: 10px 0; color: rgba(255,255,255,.88); white-space: nowrap; letter-spacing: inherit; text-transform: inherit; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav > a:hover, .nav-drop > button:hover { color: var(--white); }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--white); border-bottom-color: var(--copper-lt); }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 7px; }
.nav-drop .chev { width: 9px; height: 9px; transition: transform .25s; }
.nav-drop.is-open .chev { transform: rotate(180deg); }
.drop-panel { position: absolute; z-index: 5; top: calc(100% + 18px); left: -24px; width: max-content; min-width: 300px; padding: 8px 26px; background: var(--navy-2); color: var(--white); box-shadow: 0 24px 50px -20px rgba(6,14,28,.6); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .25s, visibility .2s; }
.nav-drop.is-open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-links { display: grid; }
/* same type as the nav bar: small caps-style uppercase, tracked */
.drop-links a { padding: 15px 0; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: rgba(255,255,255,.82); border-bottom: 1px solid var(--line-dk); transition: color .2s, padding-left .25s var(--ease); }
.drop-links a:last-child { border-bottom: 0; }
.drop-links a:hover, .drop-links a:focus-visible { color: var(--white); padding-left: 8px; }
.drop-links a[aria-current="page"] { color: var(--copper-lt); }
/* Language switch: ES | EN, at the end of the main nav and in the mobile menu */
.lang-switch { display: flex; align-items: center; gap: 10px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.28); font: 600 12px/1 var(--sans); letter-spacing: .14em; }
.lang-switch a { padding: 10px 0; color: rgba(255,255,255,.6); transition: color .2s; }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--white); }
.lang-switch-menu { padding: 0; border: 0; margin-bottom: 10px; gap: 18px; font-size: 14px; }
.header-cta { min-height: 42px; padding: 0 20px; font-size: 11.5px; }
.menu-btn { display: none; }

@media (min-width: 1021px) and (max-width: 1220px) {
  .nav { gap: 20px; letter-spacing: .1em; }
  .header-cta { display: none; }
}
.menu-panel { display: none; }
@media (max-width: 1020px) {
  :root { --header-h: 74px; }
  .brand-logo { height: 34px; }
  .js .nav, .js .header-cta { display: none; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 6px 18px; position: absolute; top: calc(var(--header-h) + 4px); left: var(--gutter); right: var(--gutter); }
  html:not(.js) .header-cta { display: none; }
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); color: var(--white); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
  .menu-btn i { width: 16px; height: 8px; position: relative; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s; }
  .menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
  .menu-open .menu-btn i::before { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn i::after { transform: translateY(-3.25px) rotate(-45deg); }
  .menu-open .site-header { background: var(--navy); }
  .menu-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--navy); color: var(--white); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .menu-open .menu-panel { opacity: 1; visibility: visible; }
  /* Plain list: sans labels, hairlines between items, Soluciones opens with a + */
  .menu-panel { justify-content: flex-start; gap: 32px; padding-top: calc(var(--header-h) + 8px); }
  .menu-panel nav { display: block; }
  .menu-panel nav > a, .menu-panel .menu-label { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: none; color: var(--white); text-align: left; font: 600 13.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .menu-panel .menu-label::after { content: "+"; font: 300 22px/1 var(--sans); letter-spacing: 0; transition: transform .25s; }
  .menu-panel .menu-group.is-open .menu-label::after { transform: rotate(45deg); }
  .menu-panel .menu-sub { display: none; padding: 6px 0 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .menu-panel .menu-group.is-open .menu-sub { display: grid; }
  .menu-panel nav a.sub { padding: 9px 0 9px 14px; font: 400 16px/1.45 var(--sans); color: rgba(255,255,255,.78); }
  .menu-panel nav a[aria-current="page"] { color: var(--copper-lt); }
  .menu-panel .menu-foot { display: grid; gap: 22px; }
  .menu-panel .menu-cta { width: 100%; }
}

/* ───────── Home hero ───────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--navy); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* filtro liviano: el video de día tiene que verse luminoso; solo se oscurece arriba (menú) y en el centro (texto) */
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,48,.5) 0%, rgba(11,26,48,.12) 22%, rgba(11,26,48,.12) 78%, rgba(11,26,48,.7) 100%), radial-gradient(ellipse 66% 48% at 50% 52%, rgba(11,26,48,.58), rgba(11,26,48,0) 78%); }
.hero-body { width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .over { font: 400 clamp(18px, 1.7vw, 24px)/1.4 var(--serif); color: rgba(255,255,255,.85); }
.hero h1 { max-width: 24ch; margin-top: 14px; font-size: clamp(32px, 4vw, 56px); text-shadow: 0 2px 24px rgba(11,26,48,.35); }
.hero .over, .hero .lede { text-shadow: 0 1px 16px rgba(11,26,48,.45); }
.hero .lede { margin-top: 24px; }
.hero .actions { margin-top: 34px; justify-content: center; }
.proof-bar { border-top: 1px solid var(--line-dk); }
.proof-bar ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-bar li { padding: 20px 18px 22px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.78); text-align: center; }
.proof-bar li + li { border-left: 1px solid var(--line-dk); }
.proof-bar b { display: block; font: 400 16px/1.35 var(--serif); color: var(--white); margin-bottom: 4px; }

/* ───────── Page hero (subpages) ───────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy); padding: calc(var(--header-h) + clamp(60px, 8vw, 112px)) 0 clamp(56px, 6vw, 88px); }
.page-hero.has-media { min-height: min(78svh, 720px); display: flex; align-items: flex-end; }
.page-hero.has-media > .wrap { width: 100%; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(11,26,48,.7) 0%, rgba(11,26,48,.42) 45%, rgba(11,26,48,.9) 100%); }
.page-hero h1 { max-width: 22ch; }
.page-hero .display { font-size: clamp(34px, 4.2vw, 58px); }
.page-hero .lede { margin-top: 22px; }
.page-hero .actions { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-hidden] { opacity: .5; }

/* ───────── Sections ───────── */
.section { position: relative; padding: var(--section) 0; }
.section.tight { padding-top: 0; }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-white { background: var(--white); color: var(--ink); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-deep { background: var(--navy-deep); color: var(--white); }
.section-head { max-width: 820px; margin: 0 auto clamp(44px, 5vw, 68px); text-align: center; display: grid; justify-items: center; gap: 18px; }
.section-head p { color: var(--ink-soft); max-width: 62ch; }
.bg-navy .section-head p, .bg-deep .section-head p { color: rgba(255,255,255,.8); }
.section-foot { margin-top: clamp(40px, 4.5vw, 60px); display: flex; justify-content: center; }

/* Solution tiles (home) */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.tile a { display: grid; gap: 16px; height: 100%; align-content: start; }
.tile-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile a:hover .tile-media img { transform: scale(1.045); }
.tile h3 { position: relative; min-height: calc(2.8em + 14px); display: flex; align-items: flex-end; padding-bottom: 14px; border-bottom: 2px solid var(--line); font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.tile h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tile a:hover h3 { color: var(--copper-dark); }
.tile a:hover h3::after, .tile a:focus-visible h3::after { transform: scaleX(1); }
.tile p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* Feature: photo + navy panel */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; background: var(--navy); color: var(--white); }
.feature-media { position: relative; overflow: hidden; background: var(--navy-deep); }
.feature-media video, .feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(52px, 7vw, 104px) clamp(28px, 6vw, 96px); }
.feature-body p { color: rgba(255,255,255,.85); max-width: 52ch; }
.feature-body .actions { margin-top: 10px; }

/* Icon list (services on home) */
.icon-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); }
.icon-list li { display: flex; }
.icon-list a { flex: 1; display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.icon-list li:nth-child(-n+2) a { border-top: 1px solid var(--line); }
.icon-list svg.ico { width: 38px; height: 38px; color: var(--copper); transition: color .25s, transform .35s var(--ease); }
.icon-list a > div { transition: transform .35s var(--ease); }
.icon-list .go { display: none; }
.icon-list b { display: block; font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.icon-list span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.icon-list a:hover { border-bottom-color: var(--copper); }
.icon-list a:hover b { color: var(--copper-dark); }
.icon-list a:hover svg.ico { color: var(--copper-dark); transform: translateY(-2px) scale(1.06); }
.icon-list a:hover > div { transform: translateX(4px); }

/* Statement block */
.statement-wrap .text { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement-wrap .statement { color: var(--navy); }
.statement-wrap .text p { color: var(--ink-soft); max-width: 54ch; }
.statement-wrap .text p + p { margin-top: 16px; }

/* Credentials */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); max-width: 1120px; margin: 0 auto; }
.way { padding-top: 26px; border-top: 2px solid var(--copper); }
/* título y párrafo comparten filas entre las tres columnas, así los párrafos arrancan a la misma altura */
.way { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.way h3 { font: 400 clamp(22px, 2vw, 26px)/1.3 var(--serif); color: var(--ink); }
.way p { margin-top: 14px; color: var(--ink-soft); max-width: 40ch; }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 6px clamp(18px, 2vw, 30px) 10px; display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred .year { font: 400 clamp(40px, 4vw, 56px)/1 var(--serif); color: var(--copper); }
.cred h3 { font: 400 19px/1.35 var(--serif); max-width: 20ch; text-wrap: balance; }
.cred p { color: var(--ink-soft); font-size: 15px; }
.cred a { margin-top: auto; padding-top: 6px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); border-bottom: 1px solid var(--copper); padding-bottom: 4px; }
.cred a:hover { color: var(--navy); border-color: var(--navy); }

/* Timeline */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr auto; gap: 30px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline .year { font: 400 clamp(30px, 2.8vw, 40px)/1 var(--serif); color: var(--copper); }
.timeline h3 { font: 400 20px/1.35 var(--serif); }
.timeline p { color: var(--ink-soft); font-size: 16px; margin-top: 4px; max-width: 64ch; }
.timeline a { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--copper-dark); border-bottom: 1px solid var(--copper); padding-bottom: 4px; }
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 96px); }
.office { padding: 26px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.office h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); }
.office p { color: var(--ink-soft); }

/* Offices on home: two equal blocks, centered under the section head */
/* Home: sección de oficinas un poco más compacta */
.offices-section { padding: calc(var(--section) * .75) 0; }
.offices-section .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.offices-home { max-width: 980px; margin: 0 auto; gap: 0 clamp(24px, 3vw, 40px); }
.offices-home .office { text-align: center; justify-items: center; padding: 28px 24px 30px; border-top: 2px solid var(--copper); }
.offices-home .office h3 { font-size: clamp(28px, 2.6vw, 36px); }

/* International block: the two trust companies as a list of links; on the Planificación page, beside photos of each city */
.intl-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intl-text > p { margin-top: 20px; color: var(--ink-soft); max-width: 54ch; }
.intl-list { list-style: none; margin-top: 34px; border-top: 1px solid var(--ink); }
.intl-compact .intl-list { margin-top: 0; }
.intl-item { border-bottom: 1px solid var(--line); }
.intl-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 18px 0; border-left: 2px solid transparent; transition: padding-left .25s var(--ease), border-color .25s; }
.intl-main { display: grid; gap: 2px; }
.intl-name { font: 400 21px/1.3 var(--serif); color: var(--ink); }
.intl-place { font-size: 15px; color: var(--ink-soft); }
.intl-desc { margin-top: 6px; font-size: 15px; color: var(--ink-soft); max-width: 46ch; }
.intl-url { font-size: 15px; font-weight: 600; color: var(--copper-dark); }
.intl-link:hover .intl-url { text-decoration: underline; text-underline-offset: 3px; }
.intl-link:hover, .intl-item.is-active .intl-link { padding-left: 16px; border-left-color: var(--copper); }
.intl-compact .intl-link:hover { padding-left: 16px; border-left-color: var(--copper); }
.intl-text .actions { margin-top: 32px; }
/* Home: the block keeps only text and button; the companies live on the Planificación page */
.intl-solo { max-width: 820px; text-align: center; }
.intl-solo .intl-text > p { margin-inline: auto; }
.intl-solo .actions { justify-content: center; }
.intl-photos { display: grid; }
.intl-shot { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .6s ease; }
.intl-shot.is-on { opacity: 1; }
.intl-shot img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 540px; object-fit: cover; background: var(--paper); }
.intl-shot[data-place="akl"] img { object-position: 50% 30%; }
.intl-shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .intl-grid { grid-template-columns: 1fr; }
  /* en celular las fotos de las ciudades no se muestran */
  .intl-photos { display: none; }
  .intl-shot { grid-area: auto; opacity: 1; }
  /* en celular las cajas de las compañías son estáticas: sin desplazamiento ni línea al tocar */
  .intl-link, .intl-link:hover, .intl-item.is-active .intl-link { padding-left: 0; border-left-color: transparent; transition: none; }
}

/* Trust */
.trust-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.trust-wrap .h2 { margin-top: 16px; }
.trust-wrap > div > p { margin-top: 20px; color: rgba(255,255,255,.82); max-width: 46ch; }
.trust-wrap .actions { margin-top: 30px; }
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); }
.entity { display: grid; gap: 10px; align-content: start; padding: clamp(26px, 3vw, 40px); background: var(--navy-deep); }
.entity .where { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-lt); }
.entity h3 { font: 400 clamp(22px, 2vw, 28px)/1.25 var(--serif); }
.entity p { color: rgba(255,255,255,.78); font-size: 15.5px; }
.entity .link-arrow { margin-top: 8px; justify-self: start; }
.trust-block { padding: clamp(40px, 5vw, 80px); color: var(--white); background: var(--navy); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.trust-block h2 { font: 400 clamp(30px, 3.4vw, 46px)/1.15 var(--serif); }
.trust-block p { color: rgba(255,255,255,.86); margin-bottom: 26px; max-width: 46ch; }

/* Sectors (home) */
.sectors { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors li { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 116px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 400 clamp(17px, 1.5vw, 21px)/1.3 var(--serif); }
.sectors li.cta { background: var(--navy); color: var(--white); }
.sectors li.cta a { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--copper-lt); padding-bottom: 4px; }

/* Services accordion */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); }
.split-head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.split-head p { color: var(--ink-soft); max-width: 40ch; margin-top: 18px; }
.split-head .actions { margin-top: 28px; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-btn { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 22px 0; }
.svc-btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.svc-name { font: 400 clamp(22px, 2.1vw, 30px)/1.25 var(--serif); }
.svc-btn:hover .svc-name { color: var(--copper-dark); }
.svc-icon { position: relative; width: 18px; height: 18px; }
.svc-icon::before, .svc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--copper); transition: transform .3s; }
.svc-icon::after { transform: rotate(90deg); }
.svc.open .svc-icon::after { transform: rotate(0); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.svc-body > div { overflow: hidden; }
.svc-body p { color: var(--ink-soft); max-width: 60ch; padding-bottom: 8px; }
.svc-tasks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin: 8px 0 18px; max-width: 64ch; }
.svc-tasks li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.svc-tasks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--copper); }
@media (max-width: 640px) { .svc-tasks { grid-template-columns: 1fr; } }
.svc-body .rel { padding-bottom: 24px; font-size: 15px; }
.svc-body .rel a { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }
.svc.open .svc-body { grid-template-rows: 1fr; }

/* Servicios grouped by area: photo beside the services of that area, alternating sides */
.area-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.area-flip .area-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.area-flip .area-photo { order: 2; }
.area-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.area-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.area-intro { margin-top: 18px; color: var(--ink-soft); max-width: 56ch; }
.area-svc { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.area-svc:first-of-type { border-top-color: var(--ink); }
.area-svc h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); }
.area-svc > p { margin-top: 10px; color: var(--ink-soft); max-width: 60ch; }
.area-svc .svc-tasks { margin-top: 16px; }
.area-svc .rel { font-size: 15px; color: var(--ink-soft); }
.area-svc .rel a { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .area-grid, .area-flip .area-grid { grid-template-columns: 1fr; }
  .area-flip .area-photo { order: 0; }
  .area-photo { position: static; }
  .area-photo img { aspect-ratio: 3 / 2; }
}

.svc-tasks-one { grid-template-columns: 1fr; }
.area-fid .area-svc { margin-top: 26px; }
.fid-wrap > .intl-text { max-width: 980px; }
.fid-wrap .area-intro { max-width: 60ch; }
.fid-more { margin-top: 28px; }
.svc-involved { margin-top: 28px; font-size: 15.5px; color: var(--ink-soft); }
.svc-involved span { font-weight: 600; color: var(--ink); }
.svc-involved a { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Help list (solution pages) */
.help-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.help-item { padding: 24px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.help-item h3 { font: 400 21px/1.3 var(--serif); }
.help-item p { color: var(--ink-soft); font-size: 16px; }
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why p { color: rgba(255,255,255,.86); margin-bottom: 16px; max-width: 58ch; }

/* Proof strip */
.proof-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.proof-strip li { padding: 8px 14px; background: var(--paper); font-size: 14.5px; color: var(--ink-soft); }
.bg-paper .proof-strip li { background: var(--white); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px 0; font: 400 19px/1.4 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--copper); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 64ch; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 36px); list-style: none; }
.news-card a { display: flex; flex-direction: column; height: 100%; }
.news-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card a:hover .news-media img, .news-feature a:hover .news-media img { transform: scale(1.045); }
.news-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.news-card a:hover .news-media::after, .news-feature a:hover .news-media::after, .news-card a:focus-visible .news-media::after { transform: scaleX(1); }
.news-body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.news-meta .tag { color: var(--copper-dark); }
.news-body h3 { font: 400 19px/1.4 var(--serif); text-wrap: pretty; }
.news-card a:hover h3, .news-feature a:hover h3 { color: var(--copper-dark); }
.news-body p { color: var(--ink-soft); font-size: 15.5px; }
.news-body .more { display: none; }
.news-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.news-feature a { display: contents; }
.news-feature .news-media { aspect-ratio: auto; min-height: 360px; }
.news-feature .news-body { justify-content: center; padding: 0; }
.news-feature h3 { font: 400 clamp(24px, 2.2vw, 32px)/1.3 var(--serif); }
.news-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip small { margin-left: 6px; font-size: 11px; opacity: .7; letter-spacing: 0; }
.field-pill { height: 42px; padding: 0 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); outline: none; font-size: 15px; }
.field-pill:focus { border-color: var(--copper); }
select.field-pill { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2340' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 15px center; }
.search { position: relative; }
.search input { padding-left: 40px; width: min(300px, 100%); }
.search .icon { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--ink-soft); }
.result-count { margin-bottom: 20px; font-size: 15px; color: var(--ink-soft); }
.empty { display: none; padding: 56px 0; text-align: center; color: var(--ink-soft); }
.empty.is-visible { display: block; }

/* Article */
.article-hero h1.display { max-width: 28ch; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.article-meta .tag { color: var(--copper-lt); }
.article-cover { margin-top: clamp(-72px, -5vw, -36px); position: relative; z-index: 2; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-hero { padding-bottom: clamp(100px, 9vw, 140px); }
.article-shell { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 68ch) 1fr; gap: clamp(28px, 4vw, 56px); }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 20px; font-size: 14.5px; color: var(--ink-soft); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.share .icon { width: 16px; height: 16px; }
.prose { font-size: 18px; line-height: 1.72; color: #2A313B; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font: 400 24px/1.35 var(--serif); color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--copper-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--copper); }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--copper); font: 400 19px/1.6 var(--serif); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-cta { margin-top: 52px; padding: 32px; background: var(--navy); color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.article-cta b { display: block; font: 400 22px/1.3 var(--serif); margin-bottom: 4px; }
.article-cta p { color: rgba(255,255,255,.82); font-size: 16px; }
.article-end { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); transition: border-color .2s; }
.pn:hover { border-color: var(--copper); }
.pn span { font: 600 11.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dark); }
.pn b { font: 400 18px/1.4 var(--serif); }
.pn.next { text-align: right; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-card { display: grid; gap: 20px; padding: clamp(26px, 3.2vw, 48px); background: var(--white); border-top: 2px solid var(--copper); box-shadow: 0 24px 60px -40px rgba(11,26,48,.45); }
.need-picker { border: 0; display: grid; gap: 10px; }
.need-picker legend { font: 400 26px/1.3 var(--serif); margin-bottom: 14px; }
.need-options { display: flex; flex-wrap: wrap; gap: 8px; }
.need-options label { position: relative; }
.need-options input { position: absolute; opacity: 0; pointer-events: none; }
.need-options span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.need-options span:hover { border-color: var(--navy); }
.need-options input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.need-options input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 3px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); outline: none; transition: border-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2340' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #B3401F; }
.form-card .btn { justify-self: start; }
.form-note { min-height: 1.4em; font-size: 15px; color: var(--copper-dark); }
.info-card { display: grid; gap: 28px; }
.info-photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.info-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-list { display: grid; gap: 20px; font-size: 16.5px; font-style: normal; }
.contact-list dd + dd { margin-top: 10px; }
.contact-list dt { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); margin-bottom: 4px; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.map { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Contact band (like a footer CTA) */
.cta-band { background: var(--navy-2); color: var(--white); padding: clamp(48px, 5vw, 72px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.cta-band .display { font-size: clamp(32px, 3.6vw, 50px); }
.cta-band .btn-light { background: var(--white); color: var(--navy); }
.cta-band .btn-light:hover { background: var(--copper); color: var(--white); }
.cta-band .contact-list dt { color: var(--copper-lt); }
.cta-band .contact-list { color: rgba(255,255,255,.86); gap: 14px; }
.cta-band .contact-list dd + dd { margin-top: 6px; }
.cta-band .contact-list dt { margin-bottom: 2px; }

/* Footer: one compact band */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: 14.5px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 34px; padding-bottom: 30px; }
.foot-brand img { display: block; height: 32px; width: auto; }
.foot-nav, .foot-contact { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-nav a { color: rgba(255,255,255,.86); }
.foot-nav a:hover, .foot-contact a:hover, .foot-bottom a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--line-dk); font-size: 13px; color: rgba(255,255,255,.5); }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .tiles, .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred { padding-bottom: 34px; }
  .cred:nth-child(3) { border-left: 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .proof-bar ul { grid-template-columns: repeat(2, 1fr); }
  .proof-bar li:nth-child(3) { border-left: 0; }
  .proof-bar li:nth-child(n+3) { border-top: 1px solid var(--line-dk); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .trust-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ways, .statement-wrap .text, .split, .trust-block, .cta-band .wrap, .contact-grid, .why, .news-feature, .help-list, .offices, .feature, .icon-list { grid-template-columns: 1fr; }
  .icon-list li:nth-child(2) a { border-top: 0; }
  .feature-media { min-height: 320px; }
  .split-head { position: static; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .news-feature .news-media { min-height: 240px; }
  .row { grid-template-columns: 1fr; }
  .article-cta { grid-template-columns: 1fr; }
  .entities { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .btn { white-space: normal; text-align: center; line-height: 1.35; padding-top: 12px; padding-bottom: 12px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,26,48,.55) 0%, rgba(11,26,48,.42) 45%, rgba(11,26,48,.82) 100%); }
  .tiles, .cred-grid, .news-grid, .foot-grid { grid-template-columns: 1fr; }
  .tile-media { aspect-ratio: 3 / 2; }
  .cred + .cred { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .sectors li { min-height: 88px; font-size: 17px; padding: 16px 10px; }
  .proof-bar li { padding: 14px 8px; font-size: 13px; }
  .proof-bar b { font-size: 14.5px; }
  .article-end { grid-template-columns: 1fr; }
  .pn.next { text-align: left; }
}
/* Soft one-time reveal, only on tiles, trayectoria and Servicios photos */
.js-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-ready [data-reveal].is-in { opacity: 1; transform: none; }
/* Parallax photos: the image is a bit taller than its frame so it can drift */
.area-photo { overflow: hidden; }
.js-parallax .feature-media img, .js-parallax .area-photo img { transform: scale(1.12); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Soft fade when moving between pages (Chrome, Edge, recent Safari); other browsers navigate as usual */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Reading progress line (articles) */
.read-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--copper-lt); transform: scaleX(0); transform-origin: left; pointer-events: none; }


/* Home, Nosotros: drag (or tap the labels) to switch between the Carrasco and Zonamerica offices */
.office-swap { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.swap-track { position: absolute; inset: 0; display: flex; transition: transform .7s var(--ease); cursor: grab; }
.swap-track.is-dragging { transition: none; cursor: grabbing; }
.swap-slide { position: relative; flex: 0 0 100%; overflow: hidden; margin: 0; }
.swap-slide img { -webkit-user-drag: none; pointer-events: none; }
.office-swap::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(rgba(11,26,48,0), rgba(11,26,48,.6)); pointer-events: none; }
.swap-tabs { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(18px, 2.4vw, 32px); z-index: 1; display: flex; gap: 26px; }
.swap-tabs button { padding: 8px 0; border: 0; background: none; color: rgba(255,255,255,.7); font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: inset 0 -1px 0 transparent; transition: color .2s, box-shadow .3s; }
.swap-tabs button:hover { color: var(--white); }
.swap-tabs button[aria-pressed="true"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--copper-lt); }
/* Contacto: the same selector inside the info card */
.info-photo.office-swap { position: relative; }
.info-photo .swap-slide img { position: absolute; inset: 0; }
.info-photo.office-swap::after { height: 80px; }
.info-photo .swap-tabs { left: 18px; bottom: 12px; gap: 20px; }
