:root {
  --bg: #080d0b;
  --bg-2: #0d1411;
  --surface: #121a17;
  --surface-2: #18211d;
  --line: rgba(217, 235, 222, 0.14);
  --text: #f3f7f1;
  --muted: #b8c5bc;
  --dim: #7e8d84;
  --green: #7ed957;
  --green-2: #48a52f;
  --red: #c64132;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(126, 217, 87, 0.16), transparent 26rem),
    linear-gradient(180deg, #070b09 0%, var(--bg) 42%, #0b100e 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  width: min(calc(100% - 2rem), 1240px);
  margin: 1rem auto 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 11, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 154px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background: #0a0f0c;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.header-call,
.btn,
.contact-link,
.toggle button {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(126, 217, 87, 0.45);
  border-radius: var(--radius);
  background: rgba(126, 217, 87, 0.12);
  color: var(--text);
  font-weight: 900;
}

.header-call span {
  color: var(--green);
}

.header-call:hover,
.btn:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.section-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4.5rem) 0 2rem;
}

.service-area,
.section-number {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7.8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin: 0.3rem 0 1rem;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.motto {
  margin-bottom: 1rem;
  color: var(--green);
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 900;
}

.hero-text,
.section-heading p,
.contact-panel p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.hero-proof,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.btn-primary {
  border-color: rgba(126, 217, 87, 0.8);
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #071006;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.hero-proof {
  margin-top: 2rem;
}

.hero-proof span {
  border-left: 2px solid var(--green);
  padding-left: 0.7rem;
  color: var(--muted);
  font-weight: 800;
}

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

.photo-stack {
  position: relative;
  min-height: clamp(500px, 48vw, 590px);
}

.hero-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.hero-card-main {
  inset: 8% 5% 7% 11%;
}

.hero-card-before {
  top: 1%;
  left: 1%;
  width: 42%;
  height: 38%;
  transform: rotate(-4deg);
}

.hero-card-after {
  right: 0;
  bottom: 1%;
  width: 44%;
  height: 40%;
  transform: rotate(3deg);
}

.hero-card figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(8, 13, 11, 0.78);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

.services,
.work,
.reviews,
.contact {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.54fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p {
  margin-bottom: 0;
}

.service-grid,
.work-grid,
.reviews-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.review-card,
.work-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.service-card {
  min-height: 230px;
  padding: 1.2rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(126, 217, 87, 0.34);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.service-card p,
.review-card p {
  color: var(--muted);
}

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

.work-card {
  overflow: hidden;
}

.work-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0a0f0c;
}

.work-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 240ms ease,
    transform 380ms ease;
}

.work-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.work-card-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.work-card-footer h3 {
  margin: 0;
}

.toggle {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.toggle button {
  border: 0;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.toggle button.is-active {
  background: var(--green);
  color: #071006;
}

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

.review-card {
  padding: 1.25rem;
}

.review-card h3 {
  color: var(--green);
}

.review-card p:last-child {
  margin-bottom: 0;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(126, 217, 87, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.contact-actions {
  flex-direction: column;
}

.contact-link {
  display: grid;
  gap: 0.14rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.contact-link span {
  color: var(--green);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.contact-call {
  border-color: rgba(126, 217, 87, 0.5);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.7rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

.js .reveal {
  opacity: 0.76;
  transform: translateY(14px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

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

  .nav-links {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    gap: 0.75rem;
  }

  .brand img {
    width: 112px;
    height: 46px;
  }

  .header-call {
    min-height: 42px;
    padding: 0.65rem 0.72rem;
    font-size: 0.86rem;
  }

  .header-call span {
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.2rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .hero-card-main {
    inset: 8% 0 10% 7%;
  }

  .hero-card-before,
  .hero-card-after {
    width: 52%;
  }

  .service-grid,
  .work-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .toggle {
    width: 100%;
  }

  .toggle button {
    flex: 1;
  }

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

  .contact-link {
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
