/* ============================================================
   LUXURY SOLUTIONS — design tokens & base
   ============================================================ */
:root {
  --gold:        #c9a24b;          /* tweakable */
  --gold-deep:   #a07e2e;
  --gold-bright: #e8cd86;
  --gold-line:   rgba(201,162,75,.3);
  --gold-glow:   rgba(201,162,75,.22);

  --bg:    #0a0a0b;
  --bg-2:  #101012;
  --bg-3:  #16161a;
  --panel: #0e0e10;
  --hair:  rgba(255,255,255,.07);

  --text:    #f3efe6;
  --text-2:  #b8b2a6;
  --text-3:  #9c9690;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@supports (color: color-mix(in oklab, white 50%, black)) {
  :root {
    --gold-line: color-mix(in oklab, var(--gold) 30%, transparent);
    --gold-glow: color-mix(in oklab, var(--gold) 22%, transparent);
  }
}

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

html { scroll-behavior: smooth; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--gold); color: #000; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---- type helpers ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.serif { font-family: var(--serif); }
.ital  { font-style: italic; }

h1,h2,h3 { font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }

.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* gold text */
.gold { color: var(--gold); }
.gold-grad {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-bright) 45%, var(--gold) 70%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 2px;
  transition: all .4s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 50%, var(--gold-bright));
  color: #1a1407;
  box-shadow: 0 8px 30px -10px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 12px 40px -8px var(--gold-glow); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--gold-line);
  color: var(--text);
  background: rgba(255,255,255,.015);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,75,.05); }
.btn-sm { padding: 12px 22px; font-size: 12px; }
.btn-lg { padding: 19px 38px; font-size: 14px; letter-spacing: .18em; }

/* attention pulse on primary CTAs */
@keyframes gold-pulse {
  0%   { box-shadow: 0 8px 30px -10px var(--gold-glow), 0 0 0 0 rgba(201,162,75,.55); }
  70%  { box-shadow: 0 8px 30px -10px var(--gold-glow), 0 0 0 14px transparent; }
  100% { box-shadow: 0 8px 30px -10px var(--gold-glow), 0 0 0 0 transparent; }
}
@supports (color: color-mix(in oklab, white 50%, black)) {
  @keyframes gold-pulse {
    0%   { box-shadow: 0 8px 30px -10px var(--gold-glow), 0 0 0 0 color-mix(in oklab, var(--gold) 55%, transparent); }
    70%  { box-shadow: 0 8px 30px -10px var(--gold-glow), 0 0 0 14px transparent; }
    100% { box-shadow: 0 8px 30px -10px var(--gold-glow), 0 0 0 0 transparent; }
  }
}
.btn.pulse { animation: gold-pulse 2.6s var(--ease) infinite; }
.btn.pulse:hover { animation: none; }

/* ============================================================
   SPARKLE DIVIDER (business-card motif)
   ============================================================ */
.spark {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold);
}
.spark .line { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 40%, var(--gold) 100%); flex: 1; max-width: 120px; }
.spark .line.r { background: linear-gradient(270deg, transparent, var(--gold-line) 40%, var(--gold) 100%); }
.spark .node { width: 12px; height: 12px; flex: none; }
.spark.left .line { max-width: none; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(76px, 9vw, 128px) 0; position: relative; }
.section.tight { padding: clamp(56px, 6.5vw, 92px) 0; }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 60px); }
.sec-head p { color: var(--text-2); max-width: 560px; font-size: 17px; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   IMAGE / GRADIENT PANELS (stock-style abstract fills)
   ============================================================ */
.imgfill {
  position: relative; overflow: hidden; border-radius: 3px;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(201,162,75,.18), transparent 55%),
    linear-gradient(160deg, #1b1b20, #0b0b0d 70%);
  border: 1px solid var(--hair);
}
.imgfill::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px);
  mix-blend-mode: screen; opacity: .5;
}
.imgfill::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 30% 90%, rgba(0,0,0,.5), transparent);
}
.imgfill .glow { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%); }

/* glass droplet texture variant */
.imgfill.glass {
  background:
    radial-gradient(60% 50% at 60% 30%, rgba(201,162,75,.22), transparent 60%),
    linear-gradient(150deg, #14161b, #08090b 75%);
}

.fill-cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-3); background: rgba(0,0,0,.4); padding: 5px 9px; border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: rgba(8,8,9,.82); backdrop-filter: blur(14px); border-bottom-color: var(--hair); }
.hdr .bar { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2); position: relative; padding: 4px 0; transition: color .3s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--gold); }
.nav a.active::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--gold); transform-origin: left;
}
.hdr-right { display: flex; align-items: center; gap: 18px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--gold-line); border-radius: 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: all .3s; }
.hdr-phone:hover { border-color: var(--gold); color: var(--gold); }
.hdr-cta { padding: 13px 24px !important; font-size: 12px !important; letter-spacing: .16em !important; }
.burger { display: none; width: 44px; height: 44px; position: relative; margin: -13px -7px; }
.burger span { position: absolute; left: 7px; height: 1.5px; width: 30px; background: var(--text); transition: .35s var(--ease); }
.burger span:nth-child(1){top:13px} .burger span:nth-child(2){top:21px} .burger span:nth-child(3){top:29px}
.burger.open span:nth-child(1){ top:21px; transform: rotate(45deg);}
.burger.open span:nth-child(2){ opacity:0;}
.burger.open span:nth-child(3){ top:21px; transform: rotate(-45deg);}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 79; background: rgba(6,6,7,.97); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { font-family: var(--serif); font-size: 34px; color: var(--text); }
.drawer a.active { color: var(--gold); }
.drawer .btn {
  width: min(320px, calc(100% - 40px));
  min-height: 48px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .14em;
}

