/* ===================================================================
   وهج الجنائن للمنظفات الكيماوية — Stylesheet
   =================================================================== */

:root {
  --primary: #ee7a1c;
  --primary-dark: #c8620c;
  --primary-light: #ff9a3d;
  --accent: #1d1d1d;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #fff5ec;
  --bg-dark: #161616;
  --border: #efe4d8;
  --shadow: 0 10px 30px rgba(238, 122, 28, .14);
  --shadow-lg: 0 24px 60px rgba(238, 122, 28, .20);
  --radius: 18px;
  --maxw: 1160px;
  --font: "Tajawal", "Cairo", system-ui, sans-serif;
  --font-head: "Cairo", "Tajawal", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: var(--primary-dark);
  border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-logo { height: 54px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  padding: .5rem .9rem; border-radius: 999px;
  font-weight: 600; color: var(--ink); font-size: .98rem;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--primary-dark); }
.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; margin-inline-start: .4rem;
}
.main-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff8f1 0%, #ffeede 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(238,122,28,.22)); filter: blur(.3px); animation: float 9s ease-in-out infinite; }
.b1 { width: 120px; height: 120px; top: 12%; left: 8%; }
.b2 { width: 70px; height: 70px; top: 60%; left: 16%; animation-delay: 1s; }
.b3 { width: 180px; height: 180px; bottom: -40px; left: 40%; opacity: .6; animation-delay: 2s; }
.b4 { width: 90px; height: 90px; top: 22%; right: 10%; animation-delay: .5s; }
.b5 { width: 50px; height: 50px; top: 70%; right: 22%; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center;
  padding: 70px 22px 80px;
}
.eyebrow {
  display: inline-block; background: #fff; color: var(--primary-dark);
  padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow); margin-bottom: 1.2rem;
}
.hero-text h1 {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.25; color: var(--ink); margin-bottom: 1.1rem;
}
.hero-text h1 .hl { color: var(--primary); }
.hero-text p { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--primary-dark); }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.hero-card { display: flex; justify-content: center; }
.hero-card-inner {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-lg); max-width: 320px; text-align: center;
  border: 1px solid var(--border);
}
.hero-card-inner h3 { font-family: var(--font-head); margin: 1rem 0 .5rem; font-size: 1.3rem; }
.hero-card-inner p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card-link { color: var(--primary); font-weight: 700; }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 22px; font-weight: 600; }
.strip-inner i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); display: inline-block; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.kicker {
  display: inline-block; color: var(--primary); font-weight: 800;
  font-family: var(--font-head); letter-spacing: .5px; margin-bottom: .6rem;
  position: relative; padding-inline: 1.6rem;
}
.kicker::before, .kicker::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 2px; background: var(--accent);
}
.kicker::before { right: 0; } .kicker::after { left: 0; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.3; }
.section-head .lead { color: var(--muted); margin-top: .8rem; font-size: 1.08rem; }
.section-head.light h2 { color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.about-visual .drop {
  position: absolute; background: rgba(255,255,255,.85); border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
}
.about-visual .d1 { width: 90px; height: 90px; top: 26%; left: 28%; }
.about-visual .d2 { width: 50px; height: 50px; top: 50%; left: 55%; opacity: .8; }
.about-visual .leaf {
  position: absolute; width: 120px; height: 120px; bottom: 12%; right: 18%;
  background: rgba(255,255,255,.25); border-radius: 0 80% 0 80%;
}
.about-text .kicker { padding-inline: 0; }
.about-text .kicker::before, .about-text .kicker::after { display: none; }
.about-text h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: .4rem 0 1rem; line-height: 1.35; }
.about-text p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.check-list { list-style: none; margin-top: 1.2rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-inline-start: 2rem; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; right: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.pc-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.9rem;
  background: var(--bg-soft);
}
.product-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .5rem; }
.product-card p { color: var(--muted); font-size: .95rem; }
.products-note { text-align: center; margin-top: 2.4rem; color: var(--muted); font-size: 1.05rem; }
.products-note a { color: var(--primary); font-weight: 700; }

/* ---------- Product lineup (cut-out bottles, shelf row) ---------- */
.lineup {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end;
  gap: 14px 30px; padding: 40px 18px 30px; position: relative;
  background: radial-gradient(130% 120% at 50% 8%, #ffffff 0%, var(--bg-soft) 60%, #ffe9d6 100%);
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
  box-shadow: inset 0 -40px 60px -50px rgba(200,98,12,.4);
}
.bottle { margin: 0; text-align: center; flex: 0 1 150px; }
.bottle img {
  height: 250px; width: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 22px 16px rgba(0,0,0,.22));
  transition: transform .35s ease;
}
.bottle:hover img { transform: translateY(-10px) scale(1.04); }
.bottle figcaption strong {
  display: block; font-family: var(--font-head); font-size: 1.05rem;
  color: var(--ink); margin-top: 1rem; letter-spacing: .3px;
}
.bottle figcaption span { display: block; color: var(--primary-dark); font-weight: 700; font-size: .92rem; margin-top: .15rem; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.6rem; position: relative; transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.f-num {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 900;
  color: transparent; -webkit-text-stroke: 2px var(--primary-light);
  line-height: 1; margin-bottom: .7rem;
}
.feature h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Process / Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 2rem 1.5rem; position: relative;
}
.step-no {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; display: grid; place-items: center; font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem;
}
.step h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .5rem; color: #fff; }
.step p { color: rgba(255,255,255,.7); font-size: .96rem; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.location-info h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: .3rem 0 .8rem; }
.location-info > p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.location-info .kicker { padding-inline: 0; } .location-info .kicker::before, .location-info .kicker::after { display: none; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow);
}
.contact-list strong { display: block; font-family: var(--font-head); }
.contact-list div { color: var(--muted); }
.map-wrap {
  min-height: 380px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.map-wrap iframe { display: block; min-height: 380px; }

/* ---------- Contact (email only) ---------- */
.contact-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-cta .kicker { padding-inline: 1.6rem; }
.contact-cta h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin: .4rem 0 .7rem; }
.contact-cta > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.8rem; }
.email-pill {
  display: inline-flex; align-items: center; gap: .7rem; direction: ltr;
  background: #fff; border: 2px solid var(--border); border-radius: 999px;
  padding: .8rem 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.6rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.email-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.email-pill .ep-icon { font-size: 1.3rem; }
.email-pill .ep-text { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: .3px; }
.contact-cta-btn { margin-top: .2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.85); padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.footer-logo {
  display: inline-block; background: #fff; border-radius: 14px;
  padding: 12px 16px; margin-bottom: 1rem;
}
.footer-logo img { height: 64px; width: auto; display: block; }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 320px; }
.footer-meta a { color: var(--primary-light); }
.footer-meta a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a { color: rgba(255,255,255,.8); transition: color .2s; width: fit-content; }
.footer-nav a:hover { color: var(--primary-light); }
.footer-meta p { margin-bottom: .5rem; color: rgba(255,255,255,.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-bottom .container { text-align: center; }

/* ---------- To top ---------- */
.to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-size: 1.3rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { justify-content: flex-start; }
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem; gap: .3rem;
    box-shadow: var(--shadow-lg); transform: translateY(-120%);
    transition: transform .3s; border-bottom: 1px solid var(--border);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .8rem 1rem; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .products-grid, .features-grid, .steps { grid-template-columns: 1fr; }
  .lineup { gap: 10px 16px; padding: 30px 8px 24px; }
  .bottle { flex: 0 1 120px; }
  .bottle img { height: 190px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .section { padding: 60px 0; }
}

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