:root {
  --leaf: #8fc92c;
  --leaf-dark: #315b22;
  --leaf-soft: #eef8df;
  --sun: #f28a22;
  --ink: #242525;
  --text: #4f5651;
  --muted: #7a817c;
  --line: #e4e9e2;
  --paper: #f7f8f3;
  --white: #ffffff;
  --radius: 8px;
  --shadow-soft: 0 22px 60px rgba(36, 37, 37, 0.12);
  --shadow-small: 0 14px 32px rgba(36, 37, 37, 0.1);
  --shadow-3d: 0 24px 55px rgba(49, 91, 34, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(49, 91, 34, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(36, 37, 37, 0.08);
}

.nav-shell {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 170px;
}

.brand-logo img {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.brand-wordmark {
  gap: 10px;
  color: var(--ink);
}

.brand-wordmark span:last-child {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-wordmark strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-wordmark small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: lowercase;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(143, 201, 44, 0.2);
}

.brand:not(.brand-logo) img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-menu a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--radius);
  color: #3c433e;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a[aria-current="page"] {
  background: var(--leaf-soft);
  color: var(--leaf-dark);
}

.site-menu .nav-cta {
  margin-left: 4px;
  background: linear-gradient(135deg, var(--leaf), #b2de55);
  color: #14210b;
  box-shadow: 0 12px 24px rgba(143, 201, 44, 0.25);
}

.site-menu .nav-cta:hover,
.site-menu .nav-cta:focus-visible {
  background: linear-gradient(135deg, #9ed53b, var(--leaf));
  color: #14210b;
  transform: translateY(-1px);
}

.site-menu .nav-cta {
  color: #14210b;
}

/*
  Keep the legacy selector below harmless for older cached markup.
*/
.site-menu .nav-cta.legacy {
  background: var(--ink);
  color: var(--white);
}

.site-menu .nav-cta.legacy:hover,
.site-menu .nav-cta.legacy:focus-visible {
  background: var(--leaf-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 66px;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 138, 34, 0.12), transparent 24%),
    radial-gradient(circle at 18% 8%, rgba(143, 201, 44, 0.22), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f5faed 58%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36%;
  height: 34%;
  background: var(--leaf);
  clip-path: polygon(0 38%, 100% 0, 70% 100%, 0 100%);
  opacity: 0.18;
}

.hero-grid,
.hero-text-grid,
.split-grid,
.content-grid,
.preview-grid,
.contact-grid,
.contact-text-grid,
.page-hero-grid,
.contact-mini-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.hero-text-grid,
.content-grid,
.contact-text-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.split-grid,
.preview-grid,
.contact-grid,
.page-hero-grid {
  grid-template-columns: 1fr 1fr;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.75rem;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-lead,
.section-copy p,
.section-heading p,
.contact-copy p,
.page-hero p,
.gallery-card span {
  color: var(--text);
  font-size: 1.06rem;
}

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

.text-hero {
  padding: 52px 0 44px;
}

.text-hero::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 54px;
  width: 170px;
  height: 170px;
  border: 28px solid rgba(143, 201, 44, 0.16);
  border-radius: 50%;
}

.text-hero .hero-copy {
  max-width: 800px;
}

.text-hero h1 {
  font-size: 3.35rem;
  line-height: 1.04;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(49, 91, 34, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--leaf-dark);
  box-shadow: 0 8px 18px rgba(49, 91, 34, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--leaf);
  color: #15220c;
  box-shadow: 0 12px 26px rgba(143, 201, 44, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #9ed53b;
}

.btn-ghost {
  border-color: rgba(49, 91, 34, 0.2);
  background: var(--white);
  color: var(--leaf-dark);
}

.btn-ghost.light {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  color: var(--leaf-dark);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: #1f6f2f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-media,
.image-panel,
.preview-stack {
  position: relative;
}

.hero-media img,
.image-panel img,
.preview-stack img,
.contact-card img,
.gallery-card img {
  width: 100%;
  object-fit: cover;
}

.hero-media img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  animation: softFloat 7s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 250px;
  max-width: calc(100% - 36px);
  padding: 16px;
  border-left: 4px solid var(--sun);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-small);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge span {
  margin-top: 3px;
  color: var(--text);
  font-size: 0.92rem;
}

.hero-feature-panel,
.simple-card,
.contact-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.hero-service-board {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 223, 0.9)),
    var(--white);
  box-shadow: var(--shadow-3d);
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg);
}

.hero-service-board::before,
.hero-service-board::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 16px;
  transform: rotate(-12deg);
}

