:root {
  --bg: #aaa57f;
  --surface: #d0c89c;
  --surface-soft: #c3bd93;
  --text: #252930;
  --muted: #56533f;
  --accent: #b6aa73;
  --accent-dark: #262a31;
  --border: rgba(38, 42, 49, 0.18);
  --shadow: 0 24px 60px rgba(18, 20, 24, 0.22);
  --radius: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #282c33 0 410px, var(--bg) 410px 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.top-strip {
  background: #1f2228;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  text-align: center;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(40, 44, 51, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.05rem;
  color: #fff;
  min-width: 0;
}

.brand-name-short {
  display: none;
}

.brand-mark {
  width: 46px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: #252930;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #cfc79b;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  transition: 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #24282f;
  box-shadow: 0 12px 24px rgba(182, 170, 115, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d0c588;
}

.btn-ghost {
  background: rgba(182, 170, 115, 0.14);
  color: #fff;
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding-top: 4.5rem;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(182, 170, 115, 0.18);
  border: 1px solid rgba(182, 170, 115, 0.36);
  color: #efe7b9;
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 850px;
}

.hero p {
  margin-top: 1.4rem;
  color: #262a31;
  max-width: 650px;
  font-size: 1.15rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero .btn-primary {
  background: #262a31;
  color: #f2e8ba;
  border-color: rgba(38, 42, 49, 0.72);
  box-shadow: 0 14px 30px rgba(38, 42, 49, 0.24);
}

.hero .btn-primary:hover {
  background: #171a1f;
}

.hero .btn-ghost {
  background: rgba(207, 199, 155, 0.58);
  color: #262a31;
  border-color: rgba(38, 42, 49, 0.28);
}

.hero .btn-ghost:hover {
  background: #262a31;
  color: #f2e8ba;
  border-color: #262a31;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 2rem;
  max-width: 670px;
}

.trust-card {
  background: #262a31;
  border: 1px solid rgba(242, 232, 186, 0.26);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 18px 42px rgba(38, 42, 49, 0.2);
}

.trust-card strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  color: #f2e8ba;
}

.trust-card span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.hero-card {
  position: relative;
  min-height: 560px;
  border-radius: 16px;
  padding: 1.1rem;
  background: rgba(182, 170, 115, 0.12);
  border: 1px solid rgba(182, 170, 115, 0.42);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo {
  position: relative;
  height: 100%;
  min-height: 530px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.25)),
    url('../images/hero.svg') center/cover;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  overflow: hidden;
}

.motion-dots {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 8.8rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  pointer-events: none;
}

.motion-dots span {
  width: clamp(38px, 5vw, 58px);
  height: clamp(38px, 5vw, 58px);
  border: 2px solid rgba(182, 170, 115, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(16, 36, 29, 0.28);
  animation: photoDotFloat 4.5s ease-in-out infinite;
  animation-delay: var(--dot-delay);
}

.motion-dots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-info {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(207, 199, 155, 0.92);
  color: #252930;
  border-radius: 12px;
  padding: 1.2rem;
  backdrop-filter: blur(16px);
}

.floating-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1;
  max-width: 700px;
}

.section-heading p {
  color: var(--muted);
  max-width: 420px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: linear-gradient(145deg, #cec79b, #bdb686);
  border: 1px solid rgba(38, 42, 49, 0.24);
  border-radius: var(--radius);
  padding: 1.3rem;
  min-height: 235px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:nth-child(2) {
  background: linear-gradient(145deg, #c7bf91, #afa779);
}

.service-card:nth-child(3) {
  background: linear-gradient(145deg, #d5cc9d, #b8b07f);
}

.service-card:nth-child(4) {
  background: linear-gradient(145deg, #c2bb8b, #aca473);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #282c33;
  display: grid;
  place-items: center;
  color: #d0c588;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.service-card a {
  color: #282c33;
  font-weight: 800;
  margin-top: 1.1rem;
}

.services-toggle {
  display: none;
  margin: 1.2rem auto 0;
}

.process {
  background: rgba(40, 44, 51, 0.94);
  border: 1px solid rgba(182, 170, 115, 0.35);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.process-image {
  min-height: 390px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.2)),
    url('../images/process.svg') center/cover;
}

.steps {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 0;
}

.step:last-child {
  border-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent);
  color: #282c33;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step h3 {
  color: #fff;
  letter-spacing: 0;
  margin-bottom: 0.2rem;
}

.step p {
  color: rgba(255, 255, 255, 0.72);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1rem;
}

.project-card {
  min-height: 330px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(37, 41, 48, 0.16);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

.project-card-1 {
  background: url('../images/project1.svg') center/cover;
}

.project-card-2 {
  background: url('../images/project2.svg') center/cover;
}

.project-card-3 {
  background: url('../images/project3.svg') center/cover;
}

.project-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(40, 44, 51, 0.88);
  color: #1d2422;
  backdrop-filter: blur(12px);
}

.project-label strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
}

.project-label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #282c33;
  border: 1px solid rgba(38, 42, 49, 0.36);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.gallery-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 12px;
  background: rgba(38, 42, 49, 0.24);
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 2rem) / 3);
  height: clamp(280px, 38vw, 460px);
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-soft);
  cursor: pointer;
  isolation: isolate;
  scroll-snap-align: start;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16, 36, 29, 0.52));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:not(.active) {
  opacity: 0.78;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding-top: 1rem;
}

