/* =========================================================
   Noida Home Interior & Renovation Contractor
   ========================================================= */
:root {
  --ivory: #fbf9f5;
  --cream: #f6f1e9;
  --sand: #ece3d5;
  --line: #e0d6c6;
  --charcoal: #1e1c1a;
  --charcoal-2: #2a2724;
  --ink: #2b2826;
  --muted: #625b53;
  --gold: #c2a165;
  --gold-soft: #d9c08f;
  --gold-deep: #7a5c2e;
  --white: #fff;
  --error: #a3341f;
  --ok: #2f6b3f;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 50px -24px rgba(30, 28, 26, 0.35);
  --shadow-sm: 0 6px 20px -12px rgba(30, 28, 26, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lb-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--charcoal); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-soft); }

h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.01em; color: var(--charcoal); }
h3 { font-size: 1.08rem; color: var(--charcoal); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; letter-spacing: .03em; text-decoration: none;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: var(--shadow-sm); }

.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-2); box-shadow: var(--shadow-sm); }

.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(255,255,255,.04); backdrop-filter: blur(2px); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

.btn-text-light { color: var(--white); padding-inline: .6rem; }
.btn-text-light:hover { color: var(--gold-soft); }

.btn-ghost-dark { border-color: rgba(255,255,255,.25); color: var(--white); }

.btn-link {
  padding-inline: 0; min-height: auto; color: var(--charcoal);
  border-bottom: 1px solid var(--gold); border-radius: 0; padding-block: .2rem;
}
.btn-link:hover { color: var(--gold-deep); transform: none; }
.btn-link .ic { transition: transform .25s var(--ease); }
.btn-link:hover .ic { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(20,18,16,.6), rgba(20,18,16,0));
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(251, 249, 245, .97); color: var(--charcoal); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.25); }
.site-header.is-scrolled::before { opacity: 0; }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled { background: rgba(251, 249, 245, .9); backdrop-filter: blur(12px); }
}

.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
.brand-mark { flex: none; display: block; width: 42px; height: 42px; box-shadow: 0 0 0 1px rgba(194,161,101,.35); border-radius: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .85; white-space: nowrap; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .3rem; }
.main-nav ul a {
  position: relative; display: block; padding: .5rem .8rem;
  font-size: .9rem; font-weight: 500; text-decoration: none; letter-spacing: .02em;
}
.main-nav ul a::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-call { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-call:hover { color: var(--gold); }
.is-scrolled .header-call:hover { color: var(--gold-deep); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: var(--radius);
  background: transparent; cursor: pointer; padding: 0; position: relative; color: inherit;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-call span { display: none; }
  .header-call { width: 42px; height: 42px; justify-content: center; border: 1px solid currentColor; border-radius: var(--radius); }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--charcoal); color: var(--white);
    padding: 2rem 1.5rem 2.5rem;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a {
    font-family: var(--serif); font-size: 1.9rem; font-weight: 500; padding: .7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.is-active { color: var(--gold-soft); }
  .nav-mobile-extra { display: grid; gap: .75rem; }
  .menu-open .site-header { background: var(--charcoal); color: var(--white); box-shadow: none; backdrop-filter: none; }
  .menu-open .site-header::before { opacity: 0; }
}

@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .header-wa span { display: none; }
  .header-wa { width: 42px; padding: 0; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .14em; }
  .header-actions { gap: .5rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .nav-toggle span { left: 11px; right: 11px; }
  .nav-toggle span:nth-child(1) { top: 13px; }
  .nav-toggle span:nth-child(2) { top: 20px; }
  .nav-toggle span:nth-child(3) { top: 27px; }
}
@media (max-width: 360px) {
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center;
  color: var(--white); background: var(--charcoal);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  isolation: isolate; overflow: hidden;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: heroZoom 18s var(--ease) both; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,18,16,.88) 0%, rgba(20,18,16,.7) 42%, rgba(20,18,16,.25) 100%),
    linear-gradient(0deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,0) 40%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }

.hero-content { max-width: var(--container); }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.06; letter-spacing: -.015em;
  max-width: 15ch; margin-bottom: 1.4rem; color: var(--white);
}
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 54ch; color: rgba(255,255,255,.86); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.6rem; max-width: 640px;
}
.hero-facts li { flex: 1 1 160px; padding: .2rem 1.4rem .2rem 0; }
.hero-facts li + li { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.4rem; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-soft); line-height: 1.2; }
.hero-facts span { font-size: .82rem; color: rgba(255,255,255,.75); letter-spacing: .03em; }

.hero-content > * { animation: rise .9s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }
.hero-content > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-content > * { animation: none; } }

