/* =========================================================
   CENTTINELLA — Design System
   ========================================================= */

@import url('./sectors.css');

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2?v=a91b5326f0ca') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-latin.woff2?v=a91b5326f0ca') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-latin-italic.woff2?v=a91b5326f0ca') format('woff2');
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

/* Native HTML runtime shell */
.native-loading,
.native-error,
.native-noscript {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
  color: var(--ink, #171717);
  background: var(--paper, #fbfaf7);
}

.native-success-lock {
  font-size: 4rem;
  margin-bottom: 1.25rem;
}

.modal-success-screen {
  padding: 3.5rem 2rem;
  text-align: center;
}

.modal-success-screen h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-success-screen p {
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.error-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b42318;
  padding: 0.8rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
  #navbar .nav-center.open {
    display: flex !important;
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    top: 4.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(251, 250, 247, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(23, 23, 23, 0.07);
  }

  #navbar .nav-center.open .nav-sectors-dropdown {
    left: 0;
    width: min(340px, calc(100vw - 4.8rem));
    transform: none;
  }

  #navbar .mobile-menu.active span {
    background: transparent;
  }

  #navbar .mobile-menu.active span::before {
    transform: translateY(5px) rotate(45deg);
  }

  #navbar .mobile-menu.active span::after {
    transform: translateY(-5px) rotate(-45deg);
  }
}

:root {
    --bg: #FBFAF7;
    --bg-white: #FFFFFF;
    --bg-soft: #F4F1EA;
    --bg-muted: #EEE9DF;

    --ink: #171717;
    --ink-soft: #3F3F3F;
    --ink-muted: #737373;
    --ink-faint: #A3A3A3;

    --line: #E3DED3;
    --line-strong: #CFC7B8;

    --blue: #174EA6;
    --blue-soft: #EAF1FF;
    --sand: #D8C7A3;
    --clay: #B88A5A;
    --green: #60796B;

    --shadow-soft: 0 22px 70px rgba(23, 23, 23, 0.06);
    --shadow-card: 0 16px 46px rgba(23, 23, 23, 0.08);

    --font-heading: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --transition: all 0.7s var(--ease);
}

/* =========================================================
   SECTOR THEMES
   ========================================================= */
.theme-gobiernos {
    --sand: var(--blue);
    --clay: #0f3b82;
}

.theme-politica {
    --sand: #A33B3B;
    --clay: #7A2B2B;
}

.theme-organismos {
    --sand: var(--green);
    --clay: #485c51;
}

/* Language Toggle Logic */
body.en .es {
    display: none !important;
}

body.es .en {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::selection,
::selection {
    background: var(--ink);
    color: var(--bg);
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

/* =========================================================
   UTILITIES
   ========================================================= */

.container {
    width: min(1400px, calc(100% - 8rem));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--ink-muted);
}

.eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--line-strong);
}

.section-kicker {
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--ink-muted);
    margin-bottom: 1.2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 46px;
    padding: 0.9rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.btn-dark {
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
}

.btn-dark:hover {
    background: transparent;
    color: var(--ink);
    transform: translateY(-2px);
}

.btn-light {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.btn-light:hover {
    border-color: var(--ink);
    background: var(--bg-white);
    transform: translateY(-2px);
}

.arrow {
    font-size: 0.95rem;
    transform: translateY(-1px);
}

/* Language Switcher Button */
.lang-toggle {
    background: none;
    border: none;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--ink-muted);
    transition: color 0.3s ease;
}

.lang-toggle:hover {
    color: var(--ink);
}

.lang-toggle .active {
    color: var(--ink);
}

.lang-toggle .inactive {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.lang-toggle:hover .inactive {
    opacity: 0.8;
}

/* =========================================================
   NAVBAR
   ========================================================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(251, 250, 247, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(227, 222, 211, 0.78);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.9rem 4rem;
    background: rgba(251, 250, 247, 0.96);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 2.3rem;
}

.nav-center a {
    position: relative;
    text-decoration: none;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--ink-muted);
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: var(--ink);
}

.nav-center a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
}

.nav-center a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-note {
    font-size: 0.72rem;
    color: var(--ink-muted);
    font-weight: 500;
    margin-right: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-note:hover {
    color: var(--ink);
}

.mobile-menu {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu span {
    position: relative;
    width: 16px;
    height: 1px;
    background: var(--ink);
    display: block;
}

.mobile-menu span::before,
.mobile-menu span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 1px;
    background: var(--ink);
}

.mobile-menu span::before {
    top: -5px;
}

.mobile-menu span::after {
    top: 5px;
}

/* =========================================================
   HERO
   ========================================================= */

#hero {
    min-height: 100vh;
    padding: 9rem 4rem 4rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 18%, rgba(216, 199, 163, 0.35), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%);
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 82%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
}

.hero-copy {
    max-width: 780px;
}

.hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 6vw, 6.5rem);
    line-height: 1.0;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 1.7rem 0 2rem;
}

.hero-copy h1 em {
    font-style: italic;
    color: var(--blue);
}

.hero-copy p {
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--ink-soft);
    font-weight: 350;
    margin-bottom: 2.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hero-meta-item {
    padding: 1.25rem 1.25rem 1.25rem 0;
    border-right: 1px solid var(--line);
}

.hero-meta-item:last-child {
    border-right: 0;
    padding-left: 1.25rem;
}

.hero-meta-item strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.4rem;
}

.hero-meta-item span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.74rem;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero-panel {
    position: relative;
    min-height: 610px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(23, 78, 166, 0.08), transparent 28%),
        radial-gradient(circle at 18% 74%, rgba(216, 199, 163, 0.26), transparent 32%);
    pointer-events: none;
}

