/* =====================================================
   Legal Capital - Premium Law Firm Website
   Dark Luxury Theme with Gold Accents (RTL Arabic Primary)
   ===================================================== */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #14141e;
    --bg-card-hover: #1c1c2a;

    --gold: #c9a84c;
    --gold-light: #e2c97e;
    --gold-dark: #a08030;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e2c97e 50%, #c9a84c 100%);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --text-gold: #c9a84c;

    --border-color: rgba(201, 168, 76, 0.12);
    --border-light: rgba(255, 255, 255, 0.06);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Noto Kufi Arabic', 'Tahoma', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1280px;
    --nav-height: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
body.lang-ar { font-family: var(--font-arabic); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--bg-primary); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
.text-gradient { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

/* ---- Preloader ---- */
#preloader { position: fixed; inset: 0; background: var(--bg-primary); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s; }
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { font-family: var(--font-heading); font-size: 28px; letter-spacing: 4px; color: var(--gold); margin-bottom: 24px; }
.preloader-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.1); margin: 0 auto; position: relative; overflow: hidden; }
.preloader-bar-fill { position: absolute; inset-inline-start: 0; top: 0; height: 100%; width: 0%; background: var(--gold-gradient); animation: preloadFill 1.8s ease forwards; }
@keyframes preloadFill { to { width: 100%; } }

/* ---- Navigation ---- */
.main-nav { position: fixed; top: 0; inset-inline-start: 0; inset-inline-end: 0; height: var(--nav-height); z-index: 1000; background: transparent; transition: var(--transition); border-bottom: 1px solid transparent; }
.main-nav.scrolled { background: rgba(10, 10, 15, 0.92); backdrop-filter: blur(12px); border-bottom-color: var(--border-color); box-shadow: var(--shadow-sm); }
.nav-container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--text-primary); }
.nav-logo-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border-color); }
.nav-logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
.logo-dot { color: var(--gold); }
.logo-sub { color: var(--text-secondary); font-size: 14px; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link { display: block; padding: 10px 16px; color: var(--text-secondary); font-size: 14px; font-weight: 500; border-radius: var(--radius-md); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(201, 168, 76, 0.08); }
.nav-link.nav-cta { color: var(--gold); border: 1px solid var(--border-color); }
.nav-link.nav-cta:hover { background: var(--gold); color: var(--bg-primary); }
.nav-link.nav-lang { color: var(--gold-light); font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: none; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--text-primary); transition: var(--transition); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg-image { width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.7) 50%, rgba(10,10,15,0.88) 100%); }
.hero-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 900px; text-align: center; padding: 0 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.badge-line { width: 40px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--font-heading); font-size: clamp(36px, 7vw, 72px); font-weight: 700; color: var(--text-primary); margin-bottom: 24px; line-height: 1.1; }
body.lang-ar .hero-title { font-family: var(--font-arabic); font-size: clamp(30px, 6vw, 56px); }
.hero-subtitle { font-size: clamp(18px, 3vw, 26px); color: var(--gold-light); font-weight: 500; margin-bottom: 20px; }
.hero-desc { font-size: 18px; color: var(--text-secondary); max-width: 700px; margin: 0 auto 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px; transition: var(--transition); border: 1px solid transparent; }
.btn-primary { background: var(--gold-gradient); color: var(--bg-primary); border-color: var(--gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--bg-primary); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-color); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 42px; font-weight: 700; color: var(--gold); display: inline; }
.stat-suffix { font-family: var(--font-heading); font-size: 28px; color: var(--gold); }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-color); }
.hero-scroll { position: absolute; bottom: 40px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollBounce 1.5s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.5; } }

