/* =====================================================================
   LOTUS VAALUE — Main Stylesheet
   1. Tokens   2. Base   3. Layout   4. Buttons   5. Header & Nav
   6. Hero     7. Sections   8. Cards   9. Process   10. Locations
   11. Gallery & Lightbox   12. CTA / Testimonials   13. Footer
   14. Forms & Modal   15. Project detail   16. Utilities & Motion
   ===================================================================== */

/* 1. TOKENS ---------------------------------------------------------- */
:root {
  --burgundy: #62090d;
  --burgundy-deep: #3f0508;
  --burgundy-ink: #2a0305;
  --gold: #ebd292;
  --gold-deep: #b8954a;       /* gold for text on light backgrounds (AA contrast on cream) */
  --white: #ffffff;
  --charcoal: #252525;
  --cream: #faf7f0;
  --grey: #f5f5f5;
  --line: #e7e0d2;
  --muted: #6b6560;

  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -22px rgba(42, 3, 5, .28);
  --shadow-lg: 0 30px 60px -30px rgba(42, 3, 5, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* 2. 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: 16px; line-height: 1.7;
  color: var(--charcoal); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--charcoal); }
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--burgundy); color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--burgundy); color: #fff; padding: 10px 18px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. LAYOUT ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--grey { background: var(--grey); }
.section--tight { padding: calc(var(--section) * .6) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-deep); }
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--center::before { background: currentColor; opacity: .55; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.accent { color: var(--burgundy); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Ornament divider — lotus between two hairlines */
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold-deep); margin: 18px auto 0; }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .6; }
.ornament svg { width: 22px; height: 22px; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }

