/* Premier Accident Repair Centre — layout inspired by professional UK bodyshop sites */

:root {
  --bg: #0c0f14;
  --bg-elevated: #141a22;
  --bg-card: #1a222d;
  --text: #e8ecf1;
  --text-muted: #9aa5b5;
  --accent: #c9a227;
  --accent-hover: #ddb82e;
  --border: rgba(255, 255, 255, 0.08);
  --danger-bg: #2a1810;
  --danger-border: rgba(201, 90, 50, 0.35);
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-line {
    animation: none !important;
  }
}

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

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

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.nowrap {
  white-space: nowrap;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1200px, 100% - 2rem);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(145deg, var(--accent), #8a6f1a);
  color: #111;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.logo-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--accent);
  color: #111 !important;
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: #111 !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(12, 15, 20, 0.98);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    border-top: 1px solid var(--border);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav .nav-list a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  padding-block: 4rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 162, 39, 0.18), transparent),
    linear-gradient(180deg, #121820 0%, var(--bg) 55%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  max-width: 920px;
  margin-bottom: 1.5rem;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--text);
  opacity: 0.35;
  animation: heroPulse 5s ease-in-out infinite;
}

.hero-line:nth-child(2),
.hero-line:nth-child(4) {
  text-align: right;
  animation-delay: 0.15s;
}

.hero-line--accent {
  color: var(--accent);
  opacity: 1;
}

@keyframes heroPulse {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-line--accent {
  animation: none;
  opacity: 1;
}

@media (max-width: 520px) {
  .hero-display {
    grid-template-columns: 1fr;
  }

  .hero-line:nth-child(2),
  .hero-line:nth-child(4) {
    text-align: left;
  }

  .hero-line:nth-child(3),
  .hero-line:nth-child(4) {
    display: none;
  }
}

.hero-tagline {
  max-width: 36rem;
  margin: 0 0 2rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

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

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

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

/* Notice */
.notice {
  padding: 1.75rem 0;
  background: var(--danger-bg);
  border-block: 1px solid var(--danger-border);
}

.notice .wrap {
  max-width: 880px;
}

.notice-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f0c4b0;
}

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section--dark {
  background: #080a0d;
  border-top: 1px solid var(--border);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1;
}

.section-title--on-dark {
  color: var(--text);
}

.section-intro {
  max-width: 720px;
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-intro--on-dark {
  color: #a8b3c4;
}

.section-cta {
  margin: 2.5rem 0 0;
  text-align: center;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.lead strong {
  color: var(--text);
}

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

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

  .grid-2--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .grid-2--reverse .why-copy {
    order: 2;
  }

  .grid-2--reverse .pullquote {
    order: 1;
  }
}

.about-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.stat-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.stat-label a {
  font-weight: 600;
}

/* Cards */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

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

.check-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.check-list li {
  margin-bottom: 0.75rem;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.pullquote {
  margin: 0;
  padding: 2rem;
  background: linear-gradient(160deg, var(--bg-card), var(--bg));
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.pullquote p {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
}

.pullquote footer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Location */
.location-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .location-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }
}

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  background: var(--bg-card);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.address-card {
  font-style: normal;
  margin: 0;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.address-card-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.address-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.address-email {
  font-size: 1.1rem;
}

.address-email a {
  font-weight: 600;
}

.address-note {
  font-size: 0.9rem !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.logo--footer .logo-title {
  font-size: 1.5rem;
}

.footer-tag {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

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

.footer-links a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
}

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

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bar-inner p {
  margin: 0;
}

.footer-small {
  max-width: 420px;
  text-align: right;
}

@media (max-width: 640px) {
  .footer-small {
    text-align: left;
  }
}

/* Modal */
.modal {
  max-width: 520px;
  width: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.modal-inner {
  padding: 2rem;
  position: relative;
}

.modal h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.modal p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--bg-elevated);
}
