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

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

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2?v=c7d9c4844a89') 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=c7d9c4844a89') 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=c7d9c4844a89') format('woff2');
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

html {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* 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
   ========================================================= */

/* =========================================================
   COMMAND CENTER ENTRY + SERVICE CALCULATOR
   ========================================================= */

.platform-entry-section {
    display: grid;
    grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: end;
    border-top: 1px solid var(--line);
}

.platform-entry-intro .h-section {
    max-width: 13ch;
    margin: 1rem 0 1.4rem;
}

.platform-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--line-strong);
}

.platform-entry-card {
    min-width: 0;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.6rem, 3vw, 2.5rem);
    background: var(--bg-white);
    color: var(--ink);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.platform-entry-card.platform-entry-primary {
    background: var(--ink);
    color: #fff;
}

.platform-entry-card .n {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.platform-entry-card.platform-entry-primary .n {
    color: rgba(255, 255, 255, .58);
}

.platform-entry-card h3 {
    margin-bottom: .85rem;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.05;
}

.platform-entry-card p {
    color: var(--ink-soft);
    line-height: 1.65;
}

.platform-entry-primary p {
    color: rgba(255, 255, 255, .72);
}

.platform-entry-link {
    width: fit-content;
    padding-bottom: .3rem;
    border-bottom: 1px solid currentColor;
    font-size: .82rem;
    font-weight: 700;
}

.platform-entry-card:hover,
.platform-entry-card:focus-visible {
    background: var(--sand);
    color: var(--ink);
    outline: none;
    transform: translateY(-3px);
}

.platform-entry-card:hover p,
.platform-entry-card:focus-visible p,
.platform-entry-card:hover .n,
.platform-entry-card:focus-visible .n {
    color: var(--ink-soft);
}

.service-calculator-page {
    min-height: 100vh;
    overflow: clip;
    background: var(--bg);
    color: var(--ink);
}

.calculator-header {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
    padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, .9);
    backdrop-filter: blur(14px);
}

.calculator-logo img {
    width: auto;
    height: 27px;
}

.calculator-header-actions {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 3vw, 2rem);
}

.calculator-hero,
.calculator-workspace,
.calculator-context {
    width: min(1240px, calc(100% - 3rem));
    margin-inline: auto;
}

.calculator-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
    padding: clamp(5rem, 10vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.calculator-hero > *,
.calculator-workspace > *,
.calculator-section-heading > *,
.calculator-steps li > * {
    min-width: 0;
}

.calculator-hero-copy h1 {
    max-width: 12ch;
    margin: 1.3rem 0 1.6rem;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.7rem);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: .94;
}

.calculator-hero-copy > p {
    max-width: 680px;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.calculator-steps {
    list-style: none;
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line-strong);
}

.calculator-steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.calculator-steps li > span,
.calculator-section-number,
.calculator-context-grid article > span {
    color: var(--sand);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.calculator-steps strong {
    display: block;
    margin-bottom: .25rem;
    font-size: .9rem;
}

.calculator-steps p {
    color: var(--ink-muted);
    font-size: .84rem;
    line-height: 1.5;
}

.calculator-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
    border: 1px solid var(--line-strong);
    background: var(--bg-white);
    box-shadow: 0 28px 70px rgba(23, 23, 23, .08);
}

.calculator-controls {
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.calculator-section-heading {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.calculator-section-heading.compact {
    margin-bottom: 1.6rem;
}

.calculator-section-heading h2 {
    margin: -.15rem 0 .35rem;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.15;
}

.calculator-section-heading p {
    color: var(--ink-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.calculator-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--line);
}

.calculator-plan {
    min-width: 0;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: .55rem;
    padding: 1.25rem;
    border: 0;
    background: var(--bg-white);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.calculator-plan span {
    color: var(--ink-muted);
    font-size: .75rem;
    line-height: 1.35;
}

.calculator-plan strong {
    margin-top: auto;
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.calculator-plan b {
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .06em;
}

.calculator-plan:hover,
.calculator-plan[aria-pressed="true"] {
    background: var(--ink);
    color: #fff;
}

.calculator-plan:hover span,
.calculator-plan[aria-pressed="true"] span {
    color: rgba(255, 255, 255, .62);
}

.calculator-plan:focus-visible,
.calculator-input-row input:focus-visible,
.calculator-check:focus-within {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(23, 78, 166, .28);
    outline-offset: 2px;
}

.calculator-custom {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.calculator-custom > label:not(.calculator-check) {
    display: block;
    margin-bottom: .55rem;
    font-size: .76rem;
    font-weight: 700;
}

.calculator-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
}

.calculator-input-row input {
    width: 100%;
    min-height: 48px;
    padding: .8rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-weight: 650;
}

.calculator-help {
    margin-top: .55rem;
    color: var(--ink-muted);
    font-size: .75rem;
}

.calculator-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: .9rem;
    margin-top: 1.7rem;
    padding: 1.05rem;
    border: 1px solid var(--line);
    cursor: pointer;
}

.calculator-check input {
    width: 18px;
    height: 18px;
    margin-top: .15rem;
    accent-color: var(--blue);
}

.calculator-check strong,
.calculator-check small {
    display: block;
}

.calculator-check strong {
    margin-bottom: .25rem;
    font-size: .87rem;
}

.calculator-check small {
    color: var(--ink-muted);
    font-size: .75rem;
    line-height: 1.45;
}

.calculator-warning {
    margin-top: .85rem;
    padding: .85rem 1rem;
    border-left: 3px solid #b87a1c;
    background: #fff5df;
    color: #6f4b14;
    font-size: .8rem;
    line-height: 1.5;
}

.calculator-warning[hidden] {
    display: none;
}

.calculator-result {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--ink);
    color: #fff;
}

.calculator-result-eyebrow,
.calculator-result-currency {
    display: block;
    color: rgba(255, 255, 255, .56);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.calculator-result-price {
    display: block;
    margin: 1rem 0 .5rem;
    overflow-wrap: anywhere;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 650;
    letter-spacing: -.04em;
    line-height: .95;
}

.calculator-result > div:first-child > p {
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, .78);
    line-height: 1.5;
}

.calculator-result-details {
    display: grid;
    margin: auto 0 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.calculator-result-details div {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.calculator-result-details dt {
    color: rgba(255, 255, 255, .54);
    font-size: .75rem;
}

.calculator-result-details dd {
    margin: 0;
    text-align: right;
    font-size: .78rem;
    font-weight: 650;
}

.calculator-result-action {
    padding: 1.3rem;
    border: 1px solid rgba(255, 255, 255, .2);
}

.calculator-result-action p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
    line-height: 1.5;
}

.calculator-contact-button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    background: #fff;
    color: var(--ink);
}

.calculator-result > small {
    color: rgba(255, 255, 255, .45);
    font-size: .68rem;
    line-height: 1.55;
}

.calculator-context {
    padding: clamp(5rem, 9vw, 8rem) 0;
}

.calculator-context > h2 {
    max-width: 18ch;
    margin: 1rem 0 3rem;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.calculator-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--line);
}

.calculator-context-grid article {
    min-width: 0;
    min-height: 230px;
    padding: 1.8rem;
    background: var(--bg);
}

.calculator-context-grid h3 {
    margin: 3rem 0 .75rem;
    font-size: 1.05rem;
}

.calculator-context-grid p {
    color: var(--ink-muted);
    font-size: .88rem;
    line-height: 1.65;
}

.calculator-footer {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: .72rem;
}

.calculator-footer a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: .2em;
}

