/* ==========================================================================
   NOIRX CLEAN — PAGE STYLES  (v3 — real golden hero image)
   File: css/clean.css

   HERO: Pure cinematic black. Real golden particle cleaning woman image
   fills the right panel. Dark overlay ensures text stays readable.
   Left panel: huge serif headline + body + two CTA buttons.

   All sections sit at z-index:1 above the bubble canvas (z-index:0).
   ========================================================================== */

/* ==========================================================================
   Z-INDEX STACKING — above the bubble canvas
   ========================================================================== */
.site-nav,
.clean-hero,
.trust-bar,
.services-section,
.mission-section,
.gallery-section,
.promise-section,
.why-split,
.cta-band,
.site-footer { position: relative; z-index: 1; }


/* ==========================================================================
   HERO — cinematic split, always dark
   ========================================================================== */
.clean-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 50% 50%;
  background: #050505;
  overflow: hidden;
}

/* ── LEFT: text ── */
.clean-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 148px 64px 88px 88px;
  position: relative;
  z-index: 2;
  /* Subtle left-side gold ambient glow behind text */
  background: radial-gradient(ellipse 80% 60% at 10% 50%,
    rgba(240,192,64,0.04) 0%, transparent 70%);
}

.clean-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.58rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: #F0C040;
  margin-bottom: 36px;
  opacity: 0;
  animation: heroIn 0.9s ease 0.10s forwards;
}
.clean-hero__tag::before {
  content: ''; width: 30px; height: 1px;
  background: #F0C040; flex-shrink: 0;
}

.clean-hero__h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #F8F6F0;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroIn 0.9s ease 0.28s forwards;
}
.clean-hero__h1 em { font-style: italic; color: #F0C040; }

.clean-hero__body {
  font-size: 0.90rem;
  line-height: 1.85;
  color: rgba(248,246,240,0.50);
  max-width: 440px;
  margin-bottom: 52px;
  font-weight: 300;
  opacity: 0;
  animation: heroIn 0.9s ease 0.46s forwards;
}

.clean-hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroIn 0.9s ease 0.62s forwards;
}

/* Gold fill button */
.btn-c-primary {
  display: inline-flex;
  align-items: center;
  background: #F0C040;
  color: #0A0A0A;
  padding: 16px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #F0C040;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn-c-primary:hover {
  background: #FFE270;
  box-shadow: 0 8px 28px rgba(240,192,64,0.38);
  transform: translateY(-2px);
}

/* Ghost button */
.btn-c-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(248,246,240,0.28);
  color: rgba(248,246,240,0.72);
  padding: 16px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.btn-c-ghost::after { content: '›'; font-size: 1.1rem; }
.btn-c-ghost:hover {
  border-color: rgba(240,192,64,0.65);
  color: #F0C040;
  background: rgba(240,192,64,0.05);
}

/* ── RIGHT: hero image panel ── */
.clean-hero__right {
  position: relative;
  overflow: hidden;
  background: #050505;
}

/*
 * The actual hero image — golden particle cleaning woman.
 * Image: ../images/hero-clean.png
 * Positioned to show the figure naturally, slightly right-of-centre.
 */
.clean-hero__img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-clean.png');
  background-size: contain;          /* Show full figure — no cropping       */
  background-repeat: no-repeat;
  background-position: center 15%;   /* Centre the figure, top-weighted      */
  /* No filter needed — the image is already dark on black                   */
  transition: transform 12s ease-in-out;
  animation: heroImgBreath 10s ease-in-out infinite alternate;
}

/* Gentle scale breath on the image — makes it feel alive */
@keyframes heroImgBreath {
  from { transform: scale(1.00); }
  to   { transform: scale(1.03); }
}

/*
 * LEFT-EDGE GRADIENT FADE
 * Fades the image into the black text panel on the left.
 * Essential so there's no hard edge between the two columns.
 */
.clean-hero__fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #050505 0%,
    rgba(5,5,5,0.85) 18%,
    rgba(5,5,5,0.35) 42%,
    rgba(5,5,5,0.05) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* BOTTOM GRADIENT — grounds the figure */
