/* ══════════════════════════════════════════════════════════════════
   Sunshine Coast Taxi
   Theme: coastal night navy + sunshine amber + sea teal
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --ink:        #0A1F30;
  --ink-2:      #123449;
  --ink-3:      #1D4A63;
  --sun:        #FFC233;
  --sun-deep:   #EDA400;
  --sun-soft:   #FFF0CC;
  --sea:        #0E7C86;
  --sea-deep:   #0A5A62;

  /* Surfaces & text */
  --paper:      #FFFCF5;
  --paper-2:    #F6F0E4;
  --line:       #E4DBCA;
  --text:       #16202B;
  --muted:      #56687A;
  --on-dark:    #EAF2F7;
  --on-dark-mut:#9FB6C6;

  /* System */
  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(10,31,48,.06), 0 2px 8px rgba(10,31,48,.05);
  --shadow-md:  0 8px 24px rgba(10,31,48,.10), 0 2px 6px rgba(10,31,48,.06);
  --shadow-lg:  0 24px 60px rgba(10,31,48,.18), 0 6px 16px rgba(10,31,48,.08);
  --wrap:       1160px;
  --gut:        clamp(1.15rem, 4vw, 2.5rem);
  --font:       "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display:    "Archivo", var(--font);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.32rem); letter-spacing: -.012em; }
p  { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--sea-deep); }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 .85rem;
}
.eyebrow--sun { color: var(--sun-deep); }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.005em;
  line-height: 1;
  padding: .95rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--call {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 6px 0 0 var(--sun-deep), var(--shadow-md);
}
.btn--call:hover { background: #FFCE55; }
.btn--call:active { box-shadow: 0 2px 0 0 var(--sun-deep), var(--shadow-sm); transform: translateY(4px); }

.btn--ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--ink); background: var(--paper-2); }

.btn--lg  { padding: 1.15rem 1.9rem; font-size: 1.06rem; }
.btn--sm  { padding: .7rem 1.1rem; font-size: .88rem; box-shadow: 0 4px 0 0 var(--sun-deep); }
.btn--block { display: flex; width: 100%; }

/* Two-line button face: quiet area label over the number. Used anywhere a
   call button has to say WHICH of the two lines it dials. */
.btn__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}
.btn__stack small {
  font-size: .62em;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: .25em;
}

/* ── Announcement banner ──────────────────────────────────────── */
.announce {
  background: linear-gradient(90deg, var(--sea-deep), var(--sea));
  color: #fff;
  font-size: .92rem;
}
.announce__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .7rem var(--gut);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.announce__tag {
  font-family: var(--display);
  font-weight: 800;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--ink);
  padding: .3rem .6rem;
  border-radius: 999px;
  flex: none;
}
.announce__text { margin: 0; line-height: 1.45; }
.announce__text a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.announce__close {
  margin-left: auto;
  flex: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  padding: .1rem .45rem;
  border-radius: 8px;
  cursor: pointer;
  opacity: .75;
}
.announce__close:hover { opacity: 1; background: rgba(255,255,255,.15); }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,252,245,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
}
.brand__sub {
  font-family: var(--display);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sea);
  margin-top: .22rem;
}

.nav { display: none; gap: 1.6rem; margin-left: auto; }
.nav a {
  font-weight: 500;
  font-size: .94rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding: .3rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* Both numbers, stacked, as one amber pod. Hidden on phones, where the
   header has no room for it. */
.header-calls {
  margin-left: auto;
  display: none;
  flex-direction: column;
  gap: .15rem;
  background: var(--sun);
  border-radius: 16px;
  padding: .5rem .85rem;
  box-shadow: 0 4px 0 0 var(--sun-deep), var(--shadow-sm);
}
.header-calls a {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  line-height: 1.3;
}
.hc__area {
  flex: none;
  width: 3.7rem;
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}
.hc__num { font-weight: 800; font-size: .92rem; letter-spacing: -.02em; }
.header-calls a:hover .hc__num { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 700px) { .header-calls { display: flex; } }
@media (min-width: 980px) { .header-calls { margin-left: 0; } .nav { display: flex; } }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  min-height: min(84vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 14vh, 8rem) 0 clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; }
/* Phones load a purpose-made portrait crop (see the <picture> in index.html),
   so it only needs nudging down to keep the cab clear of the headline. */
