/* Grupo Dahmo · propuesta de rediseño (oct 2026)
   Comparte el sistema del rediseño de Inversiones Dahmo (Barlow / Barlow Condensed, retícula de 1240px,
   barra superior, cabecera fija con acción, slider con franja de cifras, tarjetas, pie con la palabra DAHMO),
   pero no su identidad: la paleta sale del logo de Grupo Dahmo, azul proceso #0070B8 + azul claro #3888C8
   + gris carbón #4D4D4F. El amarillo de obra es de Inversiones y no se usa aquí.
   Idea gráfica: el monograma "G" del logo (dos bloques azules que se encajan) marca las piezas clave. */

:root {
  --paper: #FFFFFF;
  --alt: #F3F5F7;
  --alt-2: #E6EAEE;
  --ink: #16191C;
  --text: #2E3338;
  --muted: #535A61;
  --line: #DDE2E7;
  --blue: #0070B8;          /* azul del monograma */
  --blue-deep: #005A94;
  --blue-light: #3888C8;    /* segundo azul del monograma */
  --sky: #E4F0FA;
  --steel: #4D4D4F;         /* gris del logotipo */
  --graphite: #23272B;      /* fondos oscuros */
  --graphite-deep: #171A1D;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --container: 1240px;
  --radius: 4px;
  --shadow-sm: 0 2px 6px rgba(16, 20, 24, 0.06), 0 1px 2px rgba(16, 20, 24, 0.05);
  --shadow: 0 14px 34px -14px rgba(16, 20, 24, 0.30), 0 4px 10px -4px rgba(16, 20, 24, 0.10);
  --shadow-lg: 0 30px 60px -24px rgba(16, 20, 24, 0.40);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.005em; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
:target { scroll-margin-top: 96px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 80; background: var(--blue); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0 1.5rem; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease), box-shadow 180ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: 16.5px; }
.btn-lg { min-height: 58px; padding: 0 1.9rem; font-size: 19.5px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); box-shadow: 0 10px 24px -10px rgba(0, 112, 184, 0.75); }
.btn-white { background: #fff; color: var(--graphite); }
.btn-white:hover { background: var(--sky); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--graphite); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: 18px; text-decoration: none; }
.link-arrow .icon { transition: transform 200ms var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- barra superior ---------- */
.topbar { background: var(--graphite-deep); color: #C7CDD3; font-size: 14.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 42px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; list-style: none; padding: 0; }
.topbar a, .topbar li > span { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; transition: color 160ms ease; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--blue-light); }
.topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.topbar-social { display: flex; gap: 0.6rem; }
.topbar-social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); }
.lang { display: inline-flex; border-radius: 999px; background: rgba(255,255,255,0.08); padding: 3px; }
.lang a { min-width: 34px; padding: 0.15rem 0.5rem; border-radius: 999px; justify-content: center; font-weight: 600; font-size: 13.5px; }
.lang a[aria-current="true"] { background: var(--blue); color: #fff; }

/* ---------- cabecera ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow 220ms ease; }
.header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(16, 20, 24, 0.28); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; }
.brand img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.45rem; list-style: none; padding: 0; }
.nav a:not(.btn) { position: relative; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; padding: 0.4rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="true"]::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius); background: var(--blue); color: #fff; cursor: pointer; }
.menu-toggle .icon { width: 26px; height: 26px; margin: auto; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 780px); background: var(--graphite-deep); color: #fff; overflow: hidden; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 0s linear 900ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms ease; }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1.08); transition: transform 7.5s linear; }
.slide.is-active img { transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16, 20, 24, 0.90) 0%, rgba(16, 20, 24, 0.66) 45%, rgba(16, 20, 24, 0.15) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: min(86vh, 780px); padding-block: 5rem 8.5rem; }
.slide-copy { max-width: 820px; }
.slide-copy[hidden] { display: none; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #9CCBF0; letter-spacing: 0.04em; }
.hero-kicker::before { content: ""; width: 42px; height: 3px; background: var(--blue-light); }
.hero h1, .hero .slide-title { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.7rem, 5.6vw, 5.1rem); line-height: 0.98; letter-spacing: -0.01em; text-wrap: balance; }
.hero-lead { margin-top: 1.4rem; max-width: 580px; font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: #E5EAEF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.slider-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 7.4rem; }
.slider-ui .container { display: flex; align-items: center; justify-content: flex-end; gap: 1.2rem; }
.slider-arrows { display: flex; gap: 0.5rem; }
.slider-arrows button { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.slider-arrows button:hover { background: var(--blue); border-color: var(--blue); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dots button { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,0.35); cursor: pointer; overflow: hidden; position: relative; }
.slider-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--blue-light); transform-origin: left; animation: dot-fill 6.5s linear forwards; }
.hero.is-paused .slider-dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-count { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #C7CDD3; }
.slider-pause { display: inline-flex; align-items: center; gap: 0.4rem; border: 0; background: none; color: #C7CDD3; font-size: 14.5px; cursor: pointer; }
.slider-pause:hover { color: #fff; }
.hero-credit { position: absolute; z-index: 3; right: 20px; bottom: 5.8rem; font-size: 12.5px; color: rgba(255,255,255,0.7); }

/* franja de cifras flotante */
.stats { position: relative; z-index: 5; margin-top: -5.2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 1.8rem 1.8rem 1.7rem; border-top: 5px solid var(--blue); }
.stat + .stat { box-shadow: inset 1px 0 0 var(--line); }
.stat:nth-child(2) { border-top-color: var(--blue-light); }
.stat:nth-child(3) { border-top-color: var(--steel); }
.stat:nth-child(4) { border-top-color: var(--graphite); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; color: var(--blue); }
.stat > span { display: block; margin-top: 0.45rem; font-size: 16px; color: var(--muted); line-height: 1.4; }

/* ---------- secciones ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-alt { background: var(--alt); }
.section-dark { background: var(--graphite); color: #D5DADF; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sec-head.split > div { max-width: 720px; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--blue); letter-spacing: 0.03em; }
.kicker::before { content: ""; width: 32px; height: 3px; background: var(--blue-light); }
.section-dark .kicker { color: #9CCBF0; }
.sec-head h2, .h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); text-wrap: balance; }
.sec-head p { margin-top: 1.1rem; font-size: 1.12rem; color: var(--muted); }
.section-dark .sec-head p { color: #BAC2CA; }

/* quiénes somos */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-media figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-media figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: 0.4rem 0.8rem; background: rgba(16, 20, 24, 0.82); color: #fff; font-size: 14px; border-radius: 3px; }
.mono-badge { position: absolute; left: -1.4rem; bottom: -1.6rem; display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.4rem; background: var(--graphite); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.mono-badge strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: #9CCBF0; }
.mono-badge span { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.15; }
.about-copy .h2 { margin-bottom: 1.3rem; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy .lead { font-size: 1.2rem; color: var(--ink); }
.about-copy a { color: var(--blue); font-weight: 600; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.mv-box { padding: 1.4rem 1.5rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 5px solid var(--blue); }
.mv-box:nth-child(2) { border-left-color: var(--blue-light); }
.mv-box h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.mv-box p { font-size: 16px; color: var(--muted); line-height: 1.55; }

/* valores */
.values { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.8rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.value { padding: 1.3rem 1rem 1.2rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; transition: transform 240ms var(--ease), box-shadow 240ms ease; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .icon { width: 46px; height: 46px; margin: 0 auto; padding: 11px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: background-color 200ms ease, color 200ms ease; }
.value:hover .icon { background: var(--blue); color: #fff; }
.value h3 { margin-top: 0.8rem; font-size: 1.25rem; }
.value p { margin-top: 0.3rem; font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* empresas del grupo: buscador por sector */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 1.1rem; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 16.5px; cursor: pointer; transition: all 180ms ease; }
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters .count { min-width: 1.6em; padding: 0 0.35em; border-radius: 999px; background: var(--alt-2); color: var(--ink); font-size: 14px; line-height: 1.5; }
.filters button[aria-pressed="true"] .count { background: rgba(255,255,255,0.22); color: #fff; }
.co-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.co { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 260ms var(--ease), box-shadow 260ms ease, opacity 260ms ease; }
.co[hidden] { display: none; }
.co:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.co-logo { display: grid; place-items: center; height: 130px; padding: 1rem 1.5rem; background: #fff; box-shadow: inset 0 -1px 0 var(--line); }
.co-logo img { max-height: 84px; width: auto; max-width: 220px; object-fit: contain; }
.co-mono { display: grid; place-items: center; width: 84px; height: 84px; border-radius: var(--radius); background: var(--sky); color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; letter-spacing: 0.02em; }
.co-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.co-sector { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--blue); letter-spacing: 0.02em; }
.co h3 { margin-top: 0.25rem; font-size: 1.55rem; }
.co p { margin-top: 0.45rem; font-size: 16px; color: var(--muted); line-height: 1.55; flex: 1; }
.co .link-arrow { margin-top: 1rem; font-size: 17px; }
.co-nosite { margin-top: 1rem; font-size: 14.5px; color: var(--muted); }
.co.is-pending { outline: 2px dashed #C9A227; outline-offset: -2px; }
body:not(.show-notes) .co.is-pending { outline: 0; }
.co-flag { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2; padding: 0.15rem 0.5rem; border-radius: 3px; background: #FFF4CC; color: #5A4500; font-size: 13px; font-weight: 600; }
body:not(.show-notes) .co-flag { display: none; }

/* sitios del grupo (enlazado visible) */
.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.site-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.site-card picture, .site-card > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.site-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,20,24,0.10) 0%, rgba(16,20,24,0.55) 45%, rgba(16,20,24,0.92) 100%); }
.site-card:hover picture img { transform: scale(1.05); }
.site-card .site-url { display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start; padding: 0.3rem 0.7rem; border-radius: 3px; background: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.site-card h3 { margin-top: 0.9rem; color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.site-card p { margin-top: 0.5rem; max-width: 520px; color: #E1E6EB; }
.site-card .link-arrow { margin-top: 1.2rem; color: #fff; }
.site-card .note-int { position: relative; }

/* sectores: mosaico de fotos */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 1rem; }
.sector { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--graphite); }
.sector.is-wide { grid-column: span 2; }
.sector.is-tall { grid-row: span 2; }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.sector:hover img { transform: scale(1.06); }
.sector figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem 1.1rem; background: linear-gradient(180deg, rgba(16,20,24,0) 0%, rgba(16,20,24,0.88) 70%); color: #fff; }
.sector strong { display: block; font-family: var(--font-head); font-size: 1.55rem; line-height: 1.1; }
.sector span { display: block; margin-top: 0.2rem; font-size: 14.5px; color: #D5DADF; }

/* banda de foto */
.photo-band { position: relative; isolation: isolate; padding-block: clamp(5rem, 10vw, 8rem); color: #fff; overflow: hidden; }
.photo-band img { position: absolute; inset: -12% 0; z-index: -2; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 20, 24, 0.72); }
.photo-band .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.photo-band h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); text-wrap: balance; }
.photo-band p { margin-top: 1rem; font-size: 1.15rem; color: #DCE2E8; max-width: 600px; }
.photo-band .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-end; }

/* liderazgo */
.leaders-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; align-items: start; }
.leader { padding: clamp(1.7rem, 3vw, 2.4rem); border-top: 5px solid var(--blue); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 260ms var(--ease), box-shadow 260ms ease; }
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.leader h3 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.leader-role { margin-top: 0.2rem; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--blue); }
.leader-body > p:not(.leader-role):not(.note-int) { margin-top: 0.9rem; color: var(--muted); }
.leader-links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.leader.is-pending { outline: 2px dashed #C9A227; outline-offset: -2px; background: #FFFBEA; box-shadow: none; }
body:not(.show-notes) .only-notes { display: none; }
.leader-side { display: grid; gap: 1.4rem; }
.ext-links { display: grid; gap: 0.8rem; padding: 0; list-style: none; }
.ext-links a { display: grid; grid-template-columns: 46px 1fr auto; gap: 0.9rem; align-items: center; padding: 1rem 1.1rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform 220ms var(--ease), box-shadow 220ms ease; }
.ext-links a:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.ext-links .icon:first-child { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.ext-links strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.15; }
.ext-links small { display: block; font-size: 14.5px; color: var(--muted); }
.ext-links a > .icon:last-child { color: var(--blue); }

/* organigrama de empresas */
.orgchart { margin-top: clamp(3rem, 6vw, 4.5rem); }
.org-top { position: relative; display: flex; align-items: center; gap: 1rem; width: max-content; max-width: 100%; margin: 0 auto; padding: 1rem 1.4rem; background: var(--paper); border-radius: var(--radius); border-top: 5px solid var(--blue); box-shadow: var(--shadow-sm); }
.org-top img { width: 84px; }
.org-top strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }
.org-top span { font-size: 15.5px; color: var(--muted); }
.org-top::after { content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: 28px; translate: -50% 0; background: var(--blue-light); }
.org-branches { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 28px; padding-top: 28px; }
.org-branches::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 3px; background: var(--blue-light); }
.org-branch { position: relative; padding: 1.2rem 1.1rem 1.1rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.org-branch::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 3px; height: 28px; translate: -50% 0; background: var(--blue-light); }
.org-branch h4 { padding-bottom: 0.6rem; margin-bottom: 0.6rem; box-shadow: inset 0 -3px 0 var(--sky); font-size: 1.2rem; color: var(--blue); }
.org-branch ul { display: grid; gap: 0.35rem; padding: 0; list-style: none; }
.org-branch a { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--ink); font-weight: 500; font-size: 16px; text-decoration: none; transition: color 160ms ease; }
.org-branch a:hover { color: var(--blue); }
.org-branch a .icon { width: 0.9em; height: 0.9em; color: var(--blue); }

/* dirección: una línea sobria al pie de la estructura (criterio ORM: presente, no protagonista) */
.direction-text { max-width: 64ch; margin-top: clamp(2.4rem, 5vw, 3.2rem); font-size: 17px; line-height: 1.65; color: var(--muted); }
.direction-text a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.direction-text a:hover { color: var(--blue); text-decoration-color: currentColor; }

/* noticias */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 260ms var(--ease), box-shadow 260ms ease; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.post:hover .post-media img { transform: scale(1.05); }
.post-cat { position: absolute; left: 1rem; top: 1rem; padding: 0.3rem 0.75rem; border-radius: 3px; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 14.5px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.post h3 { margin-top: 0.6rem; font-size: 1.5rem; line-height: 1.14; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post .link-arrow { margin-top: auto; padding-top: 1rem; font-size: 17px; }

/* contacto: a quién escribir */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.router { padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--graphite); color: #D5DADF; border-radius: var(--radius); box-shadow: var(--shadow); }
.router h3 { color: #fff; font-size: 1.8rem; }
.router > p { margin-top: 0.35rem; font-size: 16px; }
.router-opts { display: grid; gap: 0.6rem; margin-top: 1.3rem; padding: 0; border: 0; }
.router-opts legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.router-opts label { display: grid; grid-template-columns: 22px 1fr; gap: 0.8rem; align-items: center; padding: 0.85rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,0.06); color: #fff; font-weight: 500; cursor: pointer; transition: background-color 180ms ease; }
.router-opts label:hover { background: rgba(255,255,255,0.11); }
.router-opts input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue-light); }
.router-opts label:has(input:checked) { background: var(--blue); }
.route { margin-top: 1.3rem; padding: 1.3rem 1.4rem; background: #fff; color: var(--text); border-radius: var(--radius); }
.route-who { display: flex; align-items: center; gap: 1rem; }
.route-who img { width: 120px; max-height: 56px; object-fit: contain; }
.route-who .co-mono { width: 56px; height: 56px; font-size: 1.4rem; }
.route-who .route-iso img { width: 72%; max-height: none; height: auto; }
.route h4 { font-size: 1.35rem; }
.route p { margin-top: 0.5rem; font-size: 15.5px; color: var(--muted); }
.route .btn { margin-top: 1rem; }
.form-card { padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.9rem; }
.form-card > p { margin-top: 0.4rem; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-top: 1.6rem; }
.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border: 1.5px solid #C5CCD3; border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 112, 184, 0.15); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-legal { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.office { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.office-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.office-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.office:hover .office-media img { transform: scale(1.05); }
.office-media.is-map { aspect-ratio: 4 / 3; }
.office-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.office-tag.on-map { left: auto; bottom: auto; top: 0.8rem; right: 0.8rem; pointer-events: none; }
.office-tag { position: absolute; left: 0.9rem; bottom: 0.8rem; padding: 0.3rem 0.75rem; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; border-radius: 3px; letter-spacing: 0.04em; }
.office-body { padding: 1.1rem 1.2rem 1.2rem; font-size: 15.5px; }
.office-body strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.office-body a { color: var(--blue); font-weight: 600; }

/* aviso de prototipo */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 95; translate: -50% 1rem; max-width: min(560px, calc(100% - 2rem)); padding: 1rem 1.3rem; background: var(--graphite-deep); color: #fff; border-left: 5px solid var(--blue-light); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 240ms ease, translate 240ms var(--ease), visibility 0s linear 240ms; }
.toast.is-on { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity 240ms ease, translate 240ms var(--ease); }

/* pie */
.footer { background: var(--graphite-deep); color: #AEB6BE; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 4.5rem 3rem; }
.footer-logo { width: 150px; }
.footer p { margin-top: 1rem; }
.footer h4 { margin-bottom: 1rem; font-size: 1.3rem; color: #fff; }
.footer ul { display: grid; gap: 0.5rem; padding: 0; list-style: none; }
.footer a { text-decoration: none; transition: color 160ms ease; }
.footer a:hover { color: #9CCBF0; }
.footer .ext::after { content: " ↗"; font-size: 0.85em; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; }
.footer-office + .footer-office { margin-top: 1.1rem; }
.footer-office strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.04em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 1.4rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); font-size: 14px; }
.footer-bottom a { text-decoration: underline; }
/* créditos de imágenes: plegados (las licencias CC BY / BY-SA exigen atribución, pero no tiene que ocupar el pie) */
.credits { max-width: 820px; }
.credits summary { display: inline-flex; align-items: center; gap: 0.35rem; color: #AEB6BE; cursor: pointer; list-style: none; transition: color 160ms ease; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: "+"; font-weight: 600; }
.credits[open] summary::after { content: "–"; }
.credits summary:hover { color: #9CCBF0; }
.credits p { margin-top: 0.6rem; font-size: 13.5px; line-height: 1.55; color: #8F98A1; }
.credits p a { color: #AEB6BE; }

/* redes sociales con sus colores de marca */
:is(.topbar-social, .footer-social, .share) a[href*="linkedin.com"] { background: #0A66C2; color: #fff; }
:is(.topbar-social, .footer-social, .share) a[href*="instagram.com"] { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); color: #fff; }
:is(.topbar-social, .footer-social, .share) a[href*="youtube.com"] { background: #FF0000; color: #fff; }
:is(.topbar-social, .footer-social, .share) a .icon { color: #fff; }
:is(.topbar-social, .footer-social, .share) a { transition: transform 180ms var(--ease), filter 180ms ease; }
:is(.topbar-social, .footer-social, .share) a:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-linkedin { background: #0A66C2; color: #fff; }
.btn-linkedin:hover { background: #004182; }

/* ---------- perfil (página interna) ---------- */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--graphite); color: #D5DADF; overflow: hidden; }
.page-hero > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,20,24,0.94) 0%, rgba(16,20,24,0.80) 60%, rgba(16,20,24,0.55) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 900px; text-wrap: balance; }
.profile-role { margin-top: 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.6rem); color: #9CCBF0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; padding: 0; list-style: none; font-size: 15px; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #8A939C; }
.crumbs a { color: #9CCBF0; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { max-width: 720px; font-size: 18.5px; line-height: 1.72; color: var(--text); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.prose ul { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.45rem; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); font-weight: 600; }
.prose .lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.reads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0 !important; list-style: none; }
.reads li + li { margin-top: 0; }
.reads a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; padding: 1.1rem 1.2rem; background: var(--alt); border-radius: var(--radius); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.2; text-decoration: none; transition: background-color 200ms ease, transform 200ms var(--ease); }
.reads a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.reads small { display: block; margin-top: 0.3rem; font-family: var(--font); font-weight: 500; font-size: 13.5px; color: var(--muted); }
.reads a:hover small { color: #DCEBF7; }
.aside { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.aside-card { padding: 1.5rem; background: var(--alt); border-radius: var(--radius); }
.aside-card h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.aside-cta { background: var(--graphite); color: #D5DADF; }
.aside-cta h3 { color: #fff; }
.aside-cta p { font-size: 16px; margin-bottom: 1.1rem; }
.aside .ext-links a { box-shadow: none; }

/* noticias */
.post-dek { margin-top: 0.55rem; font-size: 16px; color: var(--muted); line-height: 1.55; }
.page-hero > .container > p { margin-top: 1rem; max-width: 680px; font-size: 1.15rem; }
.article-hero h1 { max-width: 980px; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.article-hero .post-meta { margin-top: 1.2rem; color: #BAC2CA; font-size: 15.5px; }
.article-figure { margin-bottom: 2.2rem; border-radius: var(--radius); overflow: hidden; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { padding: 0.6rem 1rem; background: var(--alt); font-size: 14px; color: var(--muted); }
.prose h2 + p, .prose h2 + ul { margin-top: 0.8rem; }
.aside-co img { max-width: 180px; max-height: 70px; width: auto; margin-bottom: 1rem; }
.aside-co p { font-size: 16px; color: var(--muted); margin-bottom: 0.9rem; }
.aside-list { display: grid; gap: 0.7rem; padding: 0; margin-bottom: 1rem; list-style: none; }
.aside-list a { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.2; text-decoration: none; }
.aside-list a:hover { color: var(--blue); }
.opinion-strip { display: grid; grid-template-columns: 140px 1fr auto; gap: 0.6rem 2rem; align-items: start; margin-top: clamp(2.6rem, 5vw, 3.6rem); padding-top: 1.4rem; box-shadow: inset 0 3px 0 var(--alt-2); }
.opinion-label { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--muted); letter-spacing: 0.03em; }
.opinion-strip ul { display: grid; gap: 0.55rem; padding: 0; list-style: none; }
.opinion-strip li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; }
.opinion-strip li a { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.25; text-decoration: none; }
.opinion-strip li a:hover { color: var(--blue); }
.opinion-strip li span { font-size: 14.5px; color: var(--muted); }
.opinion-strip .opinion-by { font-size: 15px; color: var(--muted); }
.opinion-more { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--blue); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
.opinion-more:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .opinion-strip { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 1.95rem; line-height: 1.08; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.notfound p { margin-top: 1rem; max-width: 560px; color: var(--muted); }
.notfound .hero-actions { margin-top: 1.8rem; }

/* notas internas del prototipo */
.note-int { display: none; max-width: 75ch; margin-top: 0.9rem; padding: 0.6rem 0.8rem; border: 2px dashed #C9A227; border-radius: var(--radius); background: #FFF8DB; color: #5A4500 !important; font-size: 14px !important; font-weight: 500; line-height: 1.45; text-align: left; }
.show-notes .note-int { display: block; }
.notes-toggle { position: fixed; left: 1rem; bottom: 1rem; z-index: 85; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--graphite-deep); color: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; box-shadow: var(--shadow); }
.notes-toggle[aria-pressed="true"] { background: #F2C94C; color: #2A2100; }

/* ---------- movimiento ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .slide-copy > * { animation: rise 900ms var(--ease) both; }
.hero .slide-copy > *:nth-child(2) { animation-delay: 90ms; }
.hero .slide-copy > *:nth-child(3) { animation-delay: 180ms; }
.hero .slide-copy > *:nth-child(4) { animation-delay: 270ms; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.co.is-entering { animation: rise 520ms var(--ease) both; animation-delay: var(--d, 0ms); }
.route.is-flash { animation: flash 600ms ease; }
@keyframes flash { from { box-shadow: 0 0 0 6px rgba(56, 136, 200, 0.55); } to { box-shadow: 0 0 0 0 rgba(56, 136, 200, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
  .slide img { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav ul { gap: 1.05rem; }
  .nav a:not(.btn) { font-size: 17px; }
  .values { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: 126px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 20px 1.6rem; background: var(--paper); box-shadow: 0 20px 30px -20px rgba(16,20,24,0.4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 240ms var(--ease), opacity 200ms ease, visibility 0s linear 240ms; max-height: calc(100vh - 126px); overflow-y: auto; }
  .header.is-scrolled .nav { inset-block-start: 84px; max-height: calc(100vh - 84px); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 240ms var(--ease), opacity 200ms ease; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a:not(.btn) { display: block; padding: 0.85rem 0; font-size: 20px; box-shadow: inset 0 -1px 0 var(--line); }
  .nav li a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  .about, .contact, .leaders-grid, .photo-band .container, .article-layout { grid-template-columns: 1fr; }
  .photo-band .actions { justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .co-grid { grid-template-columns: repeat(2, 1fr); }
  .org-branches { grid-template-columns: repeat(3, 1fr); }
  .org-branches::before { left: 16%; right: 16%; }
  .sectors { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .aside { position: static; }
  .mono-badge { bottom: -1.2rem; left: 0.8rem; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .topbar .hide-sm, .topbar-social { display: none; }
  .topbar-right .lang { margin-left: auto; }
  .header .container { min-height: 72px; }
  .nav { inset-block-start: 114px; }
  .header.is-scrolled .nav { inset-block-start: 72px; }
  .brand img { width: 112px; }
  .hero, .hero-inner { min-height: 640px; }
  .hero-inner { padding-block: 3.5rem 10rem; justify-content: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(16, 20, 24, 0.40) 0%, rgba(16, 20, 24, 0.88) 58%, rgba(16, 20, 24, 0.96) 100%); }
  .slider-ui { bottom: 6.6rem; }
  .slider-count, .hero-credit { display: none; }
  .slider-ui .container { justify-content: flex-start; }
  .slider-pause span { display: none; }
  .slider-pause { margin-left: auto; }
  .stats { margin-top: -4.4rem; }
  .stat { padding: 1.3rem 1.1rem; }
  .stat > span { font-size: 14.5px; }
  .mv, .sites, .co-grid, .news, .offices, .form, .reads { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .sector.is-wide, .sector.is-tall { grid-column: auto; grid-row: auto; }
  .site-card { min-height: 380px; }
  .co { display: grid; grid-template-columns: 92px 1fr; }
  .co-logo { height: auto; padding: 0.8rem; box-shadow: inset -1px 0 0 var(--line); }
  .co-logo img { max-width: 76px; max-height: 60px; }
  .co-mono { width: 60px; height: 60px; font-size: 1.5rem; }
  .co-body { padding: 1rem 1.1rem 1.1rem; }
  .co h3 { font-size: 1.35rem; }
  .co p { font-size: 15px; }
  .co .link-arrow, .co-nosite { margin-top: 0.6rem; }
  .co-body .note-int { grid-column: 1 / -1; }
  .co-flag { top: auto; bottom: 0.5rem; left: 0.5rem; right: auto; font-size: 13px; }
  .org-top { width: auto; }
  .org-top::after, .org-branches::before, .org-branch::before { display: none; }
  .org-branches { grid-template-columns: 1fr 1fr; margin-top: 1rem; padding-top: 0; gap: 0.7rem; }
  .filters button { min-height: 42px; padding: 0 0.9rem; font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .notes-toggle { padding: 0; width: 44px; justify-content: center; }
  .notes-toggle span { display: none; }
}

/* campo trampa del formulario (honeypot): invisible para personas */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
