:root{
  /* Brand */
  --gold:#C88F2B;
  --gold-light:#e0ad52;
  --gold-dark:#9e6f1e;
  --navy:#12203a;

  /* Theme vars (light default) */
  --bg:#ffffff;
  --bg-alt:#f5f5f5;
  --bg-soft:#faf7f0;
  --text:#1a1a1a;
  --text-muted:#555;
  --text-soft:#888;
  --card:#ffffff;
  --card-border:#e7e2d6;
  --header-bg:rgba(255,255,255,.92);
  --shadow:0 8px 30px rgba(18,32,58,.08);
  --shadow-sm:0 3px 12px rgba(18,32,58,.07);
  --nav-hover:#f5f0e2;
  --input-bg:#fff;
  --input-border:#ddd6c6;
  --hero-overlay:rgba(255,255,255,.78);
  --footer-bg:#12203a;
  --footer-text:#dfe7f3;
  --footer-muted:#9fb0cc;
  --chip-bg:#f5f0e2;
  --toggle-track:#d8d2c2;
}
[data-theme="dark"]{
  --bg:#0d1424;
  --bg-alt:#141d33;
  --bg-soft:#111a2e;
  --text:#eef2f9;
  --text-muted:#b9c4d8;
  --text-soft:#8494ad;
  --card:#141d33;
  --card-border:#25304a;
  --header-bg:rgba(13,20,36,.9);
  --shadow:0 8px 30px rgba(0,0,0,.45);
  --shadow-sm:0 3px 12px rgba(0,0,0,.4);
  --nav-hover:#1c2a47;
  --input-bg:#0f1830;
  --input-border:#2c3a58;
  --hero-overlay:rgba(13,20,36,.8);
  --footer-bg:#0a0f1c;
  --footer-text:#dfe7f3;
  --footer-muted:#8494ad;
  --chip-bg:#1c2a47;
  --toggle-track:#3a4a6a;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);color:var(--text);
  line-height:1.6;transition:background .3s,color .3s;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,92%);margin:0 auto}

/* ---------- Header ---------- */
header.site{
  position:sticky;top:0;z-index:50;
  background:var(--header-bg);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--card-border);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px;gap:20px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.25rem;letter-spacing:.3px}
.brand .logo-img{height:40px;width:auto}
.brand .dot{color:var(--gold)}
.nav-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nav-links a{padding:9px 14px;border-radius:9px;font-size:.95rem;font-weight:600;color:var(--text);transition:.2s}
.nav-links a:hover{background:var(--nav-hover);color:var(--gold)}
.nav-right{display:flex;align-items:center;gap:14px}
.phone-badge{
  display:flex;align-items:center;gap:7px;font-weight:700;font-size:.92rem;color:var(--text);
  white-space:nowrap;
}
.phone-badge svg{width:16px;height:16px;color:var(--gold)}
.phone-badge a{color:var(--gold)}
.menu-toggle{display:none;background:none;border:none;font-size:1.5rem;color:var(--text);cursor:pointer}
@media(max-width:960px){
  .nav-links{display:none;position:absolute;top:76px;left:0;right:0;background:var(--bg);flex-direction:column;align-items:flex-start;padding:16px;gap:4px;border-bottom:1px solid var(--card-border)}
  .nav-links.open{display:flex}
  .menu-toggle{display:block}
  .phone-badge .num{display:none}
}