.panel-top {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.panel-title {
    display: grid;
    gap: 0.12rem;
}

.panel-title strong {
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.panel-title span {
    font-size: 0.76rem;
    color: var(--ink-muted);
}

.panel-status {
    font-size: 0.66rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    border: 1px solid var(--line-strong);
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: var(--bg);
    font-weight: 800;
}

.quiet-map {
    position: absolute;
    inset: 4.95rem 1.25rem 1.25rem;
    border: 1px solid rgba(227, 222, 211, 0.92);
    background:
        radial-gradient(circle at 30% 22%, rgba(23, 78, 166, 0.08), transparent 26%),
        radial-gradient(circle at 82% 72%, rgba(216, 199, 163, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 250, 247, 0.94)),
        repeating-linear-gradient(0deg, transparent, transparent 43px, rgba(23, 23, 23, 0.026) 44px),
        repeating-linear-gradient(90deg, transparent, transparent 43px, rgba(23, 23, 23, 0.026) 44px);
    overflow: hidden;
}

.mexico-map::before {
    content: '';
    position: absolute;
    inset: 1.15rem;
    border: 1px solid rgba(227, 222, 211, 0.58);
    pointer-events: none;
    z-index: 1;
}

.mexico-map::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -220px;
    top: -180px;
    border-radius: 999px;
    border: 1px solid rgba(23, 78, 166, 0.08);
    box-shadow:
        0 0 0 64px rgba(23, 78, 166, 0.025),
        0 0 0 128px rgba(184, 138, 90, 0.025);
    pointer-events: none;
    z-index: 1;
}

.map-kicker {
    position: absolute;
    left: 1.2rem;
    top: 1.05rem;
    z-index: 5;
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--ink-muted);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    padding: 0.48rem 0.62rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mexico-svg {
    position: absolute;
    inset: 0.65rem 0.2rem 0.5rem;
    width: calc(100% - 0.4rem);
    height: calc(100% - 1.15rem);
    z-index: 2;
    overflow: visible;
}

.mexico-land,
.mexico-baja {
    fill: url(#mexicoFill);
    stroke: rgba(23, 23, 23, 0.22);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.mexico-baja {
    opacity: 0.94;
}

.mexico-border-line {
    fill: none;
    stroke: rgba(23, 23, 23, 0.14);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.mexico-border-line.subtle {
    stroke: rgba(23, 23, 23, 0.08);
    stroke-width: 0.85;
}

.trade-route {
    fill: none;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-dasharray: 540;
    stroke-dashoffset: 540;
    opacity: 0.82;
    vector-effect: non-scaling-stroke;
    animation: mapRouteDraw 7.5s var(--ease) infinite alternate;
}

.route-main {
    stroke: url(#routeGradientBlue);
}

.route-blue {
    stroke: rgba(23, 78, 166, 0.55);
    animation-delay: 0.45s;
}

.route-sand {
    stroke: url(#routeGradientSand);
    animation-delay: 0.9s;
}

.route-green {
    stroke: rgba(96, 121, 107, 0.62);
    animation-delay: 1.35s;
}

@keyframes mapRouteDraw {
    0% {
        stroke-dashoffset: 540;
        opacity: 0.18;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.88;
    }
}

.map-city {
    fill: var(--ink);
    stroke: #FFFFFF;
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 8px 14px rgba(23, 23, 23, 0.12));
    animation: cityBreath 4.8s ease-in-out infinite;
}

.city-tijuana,
.city-monterrey,
.city-bajio {
    fill: var(--blue);
}

.city-cdmx {
    fill: var(--ink);
}

.city-istmo {
    fill: var(--green);
}

.city-north,
.city-gulf {
    fill: var(--clay);
    opacity: 0.88;
}

@keyframes cityBreath {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.98;
    }

    50% {
        transform: scale(0.84);
        opacity: 0.68;
    }
}

.pulse-ring {
    fill: none;
    stroke: rgba(23, 78, 166, 0.18);
    stroke-width: 1;
    transform-origin: center;
    animation: pulseRing 4.8s ease-in-out infinite;
    vector-effect: non-scaling-stroke;
}

.ring-monterrey {
    animation-delay: 0.45s;
}

.ring-bajio {
    animation-delay: 0.9s;
}

.ring-cdmx {
    stroke: rgba(23, 23, 23, 0.16);
    animation-delay: 1.35s;
}

.ring-istmo {
    stroke: rgba(96, 121, 107, 0.2);
    animation-delay: 1.8s;
}

@keyframes pulseRing {

    0%,
    100% {
        r: 15;
        opacity: 0.08;
    }

    50% {
        r: 28;
        opacity: 0.32;
    }
}

.map-svg-label {
    font-family: var(--font-sans);
    fill: rgba(63, 63, 63, 0.72);
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.86);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.map-layer-label {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    padding: 0.5rem 0.62rem;
    border: 1px solid rgba(227, 222, 211, 0.88);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--ink-muted);
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(23, 23, 23, 0.045);
}

.map-layer-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.map-layer-label .dot.blue {
    background: var(--blue);
}

.map-layer-label .dot.sand {
    background: var(--clay);
}

.map-layer-label .dot.green {
    background: var(--green);
}

.north-label {
    left: 1.2rem;
    bottom: 1.2rem;
}

.pacific-label {
    right: 1.2rem;
    top: 1.2rem;
}

.southeast-label {
    right: 1.2rem;
    bottom: 1.2rem;
}

.map-line,
.map-node {
    display: none;
}

.floating-card {
    position: absolute;
    z-index: 8;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(23, 23, 23, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.floating-card.card-a {
    left: 1.25rem;
    bottom: 1.25rem;
    width: 250px;
    padding: 1rem;
}

.floating-card.card-b {
    right: 1.25rem;
    top: 6.65rem;
    width: 238px;
    padding: 1rem;
}

.floating-card.card-c {
    right: 1.25rem;
    bottom: 1.25rem;
    width: 240px;
    padding: 1rem;
}

.card-label {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--ink-muted);
    margin-bottom: 0.8rem;
}

.score {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.score strong {
    font-size: 2.15rem;
    line-height: 1;
    letter-spacing: -0.055em;
}

.score span {
    color: var(--blue);
    font-size: 0.68rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.quiet-bars {
    display: grid;
    gap: 0.48rem;
}

.bar-row {
    display: grid;
    grid-template-columns: 68px 1fr 24px;
    gap: 0.48rem;
    align-items: center;
    font-size: 0.66rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    font-weight: 700;
}

.bar-track {
    height: 4px;
    background: var(--bg-muted);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--ink);
    transform-origin: left;
    animation: quietBar 6s ease-in-out infinite alternate;
}

.bar-fill.blue {
    background: var(--blue);
    width: 74%;
}

.bar-fill.sand {
    background: var(--clay);
    width: 48%;
    animation-delay: 0.6s;
}

.bar-fill.green {
    background: var(--green);
    width: 66%;
    animation-delay: 1.2s;
}

@keyframes quietBar {
    from {
        transform: scaleX(0.86);
        opacity: 0.75;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.signal-list {
    display: grid;
    gap: 0.72rem;
}

.signal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line);
}

.signal-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.signal-item span {
    font-size: 0.73rem;
    color: var(--ink-soft);
}

.signal-item strong {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
}

.matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.38rem;
}

.matrix span {
    height: 32px;
    border: 1px solid var(--line);
    background: var(--bg);
    animation: cellFade 5.5s ease-in-out infinite alternate;
}

.matrix span:nth-child(2n) {
    background: var(--blue-soft);
    animation-delay: 0.4s;
}

.matrix span:nth-child(3n) {
    background: #F3EBDD;
    animation-delay: 0.8s;
}

.matrix span:nth-child(5n) {
    background: #EEF3EF;
    animation-delay: 1.2s;
}

@keyframes cellFade {
    from {
        opacity: 0.55;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   STRIP
   ========================================================= */

.strip {
    background: var(--bg-white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.strip-inner {
    width: max-content;
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 1rem 0;
    animation: stripMove 46s linear infinite;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
}

.strip-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--line-strong);
}

@keyframes stripMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   PERSPECTIVE
   ========================================================= */

/* La portada OS reutiliza #perspectiva como escena 00. Un selector de ID gana
   siempre a `.os-home .panel`, así que aquí se anulaba su padding lateral y el
   carril reservado del riel. Esta sección heredada ya no existe fuera de la
   portada: se retira su regla. */

.perspective-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

.sticky-copy {
    position: sticky;
    top: 8rem;
}

.sticky-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.7rem;
}

.sticky-copy h2 em {
    color: var(--blue);
    font-style: italic;
}

.sticky-copy p {
    max-width: 540px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.85;
    font-weight: 350;
}

.principles {
    display: grid;
    border-top: 1px solid var(--line);
}

.principle {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}

.principle:hover {
    padding-left: 1rem;
}

.principle-index {
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--ink-muted);
}

.principle h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.principle p {
    max-width: 640px;
    color: var(--ink-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

/* =========================================================
   PRACTICES
   ========================================================= */

/* #servicios ahora es una `.section` de la portada OS: la regla heredada de ID
   anulaba sus márgenes laterales. Se retira. */

.section-header {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.section-header p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 350;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--bg-white);
    border: 1px solid var(--line);
}

.practice {
    min-height: 510px;
    padding: 2rem;
    border-right: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.practice:last-child {
    border-right: 0;
}

.practice:hover {
    background: #FFFEFC;
}

.practice-number {
    color: var(--ink-muted);
    font-size: 0.7rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    margin-bottom: 5.2rem;
}

.practice h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.practice p {
    color: var(--ink-muted);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 1.8rem;
}

.practice ul {
    display: grid;
    gap: 0.8rem;
    list-style: none;
}

.practice li {
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.45;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.practice li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--line-strong);
    margin-top: 0.52rem;
    flex: 0 0 auto;
}

.practice-mark {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    height: 78px;
    border-top: 1px solid var(--line);
}

.practice-mark svg {
    width: 100%;
    height: 100%;
}

.mark-path {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 1.4;
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    animation: markDraw 8s var(--ease) infinite alternate;
}

.practice:hover .mark-path {
    stroke: var(--blue);
}

@keyframes markDraw {
    0% {
        stroke-dashoffset: 360;
        opacity: 0.35;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* =========================================================
   INTELLIGENCE LAYER
   ========================================================= */

/* #tecnologia ahora es la escena 05 de la portada OS. Se retira la regla de ID
   heredada por el mismo motivo que #perspectiva. */

.tech-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.tech-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.tech-copy h2 em {
    color: var(--blue);
    font-style: italic;
}

.tech-copy p {
    max-width: 590px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    font-weight: 350;
}

.tech-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 2.3rem;
}

.tech-list li {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.55;
}

.tech-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--line-strong);
    margin-top: 0.55rem;
    flex: 0 0 auto;
}

.quiet-dashboard {
    min-height: 620px;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.quiet-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 16%, rgba(23, 78, 166, 0.07), transparent 30%), repeating-linear-gradient(0deg, transparent, transparent 43px, rgba(23, 23, 23, 0.035) 44px), repeating-linear-gradient(90deg, transparent, transparent 43px, rgba(23, 23, 23, 0.035) 44px);
    pointer-events: none;
}

.dashboard-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.58);
}

.dashboard-top strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.dashboard-tabs {
    display: flex;
    gap: 0.45rem;
}

.dashboard-tabs span {
    padding: 0.38rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-muted);
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    background: var(--bg-white);
}

.dashboard-body {
    position: absolute;
    inset: 3.7rem 0 0;
    display: grid;
    grid-template-columns: 1fr 0.82fr;
}

.network {
    position: relative;
    border-right: 1px solid var(--line);
}

.network svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: var(--line-strong);
    stroke-width: 1;
    opacity: 0.65;
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: networkDraw 9s var(--ease) infinite alternate;
}

.network-line.blue {
    stroke: var(--blue);
    opacity: 0.5;
    animation-delay: 0.6s;
}

.network-line.clay {
    stroke: var(--clay);
    opacity: 0.45;
    animation-delay: 1.2s;
}

@keyframes networkDraw {
    0% {
        stroke-dashoffset: 240;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.network-point {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--ink);
    z-index: 5;
    animation: pointQuiet 5.5s ease-in-out infinite;
}

.network-point.p1 {
    left: 18%;
    top: 25%;
}

.network-point.p2 {
    left: 42%;
    top: 38%;
    background: var(--blue);
    animation-delay: 0.4s;
}

.network-point.p3 {
    left: 68%;
    top: 25%;
    background: var(--clay);
    animation-delay: 0.8s;
}

.network-point.p4 {
    left: 31%;
    top: 68%;
    background: var(--green);
    animation-delay: 1.2s;
}

.network-point.p5 {
    left: 74%;
    top: 72%;
    background: var(--ink-muted);
    animation-delay: 1.6s;
}

@keyframes pointQuiet {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.95;
    }

    50% {
        transform: scale(0.78);
        opacity: 0.6;
    }
}

.network-caption {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    padding: 1rem;
    z-index: 6;
    backdrop-filter: blur(12px);
}

.network-caption strong {
    display: block;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.network-caption span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.insight-stack {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.42);
}

.insight {
    padding: 1.3rem;
    border-bottom: 1px solid var(--line);
}

.insight:last-child {
    border-bottom: 0;
}

