/* ---------- Design tokens ---------- */
:root {
  --red: #B3261E;
  --red-dark: #8F1F19;
  --ink: #1F1B18;
  --white: #FFFFFF;
  --bg-alt: #F5F1EE;
  --border: rgba(31, 27, 24, 0.12);
  --shadow: 0 12px 32px rgba(31, 27, 24, 0.10);
  --radius: 10px;
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}

.section-head {
  max-width: 680px;
  margin: 0 0 40px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
}

.section-head p {
  color: #4a4440;
  font-size: 17px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 80px;
  width: auto;
}

@media (min-width: 721px) {
  .site-header .container {
    height: 199px;
  }

  .brand img {
    height: 163px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: var(--red);
  opacity: 0.18;
  border-radius: 50%;
}

.hero .container {
  position: relative;
  padding: 96px 24px 88px;
  max-width: 760px;
}

.hero .eyebrow {
  color: #ff9d94;
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 52px);
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-caption {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 19px;
}

.about-card p {
  color: #4a4440;
  font-size: 15px;
}

/* ---------- Services / process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.process-card .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.process-card h4 {
  font-size: 16px;
}

.process-card p {
  color: #4a4440;
  font-size: 14px;
  margin: 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 32px;
  list-style: none;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
}

.checklist-grid li {
  display: flex;
  gap: 10px;
  font-size: 15px;
}

.checklist-grid li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 4px;
  background: var(--red);
}

/* ---------- Accreditations ---------- */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.accred-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}

.accred-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}

.accred-card h3 {
  font-size: 17px;
}

.accred-card p {
  color: #4a4440;
  font-size: 14px;
  margin: 0;
}

/* ---------- Quote form ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.quote-info h2 {
  font-size: clamp(26px, 4vw, 34px);
}

.quote-info p {
  color: #4a4440;
}

.quote-info ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.quote-info li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

form.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #4a4440;
  margin-bottom: 20px;
}

.consent input {
  margin-top: 3px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.success {
  color: #1a7a3c;
}

.form-status.error {
  color: var(--red);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 24px;
}

.contact-item h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 6px;
}

.contact-item p {
  margin: 0;
  font-size: 16px;
}

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ---------- Legal pages ---------- */
.legal .container {
  max-width: 820px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 40px;
}

.legal p, .legal li {
  color: #3a3532;
  font-size: 15.5px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 1em;
}

.legal .updated {
  color: #7a736d;
  font-size: 14px;
}

.notice-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14.5px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid,
  .quote-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 116px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

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

  .main-nav a {
    font-size: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero .container {
    padding: 72px 20px 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
