@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --color-white: #ffffff;
  --color-cool-white: #f5f7f9;
  --color-silver: #e8ecef;
  --color-pale-grey: #d5dce2;
  --color-concrete: #c3c9ce;
  --color-metallic: #8a939c;
  --color-graphite: #2c3238;
  --color-charcoal: #1a1e23;
  --color-navy: #0f1c2e;
  --color-aqua: #6a9fb5;
  --color-teal: #2f6f7e;
  --color-teal-dark: #245863;
  --color-steel: #b7c0c8;
  --color-error: #b42318;
  --color-success: #1f6b4a;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --shadow-soft: 0 12px 32px rgba(26, 30, 35, 0.08);
  --shadow-lift: 0 18px 40px rgba(15, 28, 46, 0.14);
  --radius: 4px;
  --header-h: 76px;
  --container: 1180px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-graphite);
  background: var(--color-cool-white);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

body.is-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

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

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

a:hover {
  color: var(--color-teal-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-charcoal);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__main {
  flex: 1;
  padding-top: var(--header-h);
}

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

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--silver {
  background: var(--color-silver);
}

.section--navy {
  background: linear-gradient(160deg, var(--color-navy) 0%, #16263b 100%);
  color: var(--color-cool-white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--color-white);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.section__lead {
  max-width: 38rem;
  font-size: 1.1rem;
  color: #4a535c;
}

.section--navy .section__lead {
  color: var(--color-steel);
}

.section__head {
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 42rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(245, 247, 249, 0.97);
  border-bottom: 1px solid rgba(138, 147, 156, 0.25);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--color-charcoal);
}

.header__brand:hover {
  color: var(--color-charcoal);
}

.header__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.header__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--color-graphite);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-teal-dark);
  background: rgba(47, 111, 126, 0.08);
}

.nav__cta {
  margin-left: 0.4rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-concrete);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-charcoal);
  transition: transform var(--transition), opacity var(--transition);
}

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

.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.btn--primary {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(47, 111, 126, 0.22);
}

.btn--primary:hover {
  background: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-concrete);
}

.btn--ghost:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--light:hover {
  background: var(--color-silver);
  color: var(--color-navy);
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 28, 46, 0.82) 0%, rgba(15, 28, 46, 0.45) 48%, rgba(15, 28, 46, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 28, 46, 0.7) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  max-width: 40rem;
}

