/* PetStore Pro — واجهة الزوار */
:root {
    --primary: #0d7a5f;
    --accent: #f4a259;
    --ink: #1d2b36;
    --muted: #5b6b7b;
    --line: #e3e8ee;
    --bg: #ffffff;
    --bg-soft: #f6f8f9;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(20, 40, 60, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

/* ---------- الترويسة والتنقل ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand-paw {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.site-nav > a { color: var(--muted); font-weight: 600; font-size: 15px; }
.site-nav > a:hover { color: var(--primary); }
.site-nav .lang-link { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; }
.site-nav .nav-cta {
    background: var(--primary); color: #fff !important;
    padding: 9px 18px; border-radius: 10px;
}
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.nav-toggle .bars { display: block; }
.nav-toggle .bars i { display: block; width: 20px; height: 2.4px; background: var(--ink); border-radius: 2px; margin: 4px 0; }

/* ---------- البطل ---------- */
.hero { padding: 72px 0 60px; background: linear-gradient(180deg, #f4faf7 0%, #ffffff 90%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.4; font-weight: 700; }
.hero p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 560px; }
.hero-btns { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; min-height: 320px; }
.art-paw { position: absolute; inset-inline-end: 10px; top: 30px; color: var(--primary); opacity: 0.14; transform: rotate(-12deg); }
.art-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 14px 18px; font-weight: 700; font-size: 14px;
}
.art-card .ic { color: var(--primary); }
.ac-1 { inset-inline-start: 0; top: 40px; }
.ac-2 { inset-inline-end: 24px; top: 120px; }
.ac-3 { inset-inline-start: 40px; bottom: 30px; }

/* ---------- الأزرار ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line); border-radius: 12px;
    padding: 11px 22px; font-family: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.15s ease;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---------- الأقسام ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; text-align: center; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.sec-line { width: 64px; height: 4px; border-radius: 3px; background: var(--accent); }
.about-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow);
}
.about-card p { color: var(--muted); font-size: 16.5px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.about-tags span {
    display: inline-flex; align-items: center; gap: 6px;
    background: #eef7f3; color: var(--primary);
    border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px;
}
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card, .service-card, .step-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover, .service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fc-icon, .sc-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: #eef7f3; color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-card h3, .service-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p, .service-card p { color: var(--muted); font-size: 14.5px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { text-align: center; }
.step-no {
    width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 700; font-size: 19px;
    display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- الأسئلة ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 4px 20px; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; font-weight: 700; padding: 14px 0;
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { transition: transform 0.2s; color: var(--primary); flex-shrink: 0; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item p { padding: 0 0 16px; color: var(--muted); }

/* ---------- التواصل ---------- */
.contact-sec { background: linear-gradient(180deg, #fff 0%, #f4faf7 100%); }
.contact-lead { text-align: center; color: var(--muted); max-width: 640px; margin: -14px auto 34px; }
.contact-cards { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px 30px; min-width: 220px; color: var(--ink); box-shadow: var(--shadow);
}
.contact-card .ic { color: var(--primary); }
.contact-card b { font-size: 14px; color: var(--muted); }
.contact-card span { font-weight: 700; }
.privacy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.privacy-card p { color: var(--muted); }

/* ---------- التذييل ---------- */
.site-footer { background: #10221d; color: #cfe0da; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 46px 20px 30px; }
.foot-col h4 { color: #fff; margin-bottom: 14px; font-size: 15.5px; }
.foot-col a, .foot-col span { display: block; color: #cfe0da; margin-bottom: 8px; font-size: 14px; }
.foot-col a:hover { color: #fff; }
.foot-col .brand { color: #fff; margin-bottom: 12px; }
.foot-col .brand-paw { background: var(--primary); }
.social-row { display: flex; gap: 10px; }
.social-row a {
    width: 40px; height: 40px; border-radius: 10px; margin: 0;
    background: rgba(255,255,255,0.08); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--primary); }
.foot-bar { border-top: 1px solid rgba(255,255,255,0.08); }
.foot-bar-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 20px; font-size: 13px; color: #9db8ae; }

/* ---------- غير مثبت ---------- */
.install-note { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg-soft); padding: 20px; }
.install-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; text-align: center; max-width: 460px; }
.install-box h1 { margin-bottom: 12px; }
.install-box .muted { color: var(--muted); margin-bottom: 20px; }

/* ---------- الجوال ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .cards3, .steps3 { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .cards3, .steps3 { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    /* زر القائمة ثلاثي الخطوط يظهر في الجهة اليمنى مع RTL */
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; inset-inline: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 4px;
    }
    .site-nav.open { display: flex; }
    .site-nav > a { padding: 11px 6px; border-bottom: 1px solid var(--line); }
    .site-nav .nav-cta { text-align: center; margin-top: 10px; }
}
