:root {
  --ink: #141c28;
  --ink-soft: #243044;
  --paper: #f3f0ea;
  --paper-2: #e7e2d8;
  --gold: #b8954a;
  --gold-bright: #d4b56a;
  --burgundy: #7a2e3d;
  --sky: #4a6fa5;
  --line: rgba(20, 28, 40, 0.12);
  --shadow: 0 18px 50px rgba(20, 28, 40, 0.14);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(74, 111, 165, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 149, 74, 0.16), transparent 50%),
    linear-gradient(180deg, #ebe6dc 0%, var(--paper) 40%, #f7f5f1 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(243, 240, 234, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.site-header__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.25rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.28rem 0.5rem;
  border-radius: 3px;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #f7f4ee;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--burgundy);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--burgundy);
}

/* Hero — full-bleed, near full viewport height */
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  /* Sticky header ~4.25rem; fill the rest of the viewport */
  min-height: calc(100svh - 4.25rem);
  height: calc(100svh - 4.25rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #f7f4ee;
  background: linear-gradient(135deg, #1a2740, #3a4f6f 45%, #6b3a48);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}

.hero__slide--1 {
  background-image: url("../img/hero_1.webp");
}

.hero__slide--2 {
  background-image: url("../img/hero_2.webp");
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(20, 28, 40, 0.72) 0%,
    rgba(20, 28, 40, 0.38) 52%,
    rgba(122, 46, 61, 0.22) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  animation: rise 0.9s ease both;
}

.hero__controls {
  position: absolute;
  z-index: 4;
  right: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 1.25rem;
  display: flex;
  gap: 0.45rem;
}

.hero__dot {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero__dot::after {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.75);
  background: transparent;
}

.hero__dot[aria-current="true"]::after {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.hero__dot:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .hero {
    min-height: calc(100svh - 5.5rem);
    height: calc(100svh - 5.5rem);
    align-items: end;
  }

  .hero__inner {
    padding: 2.25rem 0 3.5rem;
  }

  .hero__brand {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__shade {
    background: linear-gradient(
      180deg,
      rgba(20, 28, 40, 0.2) 0%,
      rgba(20, 28, 40, 0.5) 42%,
      rgba(20, 28, 40, 0.86) 100%
    );
  }

  .cta-row .btn {
    min-height: 2.75rem;
    padding-inline: 1rem;
  }
}

/* Portrait media split (9:16) */
.split-media {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 860px) {
  .split-media {
    grid-template-columns: minmax(220px, 0.42fr) 1fr;
    gap: 2rem;
  }

  .split-media--flip {
    grid-template-columns: 1fr minmax(220px, 0.42fr);
  }

  .split-media--flip .portrait-frame {
    order: 2;
  }
}

.portrait-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #1a2332;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  justify-self: center;
  width: min(100%, 320px);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-frame figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.55rem 0.15rem 0;
}

.panel > h2:first-child,
.panel > h3:first-child,
.split-media__copy > h2:first-child {
  margin-top: 0;
  font-family: var(--font-display);
}

.mb-0 {
  margin-bottom: 0;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.hero__brand em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero__lead {
  max-width: 34rem;
  font-size: 1.1rem;
  color: rgba(247, 244, 238, 0.9);
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: #f7f4ee;
  border-color: rgba(247, 244, 238, 0.45);
}

.btn--ghost:hover {
  background: rgba(247, 244, 238, 0.1);
  color: #fff;
}

.btn--burgundy {
  background: var(--burgundy);
  color: #fff;
}

.btn--burgundy:hover {
  background: #922f42;
  color: #fff;
}

/* Sections */
main section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
  animation: rise 0.7s ease both;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.times-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.times-table th,
.times-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.times-table th {
  font-family: var(--font-display);
  font-weight: 700;
  width: 34%;
}

.note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.85rem;
}

/* Firms */
.firms {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .firms {
    grid-template-columns: repeat(2, 1fr);
  }
}

.firm {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  animation: rise 0.6s ease both;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.firm:nth-child(2) { animation-delay: 0.05s; }
.firm:nth-child(3) { animation-delay: 0.1s; }
.firm:nth-child(4) { animation-delay: 0.15s; }
.firm:nth-child(5) { animation-delay: 0.2s; }

.firm h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.firm .phone {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--burgundy);
  text-decoration: none;
  display: inline-block;
  margin: 0.35rem 0;
}

.firm .phone:hover {
  color: var(--ink);
}

.firm p {
  margin: 0.35rem 0 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.firm__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  font-size: 0.9rem;
  margin-top: auto;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  background: rgba(184, 149, 74, 0.2);
  color: #6d5420;
}

/* Page hero (inner) */
.page-hero {
  padding: 2.75rem 0 1.25rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  animation: rise 0.7s ease both;
}

.page-hero p {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-soft);
  animation: rise 0.8s ease both;
}

.content-block {
  padding-bottom: 3rem;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 1.75rem 0 0.55rem;
}

.content-block ul {
  padding-left: 1.2rem;
}

.content-block li {
  margin: 0.35rem 0;
}

.prose-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

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

.step {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.callout {
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  background: rgba(184, 149, 74, 0.12);
  margin: 1.25rem 0;
}

.callout p {
  margin: 0;
}

.cta-band {
  margin: 1.5rem 0 3rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--ink) 0%, #2a3a55 60%, #5a3040 100%);
  color: #f7f4ee;
  animation: rise 0.7s ease both;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.cta-band p {
  margin: 0 0 1rem;
  color: rgba(247, 244, 238, 0.88);
  max-width: 36rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer__grid {
  display: grid;
  gap: 1.25rem 2rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr auto;
    align-items: end;
  }
}

.site-footer__legal p {
  margin: 0 0 0.45rem;
  max-width: 42rem;
  line-height: 1.45;
}

.site-footer__legal p:last-child {
  margin-bottom: 0;
}

.site-footer__copy {
  font-weight: 700;
  color: var(--ink-soft);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: flex-start;
}

@media (min-width: 800px) {
  .site-footer__nav {
    justify-content: flex-end;
  }
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--ink);
}

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

@media (max-width: 900px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header__right {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem 0.9rem;
    padding: 0.15rem 0 0.35rem;
    scrollbar-width: thin;
  }

  .nav a {
    white-space: nowrap;
    padding: 0.45rem 0.1rem;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 700px) {
  .nav {
    font-size: 0.86rem;
  }

  .times-table th,
  .times-table td {
    display: block;
    width: 100%;
  }

  .times-table th {
    border-bottom: 0;
    padding-bottom: 0.15rem;
  }

  .times-table tr {
    display: block;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
  }

  .portrait-frame {
    width: min(100%, 280px);
  }

  .firms {
    grid-template-columns: 1fr;
  }
}

/* FAQ — taxi-led Q&A on home */
.faq {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  max-width: 48rem;
}

.faq details {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1.05rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 800;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
