/* =========================================================
   GLOBAL RESET & VARIABLES
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #101112;
  --bg-card: #111214;
  --bg-subtle: #141517;
  --border-color: rgba(255, 255, 255, 0.1);
  --amber: #e59914;
  --amber-light: #f5ab2b;
  --text-white: #ffffff;
  --text-muted: #b4b7ba;
  /* Typography Variables */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-btn: 'Raleway', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-muted);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common Typography & Highlights */
.section-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--amber);
  flex-shrink: 0;
}
.section-eyebrow {
  font-family: var(--font-btn); /* Raleway */
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  word-break: break-word;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-white);
  margin-bottom: 18px;
  word-break: break-word;
}
@media (min-width: 480px) {
  .section-heading {
    font-size: 30px;
  }
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 38px;
    margin-bottom: 22px;
  }
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: 42px;
  }
}
.text-amber {
  color: var(--amber);
}

/* Specific Headings updated to Raleway */
.service-title,
.feature-box h3,
.neighborhood-card h3,
.process-title,
.faq-question {
  font-family: var(--font-btn); /* Raleway */
}

/* Author Name in Reviews */
.author-name {
  font-family: var(--font-display);
}

/* =========================================================
   BUTTONS (FONT: RALEWAY)
   ========================================================= */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
@media (min-width: 540px) {
  .btn-group {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  background-color: var(--amber);
  color: #101112;
  font-family: var(--font-btn);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: background-color 0.15s ease, transform 0.1s ease;
  text-align: center;
}
.btn-primary:hover {
  background-color: var(--amber-light);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  font-family: var(--font-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: background-color 0.15s ease;
  text-align: center;
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.arrow-icon, .phone-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* =========================================================
   SECTION 1: HERO
   ========================================================= */
#location-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 153, 20, 0.2);
  background-color: #101112;
  padding: 56px 0 64px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  #location-hero {
    padding: 90px 0 100px;
    min-height: 620px;
  }
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  pointer-events: none;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(16, 17, 18, 0.98) 0%,
    rgba(16, 17, 18, 0.94) 40%,
    rgba(16, 17, 18, 0.72) 75%,
    rgba(16, 17, 18, 0.35) 100%
  );
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(16, 17, 18, 0.96) 0%,
      rgba(16, 17, 18, 0.92) 100%
    );
  }
}
#location-hero .container {
  position: relative;
  z-index: 10;
}
.hero-content {
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}
.breadcrumb a:hover,
.breadcrumb span.last{
  color: var(--text-white);
}
.hero-content .section-heading {
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-white);
}
.hero-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .hero-text {
    font-size: 16.5px;
  }
}
.hero-footnote {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   SECTION 2: TRUST BADGES
   ========================================================= */
#trust-badges {
  background-color: #0d0e0f;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 12px;
}
@media (min-width: 600px) {
  .trust-badges-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
}
@media (min-width: 1024px) {
  .trust-badges-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
}
.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.badge-icon {
  width: 28px;
  height: 28px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .badge-icon {
    width: 32px;
    height: 32px;
  }
}
.badge-text {
  font-family: var(--font-btn); /* Raleway */
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  line-height: 1.35;
}

/* =========================================================
   SECTION 3: SERVICES OVERVIEW
   ========================================================= */
#services-overview {
  padding: 56px 0;
}
@media (min-width: 768px) {
  #services-overview {
    padding: 80px 0;
  }
}
.services-header {
  max-width: 760px;
  margin-bottom: 36px;
}
.services-grid {
  display: grid;
  gap: 36px 24px !important;
  grid-template-columns: 1fr;
}
@media (min-width: 580px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
}
.service-img-wrap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--bg-card);
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: transparent !important;
  transform: translateY(0px) !important;
  box-shadow: none !important;
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.03);
}
.service-accent-line {
  width: 36px;
  height: 1px;
  background-color: var(--amber);
  margin-bottom: 12px;
}
.service-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
  margin-bottom: 10px;
}
.service-title a:hover {
  color: var(--amber);
}
.service-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  font-family: var(--font-btn);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.services-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.services-footer p {
  margin-bottom: 18px;
  font-size: 14.5px;
}
.services-footer a.inline-link {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   SECTION 4: LOCAL HOMES
   ========================================================= */
#local-homes {
  background-color: var(--bg-subtle);
  padding: 56px 0;
}
@media (min-width: 768px) {
  #local-homes {
    padding: 80px 0;
  }
}
.local-homes-layout {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .local-homes-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-box {
  border-left: 1px solid rgba(229, 153, 20, 0.4);
  padding-left: 18px;
}
.feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
  margin-bottom: 8px;
}
.feature-box p {
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   SECTION 5: NEIGHBORHOODS
   ========================================================= */
#neighborhoods {
  border-bottom: 1px solid var(--border-color);
  padding: 56px 0;
}
@media (min-width: 768px) {
  #neighborhoods {
    padding: 80px 0;
  }
}
.neighborhoods-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .neighborhoods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.neighborhood-card {
  border-top: 1px solid rgba(229, 153, 20, 0.4);
  padding-top: 18px;
}
.neighborhood-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
  margin-bottom: 10px;
}
.neighborhood-card p {
  font-size: 13.5px;
  line-height: 1.7;
}

