:root {
  --ink: #172232;
  --muted: #5e6b7d;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --brand: #005baa;
  --brand-2: #0087bb;
  --accent: #d7a12f;
  --deep: #101820;
  --deep-2: #1c2f3f;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, sans-serif;
  font-size: 1.6rem;
  line-height: 1.65;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: Heebo, Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 800px;
  font-size: clamp(3.6rem, 5vw, 6.2rem);
}

h2 {
  font-size: clamp(2.9rem, 3.8vw, 4.4rem);
}

h3 {
  font-size: 2.1rem;
  line-height: 1.24;
}

address {
  font-style: normal;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  min-height: 92vh;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(16, 24, 32, 0.9), rgba(0, 91, 170, 0.54) 54%, rgba(16, 24, 32, 0.84)),
    url("../img/bg_1.jpg") center / cover no-repeat;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern.png");
  opacity: 0.32;
  pointer-events: none;
}

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.site-nav.navbar-home {
  background: rgba(16, 24, 32, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.12);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(188px, calc(100vw - 104px));
}

.brand-logo {
  width: 100%;
  height: auto;
}

.navbar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  color: #fff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav.navbar-home .navbar-toggle .icon-bar {
  color: #fff;
}

.navbar-toggle.navbar-colse .icon-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.navbar-colse .icon-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.navbar-colse .icon-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav.navbar-home .nav-list a {
  color: rgba(255, 255, 255, 0.78);
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list .active > a,
.site-nav.navbar-home .nav-list .active > a {
  color: var(--accent);
}

.header-overlay {
  position: relative;
  z-index: 1;
  min-height: 92vh;
}

.header-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  gap: 56px;
  align-items: end;
  min-height: 92vh;
  padding: 140px 0 70px;
}

.hero-copy p {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.7rem;
  line-height: 1.65;
}

.eyebrow,
.section-label,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #004f93;
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.56);
  backdrop-filter: blur(12px);
}

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

.delivery-list li {
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 500;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.hero-metrics div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-family: Heebo, Roboto, sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.6rem;
  line-height: 1.35;
}

.about-section,
.services-section,
.delivery-section,
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}

.about-section {
  color: #fff;
  background: var(--deep);
}

.about-background-image {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.background-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url("../img/bg_2.jpg") center / cover no-repeat;
}

.background-right-overlay-color {
  position: absolute;
  inset: 0;
  background: rgba(0, 91, 170, 0.62);
}

.about-grid,
.delivery-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  max-width: 790px;
}

.section-copy p {
  max-width: 660px;
  margin-top: 20px;
  font-size: 1.6rem;
}

.about-section .section-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.about-section .section-copy a {
  color: #8bd3ff;
  font-weight: 700;
}

.about-proof {
  display: grid;
  gap: 16px;
  margin-left: 20px;
}

.proof-card,
.service-card {
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(16, 24, 32, 0.08);
}

.proof-card {
  padding: 22px;
  color: var(--ink);
}

.proof-card span,
.service-icon,
.process-list span {
  color: var(--accent);
  font-family: Heebo, Roboto, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.proof-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.7rem;
}

.proof-card p {
  margin-top: 6px;
}

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

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(217, 225, 234, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(16, 24, 32, 0.13);
}

.service-card h3 {
  margin-top: 28px;
  color: var(--ink);
}

.service-card p {
  margin-top: 16px;
}

.service-card .service-cta {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.service-card .service-cta:hover,
.service-card .service-cta:focus-visible {
  color: var(--brand-2);
}

.delivery-section {
  background: #fff;
}

.delivery-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 0 0 1px rgba(0, 91, 170, 0.2),
    0 0 34px rgba(0, 135, 187, 0.28),
    0 24px 54px rgba(16, 24, 32, 0.22);
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.delivery-media:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 91, 170, 0.28),
    0 0 44px rgba(0, 135, 187, 0.36),
    0 28px 66px rgba(16, 24, 32, 0.28);
}

.delivery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.process-list div {
  padding: 0 0 18px 22px;
  border-left: 3px solid var(--line);
}

.process-list p {
  margin-top: 6px;
}

.contact-section {
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
}

.contact-grid {
  align-items: stretch;
}