.insight h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.insight p {
    color: var(--ink-muted);
    font-size: 0.84rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.meter {
    height: 4px;
    background: var(--bg-muted);
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
    background: var(--ink);
    transform-origin: left;
    animation: meterQuiet 6s ease-in-out infinite alternate;
}

.meter .m1 {
    width: 82%;
    background: var(--blue);
}

.meter .m2 {
    width: 64%;
    background: var(--clay);
    animation-delay: 0.6s;
}

.meter .m3 {
    width: 73%;
    background: var(--green);
    animation-delay: 1.2s;
}

@keyframes meterQuiet {
    from {
        transform: scaleX(0.82);
        opacity: 0.68;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* =========================================================
   OUTPUTS
   ========================================================= */

/* #outputs ahora es una `.section` de la portada OS. Se retira. */

.outputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.output {
    min-height: 330px;
    background: var(--bg-white);
    border: 1px solid var(--line);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.output:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.output.large {
    grid-row: span 2;
    min-height: 690px;
}

.output-label {
    font-size: 0.7rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--ink-muted);
    margin-bottom: 1.2rem;
}

.output h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.output p {
    color: var(--ink-muted);
    font-size: 0.96rem;
    line-height: 1.75;
    max-width: 540px;
}

.document-preview {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    height: 310px;
    border: 1px solid var(--line);
    background: var(--bg);
    padding: 1.2rem;
}

.doc-header {
    height: 58px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.doc-title {
    width: 46%;
    height: 8px;
    background: var(--ink);
    margin-top: 0.25rem;
}

.doc-badge {
    width: 68px;
    height: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
}

.doc-line {
    height: 7px;
    background: var(--line);
    margin-bottom: 0.72rem;
}

.doc-line.short {
    width: 48%;
}

.doc-line.mid {
    width: 72%;
}

.doc-line.blue {
    background: rgba(23, 78, 166, 0.26);
}

.mini-chart {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    height: 86px;
    border-top: 1px solid var(--line);
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

.mini-path {
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.5;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: miniDraw 8s var(--ease) infinite alternate;
}

@keyframes miniDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* =========================================================
   CTA + FOOTER
   ========================================================= */

/* Las páginas de sector siguen usando `<section id="contacto">` sin clase; la
   portada OS usa `<section class="section contact" id="contacto">`. Se acota
   para que el ID no gane sobre `.os-home .section`. */
#contacto:not(.section) {
    padding: 6rem 0 3rem;
    background: var(--bg-white);
}

.cta {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 0.42fr;
    gap: 4rem;
    align-items: end;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 84% 24%, rgba(216, 199, 163, 0.34), transparent 28%), repeating-linear-gradient(0deg, transparent, transparent 51px, rgba(23, 23, 23, 0.035) 52px), repeating-linear-gradient(90deg, transparent, transparent 51px, rgba(23, 23, 23, 0.035) 52px);
    pointer-events: none;
}

.cta-copy,
.cta-actions {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 780px;
    margin-bottom: 1.35rem;
}

.cta h2 em {
    color: var(--blue);
    font-style: italic;
}

.cta p {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.85;
    font-weight: 350;
}

.cta-actions {
    display: grid;
    gap: 1rem;
}

.contact-card {
    border: 1px solid var(--line);
    background: var(--bg-white);
    padding: 1rem;
}

.contact-card span {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--ink-muted);
    margin-bottom: 0.35rem;
}

.contact-card strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.35;
}

/* =========================================================
   DARK FOOTER REDESIGN
   ========================================================= */

footer.footer-dark {
    background: var(--ink);
    color: #E5E2DA;
    padding: 6.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #2A2923;
}

footer.footer-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 25%, rgba(216, 199, 163, 0.04), transparent 32%),
        repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, 0.012) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, 0.012) 60px);
    pointer-events: none;
}

footer.footer-dark .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    gap: 4rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid #2B2A24;
}

.footer-brand .logo img {
    height: 38px;
    filter: invert(0.96) sepia(0.04) saturate(0.2) hue-rotate(20deg);
    transition: filter 0.3s ease;
}

.footer-brand p {
    max-width: 380px;
    color: #9E9B92;
    font-size: 0.94rem;
    line-height: 1.75;
    margin-top: 1.35rem;
    font-weight: 300;
}

.footer-brand .footer-contact-info {
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-contact-info .footer-contact-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: #7A7870;
}

.footer-contact-info .footer-email {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--sand);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
    width: fit-content;
}

.footer-contact-info .footer-email:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-col h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1.45rem;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.footer-col a {
    text-decoration: none;
    color: #9E9B92;
    font-size: 0.92rem;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 2.2rem;
    color: #7A7870;
    font-size: 0.82rem;
    font-weight: 350;
}

.footer-bottom-tagline {
    color: #9E9B92;
    font-weight: 400;
}

/* =========================================================
   COOKIE CONSENT BANNER (GLASSMORPHIC & DELIBERATE)
   ========================================================= */

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 40px);
    width: min(840px, calc(100% - 2.4rem));
    background: rgba(23, 23, 23, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.6rem 2.2rem;
    border-radius: 4px;
    z-index: 99999;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
    pointer-events: none;
}

.cookie-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: all;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cookie-text p {
    color: #E2DFD5;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 520px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-shrink: 0;
}

.cookie-link {
    color: #9E9B92;
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    transition: color 0.25s ease;
}

.cookie-link:hover {
    color: var(--sand);
}

.cookie-btn {
    min-height: 38px !important;
    padding: 0.65rem 1.4rem !important;
    background: #FFFFFF !important;
    color: #171717 !important;
    border-color: #FFFFFF !important;
    font-size: 0.72rem !important;
}

.cookie-btn:hover {
    background: transparent !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* =========================================================
   PRIVACY POLICY PAGE
   ========================================================= */

.privacy-page {
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.privacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.privacy-logo img {
    height: 28px;
}

.privacy-header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.privacy-container {
    width: min(820px, calc(100% - 4rem));
    margin: 5rem auto 8rem;
    flex-grow: 1;
}

.privacy-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    margin-bottom: 3.5rem;
}

.privacy-content {
    display: grid;
    gap: 3.5rem;
}

.privacy-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.6rem;
}

.privacy-section p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 350;
}

.privacy-section p.lead {
    font-size: 1.28rem;
    line-height: 1.7;
    color: var(--ink);
    font-weight: 300;
}

.privacy-section ul {
    list-style: none;
    display: grid;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.privacy-section li {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink-soft);
    position: relative;
    padding-left: 1.5rem;
    font-weight: 350;
}

.privacy-section li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--sand);
    font-weight: 700;
}

.privacy-section li strong {
    color: var(--ink);
    font-weight: 600;
}

.privacy-email {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-email:hover {
    color: var(--ink);
}

.placeholder-box {
    border: 1px dashed var(--line-strong);
    background: var(--bg-soft);
    padding: 2rem;
    text-align: center;
    font-style: italic;
    color: var(--ink-muted);
    font-size: 0.95rem;
    border-radius: 4px;
}

/* =========================================================
   STRATEGIC DESK LANGUAGE SELECTOR & SECURITY STYLE FIXES
   ========================================================= */

.login-page {
    position: relative;
}

.login-lang-container {
    position: absolute;
    top: 2rem;
    right: 3rem;
    z-index: 100;
}

.login-lang-container .lang-toggle {
    color: var(--ink-muted);
}

.login-lang-container .lang-toggle:hover,
.login-lang-container .lang-toggle .active {
    color: var(--ink);
}


/* Responsive adjustments for new features */
@media (max-width: 860px) {
    .cookie-banner {
        bottom: 1rem;
        padding: 1.2rem 1.6rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 760px) {
    .privacy-header {
        padding: 1.5rem 2rem;
    }

    .privacy-container {
        margin-top: 3rem;
        margin-bottom: 5rem;
    }

    .login-lang-container {
        top: 1.5rem;
        right: 1.5rem;
    }
}

/* =========================================================
   CONTACT MODAL
   ========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 23, 23, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-white);
    border: 1px solid var(--line);
    box-shadow: 0 32px 90px rgba(23, 23, 23, 0.18);
    width: min(620px, calc(100% - 2rem));
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.5s var(--ease);
    position: relative;
}

.modal-overlay.open .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--ink-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--ink-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--ink-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--bg);
    font-size: 0.88rem;
    color: var(--ink);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%23737373' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
}

.confidentiality-notice {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.confidentiality-notice .notice-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 999px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.confidentiality-notice p {
    color: var(--ink-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.confidentiality-notice strong {
    color: var(--ink-soft);
}

.modal-footer {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* =========================================================
   STRATEGIC DESK LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg);
}

.login-brand {
    background: var(--ink);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(23, 78, 166, 0.15), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(216, 199, 163, 0.1), transparent 35%),
        repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(255, 255, 255, 0.03) 64px),
        repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(255, 255, 255, 0.03) 64px);
    pointer-events: none;
}

.login-brand-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.login-brand-content img {
    height: 32px;
    width: auto;
    margin-bottom: 3rem;
    filter: brightness(0) invert(1);
}

.login-brand-content h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bg);
}

.login-brand-content h1 em {
    color: var(--sand);
    font-style: italic;
}

.login-brand-content p {
    color: rgba(251, 250, 247, 0.55);
    font-size: 0.98rem;
    line-height: 1.8;
    max-width: 420px;
}

.login-brand-features {
    margin-top: 3rem;
    display: grid;
    gap: 1.2rem;
}

.login-brand-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(251, 250, 247, 0.45);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.login-brand-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--blue);
    flex: 0 0 6px;
}

.login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-form-header {
    margin-bottom: 2.5rem;
}

.login-form-header .section-kicker {
    margin-bottom: 0.8rem;
}

.login-form-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-form-header p {
    color: var(--ink-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.login-form {
    display: grid;
    gap: 1.2rem;
}

.login-form .form-group label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--ink-muted);
}

.login-form .form-group input {
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: var(--bg);
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.login-form .form-group input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 78, 166, 0.08);
}

.login-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--ink-faint);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0.5rem 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.login-security-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.login-security-note .lock-icon {
    color: var(--green);
    font-size: 0.85rem;
    margin-top: 0.1rem;
}

.login-security-note p {
    color: var(--ink-muted);
    font-size: 0.74rem;
    line-height: 1.55;
}

.login-back-link {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-back-link:hover {
    color: var(--ink);
}

/* Tooltip D3 */
.map-tooltip {
    background: rgba(251, 250, 247, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 1.1rem;
    font-family: var(--font-sans);
    color: var(--ink);
    border-radius: 4px;
    max-width: 260px;
    pointer-events: none;
    transition: opacity 0.15s ease-out;
}

/* =========================================================
   NAVBAR — SECTORS DROPDOWN
   ========================================================= */

.nav-sectors-wrapper {
    position: relative;
}

.nav-sectors-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--ink-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

.nav-sectors-trigger:hover,
.nav-sectors-trigger.open {
    color: var(--ink);
}

.nav-sectors-trigger .chevron-icon {
    transition: transform 0.3s var(--ease);
    margin-top: 1px;
}

.nav-sectors-trigger.open .chevron-icon {
    transform: rotate(180deg);
}

.nav-sectors-dropdown {
    position: absolute;
    top: calc(100% + 1.1rem);
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    background: rgba(251, 250, 247, 0.97);
    border: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(23, 23, 23, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    animation: dropdownFadeIn 0.25s var(--ease);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.sector-link {
    display: block;
    padding: 1rem 1.25rem;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, padding-left 0.3s var(--ease);
}

.sector-link:last-child {
    border-bottom: 0;
}

.sector-link:hover {
    background: rgba(23, 78, 166, 0.04);
    padding-left: 1.5rem;
}

.sector-link.active {
    background: rgba(23, 78, 166, 0.06);
    border-left: 3px solid var(--blue);
}

.sector-link strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
    color: var(--ink);
}

.sector-link span {
    display: block;
    font-size: 0.72rem;
    color: var(--ink-muted);
    line-height: 1.4;
}

.nav-link-active {
    color: var(--ink) !important;
}

/* =========================================================
   GOBIERNOS — HERO
   ========================================================= */

#gov-hero {
    min-height: 100vh;
    padding: 9rem 4rem 5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(23, 78, 166, 0.12), transparent 32%),
        radial-gradient(circle at 20% 80%, rgba(96, 121, 107, 0.08), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%);
}

#gov-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 78, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 78, 166, 0.03) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 75%);
    pointer-events: none;
}

.gov-hero-grid {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.gov-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 1.5rem 0 1.8rem;
}

.gov-hero-copy h1 em {
    font-style: italic;
    color: var(--blue);
}

.gov-hero-copy > p {
    max-width: 600px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--ink-soft);
    font-weight: 350;
    margin-bottom: 2.2rem;
}

