@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --maroon: #650c22;
  --maroon-dark: #420817;
  --gold: #d5ad58;
  --cream: #faf7f1;
  --ink: #17202e;
  --muted: #626775;
  --border: #e5ddd2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #b78124;
  outline-offset: 4px;
}

.container {
  width: min(1160px, 88%);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 800;
  letter-spacing: -2px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 800;
  letter-spacing: -1.4px;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
  letter-spacing: -0.4px;
}

p {
  margin-bottom: 20px;
}

.centered {
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--maroon);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-maroon {
  background: var(--maroon);
  color: white;
}

.button-maroon:hover {
  background: var(--maroon-dark);
}

.button-gold {
  background: var(--gold);
  color: var(--maroon-dark);
}

.button-gold:hover {
  background: #e4c37e;
}

.button-outline {
  border-color: #ffffffb3;
  background: transparent;
  color: white;
}

.button-outline:hover {
  background: #ffffff12;
}

/* Header */

.site-header {
  background: #fffdf9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
}

.brand span {
  color: #9b711f;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav > a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

nav > a:not(.button):hover {
  color: var(--maroon);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--maroon-dark);
  color: white;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 35%;
  background-image: url("hero.png");
  background-position: center;
  background-size: cover;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    #51091c 0%,
    #650c22 35%,
    #650c22eb 46%,
    #650c2266 70%,
    #42081712 100%
  );
  content: "";
}

.hero-content {
  max-width: 670px;
  padding: 76px 0 70px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 14px;
  border: 1px solid #ffffff26;
  border-radius: 30px;
  background: #ffffff12;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.tagline {
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 400;
}

.hero-description {
  color: #f1e5e8;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  margin: 22px 0 0;
  color: #e9ccd4;
  font-size: 12px;
}

/* How it works */

.how-section {
  background: #fffdf9;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-number {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f3eadc;
  color: var(--maroon);
  font-size: 17px;
  font-weight: 800;
}

.step h3 {
  margin-top: 9px;
  font-size: 17px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Student enquiry */

.enquiry-section {
  background: linear-gradient(135deg, #f6efe3, #fcfaf6);
}

.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.enquiry-copy h2 {
  font-size: clamp(38px, 4vw, 52px);
}

.gold-line {
  width: 48px;
  height: 3px;
  margin: 25px 0;
  background: #bc913d;
}

.enquiry-copy > p:not(.eyebrow) {
  max-width: 410px;
  color: var(--muted);
}

.enquiry-copy .lead {
  font-size: 20px;
  line-height: 1.6;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 32px;
}

.location-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #dbc79e;
  border-radius: 50%;
  color: var(--maroon);
  font-size: 25px;
}

.location-card strong,
.location-card div > span {
  display: block;
}

.location-card strong {
  font-size: 14px;
}

.location-card div > span {
  color: var(--muted);
  font-size: 12px;
}

.enquiry-form {
  min-width: 0;
  padding: 32px;
  border: 1px solid #eee6d9;
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 45px #42240b08;
}

.enquiry-form h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.form-intro {
  color: var(--muted);
  font-size: 13px;
}

.field {
  min-width: 0;
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d9dce2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.field input::placeholder {
  color: #7b8190;
  font-size: 13px;
}

.field input:focus {
  border-color: var(--maroon);
}

.field small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-button {
  width: 100%;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

/* Driver invitation */

.driver-section {
  padding: 48px 0;
  background: linear-gradient(110deg, var(--maroon-dark), var(--maroon));
  color: white;
}

.driver-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.driver-layout > div {
  max-width: 610px;
}

.driver-section .eyebrow {
  color: var(--gold);
}

.driver-section h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.driver-section p:last-child {
  margin-bottom: 0;
  color: #f0dce2;
  font-size: 15px;
}

.driver-section .button {
  flex-shrink: 0;
}

/* FAQs */

.faq-section {
  background: #fffdf9;
}

.faq-list {
  max-width: 850px;
  margin: 36px auto 0;
}

details {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--maroon);
  font-size: 22px;
  font-weight: 400;
  content: "+";
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */

.site-footer {
  padding: 42px 0 20px;
  background: var(--maroon-dark);
  color: white;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}

.site-footer p {
  margin-bottom: 6px;
  color: #e2c8cf;
  font-size: 13px;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact a {
  font-size: 14px;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ffffff20;
  color: #dbc2ca;
  font-size: 11px;
}

/* Tablet */

@media (max-width: 900px) {
  .header-inner {
    gap: 15px;
  }

  .brand span {
    font-size: 20px;
  }

  nav {
    gap: 16px;
  }

  .enquiry-layout {
    gap: 35px;
  }

  .steps {
    gap: 22px;
  }

  .step {
    flex-direction: column;
    gap: 10px;
  }

  .hero::after {
    background: linear-gradient(90deg, #51091c, #650c22e6 60%, #650c2270);
  }
}

/* Mobile */

@media (max-width: 680px) {
  .container {
    width: 90%;
  }

  .section {
    padding: 54px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding-block: 10px 16px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand span {
    font-size: 23px;
  }

  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  nav > a {
    font-size: 11px;
  }

  nav .button {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .hero::before {
    inset: 0;
    background-position: 65% center;
  }

  .hero::after {
    background: #51091cde;
  }

  .hero-content {
    padding: 55px 0;
  }

  h1 {
    font-size: clamp(36px, 9vw, 49px);
    letter-spacing: -1.4px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }

  .step {
    flex-direction: row;
    gap: 18px;
  }

  .enquiry-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .enquiry-copy h2 {
    font-size: 40px;
  }

  .enquiry-form {
    padding: 23px;
  }

  .driver-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .driver-layout .button {
    width: 100%;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}