:root {
  --navy: #0f172a;
  --navy-soft: #172238;
  --white: #ffffff;
  --emerald: #10b981;
  --emerald-dark: #079669;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #f8fafc;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 30px;
  height: 30px;
  position: relative;
  display: inline-block;
  border-radius: 50% 50% 50% 6px;
  background: linear-gradient(135deg, var(--emerald), #34d399);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.58);
  transform: rotate(-45deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background: var(--white);
}

.status-badge {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  color: #065f46;
  background: #ecfdf5;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: normal;
}

.status-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a:not(.nav-cta) {
  color: #334155;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.15;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--emerald);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.32);
}

.button.primary:hover,
.nav-cta:hover,
.button.primary.is-submitted {
  background: var(--emerald-dark);
}

.button:disabled {
  cursor: default;
  opacity: 0.92;
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 90px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.22), transparent 29%),
    linear-gradient(135deg, #0f172a 0%, #111c31 48%, #0a1020 100%);
  overflow: hidden;
}

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

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2.3vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions,
.proof-list,
.metric-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.proof-list {
  margin-top: 24px;
  color: #e2e8f0;
  font-size: 0.94rem;
  font-weight: 700;
}

.proof-list span::before {
  content: "✓";
  color: var(--emerald);
  margin-right: 7px;
}

.hero-panel {
  min-width: 0;
}

.map-card {
  position: relative;
  min-height: 520px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.08);
  background-size: 54px 54px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.map-topline,
.ranking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.map-topline {
  color: #dbeafe;
  font-weight: 700;
}

.map-topline strong {
  color: var(--emerald);
  font-size: 2.3rem;
}

.map-visual {
  position: absolute;
  inset: 76px 22px 118px;
}

.route {
  position: absolute;
  inset: 18%;
  border: 2px dashed rgba(16, 185, 129, 0.54);
  border-radius: 40% 60% 46% 54%;
  transform: rotate(-13deg);
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 4px;
  background: var(--emerald);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 12px rgba(16, 185, 129, 0.14), 0 0 32px rgba(16, 185, 129, 0.82);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--white);
}

.pin.one {
  left: 16%;
  top: 22%;
}

.pin.two {
  right: 20%;
  top: 38%;
}

.pin.three {
  left: 48%;
  bottom: 16%;
}

.ranking-card {
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  padding: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
}

.ranking-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: var(--white);
  background: var(--emerald);
  font-size: 1.4rem;
  font-weight: 900;
}

.ranking-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(76px, 9vw, 118px) clamp(20px, 6vw, 90px);
}

.section-heading {
  max-width: 810px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.feature-grid,
.portfolio-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.portfolio-card,
.pricing-card,
.process-list article,
.audit-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.feature-card,
.portfolio-card,
.pricing-card {
  padding: clamp(22px, 3vw, 30px);
}

.feature-card p,
.portfolio-card p,
.process-list p,
.contact-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.68;
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #064e3b;
  background: #d1fae5;
  font-weight: 900;
}

.process-section,
.pricing-section {
  background: var(--surface);
}

.process-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.process-list article {
  display: grid;
  grid-template-columns: 58px 0.8fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.process-list h3,
.process-list p,
.pricing-card li:last-child,
.portfolio-card p:last-child {
  margin-bottom: 0;
}

.portfolio-section {
  color: var(--white);
  background: var(--navy);
}

.portfolio-section .section-heading h2 {
  color: var(--white);
}

.portfolio-card {
  color: var(--navy);
  overflow: hidden;
}

.portfolio-media {
  height: 190px;
  margin: calc(clamp(22px, 3vw, 30px) * -1) calc(clamp(22px, 3vw, 30px) * -1) 24px;
  background: linear-gradient(135deg, #e2e8f0, #d1fae5);
}

.portfolio-media img,
.portfolio-placeholder {
  width: 100%;
  height: 100%;
}

.portfolio-media img {
  display: block;
  object-fit: cover;
}

.portfolio-placeholder {
  display: grid;
  place-items: center;
  color: rgba(15, 23, 42, 0.42);
  font-size: 3rem;
  font-weight: 900;
}

.before-after {
  color: var(--navy) !important;
  font-weight: 800;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #065f46;
  background: #d1fae5;
  font-size: 0.82rem;
  font-weight: 900;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-card.featured {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: var(--shadow);
}

.popular {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #065f46;
  background: #d1fae5;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

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

li {
  position: relative;
  padding-left: 28px;
  color: #334155;
  line-height: 1.5;
}

li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 900;
}

.full {
  width: 100%;
  margin-top: auto;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--white);
}

.contact-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.contact-links .phone-link {
  color: #065f46;
  background: #d1fae5;
  border-color: #a7f3d0;
}

.audit-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--navy);
  font: inherit;
  background: var(--surface);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(16, 185, 129, 0.22);
  border-color: var(--emerald);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 90px);
  color: #cbd5e1;
  background: var(--navy);
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .status-badge {
    justify-self: center;
  }

  .menu-button {
    display: block;
  }

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

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

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

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

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

  .status-badge {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .map-card {
    min-height: 410px;
  }

  .process-list article,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-list article {
    align-items: start;
  }

  .popular {
    position: static;
    width: max-content;
  }
}

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

  [data-reveal] {
    transition: none;
  }
}
