/* Home Cleaning Dallas TX — site styles */
:root {
  --primary: #0e7490;
  --primary-dark: #155e75;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f0f9fa;
  --border: #e2e8f0;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; max-width: 1100px; margin: 0 auto; gap: 16px;
}
.brand {
  font-size: 1.25rem; font-weight: 800; color: var(--primary-dark);
  text-decoration: none; letter-spacing: -.02em; line-height: 1.2;
}
.brand span { color: var(--accent-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

.main-nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--primary); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dark); }

.header-phone {
  font-weight: 700; color: var(--primary-dark); text-decoration: none;
  white-space: nowrap; font-size: .97rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #0891b2 100%);
  color: #fff; padding: 72px 0 80px; text-align: center;
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.hero p.sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 720px; margin: 0 auto 30px; opacity: .95; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 30px; border-radius: 999px; font-size: 1.05rem; transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-teal { background: var(--primary); color: #fff; }
.btn-teal:hover { background: var(--primary-dark); }

.trust-bar { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 36px; font-size: .95rem; }
.trust-bar li { list-style: none; display: flex; align-items: center; gap: 8px; opacity: .95; }

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Cards grid */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(14,116,144,.10); transform: translateY(-2px); }
.card .icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card a.more { display: inline-block; margin-top: 12px; color: var(--primary); font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

/* Steps */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { text-align: center; padding: 20px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* Testimonials */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testimonial .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial blockquote { font-size: .98rem; margin-bottom: 14px; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--primary-dark); font-size: .92rem; }

/* Service areas */
.areas ul { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; justify-content: center; max-width: 860px; margin: 0 auto; }
.areas li { background: #fff; border: 1px solid var(--border); padding: 8px 18px; border-radius: 999px; font-size: .95rem; color: var(--ink); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.02rem; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 22px; color: var(--primary); font-size: 1.3rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--primary-dark); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { opacity: .92; margin-bottom: 26px; }

/* Forms */
.form-wrap { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
label { font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
button[type="submit"] {
  width: 100%; background: var(--accent); color: #fff; border: 0; cursor: pointer;
  padding: 15px; border-radius: 999px; font-size: 1.08rem; font-weight: 800; transition: background .2s;
}
button[type="submit"]:hover { background: var(--accent-dark); }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* Service detail sections */
.service-detail { display: grid; gap: 40px; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.service-block { border-left: 4px solid var(--primary); padding-left: 24px; }
.service-block h2 { font-size: 1.4rem; margin-bottom: 10px; }
.service-block p { color: var(--muted); margin-bottom: 12px; }
.service-block ul { margin: 0 0 12px 20px; color: var(--muted); }
.service-block li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 52px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 36px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 22px; text-align: center; color: #94a3b8; font-size: .85rem; }

/* Sticky mobile call button */
.mobile-call {
  display: none; position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 90;
  background: var(--accent); color: #fff; text-align: center; text-decoration: none;
  font-weight: 800; padding: 15px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: 14px 24px; }
  .nav-cta { border-radius: 0; margin: 8px 24px; text-align: center; border-radius: 999px; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-call { display: block; }
  body { padding-bottom: 70px; }
}
