/* ═══════════════════════════════════════════════════════════
   MANI & SON CONSTRUCTION — INNER PAGE THEME
   Matches the premium aesthetic of the home page
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --gold:       #c9a84c;
  --gold-light: #e0bb6a;
  --gold-dark:  #a8782a;
  --white:      #f5f0e8;
  --black:      #0a0a0a;
  --black2:     #111111;
  --black3:     #181818;
  /* Backward-compat aliases used by page-specific <style> blocks */
  --ink:        #0a0a0a;
  --ink2:       #111111;
  --ink3:       #181818;
  --text-dim:   rgba(245,240,232,0.42);
  --t:          0.35s ease;
}

html { scroll-behavior: smooth; scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

/* ── ANIMATED SCROLL INDICATOR ──────────────────────────── */
#scroll-bar {
  position: fixed;
  right: 0; top: 0;
  width: 2px; height: 100%;
  z-index: 8000;
  pointer-events: none;
}
#scroll-bar .sb-track {
  position: absolute; inset: 0;
  background: rgba(201,168,76,.06);
}
#scroll-bar .sb-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, rgba(201,168,76,.3), var(--gold));
  transition: height .06s linear;
  overflow: visible;
}
#scroll-bar .sb-dot {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    0 0 6px 1px rgba(201,168,76,.9),
    0 0 18px 3px rgba(201,168,76,.45),
    0 0 36px 6px rgba(201,168,76,.18);
  animation: dotPulse 2.4s ease-in-out infinite;
}
#scroll-bar .sb-glow {
  position: absolute;
  bottom: -30px; left: -5px; right: -5px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(201,168,76,.35), transparent);
  filter: blur(5px);
}
@keyframes dotPulse {
  0%, 100% {
    box-shadow:
      0 0 6px 1px rgba(201,168,76,.9),
      0 0 18px 3px rgba(201,168,76,.45),
      0 0 36px 6px rgba(201,168,76,.18);
  }
  50% {
    box-shadow:
      0 0 8px 2px rgba(201,168,76,1),
      0 0 28px 6px rgba(201,168,76,.65),
      0 0 55px 10px rgba(201,168,76,.25);
  }
}

body {
  background: var(--black);
  color: var(--text-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  cursor: none;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ── CURSOR ─────────────────────────────────────────────── */
#cur {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .08s ease, width .3s, height .3s;
  mix-blend-mode: difference;
}
#cur-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left .15s ease, top .15s ease, width .3s, height .3s, opacity .3s;
}

/* ── GRAIN OVERLAY ──────────────────────────────────────── */
#grain {
  position: fixed; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  padding: 0 48px;
  height: 82px;
  background: linear-gradient(to bottom, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 65%, transparent 100%);
  transition: background .4s ease, height .4s ease;
}
#navbar.solid {
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,.07);
  height: 72px;
}
#brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
#brand .mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  color: var(--gold);
  letter-spacing: .04em;
  line-height: 1;
}
#brand .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(245,240,232,.65);
}
#nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}
.nl {
  font-family: 'Cormorant Garamond', serif;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,240,232,.6);
  text-decoration: none;
  position: relative;
  transition: color .3s;
}
.nl::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s ease;
}
.nl:hover, .nl.active { color: var(--white); }
.nl.active::after, .nl:hover::after { width: 100%; }
#nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Cormorant Garamond', serif;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: rgba(245,240,232,.5);
  text-decoration: none;
  flex-shrink: 0;
  transition: color .3s;
}
#nav-phone svg {
  width: 12px; height: 12px;
  stroke: var(--gold);
  flex-shrink: 0;
  opacity: .7;
  transition: opacity .3s;
}
#nav-phone:hover { color: rgba(245,240,232,.85); }
#nav-phone:hover svg { opacity: 1; }
#burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  position: relative;
  z-index: 201;
}
#burger span {
  display: block;
  width: 100%; height: 1px;
  background: var(--white);
  transition: transform .35s, opacity .35s;
}
#burger.open span:first-child { transform: translateY(6px) rotate(45deg); }
#burger.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }
#mobile-menu {
  display: flex;
  position: fixed; inset: 0;
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(12px);
  z-index: 150;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
.mm-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: .08em;
  color: rgba(245,240,232,.7);
  text-decoration: none;
  transition: color .3s;
}
.mm-link:hover { color: var(--gold); }
.mm-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;
  letter-spacing: .2em;
  color: rgba(201,168,76,.7);
  text-decoration: none;
  margin-top: 8px;
  border-top: 1px solid rgba(201,168,76,.2);
  padding-top: 24px;
  width: 200px;
  text-align: center;
}

/* ── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.ph-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s cubic-bezier(.25,.46,.45,.94);
}
.page-hero.loaded .ph-bg { transform: scale(1); }
.ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.22) 0%,
    rgba(10,10,10,.05) 35%,
    rgba(10,10,10,.55) 70%,
    rgba(10,10,10,.94) 100%
  );
}
.ph-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 24px 90px;
  width: 100%;
}
.ph-content .eyebrow { margin-bottom: 18px; }
.ph-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 9vw, 8rem);
  color: var(--white);
  letter-spacing: .03em;
  line-height: .92;
  margin-bottom: 30px;
}
.ph-content h1 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--gold);
  font-size: .72em;
}
.ph-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: .63rem;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,240,232,.32);
}
.ph-breadcrumb a { transition: color .3s; }
.ph-breadcrumb a:hover { color: var(--gold); }
.ph-breadcrumb i { font-size: .44rem; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.wrap { max-width: 1300px; margin: 0 auto; padding: 0 48px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  color: var(--white);
  letter-spacing: .03em;
  line-height: 1;
}
h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
h2 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--gold);
}
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
h4 { font-size: 1.15rem; }
p  { font-size: .95rem; line-height: 1.88; }

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: .63rem;
  font-weight: 300;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.gold-rule {
  width: 52px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  display: block;
}
.sec-head { margin-bottom: 68px; }
.sec-head.center { text-align: center; }
.sec-head.center .gold-rule { margin-left: auto; margin-right: auto; }
.sec-sub { font-size: .9rem; margin-top: 18px; max-width: 560px; line-height: 1.8; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal-up    { opacity: 0; transform: translateY(44px); transition: opacity .85s ease, transform .85s ease; }
.reveal-left  { opacity: 0; transform: translateX(-44px); transition: opacity .85s ease, transform .85s ease; }
.reveal-right { opacity: 0; transform: translateX(44px);  transition: opacity .85s ease, transform .85s ease; }
.revealed     { opacity: 1 !important; transform: translate(0,0) !important; }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--black3);
  border-top: 1px solid rgba(201,168,76,.08);
  border-bottom: 1px solid rgba(201,168,76,.08);
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 55px 40px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,.07);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--gold);
  line-height: 1; display: block;
  letter-spacing: .02em;
}
.stat-label {
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(245,240,232,.28);
  margin-top: 10px; display: block;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 36px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: .75rem; font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  cursor: none;
  transition: background var(--t), color var(--t);
}
.btn-gold:hover { background: var(--gold); color: var(--black); }

/* ── BACK TO TOP ────────────────────────────────────────── */
#btt {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(10,10,10,.85);
  border: 1px solid rgba(201,168,76,.22);
  color: var(--gold); font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: none; opacity: 0; transform: translateY(16px);
  transition: all var(--t); z-index: 500;
}
#btt.show { opacity: 1; transform: translateY(0); }
#btt:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 36px; right: 24px;
  width: 44px; height: 44px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; z-index: 500;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--black); border-top: 1px solid rgba(201,168,76,.07); }
.footer-top { padding: 90px 0; }
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 60px; align-items: start;
}
.ft-brand { display: flex; flex-direction: column; }
.ft-logo { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.ft-logo .mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem; color: var(--gold); letter-spacing: .04em;
}
.ft-logo .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: .72rem; font-weight: 300;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(245,240,232,.5);
}
.ft-brand > p { font-size: .85rem; line-height: 1.85; max-width: 270px; margin-bottom: 28px; }
.ft-phone {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: .8rem; letter-spacing: .15em; color: var(--gold);
  transition: color var(--t);
}
.ft-phone:hover { color: var(--gold-light); }
.ft-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: .2em;
  color: var(--white); margin-bottom: 26px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-col ul li a {
  font-size: .82rem; letter-spacing: .08em;
  color: rgba(245,240,232,.36);
  transition: color var(--t);
  display: flex; align-items: center; gap: 8px;
}
.ft-col ul li a::before {
  content: ''; width: 10px; height: 1px;
  background: var(--gold); opacity: .35; flex-shrink: 0;
  transition: width var(--t), opacity var(--t);
}
.ft-col ul li a:hover { color: var(--gold); }
.ft-col ul li a:hover::before { width: 18px; opacity: 1; }
.ft-col > p {
  font-size: .82rem; line-height: 2.1;
  color: rgba(245,240,232,.36);
  display: flex; align-items: flex-start; gap: 10px;
}
.ft-col > p i { color: var(--gold); margin-top: 5px; flex-shrink: 0; }
.ft-col > p a { color: rgba(245,240,232,.36); transition: color var(--t); }
.ft-col > p a:hover { color: var(--gold); }
.ft-social { display: flex; gap: 10px; margin-top: 24px; }
.ft-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,.35); font-size: .85rem;
  transition: all var(--t);
}
.ft-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(201,168,76,.06); }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,240,232,.18); }

