/* ============================================
   TRANSPORTES ALPINO — A la altura de tus estándares
   ============================================ */

/* ───────── FONTS ───────── */
@font-face {
  font-family: 'Coluna';
  src: url('../assets/fonts/Coluna.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Coluna Rounded';
  src: url('../assets/fonts/Coluna_Rounded.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ───────── DESIGN TOKENS ───────── */
:root {
  /* Palette */
  --bg-deep: #07091a;
  --bg-primary: #0a0e1f;
  --bg-secondary: #0f1430;
  --bg-tertiary: #161b3d;
  --bg-elevated: #1a204a;

  --navy: #1a1f5e;
  --navy-light: #2a3275;

  --cream: #f5f1e8;
  --cream-dim: #ddd5c2;
  --gold: #c9a96e;
  --gold-dim: #a88b54;

  --text-primary: #f5f1e8;
  --text-secondary: #a8acc4;
  --text-muted: #6c7196;
  --border: rgba(245, 241, 232, 0.08);
  --border-strong: rgba(245, 241, 232, 0.16);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-xxl: 12rem;

  /* Typography */
  --font-display: 'Coluna', 'Times New Roman', serif;
  --font-display-rounded: 'Coluna Rounded', 'Coluna', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ───────── RESET ───────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

/* ───────── GRAIN OVERLAY ───────── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: overlay;
}

/* ───────── BACKGROUND GRADIENT GLOW ───────── */
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.35;
  transition: transform 1s var(--ease-out);
}

.bg-glow-1 {
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--navy-light), transparent 60%);
}

.bg-glow-2 {
  bottom: -30%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent 60%);
}

/* ───────── SPLASH LOADER ───────── */
.splash {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  width: 90px;
  height: 90px;
  opacity: 0;
  animation: splashLogoIn 1.2s 0.2s var(--ease-out) forwards;
}

.splash-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  animation: splashTextIn 1.2s 0.5s var(--ease-out) forwards;
}

.splash-bar {
  width: 1px;
  height: 0;
  background: var(--cream);
  opacity: 0.3;
  animation: splashBar 2s 0.8s var(--ease-out) forwards;
}

@keyframes splashLogoIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes splashTextIn {
  0% { opacity: 0; letter-spacing: 0.3em; }
  100% { opacity: 0.7; letter-spacing: 0.5em; }
}

@keyframes splashBar {
  0% { height: 0; }
  60% { height: 40px; }
  100% { height: 40px; opacity: 0; }
}

/* ───────── CUSTOM CURSOR (desktop only) ───────── */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor-dot.active {
  opacity: 1;
}

.cursor-dot.expand {
  width: 50px;
  height: 50px;
}

@media (hover: none) {
  .cursor-dot { display: none; }
}

/* ───────── HEADER (nav + linebar) ───────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 9, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

/* ───────── NAVIGATION ───────── */
.nav {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.4s var(--ease-out);
}

.site-header.scrolled .nav {
  padding: 1rem 3rem;
}

/* ───────── SIDEBAR VERTICAL (tiles de líneas) ───────── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-w);
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  z-index: 80;
  background: rgba(7, 9, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--border-strong);
}

.tile {
  flex: 1 1 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1rem 0.5rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-left-color 0.35s var(--ease-out);
}

.tile:last-child { border-bottom: none; }

.tile svg {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--cream);
  transition: transform 0.4s var(--ease-out);
}

.tile span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
  font-weight: 500;
}

.tile:hover {
  background: var(--bg-tertiary);
  color: var(--cream);
}

.tile:hover svg { transform: translateY(-2px) scale(1.12); }

.tile.active {
  background: var(--bg-elevated);
  color: var(--cream);
  border-left-color: var(--gold);
}

.tile.active svg { color: var(--gold); }

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

.nav-logo {
  width: 36px;
  height: 36px;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--cream);
  color: var(--bg-deep);
  padding: 0.7rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 20px; }

.nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 1.25rem 1.5rem; }
  .site-header.scrolled .nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    font-size: 1.25rem;
  }
}

/* ───────── HERO ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 3rem 4rem;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-eyebrow-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 2rem;
  position: relative;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease-out);
}

.hero-title-line.italic span {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-display);
}

.loaded .hero-title-line span {
  transform: translateY(0);
}

.loaded .hero-title-line:nth-child(2) span { transition-delay: 0.15s; }
.loaded .hero-title-line:nth-child(3) span { transition-delay: 0.3s; }

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  max-width: 500px;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s 0.7s var(--ease-out), transform 1s 0.7s var(--ease-out);
}

.loaded .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s 0.85s var(--ease-out), transform 1s 0.85s var(--ease-out);
}

.loaded .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--cream);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--cream);
  background: rgba(245, 241, 232, 0.05);
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out);
  font-size: 1.1em;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-floating-logo {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 35vw;
  max-width: 600px;
  opacity: 0.08;
  pointer-events: none;
  animation: floatLogo 8s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-52%) rotate(2deg); }
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 1s 1.2s var(--ease-out);
}

.loaded .hero-scroll {
  opacity: 1;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2.5s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@media (max-width: 900px) {
  .hero { padding: 9rem 1.5rem 4rem; }
  .hero-floating-logo { width: 60vw; opacity: 0.05; right: -10%; }
  .hero-scroll { left: 1.5rem; bottom: 1.5rem; }
}

/* ───────── SECTION COMMONS ───────── */
.section {
  position: relative;
  padding: var(--space-xxl) 3rem;
  z-index: 1;
}