.hero-service-board::before {
  right: -38px;
  top: 34px;
  width: 220px;
  height: 140px;
  background: rgba(143, 201, 44, 0.18);
}

.hero-service-board::after {
  left: -28px;
  bottom: 28px;
  width: 210px;
  height: 112px;
  background: rgba(242, 138, 34, 0.12);
}

.board-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(49, 91, 34, 0.12);
}

.board-header .card-label {
  margin-bottom: 7px;
}

.board-header h2 {
  margin-bottom: 0;
  font-size: 1.36rem;
}

.board-list {
  display: grid;
  gap: 8px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.board-list li {
  position: relative;
  padding: 9px 12px 9px 40px;
  border: 1px solid rgba(49, 91, 34, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 650;
}

.board-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.68);
  transform: translateY(-50%);
}

.board-footer {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink), #3b453c);
  color: var(--white);
}

.board-footer span,
.board-footer strong {
  display: block;
}

.board-footer span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-feature-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.hero-3d {
  min-height: 420px;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 223, 0.88)),
    radial-gradient(circle at 70% 20%, rgba(143, 201, 44, 0.18), transparent 38%);
}

.hero-3d::before,
.hero-3d::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 16px;
  transform: rotate(-12deg);
}

.hero-3d::before {
  right: -44px;
  top: 22px;
  width: 230px;
  height: 150px;
  background: rgba(143, 201, 44, 0.2);
}

.hero-3d::after {
  left: -34px;
  bottom: 24px;
  width: 220px;
  height: 120px;
  background: rgba(242, 138, 34, 0.13);
}

.floating-card {
  position: absolute;
  width: min(76%, 340px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-3d);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.floating-card .icon-circle {
  margin-bottom: 18px;
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.floating-card p {
  margin-bottom: 0;
  color: var(--text);
}

.card-one {
  left: 30px;
  top: 32px;
  transform: rotate(-4deg) translateZ(30px);
  animation: cardFloatOne 6s ease-in-out infinite;
}

.card-two {
  right: 34px;
  top: 150px;
  transform: rotate(5deg) translateZ(48px);
  animation: cardFloatTwo 7s ease-in-out infinite;
}

.card-three {
  left: 76px;
  bottom: 32px;
  transform: rotate(2deg) translateZ(24px);
  animation: cardFloatThree 6.5s ease-in-out infinite;
}

.feature-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(49, 91, 34, 0.1);
}

.feature-pill strong {
  display: block;
  margin-bottom: 3px;
}

.feature-pill p {
  margin-bottom: 0;
  color: var(--text);
}

.icon-circle {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, var(--leaf-soft));
  color: var(--leaf-dark);
  box-shadow: 0 12px 24px rgba(49, 91, 34, 0.12);
}

.icon-orange {
  background: linear-gradient(145deg, #fff5eb, #ffe0bf);
  color: #ba5f11;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-band {
  padding: 18px 0;
  background: var(--ink);
  color: var(--white);
}

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

.metric {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric strong {
  color: var(--leaf);
  font-size: 2.4rem;
  line-height: 1;
}

.metric span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.about-section,
.services-section,
.project-page {
  background: var(--paper);
}

.image-panel img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.note-card {
  margin-top: 14px;
  padding: 18px;
  border-left: 4px solid var(--leaf);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-small);
  font-weight: 700;
}

.note-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.simple-card {
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 223, 0.74)),
    var(--white);
}

.simple-card .card-label {
  margin-bottom: 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.simple-card h3 {
  font-size: 1.65rem;
}

.simple-card p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.68);
}

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

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

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

.icon-card,
.process-step,
.featured-project {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(36, 37, 37, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.icon-card::after,
.process-step::after,
.featured-project::after,
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 42%);
}

.icon-card:hover,
.process-step:hover,
.featured-project:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 201, 44, 0.48);
  box-shadow: var(--shadow-soft);
}

.icon-card {
  min-height: 270px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 240, 0.96)),
    var(--white);
}

.icon-card .icon-circle {
  margin-bottom: 28px;
}

