/* ============================================================
   Macron — Interiors & Living
   Shared design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* Colour */
  --ink:       #14110E;
  --ink-2:     #211C17;
  --ink-3:     #2E2820;
  --paper:     #F6F2EA;
  --paper-2:   #EFE8D9;
  --paper-3:   #E6DCC8;
  --gold:      #C8A24B;
  --gold-soft: #DCC288;
  --terra:     #B65D3C;
  --stone:     #8A8175;
  --stone-2:   #B7AE9F;

  --line:         rgba(20,17,14,.12);
  --line-strong:  rgba(20,17,14,.22);
  --line-light:   rgba(246,242,234,.16);

  /* Type */
  --display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --body:    'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --shadow: 0 24px 60px -28px rgba(20,17,14,.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }
.display-xl { font-size: clamp(2.8rem, 8vw, 6.2rem); }
.display-l  { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.display-m  { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

.eyebrow {
  font-family: var(--body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.on-light { color: var(--terra); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.muted { color: var(--stone); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: var(--stone-2); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }

.section-head { max-width: 760px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 34px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* gold hairline rule — recurring structural motif */
.rule { height: 1px; background: var(--line); border: 0; }
.dark .rule { background: var(--line-light); }
.rule-gold { height: 2px; width: 56px; background: var(--gold); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--body); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 30px; border-radius: var(--radius);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-line { border: 1px solid currentColor; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.dark .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #1c984d; transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Placeholder media frames (swap for real <img>) ---------- */
.media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--m1, #4a3f30) 70%, transparent), transparent 60%),
    linear-gradient(150deg, var(--m1, #4a3f30), var(--m2, #1d1812));
  border-radius: var(--radius);
}
.media::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(65deg, rgba(0,0,0,.10) 0 1px, transparent 1px 22px);
  mix-blend-mode: overlay;
}
.media::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  font-family: var(--body); font-size: .64rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.media .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: var(--ink);
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.ar-1\/1   { aspect-ratio: 1 / 1; }
.ar-4\/3   { aspect-ratio: 4 / 3; }
.ar-3\/4   { aspect-ratio: 3 / 4; }
.ar-16\/9  { aspect-ratio: 16 / 9; }
.ar-3\/2   { aspect-ratio: 3 / 2; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink); color: var(--stone-2);
  font-size: .76rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 9px; }
.topbar a:hover { color: var(--gold); }
.topbar .topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .topbar-social { display: flex; gap: 16px; }
.topbar .topbar-social a { color: var(--stone-2); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: .02em; white-space: nowrap; }
.brand b { color: var(--terra); font-weight: 600; }
.brand small { display: block; font-family: var(--body); font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-top: -2px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  padding-block: 6px; position: relative;
}
.nav .has-sub > a::after { content: "›"; display: inline-block; margin-left: 6px; transform: rotate(90deg); font-size: .7rem; color: var(--stone); }
.nav a:not(.btn)::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold);
  transition: width .25s ease;
}
.nav a:not(.btn):hover::before, .nav a.active::before { width: 100%; }
.nav-cta { margin-left: 8px; }

/* dropdown */
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--ink); color: var(--paper); min-width: 248px; padding: 12px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all .22s ease; border: 1px solid var(--line-light);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu li a { display: block; padding: 10px 14px; border-radius: var(--radius); font-weight: 500; letter-spacing: .02em; }
.submenu li a::before { display: none; }
.submenu li a:hover { background: var(--ink-3); color: var(--gold); }

/* mobile */
.nav-backdrop { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55), rgba(20,17,14,.82)),
    radial-gradient(120% 90% at 70% 15%, color-mix(in srgb, var(--m1,#5a4a34) 75%, transparent), transparent 55%),
    linear-gradient(150deg, var(--m1,#5a4a34), var(--m2,#161210));
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(65deg, rgba(0,0,0,.08) 0 1px, transparent 1px 26px);
  mix-blend-mode: overlay;
}
.hero-slide.is-active { opacity: 1; }
.hero .wrap { position: relative; z-index: 2; min-height: clamp(560px, 86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: 80px; }
.hero-eyebrow { color: var(--gold-soft); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 6rem); max-width: 16ch; }
.hero h1 .swap { color: var(--gold); display: inline-block; }
.hero p { max-width: 52ch; margin-top: 26px; color: var(--stone-2); font-size: clamp(1rem,1.4vw,1.18rem); }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 30px; height: 3px; background: rgba(246,242,234,.3); border-radius: 2px; transition: background .25s; }
.hero-dots button.is-active { background: var(--gold); }

/* hero category strip */
.hero-strip { background: var(--ink-2); color: var(--stone-2); border-top: 1px solid var(--line-light); }
.hero-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 30px; padding-block: 18px; justify-content: center; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.hero-strip span { color: var(--gold); }

/* ============================================================
   PILLARS / FEATURE CARDS
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--paper); padding: 38px 30px; transition: background .3s, color .3s; position: relative; }
.pillar:hover { background: var(--ink); color: var(--paper); }
.pillar .num { font-family: var(--display); font-size: .9rem; color: var(--gold); }
.pillar h3 { font-size: 1.5rem; margin: 16px 0 10px; }
.pillar p { font-size: .92rem; color: var(--stone); }
.pillar:hover p { color: var(--stone-2); }
.pillar .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.pillar:hover .more { color: var(--gold); }

/* category cards (rooms / featured) */
.cat-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.cat-card .media { aspect-ratio: 3/4; }
.cat-card .cat-body { position: absolute; inset: auto 0 0 0; padding: 26px; background: linear-gradient(transparent, rgba(20,17,14,.86)); color: var(--paper); z-index: 2; }
.cat-card .cat-index { font-family: var(--display); font-size: .78rem; color: var(--gold-soft); letter-spacing: .1em; }
.cat-card h3 { font-size: 1.5rem; margin-top: 6px; color: var(--paper); }
.cat-card .cat-body p { font-size: .85rem; color: var(--stone-2); margin-top: 6px; opacity: 0; max-height: 0; transition: .35s; }
.cat-card:hover .cat-body p { opacity: 1; max-height: 80px; }
.cat-card .media { transition: transform .6s ease; }
.cat-card:hover .media { transform: scale(1.05); }

/* Full-bleed feature cards (landing Projects / Stays teasers) */
.feature-card .media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.feature-card .cat-body { background: linear-gradient(to top, rgba(12,10,8,.94) 12%, rgba(12,10,8,.6) 46%, rgba(12,10,8,.04) 86%); }

/* ---------- Index list (rooms as a contents page — signature) ---------- */
.index-list { border-top: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: padding .3s, background .3s; }
.index-row:hover { background: var(--paper-2); padding-inline: 18px; }
.index-row .idx { font-family: var(--display); font-size: 1.1rem; color: var(--gold); width: 42px; }
.index-row .index-title { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.1rem); }
.index-row .index-desc { color: var(--stone); font-size: .92rem; max-width: 46ch; }
.index-row .arrow { font-size: 1.4rem; color: var(--terra); transition: transform .3s; }
.index-row:hover .arrow { transform: translateX(8px); }

/* ============================================================
   PROCESS (how we work)
   ============================================================ */
.steps { counter-reset: step; }
.step { padding-top: 30px; border-top: 1px solid var(--line-light); }
.step .step-no { font-family: var(--display); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.35rem; margin: 16px 0 12px; }
.step p { color: var(--stone-2); font-size: .94rem; }

/* ============================================================
   PRODUCT / SHOP
   ============================================================ */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 22px; border-bottom: 1px solid var(--line); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font-size: .76rem; font-weight: 600; letter-spacing: .06em; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; transition: .2s; }
.chip:hover, .chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.select { font: inherit; font-size: .82rem; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }

.product-card { display: block; }
.product-card .media { aspect-ratio: 1/1; margin-bottom: 14px; }
.product-card .p-cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.product-card h3 { font-family: var(--display); font-size: 1.15rem; margin: 6px 0; }
.product-card .price { font-weight: 700; color: var(--terra); letter-spacing: .01em; }
.product-card .media { transition: transform .5s; }
.product-card:hover .media { transform: scale(1.03); }

/* product detail */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pd-gallery .media.main { aspect-ratio: 4/5; margin-bottom: 14px; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-thumbs .media { aspect-ratio: 1/1; cursor: pointer; opacity: .72; transition: opacity .2s; }
.pd-thumbs .media:hover, .pd-thumbs .media.active { opacity: 1; outline: 2px solid var(--gold); outline-offset: 2px; }
.pd-info .eyebrow { display: block; margin-bottom: 14px; }
.pd-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.pd-price { font-size: 1.8rem; font-weight: 700; color: var(--terra); font-family: var(--display); }
.pd-price small { font-size: .8rem; color: var(--stone); font-family: var(--body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-left: 8px; }
.pd-desc { margin: 22px 0; color: var(--ink-2); }
.spec-list { border-top: 1px solid var(--line); margin: 22px 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-list li span:first-child { color: var(--stone); letter-spacing: .04em; }
.spec-list li span:last-child { font-weight: 600; text-align: right; }
.pd-details { max-width: 820px; }
.pd-details h2:first-of-type { margin-top: 0; }
.pd-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.pd-note { font-size: .82rem; color: var(--stone); display: flex; align-items: center; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 44px; height: 46px; font-size: 1.2rem; }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 52px; height: 46px; text-align: center; border: 0; border-inline: 1px solid var(--line); font: inherit; font-weight: 700; background: transparent; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-top: 8px; }

/* ============================================================
   CLEANING SERVICES
   ============================================================ */
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: .3s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--terra); margin-bottom: 20px; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc-card p { font-size: .92rem; color: var(--stone); }
.svc-card .from { display: block; margin: 16px 0 18px; font-weight: 700; color: var(--terra); }
.svc-card .from span { font-size: .72rem; color: var(--stone); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   STAYS / BnB
   ============================================================ */
.stay-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.stay-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stay-card .media { aspect-ratio: 16/10; }
.stay-card .stay-body { padding: 22px 24px 26px; }
.stay-card .stay-loc { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.stay-card h3 { font-family: var(--display); font-size: 1.35rem; margin: 6px 0 10px; }
.stay-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); margin-bottom: 16px; }
.stay-meta span { display: inline-flex; align-items: center; gap: 6px; }
.stay-card .stay-foot { display: flex; align-items: baseline; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.stay-price { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--terra); }
.stay-price small { font-family: var(--body); font-size: .72rem; font-weight: 600; color: var(--stone); letter-spacing: .06em; }

/* stay detail booking card */
.book-card { background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.book-card .price-lead { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.book-card .price-lead b { font-family: var(--display); font-size: 2rem; color: var(--ink); }
.book-card .price-lead span { color: var(--stone); font-size: .85rem; }
.field { margin-top: 16px; }
.field label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--stone); margin-bottom: 7px; }
.field input, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-size: .92rem; background: var(--paper); }
.occ-control { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 6px 8px; }
.occ-control button { width: 40px; height: 40px; border-radius: var(--radius); font-size: 1.3rem; }
.occ-control button:hover:not(:disabled) { background: var(--paper-2); }
.occ-control button:disabled { opacity: .3; cursor: not-allowed; }
.occ-control output { font-weight: 700; font-size: 1.1rem; }
.occ-hint { font-size: .76rem; color: var(--stone); margin-top: 7px; }
.price-breakdown { margin: 20px 0; border-top: 1px solid var(--line); }
.price-breakdown li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.price-breakdown li.total { font-weight: 700; font-size: 1.05rem; color: var(--ink); border-bottom: 0; padding-top: 14px; }
.price-breakdown li.extra { color: var(--terra); }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.amenities li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.amenities li::before { content: ""; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex: none; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery .media { width: 100%; height: 100%; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 120% at 85% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 55%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 120px); }
.page-hero .eyebrow { color: var(--gold-soft); display: block; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 18ch; }
.page-hero p { max-width: 56ch; margin-top: 20px; color: var(--stone-2); }
.crumbs { font-size: .76rem; letter-spacing: .08em; color: var(--stone); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold); }
.page-hero .crumbs { color: var(--stone-2); }
.page-hero .crumbs a:hover { color: var(--gold); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(20,17,14,.4), rgba(20,17,14,.9)),
    radial-gradient(120% 120% at 80% 20%, #6a543a, #1a1510);
}
.cta-banner .wrap { position: relative; z-index: 2; text-align: center; padding-block: clamp(64px, 9vw, 120px); }
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 20ch; margin-inline: auto; }
.cta-banner p { color: var(--stone-2); max-width: 52ch; margin: 18px auto 32px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
.contact-block + .contact-block { margin-top: 30px; }
.contact-block .eyebrow { display: block; margin-bottom: 8px; }
.contact-block p, .contact-block a { color: var(--stone-2); }
.contact-block a:hover { color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius); font: inherit;
  background: var(--ink-2); border: 1px solid var(--line-light); color: var(--paper);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--stone); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--stone-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(54px, 7vw, 88px); }
