/* ============================================================
   KL RENOVATE LTD — style.css
   Structure note for WordPress/Elementor migration:
   every page section is one <section> with its own .container.
   Colors/spacing live in CSS variables below — map them to
   Elementor > Site Settings > Global Colors / Fonts.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --ink: #0c0c0e;
  --ink-2: #17171a;
  --ink-3: #101013;
  --paper: #f7f5f1;
  --card: #ffffff;
  --muted: #736f68;
  --muted-dark: #a9a59d;
  --line: #e7e3dc;
  --line-dark: rgba(255, 255, 255, 0.09);
  --gold: #c9a154;
  --gold-deep: #a87c33;
  --gold-soft: rgba(201, 161, 84, 0.14);
  --red: #c0392b;
  --green: #2e8b57;
  --shadow-sm: 0 4px 14px rgba(12, 12, 14, 0.06);
  --shadow-md: 0 16px 40px rgba(12, 12, 14, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 76px;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--ink); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

button { font: inherit; cursor: pointer; border: 0; background: none; }

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

@media (max-width: 600px) {
  .container { width: min(var(--container), 100% - 36px); }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Shared blocks ---------- */
.section { padding: clamp(72px, 9vw, 124px) 0; }

.section-dark {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 161, 84, 0.07), transparent 60%),
    var(--ink);
  color: #f2efe9;
}
.section-dark h2, .section-dark h3 { color: #faf8f4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--gold); }

.dot {
  flex: none;
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
  flex: none;
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px var(--gold-soft); }
  50% { box-shadow: 0 0 0 7px rgba(201, 161, 84, 0.06); }
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 0.45em;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 1.05rem;
}
.section-dark .section-sub, .section-dark > .container p { color: var(--muted-dark); }

.section-head { max-width: 700px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.text-gold { color: var(--gold); }
.text-underline-gold {
  position: relative;
  white-space: nowrap;
}
.text-underline-gold::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: linear-gradient(90deg, var(--gold-soft), rgba(201, 161, 84, 0.5));
  border-radius: 6px;
  z-index: -1;
}