.icon-card p,
.process-step p,
.featured-project p {
  margin-bottom: 0;
  color: var(--text);
}

.service-card,
.why-item,
.gallery-card,
.service-detail-card,
.team-card,
.strength-card,
.about-photo-card,
.philosophy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(36, 37, 37, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.why-item:hover,
.gallery-card:hover,
.service-detail-card:hover,
.team-card:hover,
.strength-card:hover,
.about-photo-card:hover,
.philosophy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 201, 44, 0.48);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.why-item p {
  margin-bottom: 0;
  color: var(--text);
}

.why-section {
  background: var(--white);
}

.process-section {
  background: var(--white);
}

.team-preview-section,
.team-section,
.about-story-section {
  background: var(--white);
}

.team-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.team-card {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 223, 0.72)),
    var(--white);
}

.team-avatar {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--leaf), #b2de55);
  color: #132009;
  box-shadow: 0 16px 30px rgba(143, 201, 44, 0.24);
  font-weight: 900;
}

.team-card p {
  margin-bottom: 6px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.team-card h3 {
  font-size: 1.55rem;
}

.team-card span:last-child {
  color: var(--text);
}

.large-team-card {
  min-height: 260px;
}

.process-grid,
.featured-project-grid {
  display: grid;
  gap: 16px;
}

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

.process-step {
  padding: 24px;
}

.process-step span,
.featured-project span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf-dark);
  font-weight: 850;
}

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

.why-item {
  min-height: 244px;
  padding: 24px;
}

.why-item span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf-dark);
  font-weight: 850;
}

.project-preview {
  background: linear-gradient(180deg, var(--paper), var(--white));
}

.service-hero {
  padding: 70px 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(143, 201, 44, 0.18), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f5faed 62%, #ffffff 100%);
}

.service-hero-premium {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 64px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 31, 20, 0.82) 0%, rgba(20, 31, 20, 0.66) 36%, rgba(20, 31, 20, 0.14) 68%, rgba(20, 31, 20, 0.02) 100%),
    url("assets/images/services-hero-premium.png") center / cover no-repeat;
}

.service-hero-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(20, 31, 20, 0.34), transparent);
  pointer-events: none;
}

.service-hero-content {
  position: relative;
  z-index: 1;
}

.service-hero-content > div {
  max-width: 680px;
}

.service-hero-premium h1 {
  max-width: 780px;
  color: var(--white);
  font-size: 3.45rem;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.service-hero-premium p {
  color: rgba(255, 255, 255, 0.84);
}

.service-hero-premium .eyebrow {
  color: #c7f07a;
}

.service-hero-premium .btn-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.service-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-hero-points span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.service-hero p {
  color: var(--text);
  font-size: 1.06rem;
}

.service-hero.service-hero-premium p {
  color: rgba(255, 255, 255, 0.86);
}

.service-hero-image {
  overflow: hidden;
  border: 1px solid rgba(49, 91, 34, 0.12);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 480ms ease;
}

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

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

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-detail-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
}

.service-detail-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 420ms ease;
}

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

.service-detail-card div {
  padding: 22px;
}

.service-detail-card p {
  margin-bottom: 8px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-detail-card span {
  color: var(--text);
}

.machinery-section {
  background: var(--white);
}

.machine-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.machine-list li {
  position: relative;
  padding: 11px 12px 11px 42px;
  border: 1px solid rgba(49, 91, 34, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 650;
}

.machine-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.68);
  transform: translateY(-50%);
}

.about-photo-card {
  background: var(--white);
}

.about-photo-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-photo-card div {
  padding: 22px;
}

.philosophy-card {
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 223, 0.8)),
    var(--white);
}

.philosophy-card h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.35;
}

.philosophy-card p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.about-why-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

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

.strength-card {
  padding: 24px;
  text-align: center;
}

.strength-card strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 2.55rem;
  line-height: 1;
}

.strength-card span {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-weight: 700;
}

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

.featured-project {
  min-height: 250px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 243, 0.96)),
    var(--white);
}

.project-slider,
.project-gallery-slider {
  position: relative;
  overflow: hidden;
}

.project-slider-track,
.project-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-slider-track::-webkit-scrollbar,
.project-gallery-track::-webkit-scrollbar {
  display: none;
}