@media (max-width: 900px) {
    .platform-entry-section,
    .calculator-hero,
    .calculator-workspace {
        grid-template-columns: 1fr;
    }

    .platform-entry-intro .h-section {
        max-width: 18ch;
    }

    .calculator-hero {
        gap: 3rem;
    }

    .calculator-result {
        min-height: 580px;
    }
}

@media (max-width: 640px) {
    .platform-entry-grid,
    .calculator-plans,
    .calculator-context-grid {
        grid-template-columns: 1fr;
    }

    .platform-entry-card {
        min-height: 300px;
    }

    .calculator-header {
        min-height: 70px;
        padding-block: 1rem;
    }

    .calculator-logo img {
        height: 22px;
    }

    .calculator-header-actions .btn {
        display: none;
    }

    .calculator-hero,
    .calculator-workspace,
    .calculator-context {
        width: min(100% - 1.5rem, 1240px);
    }

    .calculator-hero-copy h1 {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: clamp(2.5rem, 12.5vw, 3.5rem);
        line-height: .98;
    }

    .calculator-hero-copy > p,
    .calculator-steps p {
        overflow-wrap: anywhere;
    }

    .calculator-input-row {
        grid-template-columns: 1fr;
    }

    .calculator-input-row .btn {
        width: 100%;
    }

    .calculator-result {
        min-height: 540px;
    }

    .calculator-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .platform-entry-card,
    .calculator-plan {
        transition: none;
    }
}

/* Calculadora comercial compacta: identidad corporativa + respuesta inmediata. */
.service-calculator-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(23, 78, 166, .07), transparent 30%),
        radial-gradient(circle at 88% 70%, rgba(216, 199, 163, .2), transparent 32%),
        var(--bg);
}