.gov-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.gov-stat {
    padding: 1.15rem 1.15rem 1.15rem 0;
    border-right: 1px solid var(--line);
}

.gov-stat:last-child {
    border-right: 0;
    padding-left: 1.15rem;
}

.gov-stat strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
}

.gov-stat span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.gov-hero-visual {
    position: relative;
    overflow: visible;
}

.gov-hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}



/* ── GOBIERNOS STRIP ── */

.gov-strip {
    background: var(--ink);
    border-top: 1px solid #2A2923;
    border-bottom: 1px solid #2A2923;
    overflow: hidden;
}

.gov-strip .strip-inner {
    padding: 0.85rem 0;
}

.gov-strip .strip-item {
    color: #9E9B92;
}

.gov-strip .strip-item::before {
    background: var(--blue);
    opacity: 0.5;
}

/* ── GOBIERNOS APPROACH ── */

#gov-approach {
    padding: 6rem 0;
    background: var(--bg-white);
}

.gov-approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.gov-approach-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.gov-approach-copy h2 em {
    color: var(--blue);
    font-style: italic;
}

.gov-approach-copy > p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 350;
    max-width: 560px;
}

.gov-approach-metrics {
    display: grid;
    gap: 1.2rem;
}

.gov-metric-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: var(--bg);
    transition: var(--transition);
}

.gov-metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    background: var(--bg-white);
}

.gov-metric-card svg {
    flex: 0 0 auto;
    color: var(--blue);
    margin-top: 0.2rem;
}

.gov-metric-card strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.gov-metric-card span {
    display: block;
    font-size: 0.86rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* ── GOBIERNOS SOLUTIONS ── */

#gov-solutions {
    padding: 6rem 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.gov-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.gov-solution {
    min-height: 380px;
    padding: 2.2rem 2.2rem 4.5rem;
    background: var(--bg-white);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 4px;
}

.gov-solution:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(23, 23, 23, 0.08);
    border-color: var(--line-strong);
}

.gov-solution::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 80%, rgba(23, 78, 166, 0.035), transparent 60%);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition);
}

.gov-solution:hover::before {
    opacity: 1;
}

.gov-solution-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: var(--transition);
    z-index: 2;
}

.gov-solution-accent.blue { background: var(--blue); }
.gov-solution-accent.sand { background: var(--clay); }
.gov-solution-accent.green { background: var(--green); }
.gov-solution-accent.dark { background: var(--ink); }

.gov-solution:hover .gov-solution-accent {
    height: 6px;
}



.gov-solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.gov-solution-icon.blue {
    background: rgba(23, 78, 166, 0.08);
    color: var(--blue);
}

.gov-solution-icon.sand {
    background: rgba(184, 138, 90, 0.1);
    color: var(--clay);
}

.gov-solution-icon.green {
    background: rgba(96, 121, 107, 0.1);
    color: var(--green);
}

.gov-solution-icon.dark {
    background: rgba(23, 23, 23, 0.06);
    color: var(--ink);
}

.gov-solution-number {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--ink-muted);
    margin-bottom: 1rem;
}

.gov-solution h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.gov-solution > p {
    color: var(--ink-muted);
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.gov-solution ul {
    display: grid;
    gap: 0.65rem;
    list-style: none;
}

.gov-solution li {
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.45;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.gov-solution li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--line-strong);
    margin-top: 0.52rem;
    flex: 0 0 auto;
}

/* ── GOBIERNOS VISUALIZATION ── */

#gov-visualization {
    padding: 6rem 0;
    background: var(--bg-white);
}

.gov-viz-wrapper {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 4rem;
    align-items: start;
}

.gov-viz-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.3rem;
}

.gov-viz-intro h2 em {
    color: var(--blue);
    font-style: italic;
}

.gov-viz-intro > p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.8;
    font-weight: 350;
}

/* ── D3 CHART PANEL ── */

.gov-chart-wrapper {
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.gov-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.58);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gov-chart-title {
    display: grid;
    gap: 0.12rem;
}

.gov-chart-title strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.gov-chart-title span {
    font-size: 0.74rem;
    color: var(--ink-muted);
}

.gov-chart-tabs {
    display: flex;
    gap: 0.4rem;
}

.gov-tab {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-muted);
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gov-tab:hover {
    border-color: var(--ink-soft);
    color: var(--ink);
}

.gov-tab.active {
    background: var(--bg);
    font-weight: 800;
}

.gov-chart-body {
    position: relative;
    min-height: 300px;
    background:
        radial-gradient(circle at 50% 50%, rgba(23, 78, 166, 0.03), transparent 60%);
}

.gov-chart-body svg {
    display: block;
}

.gov-chart-tooltip {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    z-index: 10;
    background: rgba(251, 250, 247, 0.94);
    border: 1px solid var(--line);
    padding: 0.85rem 1.1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
    max-width: 220px;
    animation: dropdownFadeIn 0.2s var(--ease);
}

.gov-chart-tooltip strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.tooltip-bar-wrap {
    height: 4px;
    background: var(--bg-muted);
    margin-bottom: 0.35rem;
    overflow: hidden;
}

.tooltip-bar-fill {
    height: 100%;
    transition: width 0.4s var(--ease);
}

.gov-chart-tooltip span {
    font-size: 0.68rem;
    color: var(--ink-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gov-chart-footer {
    display: flex;
    gap: 1.5rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.42);
    flex-wrap: wrap;
}

.gov-chart-legend {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--ink-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.legend-ring {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1.5px solid var(--blue);
    flex: 0 0 auto;
}

/* =========================================================
   POLITICA (CAMPAIGNS) STYLE
   ========================================================= */

#pol-hero {
    min-height: 100vh;
    padding: 9rem 4rem 5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(184, 138, 90, 0.12), transparent 32%),
        radial-gradient(circle at 20% 80%, rgba(23, 78, 166, 0.06), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%);
}

#pol-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 138, 90, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 138, 90, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 75%);
    pointer-events: none;
}

.pol-hero-grid {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.pol-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 1.5rem 0 1.8rem;
}

.pol-hero-copy h1 em {
    font-style: italic;
    color: var(--clay);
}

.pol-hero-copy > p {
    max-width: 600px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--ink-soft);
    font-weight: 350;
    margin-bottom: 2.2rem;
}

.pol-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pol-stat {
    padding: 1.15rem 1.15rem 1.15rem 0;
    border-right: 1px solid var(--line);
}

.pol-stat:last-child {
    border-right: 0;
    padding-left: 1.15rem;
}

.pol-stat strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
}

.pol-stat span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.pol-hero-visual {
    position: relative;
    overflow: visible;
}

.pol-hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* ── POLITICAL STRIP ── */
.pol-strip {
    background: var(--ink);
    border-top: 1px solid #2C2723;
    border-bottom: 1px solid #2C2723;
    overflow: hidden;
}

.pol-strip .strip-inner {
    width: max-content;
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 0.85rem 0;
    animation: stripMove 46s linear infinite;
}

.pol-strip .strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9E9992;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
}