.project-slide {
  scroll-snap-align: start;
}

.project-slider .featured-project {
  min-height: 270px;
}

.project-gallery-track {
  grid-auto-columns: 100%;
}

.project-gallery-slider .gallery-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-template-rows: auto;
  min-height: 410px;
}

.project-gallery-slider .gallery-card img {
  height: 100%;
  min-height: 410px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(49, 91, 34, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--leaf-dark);
  box-shadow: 0 12px 28px rgba(36, 37, 37, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: var(--leaf);
  color: #13210b;
  box-shadow: var(--shadow-soft);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.slider-btn.prev {
  left: 8px;
}

.slider-btn.next {
  right: 8px;
}

.slider-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(49, 91, 34, 0.18);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--leaf);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.preview-stack {
  min-height: 460px;
}

.preview-stack img {
  position: absolute;
  width: 70%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.preview-stack img:first-child {
  top: 0;
  right: 0;
}

.preview-stack img:last-child {
  left: 0;
  bottom: 0;
}

.contact-section,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(143, 201, 44, 0.15), transparent 30%),
    linear-gradient(135deg, #202321, #303830);
}

.contact-section {
  padding: 88px 0;
}

.contact-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 44%;
  background: var(--leaf);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.86;
}

.contact-copy p,
.page-hero p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
  font-style: normal;
}

.contact-card img {
  aspect-ratio: 16 / 8;
}

.contact-info-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  font-style: normal;
}

.contact-info-card a {
  padding-left: 14px;
  border-left: 3px solid var(--leaf);
  color: #3f4641;
  font-weight: 750;
}

.contact-info-card a:hover,
.contact-info-card a:focus-visible {
  color: var(--leaf-dark);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.contact-list a {
  padding-left: 14px;
  border-left: 3px solid var(--leaf);
  color: #3f4641;
  font-weight: 700;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--leaf-dark);
}

.page-hero {
  padding: 84px 0 72px;
}

.page-hero h1 {
  font-size: 3.8rem;
}

.page-hero-card {
  max-width: 360px;
  justify-self: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-3d);
}

.page-hero-card strong {
  display: block;
  color: var(--leaf);
  font-size: 3.4rem;
  line-height: 1;
}

.page-hero-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.page-hero.service-hero-premium {
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: 80px 0;
}

.page-hero.service-hero-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: auto;
  height: 30%;
  clip-path: none;
  background: linear-gradient(0deg, rgba(20, 31, 20, 0.42), transparent);
  opacity: 1;
}

.about-hero-premium {
  background:
    linear-gradient(90deg, rgba(20, 31, 20, 0.84) 0%, rgba(20, 31, 20, 0.68) 40%, rgba(20, 31, 20, 0.22) 72%, rgba(20, 31, 20, 0.04) 100%),
    url("assets/images/service-landscaping-card.jpg") center / cover no-repeat;
}

.projects-hero-premium {
  background:
    linear-gradient(90deg, rgba(20, 31, 20, 0.86) 0%, rgba(20, 31, 20, 0.68) 38%, rgba(20, 31, 20, 0.2) 72%, rgba(20, 31, 20, 0.04) 100%),
    url("assets/images/project-government-campus.jpg") center / cover no-repeat;
}

.page-hero.service-hero-premium .page-hero-grid {
  align-items: center;
}

.page-hero.service-hero-premium .page-hero-card {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.project-toolbar span {
  padding: 9px 13px;
  border: 1px solid rgba(49, 91, 34, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--leaf-dark);
  font-weight: 800;
}

.project-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}

.gallery-card.wide {
  grid-column: span 2;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto;
}

.gallery-card img {
  height: 320px;
  transition: transform 420ms ease;
}

.gallery-card.wide img {
  height: 390px;
}

.gallery-card div {
  padding: 24px;
}

.gallery-card p {
  margin-bottom: 8px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gallery-card h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

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

.project-list-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(247, 248, 243, 0.6), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.project-list-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.project-list-card {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 235, 0.82)),
    var(--white);
  box-shadow: 0 8px 22px rgba(36, 37, 37, 0.06);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.project-list-card.featured-list-card,
.project-list-card.client-list-card {
  grid-column: span 3;
}

.project-list-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 42%);
}

.project-list-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 201, 44, 0.48);
  box-shadow: var(--shadow-soft);
}