/* 4. BUTTONS --------------------------------------------------------- */
.btn {
  --bg: var(--burgundy); --fg: var(--white); --bd: var(--burgundy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; min-height: 50px; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { --bg: var(--burgundy-deep); --bd: var(--burgundy-deep); }
.btn--gold { --bg: var(--gold); --fg: var(--burgundy-ink); --bd: var(--gold); }
.btn--gold:hover { --bg: #f3e1b0; --bd: #f3e1b0; }
.btn--outline { --bg: transparent; --fg: var(--burgundy); --bd: var(--burgundy); }
.btn--outline:hover { --bg: var(--burgundy); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.55); }
.btn--ghost:hover { --bg: var(--white); --fg: var(--burgundy); --bd: var(--white); }
.btn--ghost-gold { --bg: transparent; --fg: var(--gold); --bd: rgba(235,210,146,.6); }
.btn--ghost-gold:hover { --bg: var(--gold); --fg: var(--burgundy-ink); --bd: var(--gold); }
.btn--sm { padding: 11px 18px; min-height: 42px; font-size: .74rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy);
  padding-bottom: 4px; border-bottom: 1px solid var(--gold-deep);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* 5. HEADER & NAV ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, body:not(.has-hero) .site-header { background: rgba(250, 247, 240, .97); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(42,3,5,.25); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-solid { --header-h: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__emblem { width: 50px; height: auto; transition: width .4s var(--ease); }
.brand__word { width: 158px; height: auto; transition: filter .4s var(--ease), width .4s var(--ease); }
.is-solid .brand__emblem { width: 44px; }
/* white wordmark over the hero */
body.has-hero .site-header:not(.is-solid) .brand__word { filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: .86rem; font-weight: 500; letter-spacing: .02em; color: var(--charcoal);
  position: relative; transition: color .3s var(--ease); background: none; border: 0;
}
.nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--burgundy); }
.nav__link svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
body.has-hero .site-header:not(.is-solid) .nav__link { color: var(--white); }
body.has-hero .site-header:not(.is-solid) .nav__link::after { background: var(--gold); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 236px; padding: 10px;
  background: var(--white); border-top: 2px solid var(--burgundy); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .3s var(--ease);
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.dropdown a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; font-size: .88rem; color: var(--charcoal); border-radius: var(--radius); transition: background .25s, color .25s, padding .25s; }
.dropdown a:hover { background: var(--cream); color: var(--burgundy); padding-left: 18px; }
.dropdown a small { color: var(--muted); font-size: .72rem; }

.header-cta { margin-left: 14px; }
body.has-hero .site-header:not(.is-solid) .header-cta { --bg: var(--gold); --fg: var(--burgundy-ink); --bd: var(--gold); }
.header-cta { --bg: var(--burgundy); --fg: var(--gold); --bd: var(--burgundy); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--charcoal); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
body.has-hero .site-header:not(.is-solid) .nav-toggle { border-color: rgba(255,255,255,.4); }
body.has-hero .site-header:not(.is-solid) .nav-toggle span { background: var(--white); }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* 6. HERO ------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--burgundy-ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(25,4,5,.82) 0%, rgba(25,4,5,.55) 45%, rgba(25,4,5,.2) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 1; background: linear-gradient(to top, rgba(25,4,5,.55), transparent); }
.hero .container { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero__content { max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.86); max-width: 580px; margin-bottom: 40px; font-weight: 300; }
.hero__aside { position: absolute; right: var(--gutter); bottom: 120px; z-index: 2; text-align: right; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); line-height: 2; }
.hero__aside::after { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin: 12px 0 0 auto; }
.hero__scroll { position: absolute; left: 50%; bottom: 96px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll span { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* staged entrance */
.hero [data-enter] { opacity: 0; transform: translateY(26px); animation: enter 1.1s var(--ease) forwards; }
.hero [data-enter="1"] { animation-delay: .25s; } .hero [data-enter="2"] { animation-delay: .45s; }
.hero [data-enter="3"] { animation-delay: .65s; } .hero [data-enter="4"] { animation-delay: .85s; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* Stats strip under hero */
.stats-bar { position: relative; z-index: 3; margin-top: -64px; }
.stats-bar__inner { background: var(--white); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; border-top: 2px solid var(--burgundy); }
.stat { padding: 34px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-head); font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-weight: 500; color: var(--burgundy); line-height: 1; }
.stat__label { margin-top: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stats-bar__cta { background: var(--burgundy); color: var(--white); padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.stats-bar__cta small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.stats-bar__cta a { font-family: var(--font-head); font-size: 1.45rem; color: var(--white); display: inline-flex; align-items: center; gap: 10px; }
.stats-bar__cta a:hover { color: var(--gold); }

/* Page banner (inner pages) */
.page-banner { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--burgundy-ink); padding: calc(var(--header-h) + 80px) 0 clamp(56px, 8vw, 96px); }
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(25,4,5,.88), rgba(25,4,5,.35) 70%, rgba(25,4,5,.45)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 860px; margin-bottom: 14px; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 620px; font-size: 1.08rem; margin: 0; font-weight: 300; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
body.has-hero.banner-page .site-header:not(.is-solid) .brand__word { filter: brightness(0) invert(1); }

/* 7. SECTIONS -------------------------------------------------------- */
/* Intro */
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.media-frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold-deep); border-radius: var(--radius); z-index: -1; }
.media-frame__badge { position: absolute; left: -28px; bottom: 44px; background: var(--burgundy); color: var(--white); padding: 24px 28px; box-shadow: var(--shadow-lg); max-width: 220px; }
.media-frame__badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 500; color: var(--gold); line-height: 1; }
.media-frame__badge span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.media-frame__inset { position: absolute; right: -36px; top: -36px; width: 42%; border: 8px solid var(--white); box-shadow: var(--shadow); }
.media-frame__inset img { aspect-ratio: 1; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 30px 0 38px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .96rem; }
.check-list svg { width: 20px; height: 20px; color: var(--gold-deep); flex-shrink: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { position: relative; padding: 44px 30px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .45s var(--ease), color .45s var(--ease); overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { background: var(--burgundy); }
.feature:hover::after { transform: scaleX(1); }
.feature__num { position: absolute; right: 22px; top: 18px; font-family: var(--font-head); font-size: .8rem; color: var(--gold-deep); letter-spacing: .1em; transition: color .45s; }
.feature__icon { width: 54px; height: 54px; color: var(--burgundy); margin-bottom: 30px; transition: color .45s var(--ease), transform .45s var(--ease); }
.feature h3 { font-size: 1.2rem; margin-bottom: 12px; transition: color .45s; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; transition: color .45s; }
.feature:hover .feature__icon { color: var(--gold); transform: translateY(-4px); }
.feature:hover h3 { color: var(--white); }
.feature:hover p { color: rgba(255,255,255,.75); }
.feature:hover .feature__num { color: var(--gold); }

/* 8. PROJECT CARDS -------------------------------------------------- */
.project-card { background: var(--white); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--grey); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(25,4,5,.55)); }
.status { position: absolute; left: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--white); color: var(--burgundy); border-radius: 2px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ongoing { background: var(--burgundy); color: var(--gold); }
.status--upcoming { background: var(--gold); color: var(--burgundy-ink); }
.status--completed { background: var(--white); color: var(--charcoal); }
.img-note { position: absolute; right: 14px; bottom: 14px; z-index: 2; font-size: .64rem; letter-spacing: .08em; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 2px; }
.project-card__area { position: absolute; right: 18px; top: 18px; z-index: 2; font-family: var(--font-head); color: var(--white); font-size: .95rem; background: rgba(25,4,5,.55); padding: 5px 12px; border: 1px solid rgba(235,210,146,.5); border-radius: 2px; backdrop-filter: blur(4px); }
.project-card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project-card__loc { display: flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.project-card__loc svg { width: 15px; height: 15px; color: var(--gold-deep); }
.project-card h3 { margin-bottom: 10px; }
.project-card h3 a:hover { color: var(--burgundy); }
.project-card__approval { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 14px; }
.project-card__approval svg { width: 15px; height: 15px; }
.project-card p { font-size: .93rem; color: var(--muted); margin-bottom: 24px; }
.project-card__actions { margin-top: auto; display: flex; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.project-card__actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }

/* Tabs / filters */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); width: fit-content; }
.tab { padding: 11px 22px; border: 0; background: transparent; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-radius: 2px; transition: background .3s, color .3s; }
.tab:hover { color: var(--burgundy); }
.tab.is-active { background: var(--burgundy); color: var(--gold); }
.tab sup { font-size: .65rem; margin-left: 4px; opacity: .75; }

