/* =====================================================================
   MAA TOURS & TRAVELS — Reimagined Editorial Landing Page
   ---------------------------------------------------------------------
   This file replaces the old web.css. It retains all required local
   fonts and JS hook compatibilities while delivering a modern, 
   brutalist/editorial layout with high contrast and geometric precision.
   ===================================================================== */


/* =====================================================================
   0a. FONT FACES — Local Outfit
   ===================================================================== */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Thin.woff2') format('woff2');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-ExtraLight.woff2') format('woff2');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}


/* =====================================================================
   0b. TOKENS
   ===================================================================== */
:root {
  --tx-bg-dark:    #0a0a0a;
  --tx-bg-light:   #f4f4f0;
  --tx-fg-dark:    #ffffff;
  --tx-fg-light:   #0a0a0a;
  
  --tx-accent:     #FFE600;
  --tx-gray-light: #888888;
  --tx-gray-dark:  #555555;
  --tx-line-light: rgba(0,0,0,0.1);
  --tx-line-dark:  rgba(255,255,255,0.15);

  --tx-ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
}


/* =====================================================================
   1. BASE
   ===================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body.taxi-landing {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--tx-fg-light);
  background: var(--tx-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.taxi-landing.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.tx-container {
  width: min(1360px, 92%);
  margin-inline: auto;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}


/* =====================================================================
   2. PRELOADER
   ===================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--tx-bg-dark);
  opacity: 1; visibility: visible;
  transition: opacity .6s var(--tx-ease), visibility .6s var(--tx-ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader-name {
  font-size: 28px; font-weight: 800; letter-spacing: .4em;
  color: var(--tx-fg-dark); padding-left: .4em;
}
.preloader-bar {
  width: 120px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0;
  background: var(--tx-accent);
  animation: plBar 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}
@keyframes plBar { to { width: 100%; } }


/* =====================================================================
   3. HEADER — Floating Dock
   ===================================================================== */
.tx-header {
  position: fixed;
  top: 24px; left: 0; right: 0;
  z-index: 900;
  transition: transform .4s var(--tx-ease);
  pointer-events: none;
}
.tx-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 16px 12px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.tx-brand { display: flex; align-items: center; gap: 12px; color: var(--tx-fg-dark); }
.tx-brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--tx-accent); color: var(--tx-bg-dark);
  display: grid; place-items: center;
}
.tx-brand-mark svg { width: 18px; height: 18px; }
.tx-brand-text strong { font-size: 14px; font-weight: 700; letter-spacing: .1em; }

.tx-nav { display: flex; align-items: center; }
.tx-nav-inner { display: flex; gap: 8px; }
.tx-nav a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7);
  transition: all .3s var(--tx-ease);
}
.tx-nav a em { font-style: normal; font-size: 9px; color: var(--tx-accent); opacity: 0; transform: translateY(4px); transition: all .3s var(--tx-ease); }
.tx-nav a:hover { color: var(--tx-fg-dark); background: rgba(255,255,255,.05); }
.tx-nav a:hover em { opacity: 1; transform: translateY(0); }

.tx-actions { display: flex; align-items: center; gap: 12px; }
.tx-btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 100px;
  background: var(--tx-accent); color: var(--tx-bg-dark);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  transition: transform .3s var(--tx-ease);
}
.tx-btn-call svg { width: 14px; height: 14px; }
.tx-btn-call:hover { transform: scale(1.05); }

.tx-btn-login {
  font-size: 13px; font-weight: 500; color: var(--tx-fg-dark);
  padding: 0 16px;
}
.tx-btn-login:hover { color: var(--tx-accent); }

.tx-menu {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; padding: 0 10px;
}
.tx-menu span {
  display: block; width: 100%; height: 1.5px; background: var(--tx-fg-dark);
  transition: transform .3s var(--tx-ease);
}
.tx-menu.is-active span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.tx-menu.is-active span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }


/* =====================================================================
   4. HERO — Brutalist
   ===================================================================== */
.tx-hero {
  background: var(--tx-bg-dark);
  color: var(--tx-fg-dark);
  padding: 160px 0 60px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.tx-hero-grid { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }

.tx-hero-top {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--tx-line-dark);
  padding-bottom: 16px;
}
.tx-kicker {
  font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--tx-gray-light);
}
.dark-kicker { color: var(--tx-gray-dark); }

.tx-hero-huge {
  font-size: clamp(3.5rem, 11vw, 10rem);
  line-height: 0.9; letter-spacing: -.04em; font-weight: 800;
  text-transform: uppercase; display: flex; flex-direction: column;
}
.tx-hero-huge .line { display: block; }
.tx-hero-huge .indent { margin-left: 12vw; }
.tx-hero-huge .highlight { color: var(--tx-accent); }
.tx-hero-huge .outline-text { -webkit-text-stroke: 2px var(--tx-fg-dark); }

.tx-hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  border-top: 1px solid var(--tx-line-dark); padding-top: 32px;
}
.tx-hero-lead { font-size: 1.1rem; line-height: 1.6; color: var(--tx-gray-light); max-width: 500px; }
.tx-hero-actions { display: flex; justify-content: flex-end; }

