/* ============================================================
   Gaby's Fleet Service — Design Tokens
============================================================ */
:root {
  --white: #ffffff;
  --surface: #f5f8fc;
  --surface-alt: #eef3fa;

  --blue-900: #06254f;
  --blue-800: #0a3570;
  --blue-700: #0d4894;
  --blue-600: #135bb8;
  --blue-500: #1c6fdb;
  --blue-100: #e5eefb;
  --blue-50:  #f1f6fd;

  --ink: #0f1a2b;
  --slate: #55637a;
  --slate-light: #8493ab;
  --border: #dfe7f2;

  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(9, 33, 68, 0.08);
  --shadow-md: 0 12px 32px -12px rgba(9, 33, 68, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(9, 33, 68, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset
============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

svg { width: 20px; height: 20px; flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--blue-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-700);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-2px); }

.btn-call {
  background: var(--blue-50);
  color: var(--blue-800);
  border-color: var(--blue-100);
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn-call:hover { background: var(--blue-100); }

/* ============================================================
   Header
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0.0);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding-block: 20px;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border), 0 12px 24px -18px rgba(9,33,68,0.25);
  padding-block: 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
.site-header:not(.scrolled) .logo-mark,
.site-header:not(.scrolled) .logo-sub { color: #fff; }
.logo-apostrophe { color: var(--blue-500); }
.logo-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--blue-600);
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 8px;
}
.nav-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #fff;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.site-header.scrolled .nav-link { color: var(--slate); }
.nav-link:hover { background: rgba(255,255,255,0.14); color: #fff; }
.site-header.scrolled .nav-link:hover { background: var(--blue-50); color: var(--blue-800); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.16); }
.site-header.scrolled .nav-link.active { color: var(--blue-700); background: var(--blue-50); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}
.hamburger span {
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
  margin-inline: auto;
}
.site-header.scrolled .hamburger span { background: var(--blue-900); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--blue-900);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .nav-link, .site-header.scrolled .nav-link { color: #fff; font-size: 1.05rem; padding: 14px 16px; }
  .nav-link:hover, .site-header.scrolled .nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .hamburger { display: flex; }
  .btn-call span { display: none; }
  .btn-call { padding: 10px; border-radius: 50%; }
  .btn-call svg { margin: 0; }
}

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,20,45,0.75) 0%, rgba(6,20,45,0.55) 45%, rgba(6,37,79,0.92) 100%),
    linear-gradient(90deg, rgba(6,20,45,0.55) 0%, rgba(6,20,45,0.15) 60%);
}

.hero-content { position: relative; z-index: 1; padding-block: 160px 100px; max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.hero .eyebrow { color: #7fb3ff; }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.15rem;
  color: #dbe7fb;
  max-width: 58ch;
  margin-bottom: 30px;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.badge-pill svg { color: #7fb3ff; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   Section heading shared
============================================================ */
.section-heading { max-width: 640px; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.section-lead { color: var(--slate); font-size: 1.05rem; }

section { padding-block: 110px; }

/* ============================================================
   About
============================================================ */
.about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about-stat {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--blue-700);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat-num { font-family: var(--font-head); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.about-stat-label { font-size: 0.82rem; max-width: 15ch; color: #cfe2fb; }

.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--slate); margin-bottom: 16px; font-size: 1.03rem; }
.about-points { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.about-points svg { color: var(--blue-600); background: var(--blue-100); border-radius: 50%; padding: 3px; }

/* ============================================================
   Services
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.18rem; margin-bottom: 16px; }
.service-card ul { display: flex; flex-direction: column; gap: 9px; }
.service-card li {
  font-size: 0.92rem;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}
.service-copy { color: var(--slate); font-size: 0.95rem; }

.service-card--accent {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #fff;
}
.service-card--accent h3 { color: #fff; }
.service-card--accent .service-icon { background: rgba(255,255,255,0.12); color: #7fb3ff; }
.service-card--accent .service-copy { color: #c3d6f2; }

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

/* ============================================================
   Gallery
============================================================ */
.gallery { background: var(--surface); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,20,45,0) 45%, rgba(6,20,45,0.78) 100%);
}
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  z-index: 1;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery-grid .gallery-item:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-grid .gallery-item:last-child { grid-column: span 1; }
}

/* ============================================================
   Partners
============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-100); }

.partner-logo {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.partner-logo-chip {
  background: var(--blue-900);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-chip .partner-logo--reversed { max-height: 26px; }

.partner-tag { font-size: 0.82rem; color: var(--slate-light); font-weight: 500; }

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

/* ============================================================
   Contact
============================================================ */
.contact { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 22px; margin: 30px 0 34px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
}
.contact-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); font-weight: 700; margin-bottom: 2px; }
.contact-list a { font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--blue-700); }
.contact-list span:not(.contact-label) { font-weight: 600; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3.4;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

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

/* ============================================================
   Footer
============================================================ */
.site-footer { background: var(--blue-900); color: #cfdcf2; padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-mark { color: #fff; font-size: 1.4rem; }
.footer-logo-sub { color: #7fb3ff; }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; color: #a9bcdb; max-width: 34ch; }
.footer-mvr { margin-top: 14px !important; font-size: 0.8rem !important; color: #7c8fb0 !important; letter-spacing: 0.05em; }

.footer-col h4 { color: #fff; font-size: 0.92rem; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: #a9bcdb; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col li { font-size: 0.92rem; color: #a9bcdb; }

.footer-bottom { padding-block: 24px; }
.footer-bottom p { font-size: 0.84rem; color: #7c8fb0; text-align: center; }

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

/* ============================================================
   Back to top
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 400;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-600); }

/* ============================================================
   Reveal-on-scroll
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* stagger children within a section slightly */
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal:nth-child(3) { transition-delay: 0.19s; }
.hero .reveal:nth-child(4) { transition-delay: 0.26s; }
.hero .reveal:nth-child(5) { transition-delay: 0.33s; }

/* ============================================================
   Responsive — About / large tablet
============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 420px; margin-inline: auto; }
  section { padding-block: 76px; }
  .hero-content { padding-block: 140px 80px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .about-stat { left: 12px; bottom: -22px; padding: 16px 18px; }
  .about-stat-num { font-size: 1.7rem; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
