/*
Theme Name: MUF Cleaning
Theme URI: https://mufclenaing.pk
Author: MUF Cleaning
Author URI: https://mufclenaing.pk
Description: Custom one-page theme for MUF Cleaning — house & office cleaning in Karachi.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: muf-cleaning
*/

:root{
  --bg: #F6F7F4;
  --bg-alt: #EFF2EC;
  --ink: #12211D;
  --brand: #1F5C4E;
  --brand-dark: #143F35;
  --accent: #5FD1B3;
  --sand: #E8C9A0;
  --gold: #C99A3F;
  --card: #FFFFFF;
  --line: #DBE1DB;
  --muted: #58685F;
  --radius: 4px;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ background:var(--bg); color:var(--ink); font-family:'Manrope', sans-serif; font-size:16px; line-height:1.6; overflow-x:hidden; }
h1,h2,h3{ font-family:'Fraunces', serif; font-weight:500; line-height:1.1; letter-spacing:-0.01em; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }
.eyebrow{ font-family:'Space Mono', monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--brand); display:inline-flex; align-items:center; gap:10px; }
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--brand); display:inline-block; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
button, .btn{ font-family:'Manrope', sans-serif; font-weight:600; font-size:14.5px; cursor:pointer; border:none; border-radius:var(--radius); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary{ background:var(--brand); color:#fff; padding:14px 26px; display:inline-block; }
.btn-primary:hover{ background:var(--brand-dark); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); padding:14px 22px; border:1px solid var(--line); display:inline-block; }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }

/* HEADER */
header{ position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(246,247,244,0.9); backdrop-filter:blur(10px); border-bottom:1px solid transparent; transition:border-color .3s ease; }
header.scrolled{ border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.logo{ font-family:'Fraunces', serif; font-weight:600; font-size:21px; }
.logo span{ color:var(--brand); }
.nav-links{ display:flex; gap:30px; font-size:14px; font-weight:600; align-items:center; list-style:none; }
.nav-links a{ position:relative; padding:4px 0; }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--accent); transition:width .25s ease; }
.nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-phone{ font-weight:700; font-size:14.5px; white-space:nowrap; }
.menu-btn{ display:none; background:none; border:none; font-size:20px; }

/* HERO */
.hero{ padding:160px 0 0; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; padding-bottom:64px; }
.rating-pill{ display:inline-flex; align-items:center; gap:8px; background:var(--card); border:1px solid var(--line); border-radius:30px; padding:7px 16px; font-size:13.5px; font-weight:700; margin-bottom:22px; }
.rating-pill .stars{ color:var(--gold); letter-spacing:1px; }
.hero h1{ font-size:clamp(38px, 5vw, 62px); margin-bottom:20px; }
.hero p.sub{ font-size:17.5px; color:var(--muted); max-width:480px; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px; }
.badge-row{ display:flex; gap:24px; flex-wrap:wrap; font-size:13.5px; color:var(--muted); font-weight:600; }
.badge-row span{ display:flex; align-items:center; gap:7px; }
.badge-row svg{ width:16px; height:16px; color:var(--brand); flex-shrink:0; }
.hero-visual{ position:relative; aspect-ratio:4/5; border-radius:6px; overflow:hidden; background:linear-gradient(155deg, var(--brand-dark) 0%, var(--brand) 60%, #0F332B 100%); }
.hero-visual svg.pattern{ position:absolute; inset:0; width:100%; height:100%; opacity:0.4; }
.hero-stat-card{ position:absolute; left:20px; bottom:20px; right:20px; background:rgba(255,255,255,0.95); border-radius:5px; padding:18px 20px; display:flex; justify-content:space-between; gap:12px; }
.hero-stat-card div{ text-align:center; }
.hero-stat-card b{ font-family:'Fraunces', serif; font-size:22px; display:block; color:var(--brand-dark); }
.hero-stat-card span{ font-size:11px; text-transform:uppercase; letter-spacing:0.04em; color:var(--muted); }

/* TRUST STRIP */
.trust-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:36px 0; }
.trust-grid{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; }
.trust-item{ text-align:center; flex:1; min-width:140px; }
.trust-item b{ font-family:'Fraunces', serif; font-size:30px; display:block; color:var(--brand); }
.trust-item span{ font-size:13px; color:var(--muted); text-transform:uppercase; letter-spacing:0.04em; }

section{ padding:96px 0; }
.sec-head{ max-width:640px; margin-bottom:52px; }
.sec-head h2{ font-size:clamp(28px, 3.2vw, 40px); margin-top:14px; position:relative; display:inline-block; }
.sec-head h2 .streak{ position:absolute; left:0; bottom:-8px; height:4px; background:var(--accent); width:0; transition:width .8s cubic-bezier(.4,0,.2,1); }
.sec-head.in-view h2 .streak{ width:64px; }
.sec-head p{ color:var(--muted); margin-top:14px; font-size:16.5px; }

/* SERVICES */
.services-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.service-card{ background:var(--card); padding:34px 28px; transition:background .25s ease; }
.service-card:hover{ background:var(--bg-alt); }
.service-card .icon{ width:38px; height:38px; margin-bottom:20px; color:var(--brand); }
.service-card h3{ font-size:19px; margin-bottom:9px; font-weight:500; }
.service-card p{ font-size:14.5px; color:var(--muted); margin-bottom:14px; }
.service-card .learn{ font-size:13px; font-weight:700; color:var(--brand); }

/* SERVICE CATEGORIES (compact chip layout for long lists) */
.service-category{ margin-bottom:44px; }
.service-category:last-child{ margin-bottom:0; }
.service-category h3{
  font-size:18px; font-weight:600; margin-bottom:18px;
  display:flex; align-items:center; gap:12px; color:var(--brand-dark);
}
.service-category h3::before{ content:''; width:26px; height:2px; background:var(--accent); display:inline-block; flex-shrink:0; }
.service-chip-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.service-chip{
  background:var(--card); border:1px solid var(--line); border-radius:6px;
  padding:16px 18px; display:flex; align-items:flex-start; gap:12px;
  font-size:14.5px; font-weight:600; line-height:1.35; transition:border-color .2s ease, background .2s ease;
}
.service-chip:hover{ border-color:var(--accent); background:var(--bg-alt); }
.service-chip .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); flex-shrink:0; margin-top:7px; }

