/* ════════════════════════════════════════════════════════════
   TRANSPORTES ALPINO — Rediseño 2026
   Se carga DESPUÉS de site.css: lo que esté aquí manda.
   ════════════════════════════════════════════════════════════ */

:root{
  --sidebar-w: 132px;      /* barra vertical ensanchada */
  --header-h: 76px;        /* barra blanca superior — alineada a la línea Alpino/menú */
  --brand-h: 76px;         /* bloque de marca — mitad del alto de un tile */
  --navy-ink: #12184a;     /* azul marino de la barra blanca */
}

/* ════════ BARRA SUPERIOR BLANCA ════════ */
.site-header.topbar{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #ffffff;
  border-bottom: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 1px 14px rgba(7, 9, 26, .08);
}
.site-header.topbar.scrolled{
  background: #ffffff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.topbar-inner{
  height: var(--header-h);
  padding-left: var(--sidebar-w);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .35rem;
  transition: height .4s var(--ease-out);
}
.site-header.topbar.scrolled .topbar-inner{ height: 68px; }

.topbar-tagline{
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
/* Toda la barra es clickeable hacia el formulario */
.topbar-link{
  text-decoration: none; color: inherit; cursor: pointer;
  width: 100%;
}
.topbar-cta{
  font-family: var(--font-display, serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--navy-ink);
  padding: .05rem 0 .1rem;
  position: relative;
  transition: color .3s var(--ease-out), letter-spacing .35s var(--ease-out);
}
.topbar-cta::after{
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transform: translateX(-50%);
  transition: width .45s var(--ease-out);
}
.topbar-link:hover .topbar-cta{ color: #000; letter-spacing: .33em; }
.topbar-link:hover .topbar-cta::after{ width: 100%; }

/* Franja azul marino muy sutil en la base */
.topbar-strip{
  display: block; height: 2px; width: 100%;
  background: linear-gradient(90deg,
    rgba(18,24,74,.05) 0%,
    rgba(18,24,74,.55) 22%,
    rgba(18,24,74,.75) 50%,
    rgba(18,24,74,.55) 78%,
    rgba(18,24,74,.05) 100%);
}

/* ════════ BLOQUE DE MARCA (esquina superior izquierda) ════════ */
.brand-block{
  position: fixed; top: 0; left: 0; z-index: 110;
  width: var(--sidebar-w); height: var(--brand-h);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3rem;
  background: var(--bg-deep);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  transition: background-color .35s var(--ease-out);
}
.brand-block:hover{ background: var(--bg-tertiary); }
.brand-block-logo{ width: 40px; height: 40px; }
.brand-block-text{
  font-family: var(--font-display, serif);
  font-size: .82rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--cream);
  line-height: 1;
}

/* ════════ BARRA VERTICAL ════════ */
.sidebar{
  width: var(--sidebar-w);
  padding-top: var(--brand-h);
  background: rgba(7, 9, 26, .82);
  z-index: 105;
}
.tile{ min-height: 152px; gap: .85rem; padding: 1.2rem .55rem; }
.tile svg{ width: 40px; height: 40px; }
.tile span{ font-size: .66rem; letter-spacing: .17em; }

/* ════════ LAYOUT GENERAL ════════ */
main#main, .footer{ padding-left: var(--sidebar-w); }
.page{ padding-top: calc(var(--header-h) + 2px); }
.page-home{ padding-top: 0; }

/* Quitar el marcador "En desarrollo" en todas partes */
.linea-page-tag, .novedades-tag{ display: none !important; }

.section-lead{
  font-size: .95rem; color: var(--text-muted);
  margin: -1rem 0 2.5rem; max-width: 46ch;
}

/* ════════ HERO CON VIDEO ════════ */
.hero-video{
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-video-el{
  width: 100%; height: 100%; object-fit: cover;
  display: block; position: relative; z-index: 1;
}
/* Si el video no existe todavía, se ve el respaldo con el logo */
.hero-media-fallback{
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 60% 40%, #1a204a 0%, #07091a 70%);
}
.hero-media-fallback img{ width: min(46vw, 420px); opacity: .13; }
.hero-scrim{
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(7,9,26,.94) 0%, rgba(7,9,26,.72) 42%, rgba(7,9,26,.35) 100%),
    linear-gradient(180deg, rgba(7,9,26,.55) 0%, transparent 30%, rgba(7,9,26,.75) 100%);
}
.hero-content{ position: relative; z-index: 3; max-width: 760px; }
.hero-sedes{
  margin-top: 2.2rem;
  font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
}
.hero-video .hero-scroll{ z-index: 3; }

/* ════════ SERVICIOS DESPLEGABLES ════════ */
.serv-list{ display: flex; flex-direction: column; gap: .9rem; max-width: 1000px; }
.serv-item{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 20, 48, .38);
  overflow: hidden;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.serv-item:hover{ border-color: rgba(201,169,110,.35); }
.serv-item.open{ border-color: var(--gold); background: rgba(26, 32, 74, .45); }

.serv-head{
  width: 100%; display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-areas: 'num icon title chev' 'num icon hint chev';
  align-items: center; gap: .2rem 1.4rem;
  padding: 1.6rem 1.8rem; text-align: left; cursor: pointer;
  color: inherit; background: none; border: none;
}
.serv-num{
  grid-area: num;
  font-family: var(--font-display, serif); font-size: .78rem;
  letter-spacing: .1em; color: var(--gold); opacity: .8;
}
.serv-icon{
  grid-area: icon; width: 40px; height: 40px;
  color: var(--cream); opacity: .82;
  transition: transform .4s var(--ease-out), color .3s var(--ease-out);
}
.serv-item.open .serv-icon{ color: var(--gold); transform: scale(1.08); }
.serv-title{
  grid-area: title;
  font-family: var(--font-display, serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--cream); line-height: 1.2;
}
.serv-hint{
  grid-area: hint;
  font-size: .85rem; color: var(--text-muted); line-height: 1.5;
  padding-top: .3rem; max-width: 60ch;
}
.serv-chevron{
  grid-area: chev;
  width: 34px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); border-radius: 50%;
  font-size: 1.05rem; color: var(--gold); line-height: 1;
  transition: transform .4s var(--ease-out), background-color .3s var(--ease-out);
}
.serv-item.open .serv-chevron{ transform: rotate(135deg); background: rgba(201,169,110,.14); }

