/* ==========================================================================
   Golden Grace Carpet Cleaning — css/carpet-cleaning.css
   Dedicated styles for carpet-cleaning.html
   Palette: #0F3323 (Deep Forest), #092116 (Dark Forest), #FAF7F0 (Warm Cream),
            #D4AF37 (Metallic Gold), #B2C7B4 (Sage)
   ========================================================================== */

/* ---------------- 0. Flush Topbar & Header ---------------- */
.gg-topbar {
  background: #092116 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #0F3323;
  margin-bottom: 0 !important;
  border: none !important;
  box-shadow: none;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding-block: 0.9rem;
}

.gg-topbar ~ .site-header,
.gg-topbar + .site-header {
  top: 42px !important;
}

@media (max-width: 991px) {
  .gg-topbar ~ .site-header,
  .gg-topbar + .site-header {
    top: 36px !important;
  }
  .site-header {
    padding-block: 0.7rem;
  }
  .hamburger {
    position: relative !important;
    z-index: 1100 !important;
    pointer-events: auto !important;
  }
}

/* Non-scrolled header initial colors on service pages */
.site-header:not(.is-scrolled):not(.scrolled) .nav-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-header:not(.is-scrolled):not(.scrolled) .nav-item:hover,
.site-header:not(.is-scrolled):not(.scrolled) .nav-item.active,
.site-header:not(.is-scrolled):not(.scrolled) .nav-item.is-active {
  color: #FFFFFF !important;
}

.site-header .brand span {
  color: #D4AF37 !important;
}

.site-header .brand-sub {
  color: #C5A44E !important;
}

.site-header:not(.is-scrolled):not(.scrolled) .btn-nav-call {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Frosted sage-green scrolled header appearance */
body.has-scrolled .site-header,
.site-header.is-scrolled,
.site-header.scrolled {
  top: 0 !important;
  background: rgba(178, 199, 180, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px rgba(9, 33, 22, 0.12) !important;
  padding-block: 0.75rem !important;
}

@media (min-width: 992px) {
  body.has-scrolled .site-header .nav-item,
  .site-header.is-scrolled .nav-item,
  .site-header.scrolled .nav-item,
  body.has-scrolled .site-header .nav-dropdown-trigger,
  .site-header.is-scrolled .nav-dropdown-trigger,
  .site-header.scrolled .nav-dropdown-trigger {
    color: #0F3323 !important;
    font-weight: 600 !important;
  }

  body.has-scrolled .site-header .nav-item:hover,
  .site-header.is-scrolled .nav-item:hover,
  .site-header.scrolled .nav-item:hover,
  body.has-scrolled .site-header .nav-dropdown-trigger:hover,
  .site-header.is-scrolled .nav-dropdown-trigger:hover,
  .site-header.scrolled .nav-dropdown-trigger:hover {
    color: #1B4332 !important;
  }
}

body.has-scrolled .site-header .btn-nav-call,
.site-header.is-scrolled .btn-nav-call,
.site-header.scrolled .btn-nav-call {
  color: #0F3323 !important;
  border-color: rgba(15, 51, 35, 0.35) !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

body.has-scrolled .site-header .btn-nav-call svg,
.site-header.is-scrolled .btn-nav-call svg,
.site-header.scrolled .btn-nav-call svg {
  color: #0F3323 !important;
}

body.has-scrolled .site-header .hamburger,
.site-header.is-scrolled .hamburger,
.site-header.scrolled .hamburger {
  color: #0F3323 !important;
  border-color: rgba(15, 51, 35, 0.35) !important;
}

body.has-scrolled .site-header .hamburger span,
.site-header.is-scrolled .hamburger span,
.site-header.scrolled .hamburger span {
  background-color: #0F3323 !important;
}

/* ---------------- 1. Hero Section ---------------- */
.cc-hero {
  position: relative;
  background-color: #0F3323;
  background: radial-gradient(circle at 50% 25%, #184c36 0%, #0F3323 70%, #092116 100%);
  padding: 186px 0 72px;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

.cc-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.cc-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cc-hero .breadcrumb a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.cc-hero .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
}

.cc-hero .breadcrumb .current {
  color: #D4AF37;
  font-weight: 600;
}

.cc-hero h1 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.18;
  max-width: 980px;
  margin: 0 auto 1.25rem;
  letter-spacing: -0.01em;
}

.cc-hero .hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: rgba(250, 247, 240, 0.9);
  max-width: 780px;
  margin: 0 auto;
  font-weight: 400;
}

/* ---------------- 2. Intro + 2-Column Checklist Split Section ---------------- */
.cc-overview-band {
  background-color: #FFFFFF;
  padding: clamp(4rem, 6.5vw, 6rem) 0;
}

.cc-overview-band .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-intro-center {
  max-width: 780px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
  text-align: center;
}

.cc-intro-center p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 1.25rem 0;
}

.cc-intro-center p:last-child {
  margin-bottom: 0;
}

.cc-intro-center a {
  color: #0F3323;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cc-intro-center a:hover {
  color: #B8860B;
}

.cc-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .cc-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.cc-split-left .section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8860B;
  margin-bottom: 0.75rem;
}

.cc-split-left h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 700;
  color: #0F3323;
  line-height: 1.22;
  margin: 0 0 1.25rem 0;
}

.cc-split-left p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 1.25rem 0;
}