.service-category .gallery-grid{ margin-top:0; }
.map-frame{ border-radius:6px; overflow:hidden; border:1px solid var(--line); height:380px; }
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }

/* FEATURED SPOTLIGHT */
.spotlight{ background:var(--brand-dark); color:#EDEFEA; border-radius:8px; overflow:hidden; display:grid; grid-template-columns:1fr 1fr; }
.spotlight-visual{ position:relative; background:linear-gradient(150deg,#1F5C4E,#0F332B); min-height:320px; }
.spotlight-visual svg{ position:absolute; inset:0; width:100%; height:100%; opacity:0.45; }
.spotlight-content{ padding:48px; }
.spotlight .eyebrow{ color:var(--accent); }
.spotlight .eyebrow::before{ background:var(--accent); }
.spotlight h3{ font-size:30px; color:#fff; margin:16px 0 16px; }
.spotlight p.desc{ color:#B9C4BE; margin-bottom:22px; font-size:15.5px; }
.spotlight-list li{ font-size:14.5px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,0.12); color:#DCE4DF; display:flex; gap:10px; }
.spotlight-list li::before{ content:'—'; color:var(--accent); }
.spotlight .btn-primary{ background:var(--accent); color:var(--brand-dark); }
.spotlight .btn-primary:hover{ background:#7fe0c8; }

/* WHY US */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.why-card .num{ font-family:'Space Mono', monospace; font-size:13px; color:var(--brand); margin-bottom:14px; display:block; }
.why-card h3{ font-size:20px; margin-bottom:10px; font-weight:500; }
.why-card p{ color:var(--muted); font-size:15px; }

/* GALLERY */
.gallery-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.gallery-tile{ aspect-ratio:1/1; border-radius:6px; position:relative; overflow:hidden; display:flex; align-items:flex-end; padding:16px; }
.gallery-tile span{ color:#fff; font-family:'Space Mono', monospace; font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase; position:relative; z-index:2; }
.gallery-tile::before{ content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(18,33,29,0.7), rgba(18,33,29,0) 55%); z-index:1; }
.gallery-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; transition:transform .4s ease; }
.gallery-tile:hover img{ transform:scale(1.06); }

/* ABOUT */
.about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center; }
.about-visual{ background:var(--card); border:1px solid var(--line); border-radius:6px; padding:36px; }
.checklist-item{ display:flex; align-items:flex-start; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.checklist-item:last-child{ border-bottom:none; }
.checklist-item .num{ font-family:'Space Mono', monospace; color:var(--brand); font-size:13px; padding-top:2px; }
.checklist-item p{ font-size:15px; }
.about-text p{ color:var(--muted); margin-bottom:18px; font-size:16.5px; }
.about-text .lead{ font-size:19px; color:var(--ink); font-family:'Fraunces', serif; font-weight:500; margin-bottom:22px; }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px; }
.tag-row span{ font-size:13px; font-weight:700; background:var(--bg-alt); border:1px solid var(--line); padding:7px 14px; border-radius:20px; }

/* TESTIMONIALS */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card{ background:var(--card); border:1px solid var(--line); border-radius:6px; padding:30px; }
.testi-card .stars{ color:var(--gold); letter-spacing:2px; font-size:14px; margin-bottom:14px; display:block; }
.testi-card p{ font-size:15px; color:var(--ink); margin-bottom:20px; font-style:italic; }
.testi-who{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:36px; height:36px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Space Mono', monospace; font-size:13px; font-weight:700; flex-shrink:0; }
.testi-who b{ font-size:14px; display:block; }
.testi-who span{ font-size:12.5px; color:var(--muted); }
.testi-note{ text-align:center; font-size:13px; color:var(--muted); margin-top:30px; }

/* FAQ */
.faq-list{ max-width:760px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; cursor:pointer; font-weight:600; font-size:16px; }
.faq-q .plus{ font-size:20px; color:var(--brand); transition:transform .25s ease; flex-shrink:0; margin-left:20px; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.open .faq-a{ max-height:200px; }
.faq-a p{ padding-bottom:22px; color:var(--muted); font-size:15px; max-width:640px; }

/* CTA BANNER */
.cta-banner{ background:var(--brand); border-radius:8px; padding:60px; text-align:center; color:#fff; }
.cta-banner .eyebrow{ color:var(--accent); justify-content:center; }
.cta-banner .eyebrow::before{ background:var(--accent); }
.cta-banner h2{ color:#fff; font-size:clamp(28px,3.4vw,40px); margin:16px 0 26px; }
.cta-banner-ctas{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta-banner .btn-primary{ background:var(--accent); color:var(--brand-dark); }
.cta-banner .btn-primary:hover{ background:#7fe0c8; }
.cta-banner .btn-ghost{ border-color:rgba(255,255,255,0.4); color:#fff; }
.cta-banner .btn-ghost:hover{ border-color:#fff; }

/* CONTACT */
.contact-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; }
.contact-info .info-row{ display:flex; gap:14px; align-items:flex-start; margin-bottom:28px; }
.contact-info .info-row .label{ font-family:'Space Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--brand); display:block; margin-bottom:4px; }
form{ background:var(--card); border:1px solid var(--line); border-radius:6px; padding:40px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.field label{ font-size:13px; font-weight:600; }
.field input, .field select, .field textarea{ font-family:'Manrope', sans-serif; font-size:15px; padding:12px 14px; border:1px solid var(--line); border-radius:4px; background:var(--bg); color:var(--ink); outline:none; transition:border-color .2s ease; width:100%; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brand); }
.field textarea{ resize:vertical; min-height:100px; }
form .btn-primary{ width:100%; text-align:center; margin-top:6px; border:none; }
.form-note{ font-size:12.5px; color:var(--muted); margin-top:14px; text-align:center; }
.form-success{ background:#E4F5EE; border:1px solid var(--accent); color:var(--brand-dark); padding:14px 18px; border-radius:4px; margin-bottom:20px; font-size:14.5px; }

/* FOOTER */
footer{ background:var(--brand-dark); color:#EDEFEA; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.14); }
footer .logo{ color:#fff; }
footer .logo span{ color:var(--accent); }
.footer-col h4{ font-family:'Space Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--accent); margin-bottom:14px; }
.footer-col a, .footer-col p{ display:block; font-size:14px; color:#C9D1CB; margin-bottom:9px; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:24px; font-size:13px; color:#8FA098; flex-wrap:wrap; gap:10px; }

.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .menu-btn{ display:block; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto; }
  .trust-grid{ justify-content:space-around; }
  .services-grid{ grid-template-columns:1fr 1fr; }
  .spotlight{ grid-template-columns:1fr; }
  .spotlight-visual{ min-height:200px; }
  .why-grid{ grid-template-columns:1fr; gap:36px; }
  .gallery-grid{ grid-template-columns:1fr 1fr 1fr; }
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .testi-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .form-row{ grid-template-columns:1fr; }
  .cta-banner{ padding:44px 26px; }
}
@media (max-width: 540px){
  .wrap{ padding:0 20px; }
  .services-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero{ padding:140px 0 0; }
  section{ padding:64px 0; }
  .nav-phone{ display:none; }
}