.pol-strip .strip-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--clay);
    opacity: 0.5;
}

/* ── INTERACTIVE PIPELINE (Innovation 1) ── */
#pol-pipeline {
    padding: 6rem 0;
    background: var(--bg-white);
}

.pol-pipeline-wrapper {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 0.38fr 1fr;
    gap: 3rem;
    border: 1px solid var(--line);
    background: var(--bg);
}

.pol-pipeline-steps {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.45);
}

.pol-pipeline-step-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2.2rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.pol-pipeline-step-btn:last-child {
    border-bottom: 0;
}

.pol-pipeline-step-btn .step-num {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink-faint);
    transition: var(--transition);
}

.pol-pipeline-step-btn .step-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--ink-muted);
    transition: var(--transition);
}

.pol-pipeline-step-btn:hover {
    background: rgba(255, 255, 255, 0.82);
}

.pol-pipeline-step-btn.active {
    background: var(--bg-white);
}

.pol-pipeline-step-btn.active .step-num {
    color: var(--clay);
    transform: scale(1.1);
}

.pol-pipeline-step-btn.active .step-title {
    color: var(--ink);
}

.pol-pipeline-content {
    padding: 3.5rem;
    background: var(--bg-white);
    display: flex;
    align-items: center;
}

.pol-pipeline-content-inner {
    animation: polFadeIn 0.5s var(--ease);
    width: 100%;
}

.pol-pipeline-meta {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.2rem;
}

.pol-pipeline-meta .meta-kicker {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--clay);
    display: block;
    margin-bottom: 0.4rem;
}

.pol-pipeline-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 600;
}

.pol-pipeline-body p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 640px;
}

.pol-pipeline-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
}

.pol-pipeline-list li {
    font-size: 0.84rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pol-pipeline-list li .list-icon {
    color: var(--clay);
    flex-shrink: 0;
}

@keyframes polFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── ACCORDION CAPABILITIES (Innovation 2) ── */
#pol-capabilities {
    padding: 6rem 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pol-capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: start;
}

.pol-capabilities-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pol-capabilities-intro h2 em {
    color: var(--clay);
    font-style: italic;
}

.pol-capabilities-intro > p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 350;
    margin-bottom: 2.2rem;
}

.pol-capabilities-note {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: rgba(184, 138, 90, 0.06);
    border: 1px solid rgba(184, 138, 90, 0.14);
    color: var(--ink-soft);
    font-size: 0.8rem;
    line-height: 1.5;
}

.pol-capabilities-note svg {
    color: var(--clay);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pol-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pol-accordion-item {
    background: var(--bg-white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: var(--transition);
}

.pol-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    cursor: pointer;
}

.pol-accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.pol-accordion-title-wrap .icon-container {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--ink-muted);
    transition: var(--transition);
}

.pol-accordion-title-wrap .icon-container.active {
    background: rgba(184, 138, 90, 0.1);
    color: var(--clay);
}

.pol-accordion-title-wrap h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.pol-accordion-toggle-indicator {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1;
}

.pol-accordion-content {
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.pol-accordion-item.open {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}

.pol-accordion-item.open .pol-accordion-content {
    max-height: 200px;
}

.pol-accordion-content-inner {
    padding: 0 1.6rem 1.6rem 4.5rem;
}

.pol-accordion-content-inner p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.pol-accordion-metric {
    font-size: 0.8rem;
    display: flex;
    gap: 0.5rem;
}

.pol-accordion-metric strong {
    color: var(--clay);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pol-accordion-metric span {
    color: var(--ink-muted);
}

/* ── POLITICAL VISUALIZATION ── */
#pol-visualization {
    padding: 6rem 0;
    background: var(--bg-white);
}

.pol-viz-wrapper {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 4rem;
    align-items: start;
}

.pol-viz-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.3rem;
}

.pol-viz-intro h2 em {
    color: var(--clay);
    font-style: italic;
}

.pol-viz-intro > p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.8;
    font-weight: 350;
}

/* ── D3 CHART PANEL FOR CAMPAIGNS ── */
.pol-chart-wrapper {
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 4px;
}

.pol-chart-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
}

.pol-chart-title {
    display: grid;
    gap: 0.12rem;
}

.pol-chart-title strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.pol-chart-title span {
    font-size: 0.74rem;
    color: var(--ink-muted);
}

.pol-chart-body {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(184, 138, 90, 0.03), transparent 60%);
    margin-bottom: 1.5rem;
}

.pol-chart-tooltip {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    z-index: 10;
    background: rgba(251, 250, 247, 0.94);
    border: 1px solid var(--line-strong);
    padding: 0.75rem 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
    min-width: 160px;
    animation: polFadeIn 0.2s var(--ease);
}

.pol-chart-tooltip strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pol-chart-tooltip .tooltip-candidate {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: var(--ink-muted);
    margin-bottom: 0.2rem;
}

.pol-chart-tooltip .tooltip-candidate .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
}

.pol-chart-tooltip .tooltip-candidate .dot.clay {
    background: var(--clay);
}

.pol-chart-tooltip .tooltip-candidate .dot.blue {
    background: var(--blue);
}

.pol-chart-tooltip .tooltip-value {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink);
}

.pol-chart-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.2rem;
    border: 1px solid var(--line);
}

.pol-chart-controls .control-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pol-chart-controls label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--ink-soft);
}

.pol-chart-controls label strong {
    color: var(--clay);
}

.pol-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--line);
    outline: none;
}

.pol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clay);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.pol-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.pol-chart-legend {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    flex-wrap: wrap;
}

.pol-chart-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--ink-muted);
}

.pol-chart-legend .legend-item .line {
    width: 18px;
    height: 2px;
    display: inline-block;
}

.pol-chart-legend .legend-item .line.clay {
    background: var(--clay);
}

.pol-chart-legend .legend-item .line.blue {
    background: var(--blue);
}

.pol-chart-legend .legend-item .area {
    width: 14px;
    height: 10px;
    background: rgba(184, 138, 90, 0.08);
    border: 1px dashed rgba(184, 138, 90, 0.3);
    display: inline-block;
}

/* =========================================================
   EMPRESAS (CORPORATE) STYLE
   ========================================================= */

#emp-hero {
    min-height: 100vh;
    padding: 9rem 4rem 5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(96, 121, 107, 0.12), transparent 32%),
        radial-gradient(circle at 20% 80%, rgba(23, 78, 166, 0.06), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%);
}

#emp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 121, 107, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 121, 107, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 75%);
    pointer-events: none;
}

.emp-hero-grid {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.emp-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 1.5rem 0 1.8rem;
}

.emp-hero-copy h1 em {
    font-style: italic;
    color: var(--green);
}

.emp-hero-copy > p {
    max-width: 600px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--ink-soft);
    font-weight: 350;
    margin-bottom: 2.2rem;
}

.emp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.emp-stat {
    padding: 1.15rem 1.15rem 1.15rem 0;
    border-right: 1px solid var(--line);
}

.emp-stat:last-child {
    border-right: 0;
    padding-left: 1.15rem;
}

.emp-stat strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
}

.emp-stat span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.emp-hero-visual {
    position: relative;
    overflow: visible;
}

.emp-hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* ── CORPORATE STRIP ── */
.emp-strip {
    background: var(--ink);
    border-top: 1px solid #232C28;
    border-bottom: 1px solid #232C28;
    overflow: hidden;
}

.emp-strip .strip-inner {
    width: max-content;
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 0.85rem 0;
    animation: stripMove 46s linear infinite;
}

.emp-strip .strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #929E97;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
}

.emp-strip .strip-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--green);
    opacity: 0.5;
}

 /* ── REDESIGNED CORE SERVICES & CAPABILITIES ── */
#emp-cards {
    padding: 6rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.emp-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

.emp-pillar-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.emp-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(96, 121, 107, 0.08);
    border-color: var(--green);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.card-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.emp-pillar-card:hover .card-main-image {
    transform: scale(1.06);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(23, 23, 23, 0.1));
    pointer-events: none;
}

.card-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 2rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--bg-white);
    flex-shrink: 0;
}

.card-icon.auto-icon {
    color: var(--green);
    box-shadow: 0 4px 12px rgba(96, 121, 107, 0.15);
}

.card-icon.data-icon {
    color: var(--blue);
    box-shadow: 0 4px 12px rgba(23, 78, 166, 0.15);
}

.card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--ink);
}

.card-lead {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.card-features-list {
    display: grid;
    gap: 1.5rem;
}

.card-feature-row {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
}

.card-feature-row .feature-icon {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.emp-pillar-card:nth-child(1) .feature-icon {
    color: var(--green);
}

.emp-pillar-card:nth-child(2) .feature-icon {
    color: var(--blue);
}

.card-feature-row h4 {
    font-size: 0.94rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.card-feature-row p {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ink-muted);
}

.card-btn {
    align-self: flex-start;
}

/* ── INTERACTIVE AUTOMATION SIMULATION ── */
#emp-automation-simulation {
    padding: 7rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

#emp-automation-simulation::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 80%, rgba(96, 121, 107, 0.05), transparent 45%);
    pointer-events: none;
}

.sim-wrapper {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 4.5rem;
    align-items: start;
}

.sim-copy-side h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.3rem;
}

.sim-copy-side h2 em {
    color: var(--green);
    font-style: italic;
}

.sim-desc {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 350;
}

.sim-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sim-step-item {
    border-left: 2px solid var(--line);
    padding-left: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.sim-step-item:hover {
    border-color: var(--ink-soft);
}

.sim-step-item.active {
    border-color: var(--green);
}

.sim-step-item h4 {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
    transition: var(--transition);
}

.sim-step-item.active h4 {
    color: var(--green);
}

.sim-step-item p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-muted);
    display: none;
    animation: polFadeIn 0.4s var(--ease);
}

