/* VolksWirral — modern single-page layout */

:root {
  --color-bg: #f4f3f0;
  --color-surface: #ffffff;
  --color-text: #141414;
  --color-muted: #4a4a4a;
  --color-border: #e2e0db;
  --color-accent: #c41e3a;
  --color-accent-hover: #a01830;
  --color-dark: #0f0f0f;
  --color-dark-soft: #1c1c1c;
  --shadow-sm: 0 1px 2px rgb(15 15 15 / 6%);
  --shadow-md: 0 12px 40px rgb(15 15 15 / 8%);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(72rem, calc(100% - 2rem));
  --header-height: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 2vw + 1rem, 2.35rem);
  font-weight: 700;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-dark);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(15 15 15 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  flex-wrap: wrap;
  padding-block: 0.65rem;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo__volks {
  color: #fff;
}

.logo__wirral {
  color: var(--color-accent);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  color: rgb(255 255 255 / 88%);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.header-cta {
  margin-left: auto;
}

@media (min-width: 48rem) {
  .header-cta {
    margin-left: 0;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.site-header .btn--secondary {
  color: #fff;
  border-color: rgb(255 255 255 / 35%);
}

.btn--compact {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

/* Hero */

.hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(196 30 58 / 8%), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 38ch;
}

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

.hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Trust bar */

.trust-bar {
  padding: 0 0 2.5rem;
  margin-top: -0.5rem;
}

.trust-bar__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.trust-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.trust-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Sections */

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section__header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section__intro {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section--services {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.service-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  border-color: rgb(196 30 58 / 35%);
  box-shadow: var(--shadow-sm);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.section--about .about__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .section--about .about__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.about__panel {
  background: var(--color-dark-soft);
  color: #f5f5f5;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__panel-title {
  color: #fff;
  margin-bottom: 1rem;
}

.brand-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  font-weight: 500;
}

.brand-list li:last-child {
  border-bottom: none;
  color: rgb(255 255 255 / 75%);
  font-weight: 400;
}

.section--contact {
  background: linear-gradient(180deg, var(--color-bg) 0%, #ebe9e4 100%);
}

.contact__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 56rem) {
  .contact__grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-block {
  font-style: normal;
  margin: 1.5rem 0 1.75rem;
}

.contact-block__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 0.35rem;
}

.contact-block a {
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

.map-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: min(22rem, 55vw);
  border: 0;
}

.map-card__note {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  background: #fafaf8;
  border-top: 1px solid var(--color-border);
}

/* Footer */

.site-footer {
  background: var(--color-dark);
  color: rgb(255 255 255 / 78%);
  padding: 1.75rem 0;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: rgb(255 255 255 / 92%);
}

.site-footer__credit {
  margin: 0;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 40rem) {
  .site-header__inner {
    justify-content: center;
    text-align: center;
  }

  .site-nav__list {
    justify-content: center;
  }

  .header-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
  }

  .hero__lead {
    max-width: none;
  }
}
