/* يونيك للأثاث — موقع المصنع. ألوان مأخوذة من اللوجو: أخضر غامق، ريحاني، خشبي */
:root {
  --green: #1d4a43;
  --green-2: #143832;
  --sage: #8fb0aa;
  --sage-soft: #e3ece9;
  --wood: #f0c27f;
  --wood-deep: #d99a45;
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #1b2a27;
  --muted: #5d6f6b;
  --line: #e6dfd2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 56, 50, .08);
  --font-ar: 'Tajawal', system-ui, sans-serif;
  --font-head: 'El Messiri', 'Tajawal', serif;
  --font-en: 'Outfit', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-ar); font-size: 17px; line-height: 1.75; }
html[lang="en"] body { font-family: var(--font-en); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border: 0; border-radius: 999px;
       padding: 13px 26px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
       transition: transform .2s ease, background .2s ease, box-shadow .2s ease; box-shadow: 0 6px 18px rgba(29, 74, 67, .25); }
.btn:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 15px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--green); border: 2px solid var(--green); box-shadow: none; }
.btn-ghost:hover { background: var(--green); color: #fff; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .88); backdrop-filter: blur(10px);
       border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.top.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--green); line-height: 1.1; }
.brand small { color: var(--muted); font-size: .8rem; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; color: var(--ink); }
.links a:hover { background: var(--sage-soft); color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font: 700 14px var(--font-en); cursor: pointer; color: var(--green); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 9px; }
.burger span { display: block; height: 2.5px; background: var(--green); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 560px; height: 560px; border-radius: 50%;
                background: radial-gradient(circle, rgba(240,194,127,.35), transparent 65%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--wood-deep); letter-spacing: .3px; font-size: .9rem;
           background: rgba(240,194,127,.22); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--green); line-height: 1.3; margin: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: var(--font-en); letter-spacing: -.5px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h1 em { font-style: normal; color: var(--wood-deep); }
.lead { font-size: 1.12rem; color: var(--muted); margin: 18px 0 26px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts b { display: block; font: 800 1.6rem var(--font-en); color: var(--green); }
.hero-facts span { color: var(--muted); font-size: .92rem; }
.hero-art { position: relative; }
.rings { width: 100%; filter: drop-shadow(0 24px 40px rgba(20,56,50,.25)); animation: float 7s ease-in-out infinite; }
.hero-logo { position: absolute; width: 46%; left: 50%; top: 52%; transform: translate(-50%, -50%);
             filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

/* ---------- strip ---------- */
.strip { background: var(--green); color: #fff; padding: 22px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip-grid div { display: flex; align-items: center; gap: 10px; justify-content: center; text-align: center; }
.strip .ico { font-size: 1.5rem; }
.strip b { font-weight: 700; font-size: .98rem; }

/* ---------- sections ---------- */
.sec { padding: 84px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.sec-head p { color: var(--muted); margin: 12px 0 0; }
.sec-dark { background: var(--green); color: #e9f1ef; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .sec-head p { color: #b9cfca; }
.sec-dark .eyebrow { background: rgba(240,194,127,.16); color: var(--wood); }
.sec-sand { background: linear-gradient(180deg, #f6ead6, #f3e2c6); }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
        display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,56,50,.14); }
.card .pic { background: linear-gradient(135deg, var(--sage-soft), #f4efe5); display: grid; place-items: center; padding: 26px; aspect-ratio: 16/10; }
.card .pic svg { width: 120px; height: 120px; fill: none; stroke: var(--green); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.card .pic svg .f { fill: var(--wood-deep); stroke: none; }
.card .pic svg .f2 { fill: var(--wood); }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0 0 14px; font-size: .98rem; flex: 1; }
.more { color: var(--green); font-weight: 800; text-decoration: none; }
.more:hover { color: var(--wood-deep); }
.tag { align-self: flex-start; background: var(--wood); color: var(--green-2); font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.card.featured { grid-column: span 2; flex-direction: row; }
.card.featured .pic { flex: 0 0 42%; aspect-ratio: auto; background: linear-gradient(135deg, var(--green), #2b6157); }
.card.featured .pic svg { stroke: var(--wood); width: 170px; height: 170px; }
.card.featured .body { justify-content: center; padding: 30px; }
.card.featured h3 { font-size: 1.8rem; }
.card.wide { grid-column: span 3; flex-direction: row; }
.card.wide .pic { flex: 0 0 28%; aspect-ratio: auto; }
.card.wide .body { justify-content: center; }

/* ---------- process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 16px 16px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
                    background: var(--wood); color: var(--green-2); font: 800 1rem var(--font-en); margin-bottom: 10px; }
.steps b { display: block; color: #fff; font-size: 1.05rem; }
.steps span { color: #b9cfca; font-size: .9rem; line-height: 1.6; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.why span { font-size: 2rem; display: block; margin-bottom: 8px; }
.why h3 { font-size: 1.2rem; margin-bottom: 4px; }
.why p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- b2b ---------- */
.b2b { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.b2b h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.b2b p { color: #5b5240; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; }
.checks li { padding-inline-start: 34px; position: relative; margin-bottom: 10px; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
                     background: var(--green); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.b2b-art { display: grid; gap: 12px; }
.crate { height: 76px; border-radius: 12px; background: repeating-linear-gradient(90deg, #c98c43 0 18px, #d99a45 18px 36px);
         border: 3px solid #a86f2f; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(120,80,30,.25); }
.crate:nth-child(2) { margin-inline-start: 30px; } .crate:nth-child(3) { margin-inline-start: 60px; }
.crate span { background: var(--green); color: #fff; padding: 2px 14px; border-radius: 999px; font-weight: 800; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.contact > div > p { color: var(--muted); }
.info { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.info li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.info li > span:first-child { width: 40px; height: 40px; border-radius: 12px; background: var(--sage-soft); display: grid; place-items: center; }
.info a { text-decoration: none; color: var(--green); }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.quote h3 { font-size: 1.2rem; }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote input, .quote select, .quote textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 460px; height: 100%; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- footer ---------- */
.foot { background: var(--green-2); color: #b9cfca; padding: 30px 0; font-size: .92rem; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot .brand b { color: #fff; } .foot .brand small { color: #9fbab4; }
.foot .brand img { width: 44px; height: 44px; }

/* ---------- whatsapp float ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366;
            display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.45); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .rings { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .card.wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .links { position: fixed; inset: 74px 0 auto 0; background: var(--cream); flex-direction: column; padding: 12px 16px 20px; gap: 2px;
           border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-120%); transition: transform .3s ease; margin: 0; }
  .links a { padding: 12px; font-size: 1.05rem; }
  body.menu .links { transform: none; }
  body.menu .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu .burger span:nth-child(2) { opacity: 0; }
  body.menu .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-actions .btn-sm { display: none; }
  .hero-grid, .b2b, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-art { max-width: 360px; margin: 0 auto; order: -1; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .card.featured, .card.wide { grid-column: auto; flex-direction: column; }
  .card.featured .pic, .card.wide .pic { aspect-ratio: 16/10; }
  .b2b-art { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .products, .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .quote .row { grid-template-columns: 1fr; }
  .hero-facts { gap: 22px; }
  .brand small { display: none; }
}
