/* conato.org — hoja de estilos */
:root {
  color-scheme: light;
  --navy: #00124F;
  --navy-2: #0B2266;
  --navy-3: #16337F;
  --navy-line: rgba(255,255,255,0.14);
  --pale: #F2F4F8;
  --pale-2: #E3E7EF;
  --white: #FFFFFF;
  --ink: #0B1437;
  --ink-soft: #3E4B6B;
  --ink-line: rgba(11,20,55,0.14);
  --mist: rgba(255,255,255,0.72);
  --red: #FF001D;
  --red-btn: #D40018;
  --red-dark: #A80013;
  --steel: #8FB3E3;
  --ideas-navy: #041C6E;
  --ideas-blue: #006BC6;
  --ideas-red: #E20B11;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --ideas-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --nav-h: 76px;
  --radius: 18px;
}
html { font-size: 112.5%; scroll-behavior: smooth; }
html[data-fs="2"] { font-size: 125%; }
html[data-fs="3"] { font-size: 140%; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--pale); color: var(--ink);
  font-family: var(--body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px;
}
.skip { position: absolute; left: 12px; top: -60px; background: var(--red-btn); color: #fff; padding: 12px 18px; border-radius: 8px; z-index: 100; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), calc(100% - 2 * clamp(20px, 5vw, 64px))); margin: 0 auto; }

/* Tipografía */
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-variation-settings: "wdth" 88; font-weight: 800; font-size: clamp(2.4rem, 6.2vw, 5.4rem); line-height: 0.98; }
h2 { font-variation-settings: "wdth" 90; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.3rem); }
h3 { font-variation-settings: "wdth" 96; font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-weight: 700; font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-btn); }
.dark .eyebrow { color: var(--steel); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 36em; color: var(--ink-soft); }
.soft.lede { color: var(--white); }
.dark .lede { color: var(--mist); }
.prose { max-width: 42em; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--red-btn); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0.6em 0; }
.prose li + li { margin-top: 0.4em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.dark { background: var(--navy); color: var(--white); }
.light { background: var(--pale); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }
.pad { padding: clamp(64px, 9vw, 120px) 0; }
.pad-s { padding: clamp(40px, 6vw, 72px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.section-head h2 { margin-top: 12px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red-btn); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink-line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(11,20,55,0.06); }
.dark .btn-ghost { border-color: var(--navy-line); color: #fff; }
.dark .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-white { background: #fff; color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.9rem; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 60; background: var(--navy); color: #fff; border-bottom: 1px solid var(--navy-line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; flex: none; }
/* .brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; } */
.brand img { width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--steel); line-height: 1.1; text-transform: uppercase; }
.menu-main { flex: 1; }
.menu-main > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu-main > ul > li { position: relative; }
.menu-main a, .menu-main button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem; white-space: nowrap; background: none; border: 0; font-family: var(--body); cursor: pointer; border-radius: 10px; }
.menu-main a:hover, .menu-main button:hover, .menu-main a[aria-current="page"] { background: rgba(255,255,255,0.1); }
.menu-main a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 10px 10px 4px 4px; }
.menu-main button svg { width: 14px; height: 14px; transition: transform .2s; }
.menu-main button[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 340px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0,18,79,0.5); padding: 10px; display: none; z-index: 70; }
.submenu[data-open="true"] { display: block; }
.submenu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; color: var(--ink); font-weight: 700; }
.submenu a span { font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.submenu a:hover { background: var(--pale); }
.nav-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.search-form { display: flex; align-items: center; background: rgba(255,255,255,0.1); border: 1px solid var(--navy-line); border-radius: 999px; padding: 4px 6px 4px 14px; }
.search-form input { background: none; border: 0; color: #fff; font: inherit; font-size: 14px; width: 150px; }
.search-form:focus-within, .filter:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.search-form input:focus-visible, .filter input:focus-visible { outline: none; }
.search-form input::placeholder { color: var(--mist); }
.search-form button { background: none; border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.search-form button:hover { background: rgba(255,255,255,0.15); }
.search-form svg { width: 18px; height: 18px; }
.fs-btn { background: rgba(255,255,255,0.1); border: 1px solid var(--navy-line); color: #fff; border-radius: 999px; min-width: 46px; height: 46px; font-family: var(--display); font-weight: 800; font-size: 1rem; cursor: pointer; padding: 0 10px; }
.fs-btn:hover { background: rgba(255,255,255,0.2); }
.burger { display: none; background: var(--red-btn); border: 0; color: #fff; border-radius: 999px; height: 46px; padding: 0 18px; font-family: var(--display); font-weight: 700; font-size: 0.95rem; cursor: pointer; align-items: center; gap: 8px; }
.burger svg { width: 20px; height: 20px; }
@media (max-width: 1480px) { .brand small { display: none; } .search-form input { width: 130px; } }
@media (max-width: 1340px) {
  .menu-main { display: none; }
  .burger { display: inline-flex; }
  .search-form input { width: 110px; }
}
@media (max-width: 640px) { .search-form { display: none; } .brand span b { display: none; } .nav .wrap { gap: 10px; } .brand { font-size: 19px; gap: 8px; } .brand img { width: 40px; height: 40px; } .burger { padding: 0 14px; font-size: 15px; } .fs-btn { min-width: 42px; padding: 0 8px; font-size: 16px; } }
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--navy); color: #fff; z-index: 59; overflow-y: auto; padding: 20px 0 60px; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu .wrap { display: grid; gap: 6px; }
.mobile-menu h4 { color: var(--steel); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 18px 0 6px; font-family: var(--display); }
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; background: rgba(255,255,255,0.06); }
.mobile-menu a:hover { background: rgba(255,255,255,0.14); }
.mobile-menu .search-form { display: flex; margin-top: 10px; }
.mobile-menu .search-form input { width: 100%; }

/* Migas y cabeceras de página */
.crumbs { font-size: 0.9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--ink-soft); }
.dark .crumbs, .dark .crumbs a { color: var(--mist); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
/* La ruta va en su propia franja, anclada bajo el menú */
.crumbbar { background: var(--white); border-bottom: 1px solid var(--ink-line); }
.crumbbar .wrap { padding-top: 11px; padding-bottom: 11px; }
.page-head { padding: clamp(30px, 4vw, 44px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { margin: 16px 0 14px; max-width: 14em; font-size: clamp(2.1rem, 5vw, 4rem); }
.page-head.photo { position: relative; color: #fff; padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-head.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,18,79,0.72) 0%, rgba(0,18,79,0.9) 100%); }
.page-head.photo .wrap { position: relative; z-index: 1; }
.page-head.photo .lede { color: var(--mist); }
.page-head.photo .crumbs, .page-head.photo .crumbs a, .page-head.photo .eyebrow { color: #fff; }

/* Portada */
.hero { position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: end; padding: 120px 0 56px; color: #fff; overflow: hidden; background: var(--navy); }
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,18,79,0.6) 0%, rgba(0,18,79,0.78) 55%, rgba(0,18,79,0.96) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-content { display: grid; gap: 26px; max-width: 900px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; animation: rise 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(2) span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) span { animation-delay: .2s; }
.hero .eyebrow, .hero .lede, .hero-actions, .hero-foot { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: .45s; }
.hero .lede { animation-delay: .55s; } .hero-actions { animation-delay: .65s; } .hero-foot { animation-delay: .8s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1 em { font-style: normal; color: #FF4D62; }
.hero .eyebrow { color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero .lede { color: var(--mist); font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--navy-line); color: var(--mist); font-size: 0.9rem; }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 2px; height: 36px; background: linear-gradient(#fff, transparent); display: block; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-lema { font-family: var(--display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; color: var(--steel); }

.statement { padding: clamp(80px, 12vw, 170px) 0; }
.statement p.big { font-family: var(--display); font-variation-settings: "wdth" 92; font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.2; letter-spacing: -0.015em; max-width: 24em; margin-top: 24px; }
.statement .w { opacity: .6; display: inline-block; margin-right: 0.26em; }
.statement .w.k { color: #FF4D62; }

.converge { height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; position: relative; }
.converge canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.converge .caption { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); text-align: center; display: grid; gap: 8px; pointer-events: none; padding: 0 20px; }
.converge .caption h2 { font-size: clamp(1.7rem, 3.8vw, 3rem); }
.converge .caption p { color: var(--mist); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); margin-top: 48px; }
.stat { padding: 32px 24px 28px 0; border-right: 1px solid var(--ink-line); display: grid; gap: 6px; }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.num { font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .lab { line-height: 1.6; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.stat .lab div {display: block;}
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--ink-line); } .stat:nth-child(odd) { border-right: 1px solid var(--ink-line); padding-right: 20px; } .stat:nth-child(even) { padding-left: 20px; } }

.stack { display: grid; gap: 22px; }
.card { position: sticky; top: calc(var(--nav-h) + 24px); border-radius: 22px; padding: clamp(26px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: start; min-height: 340px; background: var(--white); border: 1px solid var(--ink-line); box-shadow: 0 30px 60px -40px rgba(0,18,79,0.45); transform-origin: top center; }
.card:nth-child(2) { top: calc(var(--nav-h) + 46px); }
.card:nth-child(3) { top: calc(var(--nav-h) + 68px); }
.card .k { font-family: var(--display); font-variation-settings: "wdth" 76; font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--red-btn); overflow-wrap: normal; hyphens: none; }
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 10px; }
.card p { color: var(--ink-soft); max-width: 36em; margin-top: 14px; }
.card .src { margin-top: 18px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--display); }
.card.accent { background: var(--navy); color: #fff; border-color: transparent; }
.card.accent p, .card.accent .src { color: var(--mist); }
.card.accent .k { color: var(--steel); }
@media (max-width: 900px) { .card { grid-template-columns: 1fr; position: relative; top: auto !important; } }

.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.feature img { border-radius: 22px; box-shadow: 0 40px 80px -50px rgba(0,18,79,0.7); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feature .body { display: grid; gap: 18px; }
.feature .body h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.feature .body .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; color: var(--ink-soft); }
.dark .feature .body .meta { color: var(--mist); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* Logos afiliadas */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 10px 0 30px; }
.marquee .track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee .track:hover, .marquee .track.paused { animation-play-state: paused; }
.marquee img { height: 96px; width: 96px; margin-right: 34px; object-fit: contain; background: #fff; border-radius: 50%; padding: 8px; box-shadow: 0 8px 24px -12px rgba(0,18,79,0.4); }
@keyframes marquee { to { transform: translateX(-50%); } }
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.org-card { display: grid; grid-template-rows: auto 1fr; gap: 14px; background: #fff; color: var(--ink); text-decoration: none; border-radius: 20px; padding: 22px; border: 1px solid var(--ink-line); transition: transform .25s, box-shadow .25s; }
.org-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -36px rgba(0,18,79,0.6); }
.org-card .logo { height: 130px; display: grid; place-items: center; background: var(--pale); border-radius: 14px; padding: 12px; }
.org-card .logo img { max-height: 110px; width: auto; }
.org-card .type { font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-btn); font-family: var(--display); font-weight: 600; }
.org-card .sigla { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; margin-top: 4px; }
.org-card .name { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; margin-top: 4px; }
.org-card .more { margin-top: 12px; font-weight: 700; color: var(--red-btn); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.org-card .more svg { width: 16px; height: 16px; }
.dark .org-card { background: var(--navy-2); color: #fff; border-color: var(--navy-line); }
.dark .org-card .logo { background: #fff; }
.dark .org-card .name { color: var(--mist); }
.dark .org-card .type, .dark .org-card .more { color: var(--steel); }

.logo-text { display: grid; place-items: center; text-align: center; gap: 4px; width: 100%; height: 100%; min-height: 110px; border-radius: 12px; background: var(--navy); color: #fff; padding: 12px; }
.logo-text span { font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.01em; }
.logo-text small { font-size: .72rem; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; }
.org-hero .logo .logo-text { min-height: 240px; }
.org-hero .logo .logo-text span { font-size: 2.6rem; }

/* Perfil de organización */
.org-hero { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.org-hero .logo { background: #fff; border-radius: 24px; padding: 24px; display: grid; place-items: center; box-shadow: 0 30px 60px -40px rgba(0,18,79,0.5); }
.org-hero .logo img { max-height: 240px; width: auto; }
.org-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 14px; }
@media (max-width: 900px) { .org-hero { grid-template-columns: 1fr; } .org-hero .logo { max-width: 320px; } }
.datalist { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--ink-line); }
.datalist div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--ink-line); }
.datalist dt { font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--display); font-weight: 600; margin-bottom: 4px; }
.datalist dd { margin: 0; font-weight: 600; }
.datalist dd a { color: var(--red-btn); }
.pending { border: 2px dashed var(--ink-line); border-radius: 16px; padding: 22px 24px; color: var(--ink-soft); background: rgba(255,255,255,0.6); display: grid; gap: 8px; }
.pending strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--pale-2); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.9rem; }
.dark .chip { background: rgba(255,255,255,0.12); }

/* Filas (derechos, etc.) */
.rows { border-top: 1px solid var(--ink-line); }
.row { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--ink-line); text-decoration: none; color: inherit; transition: padding-left .25s; }
.row:hover { padding-left: 10px; }
.row .n { font-family: var(--display); font-weight: 700; color: var(--red-btn); font-size: 1rem; letter-spacing: .06em; }
.row h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.row p { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; max-width: 44em; }
.row .arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink-line); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; flex: none; }
.row:hover .arrow { background: var(--navy); color: #fff; border-color: var(--navy); }
.row .arrow svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr auto; } .row .n { display: none; } }

/* Registro oficial de representaciones institucionales */
.rep-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; counter-reset: none; }
.rep-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--ink-line); }
.rep-n { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem; letter-spacing: .04em; color: var(--red-btn); padding-top: 2px; }
.rep-item h3 { font-size: 1.05rem; line-height: 1.35; font-weight: 700; }
.rep-item p { color: var(--ink-soft); font-size: 0.9rem; margin-top: 5px; }
@media (max-width: 860px) { .rep-list { grid-template-columns: 1fr; } .rep-item { grid-template-columns: 44px 1fr; gap: 12px; } }