/* ---------- Theme toggle ---------- */
.theme-toggle{
  width:52px;height:28px;border-radius:20px;background:var(--toggle-track);
  border:none;cursor:pointer;position:relative;transition:.3s;flex-shrink:0;
}
.theme-toggle .knob{
  position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;
  background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.3);transition:.3s;
  display:flex;align-items:center;justify-content:center;font-size:13px;
}
[data-theme="dark"] .theme-toggle .knob{left:27px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;padding:13px 24px;border-radius:10px;
  font-weight:700;font-size:.98rem;border:none;cursor:pointer;transition:.25s;line-height:1;
}
.btn-gold{background:var(--gold);color:#fff}
.btn-gold:hover{background:var(--gold-dark);transform:translateY(-2px);box-shadow:0 8px 20px rgba(200,143,43,.4)}
.btn-ghost{background:transparent;color:var(--text);border:2px solid var(--card-border)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn-call{
  background:#22c55e;color:#fff;box-shadow:0 8px 24px rgba(34,197,94,.35);
}
.btn-call:hover{background:#16a34a;transform:translateY(-2px)}
.btn-call svg{width:18px;height:18px}
.btn-block{width:100%;justify-content:center}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:560px;display:flex;align-items:center;
  background:var(--bg-soft);overflow:hidden;
}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:var(--hero-overlay)}
.hero-inner{position:relative;z-index:2;padding:70px 0}
.hero h1{
  font-size:clamp(2rem,5vw,3.4rem);line-height:1.12;font-weight:800;
  max-width:760px;letter-spacing:-.5px;
}
.hero h1 .accent{color:var(--gold)}
.hero p{font-size:1.12rem;color:var(--text-muted);max-width:640px;margin:20px 0 30px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hero-stats{display:flex;gap:34px;margin-top:44px;flex-wrap:wrap}
.stat .num{font-size:1.7rem;font-weight:800;color:var(--gold)}
.stat .lbl{font-size:.88rem;color:var(--text-muted)}
.badge{display:inline-block;background:var(--chip-bg);color:var(--gold);padding:6px 14px;border-radius:30px;font-size:.85rem;font-weight:700;margin-bottom:18px}

/* ---------- Sections ---------- */
section{padding:72px 0}
.sec-alt{background:var(--bg-alt)}
.sec-head{text-align:center;max-width:700px;margin:0 auto 46px}
.sec-head .kicker{color:var(--gold);font-weight:700;letter-spacing:1.5px;text-transform:uppercase;font-size:.8rem}
.sec-head h2{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:800;margin-top:8px;letter-spacing:-.4px}
.sec-head p{color:var(--text-muted);margin-top:12px}

/* Services grid */
.grid{display:grid;gap:22px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:960px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.grid-3,.grid-4,.grid-2{grid-template-columns:1fr}}

.service-card{
  background:var(--card);border:1px solid var(--card-border);border-radius:16px;
  padding:28px;transition:.3s;display:flex;flex-direction:column;
}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:var(--gold)}
.service-card .ic{width:54px;height:54px;border-radius:13px;background:var(--chip-bg);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.service-card .ic img{width:30px;height:30px;object-fit:contain}
.service-card h3{font-size:1.15rem;font-weight:700;margin-bottom:9px}
.service-card p{color:var(--text-muted);font-size:.93rem;flex:1}
.service-card .link{margin-top:16px;color:var(--gold);font-weight:700;font-size:.9rem}

/* Feature list */
.features{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.feature{
  display:flex;gap:12px;align-items:flex-start;background:var(--card);
  border:1px solid var(--card-border);border-radius:12px;padding:16px;
}
.feature .tick{color:var(--gold);font-weight:800;font-size:1.1rem;line-height:1.3}
.feature b{display:block;font-size:.95rem}
.feature span{color:var(--text-muted);font-size:.86rem}

/* ---------- Callout / CTA ---------- */
.cta-band{background:linear-gradient(120deg,var(--gold),var(--gold-dark));border-radius:20px;padding:52px;color:#fff;text-align:center;position:relative;overflow:hidden}
.cta-band h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;margin-bottom:14px}
.cta-band p{opacity:.95;max-width:600px;margin:0 auto 26px}
.cta-band .btn{background:#fff;color:var(--gold-dark)}
.cta-band .btn:hover{background:#f5f0e2}

/* ---------- Contact form ---------- */
.form-wrap{background:var(--card);border:1px solid var(--card-border);border-radius:18px;padding:34px;box-shadow:var(--shadow-sm)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:640px){.form-row{grid-template-columns:1fr}}
.field{margin-bottom:16px}
.field label{display:block;font-weight:600;font-size:.88rem;margin-bottom:7px}
.field input,.field select,.field textarea{
  width:100%;padding:12px 14px;border-radius:10px;border:1px solid var(--input-border);
  background:var(--input-bg);color:var(--text);font-size:.95rem;transition:.2s;
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold)}
.field select{appearance:none}
.hint{font-size:.8rem;color:var(--text-soft);margin-top:5px}

/* ---------- Contact info cards ---------- */
.info-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-bottom:34px}
.info-card{background:var(--card);border:1px solid var(--card-border);border-radius:14px;padding:22px;text-align:center}
.info-card .ic{width:44px;height:44px;border-radius:11px;background:var(--chip-bg);margin:0 auto 12px;display:flex;align-items:center;justify-content:center}
.info-card .ic svg{width:20px;height:20px;color:var(--gold)}
.info-card b{display:block;margin-bottom:4px}
.info-card span{color:var(--text-muted);font-size:.9rem}

/* ---------- Footer ---------- */
footer{background:var(--footer-bg);color:var(--footer-text);padding:54px 0 26px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:36px;margin-bottom:36px}
@media(max-width:960px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr}}
.footer-col h4{color:#fff;font-size:1rem;margin-bottom:16px}
.footer-col p,.footer-col a{color:var(--footer-muted);font-size:.92rem;display:block;margin-bottom:9px}
.footer-col a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--footer-muted);font-size:.86rem}
.brand.invert{color:#fff}

/* ---------- Page hero (inner) ---------- */
.page-hero{background:var(--bg-soft);border-bottom:1px solid var(--card-border);padding:56px 0}
.page-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;max-width:800px;letter-spacing:-.5px}
.page-hero .crumbs{color:var(--gold);font-size:.88rem;font-weight:700;margin-bottom:10px}
.page-hero p{color:var(--text-muted);max-width:720px;margin-top:12px;font-size:1.05rem}

/* ---------- Two-col content ---------- */
.two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:44px;align-items:start}
@media(max-width:900px){.two-col{grid-template-columns:1fr}}
.prose h2{font-size:1.5rem;font-weight:800;margin:34px 0 14px;letter-spacing:-.3px}
.prose h3{font-size:1.15rem;font-weight:700;margin:22px 0 10px}
.prose p{color:var(--text-muted);margin-bottom:14px}
.prose ul{list-style:none;margin:10px 0 18px}
.prose ul li{padding:8px 0 8px 30px;position:relative;color:var(--text-muted);border-bottom:1px dashed var(--card-border)}
.prose ul li:last-child{border-bottom:none}
.prose ul li:before{content:"✓";position:absolute;left:0;color:var(--gold);font-weight:800}
.sticky-side{position:sticky;top:96px}
.side-card{background:var(--card);border:1px solid var(--card-border);border-radius:16px;padding:26px;box-shadow:var(--shadow-sm);margin-bottom:20px}
.side-card h3{font-size:1.05rem;font-weight:700;margin-bottom:14px}
.side-card .price{font-size:1.6rem;font-weight:800;color:var(--gold);margin-bottom:4px}
.side-card .price small{font-size:.9rem;color:var(--text-muted);font-weight:600}
.side-card ul{list-style:none}
.side-card ul li{padding:7px 0 7px 22px;position:relative;color:var(--text-muted);font-size:.92rem;border-bottom:1px dashed var(--card-border)}
.side-card ul li:last-child{border:none}
.side-card ul li:before{content:"•";position:absolute;left:6px;color:var(--gold);font-weight:800}

