/* ============================================================
   MATES RATES TAXI — style.css
   Mobile-first · BEM · No frameworks
   ============================================================ */


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Colours */
  --colour-bg:          #0d0d0d;
  --colour-surface:     #1a1a1a;
  --colour-surface-2:   #222222;
  --colour-accent:      #f5c518;
  --colour-accent-dim:  #c49a10;
  --colour-text:        #ffffff;
  --colour-text-muted:  #a0a0a0;
  --colour-border:      #2e2e2e;

  /* Typography */
  --font-display: "Barlow Condensed", sans-serif;
  --font-body:    "DM Sans", sans-serif;

  /* Spacing scale (8px base) */
  --space-xs:   0.5rem;   /* 8px  */
  --space-sm:   0.75rem;  /* 12px */
  --space-md:   1rem;     /* 16px */
  --space-lg:   1.5rem;   /* 24px */
  --space-xl:   2rem;     /* 32px */
  --space-2xl:  3rem;     /* 48px */
  --space-3xl:  5rem;     /* 80px */

  /* Layout */
  --container-max: 1200px;
  --nav-height:    70px;

  /* Transitions */
  --transition:      0.25s ease;
  --transition-slow: 0.6s ease;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--colour-bg);
  color: var(--colour-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

::selection {
  background-color: var(--colour-accent);
  color: #000;
}


/* ============================================================
   3. UTILITIES
   ============================================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--colour-accent);
  color: #0d0d0d;
  border: 2px solid var(--colour-accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--colour-accent-dim);
  border-color: var(--colour-accent-dim);
}

.btn--ghost {
  background-color: transparent;
  color: var(--colour-accent);
  border: 2px solid var(--colour-accent);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: var(--colour-accent);
  color: #0d0d0d;
}

/* Focus ring for accessibility */
.btn:focus-visible {
  outline: 2px solid var(--colour-accent);
  outline-offset: 3px;
}

/* Sections */
.section {
  padding-block: var(--space-2xl);
  /* Offset scroll targets so fixed nav doesn't cover section headings */
  scroll-margin-top: var(--nav-height);
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.section__subheading {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--colour-text-muted);
  margin-bottom: var(--space-xl);
}

/* Scroll-reveal */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   4. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  /* Transparent border holds space so border-color can transition smoothly */
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition);
}

/* Solid state — on scroll or when mobile menu is open */
.nav.scrolled,
.nav.nav--open {
  background-color: var(--colour-bg);
  border-color: var(--colour-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-md);
}

/* ---- Logo ---- */

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav__logo-mark {
  color: var(--colour-accent);
  flex-shrink: 0;
}

.nav__logo-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--colour-accent);
  text-transform: uppercase;
  line-height: 1;
}

.nav__logo-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--colour-text-muted);
  text-transform: uppercase;
  line-height: 1;
}

.nav__logo:hover .nav__logo-brand {
  color: var(--colour-accent-dim);
}

.nav__logo:hover .nav__logo-mark {
  opacity: 0.8;
}

/* ---- Nav links (mobile: hidden dropdown) ---- */

.nav__links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background-color: var(--colour-bg);
  border-bottom: 1px solid var(--colour-border);
  padding-block: var(--space-sm);
}

.nav__links--open {
  display: flex;
}

.nav__link {
  display: block;
  padding: 0.7rem var(--space-lg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--colour-text);
  transition: color var(--transition), background-color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--colour-accent);
  background-color: var(--colour-surface);
}

/* ---- Nav CTA (hidden on mobile) ---- */

.nav__cta {
  display: none;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

/* ---- Hamburger ---- */

/* Larger touch target (44x44) with visual bars centred inside */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  /* Pull right to compensate padding vs container edge */
  margin-right: -10px;
}

.nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--colour-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Bars animate into an X when menu is open */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- 768px — desktop layout ---- */

