:root {
  --blue: #034e8f;
  --blue-light: #0d62ad;
  --green: #00bf63;
  --green-light: #7ed957;
  --ink: #102033;
  --text: #1c2633;
  --muted: #5d6b7b;
  --white: #ffffff;
  --soft: #f4f8fb;
  --line: #d8e4ee;
  --shadow: 0 22px 58px rgba(6, 42, 80, 0.16);
  --container: 1180px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 228, 238, 0.9);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.brand-link {
  width: 188px;
  display: block;
  text-decoration: none;
}

.brand-link img {
  width: 100%;
  aspect-ratio: 520 / 218;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 14px;
  color: var(--ink);
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  color: var(--blue);
  background: rgba(126, 217, 87, 0.18);
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(3, 78, 143, 0.2);
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.phone-cta svg {
  width: 21px;
  height: 21px;
  fill: var(--green-light);
}

.phone-cta:hover,
.phone-cta:focus {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero.jpg") center center / cover no-repeat;
}

.hero-overlay,
.quote-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 26, 48, 0.9) 0%, rgba(3, 78, 143, 0.72) 50%, rgba(3, 78, 143, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 32, 51, 0.22), rgba(16, 32, 51, 0.1));
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding: 58px 0 56px;
}

.hero-copy {
  max-width: 690px;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 740px;
  margin: 0 0 22px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.75rem, 4.6vw, 4.55rem);
  font-weight: 800;
  line-height: 0.98;
}

.hero-services {
  display: grid;
  gap: 2px;
  max-width: 560px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
}

.hero-copy > p:not(.hero-services) {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

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

.button-green {
  color: var(--ink);
  background: var(--green-light);
  box-shadow: 0 14px 26px rgba(126, 217, 87, 0.24);
}

.button-green:hover,
.button-green:focus {
  color: var(--white);
  background: var(--green);
}

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

.button-blue:hover,
.button-blue:focus {
  background: var(--blue-light);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-ghost:hover,
.button-ghost:focus {
  color: var(--ink);
  background: var(--white);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
  padding: 28px 0 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  list-style: none;
}

.hero-proof li {
  display: grid;
  gap: 2px;
}

.hero-proof strong {
  color: var(--green-light);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.hero-visual {
  align-self: stretch;
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 92px 0;
}

.about-section {
  background: linear-gradient(180deg, var(--white) 0%, #fbfdff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-image-frame::before {
  content: "";
  position: absolute;
  inset: 16px auto auto 16px;
  z-index: 2;
  width: 86px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.about-image-frame img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

h2 {
  margin: 0 0 24px;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.04;
}

.about-content h2 {
  text-transform: uppercase;
}

.about-content h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.45;
}

.about-content p {
  margin: 0 0 12px;
  color: var(--muted);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 46px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 21px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-60%) rotate(-45deg);
}

.centered-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  padding: 28px 32px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 191, 99, 0.22), rgba(0, 191, 99, 0) 42%),
    var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.centered-brand strong,
.centered-brand span {
  display: block;
}

.centered-brand strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.centered-brand span {
  color: rgba(255, 255, 255, 0.78);
}

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

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 80px;
  align-items: start;
  margin-bottom: 48px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro-text p {
  margin: 0 0 24px;
  color: var(--muted);
}

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

.service-card {
  display: grid;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 32, 51, 0.14);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  transition: transform 260ms ease;
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-card h3 {
  min-height: 92px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 20px 22px 22px;
  color: var(--ink);
  border-top: 5px solid var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.22;
}

.service-card-green h3 {
  border-top-color: var(--green);
}

.service-card-light h3 {
  border-top-color: var(--green-light);
}

.quote-band {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: url("../img/quote.jpg") center 42% / cover fixed no-repeat;
}

.quote-overlay {
  background:
    linear-gradient(90deg, rgba(3, 78, 143, 0.9), rgba(3, 78, 143, 0.55)),
    rgba(0, 0, 0, 0.16);
}

.quote-content {
  position: relative;
  color: var(--white);
}

.quote-content h2 {
  max-width: 580px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.quote-content p {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
}

.realisations-section {
  padding-bottom: 100px;
  background: var(--white);
}

.section-title {
  max-width: 860px;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.section-title p:last-child {
  max-width: 720px;
  margin: 0 auto 46px;
  color: var(--muted);
}

.carousel {
  position: relative;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 22px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 360ms ease;
}

.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 22px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--blue);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(16, 32, 51, 0.2);
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

.contact-section {
  padding: 92px 0 104px;
  background:
    linear-gradient(180deg, rgba(244, 248, 251, 0.95), rgba(244, 248, 251, 1)),
    var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 76px;
  align-items: center;
}

.contact-copy {
  max-width: 560px;
}

.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.contact-copy p {
  margin: 0 0 34px;
  color: var(--muted);
}

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

.contact-list li,
.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.contact-list svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 9px;
  fill: var(--blue);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fbfdff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 154px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--blue-light);
  outline: 3px solid rgba(126, 217, 87, 0.28);
}

.contact-form .button {
  width: 100%;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  padding: 12px 14px;
  color: var(--white);
  background: var(--green);
  border-radius: 12px;
}

.form-status.error {
  background: #bb3027;
}

.site-footer {
  padding: 30px 24px;
  color: var(--white);
  text-align: center;
  background: var(--blue);
}

.site-footer p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .brand-link {
    width: 178px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 5vw, 3.8rem);
  }

  .about-grid,
  .split-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
    text-align: center;
  }

  .phone-cta {
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 70px 0;
  }

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

  .hero-visual {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand-link {
    width: 154px;
  }

  .phone-cta {
    width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 13px;
  }

  .phone-cta span {
    display: none;
  }

  .hero-layout {
    padding: 48px 0 52px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: 2.45rem;
    line-height: 1.03;
  }

  .hero-services {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
  }

  .hero-proof li {
    display: flex;
    gap: 14px;
    align-items: baseline;
  }

  .hero-proof strong {
    flex: 0 0 96px;
    font-size: 1.45rem;
    white-space: nowrap;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .about-image-frame img {
    min-height: 360px;
  }

  h2,
  .section-title h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

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

  .centered-brand {
    align-items: stretch;
    flex-direction: column;
    margin-top: 54px;
    padding: 24px;
  }

  .quote-band {
    min-height: 300px;
    background-attachment: scroll;
  }

  .carousel-slide {
    flex-basis: 100%;
  }

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

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-link {
    width: 146px;
  }

  .hero-copy h1 {
    font-size: 2.08rem;
  }

  .hero-copy > p:not(.hero-services) {
    font-size: 0.96rem;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }
}