.inline-link {
  color: var(--gold-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(168, 124, 51, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.inline-link:hover { color: var(--gold); border-color: var(--gold); }

.lead { font-size: 1.14rem; color: var(--ink-2); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, #d9b268, var(--gold) 45%, var(--gold-deep));
  color: #141210;
  box-shadow: 0 10px 26px rgba(201, 161, 84, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201, 161, 84, 0.42); }

.btn-dark { background: var(--ink); color: #faf8f4; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f4f1ec;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #f4f1ec;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; }

.check-icon { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.section-dark .check-icon { color: var(--gold); }

/* ---------- 5. Topbar ---------- */
.topbar {
  background: #0a0a0c;
  color: var(--muted-dark);
  font-size: 0.8rem;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}
.topbar-note { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-link {
  color: #d8d4cc;
  transition: color 0.2s;
  white-space: nowrap;
}
.topbar-link:hover { color: var(--gold); }
.topbar-social { display: inline-flex; gap: 12px; }
.topbar-social a { color: #d8d4cc; display: inline-flex; }
.topbar-social a:hover { color: var(--gold); }
.topbar-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled {
  background: rgba(12, 12, 14, 0.92);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: #faf8f4;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.brand-name small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 161, 84, 0.5);
  border-radius: 5px;
  padding: 2px 6px;
}
.brand-tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: #e8e4dc;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  z-index: 70;
}
.nav-toggle-bar {
  width: 20px; height: 2px;
  background: #f4f1ec;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(56px, 9vh, 110px);
  padding-bottom: 0;
  background: var(--ink);
  color: #f6f3ed;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 18s var(--ease) both;
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.6) 0%, rgba(12, 12, 14, 0.24) 45%, rgba(12, 12, 14, 0.88) 90%),
    linear-gradient(96deg, rgba(12, 12, 14, 0.82) 0%, rgba(12, 12, 14, 0.38) 52%, transparent 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(48px, 7vh, 88px);
  max-width: 860px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  font-weight: 900;
  color: #fdfbf7;
  margin-bottom: 0.5em;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.45);
}
.hero-sub {
  max-width: 640px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: #e8e3d9;
  margin-bottom: 2em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #cfc9bd;
  font-size: 0.92rem;
  font-weight: 500;
}
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points .check-icon { color: var(--gold); }

.hero-scroll {
  position: absolute;
  right: clamp(12px, 4vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 28px; height: 46px;
  display: flex; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  opacity: 0.85;
  transition: border-color 0.3s;
}
.hero-scroll:hover { border-color: var(--gold); }
.hero-scroll-line {
  width: 1.5px;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--gold);
  animation: scroll-line 2.2s var(--ease) infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(260%); }
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line-dark);
  background: linear-gradient(180deg, transparent, rgba(12, 12, 14, 0.4));
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fdfbf7;
  line-height: 1;
}
.stat-num small { color: var(--gold); font-size: 0.6em; }
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------- 8. Marquee ---------- */
.marquee {
  background: var(--gold);
  color: #1c1712;
  overflow: hidden;
  padding: 13px 0;
  border-block: 1px solid var(--gold-deep);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-group em { font-style: normal; opacity: 0.55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 9. About ---------- */
.section-about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.about-img-wrap { position: relative; margin: 0; }
.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-img-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.55;
}
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.about-badge {
  position: absolute;
  top: -26px;
  right: -14px;
  background: var(--ink);
  color: #f6f3ed;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 161, 84, 0.35);
}
.about-badge-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-badge-txt { font-size: 0.82rem; line-height: 1.3; font-weight: 600; }

.about-copy .section-title { margin-bottom: 0.35em; }
.about-copy > p { color: var(--muted); max-width: 540px; }
.about-copy .lead { color: #4c483f; }
.about-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0 34px;
  color: #575349;
  font-size: 0.97rem;
}
.about-list li { display: flex; gap: 13px; align-items: flex-start; }
.about-list strong { color: var(--ink); }

/* ---------- 10. Services ---------- */
.section-services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s, background 0.35s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 161, 84, 0.45);
  background: #fff;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  margin-bottom: 20px;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.service-icon svg { width: 27px; height: 27px; }
.service-card:hover .service-icon {
  background: var(--ink);
  color: var(--gold);
  transform: rotate(-4deg) scale(1.05);
}
.service-title { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.service-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.service-card:hover .service-link::after { transform: translateX(5px); }

/* ---------- 11. Process ---------- */
.section-process { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 161, 84, 0.5), rgba(201, 161, 84, 0.5), transparent);
}
.process-step {
  position: relative;
  padding-top: 0;
}
.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid rgba(201, 161, 84, 0.5);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.process-step:hover .process-num { background: var(--gold); color: #17130c; transform: translateY(-3px); }
.process-title { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; color: #f6f3ed; }
.process-step p { color: var(--muted-dark); font-size: 0.93rem; }

/* ---------- 12. Portfolio ---------- */
.section-portfolio { background: var(--paper); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  color: #faf8f4;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item.is-hidden {
  display: none;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.82));
  color: #f6f3ed;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption {
  transform: translateY(0);
  opacity: 1;
}
.gallery-item figcaption span { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.gallery-item figcaption small { color: #c8c2b6; font-size: 0.78rem; letter-spacing: 0.04em; }
.gallery-item::after {
  content: "⤢";
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(12, 12, 14, 0.45);
  color: #f6f3ed;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 1rem;
}
.gallery-item:hover::after { opacity: 1; }

.portfolio-note {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
}

/* ---------- 13. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 8, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 60px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lb-caption {
  position: absolute;
  bottom: clamp(14px, 3vh, 30px);
  left: 50%;
  transform: translateX(-50%);
  color: #ddd7cb;
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
}
.lb-close, .lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f6f3ed;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s;
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: #17130c; border-color: var(--gold); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: max(14px, 3vw); top: 50%; transform: translateY(-50%); font-size: 1.7rem; }
.lb-next { right: max(14px, 3vw); top: 50%; transform: translateY(-50%); font-size: 1.7rem; }

/* ---------- 14. Testimonials ---------- */
.section-testimonials { background: #fff; }
.slider { position: relative; max-width: 800px; margin-inline: auto; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track {
  display: flex;
  transition: transform 0.65s var(--ease);
}
.slide { flex: 0 0 100%; padding: 4px; }
.t-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
}
.t-card::before {
  content: "“";
  position: absolute;
  top: -6px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold-soft);
  pointer-events: none;
}
.t-stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 14px; font-size: 1.05rem; }
.t-card p {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: #403c35;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 22px;
}
.t-footer { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  flex: none;
}
.t-who { display: flex; flex-direction: column; line-height: 1.35; }
.t-who strong { font-size: 0.95rem; }
.t-who small { color: var(--muted); font-size: 0.8rem; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.slider-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 9px; }
.slider-dot {
  width: 9px; height: 9px;
  border-radius: 99px;
  background: #d8d2c8;
  transition: all 0.35s var(--ease);
}
.slider-dot.is-active { width: 26px; background: var(--gold); }

/* ---------- 15. Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.areas-copy p { color: var(--muted-dark); max-width: 460px; }
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.area-chip {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #ddd8ce;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
  cursor: default;
}
.area-chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); background: rgba(201, 161, 84, 0.07); }

/* ---------- 16. FAQ ---------- */
.section-faq { background: var(--paper); }
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(201, 161, 84, 0.55); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--gold-deep);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(201, 161, 84, 0.16), transparent 60%),
    var(--ink);
  border-block: 1px solid var(--line-dark);
  padding: clamp(56px, 7vw, 84px) 0;
  color: #f6f3ed;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; color: #fdfbf7; margin-bottom: 8px; }