@media (min-width: 768px) {
  .nav__inner {
    gap: var(--space-lg);
  }

  /* Links become an inline row, no longer a dropdown */
  .nav__links {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    gap: var(--space-sm);
    align-items: center;
    /* Reset mobile open state so it's never accidentally hidden on desktop */
    margin-left: auto;
  }

  .nav__link {
    padding: 0.25rem var(--space-xs);
    font-size: 0.95rem;
    background-color: transparent;
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background-color: transparent;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__hamburger {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav__links {
    gap: var(--space-md);
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
}


/* ============================================================
   5. HERO
   ============================================================ */

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

@keyframes goldGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
  }
  50% {
    box-shadow: 0 0 20px 6px rgba(245, 197, 24, 0.3);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* --- Base layout (320px+) --- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  padding-inline: var(--space-lg);
  overflow: hidden;

  /* Base: deep near-black */
  background-color: var(--colour-bg);
}

/* Layer 1 — vignette: darkens the four edges */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    transparent 30%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Layer 2 — road-at-night atmosphere:
   - warm amber cone from below (your own headlights lighting the tarmac)
   - faint converging lane strip at the horizon (vanishing point)
   - cool blue scatter at the very top (distant street glow) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* warm headlight wash on tarmac — bottom third */
    radial-gradient(
      ellipse 80% 45% at 50% 105%,
      rgba(245, 197, 24, 0.07) 0%,
      transparent 70%
    ),
    /* central vanishing-point lane strip */
    radial-gradient(
      ellipse 8% 55% at 50% 50%,
      rgba(255, 255, 255, 0.025) 0%,
      transparent 100%
    ),
    /* distant street/city ambient — top */
    radial-gradient(
      ellipse 60% 30% at 50% 0%,
      rgba(80, 90, 120, 0.08) 0%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding-bottom: var(--space-xl);
}

/* Brand name */
.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;          /* 320px base */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--colour-accent);
  line-height: 1;
  margin-bottom: var(--space-md);

  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0s;
}

/* Tagline */
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--colour-text);
  margin-bottom: var(--space-xs);

  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.2s;
}

/* Sub-line */
.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--colour-text-muted);
  margin-bottom: var(--space-xl);

  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.4s;
}

/* CTA row — stacked on mobile */
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);

  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.6s;
}

/* Buttons fill full width on small screens */
.hero__ctas .btn {
  width: 100%;
  max-width: 320px;
  padding-block: 0.875rem;
}

/* Pulsing glow — starts after the fade-in finishes (0.6s delay + 0.7s duration = 1.3s) */
.hero__cta-primary {
  animation: goldGlow 2.8s ease-in-out 1.4s infinite;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--colour-text-muted);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.hero__scroll-icon {
  display: block;
}

/* --- 480px — buttons go side by side --- */

@media (min-width: 480px) {
  .hero__brand {
    font-size: 3.75rem;
  }

  .hero__tagline {
    font-size: 1.4rem;
  }

  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }

  .hero__ctas .btn {
    width: auto;
    max-width: none;
  }
}

/* --- 768px — tablet --- */

@media (min-width: 768px) {
  .hero__content {
    max-width: 720px;
  }

  .hero__brand {
    font-size: 5.5rem;
  }

  .hero__tagline {
    font-size: 1.6rem;
  }

  .hero__sub {
    font-size: 1.05rem;
  }
}

/* --- 1024px — desktop --- */

@media (min-width: 1024px) {
  .hero__content {
    max-width: 860px;
  }

  .hero__brand {
    font-size: 7rem;
    margin-bottom: var(--space-lg);
  }

  .hero__tagline {
    font-size: 1.75rem;
  }

  .hero__sub {
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
  }
}

/* --- 1280px — wide desktop --- */

@media (min-width: 1280px) {
  .hero__brand {
    font-size: 8rem;
  }
}


/* ============================================================
   6. ABOUT SECTION
   ============================================================ */

/* ---- Two-column layout ---- */

.about__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* ---- Text column ---- */


/* Gold left-border accent on the copy block */
.about__copy {
  border-left: 3px solid var(--colour-accent);
  padding-left: var(--space-lg);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__copy p {
  font-size: 1rem;
  color: var(--colour-text-muted);
  line-height: 1.85;
}

/* ---- Stat badges ---- */

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
}

.about__stat {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background-color: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--colour-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- Photo placeholder ---- */

.about__photo-wrap {
  /* Centres the photo on mobile */
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.about__photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: var(--colour-surface-2);
  border: 3px solid var(--colour-border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  /* Gold ring halo: gap (bg colour) then semi-transparent gold */
  box-shadow:
    0 0 0 3px var(--colour-bg),
    0 0 0 5px rgba(245, 197, 24, 0.35);
}

.about__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__photo-icon {
  width: 58%;
  height: 58%;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: -8%;
}

/* ---- 480px ---- */

@media (min-width: 480px) {
  .about__photo {
    width: 180px;
    height: 180px;
  }
}

/* ---- 768px — side-by-side ---- */

@media (min-width: 768px) {
  .about__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3xl);
  }

  .about__text {
    flex: 1;
    min-width: 0; /* prevents flex child from overflowing */
  }

  /* Photo column sits on the right — natural DOM order */
  .about__photo-wrap {
    justify-content: flex-end;
    align-self: flex-start;
    /* Small top offset aligns photo optically with the heading baseline */
    padding-top: var(--space-xs);
  }

  .about__photo {
    width: 210px;
    height: 210px;
    box-shadow:
      0 0 0 3px var(--colour-bg),
      0 0 0 6px rgba(245, 197, 24, 0.35);
  }
}

