/* CS Cleaning Services — Stylesheet */

:root {
  --navy: #121f41;
  --navy-light: #1c2c54;
  --navy-lighter: #24356b;
  --gold: #b8965b;
  --gold-light: #d4b57e;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #2c3348;
  --text-muted: #5b6178;
  --border: #e6e2d8;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(18, 31, 65, 0.08);
  --shadow-lg: 0 30px 70px rgba(18, 31, 65, 0.16);
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.3px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head.center .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.section-head.center .eyebrow::before,
.section-head.center .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.section-head.center .eyebrow::after { background: linear-gradient(to left, transparent, var(--gold)); }

.divider {
  position: relative;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 22px 0 26px;
}
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.divider.center { margin-left: auto; margin-right: auto; }

.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 4px; letter-spacing: 0.2px; }
.section-head p { color: var(--text-muted); font-size: 17px; margin-top: 14px; }

section { padding: 112px 0; }
@media (max-width: 768px) { section { padding: 72px 0; } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(184,150,91,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(184,150,91,0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; padding: 14px 26px; width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116px;
  max-width: 1320px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 92px; width: auto; flex-shrink: 0; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 20px; margin-left: 24px; flex-shrink: 0; }

.header-phone {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
}
.header-phone span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }

.nav-toggle-label {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
  padding: 12px;
  margin: -12px;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 1240px) {
  .header-phone { display: none; }
  .main-nav {
    position: absolute;
    top: 116px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li { width: 100%; border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 16px 0; }
  .nav-toggle:checked ~ .main-nav { max-height: 400px; }
  .nav-toggle-label { display: block; }
}

@media (max-width: 480px) {
  .site-header .container { height: 92px; }
  .brand img { height: 68px; }
  .header-cta { display: none; }
  .main-nav { top: 92px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 100px;
  overflow: hidden;
  background-image:
    radial-gradient(rgba(184,150,91,0.35) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -10px -10px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, var(--navy) 45%, rgba(18,31,65,0.75) 100%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 90px 0 70px; } }

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 480px; margin-bottom: 36px; }

.hero-art { display: flex; justify-content: center; }
.hero-logo-card {
  background: var(--cream);
  border: 1px solid rgba(212,181,126,0.45);
  border-radius: 10px;
  padding: 52px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
.hero-logo-card img { width: 100%; height: auto; display: block; }

@media (max-width: 480px) {
  .hero-logo-card { padding: 30px; max-width: 280px; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--cream);
  padding: 46px 0;
  border-bottom: 1px solid var(--border);
  background-image: radial-gradient(rgba(184,150,91,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; text-align: center; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trust-item svg { width: 32px; height: 32px; color: var(--gold); }
.trust-item span { font-size: 13.5px; font-weight: 600; color: var(--navy); letter-spacing: 0.3px; }

/* ---------- Badge pill ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(212,181,126,0.5);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.badge-pill svg { width: 14px; height: 14px; }

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .about .container { grid-template-columns: 1fr; gap: 40px; } }
.about-art svg { width: 100%; height: auto; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 16.5px; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.about-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h3 { color: var(--white); font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 28px; }
.cta-banner .btn-row { justify-content: center; }

.cta-banner.alt { background: var(--cream); color: var(--navy); }
.cta-banner.alt h3 { color: var(--navy); }
.cta-banner.alt p { color: var(--text-muted); }

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-of-type { border-bottom: none; }
.service-row.reverse .service-art { order: 2; }
.service-row.reverse .service-copy { order: 1; }
@media (max-width: 850px) {
  .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-row.reverse .service-art, .service-row.reverse .service-copy { order: initial; }
}

.service-art {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.service-art::before,
.service-art::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
}
.service-art::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.service-art::after { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.service-art svg { width: 62%; height: auto; color: var(--navy); }

.service-number {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}
.service-copy h3 { font-size: 26px; margin-bottom: 0; }
.service-copy p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; }
.service-copy .btn { margin-top: 6px; }

/* ---------- Service accordion ---------- */
.service-details summary {
  cursor: pointer;
  list-style: none;
  outline: none;
}
.service-details summary::marker,
.service-details summary::-webkit-details-marker {
  display: none;
  content: '';
}

.service-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chevron {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.service-details[open] .chevron { transform: rotate(180deg); }

.service-teaser {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 10px 0 0;
}
.service-details[open] summary .service-teaser { display: none; }

.service-details summary:hover h3 { color: var(--gold); }

.service-details-body {
  padding-top: 16px;
  animation: serviceReveal 0.35s ease;
}
@keyframes serviceReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .service-details-body { animation: none; }
}

/* ---------- Service tiles (homepage overview) ---------- */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 850px) { .service-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-tiles { grid-template-columns: 1fr; } }

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.25s ease;
}
.service-tile:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-tile-icon { width: 40px; height: 40px; color: var(--navy); }
.service-tile-icon svg { width: 100%; height: 100%; }
.service-tile h3 { font-size: 19px; margin: 0; }
.service-tile .tile-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--gold);
}
.service-tile:hover .tile-link { color: var(--navy); }

.services-more { text-align: center; margin-top: 44px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 76px 0 64px;
  text-align: center;
  background-image: radial-gradient(rgba(184,150,91,0.35) 1px, transparent 1px);
  background-size: 26px 26px;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 6px; }
.page-hero .divider { margin-left: auto; margin-right: auto; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
@media (max-width: 850px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
.process-step { text-align: left; }
.process-step .num {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.process-step h4 { font-size: 18px; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 15px; }

.process {
  background: var(--cream);
  background-image: radial-gradient(rgba(184,150,91,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.testimonials-summary { text-align: center; margin: -34px 0 46px; }
.testimonials-summary .stars { width: 132px; height: 22px; margin: 0 auto 10px; }
.testimonials-summary p { color: var(--text-muted); font-size: 15px; }

.testimonial-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.testimonial-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 36px 32px;
  flex: 1 1 420px;
  max-width: calc(50% - 14px);
  box-shadow: var(--shadow);
}
@media (max-width: 760px) { .testimonial-card { max-width: 100%; } }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--serif);
  font-size: 76px;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}

.stars { display: block; width: 108px; height: 18px; color: var(--gold); fill: currentColor; margin-bottom: 16px; }

.testimonial-card .quote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 22px;
}

.testimonial-author { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 16px; }
.testimonial-author .name { font-family: var(--serif); font-size: 16px; color: var(--navy); }
.testimonial-author .meta { font-size: 12.5px; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; }

.testimonials-more { text-align: center; margin-top: 40px; }
.testimonials-more a { font-size: 14px; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.testimonials-more a:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact .section-head p { color: rgba(255,255,255,0.75); }
.contact .section-head h2 { color: var(--white); }
.contact .eyebrow { color: var(--gold-light); }

.contact-grid { display: block; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 950px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-card svg { width: 26px; height: 26px; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.contact-card h4 { color: var(--white); font-size: 16px; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: rgba(255,255,255,0.78); font-size: 15px; }
.contact-card a:hover { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: #0d1730; color: rgba(255,255,255,0.65); padding: 50px 0 26px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 34px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h5 { color: var(--white); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-links ul { list-style: none; display: grid; gap: 10px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,0.45); }

/* ---------- Legal pages ---------- */
.legal-page { padding: 70px 0 100px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 34px; margin-bottom: 30px; }
.legal-page h2 { font-size: 20px; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 15.5px; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; }
.legal-page a.inline-link { color: var(--gold); text-decoration: underline; }
.legal-note {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 34px;
  border-radius: var(--radius);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--gold);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 26px; height: 26px; }
