:root {
  --navy: #0b1f33;
  --navy-soft: #102b46;
  --green: #2dbe60;
  --green-soft: #eaf9ef;
  --white: #ffffff;
  --paper: #f7fbff;
  --grey: #eef2f5;
  --muted: #64748b;
  --ink: #0d1b2a;
  --line: rgba(11, 31, 51, 0.12);
  --shadow: 0 28px 90px rgba(11, 31, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: padding 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(11, 31, 51, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #7be39d);
  box-shadow: 0 18px 48px rgba(45, 190, 96, 0.32);
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 850;
}

.desktop-nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  color: #9ff2b6;
  font-size: 14px;
  font-weight: 950;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--green), #9af0b2);
  box-shadow: 0 22px 58px rgba(45, 190, 96, 0.32);
}

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

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 6vw, 82px) 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 51, 0.94), rgba(11, 31, 51, 0.58) 48%, rgba(11, 31, 51, 0.16)),
    linear-gradient(180deg, rgba(11, 31, 51, 0.1), rgba(11, 31, 51, 0.96)),
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2200&q=82") center / cover;
  transform: scale(1.02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  width: min(1240px, 100%);
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #9ff2b6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #bff8cf;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(45, 190, 96, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 850;
}

.hero-stats strong {
  color: var(--white);
  font-size: 25px;
  line-height: 1;
}

.trustbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1120px, calc(100% - 32px));
  margin: -36px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.trustbar span {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 900;
}

.section,
.calculator-section,
.contact-section,
.map-section {
  padding: clamp(78px, 10vw, 136px) clamp(18px, 6vw, 82px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.calculator-copy h2,
.contact-copy h2,
.map-card h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading p:not(.eyebrow),
.calculator-copy p,
.contact-copy p,
.map-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.solution-grid,
.project-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.solution-card,
.project-card,
.team-grid article,
.review-card,
.usp-grid article,
.process-grid article,
.calculator-card,
.advice-form,
.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 74px rgba(11, 31, 51, 0.09);
}

.solution-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.solution-card:hover,
.project-card:hover,
.team-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(11, 31, 51, 0.14);
}

.solution-card div,
.project-card div {
  padding: 22px;
}

.solution-card span,
.project-card span,
.usp-grid span,
.process-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.solution-card h3,
.project-card h3,
.usp-grid h3,
.process-grid h3,
.team-grid h3 {
  margin: 10px 0 9px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.12;
}

.solution-card p,
.project-card p,
.usp-grid p,
.process-grid p,
.team-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.solution-card a {
  color: var(--green);
  font-weight: 950;
}

.why-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 190, 96, 0.14), transparent 28%),
    var(--paper);
}

.usp-grid,
.process-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.usp-grid article,
.process-grid article,
.review-card {
  padding: 26px;
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 18%, rgba(45, 190, 96, 0.18), transparent 26%),
    linear-gradient(180deg, var(--navy), #071625);
}

.dark-section .section-heading h2,
.dark-section .project-card h3 {
  color: var(--white);
}

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

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

.project-card {
  display: grid;
  grid-template-rows: 250px 1fr;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card p {
  color: rgba(255, 255, 255, 0.68);
}

.project-card strong {
  color: #a7f3bd;
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(1240px, 100%);
  margin: 0 auto;
}

.calculator-card,
.advice-form {
  display: grid;
  gap: 14px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  background: var(--paper);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 120px;
  padding-top: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(45, 190, 96, 0.7);
  box-shadow: 0 0 0 4px rgba(45, 190, 96, 0.12);
}

.calculator-result {
  min-height: 126px;
  padding: 18px;
  border-radius: 20px;
  color: var(--navy);
  background: var(--green-soft);
  font-weight: 800;
  line-height: 1.55;
}

.calculator-result strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
}

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

.team-grid article {
  padding: 14px;
  text-align: center;
}

.team-grid img {
  height: 260px;
  border-radius: 20px;
}

.reviews-section {
  background: var(--paper);
}

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

.review-card span {
  color: #f59e0b;
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin: 16px 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.55;
}

.review-card small {
  color: var(--muted);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(234, 249, 239, 0.82), rgba(247, 251, 255, 0.96)),
    var(--paper);
}

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

.contact-details span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  font-weight: 900;
}

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

.wide {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(11, 31, 51, 0.06);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 950;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.map-section {
  background: var(--navy);
}

.map-card {
  width: min(1040px, 100%);
  min-height: 360px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.88), rgba(11, 31, 51, 0.62)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 54px clamp(18px, 6vw, 82px) 96px;
  color: var(--white);
  background: #061726;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
}

.site-footer nav,
.newsletter {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong,
.newsletter strong {
  color: var(--white);
}

.demo-credit {
  color: #9ff2b6;
  font-weight: 900;
}

.newsletter form {
  display: flex;
  gap: 8px;
}

.newsletter input {
  min-width: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter button {
  border: 0;
  border-radius: 14px;
  color: var(--navy);
  background: var(--green);
  font-weight: 950;
  cursor: pointer;
}

.mobile-sticky-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(11, 31, 51, 0.88);
  box-shadow: 0 22px 60px rgba(11, 31, 51, 0.3);
  backdrop-filter: blur(16px);
}

.mobile-sticky-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-weight: 950;
}

.mobile-sticky-cta a:last-child {
  color: var(--white);
  background: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1080px) {
  .desktop-nav,
  .phone-link,
  .header-actions .button {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .mobile-nav.is-open {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(11, 31, 51, 0.96);
    box-shadow: var(--shadow);
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-grid,
  .calculator-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .project-grid,
  .team-grid,
  .usp-grid,
  .process-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-actions,
  .newsletter form {
    flex-direction: column;
  }

  .button,
  .hero-actions a,
  .newsletter button {
    width: 100%;
  }

  .hero-stats,
  .solution-grid,
  .project-grid,
  .team-grid,
  .usp-grid,
  .process-grid,
  .review-grid,
  .advice-form {
    grid-template-columns: 1fr;
  }

  .trustbar {
    justify-content: flex-start;
  }

  .section,
  .calculator-section,
  .contact-section,
  .map-section {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .calculator-copy h2,
  .contact-copy h2,
  .map-card h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .site-footer {
    padding-bottom: 112px;
  }

  .mobile-sticky-cta {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
