/* ============================================================================
   Sri Sai Constructions — sophisticated stylesheet v2
   Ambient gradients · glassmorphism · 3D depth · scroll reveals
   Theme: deep charcoal/navy + gold (construction) & teal/wood (interiors)
   ========================================================================== */

:root {
  --navy:        #0b1626;
  --navy-2:      #12243c;
  --navy-3:      #1b3355;
  --gold:        #e0b24a;
  --gold-2:      #d4a437;
  --gold-dark:   #b8892a;
  --teal:        #17a2a2;
  --teal-dark:   #0f7676;
  --wood:        #c08a4e;
  --wood-dark:   #8a5a2b;
  --ink:         #1a2432;
  --muted:       #5f6b7a;
  --muted-2:     #8b97a6;
  --line:        #e7ebf2;
  --bg:          #ffffff;
  --bg-alt:      #f5f8fc;
  --radius:      18px;
  --radius-lg:   26px;
  --shadow:      0 12px 34px rgba(11, 22, 38, .09);
  --shadow-lg:   0 28px 64px rgba(11, 22, 38, .18);
  --maxw:        1180px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text strong {
  font-family: 'Poppins', sans-serif; line-height: 1.15; color: var(--navy);
  letter-spacing: -.02em;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 840px; }
.center { text-align: center; }

/* Gradient text helper */
.grad-text {
  background: linear-gradient(100deg, var(--gold) 0%, #f4d68a 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; border: none; border-radius: 12px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 13px 24px; text-decoration: none; text-align: center; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,
    transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); text-decoration: none; }
.btn:active { transform: translateY(-1px); }
.btn-sm  { padding: 9px 17px; font-size: .85rem; }
.btn-lg  { padding: 16px 32px; font-size: 1.03rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #241800; box-shadow: 0 10px 26px rgba(224,178,74,.4); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(224,178,74,.55); color: #241800; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold); color: #241800; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar { background: var(--navy); color: #b9c6d6; font-size: .82rem; }
.topbar a { color: #b9c6d6; }
.topbar a:hover { color: var(--gold); }
.topbar-inner { display: flex; gap: 22px; padding: 9px 22px; flex-wrap: wrap; }
.topbar-loc { margin-left: auto; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(231,235,242,.8);
  transition: box-shadow .3s, background .3s; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(11,22,38,.08); background: rgba(255,255,255,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  position: relative; width: 46px; height: 46px; border-radius: 13px; display: grid;
  place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #241800; font-family: 'Poppins'; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(224,178,74,.4); overflow: hidden;
}
.brand-mark::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  transform: translateX(-100%); animation: shimmer 4s ease-in-out infinite; }
@keyframes shimmer { 0%,100% { transform: translateX(-100%);} 50% { transform: translateX(100%);} }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.06rem; }
.brand-text small { color: var(--muted); font-size: .72rem; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { position: relative; color: var(--ink); font-weight: 500; padding: 9px 13px;
  border-radius: 9px; font-size: .95rem; transition: color .2s; }
.nav-links > a::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px;
  height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform .25s var(--ease); }
.nav-links > a:hover::before, .nav-links > a.active::before { transform: scaleX(1); }
.nav-links > a.active { color: var(--gold-dark); }
.nav-cta { margin-left: 8px; color: #241800 !important; }
.nav-cta::before { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; z-index: 60; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px;
  transition: transform .3s, opacity .3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Flash messages ──────────────────────────────────────────────────────── */
.flash-wrap { margin-top: 16px; }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; font-weight: 500;
  animation: fadeUp .5s var(--ease) both; }
.flash-success { background: #e6f8ef; color: #0d7a44; border: 1px solid #b6e6cd; }
.flash-error   { background: #fdeceb; color: #b42318; border: 1px solid #f5c2c0; }

/* ── Ambient decorative blobs (global) ───────────────────────────────────── */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  pointer-events: none; z-index: 0; }
.blob-gold { background: radial-gradient(circle, rgba(224,178,74,.55), transparent 70%); }
.blob-teal { background: radial-gradient(circle, rgba(23,162,162,.45), transparent 70%); }
.blob-blue { background: radial-gradient(circle, rgba(27,51,85,.6), transparent 70%); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 82% -8%, #21426b 0%, transparent 58%),
    radial-gradient(760px 420px at 8% 108%, #123a4d 0%, transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0e2237 100%);
}
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: url("../img/blueprint.svg"); background-size: 60px 60px; opacity: .5;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 78%); }
.hero .blob-1 { width: 420px; height: 420px; top: -120px; right: -80px; }
.hero .blob-2 { width: 360px; height: 360px; bottom: -140px; left: -100px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .45; z-index: 0; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.hero-inner { position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.15fr .95fr; gap: 46px; align-items: center;
  padding: 86px 22px 96px; }
.hero-text h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 14px 0 18px; }
.hero-text p { color: #c3d1e2; font-size: 1.14rem; max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .14em;
  text-transform: uppercase; font-size: .74rem; font-weight: 700; color: var(--gold); }
.hero .eyebrow { background: rgba(224,178,74,.14); border: 1px solid rgba(224,178,74,.28);
  padding: 7px 14px; border-radius: 999px; }
.eyebrow-dark { color: var(--gold-dark); background: rgba(224,178,74,.12);
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(224,178,74,.25); }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Poppins'; font-size: 1.7rem; color: #fff; }
.hero-stats span { color: #91a4ba; font-size: .84rem; }

/* Hero art — 3D isometric house */
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.iso-stage { position: relative; width: 100%; max-width: 420px; animation: floaty 6s ease-in-out infinite; }
.iso-stage svg { width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,.45)); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(-16px) rotate(-.4deg);} }
.spark { position: absolute; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(224,178,74,.8); animation: pulse 3s ease-in-out infinite; }
.spark:nth-child(2){ width:10px;height:10px; top:12%; left:8%; animation-delay:.2s;}
.spark:nth-child(3){ width:7px;height:7px; top:70%; right:6%; animation-delay:1s;}
.spark:nth-child(4){ width:6px;height:6px; bottom:8%; left:24%; animation-delay:1.8s;}
@keyframes pulse { 0%,100% { transform: scale(.7); opacity:.5;} 50% { transform: scale(1.2); opacity:1;} }

/* Floating blueprint chips around hero art */
.chip-float { position: absolute; background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 10px 14px; border-radius: 14px;
  font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28); animation: floaty 5s ease-in-out infinite; }