@media (max-width: 700px) { .hero__media img { object-position: 50% 68%; } }
/* Tablet-ish widths crop the landscape shot hard from the sides — hold the
   frame further right so the cab stays whole instead of being sliced. */
@media (min-width: 701px) and (max-width: 1040px) { .hero__media img { object-position: 84% 55%; } }

.br-wide { display: none; }
@media (min-width: 780px) { .br-wide { display: inline; } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(6,20,32,.80) 2%, rgba(6,20,32,.46) 30%, rgba(6,20,32,.14) 60%, rgba(6,20,32,.40) 100%),
    linear-gradient(105deg, rgba(6,20,32,.88) 8%, rgba(6,20,32,.55) 42%, rgba(6,20,32,0) 78%);
}
.hero__content { color: #fff; }
/* .wrap already centres the 1160px column; constrain the children, not the
   column itself, or the flex parent will re-centre the whole block. */
.hero__content > * { max-width: 44rem; }
.hero__content .eyebrow { color: var(--sun); text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero__lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.92);
  max-width: 34rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.5rem; }
.hero__note { font-size: .9rem; color: rgba(255,255,255,.72); margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* ── The two numbers ──────────────────────────────────────────── */
.numbers {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 4px solid var(--sun);
}
.numbers__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 940px) { .numbers__inner { grid-template-columns: .95fr 1.05fr; } }

/* Side by side from tablet up; stacked on a phone. */
.numbers__cards { display: grid; gap: 1rem; }
@media (min-width: 560px) { .numbers__cards { grid-template-columns: repeat(2, 1fr); } }

