/* V2.2 brand alignment overrides */
.hero {
  min-height: calc(100svh - 68px);
  background: var(--purple);
}
.hero::after { display: none; }
.hero-bg-lines {
  opacity: .34;
  background-position: 52% 58%;
  background-size: min(900px, 78vw) auto;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 5rem);
  line-height: .94;
  letter-spacing: -.04em;
}
.hero-lead { max-width: 610px; }
.hero-visual { min-height: 455px; }
.hero-car { width: min(560px, 43vw); }
.hero-brand-lines {
  position: absolute;
  z-index: 1;
  left: -12%;
  bottom: 14%;
  width: 116%;
  max-width: none;
  opacity: .34;
  mix-blend-mode: screen;
  pointer-events: none;
}
.route-line { display: none; }

.about-grid h2,
.routes-heading h2,
.steps-copy h2,
.signup-copy h2,
.community-section h2,
.faq-heading h2,
.route-panel-copy h2,
.route-panel-card h3 {
  letter-spacing: -.025em;
}
.about-grid h2 { font-size: clamp(1.85rem, 3.6vw, 3.9rem); line-height: 1; }
.steps-copy h2 { font-size: clamp(1.9rem, 3.3vw, 3.65rem); line-height: 1; }
.signup-copy h2 { font-size: clamp(2rem, 3.8vw, 4.15rem); line-height: .98; }
.community-section h2 { font-size: clamp(1.9rem, 3.2vw, 3.25rem); line-height: 1.02; }
.faq-heading h2 { font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: .95; }

.balloon-motion {
  position: relative;
  min-height: clamp(320px, 42vw, 520px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--deep-purple);
  background: #9ec9df;
}
.balloon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.balloon-object {
  position: absolute;
  left: clamp(38px, 14vw, 220px);
  bottom: clamp(24px, 5vw, 74px);
  width: clamp(96px, 13vw, 188px);
  filter: drop-shadow(0 22px 30px rgba(16,44,70,.28));
  animation: balloon-float 6s ease-in-out infinite;
}
.balloon-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-left: min(34vw, 420px);
}
.balloon-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--deep-purple);
  font-size: clamp(1.85rem, 3.3vw, 3.65rem);
  line-height: 1;
  letter-spacing: -.025em;
}
@keyframes balloon-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, -18px, 0); }
}

.routes-horizontal {
  background: var(--pink);
}
.route-panel-intro { background: var(--pink); }
.route-panel-card.capital { background: var(--purple); }
.route-panel-card.mercado { background: var(--pink); }
.route-panel-card.digital { background: var(--green); }
.route-panel-card.talento { background: var(--deep-purple); }
.route-panel::before {
  inset: 10% -18% auto;
  height: 14px;
  background: rgba(255,255,255,.72);
  box-shadow:
    0 74px 0 rgba(255,255,255,.52),
    0 148px 0 rgba(255,255,255,.36),
    0 222px 0 rgba(255,255,255,.24);
  transform: rotate(-10deg);
  animation: white-lines-motion 8s linear infinite alternate;
}
@keyframes white-lines-motion {
  from { transform: translateX(-4vw) rotate(-10deg); }
  to { transform: translateX(5vw) rotate(-10deg); }
}
.route-panel-copy h2 {
  font-size: clamp(2.2rem, 4.35vw, 4.9rem);
  line-height: .95;
}
.route-panel-copy p:not(.eyebrow) { max-width: 580px; }
.route-panel-visual img { width: min(600px, 48vw); }
.route-panel-card h3 {
  max-width: 600px;
  font-size: clamp(2.1rem, 4.3vw, 4.7rem);
  line-height: .95;
}
.route-panel-card p { max-width: 500px; }
.route-panel-card::after {
  display: none;
}
.route-panel-card .logo-cluster {
  position: absolute;
  z-index: 3;
  right: clamp(42px, 9vw, 140px);
  top: 50%;
  width: min(390px, 31vw);
  transform: translateY(-50%);
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 28px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 24px 58px rgba(0,0,0,.14);
}
.route-panel-card .logo-cluster span {
  min-height: 52px;
  min-width: 112px;
  border-radius: 14px;
  background: var(--white);
  color: var(--deep-purple);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  font-size: .9rem;
}

.train-motion {
  position: relative;
  height: clamp(150px, 17vw, 245px);
  overflow: hidden;
  background: #161616;
}
.train-motion img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  animation: train-advance 9s ease-in-out infinite alternate;
}
@keyframes train-advance {
  from { transform: translateX(calc(-50% - 90px)); }
  to { transform: translateX(calc(-50% + 90px)); }
}

.community-section {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--pink);
}
.community-brand-lines {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  width: 100%;
  max-width: none;
  opacity: .5;
  pointer-events: none;
}
.community-section > div,
.community-section .social-row { position: relative; z-index: 2; }

@media (max-width: 1040px) {
  .hero-car { width: min(560px, 82vw); }
  .route-panel-card .logo-cluster {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(520px, 100%);
    margin-top: 26px;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(2.15rem, 10.5vw, 3.4rem); }
  .hero-visual { min-height: 250px; }
  .hero-brand-lines { display: none; }
  .balloon-copy { padding-left: 0; padding-top: 160px; padding-bottom: 40px; }
  .balloon-object { top: 28px; bottom: auto; }
  .route-panel::before { opacity: .32; }
  .route-panel-card .logo-cluster { padding: 16px; }
  .route-panel-card .logo-cluster span { min-width: auto; min-height: 42px; }
  .train-motion { height: 150px; }
}

/* Real partner logos */
.route-panel-card .logo-cluster .partner-logo-chip {
  min-height: 64px;
  min-width: 132px;
  padding: 10px 14px;
}
.partner-logo-chip img {
  display: block;
  width: 100%;
  max-width: 128px;
  height: 44px;
  object-fit: contain;
}
.route-panel-card .logo-cluster .partner-logo-text {
  color: var(--deep-purple);
  font-weight: 900;
}
@media (max-width: 760px) {
  .route-panel-card .logo-cluster .partner-logo-chip { min-width: 96px; min-height: 46px; }
  .partner-logo-chip img { max-width: 100px; height: 30px; }
}
