/* Noor Al Barakah Building Cleaning Services — Beans Digital concept
   Palette: "Noor" means light — warm ivory daylight base, deep wellspring teal
   (clean water / freshness), and a soft golden accent (barakah / warmth).
   Type: Fraunces (soft, warm display serif) + Nunito Sans (friendly, rounded body). */

@view-transition { navigation: auto; }

:root {
  --ivory: #fbfaf5;
  --white: #ffffff;
  --teal-900: #0b4f4a;
  --teal-700: #10655e;
  --teal-100: #ddefec;
  --teal-50: #eef7f5;
  --gold: #d9a441;
  --gold-soft: #f6e8cd;
  --ink: #233532;
  --muted: #5c6f6b;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(11, 79, 74, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--teal-700); }

.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }

/* ---- concept banner ---- */
.concept-banner {
  background: var(--teal-900);
  color: #e9f5f2;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.45rem 1rem;
  letter-spacing: 0.02em;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 79, 74, 0.08);
  view-transition-name: site-header;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--teal-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  view-transition-name: site-logo;
}
.logo .mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold) 0 28%, var(--teal-700) 32% 100%);
  flex-shrink: 0;
}
.logo small { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--teal-700); }
.main-nav a[aria-current="page"] { color: var(--teal-700); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--teal-700);
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--teal-900); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--teal-700);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  font: 700 0.9rem var(--font-body);
  color: var(--teal-700);
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(11,79,74,0.12);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 0.2rem; font-size: 1.05rem; }
  .nav-cta { text-align: center; margin-top: 0.4rem; }
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(60rem 28rem at 50% -8rem, var(--teal-50) 0%, transparent 70%),
    var(--ivory);
  overflow: hidden;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.2rem, 6vw, 3.9rem);
  line-height: 1.12;
  color: var(--teal-900);
  max-width: 18ch;
  margin-inline: auto;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede {
  max-width: 54ch;
  margin: 1.3rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.badge {
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal-900);
  box-shadow: 0 3px 10px rgba(11,79,74,0.06);
}
.badge .star { color: var(--gold); }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 20px rgba(16,101,94,0.3); }
.btn-primary:hover { background: var(--teal-900); transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--teal-700); color: var(--teal-700); }
.btn-ghost:hover { background: var(--teal-50); transform: translateY(-2px); }

/* floating decorative sparkles */
.sparkle {
  position: absolute;
  color: var(--gold);
  opacity: 0.55;
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
}
.sparkle svg { width: 100%; height: 100%; }
.sparkle.s1 { width: 34px; top: 16%; left: 10%; animation-delay: 0s; }
.sparkle.s2 { width: 22px; top: 30%; right: 12%; animation-delay: 1.6s; color: var(--teal-700); }
.sparkle.s3 { width: 26px; bottom: 18%; left: 20%; animation-delay: 3s; }
.sparkle.s4 { width: 18px; bottom: 26%; right: 22%; animation-delay: 4.4s; color: var(--teal-700); }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(12deg); }
}

/* ---- sections ---- */
section { padding: 4rem 0; }
.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--teal-900);
  line-height: 1.18;
  max-width: 24ch;
}
.center { text-align: center; }
.center .section-title { margin-inline: auto; }
.section-sub { color: var(--muted); max-width: 60ch; margin-top: 0.8rem; }
.center .section-sub { margin-inline: auto; }

.band { background: var(--teal-50); }
.band-dark { background: var(--teal-900); color: #e9f5f2; }
.band-dark .section-title { color: #fff; }
.band-dark .section-sub { color: #bcd9d3; }

/* cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,79,74,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(11,79,74,0.14); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--teal-900); margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-link { display: inline-block; margin-top: 0.9rem; font-weight: 800; font-size: 0.9rem; text-decoration: none; }

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--gold);
}
.stat .label { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #bcd9d3; }

/* reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.review .stars { color: var(--gold); letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.review blockquote { font-size: 0.98rem; color: var(--ink); }
.review cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--muted); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.step {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.4rem 4.6rem;
  position: relative;
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1.3rem; top: 1.25rem;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--teal-900);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 { font-family: var(--font-display); color: var(--teal-900); font-size: 1.1rem; margin-bottom: 0.25rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* hours + contact */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table th, .hours-table td { padding: 0.75rem 1.2rem; text-align: left; font-size: 0.95rem; }
.hours-table tr:nth-child(odd) td { background: var(--teal-50); }
.hours-table td:last-child { font-weight: 700; color: var(--teal-900); }
.hours-table .closed td:last-child { color: #b5544a; }
.hours-table caption { caption-side: top; text-align: left; font-weight: 800; padding-bottom: 0.6rem; color: var(--teal-900); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.2rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-list { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.contact-list li { background: var(--white); border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow); font-size: 0.97rem; }
.contact-list strong { color: var(--teal-900); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.15rem; }
.contact-list a { font-weight: 800; text-decoration: none; }

/* CTA strip */
.cta-strip { text-align: center; }
.cta-strip .btn { margin-top: 1.6rem; }

/* footer */
.site-footer {
  background: var(--teal-900);
  color: #bcd9d3;
  padding: 2.8rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-display); margin-bottom: 0.7rem; }
.site-footer a { color: #e9f5f2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.footer-legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.14); text-align: center; font-size: 0.8rem; }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* scroll reveal (JS-gated so content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* page hero (inner pages) */
.page-hero { padding: 3.4rem 0 2.6rem; background: radial-gradient(50rem 20rem at 50% -8rem, var(--teal-50) 0%, transparent 70%), var(--ivory); text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-weight: 560; font-size: clamp(2rem, 5vw, 3rem); color: var(--teal-900); }
.page-hero p { color: var(--muted); max-width: 58ch; margin: 0.9rem auto 0; }

/* service detail rows */
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.3rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow);
  margin-top: 1.4rem;
}
.service-row .icon { width: 56px; height: 56px; border-radius: 18px; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; }
.service-row .icon svg { width: 28px; height: 28px; }
.service-row h3 { font-family: var(--font-display); color: var(--teal-900); font-size: 1.25rem; margin-bottom: 0.4rem; }
.service-row p { color: var(--muted); font-size: 0.97rem; }
.service-row ul { margin: 0.7rem 0 0 1.1rem; color: var(--muted); font-size: 0.94rem; }
@media (max-width: 540px) { .service-row { grid-template-columns: 1fr; } }

.note { font-size: 0.85rem; color: var(--muted); margin-top: 1.6rem; }

/* rating summary */
.rating-hero {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  box-shadow: var(--shadow);
  margin-top: 1.4rem;
}
.rating-hero .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--teal-900); }
.rating-hero .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1em; }
.rating-hero .count { font-size: 0.85rem; color: var(--muted); }