.tx-btn-primary {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 240px; height: 64px; padding: 0 24px;
  background: var(--tx-fg-dark); color: var(--tx-bg-dark);
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  border-radius: 0; transition: background .3s var(--tx-ease), color .3s var(--tx-ease);
}
.tx-btn-primary svg { width: 20px; height: 20px; transition: transform .3s var(--tx-ease); }
.tx-btn-primary:hover { background: var(--tx-accent); color: var(--tx-bg-dark); }
.tx-btn-primary:hover svg { transform: translateX(6px); }


/* =====================================================================
   5. TICKER — Diagonal Kinetic
   ===================================================================== */
.tx-ticker-wrapper {
  background: var(--tx-accent);
  padding: 24px 0; overflow: hidden;
  transform: translateY(-2px) rotate(-1.5deg);
  transform-origin: center;
  width: 105%; margin-left: -2.5%;
  position: relative; z-index: 10;
  border-top: 1px solid var(--tx-bg-dark); border-bottom: 1px solid var(--tx-bg-dark);
}
.tx-ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: txScroll 20s linear infinite;
}
.tx-ticker-track span {
  font-size: 24px; font-weight: 800; letter-spacing: .05em;
  color: var(--tx-bg-dark); text-transform: uppercase;
}
.tx-ticker-track span::after {
  content: "—"; margin-left: 48px; font-weight: 400; opacity: 0.3;
}
@keyframes txScroll { to { transform: translateX(-50%); } }


/* =====================================================================
   6. ABOUT
   ===================================================================== */
.tx-about { padding: 160px 0; background: var(--tx-bg-light); }
.tx-about-text {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 400;
  color: var(--tx-fg-light); max-width: 1200px; margin-top: 40px;
}
.tx-about-text em { font-style: italic; color: var(--tx-gray-dark); }
.tx-about-text strong { font-weight: 800; }


/* =====================================================================
   7. SERVICES — Hairline Grid
   ===================================================================== */
.tx-services { padding: 120px 0; background: var(--tx-bg-dark); color: var(--tx-fg-dark); }
.tx-section-head { margin-bottom: 60px; }
.tx-h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); text-transform: uppercase; letter-spacing: -.04em; margin-top: 20px; line-height: 0.9; }
.tx-h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--tx-accent); }

.tx-bento-wrapper { background: var(--tx-line-dark); border: 1px solid var(--tx-line-dark); }
.tx-bento {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
}
.tx-bento-card {
  background: var(--tx-bg-dark); padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 340px;
  transition: background .3s var(--tx-ease);
}
.tx-bento-card:hover { background: rgba(255,255,255,0.03); }
.tx-bento-yellow { background: var(--tx-accent); color: var(--tx-bg-dark); }
.tx-bento-yellow:hover { background: #e5cf00; }

.tx-bento-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.tx-bento-num { font-size: 14px; font-weight: 700; opacity: 0.5; }
.tx-bento-icon { width: 48px; height: 48px; display: grid; place-items: center; }
.tx-bento-icon svg { width: 32px; height: 32px; }

.tx-bento-content h3 { font-size: 2rem; margin-bottom: 16px; font-weight: 700; letter-spacing: -.02em; }
.tx-bento-content p { font-size: 1rem; color: var(--tx-gray-light); max-width: 400px; line-height: 1.6; }
.tx-bento-yellow .tx-bento-content p { color: rgba(0,0,0,0.7); }


/* =====================================================================
   8. STATS
   ===================================================================== */
.tx-stats { background: var(--tx-bg-dark); color: var(--tx-fg-dark); padding: 0 0 120px; }
.tx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--tx-line-dark); }
.tx-stat { padding: 40px 0; border-right: 1px solid var(--tx-line-dark); display: flex; flex-direction: column; align-items: center; text-align: center; }
.tx-stat:last-child { border-right: none; }
.tx-stat-num { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.tx-stat-num em { font-style: normal; color: var(--tx-accent); font-size: 0.7em; }
.tx-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--tx-gray-light); }


/* =====================================================================
   9. SPLIT LAYOUT SECTIONS (Fleet & Why)
   ===================================================================== */
.tx-fleet, .tx-why { padding: 140px 0; background: var(--tx-bg-light); border-bottom: 1px solid var(--tx-line-light); }
.tx-split-layout { display: grid; grid-template-columns: 4fr 6fr; gap: 60px; align-items: start; }
.tx-split-sticky { position: sticky; top: 140px; }

