/* ============================================================
   Cairo Clean Services — Static Stylesheet
   "The Architecture of Freshness"
   ============================================================ */

:root {
  --nile: #0F172A;
  --nile-soft: #1E293B;
  --teal: #0D9488;
  --teal-dark: #0B7068;
  --teal-soft: #E6F3F1;
  --white: #FFFFFF;
  --mist: #F8FAFC;
  --mist-2: #F1F5F9;
  --border: #E2E8F0;
  --text: #0F172A;
  --text-muted: #64748B;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 6px 20px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --container: 1200px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Hanken Grotesk', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Hide React mount point — this is a static HTML site; content lives in the page markup */
#root { display: none !important; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nile);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(13, 148, 136, .25); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13, 148, 136, .32); }
.btn-outline { background: transparent; color: var(--nile); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--nile); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 1.1rem 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(15,23,42,.05);
  padding: .7rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--nile); letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand span { color: var(--teal); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-size: .95rem; font-weight: 500; color: var(--nile-soft); transition: color .2s; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--teal); transition: width .25s var(--ease); }
.main-nav a:hover { color: var(--teal); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.phone-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--nile); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: .6rem 1.1rem; border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
.phone-btn:hover { background: var(--teal); transform: translateY(-1px); }
.phone-btn svg { width: 16px; height: 16px; }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--nile); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ''; display: block; width: 20px; height: 2px; background: var(--nile); border-radius: 2px; position: relative; transition: transform .3s, opacity .3s; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: rotate(45deg); top: 0; }
body.menu-open .menu-toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero { padding: 9rem 0 5rem; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content .eyebrow { margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-content .lead { margin-bottom: 2.25rem; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust { margin-top: 2.5rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--nile-soft); font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media .img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero-media .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-media .img-wrap:hover img { transform: scale(1.05); }
.hero-badge {
  position: absolute; left: -1.5rem; bottom: 2rem;
  background: #fff; border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .75rem;
}
.hero-badge .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal); }
.hero-badge .ic svg { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--nile); }
.hero-badge small { color: var(--text-muted); font-size: .8rem; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft);
  display: grid; place-items: center; color: var(--teal); margin-bottom: 1.5rem;
  transition: background .3s, color .3s;
}
.service-card:hover .service-ic { background: var(--teal); color: #fff; }
.service-ic svg { width: 26px; height: 26px; stroke-width: 1.6; }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { font-size: .95rem; }
.service-link { margin-top: 1.25rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--teal); display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s; }
.service-card:hover .service-link { gap: .6rem; }

/* ---------- About ---------- */
.about { background: var(--mist); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-media .img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-media .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.about-media .img-wrap:hover img { transform: scale(1.05); }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.25rem; font-size: 1.05rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.about-stat { padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.about-stat strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--nile); }
.about-stat span { font-size: .85rem; color: var(--text-muted); }

/* ---------- Why Choose Us ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { padding: 2rem 1.5rem; border-radius: var(--radius-lg); background: var(--mist); transition: transform .3s var(--ease), background .3s; }
.why-card:hover { transform: translateY(-4px); background: var(--teal-soft); }
.why-ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--teal); margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.why-ic svg { width: 24px; height: 24px; stroke-width: 1.6; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-card p { font-size: .92rem; }

/* ---------- How It Works ---------- */
.how { background: var(--mist); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.how-grid::before { content: ''; position: absolute; top: 2.5rem; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--teal-soft), var(--border), var(--teal-soft)); z-index: 0; }
.how-step { position: relative; z-index: 1; text-align: left; }
.how-num {
  width: 5rem; height: 5rem; border-radius: 50%; background: #fff; border: 2px solid var(--border);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--nile);
  margin-bottom: 1.5rem; transition: border-color .3s, color .3s, box-shadow .3s;
}
.how-step:hover .how-num { border-color: var(--teal); color: var(--teal); box-shadow: 0 8px 24px rgba(13,148,136,.18); }
.how-step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.how-step p { font-size: .92rem; }

/* ---------- CTA ---------- */
.cta { background: var(--nile); color: #fff; padding: 5rem 0; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; max-width: 640px; }
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.cta-phone svg { width: 20px; height: 20px; color: var(--teal); }
.cta::after { content: ''; position: absolute; right: -10%; top: -30%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(13,148,136,.25), transparent 60%); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--nile);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal); transition: transform .3s var(--ease), background .3s; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-body { padding: 0 1.6rem 1.5rem; color: var(--text-muted); font-size: .98rem; line-height: 1.7; }

/* ---------- Page Banner ---------- */
.page-banner { padding: 8rem 0 3.5rem; background: var(--mist); }
.page-banner h1 { margin-bottom: .75rem; }
.page-banner p { font-size: 1.05rem; max-width: 40rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--nile-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-list { margin-bottom: 2rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal); flex-shrink: 0; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .2rem; }
.contact-list .val { font-family: var(--font-head); font-weight: 600; color: var(--nile); }
.contact-list a.val:hover { color: var(--teal); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

.contact-form { background: var(--mist); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-form h2 { margin-bottom: .5rem; }
.contact-form > p { margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--nile); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: .95rem; color: var(--nile); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }
.form-success { display: none; margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--teal-soft); border: 1px solid var(--teal); border-radius: var(--radius-sm); color: var(--teal-dark); font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Legal pages ---------- */
.legal { background: #fff; }
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
.legal-content ul li { margin-bottom: .5rem; }
.legal-meta { background: var(--mist); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; font-size: .9rem; color: var(--text-muted); }
.legal-meta strong { color: var(--nile); }

/* ---------- Footer ---------- */
.site-footer { background: var(--nile); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 22rem; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .92rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- Floating phone FAB (mobile) ---------- */
.fab-phone {
  display: none; position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff;
  align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(13,148,136,.4);
  transition: transform .2s;
}
.fab-phone:hover { transform: scale(1.08); background: var(--teal-dark); }
.fab-phone svg { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 7.5rem 0 4rem; }
  .hero-media { max-width: 480px; }
  .why-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  section { padding: 4.5rem 0; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.5rem; box-shadow: -10px 0 40px rgba(15,23,42,.15);
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 99;
  }
  body.menu-open .main-nav { transform: translateX(0); }
  body.menu-open::before { content: ''; position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 98; }
  .main-nav a { font-size: 1.1rem; }
  .menu-toggle { display: inline-flex; }
  .header-actions .phone-btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid, .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
  .fab-phone { display: inline-flex; }
  .hero-badge { left: 0; }
}

@media (max-width: 480px) {
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