.category-block + .category-block { margin-top: clamp(72px, 9vw, 110px); }
.category-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 22px; margin-bottom: 36px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.category-head h2 { margin: 0; }
.category-head p { margin: 0; color: var(--muted); max-width: 460px; }
.category-head__count { font-family: var(--font-head); font-size: 4rem; line-height: .8; color: var(--line); }

/* 9. PROCESS --------------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 40px; left: 10%; right: 10%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-deep) 0 6px, transparent 6px 12px); }
.process__line { position: absolute; top: 40px; left: 10%; height: 1px; width: 0; background: var(--burgundy); transition: width 2.2s var(--ease); }
.process.is-visible .process__line { width: 80%; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__icon { position: relative; width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--burgundy); transition: background .4s, color .4s, border-color .4s; z-index: 1; }
.step__icon svg { width: 32px; height: 32px; }
.step:hover .step__icon { background: var(--burgundy); color: var(--gold); border-color: var(--burgundy); }
.step__num { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--burgundy-ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* 10. LOCATIONS ------------------------------------------------------ */
.locations { background: var(--burgundy-ink); color: var(--white); position: relative; overflow: hidden; }
.locations::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 50%, rgba(98,9,13,.9), transparent 70%); }
.locations .container { position: relative; }
.locations h2 { color: var(--white); }
.locations .lead { color: rgba(255,255,255,.72); }
.map-wrap { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.map-wrap svg { width: 100%; height: auto; overflow: visible; }
.map-state { fill: rgba(235,210,146,.06); stroke: var(--gold); stroke-width: 1.2; stroke-linejoin: round; }
.map-wrap svg .map-state { fill: rgba(235,210,146,.07); stroke-width: 1.4; }
.map-label { fill: rgba(235,210,146,.3); font-family: var(--font-head); font-size: 18px; letter-spacing: 8px; }
.map-pin circle.pulse { fill: var(--gold); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map-pin circle.dot { fill: var(--gold); stroke: var(--burgundy-ink); stroke-width: 2; }
.map-pin text { fill: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.map-pin text.sub { fill: rgba(235,210,146,.8); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.map-pin--minor circle.dot { fill: var(--white); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
.loc-list { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid rgba(235,210,146,.2); }
.loc-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(235,210,146,.2); transition: padding .35s var(--ease); }
.loc-item:hover { padding-left: 10px; }
.loc-item__num { font-family: var(--font-head); color: var(--gold); font-size: 1.1rem; }
.loc-item h3 { color: var(--white); margin: 0 0 4px; font-size: 1.35rem; }
.loc-item p { margin: 0; color: rgba(255,255,255,.65); font-size: .9rem; }
.loc-item__tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(235,210,146,.4); padding: 6px 12px; border-radius: 2px; white-space: nowrap; }

/* 11. GALLERY & LIGHTBOX -------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px; }
.gallery-grid .g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(6n+4) { grid-row: span 2; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--grey); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(25,4,5,.75)); opacity: 0; transition: opacity .45s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: var(--white); text-align: left; transform: translateY(12px); opacity: 0; transition: all .45s var(--ease); }
.g-item__cap small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.g-item__cap span { font-family: var(--font-head); font-size: 1.05rem; }
.g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { transform: none; opacity: 1; }
.g-item__zoom { position: absolute; right: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--burgundy); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: all .4s var(--ease); }
.g-item__zoom svg { width: 18px; height: 18px; }
.g-item:hover .g-item__zoom { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }

.masonry { columns: 3 320px; column-gap: 16px; }
.masonry .g-item { margin-bottom: 16px; break-inside: avoid; }
.masonry .g-item img { height: auto; }

.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(18, 3, 4, .96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; color: rgba(255,255,255,.75); font-size: .8rem; letter-spacing: .14em; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 80px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); transition: opacity .3s; }
.lightbox__cap { text-align: center; padding: 18px 24px 26px; color: var(--white); font-family: var(--font-head); font-size: 1.05rem; }
.lightbox__cap small { display: block; color: var(--gold); font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(235,210,146,.4); background: transparent; color: var(--gold); display: grid; place-items: center; transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--gold); color: var(--burgundy-ink); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-prev svg { transform: rotate(180deg); }

/* 12. CTA & TESTIMONIALS -------------------------------------------- */
.cta { position: relative; background: var(--burgundy); color: var(--white); overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; opacity: .14; mix-blend-mode: luminosity; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before, .cta::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: min(1100px, 90%); height: 1px; background: linear-gradient(90deg, transparent, rgba(235,210,146,.6), transparent); }
.cta::before { top: 36px; } .cta::after { bottom: 36px; }
.cta .container { position: relative; }
.cta h2 { color: var(--white); max-width: 820px; margin: 0 auto 18px; }
.cta h2 span { color: var(--gold); }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 38px; font-size: 1.08rem; }
.cta .btn-row { justify-content: center; }
.cta__emblem { width: 64px; margin: 0 auto 26px; opacity: .95; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.t-card { position: relative; background: var(--white); padding: 44px 36px 36px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.t-card__quote { width: 38px; height: 38px; color: var(--gold-deep); margin-bottom: 20px; }
.t-card blockquote { margin: 0 0 30px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 400; line-height: 1.6; color: var(--charcoal); flex: 1; }
.t-card__who { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.t-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold-deep); display: grid; place-items: center; font-family: var(--font-head); color: var(--burgundy); }
.t-card__who strong { display: block; font-weight: 600; font-size: .95rem; }
.t-card__who span { font-size: .8rem; color: var(--muted); }
.sample-tag { position: absolute; top: 16px; right: 16px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 3px 8px; border-radius: 2px; }

/* 13. FOOTER --------------------------------------------------------- */
.site-footer { background: var(--burgundy-deep); color: rgba(255,255,255,.72); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy)); }
.footer-top { padding: clamp(64px, 8vw, 96px) 0 56px; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); }
.footer-brand img.footer-logo { width: 190px; margin-bottom: 26px; background: var(--white); padding: 16px 18px; border-radius: var(--radius); }
.footer-brand p { font-size: .92rem; line-height: 1.8; }
.site-footer h4 { font-family: var(--font-body); color: var(--gold); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 26px; }
.footer-links li + li { margin-top: 12px; }
.footer-links a { font-size: .93rem; transition: color .25s, padding .25s; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { display: flex; gap: 14px; font-size: .93rem; }
.footer-contact li + li { margin-top: 18px; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); margin-top: 4px; }
.footer-contact a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(235,210,146,.35); display: grid; place-items: center; color: var(--gold); transition: background .3s, color .3s, transform .3s; }
.socials a:hover { background: var(--gold); color: var(--burgundy-ink); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-note { margin-top: 26px; font-size: .86rem; }
.footer-bottom { border-top: 1px solid rgba(235,210,146,.15); padding: 24px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--gold); }

