/* ==========================================================
   Skyfleeter — Redesign 2025
   ========================================================== */

/* ----------------------------------------------------------
   Tokens
   ---------------------------------------------------------- */
:root {
  --blue:        #29ABE2;
  --blue-dark:   #1a8ab8;
  --blue-darker: #0d6b90;
  --blue-faint:  #f0f9ff;

  --ink:         #0f172a;
  --ink-2:       #1e293b;
  --ink-3:       #475569;
  --ink-4:       #94a3b8;

  --surface:     #ffffff;
  --surface-2:   #f8fafc;
  --surface-3:   #f1f5f9;
  --border:      #e2e8f0;

  --dark-bg:     #0b1120;
  --dark-card:   rgba(255,255,255,0.05);
  --dark-border: rgba(255,255,255,0.10);

  --s-xs: 0 1px 2px rgba(15,23,42,.06);
  --s-sm: 0 2px 8px  rgba(15,23,42,.08);
  --s-md: 0 4px 20px rgba(15,23,42,.10);
  --s-lg: 0 8px 40px rgba(15,23,42,.12);
  --s-xl: 0 20px 60px rgba(15,23,42,.16);
  --s-blue: 0 8px 28px rgba(41,171,226,.30);

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-pill: 9999px;

  --font-brand: 'Antonio', sans-serif;
  --font-body:  'Poppins', sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ----------------------------------------------------------
   Reset / Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section { margin-top: 0; padding: 6rem 2rem; }

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

a { transition: color .2s var(--ease); }

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1.6rem;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  transition: all .22s var(--ease);
}

/* Arrow icon slides right on hover */
.btn .bi-arrow-right {
  transition: transform .22s var(--ease);
}
.btn:hover .bi-arrow-right {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}
.btn-primary:hover {
  background: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
  box-shadow: 4px 4px 0 var(--blue-darker);
  transform: translate(-2px, -2px);
}

.btn-outline-primary {
  background: transparent !important;
  color: var(--blue) !important;
  border-color: var(--blue) !important;
}
.btn-outline-primary:hover {
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 4px 4px 0 var(--blue-darker);
  transform: translate(-2px, -2px);
}

.btn-ghost {
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.35) !important;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.7) !important;
  box-shadow: 4px 4px 0 rgba(255,255,255,.15);
  transform: translate(-2px, -2px);
}

.btn-home {
  padding: .875rem 2.25rem;
  font-size: 1rem;
  margin-top: 2.25rem;
}

.btn-contactanos-navbar {
  font-size: .78rem !important;
  padding: .42rem 1rem !important;
}

.btn-app-navbar {
  font-size: .78rem !important;
  padding: .42rem 1rem !important;
  background: transparent !important;
  color: rgba(255,255,255,.88) !important;
  border-color: rgba(255,255,255,.35) !important;
}
.btn-app-navbar:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: #fff !important;
  color: #fff !important;
}
.navbar.scrolled .btn-app-navbar {
  color: var(--blue) !important;
  border-color: var(--blue) !important;
}
.navbar.scrolled .btn-app-navbar:hover {
  background: var(--blue) !important;
  color: #fff !important;
}

/* ----------------------------------------------------------
   Navbar
   ---------------------------------------------------------- */
.navbar {
  padding: 1.2rem 2.5rem;
  z-index: 1100;
  transition: all .3s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--s-sm);
  padding: .7rem 2.5rem;
}

.navbar-toggler { border: none; outline: none; box-shadow: none !important; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-white  { filter: brightness(0) invert(1); }

/* Mobile nav dropdown */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(11,17,32,.97);
    backdrop-filter: blur(16px);
    padding: 1rem 1.5rem 1.5rem;
    margin-top: .5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
  }
  .navbar-collapse .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .75rem !important;
  }
  .navbar.scrolled .navbar-collapse {
    background: rgba(255,255,255,.97);
    border-color: var(--border);
  }
  .navbar.scrolled .navbar-collapse .btn-app-navbar {
    color: var(--blue) !important;
    border-color: var(--blue) !important;
  }
  .navbar.scrolled .navbar-toggler .toggler-white {
    filter: brightness(0);
  }
}

/* ----------------------------------------------------------
   Brand / Navbar brand
   ---------------------------------------------------------- */
.sky-text, .fleeter-text {
  font-family: var(--font-brand);
  letter-spacing: .1px;
  font-style: oblique;
}

