/* ========================================
   CITY PAGES — Shared Styles
   Extracted from inline <style> blocks + new sections
   ======================================== */

/* --- Comparison Slider --- */
.compare-slider { position: relative; overflow: hidden; border-radius: 14px; max-width: 960px; margin: 0 auto; height: 420px; cursor: ew-resize; user-select: none; }
.compare-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-slider__after { clip-path: inset(0 0 0 50%); }
.compare-slider__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #C5A059; z-index: 10; transform: translateX(-50%); }
.compare-slider__handle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #C5A059; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.compare-slider__handle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }
.compare-slider__label { position: absolute; bottom: 14px; z-index: 5; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 14px; border-radius: 6px; }
.compare-slider__label--before { left: 14px; background: rgba(21,21,23,0.85); color: #fff; }
.compare-slider__label--after { right: 14px; background: #C5A059; color: #151517; }

/* --- Highlights Bar --- */
.ver-d-highlight-bar { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; padding: 1.75rem 2rem; background: #C5A059; }
.ver-d-highlight { display: flex; align-items: baseline; gap: 0.5rem; }
.ver-d-highlight-val { font-family: 'Montserrat', sans-serif; font-size: 1.75rem; font-weight: 900; color: #151517; }
.ver-d-highlight-label { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(21,21,23,0.6); text-transform: uppercase; letter-spacing: 0.1em; }

/* --- Testimonial Cards --- */
.ver-d-testimonial-card { background: #1e1e20; padding: 2rem; border-radius: 12px; flex: 1; }

/* --- Gallery Thumbnails --- */
.gallery-thumbs { display: flex; gap: 0.75rem; margin-top: 2rem; justify-content: center; flex-wrap: wrap; }
.gallery-thumb { width: 140px; height: 100px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(197,160,89,0.3); cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.gallery-thumb:hover { border-color: #C5A059; transform: translateY(-2px); }

/* --- Lightbox --- */
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10000; display: none; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 32px; cursor: pointer; font-family: sans-serif; z-index: 10001; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(197,160,89,0.15); border: 2px solid rgba(197,160,89,0.4); color: #C5A059; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; z-index: 10001; font-family: sans-serif; line-height: 1; }
.lightbox-arrow:hover { background: rgba(197,160,89,0.3); border-color: #C5A059; }
.lightbox-arrow--left { left: 1.5rem; }
.lightbox-arrow--right { right: 1.5rem; }

/* --- Dark Service Cards Override --- */
[data-section="services"] .service-card {
  background: #1a1a1c;
  border: 1px solid rgba(197,160,89,0.2);
  border-left: 4px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
[data-section="services"] .service-card:hover {
  border-color: rgba(197,160,89,0.2);
  border-left-color: #C5A059;
  box-shadow: 0 4px 30px rgba(197,160,89,0.12);
}
[data-section="services"] .service-card__title { color: #fff; }
[data-section="services"] .service-card__desc { color: rgba(255,255,255,0.6); }

/* --- Related Services (Version B) --- */
.rs-b { padding: 5rem 0; background: #F5F2ED; }
.rs-b__inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.rs-b__heading { font-family: 'Montserrat', sans-serif; font-size: 1.75rem; font-weight: 800; color: #211F20; margin: 0 0 0.5rem 0; }
.rs-b__sub { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: #888; margin: 0 0 2.5rem 0; }
.rs-b__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rs-b__card { text-decoration: none; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; }
.rs-b__card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.rs-b__img { width: 100%; height: 160px; object-fit: cover; display: block; }
.rs-b__body { padding: 1.5rem 1.5rem 1.75rem; }
.rs-b__title { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 800; color: #211F20; margin: 0 0 0.5rem 0; }
.rs-b__desc { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: #777; line-height: 1.65; margin: 0 0 1.25rem 0; }
.rs-b__link { display: inline-flex; align-items: center; gap: 0.35rem; font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; color: #C5A059; text-transform: uppercase; letter-spacing: 0.1em; }

/* ========================================
   NEW SECTIONS — Neighborhoods, Climate, Community, Nearby Areas
   ======================================== */

/* --- Neighborhoods We Serve --- */
.city-neighborhoods {
  padding: 5rem 0;
  background: #F5F3EF;
}
.city-neighborhoods__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.city-neighborhoods__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.city-neighborhoods__text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #211F20;
  margin: 0 0 0.5rem 0;
}
.city-neighborhoods__text .eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C1852C;
  margin-bottom: 0.75rem;
}
.city-neighborhoods__text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin: 1rem 0 0 0;
}
.city-neighborhoods__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-neighborhoods__list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(123,117,54,0.15);
}
.city-neighborhoods__list li:last-child {
  border-bottom: none;
}
.city-neighborhoods__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #211F20;
  white-space: nowrap;
  min-width: 160px;
}
.city-neighborhoods__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* --- Climate & Your Roof --- */
.city-climate {
  padding: 5rem 0;
  background: #151517;
}
.city-climate__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.city-climate__eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #C5A059;
  margin-bottom: 0.75rem;
}
.city-climate__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3rem 0;
}
.city-climate__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.city-climate__card {
  background: #1e1e20;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: left;
  border-top: 3px solid #C5A059;
}
.city-climate__stat {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #C5A059;
  margin: 0 0 0.25rem 0;
}
.city-climate__factor {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1rem 0;
}
.city-climate__detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}

/* --- Case Study Details --- */
.case-study-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem;
  background: #1e1e20;
  border-radius: 12px;
  border-left: 4px solid #C5A059;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.case-study-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.case-study-detail__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C5A059;
}
.case-study-detail__value {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

/* --- Community Connection --- */
.city-community {
  padding: 5rem 0;
  background: #fff;
}
.city-community__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.city-community__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.city-community__text .eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7B7536;
  margin-bottom: 0.75rem;
}
.city-community__text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #211F20;
  margin: 0 0 1.25rem 0;
}
.city-community__text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}
.city-community__text p:last-child {
  margin-bottom: 0;
}
.city-community__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: #F5F3EF;
  border-radius: 8px;
  border-left: 4px solid #7B7536;
}
.city-community__stat-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #7B7536;
}
.city-community__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #666;
}
.city-community__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* --- Nearby Service Areas --- */
.city-nearby {
  padding: 3rem 0;
  background: #F5F3EF;
  border-top: 1px solid rgba(123,117,54,0.15);
}
.city-nearby__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.city-nearby__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #211F20;
  margin: 0 0 1.25rem 0;
}
.city-nearby__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.city-nearby__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #211F20;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(123,117,54,0.2);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.city-nearby__link:hover {
  border-color: #C1852C;
  box-shadow: 0 2px 12px rgba(193,133,44,0.12);
}
.city-nearby__link svg {
  color: #C1852C;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .compare-slider { height: 260px; }
  .compare-slider__label { font-size: 12px; }
  .ver-d-highlight-bar { gap: 1.5rem; }
  .gallery-thumb { width: 100px; height: 72px; }
  .lightbox-arrow { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-arrow--left { left: 0.75rem; }
  .lightbox-arrow--right { right: 0.75rem; }
  .rs-b__grid { grid-template-columns: 1fr; }
  .city-neighborhoods__grid { grid-template-columns: 1fr; }
  .city-neighborhoods__name { min-width: auto; }
  .city-neighborhoods__text h2,
  .city-climate__heading,
  .city-community__text h2 { font-size: 1.5rem; }
  .city-climate__cards { grid-template-columns: 1fr; }
  .city-climate__card { padding: 2rem 1.5rem; }
  .city-climate__stat { font-size: 2rem; }
  .city-community__grid { grid-template-columns: 1fr; }
  .city-community__img { height: 240px; }
  .case-study-details { grid-template-columns: 1fr; }
}

/* Numbered items (01-04) use inline font-size: 3.5rem — override on mobile */
@media (max-width: 768px) {
  span[style*="font-size: 3.5rem"] {
    font-size: 2.5rem !important;
    min-width: 56px !important;
  }
}

@media (max-width: 480px) {
  .ver-d-highlight-bar { gap: 1rem; padding: 1.25rem 1rem; }
  .ver-d-highlight-val { font-size: 1.4rem; }
  .city-neighborhoods__text h2,
  .city-climate__heading,
  .city-community__text h2 { font-size: 1.35rem; }
  .city-climate__stat { font-size: 1.75rem; }
  .city-climate__card { padding: 1.5rem 1.25rem; }
  .rs-b__heading { font-size: 1.5rem; }
  span[style*="font-size: 3.5rem"] {
    font-size: 2rem !important;
    min-width: 48px !important;
  }
}