.gallery-control {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(182, 170, 115, 0.35);
  border-radius: 10px;
  background: rgba(182, 170, 115, 0.16);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #282c33;
}

.gallery-status {
  min-width: 64px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-align: center;
}

.gallery-empty {
  background: rgba(182, 170, 115, 0.16);
  border: 1px dashed rgba(182, 170, 115, 0.55);
  border-radius: var(--radius);
  padding: 2rem;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-empty strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5rem 6.5rem;
  background: rgba(31, 34, 40, 0.9);
  backdrop-filter: blur(12px);
}

.gallery-lightbox.open {
  display: flex;
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox-frame {
  position: relative;
}

.gallery-lightbox-frame img {
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(38, 42, 49, 0.35);
  border-radius: 10px;
  background: rgba(182, 170, 115, 0.95);
  color: #282c33;
  cursor: pointer;
  line-height: 1;
}

.gallery-lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
}

.gallery-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
}

.gallery-lightbox-prev {
  left: 1rem;
}

.gallery-lightbox-next {
  right: 1rem;
}

.gallery-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  min-width: 74px;
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  background: rgba(182, 170, 115, 0.95);
  color: #282c33;
  font-weight: 800;
  text-align: center;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.testimonial {
  background: linear-gradient(145deg, #cec79b, #bdb686);
  border: 1px solid rgba(38, 42, 49, 0.24);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.testimonial:nth-child(2) {
  background: linear-gradient(145deg, #c7bf91, #afa779);
  border-color: rgba(38, 42, 49, 0.3);
}

.testimonial:nth-child(3) {
  background: linear-gradient(145deg, #d5cc9d, #b8b07f);
  border-color: rgba(38, 42, 49, 0.28);
}

.stars {
  color: #36721a;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.testimonial strong {
  display: block;
}

.cta {
  background: #282c33;
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
}

.cta .btn-primary {
  background: var(--accent);
  color: #282c33;
}

footer {
  border-top: 1px solid rgba(37, 41, 48, 0.18);
  padding: 2rem 1.2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(37, 41, 48, 0.74);
  font-size: 0.95rem;
}

@keyframes photoDotFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-16px) scale(1.08);
  }
}

@media (max-width: 980px) {

  .hero,
  .process,
  .cta {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonial-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 430px;
  }

  .hero-photo {
    min-height: 400px;
  }

  .gallery-lightbox {
    padding: 4.5rem 4rem;
  }

  .gallery-item {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: nowrap;
    gap: 0.55rem;
    padding: 0.7rem 0.75rem;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    order: 3;
  }

  .nav-call {
    display: inline-flex;
    flex: 0 0 auto;
    order: 2;
    min-height: 42px;
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .nav-call span {
    font-size: 0;
  }

  .nav-call span::after {
    content: "Call";
    font-size: 0.85rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 60;
    flex-direction: column;
    align-items: flex-start;
    background: #282c33;
    border: 1px solid rgba(182, 170, 115, 0.35);
    border-radius: 12px;
    padding: 1rem;
  }

  .brand {
    flex: 1 1 auto;
    gap: 0.55rem;
    font-size: clamp(0.96rem, 4.4vw, 1.12rem);
    overflow: hidden;
    order: 1;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 1rem;
  }

  .brand-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-name-full {
    display: none;
  }

  .brand-name-short {
    display: inline;
  }

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

  .section {
    padding: 4rem 1rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .trust-row,
  .services-grid,
  .testimonial-wrap {
    grid-template-columns: 1fr;
  }

  .services-grid:not(.services-expanded) .service-card:nth-child(n + 4) {
    display: none;
  }

  .services-toggle {
    display: inline-flex;
    width: 100%;
  }

  .gallery-carousel {
    border-radius: 26px;
    padding: 0.7rem;
  }

  .gallery-viewport {
    border-radius: 20px;
  }

  .gallery-item {
    flex-basis: min(82vw, 360px);
    height: clamp(250px, 76vw, 400px);
  }

  .gallery-lightbox {
    padding: 4.5rem 1rem 5.5rem;
  }

  .gallery-lightbox-frame img {
    max-width: 96vw;
    max-height: 72vh;
    border-radius: 18px;
  }

  .gallery-lightbox-arrow {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .motion-dots {
    bottom: 9.8rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .cta {
    padding: 2rem;
  }

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