.contact-panel {
  padding: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel h2 {
  margin-bottom: 22px;
}

.contact-panel address {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  color: #fff;
  font-weight: 700;
}

.contact-links a:hover,
.contact-links a:focus {
  color: var(--accent);
}

.contact-us {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: #1f1e25;
  color: #b3b3b3;
  font-family: "Open Sans", Heebo, Roboto, Arimo, sans-serif;
}

.contact-us-body {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: -15px;
  margin-left: -15px;
}

.contact-us-left,
.contact-us-right {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.contact-us-left {
  flex: 0 0 33.33333333%;
  max-width: 33.33333333%;
}

.contact-us-left h2 {
  margin: 0 0 20px;
  color: #609ddb;
  font-family: Oswald, "Open Sans", sans-serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 1.45;
}

.contact-us-left p {
  margin: 0 0 20px;
  font-weight: 300;
  line-height: 1.86;
}

.contact-us-left p,
.contact-us-left p a {
  color: #b3b3b3;
}

.contact-us-left .bold {
  color: #b3b3b3;
}

.contact-us-left p a:hover,
.contact-us-left p a:focus {
  color: #609ddb;
}

.social-icon {
  margin-top: 28px;
}

.contact-us .nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon li {
  float: none;
}

.social-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #252321;
  transition: background 0.25s ease;
}

.social-icon a:hover,
.social-icon a:focus {
  background: #609ddb;
}

.fa {
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.fa-facebook::before {
  content: "f";
}

.fa-twitter::before {
  content: "X";
}

.fa-youtube::before {
  content: "▶";
}

.fa-instagram::before {
  content: "IG";
  font-size: 12px;
}

.fa-linkedin::before {
  content: "in";
}

.contact-us-right {
  flex: 0 0 58.33333333%;
  max-width: 58.33333333%;
  margin-left: 8.33333333%;
}

.contact-us-right .row {
  margin: 0;
  height: 100%;
}

.map {
  min-height: 360px;
  width: 100%;
  background: #2d333c;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.6rem;
  font-weight: 700;
}

.social-links a:hover,
.social-links a:focus {
  color: #fff;
  border-color: var(--accent);
}

.map-panel {
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  background: #2d333c;
}

.map {
  width: 100%;
  height: auto;
}

.site-footer {
  background: #0d141b;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner a {
  color: #fff;
  font-weight: 700;
}

.btn-top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.has-js .animated {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.has-js .animated.is-visible {
  opacity: 1;
  transform: none;
}

.has-js .fadeInLeft.animated {
  transform: translateX(-28px);
}

.has-js .fadeInRight.animated {
  transform: translateX(28px);
}

.has-js .fadeInDown.animated {
  transform: translateY(-24px);
}

.has-js .fadeInUp.animated {
  transform: translateY(24px);
}

.has-js .fadeInLeft.animated.is-visible,
.has-js .fadeInRight.animated.is-visible,
.has-js .fadeInDown.animated.is-visible,
.has-js .fadeInUp.animated.is-visible {
  transform: none;
}

@media (max-width: 1080px) {
  .header-body,
  .about-grid,
  .delivery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-body {
    align-items: center;
    gap: 34px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .background-right {
    width: 100%;
    opacity: 0.35;
  }

  .background-right-overlay-color {
    background: rgba(16, 24, 32, 0.78);
  }

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

  .contact-us-left,
  .contact-us-right {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .contact-us-right {
    margin-top: 30px;
  }
}

@media (max-width: 820px) {
  .navbar-toggle {
    display: block;
  }

  .nav-inner {
    min-height: 70px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px rgba(16, 24, 32, 0.16);
    transition: max-height 0.24s ease;
  }

  .nav-menu.open {
    max-height: 320px;
  }

  .nav-list {
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
  }

  .nav-list a,
  .site-nav.navbar-home .nav-list a {
    padding: 12px 0;
    color: var(--ink);
  }

  .site-header {
    min-height: auto;
  }

  .header-body {
    min-height: auto;
    padding: 126px 0 62px;
  }

  .about-section,
  .services-section,
  .delivery-section,
  .contact-section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .brand {
    width: min(164px, calc(100vw - 92px));
  }

  .hero-copy p {
    font-size: 1.6rem;
  }

  .hero-actions,
  .hero-metrics,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .contact-panel,
  .service-card,
  .proof-card {
    padding: 22px;
  }

  .map-panel,
  .map {
    min-height: 300px;
  }

  .contact-us {
    padding: 64px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }
}