.cc-btn-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #D4AF37;
  color: #092116;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.cc-btn-jump svg {
  stroke: currentColor;
  color: #092116;
  transition: transform 0.2s ease;
}

.cc-btn-jump:hover {
  background-color: #c59f2e;
  color: #092116;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.cc-btn-jump:hover svg {
  transform: translateY(2px);
}

.cc-checklist-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 12px 36px rgba(15, 51, 35, 0.08);
  border: 1px solid rgba(15, 51, 35, 0.08);
}

.cc-checklist-card h3 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F3323;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}

.cc-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cc-checklist-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 51, 35, 0.07);
  font-size: 0.98rem;
  font-weight: 500;
  color: #1E293B;
}

.cc-checklist-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cc-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FAF0CC;
  color: #B8860B;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------------- 3. Info Context Band (#FAF7F0) ---------------- */
.cc-context-band {
  background-color: #FAF7F0;
  padding: clamp(3.5rem, 5vw, 4.5rem) 0;
  border-top: 1px solid rgba(15, 51, 35, 0.08);
}

.cc-context-band .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-context-box {
  max-width: 820px;
}

.cc-context-box h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  color: #0F3323;
  margin: 0 0 1.25rem 0;
}

.cc-context-box p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 1rem 0;
}

.cc-context-box p:last-child {
  margin-bottom: 0;
}

.cc-context-box a {
  color: #0F3323;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cc-context-box a:hover {
  color: #B8860B;
}

/* ---------------- 4. Dark Forest Green Info Banner ---------------- */
.cc-dark-banner {
  background-color: #0F3323;
  background: radial-gradient(circle at 50% 30%, #164631 0%, #0F3323 70%, #092116 100%);
  padding: clamp(3.75rem, 5.5vw, 5rem) 0;
  color: #FFFFFF;
}

.cc-dark-banner .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

@media (max-width: 860px) {
  .cc-dark-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.cc-dark-col h3 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

.cc-dark-col p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(250, 247, 240, 0.88);
  margin: 0 0 1rem 0;
}

.cc-dark-col a.dark-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D4AF37;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.cc-dark-col a.dark-banner-link:hover {
  color: #FFFFFF;
}

/* ---------------- 5. Embedded Multi-Step Carpet Cleaning Quote Form ---------------- */
.cc-booking-band {
  background-color: #FAF7F0;
  padding: clamp(4rem, 6.5vw, 6rem) 0;
  border-top: 1px solid rgba(15, 51, 35, 0.08);
}

.cc-booking-band .container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-booking-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  gap: 20px;
  flex-wrap: wrap;
}

.cc-booking-header h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #0F3323;
  margin: 0;
  line-height: 1.22;
}

.cc-booking-help {
  font-size: 0.96rem;
  color: #64748B;
  font-weight: 500;
}

.cc-booking-help a {
  color: #0F3323;
  font-weight: 700;
  text-decoration: none;
}

.cc-booking-help a:hover {
  color: #B8860B;
  text-decoration: underline;
}

/* ---------------- 6. FAQs Accordion Band ---------------- */
.cc-faqs-band {
  background-color: #FAF7F0;
  padding: clamp(4.5rem, 6.5vw, 6rem) 0;
  border-top: 1px solid rgba(15, 51, 35, 0.08);
}

.cc-faqs-band .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-faqs-band .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.25rem);
}

.cc-faqs-band h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #0F3323;
  line-height: 1.22;
  margin: 0 0 0.75rem 0;
}

.cc-faqs-band .section-lead {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.cc-faqs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cc-faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(15, 51, 35, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(9, 33, 22, 0.03);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cc-faq-item[open] {
  box-shadow: 0 8px 24px rgba(9, 33, 22, 0.08);
  border-color: #D4AF37;
}

.cc-faq-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0F3323;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.cc-faq-item summary::-webkit-details-marker {
  display: none;
}

.cc-faq-chevron {
  width: 20px;
  height: 20px;
  color: #D4AF37;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cc-faq-item[open] .cc-faq-chevron {
  transform: rotate(180deg);
}

.cc-faq-content {
  padding: 0 24px 22px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #475569;
}

/* ---------------- 7. Bottom CTA Banner ---------------- */
.cc-cta-banner {
  background-color: #0F3323;
  background: radial-gradient(circle at 80% 50%, #164631 0%, #0F3323 70%, #092116 100%);
  padding: clamp(3.5rem, 5vw, 4.75rem) 0;
  color: #FFFFFF;
}

.cc-cta-banner .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.cc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cc-cta-text {
  max-width: 680px;
}

.cc-cta-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 0.5rem;
}

.cc-cta-text h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', Georgia, serif);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 0.75rem 0;
}

.cc-cta-text p {
  font-size: 1.05rem;
  color: rgba(250, 247, 240, 0.9);
  line-height: 1.6;
  margin: 0;
}

.btn-cc-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #D4AF37;
  color: #092116;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 36px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cc-gold:hover {
  background-color: #E5C158;
  color: #092116;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.45);
}

@media (max-width: 768px) {
  .cc-hero {
    padding: 40px 16px 56px;
  }
}

@media (max-width: 767px) {
  .services-hero,
  .comm-hero,
  .res-hero,
  .eol-hero,
  .dc-hero,
  .rc-hero,
  .peri-hero,
  .wc-hero,
  .pc-hero,
  .cc-hero,
  .gdn-hero {
    padding-top: 156px !important;
    padding-bottom: 56px !important;
  }
}