.sim-step-item.active p {
    display: block;
}

.sim-visual-side {
    position: sticky;
    top: 120px;
}

.simulation-board {
    height: 380px;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(rgba(96, 121, 107, 0.035) 1px, transparent 1px);
    background-size: 20px 20px;
}

.board-stage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
    transform: scale(0.96);
}

.board-stage.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.stage-label {
    position: absolute;
    bottom: 2.2rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 850;
    color: var(--ink-muted);
    background: var(--bg-soft);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
}

.doc-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.doc-card {
    width: 140px;
    height: 180px;
    background: var(--bg-white);
    border: 2px solid var(--ink);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 12px 30px rgba(23, 23, 23, 0.08);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

.doc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-card-header .badge {
    font-size: 8px;
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--ink-soft);
    border: 1px solid var(--line-strong);
    padding: 1px 4px;
}

.doc-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.doc-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doc-line {
    height: 3px;
    background: var(--line-strong);
    border-radius: 2px;
}

.doc-line.long {
    width: 100%;
}

.doc-line.medium {
    width: 65%;
}

.laser-scanner {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--green);
    box-shadow: 0 0 12px var(--green), 0 0 4px var(--green);
    animation: scanLaserLine 2s linear infinite;
}

@keyframes scanLaserLine {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.terminal-container {
    width: 290px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #1e1e1e;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    color: #d4d4d4;
    font-size: 11px;
    text-align: left;
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.45rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid #3c3c3c;
}

.term-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
    margin-left: auto;
    font-size: 8px;
    color: #858585;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.terminal-body {
    padding: 1.15rem;
    font-family: Consolas, Monaco, monospace;
    line-height: 1.6;
    min-height: 125px;
}

.terminal-body .text-muted {
    color: #6a9955;
}

.terminal-body .text-success {
    color: #4ec9b0;
}

.cursor-blink {
    display: inline-block;
    animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
    to { visibility: hidden; }
}

.audit-shield-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.audit-shield {
    width: 90px;
    height: 90px;
    background: rgba(96, 121, 107, 0.06);
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(96, 121, 107, 0.15);
}

.shield-icon {
    color: var(--green);
}

.shield-ring {
    position: absolute;
    inset: -6px;
    border: 1px dashed var(--green);
    border-radius: 50%;
    opacity: 0.4;
    animation: spinShield 15s linear infinite;
}

.shield-ring.outer {
    inset: -12px;
    opacity: 0.15;
    animation: spinShieldReverse 20s linear infinite;
}

@keyframes spinShield {
    to { transform: rotate(360deg); }
}

@keyframes spinShieldReverse {
    to { transform: rotate(-360deg); }
}

.audit-status {
    text-align: center;
}

.audit-status strong {
    display: block;
    font-size: 0.88rem;
    color: var(--green);
    letter-spacing: 0.08em;
}

.audit-status span {
    font-size: 0.62rem;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.sync-db-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sync-flow-animation {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 280px;
    justify-content: center;
}

.flow-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    background: var(--bg-white);
}

.flow-node.doc-node {
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 15px rgba(96, 121, 107, 0.2);
}

.flow-node.db-node {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 0 15px rgba(23, 78, 166, 0.2);
    animation: pulseDBNode 2s ease-in-out infinite alternate;
}

@keyframes pulseDBNode {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.flow-arrow-line {
    flex-grow: 1;
    height: 2px;
    background: var(--line);
    position: relative;
}

.arrow-pulse {
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: flowDataPulse 1.6s infinite linear;
}

@keyframes flowDataPulse {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ── CORPORATE VISUALIZATION ── */
#emp-visualization {
    padding: 6rem 0;
    background: var(--bg);
}

.emp-viz-wrapper {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 4rem;
    align-items: start;
}

.emp-viz-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.3rem;
}

.emp-viz-intro h2 em {
    color: var(--green);
    font-style: italic;
}

.emp-viz-intro > p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.8;
    font-weight: 350;
}

/* ── D3 CHART PANEL FOR ENTERPRISE ── */
.emp-chart-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 4px;
}

.emp-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.emp-chart-title {
    display: grid;
    gap: 0.12rem;
}

.emp-chart-title strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.emp-chart-title span {
    font-size: 0.74rem;
    color: var(--ink-muted);
}

.emp-chart-tabs {
    display: flex;
    gap: 0.45rem;
}

.emp-chart-tab {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    background: var(--bg);
    color: var(--ink-muted);
    cursor: pointer;
    transition: var(--transition);
}

.emp-chart-tab:hover {
    border-color: var(--ink-muted);
    color: var(--ink);
}

.emp-chart-tab.active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.emp-chart-tab.active.warning {
    background: rgba(184, 138, 90, 0.14);
    color: var(--clay);
    border-color: var(--clay);
}

.emp-chart-tab.active.success {
    background: rgba(96, 121, 107, 0.12);
    color: var(--green);
    border-color: var(--green);
}

.emp-chart-body {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(96, 121, 107, 0.035), transparent 60%);
    margin-bottom: 1.5rem;
}

.emp-chart-tooltip {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 10;
    background: rgba(251, 250, 247, 0.94);
    border: 1px solid var(--line-strong);
    padding: 0.6rem 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.06);
    animation: polFadeIn 0.2s var(--ease);
}

.emp-chart-tooltip strong {
    display: block;
    font-size: 0.76rem;
    font-weight: 750;
    margin-bottom: 0.2rem;
    color: var(--ink);
}

.emp-chart-tooltip .tooltip-status {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.emp-chart-tooltip .status.warning { color: var(--clay); }
.emp-chart-tooltip .status.success { color: var(--green); }
.emp-chart-tooltip .status.muted { color: var(--ink-muted); }

.emp-chart-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 1.15rem;
    border-radius: 4px;
}

.emp-chart-metrics .metric-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.emp-chart-metrics .label {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--ink-muted);
}

.emp-chart-metrics strong {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink);
    transition: var(--transition);
}

.emp-chart-metrics strong.success {
    color: var(--green);
}

.emp-chart-metrics strong.warning {
    color: var(--clay);
}

/* =========================================================
   ORGANISMOS (INTERNATIONAL) STYLE
   ========================================================= */

#org-hero {
    min-height: 100vh;
    padding: 9rem 4rem 5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(216, 199, 163, 0.12), transparent 32%),
        radial-gradient(circle at 20% 80%, rgba(23, 78, 166, 0.05), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%);
}

#org-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(216, 199, 163, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 199, 163, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 75%);
    pointer-events: none;
}

.org-hero-grid {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.org-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 1.5rem 0 1.8rem;
}

.org-hero-copy h1 em {
    font-style: italic;
    color: var(--sand);
}

.org-hero-copy > p {
    max-width: 600px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--ink-soft);
    font-weight: 350;
    margin-bottom: 2.2rem;
}

.org-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.org-stat {
    padding: 1.15rem 1.15rem 1.15rem 0;
    border-right: 1px solid var(--line);
}

.org-stat:last-child {
    border-right: 0;
    padding-left: 1.15rem;
}

.org-stat strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
}

.org-stat span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* ── ORG HERO CONSOLE ── */
.org-hero-console {
    background: #171717;
    border: 1px solid #282520;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.console-header-bar {
    background: #202020;
    border-bottom: 1px solid #2D2D2D;
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    gap: 1.5rem;
}

.console-dots {
    display: flex;
    gap: 0.35rem;
}

.console-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}
.console-dots .dot.red { background: #E25C54; }
.console-dots .dot.yellow { background: #F4B243; }
.console-dots .dot.green { background: #56C147; }

.console-tab-title {
    color: #A3A3A3;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.console-display-body {
    position: relative;
    background: #121212;
    padding: 0.5rem;
}

.console-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #282828;
    filter: brightness(0.92) contrast(1.05);
    transition: var(--transition);
}

.org-hero-console:hover .console-main-img {
    filter: brightness(1) contrast(1.02);
}

.console-overlay-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(216, 199, 163, 0.12);
    border: 1px solid var(--sand);
    color: var(--sand);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.65rem;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 3px;
}

/* ── ORGANISMS STRIP ── */
.org-strip {
    background: var(--ink);
    border-top: 1px solid #282520;
    border-bottom: 1px solid #282520;
    overflow: hidden;
}

.org-strip .strip-inner {
    width: max-content;
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 0.85rem 0;
    animation: stripMove 46s linear infinite;
}

.org-strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9A958A;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
}

.org-strip-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--sand);
    opacity: 0.5;
}

/* ── STATEMENT PANEL ── */
#org-statement {
    padding: 6.5rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(216, 199, 163, 0.05), transparent 70%), var(--bg-white);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.statement-box {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    padding: 3.5rem 2.5rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.statement-box .quote-icon {
    font-family: var(--font-heading);
    font-size: 6.5rem;
    line-height: 1;
    color: rgba(216, 199, 163, 0.18);
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.statement-text .kicker-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sand);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.statement-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.75rem);
    line-height: 1.22;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.statement-text h2 strong {
    font-weight: 700;
    color: var(--sand);
}

.statement-sub {
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    line-height: 1.6;
    color: var(--ink-soft);
    font-weight: 350;
    max-width: 800px;
    margin: 0 auto;
}

.statement-sub strong {
    font-weight: 600;
    color: var(--ink);
}

.statement-footer-lines {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.2rem;
}

.statement-footer-lines span {
    display: block;
    height: 1px;
    background: var(--line);
}

.statement-footer-lines span:first-child { width: 50px; }
.statement-footer-lines span:last-child { width: 12px; background: var(--sand); }

/* ── EDITORIAL SHOWCASE & TABS ── */
#org-showcase {
    padding: 8.5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--line);
}