/* WhatsApp float */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 950; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .35s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.8s ease-out infinite; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float__tip { position: absolute; right: 72px; background: var(--white); color: var(--charcoal); font-size: .82rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius); white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .3s var(--ease); }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 32px; bottom: 98px; z-index: 940; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--burgundy); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease); box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }

/* 14. FORMS & MODAL -------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal); }
.field label .req { color: var(--burgundy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--charcoal); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2362090d' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(98,9,13,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field__error { font-size: .78rem; color: #b3261e; min-height: 0; }
.field--hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__consent { font-size: .8rem; color: var(--muted); margin: 0; }
.form__status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: .9rem; }
.form__status.is-error { display: block; background: #fdecea; color: #8a1c14; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; animation: enter .7s var(--ease) both; }
.form-success__icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold-deep); color: var(--burgundy); display: grid; place-items: center; }
.form-success__icon svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 400px; margin: 0 auto 22px; }
.is-sent .form { display: none; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-card { background: var(--white); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 3px solid var(--burgundy); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }

.modal { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(25, 4, 5, .72); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); display: grid; grid-template-columns: .85fr 1.15fr; border-radius: var(--radius-lg); transform: translateY(24px) scale(.98); transition: transform .45s var(--ease); }
.modal.is-open .modal__dialog { transform: none; }
.modal__aside { position: relative; background: var(--burgundy); color: var(--white); padding: 48px 38px; display: flex; flex-direction: column; overflow: hidden; }
.modal__aside img.modal__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.modal__aside > * { position: relative; }
.modal__aside h2 { color: var(--white); font-size: 2rem; }
.modal__aside p { color: rgba(255,255,255,.78); font-size: .94rem; }
.modal__aside ul { margin-top: auto; display: grid; gap: 14px; font-size: .9rem; }
.modal__aside li { display: flex; gap: 12px; align-items: center; }
.modal__aside li svg { width: 18px; height: 18px; color: var(--gold); }
.modal__aside a:hover { color: var(--gold); }
.modal__body { padding: 48px 42px 40px; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--charcoal); transition: background .3s, color .3s, transform .3s; }
.modal__close:hover { background: var(--burgundy); color: var(--white); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
body.lock { overflow: hidden; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -70px; position: relative; z-index: 3; }
.contact-card { background: var(--white); padding: 34px 28px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-bottom: 2px solid transparent; transition: border-color .35s, transform .35s var(--ease); }
.contact-card:hover { border-color: var(--gold-deep); transform: translateY(-4px); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--burgundy); display: grid; place-items: center; margin-bottom: 22px; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: .93rem; color: var(--muted); margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--burgundy); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--grey); min-height: 420px; height: 100%; }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.wa-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--cream); border: 1px solid var(--line); border-left: 3px solid #25d366; padding: 28px 32px; border-radius: var(--radius); }
.wa-panel h3 { margin: 0 0 4px; }
.wa-panel p { margin: 0; color: var(--muted); }
.btn--wa { --bg: #25d366; --fg: #fff; --bd: #25d366; }
.btn--wa:hover { --bg: #1ebe5b; --bd: #1ebe5b; }

/* About page */
.vm-card { position: relative; padding: 48px 42px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.vm-card--dark { background: var(--burgundy); border-color: var(--burgundy); color: rgba(255,255,255,.82); }
.vm-card--dark h3 { color: var(--white); }
.vm-card__icon { width: 50px; height: 50px; color: var(--gold-deep); margin-bottom: 24px; }
.vm-card--dark .vm-card__icon { color: var(--gold); }
.vm-card h3 { font-size: 1.7rem; }
.vm-card p { margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 40px 34px; border-bottom: 1px solid var(--line); }
.value:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.value__num { font-family: var(--font-head); color: var(--gold-deep); font-size: .9rem; letter-spacing: .1em; margin-bottom: 16px; display: block; }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted); font-size: .93rem; margin: 0; }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 4 / 5; background: var(--cream); border-radius: var(--radius); margin-bottom: 24px; position: relative; overflow: hidden; display: grid; place-items: center; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo .mono { font-family: var(--font-head); font-size: 4.2rem; color: var(--gold); letter-spacing: .06em; }
.team-card__photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(235,210,146,.55); border-radius: 2px; pointer-events: none; }
.team-card__photo img { transition: transform .8s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card h3 { margin-bottom: 4px; }
.team-card span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); }
.team-card p { color: var(--muted); font-size: .92rem; margin-top: 12px; }
.philosophy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; margin-top: 36px; }
.philosophy h4 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.philosophy h4::before { content: ""; width: 18px; height: 1px; background: var(--gold-deep); }
.philosophy p { color: var(--muted); font-size: .93rem; margin: 0; }