/* Navbar brand — oculto en el hero, visible al hacer scroll */
.navbar-brand {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.navbar-brand .sky-text     { color: var(--blue); }
.navbar-brand .fleeter-text { color: #fff; }
.navbar-brand .brand-r      { color: #fff; font-size: .55em; vertical-align: top; }

.navbar.scrolled .navbar-brand {
  opacity: 1;
  pointer-events: auto;
}
.navbar.scrolled .navbar-brand .fleeter-text { color: var(--ink-2); }
.navbar.scrolled .navbar-brand .brand-r      { color: var(--ink-2); }

/* ----------------------------------------------------------
   Hero  — split layout
   ---------------------------------------------------------- */
.home-section {
  height: 100vh;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
}

/* Dark left panel — holds all text in normal flow */
.hero-left {
  width: 52%;
  flex-shrink: 0;
  background: var(--dark-bg);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 60%,
    rgba(41,171,226,.10) 0%,
    transparent 65%);
  pointer-events: none;
}

/* Content wrapper — vertical stack */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 7% 4rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow  { animation: heroFadeUp .8s cubic-bezier(.4,0,.2,1) .2s both; }
.hero-brand    { animation: heroFadeLeft 1s cubic-bezier(.4,0,.2,1) .05s both; }
.hero-subtitle { animation: heroFadeUp 1s cubic-bezier(.4,0,.2,1) .4s both; }
.hero-actions  { animation: heroFadeUp 1s cubic-bezier(.4,0,.2,1) .6s both; }
.hero-stats    { animation: heroFadeUp 1s cubic-bezier(.4,0,.2,1) .8s both; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-brand, .hero-subtitle, .hero-actions, .hero-stats {
    animation: none;
  }
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-style: italic;
  line-height: .95;
  margin: 0 0 1.5rem;
  user-select: none;
}
.hero-brand .sky-text     { color: var(--blue); }
.hero-brand .fleeter-text { color: #fff; }
.hero-brand .brand-r      { color: #fff; font-size: .4em; vertical-align: top; }

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.76);
  max-width: 440px;
  margin: 0 0 2rem;
}
.hero-subtitle strong { color: #fff; font-weight: 600; }

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

/* Stats bar — in flow at bottom of content */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  margin-top: auto;
}
.hero-stat {
  flex: 1;
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat-number {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-stat-label {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  line-height: 1.35;
}

/* Full-color image right panel */
.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-right::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, var(--dark-bg) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,.15);
  z-index: 1;
  pointer-events: none;
}

/* ----------------------------------------------------------
   Features Showcase  (single tabbed section)
   ---------------------------------------------------------- */
.features-showcase {
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-showcase__header {
  text-align: center;
  max-width: 680px;
  margin-bottom: 3rem;
}
.features-showcase__header h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.features-showcase__header p {
  font-size: 1rem;
  color: var(--ink-3);
}

/* Tab bar */
.features-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  padding: .4rem;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--s-sm);
  border: 1px solid var(--border);
}

.feature-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-3);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: .6rem 1.3rem;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.feature-tab i,
.feature-tab .tab-icon {
  font-size: 1rem;
  width: 18px;
  height: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  flex-shrink: 0;
}
.feature-tab:hover {
  color: var(--blue);
  background: var(--blue-faint);
}
.feature-tab.active {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--s-blue);
}
.feature-tab img.tab-icon {
  filter: brightness(0) opacity(.55);
}
.feature-tab.active img.tab-icon {
  filter: brightness(0) invert(1);
}

/* Panels */
.features-panels {
  width: 100%;
  max-width: 1100px;
  display: grid;
}

.feature-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.feature-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: panelIn .4s var(--ease) both;
}

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

/* Panel image */
.feature-panel__image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-panel__image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

/* Panel content */
.feature-panel__content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
  line-height: 1.2;
}
.feature-panel__content h2 span { color: var(--blue); }

