:root {
  --blue-900: #14324f;
  --blue-800: #1b4965;
  --blue-700: #1e5a78;
  --accent: #ffb800;
  --accent-dark: #d89200;
  --green: #2a9d8f;
  --red: #c44536;
  --text: #2b2d31;
  --muted: #5d6673;
  --line: #dde3ea;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --soft-blue: #eef5f8;
  --shadow: 0 16px 32px rgba(20, 50, 79, 0.08);
  --radius: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue-700);
}

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

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

.top-strip {
  background: var(--blue-900);
  color: #f8fbfd;
  font-size: 14px;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.top-strip a {
  color: #ffffff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--blue-900);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.brand span:last-child {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  padding-block: 10px;
  color: var(--text);
}

.main-nav a[aria-current="page"] {
  color: var(--blue-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: #231a00;
}

.button.primary:hover {
  background: var(--accent-dark);
  color: #231a00;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.button.secondary:hover {
  color: var(--blue-900);
  background: #ffffff;
}

.button.ghost {
  color: var(--blue-900);
  border-color: var(--line);
  background: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue-900);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 68vh;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 50, 79, 0.94), rgba(20, 50, 79, 0.74) 54%, rgba(20, 50, 79, 0.42)),
    url("../images/hero-safety.jpg");
  background-position: center;
  background-size: cover;
}

.hero .container {
  padding-block: 92px 104px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 48px);
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
}

h3 {
  font-size: 21px;
}

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

.hero-text p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: #edf5f9;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-50%);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 112px;
  padding: 22px;
  background: #ffffff;
}

.trust-item strong {
  display: block;
  color: var(--blue-900);
  font-size: 23px;
  line-height: 1.1;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.section {
  padding-block: 88px;
}

.section.compact {
  padding-block: 64px;
}

.section.soft {
  background: var(--soft);
}

.section.blue {
  color: #ffffff;
  background: var(--blue-900);
}

.section-header {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
}

.blue .section-header p {
  color: #d7e7ef;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 50, 79, 0.05);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: #fff3c4;
}

.icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.service-card p,
.reason-card p,
.course-card p,
.resource-card p,
.contact-box p {
  margin: 12px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-800);
  font-weight: 900;
}

.reason-card,
.course-card,
.resource-card,
.contact-box {
  padding: 26px;
}

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  color: #231a00;
  background: var(--accent);
  font-weight: 900;
}

.process-step p {
  margin: 10px 0 0;
  color: #d7e7ef;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.testimonial {
  padding: 30px;
}

.testimonial blockquote {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.testimonial figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue-800);
}

.cta-band p {
  margin: 14px 0 0;
  color: #d7e7ef;
}

.cta-phone {
  display: inline-block;
  margin-top: 20px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  background: #ffffff;
}

.form textarea {
  min-height: 118px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: #d7e7ef;
  font-size: 13px;
}

.page-hero {
  padding-block: 74px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 50, 79, 0.94), rgba(20, 50, 79, 0.76)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #edf5f9;
  font-size: 19px;
}

.anchor-bar {
  position: sticky;
  top: 77px;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.anchor-bar .container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block: 12px;
}

.anchor-bar a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
  background: #ffffff;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 24px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #ffffff;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.overview-card {
  padding: 24px;
}

.overview-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: #231a00;
  font-size: 13px;
  font-weight: 900;
  background: var(--accent);
}

.overview-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.mandatory-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.mandatory-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: #231a00;
  background: var(--accent);
  font-weight: 900;
}

.mandatory-list p {
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  padding: 26px;
}

.price-card strong {
  display: block;
  margin-top: 16px;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1.25;
}

.price-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.pricing-note {
  margin: 24px 0 0;
  padding: 18px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--blue-900);
  font-weight: 800;
  background: var(--soft-blue);
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.meta-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.section-action {
  margin-top: 28px;
}

.article-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-index a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
  background: #ffffff;
}

.articles-list {
  display: grid;
  gap: 28px;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.article-content {
  padding: 34px;
}

.article-content p {
  margin: 14px 0 0;
  color: var(--muted);
}

.article-content h2 a {
  color: inherit;
}

.article-content h2 a:hover {
  color: var(--blue-800);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 800;
  background: var(--soft-blue);
}

.article-content .article-excerpt {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.article-detail-hero {
  display: grid;
  gap: 16px;
}

.article-detail-hero .tag-list {
  margin-top: 0;
}

.article-detail {
  max-width: 920px;
}

.article-detail-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-detail-body {
  margin-top: 28px;
}

.article-detail-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.article-back {
  display: inline-flex;
  margin-top: 10px;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.2);
}

.site-footer {
  padding-block: 54px 28px;
  color: #d7e7ef;
  background: var(--blue-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
}

.site-footer p,
.site-footer li {
  color: #d7e7ef;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.site-footer a {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.mobile-call {
  display: none;
}

@media (max-width: 980px) {
  .top-strip {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
  }

  .header-actions .phone-link,
  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding-block: 72px 86px;
  }

  .trust-row,
  .grid-4,
  .process,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .cta-band,
  .article-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
    font-size: 16px;
  }

  .container {
    width: min(100% - 48px, var(--container));
  }

  .brand {
    gap: 10px;
    font-size: 15px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    background-position: 62% center;
  }

  .hero .container {
    padding-block: 58px 76px;
  }

  .hero-text p:not(.eyebrow),
  .page-hero p {
    font-size: 17px;
  }

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

  .trust-row {
    transform: none;
    margin-top: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .trust-row.container {
    width: 100%;
  }

  .section {
    padding-block: 54px;
  }

  .section.compact {
    padding-block: 44px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process,
  .footer-grid,
  .mandatory-list,
  .pricing-grid,
  .meta-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .cta-band {
    padding: 26px;
  }

  .cta-phone {
    font-size: 24px;
  }

  .anchor-bar {
    top: 76px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-call {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: var(--radius);
    color: #231a00;
    background: var(--accent);
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(20, 50, 79, 0.22);
  }
}