/* ── SEQUENTIAL PILLARS SECTION ── */
#org-pillars-showcase {
    background: var(--bg-white);
}

.org-pillar-section {
    padding: 7.5rem 0;
    border-bottom: 1px solid var(--line);
}

.org-pillar-section:nth-child(even) {
    background: var(--bg);
}

.org-pillar-section:nth-child(even) .tab-animation-side {
    border-left: 0;
    border-right: 1px solid var(--line);
}

.org-pillar-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: center;
}

.org-pillar-grid.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.pillar-copy {
    position: relative;
    padding-top: 1.5rem;
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 700;
    color: rgba(216, 199, 163, 0.15);
    position: absolute;
    top: -2.8rem;
    left: -0.2rem;
    z-index: 1;
}

.pillar-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sand);
    font-weight: 850;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.pillar-copy h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    line-height: 1.22;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 2;
}

.pillar-copy p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}


.tab-features {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.tab-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.84rem;
    color: var(--ink);
    font-weight: 500;
}

.tab-features li svg {
    color: var(--sand);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ── TAB ANIMATION SIDE ── */
.tab-animation-side {
    height: 100%;
    min-height: 480px;
    background: #171717;
    border-left: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

/* ── 1. M&E ADMINISTRATIVE DASHBOARD ── */
.m-and-e-dashboard {
    background: var(--bg-white);
    color: var(--ink);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.m-and-e-dashboard.hero-dashboard-fit {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-soft);
    margin: 1rem auto;
    max-width: 96%;
}

.dashboard-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.85rem;
}

.dashboard-header-bar .logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-header-bar .brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--clay);
    box-shadow: 0 0 8px var(--clay);
}

.dashboard-header-bar strong {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ink);
}

.dashboard-header-bar .system-tag {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--ink-muted);
    border: 1px solid var(--line-strong);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: var(--bg-soft);
    letter-spacing: 0.08em;
}

.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.kpi-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 8px 20px rgba(23, 23, 23, 0.04);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.kpi-category {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-badge {
    font-size: 0.54rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.status-badge.active {
    background: rgba(96, 121, 107, 0.12);
    color: var(--green);
    border: 1px solid rgba(96, 121, 107, 0.25);
}

.status-badge.pending {
    background: rgba(184, 138, 90, 0.1);
    color: var(--clay);
    border: 1px solid rgba(184, 138, 90, 0.2);
}

.kpi-value {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.kpi-value strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--ink);
}

.kpi-label {
    font-size: 0.65rem;
    color: var(--ink-muted);
}

.kpi-progress-outer {
    height: 4px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
}

.kpi-progress-inner {
    height: 100%;
    background: var(--clay);
    border-radius: 999px;
    transition: width 1s ease-out;
}

.kpi-footer-metric {
    font-size: 0.62rem;
    color: var(--ink-faint);
    border-top: 1px solid var(--line);
    padding-top: 0.65rem;
}

.tab-animation-side .m-and-e-dashboard {
    border: none;
    border-radius: 0;
    height: 100%;
}

/* ── PROGRESS BAR UTILITIES (Shared by Report Compiler) ── */
.bar-outer {
    height: 6px;
    background: #2D2D2D;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #B88A5A, var(--sand));
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ── 2. REPORT COMPILER STYLING ── */
.report-compiler-studio {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    flex: 1;
    background: #171717;
    color: #E2DED5;
}

.compiler-left {
    padding: 2rem;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #282828;
}

.report-mockup-paper {
    background: var(--bg-white);
    color: var(--ink);
    width: 200px;
    height: 270px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    position: relative;
    border: 1px solid var(--line-strong);
}

.paper-top-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.45rem;
    margin-bottom: 0.85rem;
}

.paper-top-bar span {
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--ink-faint);
    letter-spacing: 0.05em;
}

.logo-tiny {
    background: var(--ink);
    color: var(--bg);
    font-size: 0.45rem;
    font-weight: 900;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paper-title {
    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    color: var(--ink);
    margin-bottom: 0.6rem;
    min-height: 24px;
    line-height: 1.3;
}

.paper-text-lines {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.text-line {
    height: 3px;
    background: var(--bg-soft);
    width: 0%;
    border-radius: 999px;
    transition: width 0.6s ease-out;
}

.text-line.show {
    width: 100%;
}

.text-line:nth-child(2).show { width: 85%; }
.text-line:nth-child(3).show { width: 92%; }

.paper-visual-chart {
    border: 1px solid var(--line);
    padding: 0.35rem;
    margin-bottom: 0.85rem;
    border-radius: 3px;
}

.embedded-report-chart {
    display: block;
    width: 100%;
    height: auto;
}

.draw-path {
    animation: drawPathAnim 1s linear forwards;
}

@keyframes drawPathAnim {
    to { stroke-dashoffset: 0; }
}

.approval-stamp-seal {
    position: absolute;
    bottom: 2.2rem;
    right: 1.5rem;
    transform: rotate(-12deg);
}

.approval-stamp-seal.animate-stamp {
    animation: stampScaleIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes stampScaleIn {
    0% { transform: scale(3) rotate(-35deg); opacity: 0; }
    100% { transform: scale(1) rotate(-12deg); opacity: 1; }
}

.stamp-border {
    border: 1.5px dashed var(--green);
    padding: 0.25rem 0.5rem;
    color: var(--green);
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 2px;
    background: rgba(96, 121, 107, 0.06);
}

.compiler-right {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compiling-hud {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.hud-kicker {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sand);
    font-weight: 800;
}

.compiling-hud h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 700;
    min-height: 52px;
}

.compile-loading-panel {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.compile-status-messages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 70px;
}

.status-msg-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.64rem;
    color: #666;
    transition: var(--transition);
}

.status-msg-item.active {
    color: #C0C0C0;
}

.status-msg-item .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #444;
}

.status-msg-item.active .dot {
    background: var(--sand);
    box-shadow: 0 0 6px var(--sand);
}

.download-briefing-btn {
    align-self: flex-start;
    padding: 0.8rem 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

.download-briefing-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #333;
    color: #666;
    border-color: #333;
}

/* ── 3. RADAR SYSTEM STYLING ── */
.geopolitical-radar-studio {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    flex: 1;
    background: #171717;
    color: #E2DED5;
}

.radar-left {
    padding: 2rem;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #282828;
}

.radar-screen-outer {
    border: 1px solid #2C2C2C;
    border-radius: 8px;
    padding: 0.8rem;
    background: #0D0D0D;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    width: 250px;
}

.radar-grid-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #202020;
    border-radius: 999px;
    overflow: hidden;
    background: radial-gradient(circle, #151d15 0%, #0d0d0d 80%);
}

.radar-sweep-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(74, 246, 38, 0.7) 0%, rgba(74, 246, 38, 0) 100%);
    transform-origin: 0 50%;
    animation: radarSweepRotate 4s linear infinite;
    z-index: 2;
    box-shadow: 0 0 6px rgba(74, 246, 38, 0.3);
}

@keyframes radarSweepRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(74, 246, 38, 0.08);
    border-radius: 999px;
}

.radar-ring.ring-1 { width: 30%; height: 30%; }
.radar-ring.ring-2 { width: 60%; height: 60%; }
.radar-ring.ring-3 { width: 90%; height: 90%; }

.radar-axis {
    position: absolute;
    background: rgba(74, 246, 38, 0.06);
}

.radar-axis.axis-h { top: 50%; left: 5%; width: 90%; height: 1px; }
.radar-axis.axis-v { left: 50%; top: 5%; height: 90%; width: 1px; }

.radar-target-node {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
    outline: none;
}

.radar-target-node .target-pulse {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--sand);
    border-radius: 999px;
    border: 1.5px solid #FBFAF7;
    box-shadow: 0 0 10px var(--sand);
    transition: var(--transition);
}

.radar-target-node.active .target-pulse {
    background: #4AF626;
    box-shadow: 0 0 15px #4AF626;
}

.radar-target-node::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(216, 199, 163, 0.25);
    border-radius: 999px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: radarTargetPulse 2.2s infinite;
}

@keyframes radarTargetPulse {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.target-label {
    position: absolute;
    top: -12px;
    left: 12px;
    font-family: monospace;
    font-size: 0.52rem;
    color: var(--sand);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(13, 13, 13, 0.85);
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    border: 1px solid rgba(216, 199, 163, 0.15);
    white-space: nowrap;
}

.radar-target-node.active .target-label {
    color: #4AF626;
    border-color: rgba(74, 246, 38, 0.25);
}

.radar-hud-bar {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.5rem;
    color: #555;
    margin-top: 0.65rem;
    border-top: 1px solid #202020;
    padding-top: 0.45rem;
}

.radar-right {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.radar-hud-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radar-hud-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.radar-hud-details p {
    font-size: 0.84rem;
    line-height: 1.6;
    color: #A3A3A3;
}

.hud-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid #282828;
    border-bottom: 1px solid #282828;
    padding: 1.15rem 0;
    margin: 0.45rem 0;
}

.spec-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
}

.spec-box strong {
    font-size: 1.05rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.hud-action-hints {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.64rem;
    color: var(--sand);
    font-weight: 700;
}

.hint-arrow {
    animation: flashHint 1.5s infinite;
}

@keyframes flashHint {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ── CORRIDORS VISUALIZATION ── */
#org-visualization {
    padding: 7rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.org-viz-wrapper {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 4rem;
    align-items: start;
}

.org-viz-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.3rem;
}

.org-viz-intro h2 em {
    color: var(--sand);
    font-style: italic;
}

.org-viz-intro > p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.8;
    font-weight: 350;
}

/* ── D3 CHART PANEL FOR INTERNATIONAL ── */
.org-chart-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 4px;
}