.project-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.project-card-head span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(143, 201, 44, 0.18);
  color: var(--leaf-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.project-list-card h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.project-list-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.55;
}

.project-list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(143, 201, 44, 0.13);
}

.client-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-cloud span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(49, 91, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(36, 37, 37, 0.05);
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.55fr);
  gap: 28px;
  align-items: start;
}

.project-showcase-intro {
  position: sticky;
  top: 92px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(49, 91, 34, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 223, 0.86)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.project-showcase-intro::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 170px;
  height: 170px;
  border: 26px solid rgba(143, 201, 44, 0.16);
  border-radius: 50%;
}

.project-showcase-intro h2 {
  font-size: 2.25rem;
}

.project-showcase-intro p {
  color: var(--text);
}

.project-summary-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.project-summary-grid span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 15px 16px;
  border: 1px solid rgba(49, 91, 34, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.project-summary-grid strong {
  display: block;
  margin-bottom: 2px;
  color: var(--leaf-dark);
  font-size: 1.55rem;
  line-height: 1.1;
}

.project-showcase-list {
  display: grid;
  gap: 18px;
}

.project-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-category-card {
  --project-accent: var(--leaf);
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(49, 91, 34, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 243, 0.94)),
    var(--white);
  box-shadow: 0 12px 34px rgba(36, 37, 37, 0.07);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.project-category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--project-accent);
}

.project-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--project-accent) 18%, transparent), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 44%);
}

.project-category-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--project-accent) 42%, rgba(49, 91, 34, 0.1));
  box-shadow: var(--shadow-soft);
}

.project-category-card.government {
  --project-accent: #8fc92c;
}

.project-category-card.institute {
  --project-accent: #45a36d;
}

.project-category-card.corporate {
  --project-accent: #f2a53a;
}

.project-category-card.private {
  --project-accent: #6bbf59;
}

.project-category-card.venue {
  --project-accent: #e68a36;
}

.project-category-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.project-number {
  display: inline-grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: var(--project-accent);
  color: #11200b;
  font-weight: 900;
  box-shadow: 0 12px 22px color-mix(in srgb, var(--project-accent) 28%, transparent);
}

.project-category-title {
  flex: 1;
}

.project-category-title p {
  margin-bottom: 6px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-category-title h3 {
  margin-bottom: 0;
  font-size: 1.48rem;
}

.project-count {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(49, 91, 34, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.project-name-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-name-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-name-grid li {
  position: relative;
  min-height: 42px;
  padding: 10px 12px 10px 36px;
  border: 1px solid rgba(49, 91, 34, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.project-name-grid li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--project-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--project-accent) 16%, transparent);
}

.clients-section {
  background:
    linear-gradient(180deg, rgba(247, 248, 243, 0.92), rgba(255, 255, 255, 0.98)),
    var(--paper);
}

.project-clients-section {
  background: var(--white);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}

.client-logo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 124px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(49, 91, 34, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 241, 0.9)),
    var(--white);
  box-shadow: 0 14px 30px rgba(36, 37, 37, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.client-logo-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(143, 201, 44, 0.08);
  pointer-events: none;
}

.client-logo-card:hover {
  transform: translateY(-5px) rotateX(3deg);
  border-color: rgba(143, 201, 44, 0.42);
  box-shadow: var(--shadow-soft);
}

.client-logo-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 172px);
  height: 90px;
  object-fit: contain;
}

.contact-mini {
  padding: 52px 0;
  background: var(--white);
}

