:root {
    --sand: #f4efec;
    --page: #ffffff;
    --ink: #251f21;
    --ink-2: #585254;
    --hairline: #eae9ea;
    --teal: #73a89a;
    --radius: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: Cairo, "Segoe UI", Tahoma, "Noto Kufi Arabic", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img, video { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.topbar {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--hairline);
    backdrop-filter: blur(8px);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-weight: 700; font-size: 17px; }
.brand-sub { font-size: 12px; color: var(--ink-2); }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font-family: inherit; font-size: 16px; font-weight: 600;
    text-decoration: none; border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-dark { background: #3d2f31; color: #fff; }
.btn-dark:hover { background: #251f21; }
.btn-outline { background: #fff; color: var(--ink); border-color: #dcd8d6; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* hero */
.hero { padding: 40px 0 8px; }
.hero h1 { font-size: 34px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-block; margin: 18px 0 0;
    background: var(--sand); color: var(--ink-2);
    border-radius: 999px; padding: 6px 14px; font-size: 14px;
}
.hero-figure { margin: 24px 0 0; }
.hero-figure img { width: 100%; height: auto; border-radius: var(--radius); }
figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* sections */
.section { padding: 44px 0 0; }
.section h2 { font-size: 26px; margin: 0 0 20px; letter-spacing: -.01em; }
.note { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }

/* ad */
.ad-box { display: flex; justify-content: center; }
.ad-video { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #000; }

/* products */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.card-body { padding: 12px 14px 16px; }
.card h3 { font-size: 16px; margin: 0; }
.card-detail { font-size: 14px; color: var(--ink-2); margin: 4px 0 12px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; }
.now { font-size: 19px; font-weight: 700; color: #2f7d6a; }
.was { font-size: 14px; color: var(--ink-2); }
.badge { font-size: 12px; color: var(--ink-2); background: var(--sand); border-radius: 999px; padding: 3px 10px; }

/* repair steps */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
    counter-increment: step;
    position: relative; padding: 14px 46px 14px 0;
    border-bottom: 1px solid var(--hairline);
}
.steps li::before {
    content: counter(step);
    position: absolute; inset-inline-start: auto; right: 0; top: 14px;
    width: 30px; height: 30px; border-radius: 999px;
    background: var(--sand); color: var(--ink-2);
    font-size: 14px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}

/* contact */
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; }
.contact-list li {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid var(--hairline);
}
.contact-list .label { color: var(--ink-2); font-size: 14px; }
.contact-list .value { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 17px; }
a.value:hover { text-decoration: underline; }

/* footer */
.footer { margin-top: 56px; background: var(--sand); padding: 28px 0 88px; }
.footer p { margin: 0; font-size: 14px; color: var(--ink); }
.footer .note { margin-top: 6px; }

@media (min-width: 560px) {
    .grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 44px; }
    .lead { font-size: 19px; }
}
@media (min-width: 900px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .hero { padding-top: 56px; }
    .section { padding-top: 56px; }
    .section h2 { font-size: 30px; }
    .contact-list li { max-width: 560px; }
}

.ask {
    display: inline-block; margin-top: 10px;
    font-size: 14px; font-weight: 600; color: #2f7d6a; text-decoration: none;
}
.ask:hover { text-decoration: underline; }

.wa-float {
    position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 30;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 20px; border-radius: 999px;
    background: #25d366; color: #0b2e18;
    font-size: 15px; font-weight: 700; text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
}
.wa-float:hover { background: #1fbe5b; }
