/* ==========================================================================
   JZDJ Property Cleaning Services — stylesheet
   Blue & white theme
   ========================================================================== */

:root {
  --blue-900: #06304f;
  --blue-800: #0a4374;
  --blue-700: #0e59a0;
  --blue-600: #1471c4;
  --blue-500: #2f8ae0;
  --blue-100: #e8f1fb;
  --blue-50: #f4f9fe;
  --white: #ffffff;
  --gray-700: #445064;
  --gray-500: #6b7686;
  --gray-200: #e3e8ee;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(6, 48, 79, 0.10);
  --shadow-sm: 0 2px 10px rgba(6, 48, 79, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--blue-900); margin: 0 0 .5em; line-height: 1.25; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--blue-700);
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary {
  background: var(--blue-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-800); border-color: var(--blue-800); }
.btn-outline {
  background: transparent;
  color: var(--blue-700);
}
.btn-outline:hover { background: var(--blue-100); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-900);
  color: var(--blue-100);
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--white); }
.topbar .topbar-left span { margin-right: 18px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--blue-800);
}
.logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.logo small {
  display: block;
  font-size: .62rem;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  font-weight: 600;
  color: var(--blue-900);
  font-size: .95rem;
  padding: 6px 0;
}
nav.main-nav a:hover { color: var(--blue-600); }
nav.main-nav li.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 260px;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.dropdown li a:hover { background: var(--blue-50); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--blue-900); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700) 70%);
  color: var(--white);
  padding: 70px 0 90px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: var(--white); font-size: 2.6rem; }
.hero p.lead { color: var(--blue-100); font-size: 1.1rem; max-width: 480px; }
.hero .hero-badges {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero .hero-badges span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
}
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: var(--white); color: var(--white); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.12); }

.hero-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  color: var(--gray-700);
}
.hero-panel h3 { font-size: 1.15rem; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--blue-100);
  padding: 50px 0;
  text-align: center;
}
.page-header h1 { margin-bottom: 6px; }
.page-header .crumb { color: var(--gray-500); font-size: .9rem; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  color: var(--blue-600);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .78rem;
}
.bg-tint { background: var(--blue-50); }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.why-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.why-card h4 { font-size: 1rem; }
.why-card p { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-thumb {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
}
.service-body { padding: 20px; }
.service-body h3 { font-size: 1.05rem; }
.service-body p { font-size: .9rem; color: var(--gray-500); }
.service-body a.more { color: var(--blue-700); font-weight: 700; font-size: .85rem; }

/* ---------- Service detail rows (services.html) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: flex-start;
  padding: 34px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-row:last-child { border-bottom: none; }
.service-row .service-icon-lg {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
}
.service-row ul.bullets { margin-top: 10px; }
.service-row ul.bullets li {
  padding-left: 22px;
  position: relative;
  font-size: .92rem;
  margin-bottom: 6px;
}
.service-row ul.bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-600);
  font-weight: 800;
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  border-left: 4px solid var(--blue-600);
}
.testi-card p { font-style: italic; color: var(--gray-700); }
.testi-card .who { font-weight: 700; color: var(--blue-800); margin-top: 10px; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--blue-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .98rem;
}
.faq-q .chev { transition: transform .2s ease; color: var(--blue-600); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
  font-size: .92rem;
  color: var(--gray-500);
}
.faq-item.open .faq-a { max-height: 240px; padding: 0 22px 20px; }

/* ---------- Areas list ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
}
.areas-grid li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: .92rem;
}

/* ---------- Contact / quote form ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 6px;
  color: var(--blue-900);
}
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--gray-700);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.form-note { font-size: .8rem; color: var(--gray-500); margin-top: 14px; }
#form-status { margin-top: 14px; font-size: .9rem; font-weight: 600; }
#form-status.success { color: #157a3d; }
#form-status.error { color: #b3261e; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.contact-info-card {
  text-align: center;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--blue-50);
}
.contact-info-card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.contact-info-card h4 { font-size: .95rem; }
.contact-info-card p { font-size: .88rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue-900);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--blue-100); max-width: 560px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--blue-900);
  color: var(--blue-100);
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; }
.footer-grid p, .footer-grid li { font-size: .87rem; color: var(--blue-100); margin-bottom: 8px; }
.footer-grid a:hover { color: var(--white); }
.footer-logo { color: var(--white); font-weight: 800; font-size: 1.4rem; margin-bottom: 10px; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(232,241,251,.7);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .why-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .service-icon-lg { width: 90px; height: 90px; font-size: 1.8rem; }
}
@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .why-grid, .services-grid { grid-template-columns: 1fr; }
}
