:root {
  --black: #050505;
  --black-soft: #111111;
  --white: #ffffff;
  --ivory: #f7f4ec;
  --muted: #b8b3aa;
  --gold: #d4af37;
  --gold-soft: #f3db8a;
  --line: rgba(212, 175, 55, 0.26);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  width: 100%;
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

main {
  overflow-x: clip;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
  transition: background 220ms ease, padding 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 5, 5, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("../images/hero-luxury-cleaning.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroDrift 12s ease-out forwards;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 68% 42%, rgba(212, 175, 55, 0.13), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0) 32%);
}

.hero-content {
  max-width: 760px;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: 6.4rem;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.8rem;
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

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

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.22);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.btn-ghost.dark {
  color: var(--black);
  border-color: rgba(5, 5, 5, 0.18);
  background: rgba(5, 5, 5, 0.04);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 32px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

.section {
  padding: clamp(78px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.service-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card,
.proof-item {
  min-height: 280px;
  padding: 34px;
  background: var(--black-soft);
}

.service-card span {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.service-card p,
.proof-item p {
  color: rgba(255, 255, 255, 0.62);
}

.about {
  color: var(--black);
  background: var(--ivory);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  content: "";
  border: 1px solid var(--gold);
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about .eyebrow,
.contact .eyebrow {
  color: #9a7515;
}

.about-copy p {
  color: rgba(5, 5, 5, 0.68);
}

.signature-block {
  display: grid;
  gap: 2px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(5, 5, 5, 0.12);
}

.signature-block strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signature-block span {
  color: #8c6b14;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.excellence {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 32%),
    var(--black);
}

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

.proof-item {
  min-height: 220px;
}

.gallery {
  background: #0a0a0a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: #171717;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 680px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(5, 5, 5, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.26);
  backdrop-filter: blur(14px);
}

.contact {
  color: var(--black);
  background: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(5, 5, 5, 0.12);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 34%),
    var(--ivory);
}

.contact-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(5, 5, 5, 0.68);
}

.site-footer {
  padding-top: 60px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 44px;
}

.footer-grid img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}

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

.footer-grid strong {
  margin-bottom: 10px;
  color: var(--white);
}

.footer-grid a {
  margin-top: 8px;
}

.footer-bottom {
  padding: 22px 20px;
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  70% {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

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

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

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

  h2 {
    font-size: 3rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 18px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

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

  .site-nav a {
    padding: 15px 12px;
  }

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

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

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

  .gallery-item,
  .gallery-item.tall {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding-inline: 14px;
  }

  .about-media::before {
    inset: 14px 0 -14px 14px;
  }

  .brand span {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 3.45rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

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

  .service-card,
  .proof-item {
    min-height: auto;
    padding: 28px;
  }

  .service-card span {
    margin-bottom: 36px;
  }
}
