/* ---- Section wrapper ---- */
.sitemap-section {
  padding: 40px 0 140px;
  background:var(--bg);
  position: relative;
  overflow: hidden;
}

/* Decorative city skyline — top-right corner */
.sitemap-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 260' fill='none'%3E%3Cg opacity='0.18' stroke='%236B48D8' stroke-width='1.2'%3E%3C!-- Trees --%3E%3Ccircle cx='30' cy='200' r='14' /%3E%3Cline x1='30' y1='214' x2='30' y2='230' /%3E%3Ccircle cx='58' cy='196' r='10' /%3E%3Cline x1='58' y1='206' x2='58' y2='230' /%3E%3Ccircle cx='80' cy='202' r='12' /%3E%3Cline x1='80' y1='214' x2='80' y2='230' /%3E%3C!-- Small houses --%3E%3Crect x='100' y='190' width='28' height='40' rx='1'/%3E%3Cpolyline points='100,190 114,175 128,190'/%3E%3Crect x='108' y='208' width='12' height='22'/%3E%3Crect x='134' y='195' width='22' height='35' rx='1'/%3E%3Cpolyline points='134,195 145,183 156,195'/%3E%3Crect x='140' y='212' width='10' height='18'/%3E%3C!-- Mid buildings --%3E%3Crect x='162' y='170' width='32' height='60' rx='1'/%3E%3Crect x='168' y='176' width='8' height='8'/%3E%3Crect x='180' y='176' width='8' height='8'/%3E%3Crect x='168' y='190' width='8' height='8'/%3E%3Crect x='180' y='190' width='8' height='8'/%3E%3Crect x='168' y='204' width='8' height='8'/%3E%3Crect x='180' y='204' width='8' height='8'/%3E%3Crect x='170' y='218' width='14' height='12'/%3E%3Crect x='198' y='160' width='28' height='70' rx='1'/%3E%3Crect x='203' y='166' width='6' height='6'/%3E%3Crect x='213' y='166' width='6' height='6'/%3E%3Crect x='203' y='178' width='6' height='6'/%3E%3Crect x='213' y='178' width='6' height='6'/%3E%3Crect x='203' y='190' width='6' height='6'/%3E%3Crect x='213' y='190' width='6' height='6'/%3E%3Crect x='203' y='202' width='6' height='6'/%3E%3Crect x='213' y='202' width='6' height='6'/%3E%3Crect x='205' y='216' width='14' height='14'/%3E%3C!-- Tall buildings --%3E%3Crect x='232' y='130' width='34' height='100' rx='1'/%3E%3Crect x='238' y='136' width='7' height='7'/%3E%3Crect x='250' y='136' width='7' height='7'/%3E%3Crect x='238' y='150' width='7' height='7'/%3E%3Crect x='250' y='150' width='7' height='7'/%3E%3Crect x='238' y='164' width='7' height='7'/%3E%3Crect x='250' y='164' width='7' height='7'/%3E%3Crect x='238' y='178' width='7' height='7'/%3E%3Crect x='250' y='178' width='7' height='7'/%3E%3Crect x='238' y='192' width='7' height='7'/%3E%3Crect x='250' y='192' width='7' height='7'/%3E%3Crect x='240' y='210' width='18' height='20'/%3E%3Crect x='272' y='110' width='40' height='120' rx='1'/%3E%3Crect x='278' y='116' width='8' height='8'/%3E%3Crect x='292' y='116' width='8' height='8'/%3E%3Crect x='278' y='130' width='8' height='8'/%3E%3Crect x='292' y='130' width='8' height='8'/%3E%3Crect x='278' y='144' width='8' height='8'/%3E%3Crect x='292' y='144' width='8' height='8'/%3E%3Crect x='278' y='158' width='8' height='8'/%3E%3Crect x='292' y='158' width='8' height='8'/%3E%3Crect x='278' y='172' width='8' height='8'/%3E%3Crect x='292' y='172' width='8' height='8'/%3E%3Crect x='278' y='186' width='8' height='8'/%3E%3Crect x='292' y='186' width='8' height='8'/%3E%3Crect x='282' y='204' width='20' height='26'/%3E%3C!-- Tallest tower --%3E%3Crect x='320' y='80' width='44' height='150' rx='1'/%3E%3Cline x1='342' y1='80' x2='342' y2='60'/%3E%3Ccircle cx='342' cy='58' r='3'/%3E%3Crect x='326' y='88' width='8' height='8'/%3E%3Crect x='340' y='88' width='8' height='8'/%3E%3Crect x='326' y='102' width='8' height='8'/%3E%3Crect x='340' y='102' width='8' height='8'/%3E%3Crect x='326' y='116' width='8' height='8'/%3E%3Crect x='340' y='116' width='8' height='8'/%3E%3Crect x='326' y='130' width='8' height='8'/%3E%3Crect x='340' y='130' width='8' height='8'/%3E%3Crect x='326' y='144' width='8' height='8'/%3E%3Crect x='340' y='144' width='8' height='8'/%3E%3Crect x='326' y='158' width='8' height='8'/%3E%3Crect x='340' y='158' width='8' height='8'/%3E%3Crect x='326' y='172' width='8' height='8'/%3E%3Crect x='340' y='172' width='8' height='8'/%3E%3Crect x='330' y='196' width='24' height='34'/%3E%3C!-- Ground line --%3E%3Cline x1='0' y1='230' x2='380' y2='230' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* ---- Hero / title area ---- */
.sitemap-hero {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.sitemap-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.sitemap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sitemap-divider span {
  display: block;
  height: 1.5px;
  width: 50px;
  background: linear-gradient(90deg, transparent, #c9b8f5);
}

.sitemap-divider span:last-child {
  background: linear-gradient(90deg, #c9b8f5, transparent);
}

.sitemap-divider-icon {
  color: var(--gold);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SVG leaf/diamond decoration */
.sitemap-divider-icon svg {
  width: 16px;
  height: 16px;
}

.sitemap-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* ---- Container ---- */
.sitemap-section .container {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Outer grid ---- */
.sitemap-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
}

/* ---- Cards shared ---- */
.sitemap-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(107, 72, 216, 0.07);
  transition: box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sitemap-card:hover {
  box-shadow: 0 8px 32px rgba(107, 72, 216, 0.13);
}

/* Card header row */
.sitemap-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
}

.sitemap-card-icon {
  width: 42px;
  height: 42px;
  background: var(--purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sitemap-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sitemap-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  margin: 0;
  border: none;
  padding: 0;
}

/* ---- Main Pages ---- */
.sitemap-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;

  background-image: url("../images/skyline.png") ;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  

filter:
  brightness(0)
  saturate(100%)
  invert(35%)
  sepia(18%)
  saturate(1250%)
  hue-rotate(238deg)
  brightness(92%)
  contrast(90%);
  opacity: 1;
  pointer-events: none;
}

.sitemap-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-main li {
  margin-bottom: 4px;
}

.sitemap-main li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sitemap-main li a:hover {
  color: var(--purple);
  background: var(--purple-pale);
  padding-left: 16px;
}

/* Arrow chevron */
.sitemap-main li a::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #a898e0;
  border-top: 2px solid #a898e0;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.sitemap-main li a:hover::before {
  border-color: var(--purple);
}

/* ---- Solutions card ---- */
.sitemap-solutions {
  display: flex;
  flex-direction: column;
}

.sitemap-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}

/* Each sub-group */
.sitemap-group {
  position: relative;
}

.sitemap-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sitemap-group-icon {
  width: 34px;
  height: 34px;
  background: var(--purple-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sitemap-group-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sitemap-group h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin: 0;
}

.sitemap-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-group li {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bullet dot */
.sitemap-group li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c4b8f0;
  flex-shrink: 0;
  transition: background 0.2s;
}

.sitemap-group li:hover::before {
  background: var(--purple);
}

.sitemap-group li a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 0.2s;
}

.sitemap-group li a:hover {
  color: var(--purple);
}

/* ---- Legal card ---- */
.sitemap-legal {
  grid-column: 1 / -1;
}

.sitemap-legal ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-legal li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #faf9ff;
  transition: all 0.2s ease;
}