.contact-mini-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.contact-mini h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer-grid img {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.footer-grid .brand-logo {
  width: 160px;
}

.footer-text-grid .brand-wordmark {
  min-width: 180px;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-grid a {
  color: var(--leaf-dark);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes cardFloatOne {
  0%, 100% { transform: rotate(-4deg) translateY(0) translateZ(30px); }
  50% { transform: rotate(-2deg) translateY(-10px) translateZ(36px); }
}

@keyframes cardFloatTwo {
  0%, 100% { transform: rotate(5deg) translateY(0) translateZ(48px); }
  50% { transform: rotate(3deg) translateY(10px) translateZ(52px); }
}

@keyframes cardFloatThree {
  0%, 100% { transform: rotate(2deg) translateY(0) translateZ(24px); }
  50% { transform: rotate(4deg) translateY(-8px) translateZ(32px); }
}

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

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

@media (max-width: 1050px) {
  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-grid,
  .hero-text-grid,
  .service-hero-grid,
  .split-grid,
  .content-grid,
  .preview-grid,
  .contact-grid,
  .contact-text-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-card {
    justify-self: start;
  }

  .services-grid,
  .service-icon-grid,
  .service-detail-grid,
  .process-grid,
  .featured-project-grid,
  .strength-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-icon-grid,
  .process-grid,
  .featured-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-list-card,
  .project-list-card.featured-list-card,
  .project-list-card.client-list-card {
    grid-column: auto;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-showcase-intro {
    position: relative;
    top: auto;
  }

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

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

  .project-slider-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .nav-shell {
    min-height: 58px;
  }

  .brand img {
    height: 34px;
  }

  .brand-logo {
    width: 132px;
  }

  .brand-logo img {
    max-height: 38px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark strong {
    font-size: 0.88rem;
  }

  .brand-wordmark small {
    font-size: 0.68rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: fixed;
    inset: 66px 14px auto;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-menu a {
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-menu .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding: 50px 0 54px;
  }

  h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-media img {
    animation: none;
  }

  .hero-3d {
    min-height: auto;
    gap: 14px;
  }

  .hero-service-board {
    min-height: auto;
    transform: none;
  }

  .floating-card {
    position: relative;
    width: 100%;
    inset: auto;
    transform: none !important;
    animation: none;
  }

  .hero-badge {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .metric-grid,
  .services-grid,
  .service-icon-grid,
  .service-detail-grid,
  .process-grid,
  .featured-project-grid,
  .strength-grid,
  .why-grid,
  .team-mini-grid,
  .service-hero-grid,
  .project-page-grid,
  .project-list-grid,
  .contact-mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card-head {
    gap: 12px;
  }

  .project-card-head span {
    width: 34px;
    height: 34px;
  }

  .project-pair-grid,
  .project-name-grid.two-column {
    grid-template-columns: 1fr;
  }

  .project-showcase-intro,
  .project-category-card {
    padding: 22px;
    border-radius: 18px;
  }

  .project-summary-grid {
    grid-template-columns: 1fr;
  }

  .project-category-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .project-number {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .project-count {
    grid-column: 2;
    justify-self: start;
  }

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

  .client-logo-card {
    min-height: 108px;
    padding: 14px;
  }

  .client-logo-card img {
    width: min(100%, 150px);
    height: 76px;
  }

  .project-slider-track,
  .project-gallery-track {
    grid-auto-columns: 100%;
  }

  .project-gallery-slider .gallery-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-gallery-slider .gallery-card img {
    height: 260px;
    min-height: 260px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .metric {
    min-height: 82px;
  }

  .preview-stack {
    display: grid;
    min-height: auto;
    gap: 14px;
  }

  .preview-stack img {
    position: static;
    width: 100%;
  }

  .contact-section,
  .page-hero {
    padding: 64px 0;
  }

  .contact-section::after,
  .page-hero::after,
  .hero::after {
    width: 80%;
    height: 22%;
  }

  .gallery-card,
  .gallery-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .gallery-card img,
  .gallery-card.wide img {
    height: 260px;
  }

  .service-detail-card img,
  .about-photo-card img {
    height: 240px;
  }

  .service-hero-image img {
    min-height: 260px;
  }

  .service-hero-premium {
    min-height: 430px;
    padding: 58px 0;
    background:
      linear-gradient(90deg, rgba(20, 31, 20, 0.86) 0%, rgba(20, 31, 20, 0.68) 58%, rgba(20, 31, 20, 0.28) 100%),
      url("assets/images/services-hero-premium.png") center / cover no-repeat;
  }

  .service-hero-premium h1 {
    font-size: 2.45rem;
  }

  .contact-mini h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    justify-items: start;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .service-card div,
  .icon-card,
  .process-step,
  .featured-project,
  .service-detail-card div,
  .team-card,
  .strength-card,
  .why-item,
  .gallery-card div,
  .project-list-card,
  .project-showcase-intro,
  .project-category-card,
  .client-logo-card,
  .contact-list,
  .contact-info-card,
  .simple-card {
    padding: 20px;
  }
}