.calculator-main {
    width: min(1000px, calc(100% - 2rem));
    margin-inline: auto;
    padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.calculator-intro {
    max-width: 680px;
    margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.calculator-intro h1 {
    margin: .9rem 0 .7rem;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: .95;
}

.calculator-intro > p {
    max-width: 60ch;
    color: var(--ink-soft);
    font-size: clamp(.95rem, 2vw, 1.08rem);
    line-height: 1.6;
}

.calculator-workspace {
    width: 100%;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 24px 68px rgba(23, 23, 23, .1);
}

.calculator-controls {
    padding: clamp(1.25rem, 3.2vw, 2rem);
}

.calculator-section-title {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .8rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.calculator-section-title > span {
    color: var(--blue);
}

.calculator-plans {
    gap: .6rem;
    padding: 0;
    background: transparent;
}

.calculator-plan {
    min-height: 112px;
    gap: .3rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.calculator-plan[aria-pressed="true"] {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
}

.calculator-plan span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: .18rem .45rem;
    border-radius: 5px;
    background: var(--surface-soft);
    color: var(--ink-soft);
    font-size: .63rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.calculator-plan:hover span,
.calculator-plan[aria-pressed="true"] span {
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.calculator-plan strong {
    margin-top: .25rem;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.calculator-custom {
    margin-top: 1.8rem;
    padding-top: 1.6rem;
}

.calculator-field-group + .calculator-field-group {
    margin-top: 1.25rem;
}

.calculator-field-label {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
    font-size: .78rem;
    line-height: 1.35;
}

.calculator-field-label span {
    color: var(--ink-muted);
    font-size: .68rem;
    font-weight: 500;
    text-align: right;
}

.calculator-input-row .btn {
    min-height: 48px;
}

.calculator-input-row input[aria-invalid="true"] {
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}

.calculator-month-selector {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: .35rem;
}

.calculator-month-selector button {
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--bg-white);
    color: var(--ink-soft);
    font: inherit;
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.calculator-month-selector button:hover,
.calculator-month-selector button[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.calculator-month-selector button:focus-visible {
    outline: 3px solid rgba(23, 78, 166, .28);
    outline-offset: 2px;
}

.calculator-check {
    margin-top: 1.25rem;
    padding: .9rem;
    border-radius: 9px;
    background: var(--surface-soft);
}

.calculator-warning {
    border: 1px solid #bfdbfe;
    border-left-width: 3px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e40af;
}

.calculator-warning[data-tone="warning"] {
    border-color: #f0cf7a;
    background: #fffbeb;
    color: #7c4a03;
}

.calculator-result {
    min-height: 100%;
    gap: 1.4rem;
    padding: clamp(1.5rem, 3.5vw, 2.3rem);
}

.calculator-result-price {
    font-size: clamp(2.55rem, 5.5vw, 4.2rem);
}

.calculator-result-description {
    display: grid;
    gap: .25rem;
}

.calculator-result-description strong {
    color: #fff;
    font-size: .93rem;
}

.calculator-result-description small {
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    line-height: 1.45;
}

.calculator-result-details {
    margin-top: 0;
}

.calculator-result-details div {
    padding: .72rem 0;
}

.calculator-result > small {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 760px) {
    .calculator-main {
        width: min(100% - 1.25rem, 1000px);
        padding-top: 2rem;
    }

    .calculator-workspace {
        grid-template-columns: 1fr;
    }

    .calculator-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calculator-result {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .calculator-plans {
        grid-template-columns: 1fr;
    }

    .calculator-plan {
        min-height: 96px;
    }

    .calculator-field-label {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .calculator-field-label span {
        text-align: left;
    }

    .calculator-month-selector {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .calculator-month-selector button {
        transition: none;
    }
}

/* =========================================================
   C-SUITE EXECUTIVE PROFILE
   ========================================================= */

.executive-profile-page {
    --profile-surface: rgba(251, 250, 247, .91);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: clip;
    background:
        radial-gradient(circle at 16% 20%, rgba(23, 78, 166, .08), transparent 34%),
        radial-gradient(circle at 82% 76%, rgba(216, 199, 163, .24), transparent 32%),
        var(--bg);
    color: var(--ink);
}

.executive-profile-header {
    position: relative;
    z-index: 20;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(207, 199, 184, .72);
    background: rgba(251, 250, 247, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.executive-profile-logo img {
    width: auto;
    height: 27px;
}

.executive-profile-header-actions {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.executive-profile-route {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.executive-profile-back {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.executive-profile-back:hover,
.executive-profile-back:focus-visible {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    outline: none;
}

.executive-profile-main {
    position: relative;
    isolation: isolate;
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 760px;
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.executive-fractal {
    position: absolute;
    z-index: -1;
    inset: -5%;
    pointer-events: none;
}

.executive-fractal svg {
    width: 100%;
    height: 100%;
}

.executive-fractal-grid,
.executive-fractal-core {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.executive-fractal-grid {
    stroke: rgba(23, 23, 23, .08);
    stroke-width: 1.25;
}

.executive-fractal-core {
    stroke: rgba(23, 78, 166, .2);
    stroke-width: 1.5;
}

.executive-fractal-core circle {
    fill: rgba(23, 78, 166, .13);
    stroke: rgba(23, 78, 166, .3);
}

.executive-fractal-points {
    fill: var(--sand);
    opacity: .65;
}

.executive-profile-shell {
    width: min(1080px, 100%);
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    border: 1px solid rgba(207, 199, 184, .9);
    background: rgba(255, 255, 255, .4);
    box-shadow: 0 28px 80px rgba(23, 23, 23, .11);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.executive-profile-portrait {
    position: relative;
    min-width: 0;
    min-height: 630px;
    overflow: hidden;
    background: #eef0f3;
}

.executive-profile-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(8, 19, 38, .35));
    pointer-events: none;
}

.executive-profile-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
}

.executive-profile-photo-index {
    position: absolute;
    z-index: 1;
    right: 1.25rem;
    bottom: 1.1rem;
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-mono);
    font-size: .64rem;
    letter-spacing: .12em;
}

.executive-profile-card {
    min-width: 0;
    min-height: 630px;
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--profile-surface);
}

.executive-profile-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.executive-profile-copy {
    margin: auto 0;
    padding: 2.5rem 0;
}

.executive-profile-kicker {
    margin-bottom: 1rem;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.executive-profile-copy h1 {
    max-width: 9ch;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
    font-size: clamp(3.7rem, 7vw, 6.6rem);
    font-weight: 650;
    letter-spacing: -.05em;
    line-height: .83;
}

.executive-profile-title {
    max-width: 28ch;
    margin-bottom: 1.1rem;
    color: var(--ink);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    font-weight: 650;
    line-height: 1.45;
}

.executive-profile-summary {
    max-width: 54ch;
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.7;
}

.executive-contact-actions {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border: 0;
    background: var(--line);
    backdrop-filter: none;
}

.executive-contact-action {
    min-width: 0;
    min-height: 82px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border: 0;
    border-radius: 0;
    background: var(--bg-white);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    transition: background .2s ease, color .2s ease;
}

.executive-contact-action.executive-contact-primary {
    background: var(--ink);
    color: #fff;
}

.executive-contact-action svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.executive-contact-action small,
.executive-contact-action strong {
    display: block;
    overflow-wrap: anywhere;
}

.executive-contact-action small {
    margin-bottom: .2rem;
    color: var(--ink-muted);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.executive-contact-primary small {
    color: rgba(255, 255, 255, .58);
}

.executive-contact-action strong {
    font-size: .74rem;
    line-height: 1.25;
}

.executive-contact-action:hover,
.executive-contact-action:focus-visible {
    z-index: 1;
    background: var(--sand);
    color: var(--ink);
    outline: 3px solid rgba(23, 78, 166, .24);
    outline-offset: -3px;
}

.executive-contact-action:hover small,
.executive-contact-action:focus-visible small {
    color: var(--ink-soft);
}

.executive-profile-brand {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.8rem;
}

.executive-profile-brand img {
    width: min(150px, 42%);
    height: auto;
}

.executive-profile-brand span {
    color: var(--ink-muted);
    font-size: .65rem;
    line-height: 1.45;
    text-align: right;
}

.executive-profile-toast {
    position: fixed;
    z-index: 1000;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: min(330px, calc(100vw - 3rem));
    padding: .85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    background: var(--ink);
    color: #fff;
    box-shadow: 0 16px 36px rgba(23, 23, 23, .2);
    font-size: .78rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.executive-profile-toast[data-visible="true"] {
    opacity: 1;
    transform: translateY(0);
}

.executive-profile-toast[hidden] {
    display: none;
}

.executive-profile-footer {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem clamp(1.25rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .06em;
}

.executive-profile-footer a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: .25em;
}

@media (max-width: 880px) {
    .executive-profile-main {
        min-height: auto;
    }

    .executive-profile-shell {
        width: min(620px, 100%);
        grid-template-columns: 1fr;
    }

    .executive-profile-portrait {
        min-height: 0;
        aspect-ratio: 1.18 / 1;
    }

    .executive-profile-portrait img {
        object-position: 50% 28%;
    }

    .executive-profile-card {
        min-height: auto;
    }

    .executive-profile-copy h1 {
        font-size: clamp(3.6rem, 13vw, 5.5rem);
    }
}

@media (max-width: 620px) {
    .executive-profile-header {
        min-height: 70px;
        gap: 1rem;
        padding-block: 1rem;
    }

    .executive-profile-logo img {
        height: 22px;
    }

    .executive-profile-route,
    .executive-profile-back {
        display: none;
    }

    .executive-profile-main {
        padding: 1rem .75rem 2rem;
    }

    .executive-profile-portrait {
        aspect-ratio: 1 / .93;
    }

    .executive-profile-card {
        padding: 1.5rem;
    }

    .executive-profile-card-topline {
        font-size: .57rem;
    }

    .executive-profile-copy {
        padding: 2.2rem 0;
    }

    .executive-profile-copy h1 {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: clamp(3.25rem, 17vw, 4.6rem);
    }

    .executive-contact-actions {
        grid-template-columns: 1fr;
    }

    .executive-contact-action {
        min-height: 68px;
    }

    .executive-profile-brand {
        align-items: center;
    }

    .executive-profile-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .executive-profile-back,
    .executive-contact-action,
    .executive-profile-toast {
        transition: none;
    }
}

/* La ficha C-Suite nace en móvil: retrato y contenido permanecen lado a lado. */
.executive-profile-page {
    --profile-glass: rgba(251, 250, 247, .58);
    height: 100dvh;
    min-height: 520px;
    overflow: hidden;
}

.executive-profile-header {
    min-height: 60px;
    flex: 0 0 60px;
    padding: .8rem 1rem;
    background: rgba(251, 250, 247, .58);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.executive-profile-logo img {
    height: 21px;
}

.executive-profile-route,
.executive-profile-back {
    display: none;
}

.executive-profile-main {
    min-height: 0;
    padding: 8px;
}

.executive-network-canvas {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.executive-fractal {
    z-index: -2;
    inset: -12%;
    opacity: .72;
    animation: executive-fractal-drift 18s ease-in-out infinite alternate;
    transform-origin: 50% 50%;
}

.executive-fractal-grid {
    stroke: rgba(23, 78, 166, .11);
    stroke-dasharray: 12 20;
    animation: executive-fractal-flow 26s linear infinite;
}

.executive-fractal-core {
    stroke: rgba(23, 78, 166, .3);
    animation: executive-fractal-breathe 10s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.executive-fractal-points {
    animation: executive-fractal-pulse 4.8s ease-in-out infinite alternate;
}

.executive-profile-shell {
    width: 100%;
    height: min(590px, calc(100dvh - 76px));
    min-height: 440px;
    grid-template-columns: minmax(118px, 39%) minmax(0, 61%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);
}

.executive-profile-portrait {
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
}

.executive-profile-portrait img {
    object-position: 51% 31%;
}

.executive-profile-card {
    min-height: 0;
    height: 100%;
    padding: clamp(.9rem, 4vw, 1.35rem);
    border-left: 1px solid rgba(255, 255, 255, .48);
    background: var(--profile-glass);
    backdrop-filter: blur(26px) saturate(115%);
    -webkit-backdrop-filter: blur(26px) saturate(115%);
}

.executive-profile-copy {
    margin: auto 0;
    padding: .5rem 0;
}

.executive-profile-kicker {
    margin-bottom: .65rem;
    font-size: .56rem;
    letter-spacing: .1em;
}

.executive-profile-copy h1 {
    max-width: 100%;
    margin-bottom: .85rem;
    overflow-wrap: normal;
    font-size: clamp(2.15rem, 9.6vw, 3.15rem);
    line-height: .87;
}

.executive-profile-title {
    margin-bottom: .7rem;
    font-size: clamp(.73rem, 3.25vw, .9rem);
    line-height: 1.35;
}

.executive-profile-summary {
    font-size: clamp(.7rem, 3vw, .82rem);
    line-height: 1.48;
}

.executive-contact-actions {
    width: max-content;
    max-width: 100%;
    display: flex;
    gap: .5rem;
    padding: 0;
    background: transparent;
}

.executive-contact-action {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .54);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.executive-contact-action svg {
    width: 19px;
    height: 19px;
}

.executive-contact-action:hover,
.executive-contact-action:focus-visible {
    outline: 3px solid rgba(23, 78, 166, .24);
    outline-offset: 2px;
}

.executive-profile-brand {
    margin-top: .85rem;
}

.executive-profile-brand img {
    width: min(96px, 78%);
}

.executive-profile-footer {
    display: none;
}

@keyframes executive-fractal-drift {
    0% { transform: translate3d(-1.5%, -1%, 0) scale(1.02) rotate(-.4deg); }
    100% { transform: translate3d(1.8%, 1.4%, 0) scale(1.08) rotate(.55deg); }
}

@keyframes executive-fractal-flow {
    to { stroke-dashoffset: -320; }
}

@keyframes executive-fractal-breathe {
    0%, 100% { opacity: .55; transform: scale(.96) rotate(-1deg); }
    50% { opacity: 1; transform: scale(1.04) rotate(1deg); }
}

@keyframes executive-fractal-pulse {
    from { opacity: .3; }
    to { opacity: .82; }
}

@media (min-width: 621px) {
    .executive-profile-page {
        height: auto;
        min-height: 100dvh;
        overflow: clip;
    }

    .executive-profile-header {
        min-height: 84px;
        flex-basis: auto;
        padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
    }

    .executive-profile-logo img {
        height: 27px;
    }

    .executive-profile-route,
    .executive-profile-back {
        display: inline-flex;
    }

    .executive-profile-main {
        min-height: 690px;
        padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 5vw, 4rem);
    }

    .executive-profile-shell {
        width: min(1080px, 100%);
        height: min(630px, calc(100dvh - 150px));
        min-height: 560px;
        grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
        border-radius: 28px;
    }

    .executive-profile-card {
        padding: clamp(2rem, 4vw, 3.5rem);
    }

    .executive-profile-kicker {
        margin-bottom: 1rem;
        font-size: .68rem;
        letter-spacing: .13em;
    }

    .executive-profile-copy h1 {
        max-width: 9ch;
        margin-bottom: 1.25rem;
        font-size: clamp(3.7rem, 7vw, 6.6rem);
    }

    .executive-profile-title {
        margin-bottom: 1rem;
        font-size: clamp(1rem, 1.6vw, 1.18rem);
        line-height: 1.45;
    }

    .executive-profile-summary {
        font-size: .92rem;
        line-height: 1.65;
    }

    .executive-contact-action {
        width: 50px;
        min-width: 50px;
        min-height: 50px;
        height: 50px;
    }

    .executive-profile-brand img {
        width: 132px;
    }
}

@media (min-width: 881px) {
    .executive-profile-footer {
        display: flex;
    }
}

@media (max-width: 390px) {
    .executive-profile-shell {
        grid-template-columns: minmax(108px, 35%) minmax(0, 65%);
    }

    .executive-profile-card {
        padding: .8rem;
    }

    .executive-profile-copy h1 {
        font-size: clamp(1.85rem, 8vw, 2.2rem);
    }

    .executive-profile-title {
        font-size: .67rem;
    }

    .executive-profile-summary {
        font-size: .64rem;
        line-height: 1.42;
    }

    .executive-contact-actions {
        gap: .35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .executive-fractal,
    .executive-fractal-grid,
    .executive-fractal-core,
    .executive-fractal-points {
        animation: none;
    }
}

.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);
}

.privacy-shell {
    width: min(1180px, calc(100% - 4rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px minmax(0, 820px);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.privacy-shell .privacy-container {
    width: 100%;
    margin: 5rem 0 8rem;
}

.privacy-toc {
    position: sticky;
    top: 7.5rem;
    margin-top: 5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line-strong);
}

.privacy-toc > p {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    color: var(--ink-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.privacy-toc nav {
    display: grid;
}

.privacy-toc a {
    padding: .58rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: .86rem;
    line-height: 1.35;
    transition: color .2s ease, padding-left .2s ease;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
    padding-left: .35rem;
    color: var(--ink);
    outline: none;
}

.privacy-updated {
    margin: -2.25rem 0 2.5rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.privacy-lead {
    margin-bottom: 4.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.15rem, 2vw, 1.42rem);
    font-weight: 350;
    line-height: 1.65;
}

.privacy-section {
    scroll-margin-top: 8rem;
    position: relative;
}

.privacy-number {
    display: block;
    margin-bottom: .65rem;
    color: var(--sand);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.privacy-section h3 {
    margin: 1.8rem 0 .75rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 650;
}

.privacy-section ol {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 1.5rem 0 2rem;
    padding: 1px;
    background: var(--line);
}

.privacy-grid > div {
    min-width: 0;
    padding: 1.35rem;
    background: var(--bg);
}

.privacy-grid h3 {
    margin: 0 0 .55rem;
}

.privacy-grid p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.6;
}

.privacy-callout {
    margin-top: 1.6rem;
    padding: 1.25rem 1.4rem;
    border-left: 3px solid var(--sand);
    background: var(--bg-soft);
    color: var(--ink-soft);
    font-size: .96rem;
    line-height: 1.65;
}

.privacy-table-wrap {
    margin: 1.5rem 0 2rem;
    overflow-x: auto;
    border: 1px solid var(--line);
}

.privacy-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.55;
}

.privacy-table th,
.privacy-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    background: var(--bg-soft);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.privacy-table tbody tr:last-child td {
    border-bottom: 0;
}

.privacy-contact {
    display: grid;
    gap: .5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--line-strong);
    background: var(--bg-soft);
}

.privacy-contact span,
.privacy-contact small {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.privacy-contact a {
    width: fit-content;
    color: var(--blue);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
}

.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;
    }

    .privacy-shell {
        width: min(100% - 2rem, 820px);
        display: block;
    }

    .privacy-toc {
        position: static;
        margin-top: 2rem;
    }

    .privacy-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
    }

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

    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .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;
    }
}
/* Agente digital: continuidad visual con el sitio corporativo. */
.digital-page {
    --digital-ink: #0b1220;
    --digital-muted: #526174;
    --digital-line: #e2e8f0;
    --digital-blue: #1e7cff;
    min-height: 100vh;
    color: var(--digital-ink);
    background: #fff;
    font-family: 'Inter Tight', 'Inter', sans-serif;
    overflow: clip;
}

.digital-page :focus-visible {
    outline: 2px solid var(--digital-blue);
    outline-offset: 3px;
}

.digital-container {
    width: min(1200px, calc(100% - 3rem));
    margin-inline: auto;
}

.digital-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
    padding: .8rem max(1.5rem, calc((100vw - 1200px) / 2));
    border-bottom: 1px solid var(--digital-line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.digital-brand img {
    width: 154px;
    height: auto;
}

.digital-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(.7rem, 2vw, 2rem);
    min-width: 0;
}

.digital-nav-home,
.digital-sector-menu summary {
    color: var(--digital-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.digital-nav-home:hover,
.digital-nav-home[aria-current='page'],
.digital-sector-menu summary:hover,
.digital-sector-menu[open] summary {
    color: var(--digital-ink);
}

.digital-sector-menu { position: relative; }
.digital-sector-menu summary {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    cursor: pointer;
    list-style: none;
}
.digital-sector-menu summary::-webkit-details-marker { display: none; }
.digital-sector-menu summary span { font-size: 1rem; transition: transform .2s ease; }
.digital-sector-menu[open] summary span { transform: rotate(180deg); }

.digital-sector-options {
    position: absolute;
    top: calc(100% + .45rem);
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 2rem));
    padding: .35rem;
    border: 1px solid var(--digital-line);
    background: #fff;
    box-shadow: 0 18px 50px rgba(11, 18, 32, .12);
}
.digital-sector-options a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .7rem .85rem;
    color: var(--digital-ink);
    font-size: .87rem;
    font-weight: 600;
    text-decoration: none;
}
.digital-sector-options a:hover { background: #f2f6fc; }
.digital-header .lang-toggle { min-height: 44px; color: var(--digital-muted); }

.digital-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--digital-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: .67rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.digital-eyebrow-mark {
    width: 8px;
    height: 8px;
    background: var(--digital-blue);
    transform: rotate(45deg);
}

.digital-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: min(690px, calc(100svh - 76px));
    padding-block: clamp(4rem, 8vw, 7rem);
}
.digital-hero-copy { min-width: 0; }
.digital-hero h1 {
    max-width: 14ch;
    margin: 1.5rem 0;
    font-size: clamp(3.1rem, 5.4vw, 5.8rem);
    font-weight: 600;
    letter-spacing: -.06em;
    line-height: 1.02;
    text-wrap: balance;
}
.digital-hero h1 em { color: #425f91; font-style: normal; }
.digital-hero-lead {
    max-width: 55ch;
    color: var(--digital-muted);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.65;
}
.digital-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.digital-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.3rem;
    min-height: 48px;
    padding: .7rem 1rem;
    border: 1px solid var(--digital-ink);
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.digital-button:hover { transform: translateY(-2px); }
.digital-button-primary { background: var(--digital-ink); color: #fff; }
.digital-button-primary:hover { background: #243857; color: #fff; }
.digital-button-secondary { background: #fff; color: var(--digital-ink); border-color: #cbd5e1; }
.digital-button-secondary:hover { background: #f3f7fc; }

.digital-flow-visual {
    position: relative;
    min-width: 0;
    padding: clamp(1.25rem, 2.6vw, 2rem);
    border: 1px solid #cdd8e8;
    background: linear-gradient(155deg, #f9fbff, #fff 65%);
    box-shadow: 0 34px 80px -52px rgba(11, 18, 32, .35);
}
.digital-flow-visual::before {
    position: absolute;
    inset: -18px 18px 18px -18px;
    z-index: -1;
    border: 1px solid #e8eef8;
    content: '';
}
.digital-flow-top { display: flex; justify-content: space-between; gap: .6rem; color: var(--digital-muted); font-family: 'JetBrains Mono', monospace; font-size: .58rem; letter-spacing: .08em; }
.digital-flow-live { display: flex; align-items: center; gap: .4rem; text-align: right; }
.digital-flow-live i { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--digital-blue); }
.digital-flow-heading { display: grid; gap: .4rem; margin: 3.3rem 0 1.5rem; }
.digital-flow-heading small { color: var(--digital-muted); font-size: .8rem; }
.digital-flow-heading strong { max-width: 24ch; font-size: clamp(1.35rem, 2.3vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.digital-flow-list { display: grid; list-style: none; }
.digital-flow-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 85px; border-top: 1px solid var(--digital-line); }
.digital-flow-number { color: var(--digital-blue); font-family: 'JetBrains Mono', monospace; font-size: .7rem; }
.digital-flow-list li div { display: grid; gap: .3rem; min-width: 0; }
.digital-flow-list strong { font-size: .9rem; font-weight: 650; }
.digital-flow-list small { color: var(--digital-muted); font-size: .76rem; }
.digital-flow-state { padding: .35rem .5rem; background: #eef2f8; color: #415371; font-size: .64rem; font-weight: 650; }
.digital-flow-state-accent { background: #eaf2ff; color: #1756a6; }
.digital-flow-caption { margin-top: 1.3rem; color: #687a91; font-size: .7rem; }

.digital-principles { border-block: 1px solid var(--digital-line); background: #f8fafd; }
.digital-principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.digital-principles article { padding: 2.2rem clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--digital-line); }
.digital-principles article:first-child { border-left: 0; padding-left: 0; }
.digital-principles article > span,
.digital-process-grid article > span,
.digital-scenario-note > span { color: var(--digital-blue); font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.digital-principles h2 { margin: 1.1rem 0 .55rem; font-size: 1.3rem; letter-spacing: -.03em; }
.digital-principles p { max-width: 32ch; color: var(--digital-muted); font-size: .88rem; line-height: 1.6; }

.digital-process { padding-block: clamp(5rem, 9vw, 8rem); }
.digital-section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; margin-bottom: 2.4rem; }
.digital-section-heading .digital-eyebrow { grid-column: 1/-1; margin-bottom: 1.1rem; }
.digital-section-heading h2,
.digital-scenario h2,
.digital-final h2 { max-width: 18ch; font-size: clamp(2.1rem, 4vw, 3.7rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.08; text-wrap: balance; }
.digital-section-heading p { max-width: 46ch; color: var(--digital-muted); font-size: 1rem; line-height: 1.65; }
.digital-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--digital-line); }
.digital-process-grid article { min-height: 235px; padding: 1.5rem; border-left: 1px solid var(--digital-line); }
.digital-process-grid article:first-child { border-left: 0; }
.digital-process-grid h3 { margin: 4.2rem 0 .6rem; font-size: 1.25rem; font-weight: 650; letter-spacing: -.03em; }
.digital-process-grid p { color: var(--digital-muted); font-size: .83rem; line-height: 1.55; }

.digital-scenario { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: clamp(2rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4.5rem); background: #0b1729; color: #fff; }
.digital-scenario .digital-eyebrow { color: #8ebcff; }
.digital-scenario h2 { margin: 1.5rem 0 1.3rem; }
.digital-scenario-copy p { max-width: 55ch; color: #cad7e9; font-size: .98rem; line-height: 1.7; }
.digital-scenario-note { align-self: end; padding: 1.7rem; border: 1px solid #365170; background: #14243b; }
.digital-scenario-note > span { color: #8ebcff; }
.digital-scenario-note p { margin: 1.5rem 0; color: #d0dceb; font-size: .9rem; line-height: 1.65; }
.digital-scenario-note strong { font-size: .78rem; font-weight: 650; }
.digital-final { padding-block: clamp(5rem, 10vw, 9rem); }
.digital-final h2 { max-width: 19ch; margin: 1.4rem 0 1rem; }
.digital-final p { max-width: 56ch; color: var(--digital-muted); font-size: 1rem; line-height: 1.6; }
.digital-final .digital-button { margin-top: 2rem; }
.digital-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--digital-line); color: var(--digital-muted); font-size: .73rem; }
.digital-footer div { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.digital-footer a { text-decoration: none; }
.digital-footer a:hover { color: var(--digital-ink); }

.digital-sector-page { display: flex; flex-direction: column; }
.digital-sector-main { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 62svh; padding-block: 4rem; }
.digital-sector-main h1 { margin: 1.2rem 0 .65rem; font-size: clamp(3rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.digital-sector-main p { margin-bottom: 2.5rem; color: var(--digital-muted); font-size: 1rem; }

@media (max-width: 850px) {
    .digital-hero { grid-template-columns: 1fr; min-height: auto; }
    .digital-flow-visual { max-width: 660px; }
    .digital-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .digital-process-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--digital-line); }
    .digital-process-grid article:nth-child(4) { border-top: 1px solid var(--digital-line); }
    .digital-scenario { grid-template-columns: 1fr; }
    .digital-scenario-note { max-width: 630px; }
}
@media (max-width: 600px) {
    .digital-container { width: min(100% - 2rem, 1200px); }
    .digital-header { flex-wrap: wrap; gap: .15rem 1rem; min-height: 74px; padding: .8rem 1rem; }
    .digital-brand img { width: 132px; }
    .digital-header-actions { width: 100%; justify-content: space-between; gap: .6rem; }
    .digital-nav-home,
    .digital-sector-menu summary { font-size: .59rem; letter-spacing: .03em; }
    .digital-sector-options { left: 0; right: auto; }
    .digital-hero { padding-block: 3.5rem 4rem; gap: 3rem; }
    .digital-hero h1 { font-size: clamp(2.85rem, 12vw, 4.2rem); }
    .digital-hero-actions { display: grid; }
    .digital-principles-grid { grid-template-columns: 1fr; }
    .digital-principles article,
    .digital-principles article:first-child { padding: 1.65rem 0; border-left: 0; border-top: 1px solid var(--digital-line); }
    .digital-principles article:first-child { border-top: 0; }
    .digital-section-heading { grid-template-columns: 1fr; gap: 1rem; }
    .digital-section-heading .digital-eyebrow { margin-bottom: 0; }
    .digital-process-grid { grid-template-columns: 1fr; }
    .digital-process-grid article,
    .digital-process-grid article:first-child,
    .digital-process-grid article:nth-child(3),
    .digital-process-grid article:nth-child(4) { min-height: 0; padding: 1.5rem; border-left: 0; border-top: 1px solid var(--digital-line); }
    .digital-process-grid article:first-child { border-top: 0; }
    .digital-process-grid h3 { margin-top: 2.3rem; }
    .digital-scenario { width: 100%; padding: 2.2rem 1rem; }
    .digital-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .digital-button,
    .digital-sector-menu summary span { transition: none; }
}

/* Agente digital para dentistas: formulario de muestra y flujo de atención. */
.digital-sales-page .digital-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .96);
}
.digital-sales-page .digital-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .55rem 1rem;
    background: var(--digital-ink);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}
.digital-sales-page .digital-header-cta:hover { background: #243857; }
.digital-sales-page .digital-hero h1 { max-width: 17ch; }
.digital-price-hint { margin-top: 1.2rem; color: var(--digital-muted); font-size: .85rem; }
.digital-price-hint strong { color: var(--digital-ink); }
.digital-process-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.digital-sectors { padding-block: clamp(3rem, 6vw, 6rem); }
.digital-sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--digital-line); background: var(--digital-line); }
.digital-sector-grid article { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; background: #fff; }
.digital-sector-grid article:last-child { border-right: 0; }
.digital-sector-grid article > span { color: var(--digital-blue); font: 500 .66rem 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.digital-sector-grid h3 { margin: 1.6rem 0 .55rem; font-size: 1.25rem; letter-spacing: -.03em; }
.digital-sector-grid p { color: var(--digital-muted); font-size: .88rem; line-height: 1.55; }
.digital-sector-grid article > div { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: auto; padding-top: 1.8rem; }
.digital-sector-grid a { color: var(--digital-ink); font-size: .82rem; font-weight: 700; text-underline-offset: .25em; }
.digital-sector-grid a:last-child { color: #1756a6; }
.digital-plans { padding-block: clamp(4rem, 8vw, 7rem); background: #f5f8fc; scroll-margin-top: 95px; }
.digital-plans-heading { max-width: 760px; margin-bottom: 2.5rem; }
.digital-plans-heading h2 { margin: 1rem 0; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.05em; line-height: 1.08; text-wrap: balance; }
.digital-plans-heading p { color: var(--digital-muted); font-size: 1rem; line-height: 1.6; }
.digital-plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.digital-plan { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid #cbd5e1; background: #fff; }
.digital-plan-featured { border-color: #9ab8e9; box-shadow: 0 24px 60px -40px rgba(14, 56, 124, .45); }
.digital-plan-badge { align-self: flex-start; padding: .4rem .65rem; background: #eaf2ff; color: #1756a6; font: 600 .68rem 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .05em; }
.digital-plan h3 { margin: 1.2rem 0 .3rem; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.digital-plan > p:not(.digital-plan-tax):not(.digital-plan-setup) { color: var(--digital-muted); line-height: 1.55; }
.digital-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; margin-top: 1.8rem; }
.digital-plan-price strong { font-size: clamp(2.3rem, 4vw, 3.5rem); font-weight: 650; letter-spacing: -.06em; line-height: 1; }
.digital-plan-price span { color: var(--digital-muted); font-size: .82rem; }
.digital-plan-tax { margin-top: .45rem; color: #175c45; font-size: .8rem; font-weight: 700; }
.digital-plan-capacity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.6rem; padding-block: 1.2rem; border-block: 1px solid var(--digital-line); }
.digital-plan-capacity div { display: grid; gap: .25rem; }
.digital-plan-capacity strong { font-size: 1.4rem; letter-spacing: -.035em; }
.digital-plan-capacity span { max-width: 18ch; color: var(--digital-muted); font-size: .77rem; line-height: 1.4; }
.digital-plan ul { display: grid; gap: .7rem; margin: 0 0 1.5rem; padding-left: 1.2rem; font-size: .88rem; line-height: 1.4; }
.digital-plan li::marker { color: var(--digital-blue); }
.digital-plan-checkout { margin-top: auto; }
.digital-plan-checkout stripe-buy-button { display: block; min-height: 48px; }
.digital-plan-checkout [data-stripe-fallback] { margin-top: .6rem; color: var(--digital-muted); font-size: .76rem; line-height: 1.4; }
.digital-plan-checkout [data-stripe-fallback] a { color: #1756a6; }
.digital-plan-setup { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--digital-line); font-size: .86rem; }
.digital-plan-terms { max-width: 95ch; margin-top: 1.5rem; color: var(--digital-muted); font-size: .78rem; line-height: 1.65; }
.digital-comparison { margin-top: 2.5rem; }
.digital-comparison-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.digital-comparison-heading h3 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.035em; }
.digital-comparison-heading p { margin: 0; color: var(--digital-muted); font-size: .78rem; }
.digital-comparison-scroll { overflow-x: auto; border: 1px solid #cbd5e1; background: #fff; }
.digital-comparison-scroll:focus-visible { outline: 3px solid var(--digital-blue); outline-offset: 3px; }
.digital-comparison table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.digital-comparison th, .digital-comparison td { padding: .9rem 1rem; border-bottom: 1px solid var(--digital-line); vertical-align: top; line-height: 1.45; }
.digital-comparison thead th { background: #eaf2ff; color: var(--digital-ink); font-size: .8rem; }
.digital-comparison tbody th { width: 52%; font-size: .84rem; font-weight: 600; }
.digital-comparison tbody td { width: 24%; font-size: .84rem; }
.digital-comparison tbody tr:nth-child(even) { background: #f8fafd; }
.digital-comparison tbody tr:last-child > * { border-bottom: 0; }
.digital-faq { padding-block: clamp(4rem, 7vw, 7rem); }
.digital-faq-list { max-width: 920px; border-top: 1px solid var(--digital-line); }
.digital-faq-list details { border-bottom: 1px solid var(--digital-line); }
.digital-faq-list summary { min-height: 64px; padding: 1.2rem 2rem 1.2rem 0; cursor: pointer; font-weight: 650; }
.digital-faq-list details p { max-width: 74ch; padding: 0 0 1.4rem; color: var(--digital-muted); line-height: 1.65; }
.digital-sales-page .footer-dark { margin-top: 0; }
@media (max-width: 850px) {
    .digital-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .digital-sector-grid article:nth-child(2) { border-right: 0; }
    .digital-sector-grid article:nth-child(n+3) { border-top: 1px solid var(--digital-line); }
    .digital-process-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .digital-process-grid-three article:last-child { grid-column: 1 / -1; border-top: 1px solid var(--digital-line); border-left: 0; }
}
@media (max-width: 600px) {
    .digital-sales-page .digital-header-actions { flex-wrap: wrap; justify-content: flex-start; }
    .digital-sales-page .digital-header-cta { margin-left: auto; }
    .digital-sales-page .digital-nav-home[aria-current='page'] { display: none; }
    .digital-sector-grid, .digital-plans-grid, .digital-process-grid-three { grid-template-columns: 1fr; }
    .digital-sector-grid article, .digital-sector-grid article:nth-child(2) { border-right: 0; border-top: 1px solid var(--digital-line); }
    .digital-sector-grid article:first-child { border-top: 0; }
    .digital-process-grid-three article:last-child { grid-column: auto; }
    .digital-plans { scroll-margin-top: 145px; }
    .digital-plan-capacity { gap: .6rem; }
}
@media (max-width: 390px) {
    .digital-sales-page .digital-nav-home:not([aria-current]) { display: none; }
}

/* Agente digital para dentistas: formulario de muestra y flujo de atención. */
.dental-page {
    background:
        radial-gradient(circle at 74% 10%, rgba(30, 124, 255, .055), transparent 26%),
        #fff;
}
.dental-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 7rem);
    padding-block: clamp(4.5rem, 8vw, 8rem);
}
.dental-hero-copy { position: sticky; top: 3rem; padding-top: 2rem; }
.dental-hero h1 {
    max-width: 13ch;
    margin: 1.5rem 0;
    font-size: clamp(3rem, 5.1vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -.06em;
    line-height: 1.02;
    text-wrap: balance;
}
.dental-hero-copy > p {
    max-width: 48ch;
    color: var(--digital-muted);
    font-size: clamp(1rem, 1.45vw, 1.12rem);
    line-height: 1.65;
}
.dental-hero-points { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.dental-hero-points span { padding: .42rem .65rem; border: 1px solid #dbe5f2; color: #45617e; font-size: .7rem; font-weight: 650; }
.dental-form-card { padding: clamp(1.3rem, 3.2vw, 2.8rem); border: 1px solid #d6e0ec; background: #fff; box-shadow: 0 30px 80px -52px rgba(11, 18, 32, .3); }
.dental-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--digital-muted); font-family: 'JetBrains Mono', monospace; font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.dental-form-heading strong { color: #1d64c6; font-weight: 600; text-align: right; }
.dental-form-card h2 { margin: 1.5rem 0 .5rem; font-size: clamp(1.6rem, 2.3vw, 2.3rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.1; }
.dental-form-intro { margin-bottom: 2rem; color: var(--digital-muted); font-size: .9rem; line-height: 1.55; }
.dental-form-card form { display: grid; gap: 1.1rem; }
.dental-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dental-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dental-field { display: grid; gap: .45rem; min-width: 0; }
.dental-field label { font-size: .76rem; font-weight: 700; }
.dental-field label > span:not(.dental-optional) { color: #1b6ed9; }
.dental-optional { margin-left: .25rem; color: var(--digital-muted); font-size: .69rem; font-weight: 500; }
.dental-field input,
.dental-field select,
.dental-field textarea {
    width: 100%;
    min-height: 46px;
    padding: .75rem .8rem;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    color: var(--digital-ink);
    font: inherit;
    font-size: .84rem;
    line-height: 1.35;
    outline: none;
}
.dental-field textarea { min-height: 84px; resize: vertical; }
.dental-field input::placeholder,
.dental-field textarea::placeholder { color: #7d899a; }
.dental-field input:focus,
.dental-field select:focus,
.dental-field textarea:focus { border-color: var(--digital-blue); box-shadow: 0 0 0 3px rgba(30, 124, 255, .12); }
.dental-field small { color: var(--digital-muted); font-size: .69rem; line-height: 1.45; }
.dental-submit { width: 100%; margin-top: .35rem; cursor: pointer; }
.dental-form-notice { color: var(--digital-muted); font-size: .7rem; line-height: 1.55; }
.dental-response-frame { display: none; }
.dental-form-notice a { color: var(--digital-blue); text-underline-offset: .16em; }
.dental-submit:disabled { opacity: .65; cursor: wait; }
.dental-form-status { padding: .85rem 1rem; border-left: 3px solid var(--digital-blue); background: #eef5ff; color: #173d72; font-size: .8rem; line-height: 1.55; }
.dental-form-status-error { border-left-color: #b94747; background: #fff1f0; color: #7d2323; }
.dental-form-status[hidden] { display: none; }
.sector-demo-card { min-width: 0; }
.sector-demo-frame { display: block; width: 100%; height: 800px; border: 0; background: transparent; }
.sector-demo-card .dental-form-intro { margin-bottom: 1.25rem; }
.sector-demo-card .dental-form-notice { margin-top: 1rem; }

.dental-process { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--digital-line); }
.dental-process-intro h2,
.dental-closing h2 { max-width: 20ch; margin: 1.3rem 0 1rem; font-size: clamp(2.2rem, 3.8vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.08; text-wrap: balance; }
.dental-process-intro p,
.dental-closing p { max-width: 52ch; color: var(--digital-muted); font-size: .97rem; line-height: 1.65; }
.dental-process-list { list-style: none; border-top: 1px solid var(--digital-line); }
.dental-process-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.45rem 0; border-bottom: 1px solid var(--digital-line); }
.dental-process-list li > span { color: var(--digital-blue); font-family: 'JetBrains Mono', monospace; font-size: .72rem; }
.dental-process-list h3 { margin: 0 0 .4rem; font-size: 1.12rem; font-weight: 650; letter-spacing: -.025em; }
.dental-process-list p { max-width: 52ch; color: var(--digital-muted); font-size: .85rem; line-height: 1.55; }
.dental-closing { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--digital-line); }
.dental-closing .digital-button { flex: 0 0 auto; }

@media (max-width: 850px) {
    .dental-hero { grid-template-columns: 1fr; }
    .dental-hero-copy { position: static; padding-top: 0; }
    .dental-hero h1 { max-width: 17ch; }
    .dental-form-card { width: min(100%, 650px); }
    .dental-process { grid-template-columns: 1fr; }
    .dental-closing { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
    .dental-hero { padding-block: 3.5rem 4.5rem; gap: 3rem; }
    .dental-hero h1 { font-size: clamp(2.65rem, 11vw, 3.5rem); }
    .dental-form-card { padding: 1.3rem 1rem; }
    .dental-field-row { grid-template-columns: 1fr; }
    .dental-process { padding-block: 4.5rem; }
    .dental-closing .digital-button { width: 100%; }
}