.site-footer .brand { color: var(--paper); }
.site-footer h4 { font-family: var(--body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 700; }
.site-footer .footer-col p { font-size: .9rem; margin-top: 16px; }
.site-footer .footer-col li { margin-bottom: 11px; font-size: .9rem; }
.site-footer .footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-light); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .78rem; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,168,85,.6);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pd { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .book-card { position: static; }
}
@media (max-width: 860px) {
  .topbar { display: none; }

  /* backdrop-filter would make the header the containing block for the fixed
     drawer/backdrop (clipping them to the header box), so drop it on mobile
     and use a solid bar instead. */
  .site-header { background: var(--paper); backdrop-filter: none; }

  /* Off-canvas sidebar drawer */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(330px, 86vw);
    background: var(--ink); color: var(--paper);
    transform: translateX(100%); transition: transform .32s ease;
    padding: 96px 26px 36px; overflow-y: auto; z-index: 100;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .45);
  }
  body.nav-open .nav { transform: translateX(0); }
  /* Keep the header (brand + close X) clickable above the drawer. */
  body.nav-open .site-header { z-index: 120; }
  /* Lock the page behind the drawer. */
  body.nav-open { overflow: hidden; }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 90;
    background: rgba(15, 12, 9, .55); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .32s ease, visibility .32s ease;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav > ul > li { border-bottom: 1px solid var(--line-light); }
  .nav a { display: block; padding: 16px 0; font-size: 1rem; }
  .nav a:not(.btn)::before { display: none; }
  .nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 12px 14px; min-width: 0; }
  .nav .mega-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; color: var(--paper);
    border: 0; border-top: 0; padding: 0 0 14px 14px;
  }
  .nav .mega-grid { grid-template-columns: 1fr; gap: 14px; }
  .nav .mega-col .mega-head { color: var(--gold); border-color: var(--line-light); }
  .nav .mega-col li a { color: var(--stone-2); padding: 8px 0; }
  .nav .mega-col li a:hover { color: var(--gold); }
  .nav .has-sub > a::after { float: right; }
  .nav-cta { margin: 16px 0 0; }
  /* Toggle stays above the drawer so the X always closes it. */
  .nav-toggle { display: flex; position: relative; z-index: 110; }
  /* The X sits over the dark drawer when open, so make it light. */
  body.nav-open .nav-toggle span::before,
  body.nav-open .nav-toggle span::after { background: var(--paper); }
}
@media (max-width: 680px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .index-row { grid-template-columns: auto 1fr; }
  .index-row .arrow { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Real images inside .media placeholders ---------- */
.media > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; display: block;
}
.media.has-img::before,
.media.has-img::after { display: none; }
.media.has-img .tag { z-index: 2; }
.pd-thumbs .media.has-img { background: #e9e1d2; }

/* ---------- Contact form flash messages ---------- */
.form-flash {
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px;
  font-size: .92rem; border: 1px solid transparent;
}
.form-flash.ok  { background: rgba(80,160,110,.14); color: #bfe6cd; border-color: rgba(120,200,150,.4); }
.form-flash.err { background: rgba(190,90,70,.16); color: #f0c8bd; border-color: rgba(220,130,110,.4); }

/* ============================================================
   SERVICES — mega-menu, detail, cards
   ============================================================ */

/* Mega-menu (multi-column dropdown under "Services") */
.has-mega { position: static; }
.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--ink);
  box-shadow: var(--shadow);
  border-top: 2px solid var(--gold);
  padding: 34px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 60;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
}
.mega-col .mega-head {
  display: block; font-family: var(--body); font-weight: 700;
  font-size: .82rem; letter-spacing: .04em; color: var(--ink);
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega-col li a {
  display: block; padding: 7px 0; font-size: .9rem; color: #555049;
  transition: color .15s, padding-left .15s;
}
.mega-col li a:hover { color: var(--terra); padding-left: 5px; }

/* Services landing */
.svc-cat-block { margin-top: 56px; }
.svc-cat-block:first-of-type { margin-top: 40px; }
.svc-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.svc-cat-head h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.svc-cat-head p { color: var(--stone); font-size: .92rem; max-width: 520px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.svc-tile {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-tile .media { aspect-ratio: 4/3; }
.svc-tile-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-tile-body h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 8px; }
.svc-tile-body p { color: var(--stone); font-size: .9rem; flex: 1; }
.svc-tile-more { margin-top: 16px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }

/* Service detail */
.svc-hero { background: var(--ink); color: var(--paper); padding: clamp(40px,7vw,88px) 0; }
.svc-hero .crumbs a { color: var(--stone-2); }
.svc-hero .eyebrow { color: var(--gold); }
.svc-hero h1 { font-family: var(--display); font-size: clamp(2rem,5vw,3.4rem); margin: 14px 0 16px; }
.svc-hero p { color: var(--stone-2); max-width: 640px; font-size: 1.05rem; }
.svc-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(28px,5vw,60px); align-items: start; }
.svc-body :is(p,ul,ol) { color: #4a443c; line-height: 1.75; }
.svc-body h2, .svc-body h3 { font-family: var(--display); margin: 28px 0 12px; }
.svc-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.svc-gallery .media { aspect-ratio: 4/3; cursor: zoom-in; }
.svc-gallery .media:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.svc-aside { position: sticky; top: 96px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.svc-aside h3 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 14px; }
.svc-aside .amenities { margin: 0 0 18px; }
.svc-price { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-bottom: 6px; }
.svc-price small { font-family: var(--body); font-size: .8rem; color: var(--stone); }

/* WhatsApp CTA section (brand green) */
.wa-cta { background: linear-gradient(135deg, #128C7E, #25D366); color: #fff; }
.wa-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(34px,5vw,56px) 0; }
.wa-cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .92; }
.wa-cta-eyebrow svg { width: 18px; height: 18px; }
.wa-cta h2 { font-family: var(--display); font-size: clamp(1.6rem,3.5vw,2.4rem); margin: 10px 0 8px; color: #fff; }
.wa-cta p { color: rgba(255,255,255,.9); max-width: 520px; }
.btn-wa-solid {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  background: #fff; color: #128C7E; font-weight: 700;
  padding: 16px 26px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .2s;
}
.btn-wa-solid:hover { transform: translateY(-2px); }
.btn-wa-solid svg { width: 22px; height: 22px; }

/* "Other services" cards (bottom of service page) */
.svc-other { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }

/* ============================================================
   OUR PROJECTS — gallery with hover caption
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.proj-card { position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.proj-card .media { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s ease; }
.proj-card:hover .media { transform: scale(1.06); }
.proj-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(to top, rgba(15,12,9,.86) 0%, rgba(15,12,9,.25) 55%, rgba(15,12,9,0) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.proj-card:hover .proj-overlay, .proj-card:focus-within .proj-overlay { opacity: 1; }
.proj-overlay .p-sub { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.proj-overlay h3 { font-family: var(--display); font-size: 1.35rem; margin: 6px 0 6px; }
.proj-overlay p { font-size: .86rem; color: rgba(255,255,255,.88); }
.proj-overlay .more { margin-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.proj-count { position: absolute; top: 14px; right: 14px; z-index: 4; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; }

/* Project detail gallery */
.pj-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.pj-gallery .media { aspect-ratio: 4/3; }
.pj-gallery .media.lead { grid-column: 1 / -1; aspect-ratio: 16/9; }

@media (max-width: 980px) {
  .mega-grid, .svc-grid, .svc-other, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}
@media (max-width: 640px) {
  .mega-grid, .svc-grid, .svc-other, .proj-grid, .svc-gallery, .pj-gallery { grid-template-columns: 1fr; }
  .wa-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Lightbox ---------- */
[data-lightbox] { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 12, 9, .94);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.lb.open { opacity: 1; visibility: visible; }
.lb-figure {
  margin: 0; max-width: 92vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lb-img {
  max-width: 92vw; max-height: 82vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  transform: scale(.96); transition: transform .25s ease;
}
.lb.open .lb-img { transform: scale(1); }
.lb-caption {
  color: rgba(246, 242, 234, .82); font-size: .9rem; text-align: center;
  max-width: 70ch; letter-spacing: .01em;
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(246, 242, 234, .12); color: #fff; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-prev { left: clamp(12px, 3vw, 36px); }
.lb-next { right: clamp(12px, 3vw, 36px); }
.lb-close {
  position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(246, 242, 234, .12); color: #fff; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lb-close:hover { background: var(--gold); color: var(--ink); }
.lb[data-single="true"] .lb-prev,
.lb[data-single="true"] .lb-next { display: none; }
@media (max-width: 640px) {
  .lb-btn { width: 42px; height: 42px; font-size: 1.3rem; }
}