.cta-sub { color: var(--muted-dark); max-width: 520px; margin: 0; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 18. Contact ---------- */
.section-contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: start;
}
.contact-info > p { color: var(--muted); max-width: 480px; }
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0 26px;
}
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.contact-card:hover { border-color: rgba(201, 161, 84, 0.6); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cc-icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.cc-icon svg { width: 20px; height: 20px; }
.contact-card div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.contact-card a, .contact-card span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-card a:hover { color: var(--gold-deep); }

.contact-social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #4a463e;
  background: #fff;
  transition: all 0.25s var(--ease);
}
.social-pill:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555046;
}
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #b3ada2; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08); }
.field-error { display: none; color: var(--red); font-size: 0.8rem; font-weight: 500; }
.field.has-error .field-error { display: block; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 4px 0 20px;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--gold-deep); width: 16px; height: 16px; flex: none; }

.form-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; }
.form-status { text-align: center; font-weight: 600; margin: 14px 0 0; font-size: 0.92rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* ---------- 19. Footer ---------- */
.site-footer {
  background: #0a0a0c;
  color: #b7b2a8;
  padding: clamp(56px, 7vw, 80px) 0 0;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-about { color: #8f8b81; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: #d8d4cc;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #17130c; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-col h4 {
  color: #f2efe9;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #b7b2a8; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { color: #b7b2a8; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding: 20px 0;
  font-size: 0.78rem;
  color: #7c786f;
}
.footer-bottom p { margin: 0; }
.footer-legal { letter-spacing: 0.06em; }

/* ---------- 20. Back to top ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  border: 1px solid rgba(201, 161, 84, 0.4);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.25s;
  box-shadow: var(--shadow-md);
}
.back-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--gold); color: #17130c; }
body.nav-open .back-top { opacity: 0; pointer-events: none; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 21. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 0.9s; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.45s; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid, .contact-grid, .areas-grid, .faq-wrap { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .about-media { max-width: 640px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }

  /* backdrop-filter would make the header the containing block of the
     fixed drawer (CSS spec) — drop it on mobile so the drawer fills the screen */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 12, 14, 0.92);
  }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    padding: calc(var(--header-h) + 34px) 24px 40px;
    overflow-y: auto;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: center; gap: 22px; }
  .nav-link { font-size: 1.32rem; font-family: var(--font-display); font-weight: 700; }
  .nav-cta { opacity: 0; transition: opacity 0.3s 0.2s; }
  body.nav-open .nav-cta { opacity: 1; }

  .hero { min-height: auto; padding-top: clamp(70px, 14vh, 140px); }
  .hero-scroll { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .services-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-item figcaption { opacity: 1; transform: none; }
  .brand-tag { display: none; }
  .about-img-wrap::after { display: none; }
  .about-badge { right: 6px; top: -18px; padding: 12px 15px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .topbar-inner, .topbar-links { flex-wrap: wrap; row-gap: 4px; }
  .topbar-links { justify-content: center; }
}

@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; }
  .hero-title { font-size: 2.2rem; }
  .topbar-links { gap: 10px; font-size: 0.72rem; }
  .topbar-links .topbar-link:nth-child(2) { display: none; }
}

/* ---------- 24. Anchor offset & selection ---------- */
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

::selection { background: var(--gold); color: #17130c; }

/* ---------- 23. Motion / print / reduced ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-img { animation: none; }
}

@media print {
  .site-header, .topbar, .marquee, .back-top, .hero-scroll, .lightbox { display: none !important; }
  body { background: #fff; }
}

