/* Items Phone – public site. Uses logical properties so one stylesheet serves LTR (de) and RTL (ar). */
:root {
  --purple: #2b1670;
  --purple-2: #3d2396;
  --orange: #f78c02;
  --yellow: #fbc334;
  --ink: #1d1838;
  --muted: #5d5878;
  --bg: #ffffff;
  --soft: #f4f2fb;
  --line: #e3dff2;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html[lang="ar"] { --font: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", "Arial", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
html[lang="ar"] body { font-size: 18px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--purple); }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.ico { width: 1.4em; height: 1.4em; flex: none; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: .5em 1em; z-index: 10; }
.skip:focus { inset-inline-start: 0; }

/* header */
.top { background: var(--purple); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 2px 10px rgb(0 0 0 / .15); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: auto; background: #fff; border-radius: 10px; padding: 3px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 1.15rem; letter-spacing: .02em; }
.brand small { color: var(--yellow); font-size: .8rem; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--yellow); }
.lang { color: var(--ink); background: var(--yellow); text-decoration: none; font-weight: 700; padding: .35em .9em; border-radius: 999px; font-size: .95rem; }
@media (max-width: 820px) {
  .nav { display: none; }
  .lang { margin-inline-start: auto; }
}

/* hero */
.hero { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-2) 100%); color: #fff; padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.hero p { font-size: 1.15rem; opacity: .92; max-width: 34em; }
.hero-img img { border-radius: var(--radius); box-shadow: 0 20px 50px rgb(0 0 0 / .35); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; } .hero { padding: 36px 0 44px; } }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.btn-main { background: var(--orange); color: #fff; }
.btn-main:hover { background: #e07e00; }
.btn-ghost { border: 2px solid rgb(255 255 255 / .6); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* sections */
.sec { padding: 72px 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--purple); color: #fff; }
.sec-dark h2 { color: var(--yellow); }
.lead { color: var(--muted); max-width: 46em; margin-bottom: 1.6em; font-size: 1.08rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; gap: 28px; } .sec { padding: 52px 0; } }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(43 22 112 / .1); }
.card h3 { font-size: 1.2rem; margin-top: .8em; color: var(--purple); }
.card p { color: var(--muted); margin: 0; }
.card .price { margin-top: .8em; font-weight: 700; color: var(--orange); }
.card-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #fff3e0; color: var(--orange); }
.card-ico .ico { width: 28px; height: 28px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; background: rgb(255 255 255 / .08); border-radius: var(--radius); padding: 16px 18px; }
.steps span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); font-weight: 700; }

.about-img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; max-height: 520px; width: 100%; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

.contact { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cbox { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--soft); color: var(--ink); text-decoration: none; }
.cbox .ico { color: var(--orange); width: 30px; height: 30px; margin-bottom: 6px; }
.cbox span { color: var(--muted); }
a.cbox:hover { background: #ebe7f8; }
[dir="rtl"] .cbox span[dir="ltr"] { text-align: right; }

.legal h1 { color: var(--purple); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }

/* footer */
.foot { background: var(--purple); color: #fff; padding: 44px 0 28px; }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.foot img { width: 110px; }
.social { display: flex; gap: 18px; align-items: center; }
.social span { font-weight: 600; }
.social a { color: var(--yellow); }
.social .ico { width: 30px; height: 30px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot-links a { color: #fff; }
.copy { opacity: .7; font-size: .9rem; margin: 0; }
.made-by { opacity: .6; font-size: .8rem; margin: -10px 0 0; }
.made-by a { color: #fff; font-weight: 600; text-decoration: none; }
.made-by a:hover, .made-by a:focus-visible { color: var(--yellow); text-decoration: underline; }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.why li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius); padding: 16px 18px; font-weight: 600; border: 1px solid var(--line); }
.why .ico { color: #fff; background: var(--orange); border-radius: 50%; padding: 5px; width: 30px; height: 30px; }
.hero h1 { white-space: normal; }
.cbox .line { display: block; }