/* ---- 1024px ---- */

@media (min-width: 1024px) {
  .about__photo {
    width: 250px;
    height: 250px;
  }

  .about__copy p {
    font-size: 1.05rem;
  }
}


/* ============================================================
   7. AREAS SECTION
   ============================================================ */

/* ---- Group layout ---- */

/* Three groups stack vertically on mobile, go to a 3-col grid on desktop */
.areas__groups {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.areas__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ---- Group label ---- */

.areas__group-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--colour-accent);
  /* Subtle gold underline ties label to its chip row */
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(245, 197, 24, 0.2);
}

/* ---- Chip list ---- */

.areas__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
}

/* ---- Individual chip ---- */

.areas__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background-color: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-radius: 100px; /* pill shape */
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--colour-text-muted);
  cursor: default;
  transition:
    border-color var(--transition),
    color var(--transition),
    background-color var(--transition);
}

.areas__chip:hover {
  border-color: var(--colour-accent);
  color: var(--colour-text);
  background-color: var(--colour-surface-2);
}

/* Accent variant — used for "All Major Airports" to make it stand out */
.areas__chip--accent {
  border-color: rgba(245, 197, 24, 0.4);
  color: var(--colour-accent);
}

.areas__chip--accent:hover {
  background-color: rgba(245, 197, 24, 0.08);
  border-color: var(--colour-accent);
}

/* ---- Bottom note ---- */

.areas__note {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--colour-text-muted);
  font-style: italic;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--colour-border);
}

.areas__note-link {
  color: var(--colour-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.areas__note-link:hover {
  color: var(--colour-accent-dim);
}

/* ---- 768px — two columns ---- */

@media (min-width: 768px) {
  .areas__groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl) var(--space-3xl);
    align-items: start;
  }
}

/* ---- 1024px — two columns (one per group) ---- */

@media (min-width: 1024px) {
  .areas__groups {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-2xl);
  }

  .areas__chip {
    font-size: 0.9rem;
    padding: 0.35rem 0.9rem;
  }
}


/* ============================================================
   8. RATES SECTION
   ============================================================ */

/* ---- Card grid ---- */

/* Pre-cards estimate note */
.rates__estimate-note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

/* Single column on mobile; grows to 2 and 3 columns at wider viewports */
.rates__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  list-style: none;
  margin-bottom: var(--space-xl);
}

/* ---- Individual card ---- */

.rates__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-md);
  /* Transition covers transform AND box-shadow for the hover lift */
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.rates__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 197, 24, 0.3);
}

/* ---- Card top: airport name + distance/time ---- */

.rates__card-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.rates__airport {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--colour-accent);
  line-height: 1.1;
}

.rates__meta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--colour-text-muted);
}

/* ---- Card bottom: price + saloon note ---- */

.rates__card-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  /* Thin gold rule separates price from the airport info above */
  padding-top: var(--space-md);
  border-top: 1px solid var(--colour-border);
}

.rates__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--colour-text);
  line-height: 1;
  letter-spacing: 0.01em;
}

.rates__basis {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--colour-text-muted);
  font-style: italic;
}

