:root {
  --ink: #1e2528;
  --muted: #59656a;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #eaf4f0;
  --teal: #0b766e;
  --deep-teal: #12383a;
  --red: #b94335;
  --gold: #e4a72f;
  --line: #d9e3df;
  --shadow: 0 20px 55px rgba(22, 42, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep-teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-call:hover,
.header-call:focus-visible {
  background: #99362b;
}

.language-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 104px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.language-toggle button.active {
  background: var(--teal);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(38px, 6vw, 88px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(234, 244, 240, 0.96), rgba(251, 250, 247, 0.9) 56%, rgba(228, 167, 47, 0.12)),
    var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(2.3rem, 4.9vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #99362b;
}

.button.secondary {
  border-color: var(--teal);
  background: var(--white);
  color: var(--deep-teal);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--mist);
}

.emergency-note {
  max-width: 570px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 56, 58, 0) 42%, rgba(18, 56, 58, 0.7));
  pointer-events: none;
}

.image-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(18, 56, 58, 0.78);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.image-caption strong,
.image-caption span {
  display: block;
}

.image-caption strong {
  font-size: 1.35rem;
  line-height: 1;
}

.image-caption span {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: right;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.quick-contact a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 24px clamp(18px, 4vw, 48px);
  text-decoration: none;
}

.quick-contact a + a {
  border-left: 1px solid var(--line);
}

.quick-contact span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-contact strong {
  color: var(--deep-teal);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.quick-contact a:hover strong,
.quick-contact a:focus-visible strong {
  color: var(--red);
}

.section,
.split-section,
.steps-section {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-intro,
.steps-intro {
  max-width: 780px;
  margin-bottom: 30px;
}

.steps-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.steps-photo,
.support-photos figure,
.contact-photo {
  margin: 0;
}

.steps-photo {
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.steps-photo img,
.support-photos img,
.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: accident-steps;
}

.step-list li {
  position: relative;
  min-height: 180px;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  counter-increment: accident-steps;
}

.step-list li::before {
  content: counter(accident-steps);
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep-teal);
  color: var(--white);
  font-weight: 800;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list strong {
  color: var(--deep-teal);
  font-size: 1.02rem;
}

.step-list span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.step-list li:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.support-photos {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
  margin: 0 0 18px;
}

.support-photos figure {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.support-photos figcaption,
.contact-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(18, 56, 58, 0.78);
  color: var(--white);
  font-weight: 800;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.help-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.help-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(11, 118, 110, 0.11);
  color: var(--teal);
  font-weight: 800;
}

.help-grid p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--deep-teal);
  color: var(--white);
}

.split-section h2 {
  color: var(--white);
}

.split-section p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.split-section .eyebrow {
  color: var(--gold);
}

.area-box {
  display: grid;
  min-height: 260px;
  place-content: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(228, 167, 47, 0.2), rgba(185, 67, 53, 0.2)),
    rgba(255, 255, 255, 0.07);
  text-align: center;
}

.area-box strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.area-box span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.facebook-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.facebook-frame {
  display: grid;
  grid-template-columns: minmax(300px, 500px) minmax(260px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.facebook-frame iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  min-height: 520px;
  border-radius: 8px;
  background: var(--mist);
}

.facebook-copy {
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.facebook-copy h3 {
  margin-top: 0;
  color: var(--deep-teal);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.facebook-copy p {
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-section {
  background: var(--mist);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  padding: 22px;
  border: 1px solid rgba(11, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-teal);
  font-weight: 800;
}

.lead-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bdcbc6;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 118, 110, 0.18);
  border-color: var(--teal);
}

.lead-form button {
  border: 0;
  font: inherit;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.contact-photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  margin-left: 16px;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto auto;
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: rgba(251, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    z-index: 10;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px clamp(18px, 4vw, 56px);
    border-top: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    max-width: 640px;
    min-height: 420px;
  }

  .quick-contact,
  .help-grid,
  .split-section,
  .step-list,
  .steps-layout,
  .support-photos,
  .facebook-section,
  .facebook-frame,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .quick-contact a:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .steps-layout,
  .facebook-section,
  .facebook-frame,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .steps-photo,
  .support-photos figure,
  .contact-photo {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .quick-contact,
  .help-grid,
  .split-section,
  .step-list,
  .support-photos,
  .facebook-section,
  .facebook-frame,
  .contact-layout,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .header-call,
  .language-toggle {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .image-caption {
    display: grid;
  }

  .image-caption span {
    max-width: none;
    text-align: left;
  }

  .quick-contact a + a,
  .quick-contact a:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .area-box {
    min-height: 190px;
  }

  .area-box strong {
    font-size: 2rem;
  }

  .step-list li:last-child {
    grid-column: auto;
  }

  .lead-form {
    padding: 16px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer a {
    display: block;
    margin: 8px 0 0;
  }
}