/* Tarjetas de contenido (derechos, principios) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--ink-line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.tile .i { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.tile h3 { font-size: 1.2rem; }
.tile p { color: var(--ink-soft); font-size: 0.97rem; }
.tile.red .i { background: var(--red-btn); }
.notice { border-left: 5px solid var(--red-btn); background: #fff; padding: 18px 22px; border-radius: 0 14px 14px 0; color: var(--ink-soft); font-size: 0.95rem; }
.notice strong { color: var(--ink); }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--ink-line); }
.step .n { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-soft); margin-top: 6px; max-width: 46em; }

/* Acordeón / preguntas / estatuto */
details.acc { background: #fff; border: 1px solid var(--ink-line); border-radius: 16px; margin-bottom: 12px; }
details.acc summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink-line); display: grid; place-items: center; flex: none; font-weight: 800; }
details.acc[open] summary .pm { background: var(--navy); color: #fff; border-color: var(--navy); }
details.acc .in { padding: 0 24px 24px; color: var(--ink-soft); max-width: 52em; }
details.acc .in p + p { margin-top: 0.8em; }
.statute-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.statute-toc { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 4px; }
.statute-toc a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.statute-toc a:hover { background: #fff; color: var(--ink); }
.statute-toc a b { display: block; font-family: var(--display); font-size: 0.72rem; letter-spacing: .1em; color: var(--red-btn); }
@media (max-width: 960px) { .statute-layout { grid-template-columns: 1fr; } .statute-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.article { padding: 22px 0; border-bottom: 1px solid var(--ink-line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.article h4 { font-family: var(--display); font-size: 1.05rem; display: flex; gap: 10px; align-items: baseline; }
.article h4 b { color: var(--red-btn); font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; }
.article p { color: var(--ink-soft); margin-top: 8px; max-width: 52em; }
.article ol, .article ul { margin: 8px 0 0; padding-left: 1.4em; color: var(--ink-soft); max-width: 50em; }
.article li + li { margin-top: 4px; }
.article .sub { font-family: var(--display); font-weight: 700; color: var(--ink); margin-top: 10px; }
.article mark { background: #FFE58A; color: var(--ink); }
.art-sub { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 30px 0 4px; }
.filter { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--ink-line); border-radius: 999px; padding: 6px 8px 6px 18px; max-width: 520px; }
.filter input { flex: 1; border: 0; font: inherit; min-width: 0; }
.filter svg { width: 20px; height: 20px; color: var(--ink-soft); }

/* Estructura */
.orgchart { display: grid; gap: 18px; }
.node { background: #fff; border: 1px solid var(--ink-line); border-radius: 18px; padding: 22px 26px; position: relative; }
.node.top { background: var(--navy); color: #fff; border-color: transparent; }
.node.top p { color: var(--mist); }
.node h3 { font-size: 1.3rem; }
.node p { color: var(--ink-soft); margin-top: 6px; }
.node .tag { display: inline-block; font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-btn); margin-bottom: 6px; font-weight: 700; }
.node.top .tag { color: var(--steel); }
.node-row { display: flex; align-items: stretch; gap: 18px; }
.node-row > .node { flex: 1; min-width: 0; }
.node.logo { flex: 0 0 260px; display: flex; align-items: center; justify-content: center; padding: 18px; }
.node.logo img { width: 100%; height: auto; max-height: 240px; object-fit: contain; }
.node.logo.top { background: var(--white); border-color: transparent; }
.connector { width: 3px; height: 26px; background: var(--ink-line); margin: 0 auto; }
.cne-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cne-item { background: #fff; border: 1px solid var(--ink-line); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.cne-item .cargo { font-family: var(--display); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red-btn); font-weight: 700; }
.cne-item .name { font-weight: 800; font-size: 1.15rem; font-family: var(--display); }
.cne-item .org { color: var(--ink-soft); font-size: .92rem; }
.cne-item .art { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.cne-item .art a { color: var(--red-btn); }
.cne-item.first { background: var(--navy); color: #fff; border-color: transparent; grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 340px; }
.cne-item.first .cargo { color: var(--steel); }
.cne-item.first .org, .cne-item.first .art { color: var(--mist); }
.cne-item.first .name { font-size: 1.35rem; }
/* Foto del consejero: mismo tamaño para todas (retrato 3:4), centrada y el texto debajo */
.cne-item .who > div { min-width: 0; }
.cne-item .photo { display: block; width: calc(100% + 40px); margin: 0px 0px 15px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; border-radius: 14px 14px 0 0; background: var(--mist); }
@media (max-width: 860px) {
  .node-row { flex-direction: column; }
  .node.logo { flex: 0 0 auto; }
  .node.logo img { max-height: 180px; }
}
@media (max-width: 720px) {
  .cne-item.first { max-width: none; }
}
.list-cols { columns: 2; column-gap: 40px; padding-left: 1.3em; color: var(--ink-soft); }
.list-cols li { break-inside: avoid; margin-bottom: 8px; }
@media (max-width: 720px) { .list-cols { columns: 1; } }

/* Línea de tiempo */
.timeline { display: grid; gap: 0; position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 3px; background: var(--ink-line); }
.tl { position: relative; padding: 0 0 40px; }
.tl::before { content: ""; position: absolute; left: -33px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--red-btn); box-shadow: 0 0 0 5px var(--pale); }
.tl .year { font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.tl h3 { margin-top: 6px; }
.tl p { color: var(--ink-soft); margin-top: 8px; max-width: 46em; }
.tl a { color: var(--red-btn); font-weight: 700; display: inline-block; margin-top: 8px; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery button { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 14px; overflow: hidden; aspect-ratio: 3/2; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button.tall { grid-row: span 2; aspect-ratio: auto; }
dialog.lb { border: 0; padding: 0; background: rgba(0,18,79,0.96); color: #fff; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; display: none; }
dialog.lb[open] { display: grid; place-items: center; }
dialog.lb::backdrop { background: transparent; }
dialog.lb img { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 40px 80px -40px #000; }
dialog.lb .cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--mist); padding: 0 20px; }
dialog.lb .x, dialog.lb .p, dialog.lb .nx { position: absolute; background: rgba(255,255,255,0.12); border: 0; color: #fff; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; display: grid; place-items: center; }
dialog.lb .x { top: 20px; right: 20px; }
dialog.lb .p { left: 16px; top: 50%; transform: translateY(-50%); }
dialog.lb .nx { right: 16px; top: 50%; transform: translateY(-50%); }
dialog.lb button:hover { background: rgba(255,255,255,0.25); }

/* Noticias */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--ink-line); text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -36px rgba(0,18,79,0.5); }
/* Las fotos llegan en horizontal y en vertical. El marco conserva la
   proporción de la tarjeta y la foto entra completa (contain); el hueco
   que sobra lo rellena la misma foto difuminada, así ninguna se recorta. */
.post .img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eef1f7; }
.post .img::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; filter: blur(20px) saturate(1.15); transform: scale(1.15); opacity: .6; }
.post .img img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.post .body { padding: 18px 22px 24px; display: grid; gap: 8px; align-content: start; }
.post .meta { font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; display: flex; gap: 10px; }
.post .meta b { color: var(--red-btn); }
.post h3 { font-size: 1.15rem; }
.post p { color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }
.post .more { margin-top: 6px; font-weight: 700; color: var(--red-btn); font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.post .more svg { width: 16px; height: 16px; }
/* En el detalle la foto se ve entera: la horizontal ocupa todo el ancho y
   la vertical se centra con tope de altura, sobre el mismo fondo difuminado. */
.post-hero { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 22px; background: #eef1f7; padding-top: 1px;padding-bottom: 1px;}
.post-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; filter: blur(24px) saturate(1.15); transform: scale(1.15); opacity: .6; }
.post-hero img { position: relative; width: auto; max-width: 100%; max-height: 70vh; object-fit: contain; }

/* Formularios */
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--ink-line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 14px 16px; border: 2px solid var(--ink-line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 52px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px rgba(0,18,79,0.12); }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.checks { display: grid; gap: 10px; }
.checks label { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks input { width: 24px; height: 24px; accent-color: var(--red-btn); }
.form-ok { background: #E8F7EC; border: 1px solid #9BD3A8; border-radius: 14px; padding: 18px 22px; color: #1B5E2A; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }

/* IDEAS */
.ideas { --navy: var(--ideas-navy); --navy-2: #0B2A8A; --red-btn: var(--ideas-red); --red: var(--ideas-red); --steel: #7FC4FF; font-family: var(--ideas-font); }
.ideas h1, .ideas h2, .ideas h3, .ideas .eyebrow, .ideas .btn { font-family: var(--ideas-font); font-variation-settings: normal; letter-spacing: -0.01em; }
.ideas h1 { font-weight: 800; }
.ideas .eyebrow { letter-spacing: 0.1em; color: var(--ideas-blue); }
.ideas .dark .eyebrow { color: #7FC4FF; }
.ideas-hero { background: var(--ideas-blue); color: #fff; padding: clamp(56px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.ideas-hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: #fff; opacity: .08; right: -18vw; top: -30vw; }
.ideas-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.ideas-hero .logo { background: #fff; border-radius: 30px; padding: clamp(20px, 3vw, 40px); display: grid; place-items: center; box-shadow: 0 40px 80px -40px rgba(4,28,110,0.7); }
.ideas-hero .logo img { max-width: 360px; width: 100%; }
.ideas-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; }
.ideas-hero .lede { color: rgba(255,255,255,0.85); }
.ideas-hero .eyebrow { color: rgba(255,255,255,0.8); }
@media (max-width: 900px) { .ideas-hero .wrap { grid-template-columns: 1fr; } .ideas-hero .logo { max-width: 380px; } }
.ideas .tile .i { background: var(--ideas-blue); }
.ideas-band { background: var(--ideas-navy); color: #fff; }
.ideas-band .num { color: #fff; }
.ideas-band .stat .lab { color: rgba(255,255,255,0.75); }
.ideas-band .stats { border-color: rgba(255,255,255,0.2); }
.ideas-band .stat { border-color: rgba(255,255,255,0.2); }
.ideas-teaser { background: var(--ideas-blue); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 220px 1fr auto; gap: 36px; align-items: center; font-family: var(--ideas-font); }
.ideas-teaser .logo { background: #fff; border-radius: 22px; padding: 16px; }
.ideas-teaser h2 { font-family: var(--ideas-font); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.ideas-teaser p { color: rgba(255,255,255,0.85); margin-top: 10px; max-width: 40em; }
.ideas-teaser .btn { background: #fff; color: var(--ideas-navy); font-family: var(--ideas-font); }
@media (max-width: 900px) { .ideas-teaser { grid-template-columns: 1fr; } .ideas-teaser .logo { max-width: 220px; } }

/* Identidad */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.swatch { border-radius: 18px; padding: 22px; min-height: 150px; display: grid; align-content: end; gap: 4px; border: 1px solid var(--ink-line); }
.swatch b { font-family: var(--display); font-size: 1.1rem; }
.swatch span { font-size: .9rem; opacity: .85; }
.logo-show { background: #fff; border-radius: 22px; padding: 32px; display: grid; place-items: center; border: 1px solid var(--ink-line); }
.logo-show img { max-width: 300px; }
.logo-show.navy { background: var(--navy); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dos ul { margin: 8px 0 0; padding-left: 1.3em; color: var(--ink-soft); }
.dos h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.dos .ok, .dos .no { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.dos .ok { background: #1B7F3B; } .dos .no { background: var(--red-btn); }
@media (max-width: 720px) { .dos { grid-template-columns: 1fr; } }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { background: #fff; border: 1px solid var(--ink-line); border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.contact-item .i { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.contact-item .i svg { width: 24px; height: 24px; }
.contact-item b { display: block; font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-item a, .contact-item span { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--red-btn); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Búsqueda */
.result { display: block; background: #fff; border: 1px solid var(--ink-line); border-radius: 16px; padding: 20px 24px; text-decoration: none; color: inherit; margin-bottom: 12px; }
.result:hover { border-color: var(--navy); }
.result b { color: var(--red-btn); font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.result h3 { margin-top: 4px; font-size: 1.2rem; }
.result p { color: var(--ink-soft); margin-top: 6px; font-size: .95rem; }
.result mark { background: #FFE58A; }

/* Ayuda */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

/* Pie */
footer { background: var(--navy); color: #fff; padding: 72px 0 36px; }
.sub { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--navy-line); }
.sub h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.sub form { display: flex; gap: 10px; flex-wrap: wrap; }
.sub input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px; border: 2px solid var(--navy-line); background: rgba(255,255,255,0.06); color: #fff; font: inherit; min-height: 52px; }
.sub input::placeholder { color: var(--mist); }
.cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 36px; }
.cols h4 { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 16px; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .97rem; color: var(--mist); }
.cols ul a { text-decoration: none; }
.cols ul a:hover { color: #fff; text-decoration: underline; }
.cols .about { color: var(--mist); font-size: .95rem; max-width: 30em; margin-top: 16px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.social a { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid var(--navy-line); display: grid; place-items: center; color: #FFFFFF; transition: background .2s, transform .2s; }
.social a:hover { color: var(--white); background: var(--red-btn); transform: translateY(-2px); }
.social a svg { width: 22px; height: 22px; }
.social.contact a  {background:var(--navy);}
.social.contact a:hover { color: var(--white); background: var(--red-btn); transform: translateY(-2px); } 
.ig-card { background: linear-gradient(135deg, #00124F 0%, #1B2F7A 60%, #C8102E 140%); color: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 28px; }
.ig-card .i { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.12); display: grid; place-items: center; }
.ig-card .i svg { width: 34px; height: 34px; }
.ig-card h3 { font-size: 1.5rem; }
.ig-card p { color: var(--mist); margin-top: 6px; }
@media (max-width: 720px) { .ig-card { grid-template-columns: 1fr; } }
.legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--mist); padding-top: 24px; border-top: 1px solid var(--navy-line); }
@media (max-width: 900px) { .sub, .cols { grid-template-columns: 1fr; } }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid rgba(255,255,255,0.3); box-shadow: 0 10px 30px -10px rgba(0,18,79,0.6); cursor: pointer; display: none; place-items: center; }
.totop[data-show="true"] { display: grid; }
.totop svg { width: 22px; height: 22px; }

/* Apariciones al hacer scroll (IntersectionObserver + transición CSS) */
.js-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js-motion .reveal.in { opacity: 1; transform: none; }

/* Utilidades */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.muted { color: var(--ink-soft); }
.dark .muted { color: var(--mist); }
.tag-pill { display: inline-block; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 700; }
.light .tag-pill { background: var(--pale-2); }

@media print {
  .nav, footer, .totop, .hero-foot, .marquee, .converge, .statute-toc, .filter, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .article { break-inside: avoid; }
  details.acc { border: 0; } details.acc:not([open]) .in { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue i, .marquee .track, .hero h1 .line span, .hero .eyebrow, .hero .lede, .hero-actions, .hero-foot { animation: none; }
  .statement .w { opacity: 1; }
  .card { position: relative; top: auto !important; }
}


/* ===== Ajustes de auditoría (accesibilidad, responsive, exactitud) ===== */
.brand { font-size: 24px; } .brand small { font-size: 11px; }
.menu-main a, .menu-main button { font-size: 15px; padding: 10px 10px; min-height: 44px; }
.fs-btn, .burger { font-size: 15px; }
.search-form button { width: 44px; height: 44px; }
.mobile-menu a[aria-current="page"] { background: rgba(255,255,255,.14); box-shadow: inset 4px 0 0 var(--red); }
.ideas-hero .crumbs, .ideas-hero .crumbs a, .ideas-hero .lede, .ideas-hero .eyebrow, .ideas-teaser p, .ideas-teaser .eyebrow { color: #fff; }
.ideas-band .eyebrow { color: #7FC4FF; }
.ideas-band .lede, .ideas-band p { color: #fff; }
.ideas-hero :focus-visible, .ideas-teaser :focus-visible, .ideas-band :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--ideas-navy); }
.ideas .num { font-family: var(--ideas-font); font-variation-settings: normal; }
.ig-card { background: linear-gradient(135deg, #00124F 0%, #16337F 60%, #D40018 140%); }
.ig-card p { color: #fff; }
/* .field input, .field select, .field textarea { width: 100%; max-width: 100%; min-width: 0; border-color: rgba(11,20,55,.55); } */
.field input:not([type="checkbox"]), .field select, .field textarea { max-width: 100%; min-width: 0; border-color: rgba(11,20,55,.55); }
.checks input[type="checkbox"] { width: 35px; height: 35px; min-width: 35px; max-width: 35px; margin: 0; flex: 0 0 16px; }
.checks label { display: flex; align-items: center; gap: 8px; }
.form { min-width: 0; }
.grid-2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.contact-grid { grid-template-columns: minmax(0,1fr) 1.2fr; }
@media (max-width: 900px) { .grid-2, .contact-grid { grid-template-columns: minmax(0,1fr); } .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat .lab { overflow-wrap: anywhere; } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0,1fr); } .stat { border-right: 0 !important; padding-left: 0 !important; padding-right: 0; } .num { font-size: clamp(2.4rem, 11vw, 3rem); } }
.sub input, .search-form, .filter { border-color: rgba(255,255,255,.45); }
.filter { border-color: rgba(11,20,55,.45); }
::placeholder { color: var(--ink-soft); opacity: 1; }
.search-form input::placeholder, .sub input::placeholder { color: rgba(255,255,255,.8); }
.error { color: var(--red-btn); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.statute-toc { max-height: calc(100svh - var(--nav-h) - 40px); overflow-y: auto; }
.statute-toc a { padding: 8px 12px; }
details.acc, .article, #seminario, .st-fig { scroll-margin-top: calc(var(--nav-h) + 20px); }
.st-fig { margin: 16px 0 0; max-width: 360px; }
.st-fig img { border-radius: 14px; background: #fff; padding: 8px; }
.st-fig figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.article h3 { font-family: var(--display); font-size: 1.05rem; display: flex; gap: 10px; align-items: baseline; }
.article h3 b { color: var(--red-btn); font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; }
.converge { height: calc(100svh - var(--nav-h)); min-height: 520px; }
.hero h1 .line { padding-bottom: .08em; margin-bottom: -.08em; }
.swatch { padding: 0; overflow: hidden; background: #fff; display: grid; grid-template-rows: 110px auto; }
.swatch .sw { width: 100%; }
.swatch .swt { padding: 14px 18px; display: grid; gap: 2px; color: var(--ink); }
.swatch .swt span { opacity: 1; color: var(--ink-soft); }
.org-card .type, .statute-toc a b, .post .meta, .card .src, .contact-item b, .logo-text small, .datalist dt, .cne-item .cargo, .node .tag, .result b, .cols h4, .mobile-menu h4, .legal, .org-card .more, .field .hint, .cne-item .art, .crumbs { font-size: 0.85rem; }
.tile p, .row p, .post p, .org-card .name, .cne-item .org, .notice, .step p, .card p, .tl p, .article p, .article ol, details.acc .in, .about, .cols ul, .submenu a span, .result p { font-size: 1rem; }
.post .meta { font-size: 0.85rem; }
@media (max-width: 640px) { dialog.lb .p, dialog.lb .nx { top: auto; bottom: 74px; transform: none; width: 48px; height: 48px; } dialog.lb .p { left: 20px; } dialog.lb .nx { right: 20px; } dialog.lb .cap { bottom: 136px; } dialog.lb img { max-height: 62vh; } }
@media print { .reveal, .statement .w { opacity: 1 !important; transform: none !important; } }

/* ===== CONTADOR DE VISITAS ========================================== */

.footer-visitor-counter { width: 100%; padding: 28px 0 30px; text-align: center; }
.visitor-counter-box { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 245px; padding: 13px 24px; border: 1px solid rgba(255, 255, 255, 0.30); border-radius: 8px; background: rgba(255, 255, 255, 0.08); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); }
.visitor-counter-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.visitor-counter-icon i { font-size: 18px; color: #ffffff; }
.visitor-counter-icon svg { width: 18px; height: 18px; color: #ffffff; }
.visitor-counter-content { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.visitor-counter-content span { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: rgba(255, 255, 255, 0.85); }
.visitor-counter-content strong { display: block; font-size: 23px; font-weight: 700; letter-spacing: 3px; color: #ffffff; }