:root {
  --blue: #07186f;
  --blue-900: #04104d;
  --orange: #ff5b00;
  --graphite: #242426;
  --ink: #111318;
  --muted: #656b76;
  --line: #e6e8ed;
  --soft: #f5f6f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 24, 111, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--white);
}

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

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

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

.section {
  padding: 104px 0;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 32px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  background: var(--blue-900);
}

.topbar__links {
  display: flex;
  gap: 24px;
}

.navbar {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1240px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
}

.brand img {
  width: 188px;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.navlinks a:hover,
.text-link:hover {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn--primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(255, 91, 0, 0.26);
}

.btn--primary:hover {
  background: #e45100;
}

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background:
    linear-gradient(90deg, rgba(4, 16, 77, 0.98) 0%, rgba(4, 16, 77, 0.9) 46%, rgba(4, 16, 77, 0.56) 100%),
    url("https://images.pexels.com/photos/6474471/pexels-photo-6474471.jpeg?auto=compress&cs=tinysrgb&w=1800") center right / cover;
}

.hero__overlay {
  background:
    radial-gradient(circle at 18% 38%, rgba(4, 16, 77, 0.72) 0 20%, transparent 42%),
    linear-gradient(135deg, rgba(255, 91, 0, 0.58) 0 11%, transparent 11% 100%),
    linear-gradient(315deg, rgba(255, 91, 0, 0.16) 0 18%, transparent 18% 100%);
  opacity: 0.95;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 56px;
  min-height: 760px;
  padding: 112px 0 76px;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ff7a2b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 900;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.32);
  overflow-wrap: anywhere;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

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

.hero__panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero__panel div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.hero__panel strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
}

.hero__panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.split,
.benefits__grid,
.quote__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.image-stack::before {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 56%;
  height: 56%;
  content: "";
  border-radius: 6px;
  background: var(--orange);
  z-index: -1;
}

.experience-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  width: 250px;
  padding: 24px;
  color: var(--white);
  border-radius: 6px;
  background: var(--blue);
}

.experience-card strong,
.experience-card span {
  display: block;
}

.experience-card strong {
  font-size: 22px;
  line-height: 1.15;
}

.experience-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.section-copy h2,
.section-heading h2,
.quote h2 {
  color: var(--blue-900);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
}

.section-copy p:not(.eyebrow),
.quote p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.check-grid span {
  padding: 16px;
  color: var(--blue-900);
  border-left: 4px solid var(--orange);
  background: var(--soft);
  font-weight: 800;
}

.services {
  color: var(--white);
  background: var(--blue-900);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.services .section-heading h2 {
  max-width: 720px;
  color: var(--white);
}

.text-link {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

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

.service-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.service-card:hover {
  border-color: rgba(255, 91, 0, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.service-card__number {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--white);
  border-radius: 4px;
  background: var(--orange);
  font-size: 24px;
  font-weight: 900;
}

.service-card p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 24px;
}

.service-card span:not(.service-card__number) {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

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

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list div {
  padding: 26px 28px;
  color: var(--blue-900);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(7, 24, 111, 0.08);
  font-size: 18px;
  font-weight: 900;
}

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

.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blue);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(4, 16, 77, 0.88));
}

.project-card div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: var(--white);
}

.project-card span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.15;
}

.quote {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 16, 77, 0.95), rgba(4, 16, 77, 0.86)),
    url("https://images.pexels.com/photos/4263067/pexels-photo-4263067.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
}

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

.quote p {
  color: rgba(255, 255, 255, 0.76);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 34px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  font: inherit;
}

.quote-form input,
.quote-form select {
  min-height: 54px;
}

.quote-form textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.quote-form .btn {
  width: 100%;
  margin-top: 8px;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.form-message.is-error {
  color: #b42318;
}

.form-message.is-success {
  color: #14733f;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--white);
  border-radius: 999px;
  background: #1fa855;
  box-shadow: 0 18px 40px rgba(31, 168, 85, 0.34);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-float:hover {
  background: #178744;
}

.footer {
  color: rgba(255, 255, 255, 0.74);
  background: #0f1014;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding: 72px 0;
}

.footer img {
  width: 210px;
  padding: 10px;
  border-radius: 4px;
  background: var(--white);
}

.footer p {
  max-width: 380px;
  line-height: 1.7;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 18px;
}

.footer a,
.footer span {
  display: block;
  margin-top: 12px;
}

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

.footer__bottom {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .topbar,
  .navlinks {
    display: none;
  }

  .navbar {
    grid-template-columns: 1fr auto;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content,
  .split,
  .benefits__grid,
  .quote__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 96px 0 56px;
  }

  .hero__panel {
    max-width: 540px;
  }

  .section {
    padding: 76px 0;
  }

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

  .project-card,
  .project-card img {
    min-height: 360px;
  }
}

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

  .navbar {
    min-height: 76px;
  }

  .brand img {
    width: 158px;
  }

  .navbar > .btn {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .section-copy h2,
  .section-heading h2,
  .quote h2 {
    font-size: 34px;
  }

  .section-heading {
    display: block;
  }

  .text-link {
    display: inline-flex;
    margin-top: 18px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .image-stack::before {
    display: none;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .quote-form {
    padding: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 18px;
    font-size: 12px;
  }
}