.sitemap-legal li a:hover {
  background: var(--purple-pale);
  border-color: #a898e0;
  color: var(--purple);
}

/* Shield icon for legal links */
.sitemap-legal-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sitemap-legal-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 991px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
.sitemap-legal {
    grid-column: auto;
  }
  .sitemap-solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .sitemap-section {
    padding: 80px 0 50px;
  }
  .sitemap-section::after {
    display: none;
  }
  .sitemap-title {
    font-size: 34px;
  }
  .sitemap-subtitle {
    font-size: 15px;
  }

  .sitemap-hero {
    margin-bottom: 36px;
  }

  .sitemap-card {
    padding: 22px 20px;
  }

  .sitemap-solutions-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sitemap-legal ul {
    flex-direction: column;
    gap: 12px;
  }

  .sitemap-legal li a {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sitemap-title {
    font-size: 28px;
  }

  .sitemap-card-header h3 {
    font-size: 17px;
  }
}
/* ---- Cityscape parallax layers ---- */

.sitemap-section {
  padding: 40px 0 150px;      
  background: var(--bg);
  position: relative;
  overflow: visible;   
}

/* ── Cityscape container ── */
.sitemap-cityscape-layers {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 101%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Keep cards above cityscape ── */
.sitemap-section .container {
  position: relative;
  z-index: 2;
}

/* ── Layer images — same colour filter as faq-cityscape ── */
.sitemap-cityscape-layers .layer {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: auto;
  display: block;

  filter:
    brightness(0)
    saturate(100%)
    invert(7%)
    sepia(42%)
    saturate(2600%)
    hue-rotate(236deg)
    brightness(0.82);
}

.sitemap-cityscape-layers .layer.skyline      { z-index: 1; opacity: 0.90; }
.sitemap-cityscape-layers .layer.towers-mid   { z-index: 2; opacity: 0.75; }
.sitemap-cityscape-layers .layer.towers-front { z-index: 3; opacity: 0.9;  left: 480px; }
.sitemap-cityscape-layers .layer.towers-fill  { z-index: 3; opacity: 0.9;  left: -560px; }
.sitemap-cityscape-layers .layer.trees        { z-index: 4; opacity: 1; }

/* ── Mobile: match faq responsive tweaks ── */
@media (max-width: 480px) {
  .sitemap-cityscape-layers .layer.towers-front { left: 60px; }
  .sitemap-cityscape-layers .layer.towers-fill  { left: 50px; }
}
@media (max-width: 767px){

  .sitemap-main::after{
    display: none;
  }

}
/* Mobile Sitemap Cityscape */

@media (max-width: 767px){

  .sitemap-section{
    padding: 80px 0 80px;
    overflow: hidden;
  }

  .sitemap-cityscape-layers{
    width: 100%;
    height: 120px;
    overflow: hidden;
  }

  .sitemap-cityscape-layers .layer{
    width: 100%;
    max-width: 100%;
    left: 0 !important;
    bottom: -5px;
  }

  .sitemap-cityscape-layers .layer.skyline{
    opacity: 1;
  }

  .sitemap-cityscape-layers .layer.towers-mid{
    opacity: 1;
  }

  .sitemap-cityscape-layers .layer.towers-front{
    width: 140%;
    left: -20% !important;
    opacity: 1;
  }
  .sitemap-cityscape-layers .layer.towers-fill{
    display: none;
  }

  .sitemap-cityscape-layers .layer.trees{
    opacity: .8;
  }

}