.hero h1 {
  color: var(--color-white);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__text {
  color: var(--color-steel);
  font-size: 1.12rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  background-color: var(--color-navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.page-hero--services {
  background-image:
    linear-gradient(135deg, rgba(15, 28, 46, 0.88), rgba(47, 111, 126, 0.5)),
    url("/images/mist-spray-front-grille.jpg");
}

.page-hero--about {
  background-image:
    linear-gradient(135deg, rgba(15, 28, 46, 0.9), rgba(36, 88, 99, 0.55)),
    url("/images/wash-bay-equipment-vertical.jpg");
}

.page-hero--contact {
  background-image:
    linear-gradient(135deg, rgba(15, 28, 46, 0.88), rgba(47, 111, 126, 0.48)),
    url("/images/hood-reflection-polish.jpg");
}

.page-hero--legal {
  background-image:
    linear-gradient(135deg, rgba(15, 28, 46, 0.92), rgba(44, 50, 56, 0.7)),
    url("/images/drying-towel-panel.jpg");
}

.page-hero--terms {
  background-image:
    linear-gradient(135deg, rgba(15, 28, 46, 0.92), rgba(44, 50, 56, 0.7)),
    url("/images/tyre-sidewall-presentation.jpg");
}

.page-hero--cookies {
  background-image: linear-gradient(145deg, #0f1c2e 0%, #1c3348 55%, #245863 100%);
}

.page-hero h1,
.page-hero h2 {
  color: var(--color-white);
}

.page-hero__eyebrow {
  color: #9ec7d4;
}

.page-hero__text {
  max-width: 40rem;
  color: var(--color-steel);
  font-size: 1.08rem;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(138, 147, 156, 0.28);
}

.split__img {
  width: 100%;
  height: clamp(260px, 40vw, 460px);
  object-fit: cover;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--color-white);
  border: 1px solid rgba(138, 147, 156, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--color-silver);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card__img {
  transform: scale(1.04);
}

.card__body {
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__text {
  flex: 1;
  color: #4f5861;
  margin-bottom: 1rem;
}

.card__link {
  font-weight: 700;
  text-decoration: none;
  color: var(--color-teal);
}

.card__link:hover {
  color: var(--color-teal-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.35rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(183, 192, 200, 0.22);
  border-radius: var(--radius);
}

.step__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-aqua);
  margin-bottom: 0.55rem;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.benefit {
  padding: 1.4rem 1.25rem;
  background: var(--color-white);
  border-left: 3px solid var(--color-teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.location__panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--color-white);
  border: 1px solid rgba(138, 147, 156, 0.3);
  border-radius: var(--radius);
}

.location__img {
  width: 100%;
  height: clamp(240px, 36vw, 380px);
  object-fit: cover;
  border-radius: var(--radius);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band__text {
  max-width: 36rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid rgba(138, 147, 156, 0.28);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.contact-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-card__item {
  margin-bottom: 1rem;
}

.contact-card__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-metallic);
  margin-bottom: 0.25rem;
}

.contact-card__value {
  margin: 0;
  color: var(--color-charcoal);
  font-weight: 600;
}

.form {
  background: var(--color-white);
  border: 1px solid rgba(138, 147, 156, 0.28);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-soft);
}

.form__group {
  margin-bottom: 1.1rem;
}

.form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.form__input,
.form__textarea {
  width: 100%;
  border: 1px solid var(--color-concrete);
  border-radius: var(--radius);
  background: var(--color-cool-white);
  color: var(--color-charcoal);
  font: inherit;
  padding: 0.85rem 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__input:hover,
.form__textarea:hover {
  border-color: var(--color-metallic);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(47, 111, 126, 0.16);
  outline: none;
  background: var(--color-white);
}

.form__input.is-invalid,
.form__textarea.is-invalid {
  border-color: var(--color-error);
}

.form__input.is-valid,
.form__textarea.is-valid {
  border-color: var(--color-success);
}

.form__error {
  display: none;
  margin-top: 0.35rem;
  color: var(--color-error);
  font-size: 0.9rem;
}

.form__error.is-visible {
  display: block;
}

.form__hint {
  margin: 0.35rem 0 0;
  color: #667078;
  font-size: 0.88rem;
}

.legal {
  max-width: 48rem;
}

.legal h2 {
  margin-top: 2rem;
}

.legal h3 {
  margin-top: 1.4rem;
}

.footer {
  background: var(--color-navy);
  color: var(--color-steel);
  padding: 3.2rem 0 1.6rem;
  margin-top: auto;
}

.footer a {
  color: var(--color-aqua);
  text-decoration: none;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--color-white);
  text-decoration: none;
}

.footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-white);
}

.footer__title {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.55rem;
}

.footer__phone {
  color: var(--color-white);
  font-weight: 600;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.footer__social a {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer__bottom {
  border-top: 1px solid rgba(183, 192, 200, 0.18);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 46, 0.62);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(90vh, 560px);
  overflow: auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 1.6rem 1.4rem 1.5rem;
}

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-concrete);
  border-radius: var(--radius);
  background: var(--color-cool-white);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-charcoal);
}

.modal__close:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

.modal__title {
  padding-right: 2.5rem;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(138, 147, 156, 0.28);
  box-shadow: var(--shadow-soft);
}

.media-frame__img {
  width: 100%;
  height: clamp(220px, 34vw, 360px);
  object-fit: cover;
}

.prose-list li {
  margin-bottom: 0.45rem;
}

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split--reverse .split__media,
  .location,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

@media (max-width: 860px) {
  .burger {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
    background: rgba(245, 247, 249, 0.98);
    padding: 1.2rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    flex-direction: column;
    z-index: 1001;
  }

  .nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.35rem;
  }

  .nav__link {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
  }

  .nav__cta {
    margin: 0.6rem 0 0;
    width: 100%;
  }

  .nav__cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .cards,
  .benefits,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .card:hover .card__img {
    transform: none;
  }
}