.numbers h2 { color: #fff; }
.numbers p { color: var(--on-dark-mut); font-size: 1.04rem; }
.numbers strong { color: #fff; }
.numbers__card {
  background: linear-gradient(160deg, #16405A, #0E2E43);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.7rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.numbers__label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sun-soft);
  margin-bottom: .5rem;
}
.numbers__digits {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.4vw, 1.95rem);
  letter-spacing: -.035em;
  color: var(--sun);
  text-decoration: none;
  margin-bottom: 1.1rem;
  line-height: 1.05;
}
.numbers__digits:hover { color: #FFD466; }
.numbers__card .btn + .btn { margin-top: .7rem; }
.numbers__card .btn--outline { color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.numbers__card .btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* ── Section shell ────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
/* The header is sticky, so jump targets must stop clear of it. */
section[id] { scroll-margin-top: 92px; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink-2); color: var(--on-dark); }
.section--dark h2 { color: #fff; }
.section--dark .section__lede { color: var(--on-dark-mut); }

.section__head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__lede { font-size: 1.06rem; color: var(--muted); margin-bottom: 0; }

/* ── Service cards ────────────────────────────────────────────── */
.cards {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 1.4rem 1.4rem 1.6rem; }
.card__body h3 { margin-bottom: .45rem; }
.card__body p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ── Pills ────────────────────────────────────────────────────── */
.pills {
  list-style: none;
  margin: clamp(1.2rem, 2.5vw, 1.75rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .pills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .pills { grid-template-columns: repeat(4, 1fr); } }

.pill {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}
.pill__ico { width: 26px; height: 26px; fill: var(--sea); flex: none; margin-top: .1rem; }
.pill strong { display: block; font-family: var(--display); font-size: .98rem; margin-bottom: .15rem; }
.pill span { display: block; color: var(--muted); font-size: .89rem; line-height: 1.5; }

/* ── Service area ─────────────────────────────────────────────── */
.area__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
/* Holds the reading measure now that nothing sits beside this column. */
.area__copy { max-width: 46rem; }

.area__list { display: grid; gap: 0; margin-top: 2rem; }
.area__item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .2rem .5rem;
}
@media (min-width: 640px) {
  .area__item { grid-template-columns: 15rem 1fr; padding-block: 1.6rem; }
  /* Keep the number tucked under the area name rather than letting the
     place list push it to the bottom of the row. */
  .area__item > p:not(.area__num) { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .area__num { grid-column: 1; grid-row: 2; align-self: start; }
}
.area__item:last-child { border-bottom: 1px solid var(--line); }
.area__item h3 { margin: 0; }
.area__item p { color: var(--muted); font-size: .96rem; margin: 0; }
/* Sits under the area name on wide screens, after the place list on narrow. */
.area__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
  margin-top: .4rem !important;
}
.area__num a { color: var(--sea-deep); text-decoration: none; white-space: nowrap; }
.area__num a:hover { text-decoration: underline; text-underline-offset: 3px; }
.area__num span { font-family: var(--font); font-weight: 400; color: var(--muted); font-size: .88rem; }

/* ── Payment ──────────────────────────────────────────────────── */
.pay__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 880px) { .pay__inner { grid-template-columns: 1.1fr .9fr; } }

.paylist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.7rem, 2vw, 1.1rem);
}
.paycard {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 1.1rem .8rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.paycard__art { width: 100%; max-width: 76px; height: auto; border-radius: 5px; box-shadow: var(--shadow-sm); }
.paycard span {
  font-family: var(--display);
  font-weight: 700;
  font-size: .84rem;
  color: var(--on-dark);
}

/* ── Contact ──────────────────────────────────────────────────── */
.contact__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 880px) { .contact__inner { grid-template-columns: 1.05fr .95fr; } }

.bigcalls {
  display: grid;
  gap: .9rem;
  margin-top: .5rem;
  /* Side by side only where both numbers fit whole; one per row otherwise. */
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.bigcall {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  letter-spacing: -.035em;
  color: var(--ink);
  text-decoration: none;
  background: var(--sun);
  padding: .8rem 1.1rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 0 0 var(--sun-deep), var(--shadow-md);
  transition: transform .16s ease, box-shadow .16s ease;
}
.bigcall__t { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.bigcall__t small {
  font-size: .42em;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: .3em;
}
.bigcall:hover { transform: translateY(-2px); box-shadow: 0 9px 0 0 var(--sun-deep), var(--shadow-lg); }
.bigcall:active { transform: translateY(5px); box-shadow: 0 2px 0 0 var(--sun-deep); }
.bigcall .ico { width: .8em; height: .8em; }

.contact__facts {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.9rem);
}
.contact__facts > div {
  display: grid;
  gap: .1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 520px) { .contact__facts > div { grid-template-columns: 7.5rem 1fr; gap: 1rem; } }
.contact__facts > div:first-child { padding-top: 0; }
.contact__facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact__facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sea);
}
.contact__facts dd { margin: 0; font-size: .97rem; color: var(--text); }
.contact__facts dd a { font-weight: 600; }
.facts__nums { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; align-items: baseline; }
.facts__nums span { color: var(--muted); font-size: .88rem; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-mut);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  font-size: .93rem;
}
.site-footer__inner { display: grid; gap: 1.75rem; }
@media (min-width: 1000px) {
  .site-footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
}
.site-footer__brand { display: flex; align-items: center; gap: .8rem; }
.site-footer__brand strong { display: block; color: #fff; font-family: var(--display); font-size: 1rem; }
.site-footer__brand span { display: block; font-size: .84rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (min-width: 1000px) { .site-footer__nav { justify-content: center; } }
.site-footer__nav a { color: var(--on-dark-mut); text-decoration: none; }
.site-footer__nav a:hover { color: var(--sun); }
.site-footer__legal { display: grid; gap: .3rem; margin: 0; font-size: .84rem; }
@media (min-width: 1000px) { .site-footer__legal { text-align: right; } }
.site-footer__nums { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
/* Stacked in the three-column footer so the middle nav keeps its one line. */
@media (min-width: 1000px) { .site-footer__nums { flex-direction: column; align-items: flex-end; gap: .1rem; } }
.site-footer__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--sun);
  text-decoration: none;
  letter-spacing: -.02em;
}
.site-footer__num:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Reveal on scroll ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