@media (max-width: 600px) {
  .hero { align-items: flex-end; padding-bottom: 3rem; }
  .hero-media::after { background: linear-gradient(0deg, rgba(20,18,16,.94) 0%, rgba(20,18,16,.72) 55%, rgba(20,18,16,.4) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn-text-light { border: 1px solid rgba(255,255,255,.25); }
  .hero-facts { margin-top: 2.4rem; }
  .hero-facts li { flex: 1 1 0; padding-right: .7rem; }
  .hero-facts li + li { padding-left: .7rem; }
  .hero-facts strong { font-size: 1.2rem; }
  .hero-facts span { font-size: .72rem; display: block; line-height: 1.35; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.section-head-light h2 { color: var(--white); }
.section-head-light p:last-child { color: rgba(255,255,255,.72); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- About ---------- */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.owner-figure { margin: 0; position: relative; max-width: 440px; justify-self: center; width: 100%; }
.owner-frame { position: relative; }
.owner-frame::before {
  content: ''; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold); z-index: 0;
}
.owner-frame img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; height: auto;
  object-fit: cover; object-position: 50% 45%;
  box-shadow: var(--shadow); background: var(--sand);
}
.owner-card {
  position: relative; z-index: 2;
  margin: -3.2rem 1.25rem 0 auto; width: max-content; max-width: calc(100% - 1.25rem);
  background: var(--charcoal); color: var(--white);
  padding: 1.15rem 1.6rem 1.2rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .1rem;
  border-top: 2px solid var(--gold);
}
.owner-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.owner-role { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.owner-exp { font-size: .9rem; color: rgba(255,255,255,.82); margin-top: .35rem; }

.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--ink); }
.about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; margin: 1.8rem 0 2.2rem; }
.about-points li { position: relative; padding-left: 1.6rem; font-weight: 500; font-size: .95rem; color: var(--ink); }
.about-points li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px;
  border: 1px solid var(--gold-deep); transform: rotate(45deg);
}
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .owner-figure { max-width: 380px; margin-left: 18px; }
}
@media (max-width: 520px) {
  .about-points { grid-template-columns: 1fr; }
  .owner-figure { width: calc(100% - 18px); }
}

/* ---------- Services ---------- */
.services { background: var(--cream); }
.service-grid { display: grid; gap: 1.5rem; }
.service-grid-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; }

.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-media { overflow: hidden; aspect-ratio: 18 / 13; background: var(--sand); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 1.6rem 1.6rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-num { font-family: var(--serif); font-size: .95rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .08em; margin-bottom: .4rem; }
.service-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: .7rem; }
.service-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.service-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--charcoal);
  padding: .55rem 0; border-bottom: 1px solid var(--gold);
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.service-cta:hover { color: var(--gold-deep); gap: .8rem; }

.service-card.has-icon { padding: 2rem 1.75rem 1.6rem; background: var(--ivory); }
.service-icon { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 1.4rem; }
.service-card.has-icon h3 { font-size: 1.35rem; }

@media (max-width: 1024px) {
  .service-grid-featured, .service-grid-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .service-grid-featured, .service-grid-icons { grid-template-columns: 1fr; }
  .service-grid { gap: 1.1rem; }
  .service-grid-icons { margin-top: 1.1rem; }
}

/* ---------- Why choose us ---------- */
.why { background: var(--charcoal); color: var(--white); position: relative; overflow: hidden; }
.why::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(194,161,101,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(194,161,101,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.why .container { position: relative; }
.why-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12);
}
.why-item { padding: 2.2rem 1.8rem; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); transition: background-color .35s var(--ease); }
.why-item:hover { background: rgba(255,255,255,.03); }
.why-item:first-child { grid-column: span 2; background: linear-gradient(135deg, rgba(194,161,101,.16), rgba(194,161,101,.02)); }
.why-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.3rem; }
.why-item h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: .6rem; }
.why-item:first-child h3 { font-size: 1.9rem; }
.why-item p { color: rgba(255,255,255,.7); font-size: .93rem; margin: 0; }

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item:first-child { grid-column: auto; }
  .why-item { padding: 1.8rem 1.4rem; }
}

