/* Sofa Cleaning Service — Cleaningbd.com */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3459;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --wa: #25d366;
  --ink: #1b2533;
  --muted: #5b6676;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 40, 80, .08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- top + header */
.topbar { background: var(--primary-dark); color: #dbe7f5; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 6px 16px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }

.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.brand-text strong { display: block; font-size: 1.08rem; line-height: 1.1; }
.brand-text small { color: var(--muted); font-size: .8rem; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.primary-nav a { white-space: nowrap; display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.primary-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.head-call { background: var(--accent); color: #1b1300; font-weight: 700; padding: 10px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.head-call:hover { background: var(--accent-dark); color: #1b1300; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------------------------------------------------------------- hero */
.hero { background: linear-gradient(160deg, #eaf2fb 0%, #fff 70%); padding: 32px 0 40px; border-bottom: 1px solid var(--line); }
.hero-slim { padding: 28px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5em; }
.hero-bn { color: var(--muted); font-size: 1.05rem; margin-top: -.3em; }
.lede { font-size: 1.12rem; color: #2d3a4b; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hero-facts { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: .9rem; }
.hero-facts strong { display: block; color: var(--primary); }
.hero-media .photo { margin: 0; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .1s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-call { background: var(--primary); color: #fff; }
.btn-call:hover { background: var(--primary-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1da851; color: #fff; }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-block { display: flex; width: 100%; margin-bottom: 8px; }

/* ---------------------------------------------------------------- bands + layout */
.band { padding: 48px 0; }
.band-alt { background: var(--bg-alt); }
.band-tight { padding: 28px 0; }
.section-head { max-width: 760px; margin-bottom: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split-rev > :first-child { order: 2; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 32px; padding-bottom: 40px; }
.content > section, .content > .photo, .content > .callout { margin-bottom: 30px; }

/* ---------------------------------------------------------------- photos */
.photo { margin: 0 0 24px; }
.photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-alt); }
.photo figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.photo-wide img { aspect-ratio: 16 / 6; }
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-row .photo { margin: 0; }

/* ---------------------------------------------------------------- cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.card-title { font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.card-bn { color: var(--muted); font-size: .88rem; }
.card-text { font-size: .93rem; color: #3b4757; }
.card-grid-compact .card-text { display: none; }
.card-grid-compact .card-body { padding: 10px 12px 12px; }
.card-grid-compact .card-title { font-size: .95rem; }

/* ---------------------------------------------------------------- lists */
.check-list, .problem-list, .why-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .problem-list li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px dashed var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #e2f6ea; color: #16803c; font-weight: 700; display: grid; place-items: center; font-size: .8rem; }
.problem-list li::before { content: "!"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff1dc; color: var(--accent-dark); font-weight: 800; display: grid; place-items: center; font-size: .8rem; }
.why-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.process { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process li { display: flex; gap: 14px; padding: 12px 0; }
.process h3 { margin: 0 0 .2em; }
.process p { margin: 0; color: #3b4757; }
.step-no { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.guidance dt { font-weight: 700; color: var(--primary); margin-top: 12px; }
.guidance dd { margin: 4px 0 0; }
.callout { background: #fff8eb; border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; }
.callout p:last-child { margin: 0; }
.more-link { font-weight: 600; }

.area-links { list-style: none; padding: 0; margin: 0 0 14px; columns: 3; column-gap: 20px; }
.area-links li { break-inside: avoid; padding: 3px 0; font-size: .95rem; }
.zone-h { margin-top: 18px; color: var(--muted); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zone h2, .zone h3 { font-size: 1.05rem; color: var(--primary); }
.zone ul { list-style: none; padding: 0; margin: 0; }
.zone li { padding: 3px 0; font-size: .95rem; }
.guide-links li { padding: 4px 0; }

.chips-block { margin: 30px 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; color: var(--ink); }
.chips a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------------------------------------------------------------- FAQ + CTA */
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: #3b4757; }
.cta { background: linear-gradient(135deg, var(--primary) 0%, #1767ad 100%); color: #fff; border-radius: 18px; padding: 30px 28px; margin: 34px 0; }
.cta h2 { color: #fff; }
.cta p { color: #dbe7f5; }
.cta .btn-call { background: var(--accent); color: #1b1300; }
.cta-meta { font-size: .88rem; margin: 0; }

/* ---------------------------------------------------------------- sidebar */
.sidebar { position: relative; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.side-book { position: sticky; top: 90px; box-shadow: var(--shadow); }
.side-h { font-weight: 700; font-size: 1.08rem; color: var(--primary); margin-bottom: .4em; }
.side-book p { font-size: .93rem; color: #3b4757; }
.side-ticks { list-style: none; padding: 0; margin: 10px 0 0; font-size: .9rem; }
.side-ticks li::before { content: "✓ "; color: #16803c; font-weight: 700; }
.side-links { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.side-links li { padding: 4px 0; border-bottom: 1px solid var(--bg-alt); }
.side-links a { text-decoration: none; }
.side-links .is-current a { font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------- breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.big-phone { font-size: 2rem; font-weight: 800; margin: 0; }
.big-phone a { text-decoration: none; }
address { font-style: normal; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: #0b1d30; color: #b9c6d6; padding: 44px 0 90px; margin-top: 40px; font-size: .93rem; }
.site-foot a { color: #e3ecf6; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 28px; }
.foot-brand { color: #fff; font-weight: 700; font-size: 1.15rem; }
.foot-brand small { color: #b9c6d6; font-weight: 400; }
.foot-h { color: #fff; font-size: 1rem; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { padding: 3px 0; }
.foot-base { border-top: 1px solid #1f3550; margin-top: 28px; padding-top: 18px; font-size: .85rem; }

.wa-float { position: fixed; right: 18px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; }
.wa-float:hover { color: #fff; }
.mobile-bar { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .zone-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; order: 3; margin-left: 8px; }
  .head-call { margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: 8px 16px 14px; }
  .primary-nav a { padding: 12px 6px; font-size: 1rem; border-bottom: 1px solid var(--bg-alt); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .layout { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .hero-media { order: -1; }
  .side-book { position: static; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .area-links { columns: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-inner span { display: none; }
  .head-call { display: none; }
  .nav-toggle { margin-left: auto; }
  .topbar-inner { justify-content: center; }
  .hero { padding: 20px 0 28px; }
  .band { padding: 34px 0; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .gallery-row { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .area-links { columns: 1; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .cta { padding: 24px 18px; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
  .mobile-bar a { padding: 14px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; }
  .mb-call { background: var(--primary); }
  .mb-wa { background: var(--wa); }
}
