:root {
  --ink: #101820;
  --muted: #5a6673;
  --line: #dde4ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --amber: #ffc247;
  --amber-deep: #de8d00;
  --blue: #2563eb;
  --cyan: #35c7d3;
  --green: #20b486;
  --red: #e5484d;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.14);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 228, 234, 0.86);
  background: rgba(247, 249, 251, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.trust-row,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
}

.brand-mark span {
  width: 12px;
  height: 20px;
  clip-path: polygon(58% 0, 16% 53%, 48% 53%, 35% 100%, 86% 42%, 53% 42%);
  background: var(--amber);
}

.main-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-call,
.button {
  border-radius: 8px;
  font-weight: 800;
}

.header-call {
  padding: 11px 15px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 740px;
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px) 80px;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 194, 71, 0.24), transparent 30%),
    linear-gradient(135deg, #f7f9fb 0%, #eaf0f6 54%, #fdf9ed 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  gap: clamp(36px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-text,
.section-heading,
.inspection-band p,
.proof-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 28px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--amber);
  color: #211600;
  box-shadow: 0 14px 30px rgba(222, 141, 0, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 11px;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.photo-stack {
  position: relative;
  min-height: 520px;
}

.hero-photo {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-photo img,
.photo-scan img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo {
  width: min(100%, 470px);
  height: 560px;
  margin-left: auto;
}

.inset-photo {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 26px;
  width: 260px;
  height: 178px;
}

.status-light {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
  animation: pulse 1.7s infinite;
}

.photo-badge {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  max-width: 230px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.86);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.24);
  backdrop-filter: blur(14px);
}

.photo-badge strong {
  font-size: 0.95rem;
}

.photo-badge small {
  grid-column: 2;
  color: #c8d3dd;
  font-size: 0.78rem;
  line-height: 1.4;
}

.energy-trace {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.75;
  filter: drop-shadow(0 0 10px rgba(255, 194, 71, 0.55));
  animation: traceMove 4.6s ease-in-out infinite;
}

.trace-one {
  width: 230px;
  right: 280px;
  top: 96px;
}

.trace-two {
  width: 180px;
  right: 8px;
  bottom: 10px;
  animation-delay: -2s;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: -52px auto 0;
  position: relative;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.1);
}

.service-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.service-strip div:last-child {
  border-right: 0;
}

.service-strip strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.8rem;
}

.service-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.inspection-band,
.proof,
.contact {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px clamp(18px, 4vw, 28px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.1);
  transform: translateY(-5px);
}

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

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

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--blue);
  font-weight: 900;
}

.service-card p,
.timeline-step p,
.review-card p,
.contact-form label {
  color: var(--muted);
  line-height: 1.65;
}

.inspection-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 430px);
  align-items: center;
  gap: 48px;
  max-width: none;
  padding-left: max(clamp(18px, 4vw, 56px), calc((100vw - 1180px) / 2));
  padding-right: max(clamp(18px, 4vw, 56px), calc((100vw - 1180px) / 2));
  background: #101820;
  color: var(--white);
}

.inspection-band p {
  max-width: 650px;
  color: #bac6d0;
}

.scan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  min-height: 390px;
}

.scan-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 36%, rgba(16, 24, 32, 0.82));
}

.scan-overlay {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.72);
  backdrop-filter: blur(12px);
}

.scan-line {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: scan 3.2s ease-in-out infinite;
}

.scan-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scan-row:last-child {
  border-bottom: 0;
}

.scan-row strong {
  color: var(--amber);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-step {
  position: relative;
  padding-top: 56px;
}

.timeline-step span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.timeline-step::before {
  position: absolute;
  top: 20px;
  left: 52px;
  right: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.proof,
.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.review-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(16, 24, 32, 0.1);
}

.review-card {
  padding: 34px;
}

.review-card p {
  color: var(--ink);
  font-size: 1.24rem;
}

.review-card div {
  display: grid;
  gap: 4px;
}

.review-card span {
  color: var(--muted);
}

.contact {
  max-width: none;
  padding-left: max(clamp(18px, 4vw, 56px), calc((100vw - 1180px) / 2));
  padding-right: max(clamp(18px, 4vw, 56px), calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #f7f9fb, #edf3f7);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
}

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

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.site-footer span:nth-child(2) {
  color: #b8c4cf;
}

.site-footer a {
  color: var(--amber);
  font-weight: 900;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

@keyframes needle {
  0%,
  100% {
    transform: rotate(-16deg);
  }
  50% {
    transform: rotate(28deg);
  }
}

@keyframes traceMove {
  0%,
  100% {
    transform: translateX(-18px);
    opacity: 0.32;
  }
  50% {
    transform: translateX(18px);
    opacity: 0.88;
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(390px);
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .inspection-band,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .timeline-step::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-call {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 3.15rem;
  }

  .photo-stack {
    min-height: 420px;
  }

  .main-photo {
    height: 420px;
  }

  .inset-photo {
    width: 210px;
    height: 145px;
  }

  .service-strip,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-strip {
    margin-top: -34px;
  }

  .service-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-strip div:last-child {
    border-bottom: 0;
  }

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

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