/* ═══════════════════════════════════════════════════════════
   BLUEPRINT PRELOADER  (shared base — timing is per-page)
   ═══════════════════════════════════════════════════════════ */
#page-intro,
#preloader {
  position: fixed; inset: 0;
  background: #0b2d72;
  z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
#page-intro.out,
#preloader.out { opacity: 0; visibility: hidden; pointer-events: none; }

.bp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}
.bp-scene {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.bp-scan { display: none; }
.pi-svg { width: min(430px, 88vw); height: auto; }

.bp-line      { fill: none; }
.bp-wall      { stroke: rgba(255,255,255,.60); stroke-width: 3.5;  stroke-linecap: square; }
.bp-partition { stroke: rgba(255,255,255,.48); stroke-width: 2;    stroke-linecap: square; }
.bp-door-arc  { stroke: rgba(255,255,255,.32); stroke-width: 1;    stroke-linecap: round;  }
.bp-window    { stroke: rgba(180,210,255,.50); stroke-width: 1.4;  stroke-linecap: square; }
.bp-dim-line  { stroke: rgba(201,168,76,.45);  stroke-width: .7;   stroke-dasharray: 4 5;  }
.bp-dim-tick  { stroke: rgba(201,168,76,.45);  stroke-width: .7;   stroke-linecap: square; }

.bp-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7.5px; letter-spacing: .18em;
  fill: rgba(255,255,255,.52);
  opacity: 0; animation: bpFadeIn .5s 2.6s ease forwards;
}
.bp-label-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.5px; letter-spacing: .1em;
  fill: rgba(201,168,76,.50);
  opacity: 0; animation: bpFadeIn .5s 2.7s ease forwards;
}
.bp-dim-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6px; letter-spacing: .12em;
  fill: rgba(201,168,76,.52);
}
.bp-north {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 9px; fill: rgba(255,255,255,.42);
}
.bp-page-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: .45em;
  color: rgba(255,255,255,.28);
  margin-top: 22px;
  position: relative; z-index: 2;
  opacity: 0; animation: bpFadeIn .5s 1.6s ease forwards;
}

@keyframes bpDraw   { to { stroke-dashoffset: 0; } }
@keyframes bpFadeIn { to { opacity: 1; } }

/* HOME preloader timing */
.pre-top   { stroke-dasharray:390; stroke-dashoffset:390; animation:bpDraw .44s .12s ease forwards; }
.pre-right { stroke-dasharray:260; stroke-dashoffset:260; animation:bpDraw .32s .52s ease forwards; }
.pre-botr  { stroke-dasharray:188; stroke-dashoffset:188; animation:bpDraw .26s .80s ease forwards; }
.pre-botl  { stroke-dasharray:152; stroke-dashoffset:152; animation:bpDraw .22s 1.02s ease forwards; }
.pre-left  { stroke-dasharray:260; stroke-dashoffset:260; animation:bpDraw .32s 1.20s ease forwards; }
.pre-hdiv  { stroke-dasharray:390; stroke-dashoffset:390; animation:bpDraw .40s 1.40s ease forwards; }
.pre-v1    { stroke-dasharray:132; stroke-dashoffset:132; animation:bpDraw .20s 1.72s ease forwards; }
.pre-v2    { stroke-dasharray:188; stroke-dashoffset:188; animation:bpDraw .24s 1.86s ease forwards; }
.pre-v3    { stroke-dasharray:132; stroke-dashoffset:132; animation:bpDraw .20s 2.02s ease forwards; }
.pre-dp0   { stroke-dasharray:44;  stroke-dashoffset:44;  animation:bpDraw .16s 2.14s ease forwards; }
.pre-arc0  { stroke-dasharray:70;  stroke-dashoffset:70;  animation:bpDraw .25s 2.24s ease forwards; }
.pre-dp1   { stroke-dasharray:44;  stroke-dashoffset:44;  animation:bpDraw .16s 2.42s ease forwards; }
.pre-arc1  { stroke-dasharray:65;  stroke-dashoffset:65;  animation:bpDraw .22s 2.52s ease forwards; }
.pre-dp2   { stroke-dasharray:44;  stroke-dashoffset:44;  animation:bpDraw .16s 2.66s ease forwards; }
.pre-arc2  { stroke-dasharray:65;  stroke-dashoffset:65;  animation:bpDraw .22s 2.76s ease forwards; }
.pre-wna,.pre-wnb { stroke-dasharray:55; stroke-dashoffset:55; animation:bpDraw .18s 2.88s ease forwards; }
.pre-wnc,.pre-wnd,.pre-wne { stroke-dasharray:55; stroke-dashoffset:55; animation:bpDraw .18s 2.94s ease forwards; }
.pre-dimh,.pre-dimv { stroke-dasharray:4 5; stroke-dashoffset:0; opacity:0; animation:bpFadeIn .35s 3.02s ease forwards; }
.pre-dtk1,.pre-dtk2,.pre-dtk3,.pre-dtk4 { stroke-dasharray:16; stroke-dashoffset:16; animation:bpDraw .14s 3.02s ease forwards; }