.clean-hero__fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, #050505 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* TOP GRADIENT — subtle top vignette */
.clean-hero__fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(5,5,5,0.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background: #0C0A06;
  border-top:    1px solid rgba(240,192,64,0.10);
  border-bottom: 1px solid rgba(240,192,64,0.10);
  padding: 0 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
body.theme-light .trust-bar { background: var(--color-bg-2); border-color: var(--color-border); }

.trust-bar__item {
  padding: 34px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.trust-bar__item + .trust-bar__item::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(240,192,64,0.12);
}
body.theme-light .trust-bar__item + .trust-bar__item::before { background: var(--color-border); }

.trust-bar__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #F0C040;
  line-height: 1;
  margin-bottom: 8px;
}
body.theme-light .trust-bar__num { color: var(--color-gold); }

.trust-bar__lbl {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248,246,240,0.32);
}
body.theme-light .trust-bar__lbl { color: var(--color-text-muted); }


/* ==========================================================================
   SERVICES — three cards
   ========================================================================== */
.services-section { padding: 120px 88px; background: var(--color-bg); }
.services-section .section-title { margin-bottom: 64px; }

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

.svc-card {
  background: var(--color-bg-2);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--color-gold-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22,0.68,0,1.2);
}
.svc-card:hover { background: var(--color-bg-3); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__icon { font-size: 2rem; display: block; margin-bottom: 28px; transition: transform 0.4s; }
.svc-card:hover .svc-card__icon { transform: scale(1.14); }
.svc-card__name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400; line-height: 1.1; margin-bottom: 14px; color: var(--color-text); }
.svc-card__name em { font-style: italic; color: var(--color-gold); }
.svc-card__desc { font-size: 0.80rem; line-height: 1.9; color: var(--color-text-muted); margin-bottom: 28px; }
.svc-card__list { display: flex; flex-direction: column; gap: 10px; }
.svc-card__list li { font-size: 0.70rem; color: var(--color-text-muted); display: flex; gap: 12px; align-items: flex-start; }
.svc-card__list li::before { content: '—'; color: var(--color-gold); flex-shrink: 0; }


/* ==========================================================================
   MISSION — blockquote + values
   ========================================================================== */
.mission-section {
  padding: 100px 88px;
  background: var(--color-bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.mission-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem,2.8vw,2.5rem);
  font-weight: 400;
  line-height: 1.35;
  border-left: 2px solid var(--color-gold);
  padding-left: 36px;
  color: var(--color-text);
}
.mission-quote em { font-style: italic; color: var(--color-gold); }

.mission-values { display: flex; flex-direction: column; gap: 26px; }
.mission-value { display: flex; gap: 18px; align-items: flex-start; transition: transform 0.3s; }
.mission-value:hover { transform: translateX(6px); }
.mission-value__icon { color: var(--color-gold); font-size: 0.52rem; margin-top: 5px; flex-shrink: 0; }
.mission-value__title { display: block; font-size: 0.70rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text); margin-bottom: 5px; font-weight: 500; }
.mission-value__desc { font-size: 0.77rem; line-height: 1.8; color: var(--color-text-muted); }


/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-section { padding: 0 88px 120px; background: var(--color-bg); }
.gallery-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 400; margin-bottom: 48px; color: var(--color-text); }
.gallery-title em { font-style: italic; color: var(--color-gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 3px;
}
.g-item { overflow: hidden; position: relative; }
.g-item--tall { grid-row: 1 / 3; grid-column: 1 / 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.65); transition: transform 0.7s, filter 0.55s; }
body.theme-light .g-item img { filter: brightness(0.82) saturate(0.90); }
.g-item:hover img { transform: scale(1.06); filter: brightness(0.68) saturate(0.75); }
body.theme-light .g-item:hover img { filter: brightness(0.92) saturate(1.0); }
.g-item::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(240,192,64,0.14) 0%, transparent 68%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.g-item:hover::after { opacity: 1; }
.g-label { position: absolute; bottom: 18px; left: 22px; font-size: 0.56rem; letter-spacing: 0.30em; text-transform: uppercase; color: rgba(240,192,64,0.72); pointer-events: none; z-index: 2; transition: color 0.3s; }
.g-item:hover .g-label { color: #F0C040; }


/* ==========================================================================
   PROMISE — four pillars
   ========================================================================== */
.promise-section { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--color-bg-2); }
.promise-item { padding: 56px 40px; background: var(--color-bg-3); position: relative; overflow: hidden; transition: background 0.3s; }
.promise-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--color-gold-bright); transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.22,0.68,0,1.2); }
.promise-item:hover { background: var(--color-bg-card); }
.promise-item:hover::before { transform: scaleX(1); }
.promise-item__num { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: rgba(240,192,64,0.11); font-style: italic; line-height: 1; margin-bottom: 20px; transition: color 0.3s; }
.promise-item:hover .promise-item__num { color: rgba(240,192,64,0.24); }
.promise-item__title { font-size: 0.73rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text); margin-bottom: 12px; font-weight: 500; }
.promise-item__desc { font-size: 0.71rem; line-height: 1.85; color: var(--color-text-muted); }


