/* ============================================================
   PANEBAL — premium bilingual marketing site
   Brand: gold + ink (black/navy), sourced from company profile
   ============================================================ */

:root {
    --gold: #c9a14a;
    --gold-light: #e6c46a;
    --gold-deep: #a87f2e;
    --gold-grad: linear-gradient(135deg, #e6c46a 0%, #c9a14a 45%, #a87f2e 100%);

    --ink: #0d1117;
    --ink-2: #141a24;
    --ink-3: #1c2430;

    --cream: #f7f5ef;
    --cream-2: #efece2;
    --white: #ffffff;

    --text: #1b2230;
    --muted: #5c6675;
    --muted-light: #aeb6c2;

    --line: rgba(201, 161, 74, .25);
    --shadow-sm: 0 4px 16px rgba(13, 17, 23, .06);
    --shadow-md: 0 16px 40px rgba(13, 17, 23, .10);
    --shadow-lg: 0 30px 70px rgba(13, 17, 23, .18);

    --radius: 16px;
    --radius-lg: 22px;
    --maxw: 1200px;
    --header-h: 76px;

    --font-body: 'Inter', system-ui, sans-serif;
    --font-head: 'Playfair Display', Georgia, serif;
}

/* Arabic typography */
.is-rtl {
    --font-body: 'Cairo', system-ui, sans-serif;
    --font-head: 'Cairo', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ---------------------------------------------- Shared typography */
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.is-rtl .eyebrow { letter-spacing: .06em; }
.eyebrow.gold { color: var(--gold-deep); }

.gold-text {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -.01em;
}
.section-title.light { color: var(--white); }

.section { padding: clamp(64px, 9vw, 120px) 0; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-intro { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.why .section-intro { color: var(--muted-light); }

/* ---------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .98rem;
    padding: 14px 30px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-gold {
    background: var(--gold-grad);
    color: #15110a;
    box-shadow: 0 10px 28px rgba(201, 161, 74, .35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 161, 74, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }

/* ============================================================ HEADER */
.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.scrolled {
    background: rgba(13, 17, 23, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a {
    font-weight: 600;
    font-size: .96rem;
    color: rgba(255, 255, 255, .88);
    transition: color .2s ease;
    position: relative;
}
.nav-links > a:not(.btn):not(.lang-switch)::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: -6px;
    width: 0;
    height: 2px;
    background: var(--gold-grad);
    transition: width .25s ease;
}
.nav-links > a:not(.btn):not(.lang-switch):hover { color: var(--gold-light); }
.nav-links > a:not(.btn):not(.lang-switch):hover::after { width: 100%; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid rgba(201, 161, 74, .5);
    border-radius: 999px;
    font-weight: 700;
    color: var(--gold-light);
}
.lang-switch:hover { background: rgba(201, 161, 74, .15); }
.lang-switch .globe { font-size: .9em; }
.nav-cta { padding: 11px 24px; }

/* burger (mobile) */
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ============================================================ HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(120% 120% at 80% 0%, #1b2433 0%, var(--ink) 55%);
    color: #fff;
    overflow: hidden;
    padding-block: calc(var(--header-h) + 40px) 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(201,161,74,.55), transparent 70%); inset-block-start: -120px; inset-inline-end: -80px; }
.orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(120,140,180,.35), transparent 70%); inset-block-end: -100px; inset-inline-start: -60px; }
.grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
    mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
}

.hero-inner { position: relative; max-width: 880px; }
.hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 24px;
}
.hero-title .lead { display: block; color: #fff; }
.hero-title .gold-text { display: block; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.8); max-width: 660px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 36px;
}
.hero-stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.6); }

/* ============================================================ ABOUT */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.about-copy .lead-text { font-size: 1.22rem; font-weight: 600; color: var(--text); margin: 6px 0 22px; line-height: 1.6; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }

.about-cards { display: flex; flex-direction: column; gap: 22px; }
.vm-card {
    background: var(--white);
    border: 1px solid var(--cream-2);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.vm-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px; background: var(--gold-grad); }
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vm-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--gold-light); margin-bottom: 18px; }
.vm-icon svg { width: 26px; height: 26px; }
.vm-card h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 10px; color: var(--text); }
.vm-card p { color: var(--muted); }

/* ============================================================ BUSINESS */
.business { background: var(--white); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card {
    background: var(--cream);
    border: 1px solid var(--cream-2);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}
.biz-card::after {
    content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -40%;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,161,74,.14), transparent 70%);
    opacity: 0; transition: opacity .35s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.biz-card:hover::after { opacity: 1; }
.biz-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--gold-light); margin-bottom: 20px; }
.biz-icon svg { width: 28px; height: 28px; }
.biz-route { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.is-rtl .biz-route { letter-spacing: 0; }
.biz-title { font-size: 1.28rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.biz-desc { color: var(--muted); font-size: .98rem; }

/* ============================================================ WHY */
.why { background: var(--ink); color: #fff; position: relative; }
.why::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(80% 60% at 100% 0%, rgba(201,161,74,.10), transparent 60%);
    pointer-events: none;
}
.why .container { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 56px; margin-bottom: 90px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-check {
    flex: none; display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--gold-grad); color: #15110a;
}
.why-check svg { width: 22px; height: 22px; stroke-width: 2.4; }
.why-item h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.why-item p { color: var(--muted-light); font-size: .98rem; }

.values-head { text-align: center; max-width: 100%; margin-bottom: 44px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 36px 20px;
    text-align: center;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--line); background: rgba(201,161,74,.08); }
.value-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--gold-light); }
.value-icon svg { width: 28px; height: 28px; }
.value-label { font-weight: 700; font-size: 1.1rem; color: #fff; }

/* ============================================================ CONTACT */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
    display: flex; flex-direction: column; gap: 10px;
    background: var(--white);
    border: 1px solid var(--cream-2);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold-grad); color: #15110a; margin-bottom: 8px; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.is-rtl .contact-label { letter-spacing: 0; }
.contact-value { color: var(--text); font-weight: 500; }
.contact-value a:hover { color: var(--gold-deep); }
.contact-phones { display: flex; flex-direction: column; gap: 4px; }

/* ============================================================ FOOTER */
.site-footer { background: var(--ink); color: #fff; padding-top: 64px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-tagline { color: var(--gold-light); font-weight: 600; max-width: 380px; }
.is-rtl .footer-tagline { font-family: var(--font-head); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; color: var(--muted-light); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-addr { max-width: 320px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: center; color: rgba(255,255,255,.5); font-size: .88rem; }

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

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .cards-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav-burger { display: flex; }
    .nav-links {
        position: fixed;
        inset-block-start: var(--header-h);
        inset-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(13, 17, 23, .98);
        backdrop-filter: blur(14px);
        padding: 14px 24px 28px;
        transform: translateY(-130%);
        transition: transform .35s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,.4);
    }
    .nav-toggle:checked ~ .nav-links { transform: none; }
    .nav-links > a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-links > a:not(.btn):not(.lang-switch)::after { display: none; }
    .lang-switch { justify-content: center; margin-top: 14px; border-bottom: none; }
    .nav-cta { margin-top: 12px; }
    .site-header { background: rgba(13, 17, 23, .92); backdrop-filter: blur(14px); }
}

@media (max-width: 560px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .cards-grid, .contact-grid, .values-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .vm-card, .biz-card, .contact-card { padding: 26px; }
}