/* ============================================================
   LOGO (CSS/vector diamond mark)
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; }
.logo .mark { width: 52px; height: 52px; flex: none; object-fit: contain; mix-blend-mode: screen; }
.logo .wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo .wordmark .l1 { font-family: var(--serif); font-size: 30px; letter-spacing: .14em; color: var(--text); font-weight: 700; }
.logo .wordmark .l2 { font-size: 10.5px; letter-spacing: .58em; color: var(--gold); text-transform: uppercase; margin-top: 4px; padding-left: 3px; font-weight: 600; }

/* ============================================================
   STICKY MOBILE ACTIONS
   ============================================================ */
.sticky-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); padding-bottom: env(safe-area-inset-bottom); }
.sticky-actions a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 16px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sticky-actions .call { background: #111; color: var(--text); }
.sticky-actions .quote { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: #1a1407; }

/* floating desktop quote tab */
.float-quote {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) translateX(0); z-index: 60;
  writing-mode: vertical-rl; background: linear-gradient(180deg, var(--gold-deep), var(--gold)); color: #1a1407;
  padding: 20px 11px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  border-radius: 3px 0 0 3px; box-shadow: -8px 0 30px -12px var(--gold-glow); transition: padding .3s;
}
.float-quote:hover { padding-right: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--hair); }
.footer .cta-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 50px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--hair); }
.footer .cta-strip h3 { font-family: var(--serif); font-size: clamp(26px,3vw,38px); }
.footer .foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 50px; padding: 36px 0; border-bottom: 1px solid var(--hair); }
.footer .foot-links-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer .foot-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer .foot-col-links a { font-size: 14px; color: var(--text-2); }
.footer .foot-col-links a:hover { color: var(--gold); }
.footer .foot-bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; flex-wrap: wrap; gap: 16px; }
.footer .foot-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer .foot-nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.footer .foot-nav a:hover { color: var(--gold); }
.foot-contacts { display: flex; flex-direction: column; gap: 8px; }
.foot-contacts a { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.foot-contacts a:hover { color: var(--gold); }

/* ============================================================
   CARDS / GRID UTILITIES
   ============================================================ */
.grid { display: grid; gap: 22px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  border: 1px solid var(--hair); border-radius: 3px; padding: 36px 32px;
  transition: border-color .45s var(--ease), transform .45s var(--ease), background .45s;
  position: relative; overflow: hidden;
}
.card::after { content:""; position:absolute; left:0; top:0; height:2px; width:0; background: var(--gold); transition: width .5s var(--ease); }
.card:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.card:hover::after { width: 100%; }

.svc-icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 18px; }
.card h3 { font-size: 19px; letter-spacing: .02em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--hair); }
.stat { padding: 40px 26px; border-right: 1px solid var(--hair); }
.stat:last-child { border-right: none; }
.stat .big { font-family: var(--serif); font-size: 48px; color: var(--gold); line-height: 1; }
.stat .lab { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); margin-top: 10px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; color: var(--text);
  background: rgba(255,255,255,.03); border: 1px solid var(--hair); border-radius: 2px;
  padding: 14px 16px; transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(201,162,75,.04); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field.err input { border-color: #b4533f; }
.field .msg { font-size: 12px; color: #d2735e; }
.field input, .field textarea { scroll-margin-top: 110px; }

.error-fallback { min-height: 100svh; display: flex; align-items: center; padding: 120px 0; background: radial-gradient(circle at 50% 0, rgba(201,162,75,.12), transparent 42%), var(--bg); }
.error-fallback .shell { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.error-fallback h1 { font-size: clamp(42px, 7vw, 82px); }
.error-fallback p { color: var(--text-2); font-size: 18px; }
.error-fallback a:not(.btn) { color: var(--gold); font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav, .hdr-phone, .hdr-cta { display: none; }
  .burger { display: block; }
  .sticky-actions { display: grid; }
  .float-quote { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2){ border-right: none; }
  .stat:nth-child(1),.stat:nth-child(2){ border-bottom: 1px solid var(--hair); }
  .footer .cta-strip { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  body { padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--hair); }
}