@media (max-width: 900px) {
  .section { padding: 6rem 1.5rem; }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 200px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 3rem;
  max-width: 1100px;
}

.section-title .italic {
  font-style: italic;
  color: var(--gold);
}

/* ───────── REVEAL ANIMATION ───────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ───────── MANIFEST SECTION ───────── */
.manifest {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

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

@media (max-width: 900px) {
  .manifest-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.manifest-intro {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
  color: var(--cream);
}

.manifest-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.manifest-text p + p {
  margin-top: 1.5rem;
}

.manifest-text strong {
  color: var(--cream);
  font-weight: 400;
}

/* ───────── STATS ───────── */
.stats {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

.stat-item {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1rem;
  font-feature-settings: "lnum" 1;
}

.stat-num .stat-plus {
  color: var(--gold);
  font-size: 0.6em;
  vertical-align: top;
  margin-left: 0.1em;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ───────── SERVICIOS ───────── */
.servicios {
  background: var(--bg-primary);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.servicio-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.servicio-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-tertiary);
}

.servicio-card:hover::before {
  opacity: 0.5;
}

.servicio-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.servicio-icon {
  margin-bottom: 1.5rem;
  width: 48px;
  height: 48px;
  color: var(--cream);
  transition: transform 0.5s var(--ease-out);
}

.servicio-card:hover .servicio-icon {
  transform: scale(1.1) rotate(-5deg);
}

.servicio-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.servicio-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: auto;
}

/* ───────── MARQUEE (clients ticker) ───────── */
.marquee {
  background: var(--bg-deep);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  gap: 4rem;
  align-items: center;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.marquee-item .italic {
  color: var(--gold);
  font-style: italic;
}

.marquee-item::after {
  content: '✦';
  color: var(--gold);
  font-size: 0.5em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ───────── EXPERIENCIA / TRUST (clients + brands + events) ───────── */
.experiencia {
  background: var(--bg-primary);
}

.experiencia-block {
  margin-bottom: 6rem;
}

.experiencia-block:last-child {
  margin-bottom: 0;
}

.experiencia-label {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.experiencia-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 3rem;
}

.experiencia-item {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.1;
  color: var(--cream);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.experiencia-item:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

/* ───────── FLOTA ───────── */
.flota {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.flota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .flota-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.flota-visual {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flota-visual-placeholder {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}

.flota-visual svg {
  width: 80%;
  max-width: 500px;
  height: auto;
  color: var(--cream);
}

.flota-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.flota-content h3 .italic {
  font-style: italic;
  color: var(--gold);
}

.flota-content > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.flota-specs {
  list-style: none;
  border-top: 1px solid var(--border);
}

.flota-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.flota-specs li span:first-child {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.flota-specs li span:last-child {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* ───────── CONTACTO ───────── */
.contacto {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.contacto-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 5rem;
}

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

@media (max-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-block {
  border-top: 1px solid var(--border-strong);
  padding-top: 2rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s var(--ease-out);
}


.contact-link::after {
  content: '→';
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
  color: var(--gold);
  opacity: 0;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-link:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

.contact-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ───────── FOOTER ───────── */
.footer {
  background: var(--bg-deep);
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .footer { padding: 4rem 1.5rem 2rem; }
}

.footer-big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 13rem);
  line-height: 0.85;
  color: var(--cream);
  letter-spacing: -0.04em;
  margin-bottom: 4rem;
  overflow: hidden;
}

.footer-big .italic {
  color: var(--gold);
  font-style: italic;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  display: block;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ───────── LÍNEAS ───────── */
.lineas {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.lineas-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 3.5rem;
}

.lineas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .lineas-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.linea-card {
  position: relative;
  padding: 2.75rem 2.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  scroll-margin-top: 160px;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
}

.linea-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.linea-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-tertiary);
}

.linea-card:hover::before { opacity: 0.5; }

.linea-icon {
  width: 40px;
  height: 40px;
  color: var(--cream);
  margin-bottom: 1.5rem;
  transition: transform 0.5s var(--ease-out);
}

.linea-card:hover .linea-icon { transform: translateY(-2px) scale(1.08); }

.linea-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.25rem;
}

.linea-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.linea-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ───────── NOVEDADES ───────── */
.novedades {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.novedades-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
  padding: 3.5rem;
  max-width: 720px;
}

@media (max-width: 900px) {
  .novedades-card { padding: 2.5rem 1.75rem; }
}

.novedades-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.75rem;
}

.novedades-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ───────── UTILITIES ───────── */
.italic { font-style: italic; }
.gold { color: var(--gold); }
.cream { color: var(--cream); }

/* ───────── SCROLL MARGIN (anchors under fixed header) ───────── */
[id] { scroll-margin-top: 120px; }

/* ═══════════════════════════════════════════════
   LAYOUT DE DOS COLUMNAS + SISTEMA DE PÁGINAS
   ═══════════════════════════════════════════════ */
:root {
  --header-h: 84px;
  --sidebar-w: 132px;
  --strip-h: 0px;
}

/* El contenido se desplaza con PADDING en sus propias cajas
   (no depende del margin de main + sidebar fija). --content-gap
   deja aire entre la barra vertical y el contenido. */
:root { --content-gap: 3.5rem; }

main {
  margin-left: 0;
  padding-top: calc(var(--header-h) + var(--strip-h));
  position: relative;
  z-index: 1;
}

.footer {
  margin-left: 0;
  padding-left: calc(var(--sidebar-w) + var(--content-gap));
}

/* Páginas: solo una visible a la vez */
.page { display: none; }
.page.active { display: block; }

/* En Home: ocultar footer (landing = hero + marquee) */
body.is-home .footer { display: none; }

/* Hero ocupa el alto de viewport disponible y despeja la barra */
.hero {
  min-height: calc(100vh - var(--header-h) - var(--strip-h));
  padding: 4rem 3rem 4rem calc(var(--sidebar-w) + var(--content-gap));
}

/* Secciones internas: despejan la barra vertical a la izquierda */
.page .section {
  padding-left: calc(var(--sidebar-w) + var(--content-gap));
  padding-right: 3rem;
}

.page:not(.page-home) .section {
  padding-top: 4.5rem;
  padding-bottom: 7rem;
  min-height: calc(100vh - var(--header-h) - 7rem);
}

/* ───────── PÁGINAS DE LÍNEA (placeholder) ───────── */
.linea-page { max-width: 900px; }

.linea-page-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.75rem;
}

.linea-page-lead {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2rem;
}

.linea-page-note {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

.linea-page-note a {
  color: var(--gold);
  border-bottom: 1px solid var(--border-strong);
}

.linea-page-note a:hover { color: var(--cream); }

/* Estado activo en la navegación superior */
.nav-links a.active { color: var(--cream); }
.nav-links a.active::after { width: 100%; }

/* ───────── RESPONSIVE: sidebar horizontal en móvil ───────── */
@media (max-width: 900px) {
  :root {
    --header-h: 76px;
    --sidebar-w: 0px;
    --strip-h: 66px;
  }

  .sidebar {
    top: var(--header-h);
    left: 0;
    right: 0;
    height: auto;
    width: auto;
    flex-direction: row;
    padding-top: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-strong);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sidebar::-webkit-scrollbar { display: none; }

  .tile {
    flex: 0 0 auto;
    min-width: 84px;
    min-height: 0;
    height: var(--strip-h);
    gap: 0.35rem;
    padding: 0.5rem 0.4rem;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid var(--border);
  }

  .tile:last-child { border-right: none; }

  .tile.active {
    border-left: none;
    border-bottom: 3px solid var(--gold);
  }

  .tile svg { width: 24px; height: 24px; }
  .tile span { font-size: 0.54rem; letter-spacing: 0.1em; }

  /* En móvil la barra es horizontal: sin desplazamiento lateral */
  .hero { padding: 3rem 1.5rem; }
  .page .section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .footer { padding-left: 1.5rem; }
}

/* ═══════════════════════════════════════════════
   RESPALDO A PRUEBA DE FALLOS (escritorio): despeje
   fijo de la barra vertical, sin variables ni calc.
   ═══════════════════════════════════════════════ */
@media (min-width: 901px) {
  .hero { padding-left: 176px; }
  .page .section { padding-left: 176px; }
  .footer { padding-left: 176px; }
}