/* ==========================================================================
   WHY SPLIT — image left, text right
   ========================================================================== */
.why-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.why-split__img { position: relative; overflow: hidden; }
.why-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.52) saturate(0.65); animation: whyZoom 12s ease-in-out infinite alternate; transition: filter 0.5s; }
body.theme-light .why-split__img img { filter: brightness(0.82) saturate(0.90); }
@keyframes whyZoom { from { transform: scale(1.00); } to { transform: scale(1.05); } }
.why-split__img-glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 50% 55% at 45% 50%, rgba(240,192,64,0.09) 0%, transparent 62%); pointer-events: none; }
.why-split__img-fade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to right, transparent 55%, var(--color-bg-3) 100%); pointer-events: none; }
.why-split__text { background: var(--color-bg-3); padding: 80px 72px; display: flex; flex-direction: column; justify-content: center; }
.why-split__text .section-title { margin-bottom: 22px; }
.why-split__body { font-size: 0.84rem; line-height: 2; color: var(--color-text-muted); margin-bottom: 44px; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-dot { width: 6px; height: 6px; background: var(--color-gold-bright); border-radius: 50%; margin-top: 7px; flex-shrink: 0; box-shadow: 0 0 8px rgba(240,192,64,0.5); }
.why-item-text { font-size: 0.79rem; line-height: 1.75; color: var(--color-text-muted); }
.why-item-title { display: block; font-size: 0.70rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text); margin-bottom: 4px; font-weight: 500; }


/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  padding: 110px 88px;
  text-align: center;
  background: var(--color-bg);
  background-image: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(240,192,64,0.052) 0%, transparent 70%);
}
.cta-band .section-title { margin-bottom: 20px; }
.cta-band p { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 48px; max-width: 440px; margin-left: auto; margin-right: auto; }
.cta-band__email { display: block; margin-top: 22px; font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--color-gold); letter-spacing: 0.05em; text-decoration: none; transition: opacity 0.3s; }
.cta-band__email:hover { opacity: 0.70; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .clean-hero { grid-template-columns: 1fr; min-height: auto; }
  /* On tablet/mobile show the image below the text as a full-width banner */
  .clean-hero__right {
    height: 60vw;
    max-height: 480px;
  }
  .clean-hero__img {
    background-position: center 10%;
    background-size: cover;    /* Cover on small screens so it fills the band */
  }
  .clean-hero__left { padding: 140px 36px 60px; }
  .mission-section { grid-template-columns: 1fr; gap: 52px; padding: 80px 36px; }
  .why-split { grid-template-columns: 1fr; }
  .why-split__img { min-height: 300px; }
  .why-split__img img { position: relative; width: 100%; height: 300px; }
}

@media (max-width: 900px) {
  .services-section, .gallery-section, .trust-bar, .cta-band { padding-left: 28px; padding-right: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-item--tall { grid-row: auto; grid-column: auto; height: 220px; }
  .g-item { height: 220px; }
  .promise-section { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .why-split__text { padding: 52px 28px; }
}

@media (max-width: 480px) {
  .clean-hero__left { padding: 120px 24px 52px; }
  .clean-hero__h1 { font-size: clamp(2.5rem,11vw,3.5rem); }
  .promise-section { grid-template-columns: 1fr; }
  .trust-bar { padding: 0 16px; }
}
