
:root {
  --navy-deep:  #060d18;
  --navy:       #0b1628;
  --navy-mid:   #111f35;
  --navy-card:  #0f1c30;
  --navy-hover: #13223d;
  --teal:       #0bbcd6;
  --teal-dim:   #0891b2;
  --teal-pale:  #67e8f9;
  --teal-glow:  rgba(11,188,214,.15);
  --green:      #10b981;
  --green-dim:  rgba(16,185,129,.12);
  --amber:      #f59e0b;
  --amber-dim:  rgba(245,158,11,.12);
  --white:      #f8faff;
  --body-text:  #b8cee0;
  --muted:      #6a8aa4;
  --border:     rgba(11,188,214,.14);
  --border-sub: rgba(255,255,255,.06);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.7;
}
a { color:var(--teal-pale); text-decoration:none; transition:color .22s; }
a:hover { color:var(--teal); }

/* ══ NAV ══ */
.site-nav {
  position:sticky; top:0; z-index:200;
  background:rgba(6,13,24,.95); backdrop-filter:blur(24px);
  border-bottom:1px solid var(--border);
  padding:0 2.5rem;
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.nav-logo { font-family:'DM Sans',sans-serif; font-weight:600; font-size:1.2rem; color:var(--white); letter-spacing:-.01em; }
.nav-logo span { color:var(--teal); }
.nav-links { display:flex; gap:1.8rem; list-style:none; align-items:center; }
.nav-links a { color:var(--muted); font-size:.82rem; font-weight:400; letter-spacing:.04em; transition:color .22s; }
.nav-links a:hover { color:var(--white); }
.nav-btn { padding:.5rem 1.3rem; background:var(--teal); color:var(--navy-deep) !important; border-radius:6px; font-size:.82rem !important; font-weight:600 !important; transition:all .22s !important; }
.nav-btn:hover { background:var(--teal-pale) !important; transform:translateY(-1px); }

/* ══ BREADCRUMB ══ */
.breadcrumb {
  padding:.72rem 2.5rem;
  background:var(--navy); border-bottom:1px solid var(--border-sub);
  display:flex; align-items:center; gap:.5rem;
  font-size:.74rem; color:var(--muted);
}
.breadcrumb a { color:var(--muted); }
.breadcrumb a:hover { color:var(--teal-pale); }
.breadcrumb .sep { color:rgba(255,255,255,.14); }
.breadcrumb .current { color:var(--teal-pale); }

/* ══ PAGE HEADER ══ */
.page-header {
  background:linear-gradient(160deg, var(--navy) 0%, #0a1a2e 60%, var(--navy-deep) 100%);
  border-bottom:1px solid var(--border);
  padding:3.5rem 2.5rem 3rem;
  position:relative; overflow:hidden;
}
.page-header::before {
  content:''; position:absolute; top:-20%; right:-5%; width:50%; height:180%;
  background:radial-gradient(ellipse at center, rgba(11,188,214,.07) 0%, transparent 65%);
  pointer-events:none;
}
.ph-inner { max-width:1240px; margin:0 auto; position:relative; z-index:1; display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.ph-text {}
.ph-label {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.2rem .78rem; border-radius:20px;
  border:1px solid var(--border); background:rgba(11,188,214,.07);
  font-size:.67rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--teal-pale); margin-bottom:.9rem; font-weight:500;
}
.page-header h1 {
  font-family:'DM Serif Display',serif; font-weight:400;
  font-size:clamp(1.9rem,3.5vw,2.9rem); line-height:1.1; color:var(--white);
  margin-bottom:.5rem;
}
.page-header h1 em { font-style:italic; color:var(--teal-pale); }
.ph-desc { font-size:.88rem; color:var(--muted); max-width:520px; line-height:1.75; }
.ph-meta { display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.ph-stat {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:.7rem 1.2rem; background:rgba(11,188,214,.07); border:1px solid var(--border);
  border-radius:10px; min-width:80px;
}
.ph-stat-num { font-family:'DM Serif Display',serif; font-size:1.5rem; color:var(--white); line-height:1; margin-bottom:.18rem; }
.ph-stat-label { font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

/* ══ LEGEND ══ */
.legend {
  max-width:1240px; margin:1.8rem auto 0; padding:0 2.5rem;
  display:flex; gap:1.2rem; flex-wrap:wrap; align-items:center;
}
.legend-label { font-size:.74rem; color:var(--muted); letter-spacing:.06em; text-transform:uppercase; margin-right:.3rem; }
.badge {
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.2rem .7rem; border-radius:20px; font-size:.68rem;
  letter-spacing:.06em; text-transform:uppercase; font-weight:500;
}
.badge-live { background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.3); color:#34d399; }
.badge-new  { background:rgba(11,188,214,.1);  border:1px solid rgba(11,188,214,.28); color:var(--teal-pale); }
.badge-plan { background:rgba(245,158,11,.1);  border:1px solid rgba(245,158,11,.28); color:#fcd34d; }

/* ══ MAIN GRID ══ */
.sitemap-outer {
  max-width:1240px; margin:0 auto; padding:2.5rem 2.5rem 4rem;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem;
  align-items:start;
}

/* Section card */
.sm-section {
  background:var(--navy-card); border:1px solid var(--border-sub);
  border-radius:14px; overflow:hidden;
  transition:border-color .25s;
}
.sm-section:hover { border-color:var(--border); }

/* Section spanning 2 cols */
.sm-section.wide { grid-column:span 2; }

/* Section header */
.sm-head {
  padding:1.1rem 1.4rem;
  display:flex; align-items:center; gap:.75rem;
  border-bottom:1px solid var(--border-sub);
  background:rgba(11,188,214,.04);
}
.sm-icon { font-size:1.2rem; flex-shrink:0; }
.sm-title { font-family:'DM Serif Display',serif; font-weight:400; font-size:1rem; color:var(--white); line-height:1.2; }
.sm-count { margin-left:auto; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); flex-shrink:0; }

/* Link list */
.sm-links { padding:.6rem 0; list-style:none; }

.sm-link {
  display:flex; align-items:center; justify-content:space-between;
  padding:.48rem 1.4rem; transition:background .2s;
  gap:.8rem;
}
.sm-link:hover { background:var(--navy-hover); }

.sm-link-left { display:flex; align-items:center; gap:.65rem; min-width:0; flex:1; }
.sm-link-icon { font-size:.9rem; flex-shrink:0; opacity:.7; }
.sm-link-text {
  font-size:.84rem; color:var(--body-text); line-height:1.3;
  transition:color .22s; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.sm-link:hover .sm-link-text { color:var(--teal-pale); }
.sm-link-text a {
  color:var(--body-text); transition:color .22s;
}
.sm-link:hover .sm-link-text a { color:var(--teal-pale); }
.sm-link-text small { display:block; font-size:.74rem; color:var(--muted); font-weight:300; margin-top:.08rem; white-space:normal; }

.sm-link-right { display:flex; align-items:center; gap:.5rem; flex-shrink:0; }

/* Divider within a section */
.sm-divider { height:1px; background:var(--border-sub); margin:.4rem 1.4rem; }
.sm-sublabel {
  padding:.5rem 1.4rem .25rem;
  font-size:.65rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}

/* Quick-jump bar */
.jump-bar {
  max-width:1240px; margin:0 auto; padding:1.2rem 2.5rem 0;
  display:flex; gap:.5rem; flex-wrap:wrap; align-items:center;
}
.jump-label { font-size:.74rem; color:var(--muted); letter-spacing:.06em; text-transform:uppercase; margin-right:.3rem; }
.jump-btn {
  padding:.28rem .8rem; border-radius:20px;
  border:1px solid var(--border-sub); background:rgba(255,255,255,.03);
  font-size:.76rem; color:var(--muted); transition:all .22s; cursor:pointer;
}
.jump-btn:hover { border-color:var(--teal); color:var(--teal-pale); background:var(--teal-glow); }

/* ══ SITE FOOTER ══ */
.site-footer { background:var(--navy); border-top:1px solid var(--border); padding:3rem 2.5rem 1.5rem; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; padding-bottom:2rem; border-bottom:1px solid var(--border-sub); max-width:1240px; margin:0 auto; }
.footer-brand-logo { font-family:'DM Sans',sans-serif; font-weight:600; font-size:1.1rem; color:var(--white); margin-bottom:.4rem; }
.footer-brand-logo span { color:var(--teal); }
.footer-tagline { font-size:.8rem; color:var(--muted); line-height:1.75; max-width:260px; margin-bottom:1rem; }
.footer-phone { display:flex; align-items:center; gap:.5rem; font-size:.84rem; color:var(--body-text); }
.footer-phone a { color:var(--teal-pale); font-weight:500; }
.footer-col h4 { font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--teal); margin-bottom:.9rem; font-weight:600; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.4rem; }
.footer-col a { font-size:.82rem; color:var(--muted); transition:color .22s; }
.footer-col a:hover { color:var(--white); }
.footer-bottom { max-width:1240px; margin:1.2rem auto 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.8rem; font-size:.74rem; color:var(--muted); }
.footer-bottom a { color:var(--muted); transition:color .22s; }
.footer-bottom a:hover { color:var(--white); }
.footer-legal { display:flex; gap:1.5rem; }

/* ══ RESPONSIVE ══ */
@media(max-width:960px) {
  .site-nav { padding:0 1.5rem; }
  .nav-links { display:none; }
  .breadcrumb { padding:.65rem 1.5rem; }
  .page-header { padding:2.5rem 1.5rem 2rem; }
  .ph-inner { flex-direction:column; align-items:flex-start; gap:1.5rem; }
  .legend { padding:0 1.5rem; }
  .jump-bar { padding:1.2rem 1.5rem 0; }
  .sitemap-outer { grid-template-columns:1fr 1fr; padding:2rem 1.5rem 3rem; }
  .sm-section.wide { grid-column:span 2; }
  .footer-top { grid-template-columns:1fr 1fr; padding:2rem 0; gap:2rem; }
  .site-footer { padding:2.5rem 1.5rem 1.2rem; }
}
@media(max-width:600px) {
  .sitemap-outer { grid-template-columns:1fr; }
  .sm-section.wide { grid-column:span 1; }
  .footer-top { grid-template-columns:1fr; }
  .ph-meta { display:none; }
}

::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--navy-deep); }
::-webkit-scrollbar-thumb { background:var(--teal-dim); border-radius:3px; }