/* Fleet specific */
.tx-fleet-list { list-style: none; border-top: 2px solid var(--tx-fg-light); }
.tx-fleet-row {
  display: grid; grid-template-columns: 40px 1fr auto 40px; gap: 20px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--tx-line-light);
  cursor: pointer; transition: padding .4s var(--tx-ease);
}
.tx-fleet-row:hover { padding-left: 20px; padding-right: 20px; background: rgba(0,0,0,0.02); }
.tx-fleet-num { font-size: 12px; font-weight: 700; color: var(--tx-gray-dark); }
.tx-fleet-name { font-size: 1.8rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.tx-fleet-models { font-size: 14px; color: var(--tx-gray-dark); }
.tx-fleet-spec { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.tx-fleet-arrow svg { width: 24px; height: 24px; transition: transform .3s var(--tx-ease); }
.tx-fleet-row:hover .tx-fleet-arrow svg { transform: translateX(8px); }

/* Why specific */
.reverse-layout { grid-template-columns: 5fr 5fr; }
.tx-why-list { list-style: none; border-top: 2px solid var(--tx-fg-light); }
.tx-why-row { display: grid; grid-template-columns: 40px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--tx-line-light); }
.tx-why-num { font-size: 14px; font-weight: 800; color: var(--tx-gray-light); }
.tx-why-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.tx-why-desc { font-size: 1rem; color: var(--tx-gray-dark); line-height: 1.6; }


/* =====================================================================
   10. CTA
   ===================================================================== */
.tx-cta { background: var(--tx-bg-dark); color: var(--tx-fg-dark); padding: 140px 0; }
.tx-cta-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--tx-line-dark); padding-bottom: 16px; margin-bottom: 60px; }
.tx-cta-top .tx-kicker { color: var(--tx-gray-light); }
.tx-cta-huge { font-size: clamp(3rem, 10vw, 8rem); font-weight: 800; line-height: 0.9; margin-bottom: 60px; }
.tx-cta-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--tx-line-dark); padding-top: 40px; }
.tx-cta-lead { font-size: 1.1rem; color: var(--tx-gray-light); }
.tx-cta-actions { display: flex; align-items: center; gap: 32px; justify-content: flex-end; }
.tx-cta-btn { font-size: 2rem; font-weight: 700; color: var(--tx-accent); transition: color .3s; }
.tx-cta-btn:hover { color: var(--tx-fg-dark); }
.tx-cta-alt { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }


/* =====================================================================
   11. FOOTER
   ===================================================================== */
.tx-footer { background: var(--tx-bg-light); color: var(--tx-fg-light); padding: 80px 0 0; }
.tx-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.tx-footer-brand strong { font-size: 20px; font-weight: 800; letter-spacing: .05em; }
.tx-footer-brand p { margin-top: 16px; font-size: 14px; color: var(--tx-gray-dark); max-width: 260px; }

.tx-footer-col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 24px; color: var(--tx-gray-light); }
.tx-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tx-footer-col a, .tx-footer-col li { font-size: 14px; color: var(--tx-fg-light); opacity: 0.8; transition: opacity .3s; }
.tx-footer-col a:hover { opacity: 1; font-weight: 600; }

.tx-footer-mega { padding: 40px 0; overflow: hidden; border-top: 1px solid var(--tx-line-light); }
.tx-footer-mega span {
  display: block; font-size: clamp(4rem, 16vw, 15rem); font-weight: 900; line-height: 0.8;
  text-align: center; color: var(--tx-bg-dark); letter-spacing: -.05em;
}

.tx-footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--tx-line-light); font-size: 12px; color: var(--tx-gray-dark); }


/* =====================================================================
   12. REVEAL ANIMATIONS
   ===================================================================== */
.tx-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--tx-ease), transform 1s var(--tx-ease);
  will-change: opacity, transform;
}
.tx-reveal.is-in { opacity: 1; transform: none; }


/* =====================================================================
   13. RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .tx-hero-huge .indent { margin-left: 0; }
  .tx-hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .tx-hero-actions { justify-content: flex-start; }
  .tx-split-layout { grid-template-columns: 1fr; gap: 40px; }
  .tx-split-sticky { position: static; }
  .tx-stats-grid { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--tx-line-dark); }
  .tx-stat { border-bottom: 1px solid var(--tx-line-dark); }
  .tx-stat:nth-child(2) { border-right: none; }
  .tx-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tx-header-inner { padding: 10px 16px; }
  .tx-btn-login { display: none; }
  .tx-menu { display: flex; }
  
  .tx-nav {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh;
    background: var(--tx-bg-dark); color: var(--tx-fg-dark);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateY(-100%); transition: transform .5s var(--tx-ease); z-index: -1;
  }
  .tx-nav.is-open { transform: translateY(0); }
  .tx-nav-inner { flex-direction: column; gap: 24px; text-align: center; }
  .tx-nav a { font-size: 24px; font-weight: 700; color: var(--tx-fg-dark); }
  .tx-nav a:hover { background: transparent; color: var(--tx-accent); }
  
  .tx-bento { grid-template-columns: 1fr; }
  .tx-bento-wide { grid-column: auto; }
  
  .tx-fleet-row { grid-template-columns: 30px 1fr; gap: 12px; }
  .tx-fleet-spec, .tx-fleet-arrow { display: none; }
  
  .tx-cta-bottom { grid-template-columns: 1fr; gap: 24px; }
  .tx-cta-actions { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .tx-footer-top { grid-template-columns: 1fr; }
  .tx-footer-bottom { flex-direction: column; gap: 16px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tx-ticker-track, .preloader-bar span { animation: none !important; }
  .tx-reveal { transition: none !important; opacity: 1; transform: none; }
}