/* ---- Sections ---- */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-tag { display: inline-block; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 100px; }
body.lang-ar .section-tag { text-transform: none; letter-spacing: 0; }
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 5vw, 48px); color: var(--text-primary); margin-bottom: 20px; }
body.lang-ar .section-title { font-family: var(--font-arabic); }
.section-line { width: 80px; height: 2px; background: var(--gold-gradient); margin: 0 auto; }
.section-desc { color: var(--text-secondary); font-size: 18px; margin-top: 20px; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-grid.about-with-photo { grid-template-columns: 1fr 1fr 1fr; }
.about-content { padding-top: 20px; }
.about-photo-wrap { position: relative; }
.about-photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-lg); }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-photo-caption { position: absolute; bottom: 0; inset-inline: 0; padding: 24px; background: linear-gradient(to top, rgba(10,10,15,0.95), transparent); text-align: center; }
.about-photo-caption strong { display: block; font-size: 18px; color: var(--gold-light); margin-bottom: 4px; }
.about-photo-caption span { display: block; font-size: 13px; color: var(--text-secondary); }
.about-lead { font-size: 22px; color: var(--gold-light); font-weight: 500; margin-bottom: 24px; line-height: 1.6; }
.about-content p { color: var(--text-secondary); margin-bottom: 18px; font-size: 17px; }
.about-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); }
.pillar-card:hover { background: var(--bg-card-hover); border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.pillar-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(201, 168, 76, 0.08); border: 1px solid rgba(201, 168, 76, 0.2); border-radius: 12px; color: var(--gold); font-size: 20px; margin-bottom: 16px; }
.pillar-card h3 { font-size: 18px; color: var(--text-primary); margin-bottom: 10px; }
.pillar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- Services ---- */
.section-services { background: var(--bg-secondary); }
.services-grid { display: flex; flex-direction: column; gap: 16px; max-width: 1000px; margin: 0 auto; }
.service-axis { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.service-axis:hover { border-color: var(--gold); }
.service-axis-header { padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; background: transparent; border: none; width: 100%; text-align: inherit; color: inherit; }
.service-axis-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(201, 168, 76, 0.08); border: 1px solid rgba(201, 168, 76, 0.2); border-radius: 12px; color: var(--gold); font-size: 20px; flex-shrink: 0; }
.service-axis-title-wrap { flex: 1; }
.service-axis-title { font-size: 20px; color: var(--text-primary); margin-bottom: 6px; }
body.lang-ar .service-axis-title { font-family: var(--font-arabic); }
.service-axis-desc { font-size: 14px; color: var(--text-muted); }
.service-axis-toggle { color: var(--gold); font-size: 16px; transition: var(--transition); }
.service-axis.open .service-axis-toggle { transform: rotate(180deg); }
.service-axis-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.service-axis.open .service-axis-body { max-height: 1200px; }
.service-axis-content { padding: 0 28px 28px; }
.service-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: rgba(255,255,255,0.02); border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.service-item i { color: var(--gold); font-size: 12px; margin-top: 6px; flex-shrink: 0; }
.service-item span { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ---- Media ---- */
.media-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.media-intro-text p { color: var(--text-secondary); margin-bottom: 18px; font-size: 17px; line-height: 1.8; }
.media-points { margin-top: 24px; }
.media-point { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.media-point i { color: var(--gold); font-size: 14px; margin-top: 6px; }
.media-point span { color: var(--text-primary); font-size: 16px; }
.media-video { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); aspect-ratio: 16/9; background: var(--bg-card); }
.media-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube-channel-card { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, var(--bg-card) 100%); }
.youtube-channel-link { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; color: var(--text-primary); width: 100%; height: 100%; }
.youtube-channel-link:hover { color: var(--text-primary); }
.youtube-channel-icon { font-size: 64px; color: #ff0000; margin-bottom: 16px; transition: var(--transition); }
.youtube-channel-link:hover .youtube-channel-icon { transform: scale(1.1); color: #ff3333; }
.youtube-channel-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--gold-light); }
.youtube-channel-sub { font-size: 14px; color: var(--text-muted); max-width: 280px; line-height: 1.6; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.article-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.article-image { height: 200px; position: relative; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%); }
.article-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-category { color: var(--gold); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.article-title { font-size: 18px; color: var(--text-primary); margin-bottom: 12px; line-height: 1.4; }
body.lang-ar .article-title { font-family: var(--font-arabic); }
.article-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.article-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 14px; }
.section-cta { text-align: center; }