/* ── TOUCH DEVICE — REMOVE CURSOR ──────────────────────── */
@media (hover: none), (pointer: coarse) {
  #cur, #cur-ring { display: none !important; }
  body, body * { cursor: auto !important; }
}

/* ── MEDIA QUERIES ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .wrap { padding: 0 32px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 44px 28px; }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  /* Navbar */
  #navbar { padding: max(22px, env(safe-area-inset-top)) 20px 18px; height: auto; min-height: 64px; }
  #nav-links, #nav-phone { display: none; }
  #burger { display: flex; }
  /* Hide brand when menu open — only X stays visible */
  #navbar.menu-open { background: transparent !important; backdrop-filter: none !important; border-bottom: none !important; box-shadow: none !important; }
  #navbar.menu-open #brand { opacity: 0; pointer-events: none; transition: opacity .2s; }
  /* Menu links auto-size to fit all screens */
  .mm-link { font-size: clamp(1.6rem, 7.5vw, 2.6rem); }
  #mobile-menu { gap: clamp(16px, 4vh, 32px); padding-top: 20px; }

  /* Layout */
  .wrap { padding: 0 18px; }

  /* Page hero */
  .page-hero { height: 100svh; min-height: 500px; }
  .ph-content { padding: 0 18px 64px; }
  .ph-content h1 { font-size: clamp(2.8rem, 11vw, 5rem); margin-bottom: 20px; }
  .ph-content .eyebrow { margin-bottom: 12px; }
  .ph-breadcrumb { font-size: .58rem; gap: 10px; }

  /* Section spacing */
  .sec-head { margin-bottom: 44px; }

  /* Stats */
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 36px 16px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(201,168,76,.07); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(201,168,76,.07); border-right: none; }
  .stat-num { font-size: 2.6rem; }
  .stat-label { font-size: .55rem; letter-spacing: .25em; }

  /* Buttons */
  .btn-gold { padding: 13px 28px; font-size: .7rem; }

  /* Back to top */
  #btt { bottom: 80px; right: 16px; width: 40px; height: 40px; }

  /* WA float */
  .wa-float { bottom: 28px; right: 16px; width: 42px; height: 42px; }

  /* ── FOOTER MOBILE ── */
  .footer-top { padding: 48px 0 36px; }
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  /* Brand: full width at top */
  .ft-brand {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(201,168,76,.07);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }
  .ft-logo { margin-bottom: 12px; width: 100%; }
  .ft-brand > p { font-size: .8rem; line-height: 1.75; margin-bottom: 16px; max-width: 100%; }
  .ft-phone { font-size: .78rem; }
  /* Nav + Services side by side */
  .ft-col {
    padding-bottom: 24px;
  }
  .ft-col:nth-child(2) { padding-right: 12px; }
  .ft-col:nth-child(3) { padding-left: 12px; border-left: 1px solid rgba(201,168,76,.06); }
  .ft-col h4 { font-size: .85rem; margin-bottom: 16px; letter-spacing: .15em; }
  .ft-col ul { gap: 10px; }
  .ft-col ul li a { font-size: .78rem; }
  /* Connect: full width */
  .ft-col:last-child {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid rgba(201,168,76,.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    align-items: start;
  }
  .ft-col:last-child h4 { grid-column: 1 / -1; }
  .ft-col > p { font-size: .76rem; line-height: 1.8; }
  .ft-social { grid-column: 1 / -1; margin-top: 14px; }
  .ft-social a { width: 36px; height: 36px; font-size: .78rem; }

  /* Footer bottom */
  .footer-bottom { padding: 18px 0; }
  .footer-bottom .wrap { flex-direction: column; gap: 6px; text-align: center; }
  .footer-bottom p { font-size: .6rem; }
}

@media (max-width: 480px) {
  .ph-content h1 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .stat-item { padding: 30px 14px; }
}
