/* =================================================================
   GC Cleaning — Site Stylesheet
   =================================================================
   QUICK EDIT GUIDE:
   - Change brand colors:    update the values in :root (next block).
   - Change fonts:           update --font-heading and --font-body.
   - Change spacing:         update --container-max and --section-py.
   - Buttons / cards / etc:  scroll to the matching section name.
   ================================================================= */


/* =================================================================
   1. DESIGN TOKENS  (edit colors and fonts here)
   ================================================================= */
:root {
  /* Brand palette */
  --color-blue-dark:   #1F4E79;   /* Primary deep blue (buttons, headings, footer) */
  --color-blue:        #2E78B7;   /* Logo blue (medium) */
  --color-blue-light:  #5DADE2;   /* Light accent blue (hover, links) */
  --color-blue-pale:   #EAF4FB;   /* Pale background tint */
  --color-white:       #FFFFFF;
  --color-bg:          #FFFFFF;   /* Page background */
  --color-bg-alt:      #F6FAFD;   /* Alternating section background */

  /* Text */
  --color-text:        #1F2937;
  --color-text-soft:   #4B5563;
  --color-text-muted:  #6B7280;

  /* Borders & shadows */
  --color-border:      #E5E7EB;
  --shadow-sm:         0 1px 2px rgba(31, 78, 121, 0.06);
  --shadow-md:         0 6px 18px rgba(31, 78, 121, 0.08);
  --shadow-lg:         0 12px 32px rgba(31, 78, 121, 0.12);

  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max:  1160px;
  --container-pad:  24px;
  --section-py:     88px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
}


/* =================================================================
   1.b ACCESSIBILITY — Skip-to-content link
   Hidden until keyboard focus reveals it (WCAG best practice).
   ================================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-blue-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  transition: top .15s;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
  outline: 3px solid var(--color-blue-light);
}

/* Visible focus ring for keyboard nav */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-blue-light);
  outline-offset: 2px;
}

/* =================================================================
   2. BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-blue-light); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-blue-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text); }
p  { margin: 0 0 1em; color: var(--color-text-soft); }

ul, ol { margin: 0 0 1em; padding-left: 1.25rem; color: var(--color-text-soft); }
ul li, ol li { margin-bottom: .35em; }


/* =================================================================
   3. LAYOUT HELPERS
   ================================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--color-bg-alt); }
.narrow { max-width: 760px; margin: 0 auto; }
.section-header { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-cta { text-align: center; margin-top: 40px; }


/* =================================================================
   4. HEADER & NAV
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-blue-dark);
}
/* Logo is horizontal — auto width keeps proportions, height anchors layout */
.logo-img      { height: 56px; width: auto; max-width: 260px; object-fit: contain; display: block; }
.logo-img-sm   { height: 56px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 12px; display: block; }
/* The horizontal logo already includes the "GC Cleaning" wordmark, so hide the duplicate text span */
.logo-text     { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  color: var(--color-text);
}
.nav-links a:hover { color: var(--color-blue); }
.nav-links a.active { color: var(--color-blue-dark); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-blue-dark);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}


/* =================================================================
   5. BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s, background .15s, border .15s, color .15s, box-shadow .15s;
  font-size: .95rem;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm  { padding: 8px 16px;  font-size: .88rem; }
.btn-lg  { padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--color-blue-dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-blue); color: #fff; box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
}
.btn-secondary:hover { background: var(--color-blue-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
}
.btn-outline:hover { background: var(--color-blue-dark); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-light:hover { background: #fff; color: var(--color-blue-dark); border-color: #fff; }

.btn-light {
  background: #fff;
  color: var(--color-blue-dark);
}
.btn-light:hover { background: var(--color-blue-pale); }


/* =================================================================
   6. HERO
   ================================================================= */