.rates__drop-off {
  font-size: 0.55em;
  color: var(--colour-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  display: block;
  margin-top: 2px;
  letter-spacing: 0;
}

/* ---- Disclaimer ---- */

.rates__disclaimer {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  font-style: italic;
  line-height: 1.7;
  padding: var(--space-lg);
  background-color: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-left: 3px solid rgba(245, 197, 24, 0.4);
  border-radius: var(--radius-md);
}

.rates__disclaimer-link {
  color: var(--colour-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color var(--transition);
}

.rates__disclaimer-link:hover {
  color: var(--colour-accent-dim);
}

/* ---- 480px — stretch cards to avoid overly-narrow single column ---- */

@media (min-width: 480px) {
  .rates__airport {
    font-size: 1.4rem;
  }
}

/* ---- 768px — two columns ---- */

@media (min-width: 768px) {
  .rates__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* ---- 1024px — keep two columns but widen gap ---- */

@media (min-width: 1024px) {
  .rates__grid {
    gap: var(--space-xl);
  }

  .rates__card {
    padding: var(--space-xl);
  }

  .rates__airport {
    font-size: 1.5rem;
  }

  .rates__price {
    font-size: 2.25rem;
  }
}

/* ---- 1280px — three columns ---- */

@media (min-width: 1280px) {
  .rates__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================================
   9. SERVICES SECTION
   ============================================================ */

/* ---- Tile grid ---- */

/*
  Mobile: 2-column grid so tiles feel intentional, not a single stack.
  The fifth tile is centred via justify-items or auto placement.
  Grows to a single row of 5 on wide screens.
*/
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  list-style: none;
  margin-top: var(--space-xl);
}

/* ---- Individual tile ---- */

.services__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  background-color: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-md);
  /* Bottom border thickens to gold on hover — signals the accent without
     a jarring background colour change */
  border-bottom-width: 3px;
  transition:
    border-color var(--transition),
    transform var(--transition),
    background-color var(--transition);
}

.services__tile:hover {
  border-color: var(--colour-accent);
  background-color: var(--colour-surface-2);
  transform: translateY(-3px);
}

/* Last tile — no special treatment needed with an even number of tiles */
.services__tile:last-child {
  grid-column: auto;
  max-width: none;
  justify-self: auto;
}

/* ---- Icon ---- */

.services__icon {
  font-size: 2rem;
  line-height: 1;
  /* Slight scale on tile hover — driven by the tile's own transform */
  display: block;
  transition: transform var(--transition);
}

.services__tile:hover .services__icon {
  transform: scale(1.15);
}

/* ---- Title ---- */

.services__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--colour-text);
  line-height: 1.2;
  transition: color var(--transition);
}

.services__tile:hover .services__title {
  color: var(--colour-accent);
}

/* ---- Description ---- */

.services__desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--colour-text-muted);
  line-height: 1.6;
}

/* ---- 480px — keep 2-col but tighten the last-child cap ---- */

@media (min-width: 480px) {
  .services__tile {
    padding: var(--space-lg);
  }

  .services__icon {
    font-size: 2.25rem;
  }
}

/* ---- 768px — 3 columns; last two tiles share the bottom row ---- */

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  /* Reset the mobile last-child override — natural grid placement takes over */
  .services__tile:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
}

/* ---- 1024px — all five in a single row ---- */

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
  }

  .services__tile {
    padding: var(--space-xl) var(--space-md);
  }

  .services__title {
    font-size: 1.1rem;
  }
}

/* ---- 1280px — breathing room on wide screens ---- */

@media (min-width: 1280px) {
  .services__grid {
    gap: var(--space-lg);
  }

  .services__tile {
    padding: var(--space-xl) var(--space-lg);
  }
}


/* ============================================================
   10. CONTACT SECTION
   ============================================================ */

/* ---- Two-column wrapper ---- */

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

/* ---- Left column: contact details ---- */

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Hairline dividers between each row */
  border-top: 1px solid var(--colour-border);
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--colour-border);
}

.contact__item-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--colour-text-muted);
}

/* Large tappable phone number */
.contact__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--colour-accent);
  line-height: 1.1;
  transition: color var(--transition);
}

.contact__phone:hover {
  color: var(--colour-accent-dim);
}

/* General links (WhatsApp, email) */
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--colour-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
  word-break: break-all; /* email addresses can overflow on narrow screens */
}

.contact__link:hover {
  color: var(--colour-accent-dim);
}

.contact__link-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Plain text value (Based in) */
.contact__value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--colour-text);
}

/* Preferred contact note */
.contact__note {
  margin-top: var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  font-style: italic;
  line-height: 1.7;
  padding-left: var(--space-md);
  border-left: 2px solid rgba(245, 197, 24, 0.35);
}

/* ---- Right column: how to book ---- */

.contact__steps-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--colour-text);
  margin-bottom: var(--space-lg);
}

.contact__steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

/* Large step number */
.contact__step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--colour-accent);
  opacity: 0.25;
  /* Fixed width keeps step bodies left-aligned regardless of digit count */
  min-width: 2.5rem;
  flex-shrink: 0;
}

.contact__step-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  /* Optical alignment: nudge text down to sit beside the midpoint of the number */
  padding-top: 0.4rem;
}

.contact__step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--colour-text);
}

.contact__step-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--colour-text-muted);
  line-height: 1.6;
}