/* ---------- Process ---------- */
.process { background: var(--ivory); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; padding: 2rem 1.5rem 1.8rem; background: var(--white); border: 1px solid var(--line); }
.process-step::after {
  content: ''; position: absolute; top: 3.15rem; right: -1.5rem; width: 1.5rem; height: 1px; background: var(--gold);
}
.process-step:last-child::after { display: none; }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.3rem;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-deep);
}
.process-step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: .6rem; }
.process-step p { color: var(--muted); font-size: .93rem; margin: 0; }
.process-cta { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; text-align: center; }
.process-cta p { margin: 0; font-family: var(--serif); font-size: 1.5rem; color: var(--charcoal); }

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step::after { display: none; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .process-cta .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ---------- Projects ---------- */
.projects { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 1.4rem; }
.filter {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: .6rem 1.15rem; border-radius: 999px; min-height: 44px;
  font-size: .86rem; font-weight: 600; cursor: pointer; letter-spacing: .02em;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter:hover { border-color: var(--charcoal); }
.filter.is-active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.gallery-count { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: .5rem; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; scroll-snap-align: start; }
}

.gallery { columns: 3 300px; column-gap: 1.25rem; }
.tile {
  position: relative; display: block; width: 100%; margin: 0 0 1.25rem; padding: 0; border: 0;
  background: var(--sand); cursor: zoom-in; overflow: hidden; break-inside: avoid;
  border-radius: 2px;
}
.tile[hidden] { display: none; }
.tile img { width: 100%; height: auto; opacity: 0; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.tile.is-loaded img { opacity: 1; }
.tile.is-error { min-height: 180px; }
.tile.is-error::before { content: 'Image unavailable'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.tile-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.2rem; color: var(--white); text-align: left;
  background: linear-gradient(0deg, rgba(20,18,16,.75) 0%, rgba(20,18,16,0) 55%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.tile-cat { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.tile-zoom { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: .15rem; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile:hover .tile-overlay, .tile:focus-visible .tile-overlay { opacity: 1; }
.tile:focus-visible { outline-offset: 4px; }
@media (hover: none) {
  .tile-overlay { opacity: 1; background: linear-gradient(0deg, rgba(20,18,16,.6) 0%, rgba(20,18,16,0) 40%); }
  .tile-zoom { display: none; }
  .tile-cat { font-size: 1.05rem; }
}
.tile.is-in { animation: tileIn .5s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.gallery-empty { text-align: center; color: var(--muted); max-width: 460px; margin: 1rem auto 0; padding: 2.5rem 1.5rem; border: 1px dashed var(--line); background: var(--ivory); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(16, 14, 12, .96); color: var(--white);
}
@supports (height: 100dvh) { .lightbox { height: 100dvh; } }
.lightbox::backdrop { background: rgba(16, 14, 12, .9); }
.lightbox[open] { display: flex; flex-direction: column; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 4.5rem 4.5rem 1rem; position: relative; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -30px #000; transition: opacity .3s var(--ease); }
.is-loading .lb-img { opacity: .25; }
.lb-loading { position: absolute; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--gold); border-radius: 50%; opacity: 0; }
.is-loading .lb-loading { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lb-caption { text-align: center; padding: .6rem 1rem 1.6rem; margin: 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(30,28,26,.6); color: var(--white);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 1rem; right: 1rem; font-size: 1.1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; padding-bottom: 4px; }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; padding-bottom: 4px; }
@media (max-width: 640px) {
  .lb-stage { padding: 4rem .75rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; width: 46px; height: 46px; }
  .lb-caption { padding-bottom: 5rem; }
}

/* ---------- Commitment ---------- */
.commitment { background: var(--ivory); text-align: center; }
.commitment-inner { max-width: 860px; }
.commitment .eyebrow { justify-content: center; }
.commitment .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.commitment h2 { font-weight: 500; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.3; margin-bottom: 2.2rem; }
.commitment-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 2rem; }
.commitment-list li { padding: .55rem 1.1rem; border: 1px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 500; border-radius: 999px; }
.commitment-sign { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-deep); margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-info { background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-business { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 1.4rem; }
.contact-list { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic { width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep); }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list .label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--gold-deep); }
.contact-list address { color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.contact-actions .btn { flex: 1 1 140px; padding-inline: 1rem; }
.map-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--sand); border: 1px solid var(--line); overflow: hidden; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }

.enquiry {
  background: var(--charcoal); color: var(--white); padding: clamp(1.6rem, 3vw, 2.6rem);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.1rem;
  border-top: 2px solid var(--gold);
}
.enquiry > h3, .enquiry > .form-intro, .enquiry > .field-full, .enquiry > button, .enquiry > .form-status { grid-column: 1 / -1; }
.enquiry h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--white); margin-bottom: .5rem; }
.form-intro { color: rgba(255,255,255,.72); font-size: .94rem; margin-bottom: 1.6rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; min-width: 0; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: .45rem; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  background: rgba(255,255,255,.05); color: var(--white);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9c08f' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.field select option { color: var(--charcoal); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f08a73; }
.error { margin: .35rem 0 0; font-size: .82rem; color: #f5a593; min-height: 0; }
.error:empty { display: none; }
.enquiry button { margin-top: .6rem; }
.form-status { margin: 1rem 0 0; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #b8e0c1; }
.form-status.is-error { color: #f5a593; }
.form-status a { color: var(--gold-soft); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .enquiry { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; }
  .contact-list a { font-size: 1rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: #161412; color: rgba(255,255,255,.72); padding: 4.5rem 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.brand-footer { color: var(--white); margin-bottom: 1.3rem; }
.footer-brand p { max-width: 36ch; }
.footer-title { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-soft); }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: .65rem; align-items: flex-start; }
.footer-contact .ic { margin-top: .3em; color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0 2rem; font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--gold-soft); }

@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { padding-bottom: 6rem; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1f9e55; color: var(--white); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
.menu-open .wa-float, .lb-open .wa-float { display: none; }

/* Keep reveal fade alongside component hover transitions */
.service-card.reveal { transition: opacity .8s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.why-item.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .35s var(--ease); }
