:root {
  color-scheme: light;
  --ink: #0b1117;
  --ink-soft: #15202b;
  --paper: #ffffff;
  --white: #ffffff;
  --muted: #586473;
  --line: #dce1e6;
  --red: #ed1c24;
  --red-dark: #c51017;
  --orange: #ff9418;
  --radius: 14px;
  --shadow: 0 18px 46px rgb(11 17 23 / 0.1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffbc55;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  translate: 0 -180%;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  background: rgb(8 15 22 / 0.92);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: block;
  width: fit-content;
}

.brand-logo {
  width: clamp(9.75rem, 48vw, 12rem);
  height: auto;
}

.site-header .brand-logo {
  width: clamp(8.25rem, 40vw, 9rem);
}

.menu-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.main-nav {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  left: 0;
  display: none;
  padding: 0.7rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  background: #0b141d;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.35);
}

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

.main-nav > a:not(.button) {
  padding: 0.78rem 0.9rem;
  border-radius: 8px;
  color: #dfe5eb;
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav > a:not(.button):hover {
  background: rgb(255 255 255 / 0.06);
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid var(--red-dark);
  border-radius: 10px;
  background: var(--red-dark);
  color: var(--white);
  padding: 0.78rem 1.2rem;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, translate 160ms ease;
}

.button:hover {
  border-color: #9f0b11;
  background: #9f0b11;
  translate: 0 -2px;
}

.button-small {
  min-height: 44px;
  margin-top: 0.4rem;
}

.button-ghost {
  border-color: rgb(255 255 255 / 0.7);
  background: rgb(4 9 14 / 0.3);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 0.1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: end;
  overflow: hidden;
  background: #071019;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 67% center;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgb(4 10 16 / 0.2) 0%, rgb(4 10 16 / 0.76) 54%, rgb(4 10 16 / 0.98) 100%),
    linear-gradient(90deg, rgb(4 10 16 / 0.92) 0%, rgb(4 10 16 / 0.54) 70%, rgb(4 10 16 / 0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.1rem;
  padding-top: 8rem;
  padding-bottom: 2.2rem;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  color: #35404c;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--orange);
  content: "";
}

.eyebrow-light {
  color: #ecf0f4;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 10vw, 4.1rem);
}

h1 span,
h2 span {
  color: var(--red);
}

.hero-lead {
  max-width: 53ch;
  margin: 0;
  color: #dde4ea;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  line-height: 1.6;
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-benefits {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
  border-left: 2px solid rgb(255 255 255 / 0.18);
  padding-left: 0.8rem;
  color: #f2f4f6;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-benefits li:first-child {
  border-left-color: var(--red);
}

.hero-benefits svg,
.service-title svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.section {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.services {
  isolation: isolate;
  background: #ffffff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2,
.trust h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 8vw, 3.35rem);
}

.section-heading > p:last-child,
.trust-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.1rem;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.service-grid::-webkit-scrollbar {
  display: none;
}

.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-meta > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #cfd4d9;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.carousel-controls button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.carousel-controls button:disabled {
  background: #ffffff;
  color: #7c8792;
  cursor: default;
  opacity: 0.46;
}

.carousel-controls span {
  min-width: 2.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: center;
}

.service-card {
  position: relative;
  display: grid;
  flex: 0 0 calc(100% - 2.25rem);
  grid-template-rows: minmax(0, 4fr) minmax(0, 1fr);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid #dfe3e7;
  border-radius: 10px;
  background: var(--white);
  box-shadow: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.service-card::before {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 20%;
  left: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgb(4 9 13 / 0.88));
  content: "";
  pointer-events: none;
}

.service-card > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.service-card-body {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 0;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  border-top: 1px solid #edf0f2;
  padding: 0.45rem 0.85rem;
}

.service-title {
  display: block;
  min-width: 0;
  margin: 0;
}

.service-title::before {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--red-dark);
  content: "01";
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
}

.service-card:nth-child(2) .service-title::before {
  content: "02";
}

.service-card:nth-child(3) .service-title::before {
  content: "03";
}

.service-title h3 {
  margin: 0;
  overflow: hidden;
  font-size: clamp(0.82rem, 3.45vw, 1rem);
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card p {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: calc(20% + 0.8rem);
  left: 1rem;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--white);
  font-size: clamp(0.72rem, 2.75vw, 0.85rem);
  font-weight: 540;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.55);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card a {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  gap: 0.45rem;
  margin: 0;
  color: var(--red-dark);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.service-card a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.service-card a:hover {
  color: var(--red);
}

.service-card a:hover svg {
  transform: translateX(3px);
}

.trust {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
}

.trust::before {
  position: absolute;
  top: -15rem;
  right: -15rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 50%;
  content: "";
}

.trust-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.trust-copy {
  order: 1;
}

.trust-lead {
  color: #c9d1d9;
}

.principles {
  display: grid;
  gap: 1.3rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.principle-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(237 28 36 / 0.55);
  border-radius: 50%;
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 900;
}

.principles h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.principles p {
  margin: 0;
  color: #aeb8c2;
  font-size: 0.93rem;
}

.trust-image {
  order: 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d1720;
  box-shadow: 0 24px 54px rgb(0 0 0 / 0.35);
}

.trust-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.site-footer {
  background: #070d12;
  color: #d8dee4;
  padding-top: 3.8rem;
}

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

.footer-brand p {
  max-width: 36ch;
  margin: 1.2rem 0 0;
  color: #99a4ae;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 0.05rem;
}

.contact-list dt {
  color: #87939e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: #eef1f4;
}

.contact-list dd a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #b6c0c9;
}

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

.footer-bottom {
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.09);
  padding-block: 1.3rem calc(1.3rem + env(safe-area-inset-bottom));
  color: #7f8b96;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 23rem) {
  .hero-actions {
    grid-template-columns: repeat(2, max-content);
  }

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

  .hero-benefits li {
    align-items: flex-start;
  }
}

@media (min-width: 48rem) {
  .container {
    width: min(calc(100% - 4rem), var(--max));
  }

  .header-inner {
    min-height: 74px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    gap: 3.2rem;
    padding-top: 10rem;
    padding-bottom: 3.5rem;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgb(4 10 16 / 0.08), rgb(4 10 16 / 0.72) 100%),
      linear-gradient(90deg, rgb(4 10 16 / 0.97) 0%, rgb(4 10 16 / 0.84) 36%, rgb(4 10 16 / 0.18) 77%);
  }

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

  h1 {
    max-width: 21ch;
    font-size: clamp(3.2rem, 5vw, 3.6rem);
  }

  .hero-benefits {
    max-width: 780px;
  }

  .service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }

  .service-card {
    min-width: 0;
  }

  .carousel-meta {
    display: none;
  }

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

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .main-nav > a:not(.button) {
    padding-inline: 0.72rem;
  }

  .button-small {
    min-width: 146px;
    margin-top: 0;
    margin-left: 0.6rem;
  }

  .main-nav {
    gap: 0.55rem;
  }

  .hero {
    min-height: 770px;
  }

  .hero-inner {
    gap: 4.5rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .service-card-body {
    min-height: 0;
    padding: 0.6rem 1rem;
  }

  .trust-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6.5rem);
  }

  .trust-copy {
    order: 2;
  }

  .trust-image {
    order: 1;
  }

  .trust-image img {
    height: 570px;
    min-height: 570px;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

@media (min-width: 90rem) {
  .hero-image {
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
