:root {
  --yellow: rgb(255, 210, 47);
  --blue: rgb(23, 144, 208);
  --ink: #17202a;
  --muted: #5f6f7d;
  --line: #dbe5ec;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(16, 41, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
}

.top-contact {
  display: block;
  width: 100%;
  padding: 0.78rem 1rem;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background: var(--yellow);
}

.top-contact:focus-visible,
.button:focus-visible,
.nav a:focus-visible,
.carousel-control:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 3rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0 4.5rem;
}

.hero-content {
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 7vw, 4.75rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.16rem;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
}

.button.secondary {
  color: var(--blue);
  border-color: var(--blue);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
}

.about-grid p,
.legal-content p {
  color: var(--muted);
}

.company-card,
.service-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 41, 59, 0.08);
}

.company-card {
  padding: 1.35rem;
}

dl {
  margin: 0;
}

.company-card div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.services-band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - 1120px) / 2));
  padding-left: max(16px, calc((100% - 1120px) / 2));
  background: var(--soft);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-list article {
  padding: 1.3rem;
}

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

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.carousel-track {
  position: relative;
  min-height: 460px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.carousel-slide figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: fit-content;
  max-width: min(92%, 620px);
  padding: 0.75rem 0.9rem;
  color: var(--white);
  border-radius: 8px;
  background: rgba(23, 32, 42, 0.78);
  font-weight: 700;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-control.prev {
  left: 1rem;
}

.carousel-control.next {
  right: 1rem;
}

.site-footer {
  color: var(--white);
  background: #17202a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 2rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 3rem 0;
}

.site-footer h2 {
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
}

.site-footer p,
.site-footer address {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

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

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

.site-footer li + li {
  margin-top: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.legal-page {
  background: linear-gradient(180deg, var(--soft), var(--white) 280px);
}

.legal-content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.legal-content h2 {
  margin-top: 2.1rem;
  font-size: 1.35rem;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav,
  .hero,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
    align-items: start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    gap: 2rem;
    padding-top: 3rem;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .about-grid {
    display: grid;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .carousel-track,
  .carousel-slide img {
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .brand span:last-child {
    max-width: 230px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
  }

  .carousel-slide figcaption {
    font-size: 0.9rem;
  }
}