.chip-float .ci { font-size: 1.1rem; }
.chip-float.cf-1 { top: 6%; right: -6%; animation-delay: .4s; }
.chip-float.cf-2 { bottom: 10%; left: -8%; animation-delay: 1.4s; }

/* ── Marquee trust strip ─────────────────────────────────────────────────── */
.marquee { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scrollx 26s linear infinite;
  color: #9fb1c6; font-family: 'Poppins'; font-weight: 600; font-size: .92rem; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { position: relative; padding: 82px 0; overflow: hidden; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; position: relative; z-index: 2; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.2rem); margin: 10px 0 12px; }
.section-head p { color: var(--muted); }

/* ── Reveal on scroll ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none;} }

/* ── Value grid ──────────────────────────────────────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.value-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.value-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transform: scaleX(0);
  transform-origin: left; transition: transform .35s var(--ease); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  font-size: 1.7rem; background: linear-gradient(135deg, rgba(224,178,74,.16), rgba(224,178,74,.05));
  border: 1px solid rgba(224,178,74,.25); margin-bottom: 6px; }
.value-card h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.value-card p { color: var(--muted); font-size: .93rem; }

/* ── Split (two companies) ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 20px; position: relative; z-index: 2; }
.split-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.split-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.split-card::after { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; top: -60px;
  border-radius: 50%; opacity: .12; filter: blur(10px); }
.split-gold::after { background: radial-gradient(circle, var(--gold), transparent 70%); }
.split-teal::after { background: radial-gradient(circle, var(--teal), transparent 70%); }
.split-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; }
.badge-gold { background: rgba(224,178,74,.16); color: var(--gold-dark); }
.badge-teal { background: rgba(23,162,162,.16); color: var(--teal-dark); }
.split-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.pending, .brand-text em, .split-card em { font-style: italic; font-weight: 400; color: var(--muted); font-size: .8em; }
.tick-list { list-style: none; margin: 18px 0 24px; position: relative; z-index: 2; }
.tick-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; display: flex; gap: 8px; }
.tick-list li:last-child { border-bottom: none; }

/* ── Service grid ────────────────────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
  transform-style: preserve-3d; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: var(--radius) var(--radius) 0 0; }
.service-card-teal::before { background: linear-gradient(90deg, var(--teal), var(--teal-dark)); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 16px;
  font-size: 1.9rem; background: linear-gradient(135deg, rgba(224,178,74,.16), rgba(224,178,74,.04));
  border: 1px solid rgba(224,178,74,.22); }
.service-card-teal .service-icon { background: linear-gradient(135deg, rgba(23,162,162,.16), rgba(23,162,162,.04));
  border-color: rgba(23,162,162,.22); }
.service-card h3 { font-size: 1.14rem; margin: 14px 0 8px; }
.service-card p { color: var(--muted); font-size: .93rem; }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; position: relative; z-index: 2; }
.steps li { position: relative; padding: 14px 0 14px 56px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 12px;
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #241800;
  font-family: 'Poppins'; font-weight: 700; box-shadow: 0 6px 16px rgba(224,178,74,.35); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 50px; bottom: -6px;
  width: 2px; background: linear-gradient(var(--gold), transparent); }

/* ── Projects ────────────────────────────────────────────────────────────── */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; position: relative; z-index: 2; }
.project-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-thumb { position: relative; height: 168px; display: grid; place-items: center; font-size: 3.6rem;
  background: linear-gradient(135deg, #1c3a5f, #24466c); overflow: hidden; }
.project-thumb::before { content: ""; position: absolute; inset: 0;
  background-image: url("../img/blueprint.svg"); background-size: 44px 44px; opacity: .5; }
.project-thumb.thumb-wood { background: linear-gradient(135deg, var(--wood), var(--wood-dark)); }
.project-thumb.thumb-wood::before { background-image: url("../img/wood.svg"); background-size: cover; opacity: .35; }
.project-thumb .pico { position: relative; z-index: 2; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.project-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: transform .5s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-thumb .pico-badge { position: absolute; z-index: 3; bottom: 12px; right: 12px; width: 46px; height: 46px;
  display: grid; place-items: center; font-size: 1.4rem; border-radius: 13px; background: rgba(8,15,26,.42);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.project-thumb.zoomable { cursor: zoom-in; }
.project-thumb .zoom-hint { position: absolute; z-index: 3; top: 12px; left: 12px; opacity: 0;
  padding: 6px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fff;
  background: rgba(8,15,26,.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22);
  transition: opacity .25s var(--ease); }
.project-card:hover .zoom-hint { opacity: 1; }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 30px; background: rgba(6,12,22,.82); backdrop-filter: blur(10px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; background: #0e1c30; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
  transform: scale(.92) translateY(10px); transition: transform .35s var(--ease); }
.lightbox.open .lightbox-inner { transform: scale(1) translateY(0); }
.lightbox-inner img { display: block; width: 100%; height: auto; }
.lightbox-cap { padding: 16px 22px; color: #cdd8e6; font-family: 'Poppins', sans-serif; font-weight: 600; }
.lightbox-cap small { display: block; color: #8b97a6; font-weight: 400; font-size: .84rem; margin-top: 2px; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border: none;
  border-radius: 12px; cursor: pointer; font-size: 1.3rem; color: #fff; background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }

/* ── Brand monogram ──────────────────────────────────────────────────────── */
.brand-monogram { display: block; margin: 0 0 18px;
  filter: drop-shadow(0 4px 14px rgba(212,175,55,.28));
  animation: monoFloat 6s ease-in-out infinite; }
@keyframes monoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .brand-monogram { animation: none; } }

/* ── Contact form: project-detail section ────────────────────────────────── */
.form-section { margin: 26px 0 14px; padding-top: 20px;
  border-top: 1px solid rgba(148,163,184,.28); }
.form-section-title { margin: 0 0 4px; font-family: 'Poppins', sans-serif;
  font-size: 1.02rem; font-weight: 700; color: var(--navy, #12263f); }
.form-section-hint { margin: 0; font-size: .86rem; color: #6b7c93; line-height: 1.5; }
.label-hint { font-weight: 400; color: #8b97a6; font-size: .84em; }

.chip-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip-option { position: relative; cursor: pointer; }
.chip-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-option span { display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-size: .86rem; font-weight: 500; color: #44556b;
  background: #f1f5f9; border: 1px solid #dbe3ec;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s; }
.chip-option:hover span { transform: translateY(-1px); border-color: #b9c6d6; }
.chip-option input:checked + span { background: linear-gradient(135deg, #d4af37, #b98a2a);
  color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(212,175,55,.32); }
.chip-option input:focus-visible + span { outline: 2px solid #2563eb; outline-offset: 2px; }

/* ── Pricing packages ────────────────────────────────────────────────────── */
.section-pricing { background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); }
.section-sub { max-width: 640px; margin: 10px auto 0; color: #5b6b80; line-height: 1.65; }

.pricing-grid { display: grid; gap: 22px; margin-top: 38px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }

.price-card { position: relative; display: flex; flex-direction: column;
  padding: 30px 26px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 18px); box-shadow: 0 2px 10px rgba(15,23,42,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.price-card:hover { transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,23,42,.13); border-color: #d4af37; }

.price-card-featured { border: 2px solid #d4af37;
  box-shadow: 0 12px 34px rgba(212,175,55,.22); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, #d4af37, #b98a2a);
  box-shadow: 0 4px 12px rgba(212,175,55,.4); }

.price-name { margin: 4px 0 2px; font-family: 'Poppins', sans-serif;
  font-size: 1.32rem; font-weight: 700; color: #12263f; }
.price-tagline { margin: 0 0 16px; font-size: .88rem; color: #7b8798; }

.price-rate { padding: 16px 0 18px; margin-bottom: 18px;
  border-bottom: 1px solid #eef2f7; }
.price-rate strong { display: block; font-family: 'Poppins', sans-serif;
  font-size: 1.72rem; font-weight: 800; line-height: 1.15;
  background: linear-gradient(135deg, #d4af37, #a9781f);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-rate span { font-size: .82rem; color: #8b97a6; }

.price-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-features li { position: relative; padding: 0 0 10px 25px;
  font-size: .9rem; color: #44556b; line-height: 1.5; }
.price-features li::before { content: "✓"; position: absolute; left: 0; top: 0;
  font-weight: 700; color: #d4af37; }

.price-notes { max-width: 760px; margin: 34px auto 0; padding: 20px 24px;
  list-style: none; background: #fff; border: 1px dashed #cbd5e1;
  border-radius: 14px; }
.price-notes li { position: relative; padding: 0 0 8px 22px;
  font-size: .86rem; color: #64748b; line-height: 1.55; }
.price-notes li:last-child { padding-bottom: 0; }
.price-notes li::before { content: "•"; position: absolute; left: 6px; color: #d4af37;
  font-weight: 700; }

/* ── Cost calculator ─────────────────────────────────────────────────────── */
.calc { max-width: 760px; margin: 44px auto 0; padding: 30px 30px 26px;
  background: #0b1626; border-radius: 20px; color: #e7ecf3;
  box-shadow: 0 18px 46px rgba(11,22,38,.28); }

.calc-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.calc-icon { font-size: 1.7rem; line-height: 1; }
.calc-head h3 { margin: 0 0 4px; font-family: 'Poppins', sans-serif;
  font-size: 1.25rem; font-weight: 700; color: #fff; }
.calc-head p { margin: 0; font-size: .88rem; color: #9fb0c4; }

.calc-body { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .calc-body { grid-template-columns: 1fr; } }

.calc-field label { display: block; margin-bottom: 7px; font-size: .82rem;
  font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #93a5ba; }

.calc-input-wrap { position: relative; }
.calc-input-wrap input { width: 100%; padding: 13px 60px 13px 15px;
  font-size: 1.05rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px; transition: border-color .2s, background .2s; }
.calc-input-wrap input:focus { outline: none; border-color: #d4af37;
  background: rgba(255,255,255,.1); }
.calc-suffix { position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  font-size: .85rem; color: #8b9cb0; pointer-events: none; }

.calc-slider { width: 100%; margin-top: 12px; accent-color: #d4af37;
  background: transparent; cursor: pointer; }

.calc-field select { width: 100%; padding: 13px 15px; font-size: .95rem;
  font-weight: 600; color: #fff; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16); border-radius: 11px; cursor: pointer; }
.calc-field select:focus { outline: none; border-color: #d4af37; }
.calc-field select option { color: #12263f; background: #fff; }

.calc-result { margin: 26px 0 14px; padding: 22px 20px; text-align: center;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.32);
  border-radius: 14px; }
.calc-result-label { display: block; margin-bottom: 6px; font-size: .78rem;
  font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #c2ae7e; }
.calc-result strong { display: block; font-family: 'Poppins', sans-serif;
  font-size: 1.9rem; font-weight: 800; line-height: 1.2;
  background: linear-gradient(135deg, #f3d98a, #d4af37);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-result-rate { display: block; margin-top: 6px; font-size: .82rem; color: #9fb0c4; }

.calc-disclaimer { margin: 0 0 18px; font-size: .78rem; line-height: 1.55;
  color: #8b9cb0; text-align: center; }

@media (max-width: 480px) {
  .calc { padding: 24px 20px 22px; border-radius: 16px; }
  .calc-result strong { font-size: 1.5rem; }
}
.project-body { padding: 22px; }
.project-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.project-body h3 { font-size: 1.15rem; margin: 6px 0; }
.project-loc { color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: .93rem; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: .04em; }
.chip-cat { background: #eef2f8; color: var(--navy); }
.chip-completed   { background: #e6f8ef; color: #0d7a44; }
.chip-in-progress { background: #fff3df; color: #a86b00; }
.chip-planned     { background: #eaf0fb; color: #2b57c4; }

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 76px 0;
  background: radial-gradient(800px 400px at 85% -20%, #21426b 0%, transparent 60%),
              linear-gradient(135deg, var(--navy), var(--navy-2)); }
.page-hero::before { content: ""; position: absolute; inset: 0;
  background-image: url("../img/blueprint.svg"); background-size: 58px 58px; opacity: .45;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.7rem); margin: 12px 0; }
.page-hero p { color: #c3d1e2; max-width: 660px; }
.page-hero .eyebrow, .page-hero .badge { display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,178,74,.14); border: 1px solid rgba(224,178,74,.3); padding: 7px 14px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
/* Interiors themed page hero — wood + wall */
.page-hero-teal { background:
    radial-gradient(700px 360px at 82% -20%, #17786f 0%, transparent 60%),
    linear-gradient(135deg, #0c2b2b 0%, #103f3d 60%, #0c2b2b 100%); }
.page-hero-teal::before { background-image: url("../img/wood.svg"); background-size: 420px auto; opacity: .12;
  mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero-teal .badge { background: rgba(23,162,162,.18); border-color: rgba(23,162,162,.4); color: #6fe3e3; }
.note { margin-top: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 13px 16px; border-radius: 12px; font-size: .9rem; backdrop-filter: blur(6px); }

/* Themed section backgrounds */
.bg-blueprint::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/blueprint.svg"); background-size: 60px 60px; opacity: .5;
  mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%); }
.bg-wood { background: linear-gradient(135deg, #faf6f0, #f3ebe0); }
.bg-wood::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0;
  background-image: url("../img/wood.svg"); background-size: 420px auto; opacity: .18; }
.wall-panels::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(138,90,43,.06) 0 1px, transparent 1px 92px);
  mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: url("../img/blueprint.svg");
  background-size: 60px 60px; opacity: .18; }
.cta-teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 52px 22px; flex-wrap: wrap; }
.cta h2 { color: #241800; font-size: 1.7rem; }
.cta-teal h2 { color: #fff; }
.cta p { color: #4a3600; }
.cta-teal p { color: #eafffb; }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 34px; position: relative; z-index: 2; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 12px; font-family: 'Inter', sans-serif; font-size: .96rem; transition: border-color .2s, box-shadow .2s; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(224,178,74,.15); }
.contact-info { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #c3d1e2; border-radius: var(--radius-lg); padding: 34px; }
.contact-info::before { content: ""; position: absolute; inset: 0; background-image: url("../img/blueprint.svg");
  background-size: 54px 54px; opacity: .4; }
.contact-info > * { position: relative; z-index: 2; }
.contact-info h3, .contact-info h4 { color: #fff; }
.contact-list { list-style: none; margin: 16px 0 24px; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; align-items: center; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--gold); }
.contact-hours { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; }
.contact-hours p { color: #91a4ba; font-size: .92rem; }

/* ── Admin table ─────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.data-table th, .data-table td { padding: 12px 15px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: var(--navy); color: #fff; font-family: 'Poppins'; font-size: .82rem; }
.data-table tr:nth-child(even) { background: var(--bg-alt); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy), #081120);
  color: #91a4ba; padding: 60px 0 0; }
.footer::before { content: ""; position: absolute; inset: 0; background-image: url("../img/blueprint.svg");
  background-size: 60px 60px; opacity: .3; mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 60%); }
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 42px; }
.footer h4 { color: #fff; margin-bottom: 15px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; }
.footer a { color: #91a4ba; }
.footer a:hover { color: var(--gold); }
.brand-footer .brand-text strong { color: #fff; }
.footer-desc { margin-top: 14px; font-size: .92rem; max-width: 320px; }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .84rem; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; order: -1; }
  .value-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-loc { display: none; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(82%, 330px); flex-direction: column;
    align-items: stretch; background: #fff; padding: 88px 22px 22px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s var(--ease); }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links > a::before { display: none; }
  .nav-cta { margin: 10px 0 0; }
}
@media (max-width: 560px) {
  .value-grid, .service-grid, .project-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .chip-float { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}










/* ─────────────────────────────────────────────────────────────────────────
   MOBILE SAFETY NET
   ---------------------------------------------------------------------
   1) iOS Safari automatically zooms the page whenever a form control with
      a font-size under 16px receives focus. That zoom is never undone, so
      the visitor is left on a shifted, oversized layout. Forcing 16px on
      small screens prevents it entirely.
   2) A hard guard against horizontal scrolling, which is the most common
      way a page "feels broken" on a phone.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  input, select, textarea,
  .field input, .field select, .field textarea,
  .calc-field input, .calc-field select {
    font-size: 16px !important;
  }
}
html, body { max-width: 100%; overflow-x: hidden; }
/* Media and tables should never force the page wider than the screen. */
img, svg, video, canvas, iframe, table { max-width: 100%; }
img, svg, video { height: auto; }
/* Long unbroken strings (emails, URLs) must wrap rather than overflow. */
p, li, h1, h2, h3, h4, a, td, th { overflow-wrap: break-word; }
/* Comfortable tap targets - 44px is the accessibility guideline. */
@media (max-width: 768px) {
  .btn, .nav-links a, .filter-chip { min-height: 44px; }
}
/* ─────────────────────────────────────────────────────────────────────────
   MOBILE MENU FIX
   ---------------------------------------------------------------------
   .nav uses backdrop-filter for its frosted-glass effect. Per the CSS spec,
   any element with a backdrop-filter becomes the CONTAINING BLOCK for its
   position:fixed descendants. That means the mobile menu panel was being
   positioned against the header strip instead of the viewport, so it
   appeared short and see-through rather than as a full-height solid panel.
   Below 900px we drop the backdrop-filter (the frosted effect isn't visible
   on a small screen anyway), which restores normal fixed positioning, and
   give the panel a solid background, its own stacking level, and a dimmed
   overlay behind it.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Remove the containing-block trap so position:fixed works normally. */
  .nav,
  .nav.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }
  /* Solid, full-height slide-in panel above all page content. */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(82%, 330px);
    background: #ffffff !important;
    z-index: 1200 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -14px 0 40px rgba(11, 22, 38, .22);
  }
  /* Keep the hamburger tappable above the panel. */
  .nav-toggle { z-index: 1300 !important; position: relative; }
  /* Dimmed backdrop so the page behind is clearly inactive. */
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11, 22, 38, .5);
    z-index: 1100;
  }
  /* Stop the page scrolling behind the open menu. */
  body.nav-open { overflow: hidden; }
  /* Comfortable, clearly separated menu items. */
  .nav-links > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 6px;
    font-size: 1.02rem;
    border-bottom: 1px solid #eef1f6;
  }
  .nav-links > a:last-of-type { border-bottom: none; }
  .nav-links .nav-cta { justify-content: center; margin-top: 14px; }
}
/* ─────────────────────────────────────────────────────────────────────────
   MOBILE MENU FIX v2 - stacking context correction
   ---------------------------------------------------------------------
   .nav is 'position: sticky; z-index: 50', which CREATES A STACKING
   CONTEXT. Every descendant is therefore confined to level 50 relative to
   the page, no matter how large its own z-index is.
   The dimming overlay (body::after) lives in the ROOT stacking context at
   z-index 1100, so it was painting OVER the menu panel - making a solid
   white panel look like a dark translucent one.
   The correct fix is to lift the whole .nav element above the overlay while
   the menu is open. Then the panel paints above the dim layer.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Lift the entire header (and therefore the menu) above the overlay. */
  body.nav-open .nav {
    z-index: 1400 !important;
  }
  /* Overlay sits below the header but above all page content. */
  body.nav-open::after {
    z-index: 1300 !important;
  }
  /* Fully opaque panel - no inherited transparency from any ancestor. */
  .nav-links {
    background-color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* The header bar itself must be solid too, so the panel top edge is
     not showing the translucent bar behind it. */
  body.nav-open .nav,
  body.nav-open .nav-inner {
    background-color: #ffffff !important;
  }
  /* Menu text must stay dark and readable on the white panel. */
  .nav-links > a,
  .nav-links > a.active {
    color: #12263f !important;
    background: transparent;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   MOBILE MENU THEME - Derin Atelier
   ---------------------------------------------------------------------
   A dark navy matte panel with hairline gold waves drifting through it.

   Layer order (top to bottom):
     1. gold wave SVG   - the texture
     2. soft radial     - a gentle sheen so the panel is not flat
     3. linear gradient - the matte navy base

   The waves are drawn as a percent-encoded inline SVG, so they cost no
   extra request and stay crisp at any pixel density.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  .nav-links {
    background-color: #102734 !important;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='260' viewBox='0 0 400 260'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='0.9' stroke-linecap='round'%3E%3Cpath d='M-20 34 C 60 4 140 64 220 34 S 380 4 420 34' opacity='0.30'/%3E%3Cpath d='M-20 78 C 70 50 130 106 220 78 S 380 50 420 78' opacity='0.17'/%3E%3Cpath d='M-20 126 C 60 96 140 156 220 126 S 380 96 420 126' opacity='0.26'/%3E%3Cpath d='M-20 174 C 70 146 130 202 220 174 S 380 146 420 174' opacity='0.14'/%3E%3Cpath d='M-20 222 C 60 192 140 252 220 222 S 380 192 420 222' opacity='0.22'/%3E%3C/g%3E%3C/svg%3E"),
      radial-gradient(120% 80% at 78% 0%, rgba(212,175,55,.10) 0%, rgba(212,175,55,0) 58%),
      linear-gradient(160deg, #102734 0%, #08161f 100%) !important;
    background-repeat: repeat-y, no-repeat, no-repeat !important;
    background-size: 400px 260px, 100% 100%, 100% 100% !important;
    background-position: center top, center top, center top !important;
    border-left: 1px solid rgba(212,175,55,.28) !important;
    box-shadow: -18px 0 46px rgba(4, 10, 20, .5) !important;
  }

  /* Header bar matches the panel so the top edge reads as one surface. */
  body.nav-open .nav,
  body.nav-open .nav-inner {
    background-color: #102734 !important;
    border-bottom-color: rgba(212,175,55,.22) !important;
  }

  /* Brand text on the dark bar. */
  body.nav-open .brand-text strong { color: #f4f7fb !important; }
  body.nav-open .brand-text small  { color: rgba(244,247,251,.62) !important; }

  /* Hamburger turns to gold so it stays visible against the navy. */
  body.nav-open .nav-toggle span { background: #d4af37 !important; }

  /* Menu items: light type, hairline gold dividers. */
  .nav-links > a,
  .nav-links > a.active {
    color: #eef3f9 !important;
    border-bottom: 1px solid rgba(212,175,55,.16) !important;
    letter-spacing: .012em;
    transition: color .2s ease, padding-left .2s ease;
  }
  .nav-links > a:last-of-type { border-bottom: none !important; }

  /* Active page and touch feedback in gold. */
  .nav-links > a.active { color: #e8c76a !important; font-weight: 600; }
  .nav-links > a:active,
  .nav-links > a:hover  { color: #d4af37 !important; padding-left: 12px; }

  /* Call-to-action stays gold and solid so it remains the clear next step. */
  .nav-links .nav-cta {
    background: linear-gradient(135deg, #d4af37 0%, #b8912b 100%) !important;
    color: #10203a !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(212,175,55,.26) !important;
  }

  /* Deepen the page dimmer to sit well against the dark panel. */
  body.nav-open::after {
    background: rgba(4, 10, 20, .62) !important;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   PAGE BACKGROUND TEXTURE - Derin Atelier
   ---------------------------------------------------------------------
   A vibrant but soft ombre backdrop with a frosted-glass grain, plus
   glassmorphism on the cards so the colour shows through them.

   Everything here is low-opacity and sits BEHIND the content, so body
   copy stays fully readable. The ombre is background-attachment: fixed,
   giving a subtle parallax feel as you scroll.
   ───────────────────────────────────────────────────────────────────── */

body {
  background-color: #f4faf9;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    radial-gradient(46% 40% at 12% 8%,  rgba(23,162,162,.17) 0%, transparent 60%),
    radial-gradient(50% 46% at 92% 22%, rgba(224,178,74,.14) 0%, transparent 62%),
    radial-gradient(60% 50% at 50% 108%, rgba(192,138,78,.13) 0%, transparent 60%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 180px 180px, auto, auto, auto;
  background-attachment: fixed, fixed, fixed, fixed;
}

/* Plain sections are transparent so the ombre shows through them. */
.section { background: transparent; }

/* The "alt" band becomes a pane of frosted glass instead of a flat fill. */
.section-alt {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* ── Glassmorphism on the cards ───────────────────────────────────────────
   Translucent white + blur lets the ombre tint each card faintly, with a
   bright top-left border edge for the classic frosted-glass highlight. */
.value-card,
.service-card,
.project-card,
.pkg-card,
.info-card,
.stat-card {
  background: rgba(255, 255, 255, .72) !important;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .65) !important;
  box-shadow:
    0 10px 30px rgba(11, 22, 38, .10),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* On hover, lift and clear slightly for a tactile, premium response. */
.value-card:hover,
.service-card:hover,
.project-card:hover,
.pkg-card:hover {
  background: rgba(255, 255, 255, .82) !important;
  box-shadow:
    0 26px 60px rgba(11, 22, 38, .18),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* Keep dark sections genuinely dark (their own colour, above the ombre). */
.section-dark { position: relative; z-index: 0; }

/* Respect users who ask for less motion / simpler visuals. */
@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll, scroll, scroll, scroll; }
}

/* On small screens, drop fixed-attachment (it can jank on mobile) and
   soften the grain so the ombre stays smooth. */
@media (max-width: 768px) {
  body { background-attachment: scroll, scroll, scroll, scroll; }
}
