/* ═══════════════════════════════════════════════
   EightyEight Aluminium & Glass — style.css
   ═══════════════════════════════════════════════ */

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

:root {
    --dark: #0e0f11;
    --dark2: #161719;
    --dark3: #1e2024;
    --card-bg: #191b1f;
    --accent: #4a7fd4;
    --accent-light: #6a9fe4;
    --gold: #c9a96e;
    --white: #f4f4f2;
    --gray: #888;
    --border: rgba(255,255,255,0.07);
    --font-en: 'DM Sans', sans-serif;
    --font-ar: 'Cairo', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-en);
    font-weight: 300;
    overflow-x: hidden;
    transition: font-family 0.2s;
}
body.ar { font-family: var(--font-ar); direction: rtl; }

/* ── LANG SWITCHER ── */
.lang-switcher {
    position: fixed;
    top: 22px;
    right: 220px;
    z-index: 1100;
    display: flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.lang-btn {
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--gray);
    transition: background 0.3s, color 0.3s;
    font-family: var(--font-en);
}
.lang-btn.active { background: var(--accent); color: #fff; }
body.ar .lang-switcher { right: auto; left: 220px; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    background: #25d366; color: #fff; border-radius: 50%;
    width: 56px; height: 56px; display: flex; align-items: center;
    justify-content: center; font-size: 26px;
    box-shadow: 0 8px 32px rgba(37,211,102,0.35); z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
body.ar .whatsapp-float { right: auto; left: 28px; }

/* ── SOCIAL SIDEBAR (desktop) ── */
.social-sidebar {
    position: fixed; left: 22px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 14px; z-index: 100;
}
body.ar .social-sidebar { left: auto; right: 22px; }
.social-sidebar a {
    width: 36px; height: 36px; border: 1px solid var(--border);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--gray); font-size: 13px;
    text-decoration: none; transition: border-color 0.3s, color 0.3s;
}
.social-sidebar a:hover { border-color: var(--accent); color: var(--accent); }

/* ── MOBILE SOCIAL DOCK ── */
.mobile-social-dock {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    background: rgba(14,15,17,0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px 20px;
    gap: 20px;
    z-index: 999;
    align-items: center;
}
.mobile-social-dock a {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); font-size: 15px;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.mobile-social-dock a:hover { border-color: var(--accent); color: var(--accent); }
.mobile-social-dock a.wa { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.4); color: #25d366; }
.mobile-social-dock a.wa:hover { background: rgba(37,211,102,0.2); }

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
    position: fixed; right: 28px; bottom: 100px;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; color: var(--gray); font-size: 9px;
    letter-spacing: 0.14em; text-transform: uppercase; z-index: 100;
}
body.ar .scroll-indicator { right: auto; left: 28px; }
.scroll-indicator .arr {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gray));
    animation: sp 1.8s ease-in-out infinite;
}
@keyframes sp { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ── NAV ── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 999;
    padding: 16px 60px; display: flex; align-items: center;
    justify-content: space-between;
    background: rgba(14,15,17,0.90); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); transition: padding 0.3s;
}
nav.scrolled { padding: 10px 60px; }
body.ar nav { flex-direction: row-reverse; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
body.ar .logo { flex-direction: row-reverse; }
.logo-text { line-height: 1.15; }
.logo-text strong { display: block; font-size: 16px; font-weight: 600; color: var(--white); letter-spacing: 0.02em; }
.logo-text span { font-size: 10px; color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase; }
body.ar .logo-text { text-align: right; }

/* Desktop nav links */
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
body.ar .nav-links { flex-direction: row-reverse; }
.nav-links a {
    color: var(--gray); text-decoration: none; font-size: 13px;
    font-weight: 400; letter-spacing: 0.03em; transition: color 0.3s;
    position: relative;
}
body.ar .nav-links a { font-family: var(--font-ar); font-size: 14px; letter-spacing: 0; }
.nav-links a.active, .nav-links a:hover { color: var(--white); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 1px; background: var(--accent);
}
.nav-cta {
    background: var(--white) !important; color: var(--dark) !important;
    padding: 9px 20px; border-radius: 4px; font-weight: 600 !important;
    font-size: 11px !important; letter-spacing: 0.06em !important;
    text-transform: uppercase; transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: #fff !important; }
.nav-cta::after { display: none !important; }

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1200;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.35s, opacity 0.3s, width 0.3s;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU DRAWER ── */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    background: rgba(10,11,13,0.98);
    backdrop-filter: blur(24px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.77,0,0.18,1);
    padding: 80px 30px 40px;
}
.mobile-menu.open { transform: translateY(0); }
body.ar .mobile-menu { direction: rtl; }

.mobile-menu ul {
    list-style: none;
    text-align: center;
    width: 100%;
}
.mobile-menu ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu.open ul li { opacity: 1; transform: translateY(0); }
.mobile-menu.open ul li:nth-child(1)  { transition-delay: 0.05s; }
.mobile-menu.open ul li:nth-child(2)  { transition-delay: 0.10s; }
.mobile-menu.open ul li:nth-child(3)  { transition-delay: 0.15s; }
.mobile-menu.open ul li:nth-child(4)  { transition-delay: 0.20s; }
.mobile-menu.open ul li:nth-child(5)  { transition-delay: 0.25s; }
.mobile-menu.open ul li:nth-child(6)  { transition-delay: 0.30s; }
.mobile-menu.open ul li:nth-child(7)  { transition-delay: 0.35s; }
.mobile-menu.open ul li:nth-child(8)  { transition-delay: 0.40s; }

.mobile-menu ul li a {
    display: block;
    padding: 14px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    color: rgba(244,244,242,0.7);
    text-decoration: none;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s, padding-left 0.3s;
}
body.ar .mobile-menu ul li a { font-family: var(--font-ar); font-size: 24px; }
.mobile-menu ul li a:hover { color: var(--white); padding-left: 8px; }
body.ar .mobile-menu ul li a:hover { padding-left: 0; padding-right: 8px; }

.mobile-menu-cta {
    margin-top: 28px;
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 40px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
}
body.ar .mobile-menu-cta { font-family: var(--font-ar); letter-spacing: 0; font-size: 14px; }
.mobile-menu-cta:hover { background: var(--accent-light); }

/* ── HERO ── */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: flex-end; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(14,15,17,0.65) 40%, transparent),
                linear-gradient(to top, rgba(14,15,17,0.85) 20%, transparent 60%);
}
body.ar .hero-overlay {
    background: linear-gradient(to left, rgba(14,15,17,0.65) 40%, transparent),
                linear-gradient(to top, rgba(14,15,17,0.85) 20%, transparent 60%);
}
.hero-content {
    position: relative; z-index: 10; width: 100%; max-width: 820px;
    padding: 0 60px 100px;
}
body.ar .hero-content { margin-right: auto; margin-left: 0; padding: 0 60px 100px; text-align: right; }
.hero-tag {
    display: inline-block; font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px;
    opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
body.ar .hero-tag { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(46px, 7vw, 86px); font-weight: 600; line-height: 1.0;
    margin-bottom: 22px; opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
body.ar .hero-title { font-family: var(--font-ar); font-size: clamp(36px, 5vw, 64px); line-height: 1.3; }
.hero-title em { font-style: italic; color: var(--gold); }
body.ar .hero-title em { font-style: normal; }
.hero-sub {
    font-size: 14px; color: rgba(244,244,242,0.72); max-width: 500px;
    line-height: 1.8; margin-bottom: 38px;
    opacity: 0; animation: fadeUp 0.9s 0.7s forwards;
}
body.ar .hero-sub { font-family: var(--font-ar); font-size: 15px; margin-right: 0; margin-left: auto; }
.hero-btns {
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.9s 0.9s forwards;
}
body.ar .hero-btns { justify-content: flex-end; }
.btn-primary {
    background: var(--accent); color: #fff; padding: 13px 30px;
    border-radius: 4px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
    border: 1px solid rgba(255,255,255,0.3); color: var(--white);
    padding: 13px 30px; border-radius: 4px; font-size: 12px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
    transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
body.ar .btn-primary, body.ar .btn-outline { letter-spacing: 0; font-family: var(--font-ar); font-size: 14px; }

.hero-dots { position: absolute; bottom: 50px; left: 60px; display: flex; gap: 8px; z-index: 10; }
body.ar .hero-dots { left: auto; right: 60px; }
.dot { width: 24px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; cursor: pointer; transition: background 0.3s, width 0.3s; }
.dot.active { background: var(--accent); width: 40px; }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }

/* ── SHARED SECTION ── */
section { padding: 100px 60px; }
.section-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
body.ar .section-label { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 50px); font-weight: 600; line-height: 1.1; }
body.ar .section-title { font-family: var(--font-ar); font-size: clamp(26px, 3.5vw, 42px); line-height: 1.4; font-weight: 700; }
.section-sub { color: var(--gray); font-size: 14px; line-height: 1.8; margin-top: 10px; }
body.ar .section-sub { font-family: var(--font-ar); font-size: 15px; }

/* ── SERVICES ── */
#services { background: var(--dark2); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.service-card { background: var(--card-bg); padding: 48px 36px; position: relative; transition: background 0.4s; overflow: hidden; }
body.ar .service-card { text-align: right; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s; }
.service-card:hover { background: #202329; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 50px; height: 50px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 20px; color: var(--accent); transition: border-color 0.3s; }
body.ar .service-icon { margin-right: 0; margin-left: auto; }
.service-card:hover .service-icon { border-color: var(--accent); }
.service-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
body.ar .service-card h3 { font-family: var(--font-ar); font-size: 17px; }
.service-card p { font-size: 13px; color: var(--gray); line-height: 1.75; }
body.ar .service-card p { font-family: var(--font-ar); font-size: 14px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 12px; color: var(--accent); text-decoration: none; letter-spacing: 0.04em; transition: gap 0.3s; }
body.ar .service-link { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; flex-direction: row-reverse; }
.service-link:hover { gap: 10px; }
.service-bg-num { position: absolute; right: 16px; bottom: -14px; font-family: 'Cormorant Garamond', serif; font-size: 110px; color: rgba(255,255,255,0.025); font-weight: 700; pointer-events: none; line-height: 1; }
body.ar .service-bg-num { right: auto; left: 16px; }

/* ── ABOUT ── */
#about { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
body.ar .about-grid { direction: rtl; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; border-radius: 6px; filter: brightness(0.8); }
.about-img-badge { position: absolute; bottom: -24px; right: -24px; background: var(--accent); padding: 26px 30px; border-radius: 6px; }
body.ar .about-img-badge { right: auto; left: -24px; }
.about-img-badge strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 46px; font-weight: 700; line-height: 1; }
.about-img-badge span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
body.ar .about-img-badge span { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }
.about-text p { font-size: 13px; color: var(--gray); line-height: 1.85; margin-top: 18px; }
body.ar .about-text p { font-family: var(--font-ar); font-size: 14px; text-align: right; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.stat-item { border-top: 1px solid var(--border); padding-top: 18px; }
body.ar .stat-item { text-align: right; }
.stat-item strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600; color: var(--white); line-height: 1; }
.stat-item span { font-size: 11px; color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 5px; display: block; }
body.ar .stat-item span { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }

/* ── MISSION / VISION ── */
#mission { background: var(--dark2); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 60px; }
.mv-card { background: var(--card-bg); padding: 50px 44px; }
body.ar .mv-card { text-align: right; }
.mv-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; margin-bottom: 16px; color: var(--gold); }
body.ar .mv-card h3 { font-family: var(--font-ar); font-size: 26px; }
.mv-card p { font-size: 13px; color: var(--gray); line-height: 1.85; }
body.ar .mv-card p { font-family: var(--font-ar); font-size: 14px; }
.values-header { text-align: center; margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 60px; }
.value-card { background: var(--card-bg); padding: 36px 28px; text-align: center; transition: background 0.3s; }
body.ar .value-card { font-family: var(--font-ar); }
.value-card:hover { background: #202329; }
.value-card i { font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.value-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
body.ar .value-card h4 { font-size: 15px; }
.value-card p { font-size: 12px; color: var(--gray); line-height: 1.75; }
body.ar .value-card p { font-size: 13px; }
.why-header { text-align: center; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.why-card { background: var(--card-bg); padding: 36px 22px; text-align: center; transition: background 0.3s; }
body.ar .why-card { font-family: var(--font-ar); }
.why-card:hover { background: #202329; }
.why-card i { font-size: 20px; color: var(--accent-light); margin-bottom: 14px; }
.why-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
body.ar .why-card h4 { font-size: 14px; }
.why-card p { font-size: 11px; color: var(--gray); line-height: 1.7; }
body.ar .why-card p { font-size: 12px; }

/* ── GALLERY ── */
#portfolio { background: var(--dark); }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
body.ar .gallery-header { flex-direction: row-reverse; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 4px; border-radius: 8px; overflow: hidden; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, filter 0.4s; filter: brightness(0.7); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.45); }
.gallery-item-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; opacity: 0; transition: opacity 0.4s; }
body.ar .gallery-item-overlay { text-align: right; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { font-size: 11px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }
body.ar .gallery-item-overlay span { font-family: var(--font-ar); letter-spacing: 0; }
.gallery-item-overlay strong { font-size: 14px; font-weight: 500; color: var(--white); }
body.ar .gallery-item-overlay strong { font-family: var(--font-ar); }

/* ── CLIENTS ── */
#clients { background: var(--dark2); }
.clients-header { text-align: center; margin-bottom: 48px; }
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 60px; }
.client-card { background: var(--card-bg); padding: 24px 16px; text-align: center; transition: background 0.3s; }
.client-card:hover { background: #202329; }
.client-card i { font-size: 16px; color: var(--accent); margin-bottom: 10px; display: block; }
.client-card span { display: block; font-size: 11px; color: var(--gray); line-height: 1.5; }
body.ar .client-card span { font-family: var(--font-ar); font-size: 12px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.project-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.project-card:hover { transform: translateY(-4px); border-color: var(--accent); }
body.ar .project-card { text-align: right; }
.project-card img { width: 100%; height: 160px; object-fit: cover; filter: brightness(0.8); }
.project-info { padding: 20px; }
.project-info .tag { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
body.ar .project-info .tag { font-family: var(--font-ar); letter-spacing: 0; font-size: 11px; }
.project-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
body.ar .project-info h4 { font-family: var(--font-ar); font-size: 15px; }
.project-info p { font-size: 11px; color: var(--gray); line-height: 1.7; }
body.ar .project-info p { font-family: var(--font-ar); font-size: 12px; }

/* ── CONTACT ── */
#contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
body.ar .contact-grid { direction: rtl; }
.contact-info p { font-size: 13px; color: var(--gray); line-height: 1.85; margin-top: 16px; margin-bottom: 36px; }
body.ar .contact-info p { font-family: var(--font-ar); font-size: 14px; text-align: right; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 13px; color: var(--white); text-decoration: none; }
body.ar .contact-detail { flex-direction: row-reverse; justify-content: flex-end; font-family: var(--font-ar); font-size: 14px; }
.contact-detail i { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--accent); flex-shrink: 0; }
.contact-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 44px; }
body.ar .contact-form { text-align: right; }
.contact-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; margin-bottom: 28px; }
body.ar .contact-form h3 { font-family: var(--font-ar); font-size: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 7px; }
body.ar .form-group label { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; text-transform: none; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 4px; padding: 12px 14px; font-size: 13px; color: var(--white);
    font-family: var(--font-en); transition: border-color 0.3s; outline: none;
}
body.ar .form-group input,
body.ar .form-group select,
body.ar .form-group textarea { font-family: var(--font-ar); text-align: right; direction: rtl; font-size: 14px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark3); }
.form-group textarea { height: 100px; resize: vertical; }

/* form status messages */
.form-status {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    display: none;
}
.form-status.success { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.3); color: #25d366; display: block; }
.form-status.error   { background: rgba(224,85,85,0.12);  border: 1px solid rgba(224,85,85,0.3);  color: #e05555; display: block; }

.form-submit {
    width: 100%; background: var(--accent); color: #fff; border: none;
    padding: 14px; border-radius: 4px; font-family: var(--font-en);
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    cursor: pointer; transition: background 0.3s, transform 0.2s; margin-top: 6px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
body.ar .form-submit { font-family: var(--font-ar); letter-spacing: 0; font-size: 14px; }
.form-submit:hover { background: var(--accent-light); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}
.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
footer {
    background: var(--dark2); border-top: 1px solid var(--border);
    padding: 28px 60px; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 14px;
}
body.ar footer { flex-direction: row-reverse; }
footer p { font-size: 11px; color: var(--gray); letter-spacing: 0.07em; text-transform: uppercase; }
body.ar footer p { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
body.ar .footer-links { flex-direction: row-reverse; }
.footer-links a { font-size: 11px; color: var(--gray); text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.3s; }
body.ar .footer-links a { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }
.footer-links a:hover { color: var(--white); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════
   RESPONSIVE
   ════════════════════════ */
@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    /* nav */
    nav { padding: 12px 20px; }
    nav.scrolled { padding: 10px 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    /* lang switcher repositioned to sit left of hamburger */
    .lang-switcher { right: 60px; top: 50%; transform: translateY(-50%); }
    body.ar .lang-switcher { left: 60px; right: auto; transform: translateY(-50%); }

    /* sections */
    section { padding: 60px 20px; }

    /* hero */
    .hero-content { padding: 0 20px 70px; }
    .hero-dots { left: 20px; bottom: 36px; }
    body.ar .hero-dots { right: 20px; left: auto; }

    /* grids collapse */
    .services-grid, .mv-grid, .values-grid, .why-grid, .projects-grid { grid-template-columns: 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-badge { right: 0; bottom: -16px; }
    body.ar .about-img-badge { left: 0; right: auto; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-item:first-child { grid-row: span 1; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }

    /* hide desktop sidebar & scroll, show mobile dock */
    .social-sidebar, .scroll-indicator { display: none; }
    .mobile-social-dock { display: flex; }

    /* hide desktop whatsapp (replaced by dock) */
    .whatsapp-float { display: none; }

    footer { flex-direction: column; text-align: center; padding: 20px 20px 60px; }
    body.ar footer { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(36px, 10vw, 52px); }
    .contact-form { padding: 28px 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:first-child { grid-row: span 1; }
    .projects-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
