:root {
  --blue: #0759e6;
  --blue-dark: #003ca8;
  --navy: #041a3d;
  --navy-2: #071f47;
  --light: #f5f8fc;
  --white: #ffffff;
  --text: #0b1730;
  --muted: #627086;
  --border: #dce4ef;
  --shadow: 0 18px 45px rgba(3, 27, 69, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* TOP BAR */

.topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
}

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

.topbar__inner > div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  transition: opacity 0.2s ease;
}

.topbar a:hover {
  opacity: 0.8;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(2, 25, 63, 0.08);
}

.navwrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 300px;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;

}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 31px 0;
  font-weight: 700;
  font-size: 15px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 3px;
  border-radius: 20px;
  background: var(--blue);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

/* BUTTONS */

.btn {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.quote {
  flex-shrink: 0;
}

/* HERO */

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(2, 17, 45, 0.98) 0%,
      rgba(3, 27, 65, 0.91) 46%,
      rgba(2, 17, 45, 0.58) 100%
    ),
    url("assets/images/living-after.jpeg") center/cover no-repeat;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 50%,
      rgba(7, 89, 230, 0.18),
      transparent 48%
    );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero__copy {
  max-width: 650px;
}

.kicker {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.kicker.blue {
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 span {
  color: #74b8ff;
}

.hero__copy > p:not(.kicker) {
  max-width: 600px;
  color: #d9e3f2;
  font-size: 18px;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: #eaf1fb;
  font-weight: 700;
  font-size: 14px;
}

.hero__logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 40px;
}

.hero__logo img {
  width: 850px ;
  
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, .45));
}

/* STATS */

.stats {
  position: relative;
  z-index: 10;
  margin-top: -55px;
  background: var(--white);
  min-height: 120px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stats > div:last-child {
  border-right: 0;
}

.stats strong {
  color: var(--blue);
  font-size: 30px;
  line-height: 1.1;
}

.stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* GENERAL SECTIONS */

.section {
  padding: 95px 0;
}

.section h2,
.about h2,
.contact h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
}

.section p {
  color: var(--muted);
}

/* SERVICES */

.services {
  background: var(--light);
}

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

.intro {
  padding-right: 26px;
}

.intro h2 {
  margin-bottom: 18px;
}

.intro > p:not(.kicker) {
  margin-bottom: 26px;
  max-width: 470px;
}

.service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 10px 28px rgba(4, 28, 68, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service:hover,
.service.featured {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(7, 89, 230, 0.12);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(7, 89, 230, 0.1);
  color: var(--blue);
  font-size: 30px;
}

.service h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.service p {
  margin-bottom: 20px;
  font-size: 14px;
}

.service a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

/* OUR WORK */

.work {
  background: var(--white);
}

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

.work__head h2 {
  margin-top: -2px;
}

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

.filters button {
  min-width: 125px;
  padding: 13px 18px;
  border-radius: 5px;
  border: 1px solid #b9c5d7;
  background: var(--white);
  color: var(--text);
  font-weight: 800;
  transition: 0.22s ease;
}

.filters button:hover,
.filters button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(2, 26, 65, 0.07);
}

.compare {
  position: relative;
  height: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #dfe5ee;
}

.compare img {
  height: 100%;
  object-fit: cover;
}

.divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.tag {
  position: absolute;
  top: 16px;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.tag.before {
  left: 16px;
  background: rgba(4, 26, 61, 0.88);
}

.tag.after {
  right: 16px;
  background: var(--blue);
}

.compare-card h3 {
  padding: 18px 20px;
  font-size: 19px;
}

.empty {
  min-height: 280px;
  border: 2px dashed #c8d2e0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #fafcff;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

/* ABOUT AND CONTACT */

.about-contact {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
}

.about {
  background:
    linear-gradient(
      135deg,
      rgba(2, 24, 59, 0.98),
      rgba(7, 89, 230, 0.9)
    );
  color: var(--white);
  padding: 72px max(4.5vw, 42px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 32px;
}

.about h2 {
  margin-bottom: 18px;
}

.about p:not(.kicker) {
  color: #dce8f8;
  margin-bottom: 22px;
}

.about ul {
  list-style: none;
}

.about li {
  margin-bottom: 11px;
  color: #f0f5fc;
  font-weight: 600;
}

.about li::before {
  content: "✓";
  margin-right: 10px;
  color: #7bbdff;
}

.about img {
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.contact {
  padding: 72px max(4.5vw, 42px);
  background: var(--white);
}

.contact h2 {
  margin-bottom: 30px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
}

.contact__grid > div p {
  margin-bottom: 20px;
  color: #32435b;
  font-weight: 600;
}

form {
  display: grid;
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7dfeb;
  border-radius: 5px;
  background: var(--white);
  padding: 14px 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}

textarea {
  min-height: 125px;
  resize: vertical;
}

/* FOOTER */

footer {
  background: #03152f;
  color: var(--white);
  padding-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 46px;
}

.footer-logo {
  width: 210px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 18px;
}

footer h4 {
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.8px;
}

footer a,
footer p {
  display: block;
  color: #bdc9da;
  font-size: 14px;
  margin-bottom: 9px;
}

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

.copyright {
  min-height: 68px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9facbe;
  font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .about-contact {
    grid-template-columns: 1fr;
  }
}

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

  .menu {
    display: block;
    order: 3;
  }

  .quote {
    display: none;
  }

  .nav {
    position: absolute;
    top: 86px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(2, 25, 63, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 17px 5%;
    border-bottom: 1px solid var(--border);
  }

  .nav a::after {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding: 75px 0;
  }

  .hero__logo {
    display: none;
  }

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

  .stats > div:nth-child(2) {
    border-right: 0;
  }

  .stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

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

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

@media (max-width: 650px) {
  .navwrap {
    min-height: 74px;
  }

  .nav {
    top: 74px;
  }

  .brand img {
    width: 168px;
  }

  .hero {
    min-height: 560px;
  }

  .hero__grid {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 49px;
  }

  .hero__copy > p:not(.kicker) {
    font-size: 16px;
  }

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

  .trust {
    flex-direction: column;
    gap: 10px;
  }

  .stats {
    margin-top: 18px;
  }

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

  .work__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .filters {
    width: 100%;
    flex-direction: column;
  }

  .filters button {
    width: 100%;
  }

  .compare {
    height: 300px;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 58px 24px;
  }

  .contact {
    padding: 58px 24px;
  }

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

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

  .copyright {
    text-align: center;
    justify-content: center;
  }
}