/* 15. PROJECT DETAIL ------------------------------------------------- */
.pd-hero { min-height: 78vh; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--white); border: 1px solid rgba(235,210,146,.45); border-radius: 2px; background: rgba(25,4,5,.35); backdrop-filter: blur(4px); }
.pd-chip svg { width: 15px; height: 15px; color: var(--gold); }
.pd-chip.status { position: static; }
.pd-nav { position: sticky; top: 72px; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.pd-nav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pd-nav a { padding: 18px 16px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.pd-nav a:hover, .pd-nav a.is-active { color: var(--burgundy); border-color: var(--burgundy); }
.pd-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.pd-aside { position: sticky; top: 150px; display: grid; gap: 20px; }
.pd-block + .pd-block { margin-top: clamp(56px, 7vw, 84px); padding-top: clamp(56px, 7vw, 84px); border-top: 1px solid var(--line); }
.pd-block h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.pd-facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin: 28px 0 36px; }
.pd-fact { padding: 22px 20px; }
.pd-fact + .pd-fact { border-left: 1px solid var(--line); }
.pd-fact small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pd-fact strong { font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; color: var(--burgundy); line-height: 1.3; display: block; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 12px; }
.pd-gallery .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 2px; font-size: .92rem; }
.tag-list svg { width: 16px; height: 16px; color: var(--gold-deep); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.amenity { background: var(--white); padding: 26px 20px; display: flex; align-items: center; gap: 14px; font-size: .94rem; font-weight: 500; }
.amenity svg { width: 26px; height: 26px; color: var(--burgundy); flex-shrink: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-list svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: 4px; }
.nearby { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.nearby h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); font-family: var(--font-body); font-weight: 600; margin-bottom: 10px; }
.nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.nearby li span:last-child { color: var(--burgundy); font-weight: 600; white-space: nowrap; }
.placeholder-box { padding: 40px 32px; text-align: center; background: var(--cream); border: 1px dashed var(--gold-deep); border-radius: var(--radius); color: var(--muted); }
.placeholder-box svg { width: 40px; height: 40px; color: var(--gold-deep); margin: 0 auto 14px; }
.placeholder-box p { margin: 0 0 18px; }
.layout-plan { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); position: relative; cursor: zoom-in; padding: 0; width: 100%; }
.layout-plan img { width: 100%; }
.layout-plan span { position: absolute; right: 14px; bottom: 14px; background: var(--burgundy); color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 2px; }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-card h4 { margin-bottom: 14px; }
.aside-card .btn + .btn { margin-top: 10px; }
.pd-map { height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pd-map iframe { width: 100%; height: 100%; border: 0; }
.disclaimer { font-size: .78rem; color: var(--muted); margin-top: 18px; }

/* Legal pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose p, .prose li { color: #4a4542; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1.1em; }

/* 16. UTILITIES & MOTION -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
.center { text-align: center; }
.mt-lg { margin-top: clamp(40px, 5vw, 60px); }
.muted { color: var(--muted); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 50px; color: var(--muted); border: 1px dashed var(--line); }

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

/* RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw); background: var(--burgundy-ink); flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 20px) 28px 32px; transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto; box-shadow: -30px 0 60px rgba(0,0,0,.3);
  }
  .nav-open .nav { transform: none; }
  .nav-open .site-header .nav-toggle { border-color: rgba(255,255,255,.3); }
  .nav-open .site-header .nav-toggle span { background: var(--white); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(235,210,146,.14); }
  .nav__link, body.has-hero .site-header:not(.is-solid) .nav__link { color: var(--white); font-family: var(--font-head); font-size: 1.35rem; padding: 18px 0; width: 100%; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold); }
  .nav__link svg { width: 16px; height: 16px; }
  .dropdown { position: static; left: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: 0; padding: 0 0 12px; display: none; min-width: 0; }
  .nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown { transform: none; }
  .nav__item.is-open .dropdown { display: block; }
  .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
  .dropdown a { color: rgba(255,255,255,.75); padding: 10px 0 10px 14px; }
  .dropdown a:hover { background: transparent; color: var(--gold); }
  .header-cta { margin: 28px 0 0; --bg: var(--gold) !important; --fg: var(--burgundy-ink) !important; --bd: var(--gold) !important; }
  .nav__contact { display: block !important; margin-top: auto; padding-top: 32px; color: rgba(255,255,255,.7); font-size: .9rem; }
  .nav__contact a { display: block; color: var(--gold); margin-top: 6px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(25,4,5,.5); z-index: 899; opacity: 0; visibility: hidden; transition: opacity .4s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid-3, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .process::before { top: 40px; bottom: 40px; left: 40px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-deep) 0 6px, transparent 6px 12px); }
  .process__line { display: none; }
  .step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; text-align: left; padding: 0 0 36px; align-items: start; }
  .step__icon { margin: 0; }
  .step > div { padding-top: 14px; }
  .stats-bar__inner { grid-template-columns: repeat(3, 1fr); }
  .stats-bar__cta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .media-frame { margin: 0 28px 28px 0; }
  .media-frame__inset { right: -20px; top: -20px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .gallery-grid .g-item:nth-child(6n+1) { grid-column: span 2; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__aside { display: none; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:not(:nth-child(3n)) { border-right: 0; }
  .value:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero__aside { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4, .testimonials, .features, .values, .philosophy, .nearby { grid-template-columns: 1fr; }
  .value:nth-child(odd) { border-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .stats-bar { margin-top: -40px; }
  .stats-bar__inner { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 24px 8px; }
  .stat__num { font-size: 1.7rem; }
  .stat__label { font-size: .62rem; letter-spacing: .08em; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -50px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gallery-grid .g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid .g-item:nth-child(6n+4) { grid-row: span 1; }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-fact:nth-child(3) { border-left: 0; }
  .pd-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pd-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .pd-aside { grid-template-columns: 1fr; }
  .lightbox__stage { padding: 0 12px; }
  .lb-prev, .lb-next { top: auto; bottom: -70px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .lightbox__cap { padding-top: 84px; }
  .hero__content .btn-row .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero .container { padding-bottom: 60px; }
  .project-card__body { padding: 24px 22px 24px; }
  .media-frame__badge { left: -10px; padding: 18px 20px; }
  .brand__word { width: 130px; }
  .brand__emblem { width: 42px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 22px; bottom: 84px; }
  .tabs { width: 100%; }
  .tab { flex: 1 1 calc(50% - 6px); padding: 10px 12px; font-size: .72rem; }
  .loc-item { grid-template-columns: 40px 1fr; }
  .loc-item__tag { grid-column: 2; justify-self: start; }
  .category-head__count { display: none; }
}
.nav__contact { display: none; }