/* ---- Contact ---- */
.section-contact { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); }
.contact-card:hover { border-color: var(--gold); }
.contact-card.emergency { border-color: rgba(201, 168, 76, 0.4); background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, var(--bg-card) 100%); }
.contact-card.emergency:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.contact-card-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
body.lang-ar .contact-card-label { text-transform: none; letter-spacing: 0; }
.contact-card-value { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.contact-card-value a { color: var(--gold-light); }
.contact-card-value a:hover { color: var(--gold); }
.contact-card-sub { font-size: 14px; color: var(--text-secondary); margin-top: 10px; line-height: 1.6; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: var(--radius-md); color: var(--text-primary); font-size: 15px; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: rgba(201, 168, 76, 0.04); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.required { color: var(--gold); }
.form-alert { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-md); margin-bottom: 24px; font-size: 14px; }
.form-alert.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ade80; }
.form-alert.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-disclaimer { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.btn-submit { border: none; cursor: pointer; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.footer-top { padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--text-primary); display: inline-block; margin-bottom: 16px; }
.footer-tagline { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.footer-col h4 { font-size: 16px; color: var(--text-primary); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.footer-contact-list li i { color: var(--gold); width: 16px; }
.footer-contact-list li a { color: var(--text-secondary); }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.footer-social a { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: 50%; color: var(--gold); transition: var(--transition); }
.footer-social a svg { width: 22px; height: 22px; }
.footer-social a:hover { background: var(--gold); color: var(--bg-primary); border-color: var(--gold); }
.footer-map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold); font-size: 14px; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border-light); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 13px; }

/* ---- Floating Buttons ---- */
.back-to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 44px; height: 44px; background: var(--gold); color: var(--bg-primary); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.whatsapp-float { position: fixed; bottom: 80px; inset-inline-end: 24px; width: 56px; height: 56px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); z-index: 999; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ---- Blog Pages ---- */
.blog-hero { padding-top: 140px; padding-bottom: 60px; text-align: center; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 80px; }
.article-hero { padding-top: 140px; padding-bottom: 40px; }
.article-hero h1 { font-family: var(--font-heading); font-size: clamp(28px, 5vw, 42px); color: var(--text-primary); max-width: 900px; }
body.lang-ar .article-hero h1 { font-family: var(--font-arabic); }
.article-meta { display: flex; align-items: center; gap: 16px; color: var(--text-muted); font-size: 14px; margin-top: 20px; }
.article-body { max-width: 900px; margin: 0 auto 80px; color: var(--text-secondary); font-size: 17px; line-height: 1.9; }
.article-body p { margin-bottom: 20px; }
.article-body h2, .article-body h3 { color: var(--text-primary); margin: 32px 0 16px; }
.article-body strong { color: var(--gold-light); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about-grid, .about-grid.about-with-photo, .media-intro, .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-photo-wrap { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    :root { --nav-height: 70px; }
    .nav-toggle { display: flex; }
    .nav-menu { position: fixed; top: var(--nav-height); inset-inline: 0; background: var(--bg-secondary); flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 4px; border-bottom: 1px solid var(--border-color); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: var(--transition); }
    .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-link { padding: 14px 16px; border-radius: var(--radius-md); }
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .about-pillars { grid-template-columns: 1fr; }
    .service-items { grid-template-columns: 1fr; }
    .articles-grid, .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ---- Particles Canvas ---- */
.particle { position: absolute; background: var(--gold); border-radius: 50%; opacity: 0.2; pointer-events: none; }