/* ---------- Stats band ---------- */
.stats-band{background:var(--footer-bg);color:#fff;padding:60px 0}
.stats-band .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
@media(max-width:800px){.stats-band .grid{grid-template-columns:repeat(2,1fr)}}
.stats-band .num{font-size:2.2rem;font-weight:800;color:var(--gold)}
.stats-band .lbl{color:var(--footer-muted);font-size:.92rem;margin-top:6px}

/* ---------- Misc ---------- */
.chip-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.chip{background:var(--chip-bg);color:var(--text);border:1px solid var(--card-border);padding:8px 16px;border-radius:30px;font-size:.88rem;font-weight:600}
.chip b{color:var(--gold)}
.center{text-align:center}
.mt{margin-top:24px}
.muted{color:var(--text-muted)}
.gold{color:var(--gold)}

/* ---------- VAPI call button (floating) ---------- */
.call-fab{
  position:fixed;right:22px;bottom:22px;z-index:100;
  display:flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;
  border:none;border-radius:50px;padding:15px 22px;font-weight:800;font-size:1rem;
  cursor:pointer;box-shadow:0 10px 30px rgba(34,197,94,.45);transition:.3s;
}
.call-fab:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(34,197,94,.55)}
.call-fab svg{width:20px;height:20px}
.call-fab .pulse{
  position:absolute;top:-4px;left:-4px;right:-4px;bottom:-4px;border-radius:50px;
  border:2px solid rgba(34,197,94,.6);animation:pulse 1.8s infinite;
}
.call-fab .pulse2{animation-delay:.9s}
@keyframes pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.25);opacity:0}}
.call-fab.ringing{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 10px 30px rgba(239,68,68,.45)}

/* Call status panel */
.call-panel{
  position:fixed;right:22px;bottom:88px;z-index:99;width:min(360px,92vw);
  background:var(--card);border:1px solid var(--card-border);border-radius:18px;
  box-shadow:var(--shadow);padding:22px;display:none;
}
.call-panel.open{display:block}
.call-panel .cp-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.call-panel .cp-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold-dark));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800}
.call-panel .cp-state{font-weight:700}
.call-panel .cp-sub{font-size:.82rem;color:var(--text-muted)}
.call-panel .cp-actions{display:flex;gap:10px;margin-top:14px}
.call-panel .cp-mic{font-size:.82rem;color:var(--text-muted);margin-top:10px;text-align:center}

/* CRM page */
.crm-wrap{max-width:1200px}
.crm-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:26px}
.crm-table{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--card-border);border-radius:14px;overflow:hidden}
.crm-table th{background:var(--chip-bg);text-align:left;padding:13px 14px;font-size:.82rem;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted)}
.crm-table td{padding:13px 14px;border-top:1px solid var(--card-border);font-size:.92rem;vertical-align:top}
.heat-bar{height:8px;border-radius:6px;background:var(--chip-bg);overflow:hidden;min-width:90px}
.heat-bar i{display:block;height:100%;border-radius:6px}
.heat-hot{color:#ef4444;font-weight:700}
.heat-warm{color:var(--gold);font-weight:700}
.heat-cool{color:#22c55e}
.empty-state{text-align:center;padding:50px;color:var(--text-muted)}
.timeline-chip{display:inline-block;padding:4px 10px;border-radius:20px;font-size:.8rem;font-weight:700}
.empty{color:var(--text-soft)}