.feature-panel__content h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.feature-panel__content p {
  font-size: .97rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feature-panel__content .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.feature-panel__content .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.feature-panel__content .feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  background-image: url('/img/flechas-horizontal.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-panel__content a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(41,171,226,.35);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.feature-panel__content a:hover {
  color: var(--blue-dark);
  border-bottom-color: var(--blue-dark);
}

/* feature-list also used in old CSS, keep compatible */
.feature-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ----------------------------------------------------------
   Modules Section  (DARK)
   ---------------------------------------------------------- */
.modules-section {
  background: var(--dark-bg);
  color: #fff;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 5rem !important;
}

/* Header strip inside modules */
.modules-section .section-header {
  width: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.modules-header-text {
  padding: 3.5rem 6%;
  z-index: 2;
  max-width: 55%;
}
.modules-header-img {
  flex: 1;
  height: 360px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.modules-header-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .7;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.8) 100%);
  mask-image:         linear-gradient(90deg,transparent 0%,rgba(0,0,0,.8) 100%);
}

.modules-section .section-header h2 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.modules-section .section-header p {
  color: rgba(255,255,255,.85);
  text-align: left !important;
  font-size: .97rem;
  line-height: 1.75;
  width: 100%;
}

/* Modules body */
.modules-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  padding: 3.5rem 2rem;
}

.modules-content { flex: 1; min-width: 280px; max-width: 460px; }

.modules-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.module-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .3s var(--ease);
  border: 1px solid var(--dark-border);
}
.module-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.module-item.active {
  background: rgba(41,171,226,.12);
  border-color: var(--blue);
  border-left: 4px solid var(--blue);
  box-shadow: 0 4px 20px rgba(41,171,226,.18);
}
.module-item i { flex-shrink: 0; }
.module-item h3 {
  margin: 0;
  font-size: .97rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.module-item p {
  margin: 3px 0 0;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* App screenshot */
.modules-image {
  flex: 1;
  max-width: 660px;
  min-width: 280px;
  position: relative;
}
.tap-indicator { display: none; }

.modules-image img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px rgba(41,171,226,.2),
              0 24px 64px rgba(0,0,0,.5),
              0 0 80px rgba(41,171,226,.08);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.modules-image img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(41,171,226,.3),
              0 32px 80px rgba(0,0,0,.55),
              0 0 100px rgba(41,171,226,.12);
}

/* ----------------------------------------------------------
   Mobile App Section
   ---------------------------------------------------------- */
.mobile-app-section {
  background: var(--surface-2);
  overflow: hidden;
}

.mobile-app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-app-content h2 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
.mobile-app-content h2 span { color: var(--blue); }

.mobile-app-desc {
  color: var(--ink-3);
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  padding: .8rem 1.1rem;
  background: var(--blue-faint);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
}

.mobile-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.mobile-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .22s var(--ease);
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.mobile-feature:hover {
  border-color: rgba(41,171,226,.3);
  box-shadow: var(--s-sm);
  transform: translateX(4px);
}

.mobile-feature__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--blue-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--blue);
}
.mobile-feature h3 {
  margin: 0 0 .15rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.mobile-feature p {
  margin: 0;
  font-size: .82rem;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.3rem;
  background: var(--ink);
  color: #fff !important;
  border-radius: var(--r-md);
  text-decoration: none !important;
  transition: all .22s var(--ease);
  min-width: 148px;
}
.store-badge:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--s-md);
}
.store-badge i { font-size: 1.5rem; flex-shrink: 0; }
.store-badge__small {
  display: block;
  font-size: .62rem;
  opacity: .7;
  line-height: 1;
}
.store-badge__large {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Phone mockups */
.mobile-app-phones {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

.phone-mockup {
  position: absolute;
  width: 255px;
  height: 530px;
  background: #0f172a;
  border-radius: 40px;
  border: 8px solid #1e293b;
  box-shadow:
    0 0 0 2px #334155,
    0 30px 80px rgba(15,23,42,.35),
    inset 0 0 0 1px rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.phone-mockup--primary {
  position: relative;
  z-index: 2;
  transform: rotate(2deg);
  transition: transform .35s var(--ease);
}
.phone-mockup--primary:hover { transform: rotate(0deg) translateY(-6px); }

.phone-mockup--secondary {
  position: absolute;
  left: -30px;
  top: 35px;
  z-index: 1;
  transform: rotate(-6deg);
  opacity: .65;
}

.phone-island {
  width: 88px;
  height: 24px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  flex-shrink: 0;
  z-index: 3;
}
.phone-island--overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: unset;
  z-index: 10;
}
.phone-screen {
  flex: 1;
  width: 100%;
  background: linear-gradient(145deg, #162040 0%, #0a1525 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  pointer-events: none;
}
.phone-placeholder i { font-size: 2.2rem; color: rgba(41,171,226,.4); }
.phone-placeholder span { font-size: .75rem; font-weight: 600; }
.phone-placeholder .placeholder-note {
  font-size: .63rem;
  background: rgba(41,171,226,.15);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: var(--r-pill);
}
.phone-home-bar {
  width: 95px;
  height: 4px;
  background: rgba(255,255,255,.22);
  border-radius: var(--r-pill);
  margin: 10px 0;
  flex-shrink: 0;
}

.phone-carousel {
  position: absolute;
  inset: 0;
}
.phone-carousel .phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .7s ease;
}
.phone-carousel .phone-slide.active { opacity: 1; }

/* ----------------------------------------------------------
   Partners & Clients — nuevo diseño
   ---------------------------------------------------------- */
.nuestras-marcas-section {
  background: #e0e0e0 !important;
  padding: 5.5rem 2rem 4rem !important;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.25;
}
.section-header p {
  font-size: 1rem;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 auto;
}

/* UMI — bloque destacado independiente */
.umi-featured {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Partner logo grid — 6 socios, 3×2 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--s-md);
  border: 1px solid var(--border);
  padding: 14px;
  transition: all .28s var(--ease);
  cursor: default;
  overflow: hidden;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 36px rgba(41,171,226,.15);
  border-color: rgba(41,171,226,.3);
}
.partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Divisor "Nuestros clientes" */
.clients-divider {
  position: relative;
  text-align: center;
  max-width: 1100px;
  margin: 3.5rem auto 2.5rem;
}
.clients-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.clients-divider span {
  position: relative;
  background: #e0e0e0;
  padding: 0 1.5rem;
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Doble carrusel */
.clients-marquee {
  overflow: hidden;
  width: 100%;
  display: flex;
  padding: 8px 0;
  flex-direction: column;
  gap: .85rem;
}

.marquee-row { overflow: visible; width: 100%; }

.marquee-inner {
  display: flex;
  gap: 1.25rem;
  width: fit-content;
}

.marquee-row--forward  .marquee-inner { animation: mForward 28s linear infinite; }
.marquee-row--reverse  .marquee-inner { animation: mReverse 28s linear infinite; }
.marquee-row:hover     .marquee-inner { animation-play-state: paused; }

@keyframes mForward {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes mReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Logo cards (used in marquee rows) */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px; height: 82px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--s-sm);
  border: 1px solid var(--border);
  padding: 11px;
  transition: all .25s var(--ease);
  flex-shrink: 0;
}
.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s-md);
  border-color: rgba(41,171,226,.22);
}
.logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Special logo sizing */
.umi-logo img  { max-width: 82% !important; max-height: 82% !important; object-fit: contain !important; }
.dieselcop img { max-width: 70% !important; }
.diparvel img  { max-width: 50% !important; }