/* ---- Bottom CTA ---- */

.contact__cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--colour-border);
}

.contact__cta {
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
}

@media (min-width: 480px) {
  .contact__cta {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
  }
}

/* ---- 480px ---- */

@media (min-width: 480px) {
  /* Phone number stays large but won't cause overflow on mid-size phones */
  .contact__phone {
    font-size: 2.25rem;
  }

  /* Row layout for each contact item: label on the left, value on the right */
  .contact__item {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-lg);
  }

  .contact__item-label {
    min-width: 80px;
    flex-shrink: 0;
  }

  .contact__link {
    word-break: normal;
  }
}

/* ---- 768px — side by side ---- */

@media (min-width: 768px) {
  .contact__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3xl);
  }

  .contact__details {
    flex: 1;
    min-width: 0;
  }

  .contact__steps {
    flex: 0 0 320px;
  }

  .contact__phone {
    font-size: 2.5rem;
  }
}

/* ---- 1024px ---- */

@media (min-width: 1024px) {
  .contact__steps {
    flex-basis: 360px;
  }

  .contact__step-num {
    font-size: 3rem;
    min-width: 3rem;
  }

  .contact__cta {
    font-size: 1.2rem;
    padding: 1.1rem 3rem;
  }
}


/* ============================================================
   11. FOOTER
   ============================================================ */

.footer {
  background-color: #111111;
  border-top: 3px solid var(--colour-accent);
}

/* ---- Upper row ---- */

.footer__upper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
  padding-block: var(--space-xl);
}

/* ---- Brand block ---- */

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.footer__brand-mark {
  color: var(--colour-accent);
  margin-bottom: var(--space-xs);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--colour-accent);
  text-transform: uppercase;
  line-height: 1;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  margin: 0;
}

/* ---- Footer nav ---- */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  padding: 0.2rem var(--space-sm);
  transition: color var(--transition);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--colour-accent);
}

/* Dot separator between links — appears after every link except the last */
.footer__link:not(:last-child)::after {
  content: "·";
  margin-left: var(--space-sm);
  color: var(--colour-border);
  pointer-events: none;
}

/* ---- Lower row: legal ---- */

.footer__lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  padding-block: var(--space-md);
  border-top: 1px solid var(--colour-border);
}

.footer__copyright,
.footer__serving {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--colour-text-muted);
  margin: 0;
}

.footer__seo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--colour-text-muted);
  opacity: 0.5;
  text-align: center;
  margin-top: var(--space-xs);
  line-height: 1.6;
}

.footer__credit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--colour-text-muted);
  opacity: 0.6;
  margin: 0;
  margin-top: 0.15rem;
}

.footer__credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition), opacity var(--transition);
}

.footer__credit-link:hover {
  color: var(--colour-accent);
  opacity: 1;
}

/* ---- 768px — upper goes side by side, lower splits left/right ---- */

@media (min-width: 768px) {
  .footer__upper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer__brand {
    align-items: flex-start;
  }

  .footer__nav {
    justify-content: flex-end;
  }

  .footer__lower {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ---- 1024px ---- */

@media (min-width: 1024px) {
  .footer__upper {
    padding-block: var(--space-2xl);
  }

  .footer__brand-name {
    font-size: 1.4rem;
  }
}


/* ============================================================
   12. SECTION BACKGROUNDS & SEPARATORS
   ============================================================ */

.about,
.areas,
.rates,
.services,
.contact {
  border-bottom: 1px solid var(--colour-border);
}

/* Alternating surface colours for visual rhythm */
.about  { background-color: var(--colour-bg); }
.areas  { background-color: var(--colour-surface); }
.rates  { background-color: var(--colour-bg); }
.services { background-color: var(--colour-surface); }
.contact  { background-color: var(--colour-bg); }

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-3xl);
  }
}


/* ============================================================
   13. REDUCED MOTION
   Respects the OS-level "reduce motion" preference.
   Kills CSS animations/transitions and disables JS-driven
   scroll-reveal so content is immediately visible.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Make hero content visible without the fadeInUp animation */
  .hero__brand,
  .hero__tagline,
  .hero__sub,
  .hero__ctas {
    opacity: 1;
    animation: none;
  }

  /* Primary CTA glow — stop the infinite pulse */
  .hero__cta-primary {
    animation: none;
  }

  /* Scroll bounce indicator */
  .hero__scroll {
    animation: none;
    opacity: 0.6;
  }

  /* Scroll-reveal elements — show immediately */
  .fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
}