.serv-body{
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.serv-item.open .serv-body{ grid-template-rows: 1fr; }
.serv-body-inner{
  overflow: hidden;
  padding: 0 1.8rem 0 calc(1.8rem + 40px + 1.4rem);
  transition: padding .45s var(--ease-out);
}
.serv-item.open .serv-body-inner{ padding-bottom: 1.9rem; }
.serv-body-inner p{
  color: var(--text-secondary); font-size: .95rem;
  line-height: 1.75; margin-bottom: 1.1rem; max-width: 62ch;
}
.serv-points{ list-style: none; display: grid; gap: .55rem; margin-bottom: 1.3rem; }
.serv-points li{
  position: relative; padding-left: 1.4rem;
  font-size: .9rem; color: var(--text-secondary); line-height: 1.6;
}
.serv-points li::before{
  content: ''; position: absolute; left: 0; top: .6em;
  width: 6px; height: 1px; background: var(--gold);
}
.serv-points strong{ color: var(--cream); font-weight: 500; }
.serv-cta{
  display: inline-block; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid rgba(201,169,110,.35); padding-bottom: .25rem;
  transition: border-color .3s var(--ease-out);
}
.serv-cta:hover{ border-color: var(--gold); }

/* ── Humo de fondo muy ligero en Servicios ── */
.section.servicios{ position: relative; overflow: hidden; }
.section.servicios > *{ position: relative; z-index: 1; }
.section.servicios::before,
.section.servicios::after{
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 65vw; height: 65vw; max-width: 760px; max-height: 760px;
  border-radius: 50%; filter: blur(60px);
  background: radial-gradient(circle, rgba(201,169,110,.055), transparent 66%);
  animation: servSmoke 30s ease-in-out infinite alternate;
}
.section.servicios::before{ top: -12%; left: -8%; }
.section.servicios::after{
  bottom: -16%; right: -6%;
  background: radial-gradient(circle, rgba(120,140,220,.05), transparent 66%);
  animation-duration: 38s; animation-direction: alternate-reverse;
}
@keyframes servSmoke{
  0%{ transform: translate(0,0) scale(1); opacity: .5; }
  50%{ transform: translate(5%, -4%) scale(1.18); opacity: .85; }
  100%{ transform: translate(-4%, 3%) scale(1.06); opacity: .6; }
}
@media (prefers-reduced-motion: reduce){
  .section.servicios::before, .section.servicios::after{ animation: none; }
}

/* ════════ FLOTA ════════ */
.linea-header{
  display: flex; align-items: baseline; gap: 1.4rem;
  flex-wrap: wrap; margin: 3.2rem 0 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.linea-tag{
  font-family: var(--font-display, serif);
  font-size: 1.35rem; color: var(--gold);
  letter-spacing: .04em; white-space: nowrap;
}
.linea-desc{
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.6; max-width: 56ch;
}

.veh{
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2.6rem 0; border-bottom: 1px solid var(--border);
}
.veh:last-child{ border-bottom: none; }
.veh-visual{
  background: linear-gradient(160deg, rgba(26,32,74,.4), rgba(10,14,31,.2));
  border: 1px solid var(--border); border-radius: 18px;
  padding: 2rem 1.5rem 1.2rem;
}
.veh-visual svg{ width: 100%; height: auto; color: var(--cream); opacity: .88; }
.veh-visual-note{
  margin-top: .9rem; text-align: center;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); opacity: .7;
}
.veh-name{
  font-family: var(--font-display, serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--cream); margin-bottom: 1.3rem; line-height: 1.15;
}
.veh-name .italic{ font-style: italic; color: var(--gold); }
.veh-specs{ list-style: none; margin-bottom: 1.4rem; }
.veh-specs li{
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .65rem 0; border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.veh-specs li span:first-child{
  color: var(--text-muted); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; padding-top: .18em;
}
.veh-specs li span:last-child{ color: var(--cream); text-align: right; }
.veh-specs .gold{ color: var(--gold); }
.por-definir{ color: var(--text-muted) !important; font-style: italic; }
.veh-safety{
  font-size: .8rem; color: var(--text-secondary);
  padding: .75rem 1rem; margin-bottom: 1.6rem;
  background: rgba(201,169,110,.07);
  border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0;
  line-height: 1.5;
}
.veh-uses-label{
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .9rem;
}
.veh-uses{
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .85rem 1.2rem;
}
.veh-uses li{
  display: flex; align-items: center; gap: .7rem;
  font-size: .87rem; color: var(--text-secondary); line-height: 1.35;
}
.veh-uses svg{
  width: 26px; height: 26px; flex: none;
  color: var(--gold); opacity: .85;
}
.veh-lead{
  color: var(--text-secondary); font-size: .95rem;
  line-height: 1.75; margin-bottom: 1rem; max-width: 52ch;
}
.veh-lead a{ color: var(--gold); border-bottom: 1px solid rgba(201,169,110,.4); }
.veh-soon .veh-visual{ opacity: .55; }

/* ════════ CONÓCENOS ════════ */
.manifest{ position: relative; }
.conocenos-watermark{
  position: absolute; right: -2%; top: 8%;
  width: min(38vw, 460px); opacity: .045;
  pointer-events: none; z-index: 0;
}
.manifest-grid, .manifest .section-title, .manifest .section-eyebrow{ position: relative; z-index: 1; }

/* ════════ NUESTROS CLIENTES ════════ */
.clientes-block{ margin-top: 2rem; }
.clientes-block .marquee{ margin: 2.5rem 0 3.5rem; }

/* ════════ FOOTER — "Transportes" no se corta arriba ════════ */
.footer-big{
  overflow: visible;
  line-height: .95;
  padding-top: .1em;
}

/* ════════ COTIZADOR · pop-up ════════ */
.cotizador.popin{
  opacity: 0; transform: translateY(28px) scale(.985);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
}
.page.active .cotizador.popin{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .cotizador.popin{ opacity: 1; transform: none; transition: none; }
}

.cot-destinos-label{
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted); margin: 1.1rem 0 .5rem;
}
.cot-destino-row{ display: flex; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.cot-destino-row input{
  flex: 1; padding: .8rem .95rem;
  background: rgba(7,9,26,.5);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--cream); font-family: var(--font-body); font-size: .95rem; outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.cot-destino-row input:focus{ border-color: var(--gold); background: rgba(7,9,26,.72); }
.cot-destino-row input::placeholder{ color: rgba(108,113,150,.75); }
.cot-destino-row input.invalid{ border-color: #d96a6a; }
.cot-destino-del{
  width: 36px; height: 36px; flex: none;
  border: 1px solid var(--border); border-radius: 50%;
  background: none; color: var(--text-muted); cursor: pointer;
  font-size: .95rem; line-height: 1;
  transition: all .2s ease;
}
.cot-destino-del:hover{ border-color: #d96a6a; color: #d96a6a; }
.cot-add-destino{
  background: none; border: 1px dashed var(--border-strong); border-radius: 10px;
  color: var(--gold); font-family: var(--font-body); font-size: .84rem;
  padding: .7rem 1.1rem; cursor: pointer; width: 100%;
  transition: all .2s ease;
}
.cot-add-destino:hover{ border-color: var(--gold); background: rgba(201,169,110,.06); }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px){
  .veh{ grid-template-columns: 1fr; }
  .serv-head{
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'num title chev' 'num hint chev';
    gap: .2rem 1rem; padding: 1.3rem 1.2rem;
  }
  .serv-icon{ display: none; }
  .serv-body-inner{ padding: 0 1.2rem; }
  .serv-item.open .serv-body-inner{ padding-bottom: 1.5rem; }
}

@media (max-width: 860px){
  :root{ --sidebar-w: 0px; --header-h: 118px; --brand-h: 58px; }
  main#main, .footer{ padding-left: 0; }

  .brand-block{
    width: auto; height: var(--brand-h);
    flex-direction: row; gap: .6rem; padding: 0 1rem;
    border-bottom: none; background: transparent;
  }
  .brand-block-logo{ width: 30px; height: 30px; }
  .brand-block-text{ font-size: .74rem; }

  .topbar-inner{ padding-left: 0; padding-top: var(--brand-h); height: var(--header-h); }
  .site-header.topbar.scrolled .topbar-inner{ height: 104px; }
  .topbar-tagline{ font-size: .5rem; letter-spacing: .24em; }
  .topbar-cta{ font-size: 1.08rem; letter-spacing: .22em; }

  /* La barra vertical pasa a ser una fila horizontal bajo la barra blanca */
  .sidebar{
    position: fixed; top: var(--header-h); left: 0; right: 0;
    width: 100%; height: auto; padding-top: 0;
    flex-direction: row; border-right: none;
    border-bottom: 1px solid var(--border-strong);
    background: rgba(7,9,26,.94);
  }
  .tile{
    min-height: 66px; padding: .6rem .3rem; gap: .35rem;
    border-bottom: none; border-right: 1px solid var(--border);
    border-left: none; border-top: 3px solid transparent;
  }
  .tile:last-child{ border-right: none; }
  .tile.active{ border-left-color: transparent; border-top-color: var(--gold); }
  .tile svg{ width: 24px; height: 24px; }
  .tile span{ font-size: .52rem; letter-spacing: .1em; }
  .tile br{ display: none; }

  .page{ padding-top: calc(var(--header-h) + 68px); }
  .page-home{ padding-top: 0; }
  .hero-video{ padding-top: calc(var(--header-h) + 68px); }
  .conocenos-watermark{ display: none; }
}

@media (max-width: 560px){
  .veh-uses{ grid-template-columns: 1fr; }
  .linea-header{ flex-direction: column; gap: .6rem; }
}

@media print{
  .brand-block, .sidebar, .site-header, .acceso-interno{ display: none !important; }
  main#main, .footer{ padding-left: 0; }
}

/* ════════════════════════════════════════════════
   EXPERIENCIA · LOGO ORBITAL
   Logo central con fade-in + humo + haz de luz,
   y los clientes/eventos orbitando alrededor.
   ════════════════════════════════════════════════ */
.experiencia{ overflow: hidden; }
.sr-only{
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.orbital{
  --r1: clamp(96px, 19vw, 140px);
  --r2: clamp(150px, 30vw, 225px);
  --r3: clamp(205px, 41vw, 310px);
  position: relative;
  width: min(92vw, 680px);
  aspect-ratio: 1;
  margin: 3rem auto 1.5rem;
}

/* ── Núcleo: logo ── */
.orbital-core{
  position: absolute; top: 50%; left: 50%;
  width: clamp(120px, 24vw, 190px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.orbital-logo{
  width: 100%; height: 100%; object-fit: contain;
  opacity: .9;
  filter: drop-shadow(0 0 26px rgba(201,169,110,.3));
}
.orbital.play .orbital-logo{ animation: logoFade 2.6s var(--ease-out) both; }
@keyframes logoFade{
  0%{ opacity: 0; transform: scale(.82); filter: drop-shadow(0 0 0 rgba(201,169,110,0)); }
  100%{ opacity: .9; transform: scale(1); filter: drop-shadow(0 0 26px rgba(201,169,110,.3)); }
}

/* ── Humo semidesvanecido ── */
.orbital-smoke{
  position: absolute; top: 50%; left: 50%;
  width: 72%; aspect-ratio: 1; border-radius: 50%;
  z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(201,169,110,.14), rgba(120,140,220,.05) 45%, transparent 70%);
  filter: blur(34px);
  animation: smokeDrift 14s ease-in-out infinite alternate;
}
@keyframes smokeDrift{
  0%{ transform: translate(-52%,-48%) scale(1); opacity: .7; }
  100%{ transform: translate(-48%,-52%) scale(1.18); opacity: 1; }
}

/* ── Haz de luz que crece y se apaga ── */
.orbital-beam{
  position: absolute; top: 50%; left: 50%;
  width: 120%; aspect-ratio: 1; border-radius: 50%;
  z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(245,241,232,.22), rgba(201,169,110,.10) 30%, transparent 62%);
  animation: beamPulse 7s ease-in-out infinite;
}
@keyframes beamPulse{
  0%, 100%{ transform: translate(-50%,-50%) scale(.42); opacity: 0; }
  50%{ transform: translate(-50%,-50%) scale(1); opacity: .9; }
}

/* ── Ítems orbitando ── */
.orbit-item{
  position: absolute; top: 50%; left: 50%;
  z-index: 4; pointer-events: none;
  animation: orbit var(--dur, 50s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.orbit-item > b{
  display: block; transform: translate(-50%, -50%);
  animation: orbitUp var(--dur, 50s) linear infinite;
  animation-delay: var(--delay, 0s);
  white-space: nowrap; font-weight: 500;
  font-size: clamp(.62rem, 1.1vw, .82rem);
  letter-spacing: .08em;
  padding: .32rem .7rem; border-radius: 100px;
  background: rgba(10,14,31,.72);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.orbit-item.ev > b{
  color: var(--gold); border-color: rgba(201,169,110,.4);
  font-family: var(--font-display, serif); font-style: italic;
  letter-spacing: .02em;
}
@keyframes orbit{
  from{ transform: rotate(0deg) translateX(var(--r)); }
  to{ transform: rotate(360deg) translateX(var(--r)); }
}
@keyframes orbitUp{
  from{ transform: translate(-50%,-50%) rotate(0deg); }
  to{ transform: translate(-50%,-50%) rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce){
  .orbit-item, .orbit-item > b, .orbital-beam, .orbital-smoke, .orbital-logo{ animation: none !important; }
}

@media (max-width: 560px){
  .orbit-item[style*="--r3"]{ display: none; }   /* solo dos anillos en móvil */
  .orbital{ width: 94vw; margin-top: 2rem; }
  .orbit-item > b{ font-size: .6rem; padding: .26rem .55rem; }
}

/* ════════════════════════════════════════════════
   CORRECCIONES · octubre 2026
   ════════════════════════════════════════════════ */

/* Tilde de "estándares" cortada: la línea oculta lo que sobresale arriba */
.hero-title-line{ padding-top: .14em; margin-top: -.14em; }

/* Footer con margen propio (no pegado a la barra lateral ni al borde en móvil) */
.footer{ padding-left: calc(var(--sidebar-w) + 3rem); }

/* Marca de agua de Conócenos sin scroll horizontal */
.manifest{ overflow-x: clip; }
html, body{ overflow-x: clip; }

/* Cifras: sin el gran espacio vacío debajo */
.page:not(.page-home) .section.stats{ padding-top: 2.5rem; padding-bottom: 4rem; min-height: 0; }

/* Lista de clientes legible bajo el logo orbital */
.orbital-legend{
  max-width: 900px; margin: 1rem auto 0;
  display: grid; grid-template-columns: 1fr 2fr; gap: 1rem 3rem;
  border-top: 1px solid var(--border); padding-top: 2rem;
}
.orbital-legend h3{
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .6rem;
}
.orbital-legend p{ color: var(--text-secondary); font-size: .92rem; line-height: 1.8; }
.orbital-legend > div{ min-width: 0; }

@media (max-width: 860px){
  .footer{ padding-left: 1.5rem; }
  /* Menos espacio vacío entre el menú y el título de cada sección */
  /* main ya despeja la barra; la página no necesita repetir ese espacio */
  .page:not(.page-home){ padding-top: 0; }
  .page .section:first-child{ padding-top: 2.5rem; }
  .orbital-legend{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  /* Los nombres del anillo medio se salían de la pantalla */
  .orbital{ --r2: 36vw; --r1: 24vw; width: 88vw; overflow: visible; }
  .experiencia .orbital{ margin-bottom: 0; }
}

/* "Hora exacta" se veía siempre: el atributo hidden perdía contra display de .cot-field */
[hidden]{ display: none !important; }