.org-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.org-chart-title {
    display: grid;
    gap: 0.12rem;
}

.org-chart-title strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.org-chart-title span {
    font-size: 0.74rem;
    color: var(--ink-muted);
}

.org-chart-tabs {
    display: flex;
    gap: 0.45rem;
}

.org-chart-tab {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    background: var(--bg);
    color: var(--ink-muted);
    cursor: pointer;
    transition: var(--transition);
}

.org-chart-tab:hover {
    border-color: var(--ink-muted);
    color: var(--ink);
}

.org-chart-tab.active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.org-chart-body {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(216, 199, 163, 0.035), transparent 60%);
    margin-bottom: 1.5rem;
}

.org-chart-tooltip {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 10;
    background: rgba(251, 250, 247, 0.94);
    border: 1px solid var(--line-strong);
    padding: 0.6rem 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.06);
    animation: polFadeIn 0.2s var(--ease);
}

.org-chart-tooltip strong {
    display: block;
    font-size: 0.76rem;
    font-weight: 750;
    margin-bottom: 0.2rem;
    color: var(--ink);
}

.org-chart-tooltip .tooltip-coords {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--sand);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.org-chart-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 1.15rem;
    border-radius: 4px;
}

.org-chart-metrics .metric-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.org-chart-metrics .label {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--ink-muted);
}

.org-chart-metrics strong.accent-sand {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--sand);
    transition: var(--transition);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    nav {
        padding: 1.05rem 2rem;
    }

    nav.scrolled {
        padding: 0.85rem 2rem;
    }

    .nav-center,
    .nav-note {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    #hero {
        padding: 7.8rem 2rem 3rem;
    }

    .hero-grid,
    .perspective-grid,
    .tech-grid,
    .section-header,
    .cta {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding: 1.5rem;
    }

    .quiet-map.mexico-map {
        position: relative;
        inset: auto;
        height: 440px;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .floating-card.card-a,
    .floating-card.card-b,
    .floating-card.card-c {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-bottom: 1.25rem;
    }

    .floating-card.card-c {
        margin-bottom: 0;
    }

    .container {
        width: min(100% - 4rem, 1180px);
    }

    .sticky-copy {
        position: static;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .practice {
        min-height: 420px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .practice:last-child {
        border-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-brand {
        display: none;
    }

    /* Gobiernos responsive — tablet */
    #gov-hero {
        padding: 7.8rem 2rem 3rem;
    }

    .gov-hero-grid,
    .gov-approach-grid,
    .gov-viz-wrapper {
        grid-template-columns: 1fr;
    }

    .gov-solutions-grid {
        grid-template-columns: 1fr;
    }

    .gov-hero-visual {
        order: -1;
    }

    /* Politica responsive — tablet */
    #pol-hero {
        padding: 7.8rem 2rem 3rem;
    }

    .pol-hero-grid,
    .pol-pipeline-wrapper,
    .pol-capabilities-grid,
    .pol-viz-wrapper {
        grid-template-columns: 1fr;
    }

    .pol-pipeline-steps {
        flex-direction: row;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        overflow-x: auto;
    }

    .pol-pipeline-step-btn {
        padding: 1.5rem;
        flex: 1 0 auto;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .pol-pipeline-step-btn:last-child {
        border-right: 0;
    }

    .pol-capabilities-intro {
        margin-bottom: 2rem;
    }

    .pol-chart-controls {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pol-hero-visual {
        order: -1;
    }

    /* Empresas responsive — tablet */
    #emp-hero {
        padding: 7.8rem 2rem 3rem;
    }

    .emp-hero-grid,
    .emp-viz-wrapper,
    .sim-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .emp-hero-visual {
        order: -1;
    }

    .emp-cards-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .card-content {
        padding: 2.5rem 2rem;
    }

    .sim-visual-side {
        position: relative;
        top: auto;
    }

    /* Organismos responsive — tablet */
    #org-hero {
        padding: 7.8rem 2rem 3rem;
    }

    .org-hero-grid,
    .org-viz-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .org-hero-console {
        order: -1;
    }

    .org-pillar-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .org-pillar-grid.reverse {
        grid-template-columns: 1fr;
    }

    .pillar-copy {
        padding: 0 0 2rem;
    }

    .org-pillar-grid.reverse .pillar-copy {
        padding: 2rem 0 0;
    }

    .tab-animation-side {
        height: 320px;
        min-height: auto;
        border-left: 0 !important;
        border-right: 0 !important;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .org-pillar-grid.reverse .tab-animation-side {
        order: -1;
    }

    .report-compiler-studio,
    .geopolitical-radar-studio {
        grid-template-columns: 1fr;
    }

    .compiler-left,
    .radar-left {
        border-right: 0;
        border-bottom: 1px solid #282828;
        padding: 1.5rem;
    }

    .compiler-right,
    .radar-right {
        padding: 1.5rem;
    }
}

@media (max-width: 760px) {
    nav {
        padding: 0.95rem 1.2rem;
    }

    nav.scrolled {
        padding: 0.78rem 1.2rem;
    }

    /* Gobiernos responsive — mobile */
    #gov-hero {
        padding: 7rem 1.2rem 2rem;
    }

    .gov-hero-copy h1 {
        font-size: 2.5rem;
    }

    .gov-hero-stats {
        grid-template-columns: 1fr;
    }

    .gov-stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1rem 0;
    }

    .gov-stat:last-child {
        border-bottom: 0;
        padding-left: 0;
    }

    #gov-approach,
    #gov-solutions,
    #gov-visualization {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .gov-approach-copy h2,
    .gov-viz-intro h2 {
        font-size: 2rem;
    }

    .gov-solution {
        min-height: auto;
        padding: 1.8rem;
    }

    .gov-chart-tabs {
        flex-wrap: wrap;
    }

    /* Politica responsive — mobile */
    #pol-hero {
        padding: 7rem 1.2rem 2rem;
    }

    .pol-hero-copy h1 {
        font-size: 2.5rem;
    }

    .pol-hero-stats {
        grid-template-columns: 1fr;
    }

    .pol-stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1rem 0;
    }

    .pol-stat:last-child {
        border-bottom: 0;
        padding-left: 0;
    }

    #pol-pipeline,
    #pol-capabilities,
    #pol-visualization {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .pol-pipeline-steps {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .pol-pipeline-step-btn {
        padding: 1rem 1.5rem;
        flex: 1 1 100%;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .pol-pipeline-step-btn:last-child {
        border-bottom: 0;
    }

    .pol-pipeline-content {
        padding: 1.8rem;
    }

    .pol-pipeline-list {
        grid-template-columns: 1fr;
    }

    .pol-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pol-accordion-content-inner {
        padding-left: 1.6rem;
    }

    .pol-accordion-title-wrap h3 {
        font-size: 0.94rem;
    }

    .logo img {
        height: 22px;
    }

    .nav-actions .btn {
        display: none;
    }

    #hero {
        padding: 7rem 1.2rem 2rem;
    }

    .hero-copy h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-meta-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1.15rem 0;
    }

    .hero-meta-item:last-child {
        border-bottom: 0;
        padding-left: 0;
    }

    .hero-panel {
        padding: 1rem;
    }

    .quiet-map.mexico-map {
        height: 350px;
    }

    .map-svg-label,
    .map-layer-label,
    .map-kicker {
        display: none !important;
    }

    .container {
        width: min(100% - 2.4rem, 760px);
    }

    /* Sólo las páginas de sector conservan estas secciones heredadas; en la
       portada OS el ritmo vertical lo fija os.css. */
    #contacto:not(.section) {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .sticky-copy h2,
    .section-header h2,
    .tech-copy h2,
    .cta h2 {
        font-size: 2.2rem;
    }

    .principle {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .principle:hover {
        padding-left: 0;
    }

    .outputs-grid {
        grid-template-columns: 1fr;
    }

    .output.large {
        min-height: 560px;
    }

    .document-preview {
        height: 250px;
    }

    .quiet-dashboard {
        min-height: 720px;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 0.9fr;
    }

    .network {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .dashboard-tabs {
        display: none;
    }

    .cta {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-container {
        width: calc(100% - 1.5rem);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .login-form-side {
        padding: 2rem 1.5rem;
    }

    /* Empresas responsive — mobile */
    #emp-hero {
        padding: 7rem 1.2rem 2rem;
    }

    .emp-hero-copy h1 {
        font-size: 2.5rem;
    }

    .emp-hero-stats {
        grid-template-columns: 1fr;
    }

    .emp-stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1rem 0;
    }

    .emp-stat:last-child {
        border-bottom: 0;
        padding-left: 0;
    }

    #emp-cards,
    #emp-automation-simulation,
    #emp-visualization {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .card-content {
        padding: 2.2rem 1.5rem;
        gap: 1.5rem;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .sim-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .simulation-board {
        height: 320px;
    }

    .terminal-container {
        width: 100%;
        max-width: 290px;
    }

    .emp-viz-intro h2 {
        font-size: 2.2rem;
    }

    .emp-chart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .emp-chart-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Organismos responsive — mobile */
    #org-hero {
        padding: 7rem 1.2rem 2rem;
    }

    .org-hero-copy h1 {
        font-size: 2.5rem;
    }

    .org-hero-stats {
        grid-template-columns: 1fr;
    }

    .org-stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1rem 0;
    }

    .org-stat:last-child {
        border-bottom: 0;
        padding-left: 0;
    }

    #org-statement,
    #org-pillars-showcase,
    #org-visualization {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .org-viz-intro h2 {
        font-size: 2.2rem;
    }

    .org-chart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .org-chart-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .statement-box {
        padding: 2.2rem 1.2rem;
    }

    .pillar-copy h3 {
        font-size: 1.5rem;
    }
}
