/* ==========================================================
   IFIYE Cleaning Services — shared stylesheet
   ========================================================== */

:root {
  --ink:        #0A2A3A;
  --ink-soft:   #4A6472;
  --teal:       #0E9C96;
  --teal-dark:  #0B7C77;
  --mint:       #E9F7F5;
  --sun:        #F2B233;
  --line:       #DCE7EA;
  --white:      #FFFFFF;
  --bg:         #FBFDFD;

  --wrap: 1160px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 42, 58, .08);
  --shadow-lg: 0 20px 50px rgba(10, 42, 58, .14);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--mint { background: var(--mint); }
.section--ink { background: var(--ink); color: #DCEAEF; }
.section--ink h2 { color: var(--white); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.section--ink .lead { color: #A8C6D0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 253, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.logo img { height: 42px; width: auto; }
.logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  color: var(--ink);
}
.logo-fallback span { color: var(--teal); }

.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--teal); border-color: var(--teal); }

.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  background: var(--teal);
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
.header-phone:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-loc {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-loc::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
}
.hero h1 .accent { color: var(--teal); display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }

.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 800;
  color: var(--ink); line-height: 1;
}
.stat-label { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--mint);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service cards ---------- */
.section-head { max-width: 62ch; margin-bottom: 48px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- Quote strip ---------- */
.quote-strip {
  margin-top: 34px;
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.quote-strip h3 { color: var(--white); margin-bottom: 6px; }
.quote-strip p { color: #A8C6D0; margin: 0; max-width: 48ch; }

/* ---------- Video ---------- */
.video-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.video-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-frame video { width: 100%; display: block; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 800;
  color: var(--teal);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-row:first-of-type { border-top: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--mint);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Values / info grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.panel h3 { margin-bottom: 8px; }
.panel p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.value-mark {
  width: 34px; height: 3px;
  background: var(--sun);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--shadow); }
.contact-card .label {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.contact-card .value { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  color: var(--ink-soft);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute; inset-inline-start: 0; top: 20px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
}

/* ---------- Final CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #0B4A56 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #A8C6D0; max-width: 54ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #A8C6D0;
  padding: 64px 0 28px;
  margin-top: 88px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: .94rem; }
.site-footer a:hover { color: var(--white); }
.footer-logo img { height: 46px; margin-bottom: 16px; }
.footer-blurb { font-size: .94rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .video-grid, .service-row, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .cards, .grid-3, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav {
    position: absolute;
    top: 76px; inset-inline: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-color: var(--teal); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .cards, .grid-3, .contact-cards, .steps, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .quote-strip { padding: 28px 24px; }
  .stats { gap: 28px; }
}