/* =========================================================
   SECTION 6: WHY DILEO
   ========================================================= */
#why-dileo {
  background-color: var(--bg-subtle);
  padding: 56px 0;
}
@media (min-width: 768px) {
  #why-dileo {
    padding: 80px 0;
  }
}
.why-layout {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .why-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
  }
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(229, 153, 20, 0.4);
  padding-top: 24px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
}
.check-icon {
  width: 18px;
  height: 18px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2.5;
  margin-top: 3px;
  flex-shrink: 0;
}
.why-list a {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   SECTION 7: REVIEWS CAROUSEL
   ========================================================= */
#customer-reviews {
  background-color: #08090a;
  padding: 60px 0;
  color: #f4f2ed;
}
@media (min-width: 768px) {
  #customer-reviews {
    padding: 80px 0;
  }
}
.reviews-header {
  text-align: center;
  margin-bottom: 32px;
}
.reviews-header p {
  max-width: 580px;
  margin: 12px auto 0;
  font-size: 13.5px;
  line-height: 1.65;
}
.carousel-container {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.review-slide {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid #292c2e;
  border-radius: 10px;
  padding: 24px 18px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .review-slide {
    padding: 36px 32px;
    min-height: 350px;
  }
}
@media (min-width: 768px) {
  .review-slide {
    padding: 44px;
    min-height: 370px;
  }
}
.quote-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  stroke: rgba(229, 153, 20, 0.2);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}
@media (min-width: 640px) {
  .quote-icon {
    width: 40px;
    height: 40px;
    top: 24px;
    right: 24px;
  }
}
.star-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star-icon {
  width: 18px;
  height: 18px;
  fill: var(--amber);
  stroke: var(--amber);
}
.review-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: #e2e1dc;
  margin-bottom: 24px;
  word-break: break-word;
}
@media (min-width: 640px) {
  .review-text {
    font-size: 18.5px;
  }
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 540px) {
  .review-author {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #f4f2ed;
}
.author-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #a0a3a4;
  margin-top: 2px;
}
.verified-tag {
  font-family: var(--font-btn);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  background-color: rgba(229, 153, 20, 0.1);
  border: 1px solid rgba(229, 153, 20, 0.3);
  padding: 5px 10px;
  border-radius: 4px;
  align-self: flex-start;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.nav-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #333638;
  background: transparent;
  color: #f4f2ed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.nav-arrow-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #3b3e40;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.carousel-dot.active {
  width: 22px;
  background-color: var(--amber);
}
.more-reviews-link {
  text-align: center;
  margin-top: 20px;
}
.more-reviews-link a {
  font-family: var(--font-btn);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================
   SECTION 8: PROCESS
   ========================================================= */
#process {
  background-color: #f4f2ed;
  border-top: 1px solid #e6e2db;
  border-bottom: 1px solid #e6e2db;
  padding: 56px 0;
  color: #242729;
}
@media (min-width: 768px) {
  #process {
    padding: 80px 0;
  }
}
#process .section-eyebrow {
  color: #76500c;
}
#process .section-heading {
  color: #242729;
}
.process-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.process-card {
  background: #ffffff;
  border-top: 2px solid #dc970d;
  border-radius: 3px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(30, 25, 10, 0.05);
}
.process-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: #9c6b10;
  display: block;
}
.process-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #242729;
  margin: 12px 0 8px;
}
.process-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #565a5c;
}
.process-footnote {
  margin-top: 24px;
  font-size: 13px;
  color: #565a5c;
  line-height: 1.6;
}

/* =========================================================
   SECTION 9: FINISH CARPENTRY
   ========================================================= */
#finish-carpentry {
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
}
#finish-carpentry a {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   SECTION 10: FAQS
   ========================================================= */
#faqs {
  padding: 56px 0;
}
@media (min-width: 768px) {
  #faqs {
    padding: 80px 0;
  }
}
.faq-container {
  max-width: 860px;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
@media (min-width: 640px) {
  .faq-question {
    font-size: 16.5px;
  }
}
.faq-icon {
  width: 18px;
  height: 18px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}
.faq-answer-inner {
  font-family: var(--font-sans);
  padding-bottom: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}
.faq-answer a {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* =========================================================
   SECTION 11: GET STARTED (FINAL CTA)
   ========================================================= */
#get-started {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(229, 153, 20, 0.3);
  border-bottom: 1px solid rgba(229, 153, 20, 0.3);
  padding: 56px 0;
}
@media (min-width: 768px) {
  #get-started {
    padding: 80px 0;
  }
}
.cta-container {
  max-width: 860px;
}
.cta-list {
  margin-bottom: 24px;
  list-style-type: disc;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.75;
}
.cta-list a {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}