/* UMI — socio principal destacado */
.partner-card.umi-logo {
  width: 280px;
  height: 128px;
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 5px rgba(41,171,226,.12), var(--s-md);
}
.hylsa img     { object-fit: cover !important; max-width: 120% !important; min-width: 120% !important; }
.unik img      { object-fit: cover !important; max-width: 120% !important; min-width: 120% !important; }

/* ----------------------------------------------------------
   Presencia Regional
   ---------------------------------------------------------- */
.map-section {
  background: #e0e0e0;
  padding: 6rem 2rem;
}

.presencia-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Left: text + stats */
.presencia-text { display: flex; flex-direction: column; }

.section-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .75rem;
}

.presencia-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

.presencia-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-3);
  margin: 0 0 2.5rem;
  max-width: 460px;
}

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

.stat-item {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--blue);
  box-shadow: var(--s-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--s-md);
}

.stat-number {
  display: block;
  font-family: var(--font-brand);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  font-style: italic;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .78rem;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1.45;
}

/* Right: map — no wrapper needed, blends with section bg */
.presencia-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.presencia-map img {
  width: 100%;
  max-width: 580px;
  display: block;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
footer {
  background-color: var(--ink);
  background-image: url('/img/footer img.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: #fff;
}

/* CTA strip */
.footer-cta {
  background-color: var(--ink-2);
  border-top: 3px solid var(--blue);
  border-bottom: 2rem solid #e0e0e0;
  padding: 3rem 2rem;
}
.footer-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta__label {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 .4rem;
}
.footer-cta__sub {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

/* Main footer grid */
.footer-main {
  padding: 4rem 2rem 3rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 3.5rem;
}

.footer-col__title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

/* Brand col */
.footer-brand {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 2rem;
  text-decoration: none !important;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-brand .sky-text     { color: var(--blue); }
.footer-brand .fleeter-text { color: #fff; }
.footer-brand .brand-r      { color: #fff; font-size: .45em; vertical-align: top; }

.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  text-decoration: none !important;
  transition: all .22s var(--ease);
}
.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Links col */
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer-links li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.footer-links .bi {
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

/* Form col */
form { margin-top: 0; }
footer .form-control {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-2);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .88rem;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  display: block;
}
footer .form-control:focus {
  background: #fff;
  border-color: var(--blue);
  color: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(41,171,226,.2);
  outline: none;
}
footer .form-control::placeholder { color: var(--ink-4); }

footer form .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .25rem;
}

/* Copyright bar */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bar p { font-size: .78rem; color: rgba(255,255,255,.35); margin: 0; }
.footer-bar a {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
}
.footer-bar a:hover { color: var(--blue); }

#formAlert { font-size: .875rem; text-align: center; }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / 3; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--brand { grid-column: auto; }
  .footer-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------
   WhatsApp button
   ---------------------------------------------------------- */
.whatsapp-button {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-button:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.whatsapp-button img { width: 28px; height: 28px; }

/* ----------------------------------------------------------
   Modal zoom
   ---------------------------------------------------------- */
.zoom-container { overflow: auto; text-align: center; }
.zoomable-image {
  cursor: zoom-in;
  transition: transform .3s ease, width .3s ease;
  max-height: 85vh;
  width: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
}
.zoomable-image.zoomed {
  width: 250%; max-width: none; max-height: none;
  cursor: zoom-out; object-fit: cover;
}
@media (min-width: 768px) {
  .zoomable-image.zoomed { width: 150%; }
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1083px) {
  .modules-section .section-header { flex-direction: column; }
  .modules-header-text { max-width: 100%; padding: 3rem 8%; text-align: center; }
  .modules-header-img  { display: none; }
  .modules-section .section-header h2 { font-size: 2.4rem; }
  .modules-section .section-header p  { text-align: center !important; }
  .presencia-inner { grid-template-columns: 1fr; gap: 3rem; }
  .presencia-map { order: -1; }
}

@media (max-width: 1024px) {
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .feature-panel__image::before { display: none; }
  .feature-panel__image img { max-height: 280px; margin: 0 auto; }
  .feature-panel__content h2 { font-size: 1.8rem; }
}

@media (max-width: 991px) {
  section { padding: 4rem 1.5rem; }

  /* Mobile hero: stack layout — show content over image */
  .home-section { display: block; position: relative; }

  /* Hide the dark panel; show only the image as full-bleed background */
  .hero-left {
    display: block;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 2;
    min-height: 100vh;
  }
  .hero-left::before { display: none; }

  .hero-content {
    padding: 7rem 1.5rem 3rem;
    background: linear-gradient(180deg, rgba(11,17,32,.92) 0%, rgba(11,17,32,.75) 70%, rgba(11,17,32,.55) 100%);
    min-height: 100vh;
  }

  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
  }
  .hero-right::before { display: none; }

  .hero-stats { gap: 0; }
  .hero-stat  { padding-right: .75rem; margin-right: .75rem; }
  .hero-stat-number { font-size: 1.4rem; }

  .btn-contactanos-navbar { font-size: 12px !important; }
  .btn-app-navbar         { font-size: 12px !important; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 1rem; }

  .features-showcase__header h2 { font-size: 1.875rem; }
  .features-tabs { gap: .3rem; padding: .3rem; }
  .feature-tab { font-size: .75rem; padding: .5rem .9rem; }
  .feature-tab span { display: none; }
  .feature-tab i, .feature-tab .tab-icon { font-size: 1.2rem; width: 22px; height: 22px; }

  .modules-section { padding-bottom: 2.5rem !important; }
  .modules-container {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }
  .modules-content { width: 100%; max-width: 100%; order: 2; }
  .modules-image {
    width: 100%; height: 55vw; max-width: 100%;
    order: 1; overflow: hidden; position: relative; padding-right: 0;
  }
  .modules-image img {
    width: 150%; height: 100%;
    object-fit: cover; object-position: left;
    border-radius: var(--r-md);
  }
  .tap-indicator {
    display: flex;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(41,171,226,.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px; font-weight: 600;
    pointer-events: none;
    align-items: center; gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    animation: pulse 2s infinite;
    z-index: 10; white-space: nowrap;
  }
  @keyframes pulse {
    0%   { transform: translate(-50%,-50%) scale(.95); box-shadow: 0 0 0 0 rgba(41,171,226,.7); }
    70%  { transform: translate(-50%,-50%) scale(1);   box-shadow: 0 0 0 10px rgba(41,171,226,0); }
    100% { transform: translate(-50%,-50%) scale(.95); box-shadow: 0 0 0 0 rgba(41,171,226,0); }
  }

  .modules-list { padding: 0 .5rem; }
  .module-item {
    flex-direction: column; text-align: center;
    padding: .875rem .75rem;
    border-left-width: 1px !important;
  }
  .module-item i { margin-right: 0 !important; }
  .module-item p { display: none; }
  .module-item h3 { font-size: .82rem; }

  .stat-number { font-size: 2rem; }

  .section-header h2 { font-size: 1.875rem; }
  .allies-container .logo-card { width: 110px; height: 72px; }
  .carousel-container { height: 140px; }

  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-content { padding: 6rem 1.25rem 2.5rem; }
  .hero-subtitle { font-size: .92rem; }
  .hero-stats { flex-wrap: wrap; gap: .75rem; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; min-width: 45%; }

  .features-tabs { gap: .25rem; }
  .feature-tab { padding: .5rem .75rem; }
  .feature-panel__content h2 { font-size: 1.6rem; }

  .modules-section .section-header h2 { font-size: 2rem !important; }
  .module-item i { font-size: 36px; }
  .module-item h3 { font-size: .78rem; }

  .stats-grid { gap: .75rem; }
  .stat-item { padding: 1.25rem .75rem; }
  .stat-number { font-size: 1.8rem; }

  .whatsapp-button { width: 48px; height: 48px; }
  .whatsapp-button img { width: 24px; height: 24px; }
}

/* Mobile App Section — responsive */
@media (max-width: 1083px) {
  .mobile-app-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .mobile-app-phones { min-height: 460px; }
}

@media (max-width: 768px) {
  .mobile-app-content h2 { font-size: 2rem; }
  .mobile-app-phones { min-height: 400px; }
  .phone-mockup { width: 210px; height: 440px; border-radius: 34px; }
  .phone-mockup--secondary { left: -15px; top: 25px; }
  .phone-island { width: 70px; height: 20px; border-radius: 0 0 13px 13px; }
  .store-badge { min-width: 130px; padding: .55rem 1rem; }
}

@media (max-width: 480px) {
  .mobile-app-phones { min-height: 340px; }
  .phone-mockup { width: 175px; height: 368px; border-radius: 28px; border-width: 6px; }
  .phone-mockup--secondary { left: -10px; top: 20px; }
  .store-badges { flex-direction: column; }
  .store-badge { min-width: 100%; }
}

/* ----------------------------------------------------------
   Tarifario CTA Strip
   ---------------------------------------------------------- */
.tarifario-cta-strip {
  background: linear-gradient(135deg, #29ABE2 0%, #1a8fc4 100%);
  border-top: 2rem solid #e0e0e0;
  border-bottom: 2rem solid #e0e0e0;
  padding: 2.5rem 2rem;
}

.tarifario-cta-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.tarifario-cta-strip__icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.tarifario-cta-strip__text { flex: 1; min-width: 200px; }

.tarifario-cta-strip__text h3 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.tarifario-cta-strip__text p {
  margin: 0;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

.tarifario-cta-strip__btn {
  white-space: nowrap;
  flex-shrink: 0;
  background: #fff !important;
  color: #0d2340 !important;
  border-color: #fff !important;
  font-weight: 600;
}

.tarifario-cta-strip__btn:hover {
  background: #0d2340 !important;
  color: #fff !important;
  border-color: #0d2340 !important;
}

@media (max-width: 600px) {
  .tarifario-cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .tarifario-cta-strip__btn { width: 100%; justify-content: center; }
}