.hero {
  background: linear-gradient(180deg, var(--color-blue-pale) 0%, var(--color-white) 100%);
  padding: 88px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--color-blue);
  margin-bottom: 14px;
}
.hero-copy h1 { margin-bottom: 20px; }
.lede {
  font-size: 1.12rem;
  color: var(--color-text-soft);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .82rem;
  color: var(--color-blue-dark);
  box-shadow: var(--shadow-sm);
}
.hero-visual { display: flex; justify-content: center; width: 100%; }
.hero-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-blue-pale) 0%, #FFFFFF 100%);
  border: 1px solid rgba(31, 78, 121, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-placeholder svg { width: 100%; height: 100%; display: block; }
.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


/* =================================================================
   7. OFFER STRIP
   ================================================================= */
.offer-strip {
  background: var(--color-blue-dark);
  color: #fff;
  padding: 16px 0;
}
.offer-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.offer-strip p { margin: 0; color: #fff; }
.offer-strip strong { color: #fff; }


/* =================================================================
   8. CARDS (Why us + Service preview)
   ================================================================= */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card, .service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.card:hover, .service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-blue-pale);
  color: var(--color-blue-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.service-card h3 { color: var(--color-blue-dark); margin-bottom: 8px; }
.service-card p  { margin: 0; font-size: .95rem; }


/* =================================================================
   9. AREA GRID
   ================================================================= */
.area-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}
.area-grid li {
  background: var(--color-blue-pale);
  color: var(--color-blue-dark);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  font-size: .95rem;
}
.area-block { margin-bottom: 56px; }
.area-block:last-child { margin-bottom: 0; }
.area-desc { color: var(--color-text-muted); margin-bottom: 6px; }


/* =================================================================
   10. PAGE HEADERS
   ================================================================= */
.page-header {
  background: linear-gradient(180deg, var(--color-blue-pale) 0%, var(--color-white) 100%);
  padding: 80px 0 48px;
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header h1 { max-width: 880px; margin: 0 auto 16px; }
.page-header .lede { max-width: 680px; margin: 0 auto; }


/* =================================================================
   11. SERVICES LIST (detail page)
   ================================================================= */
.services-list { display: grid; gap: 32px; }
.service-detail {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-sm);
}
.service-detail h2 { font-size: 1.5rem; margin-bottom: 10px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
  color: var(--color-text-soft);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-blue-pale);
  border: 2px solid var(--color-blue);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 4px; top: 14px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--color-blue-dark);
  border-bottom: 2px solid var(--color-blue-dark);
  transform: rotate(-45deg);
}
.best-for {
  background: var(--color-blue-pale);
  border-left: 4px solid var(--color-blue);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 18px;
  color: var(--color-text);
  font-size: .95rem;
}


/* =================================================================
   12. CONTACT
   ================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: grid; gap: 28px; }
.info-block h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--color-blue);
  margin-bottom: 8px;
}
.big-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-blue-dark);
}
.big-link:hover { color: var(--color-blue-light); }
.muted { color: var(--color-text-muted); font-size: .92rem; margin: 4px 0 0; }
.link-arrow {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-blue-dark);
}
.social-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.contact-form h2 { margin-bottom: 4px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-text);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(46,120,183,.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-fineprint {
  color: var(--color-text-muted);
  font-size: .85rem;
  text-align: center;
  margin: 0;
}


/* =================================================================
   13. CTA SECTION (bottom of pages)
   ================================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue) 100%);
  color: #fff;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.85); }
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}


/* =================================================================
   14. FOOTER
   ================================================================= */
.site-footer {
  background: #0F2A47;
  color: #C7D9EA;
  padding: 64px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a { color: #C7D9EA; }
.site-footer a:hover { color: #fff; }
.footer-brand p { color: #97AEC9; margin: 0; font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid #1B3A5B;
  padding-top: 20px;
  font-size: .82rem;
  color: #6B89A8;
  text-align: center;
}


/* =================================================================
   15. RESPONSIVE
   ================================================================= */
@media (max-width: 960px) {
  :root { --section-py: 64px; }
  .hero-grid,
  .contact-grid,
  .cta-grid       { grid-template-columns: 1fr; }
  .cards-3        { grid-template-columns: 1fr; }
  .cards-4        { grid-template-columns: repeat(2, 1fr); }
  .area-grid      { grid-template-columns: repeat(3, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .cta-actions    { justify-content: flex-start; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s, transform .15s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero { padding: 56px 0 40px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .service-detail { padding: 28px 24px; }
}
