/* a11y WCAG: btn-mid=7.57:1 pill=4.56:1 brand@white=5.03:1 linkedin=4.68:1 muted@page=5.51:1 */
:root {
    --primary: #3F6FB8;
    --secondary: #E6E6E6;
    --accent: #FFFFFF;
    --primary-text: #FFFFFF;
    --secondary-text: #111827;
    --soft-primary: rgba(63, 111, 184, 0.14);
    --soft-secondary: rgba(230, 230, 230, 0.10);
    --soft-accent: rgba(255, 255, 255, 0.35);
    --ux-pill-bg: #F2F2F2;
    --ux-pill-text: #6A6E77;
    --ux-pill-border: #D6D7D8;
    --ux-btn-primary-text: #111827;
    --ux-btn-light-text: #70747C;
    --ux-icon-soft-text: #3C6AB0;
    --ux-brand-on-light: #3F6FB8;
    --ux-linkedin-fg: #FFFFFF;
    --ux-muted: #5C6578;
    --ux-accent-solid-text: #111827;
    --ink: #0a0f1a;
    --muted: var(--ux-muted);
    --line: rgba(10, 15, 26, 0.08);
    --glass: rgba(255, 255, 255, 0.55);
    --glass-strong: rgba(255, 255, 255, 0.82);
    --font-display: 'Inter', ui-sans-serif, system-ui;
    --font-body: 'Inter', ui-sans-serif, system-ui;
    --radius: 22px;
    --radius-lg: 32px;
    --shadow: 0 28px 80px rgba(10, 15, 26, 0.12);
    --shadow-soft: 0 16px 48px rgba(10, 15, 26, 0.08);
}

.tone-luxury :is(h1, h2, h3, .hero-title, .section-title) {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tone-bold :is(h1, h2, h3, .hero-title, .section-title) {
    font-weight: 800;
    letter-spacing: -0.045em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: #f6f8fc;
    line-height: 1.65;
    overflow-x: hidden;
}

.bg-aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 80% at 10% -10%, var(--soft-primary), transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 0%, var(--soft-secondary), transparent 45%),
        linear-gradient(180deg, #fbfcff 0%, #f0f4fb 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: float 18s ease-in-out infinite;
}
.blob.b1 {
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    background: var(--soft-primary);
    top: -8%;
    left: -6%;
}
.blob.b2 {
    width: min(420px, 60vw);
    height: min(420px, 60vw);
    background: var(--soft-accent);
    bottom: 10%;
    right: -8%;
    animation-delay: -6s;
}
.blob.b3 {
    width: min(300px, 50vw);
    height: min(300px, 50vw);
    background: rgba(100, 120, 200, 0.2);
    top: 40%;
    left: 35%;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, 3%) scale(1.03); }
    66% { transform: translate(-2%, 1%) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
    .blob { animation: none; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px) saturate(1.3);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--line);
}

.site-header__lang-bar {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(
        105deg,
        color-mix(in srgb, var(--primary) 12%, transparent),
        color-mix(in srgb, var(--secondary) 10%, transparent) 45%,
        rgba(255, 255, 255, 0.4)
    );
    padding: 10px 0;
}

.site-header__lang-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

html[dir="rtl"] .site-header__lang-inner {
    flex-direction: row-reverse;
}

.site-header__lang-caption {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.brand-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.brand-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ux-brand-on-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--ux-btn-primary-text) !important;
    box-shadow: 0 12px 28px var(--soft-primary);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
    filter: brightness(0.94);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 12px;
    border-top: 1px solid var(--line);
    font-weight: 600;
}
.mobile-nav:not([hidden]) {
    display: flex;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
}

/* Bilingual (EN / AR) */
html[data-site-lang="en"] .lang-ar-only { display: none !important; }
html[data-site-lang="ar"] .lang-en-only { display: none !important; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(10, 15, 26, 0.1);
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(10, 15, 26, 0.06);
}

.lang-switch--bar {
    padding: 5px 6px;
    gap: 6px;
}

.lang-btn {
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-btn__abbr {
    font-size: 0.68rem;
    opacity: 0.85;
    min-width: 1.25em;
    text-align: center;
}

.lang-btn__full {
    font-size: 0.72rem;
}

@media (max-width: 520px) {
    .lang-switch--bar .lang-btn__full {
        display: none;
    }
    .lang-switch--bar .lang-btn {
        padding: 10px 16px;
    }
}

.lang-btn:hover:not(.is-active) {
    color: var(--ink);
    transform: translateY(-1px);
}

.lang-btn.is-active:hover {
    color: var(--ux-btn-primary-text);
    transform: translateY(-1px);
}

.lang-btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--ux-btn-primary-text) !important;
    box-shadow: 0 8px 24px var(--soft-primary);
}

.lang-btn.is-active .lang-btn__abbr {
    opacity: 1;
}

html[data-site-lang="ar"] body {
    font-family: "Noto Sans Arabic", var(--font-body);
}

html[data-site-lang="ar"] :is(.hero-title, .section-title, .brand-text strong, .timeline-item h3, .cta-inner h2, .footer-grid strong, .service-card h3) {
    font-family: "Noto Sans Arabic", var(--font-display);
}

html[data-site-lang="ar"] .hero-layout,
html[data-site-lang="ar"] .split,
html[data-site-lang="ar"] .linkedin-split {
    direction: rtl;
}

html[data-site-lang="ar"] .hero-metrics,
html[data-site-lang="ar"] .about-grid,
html[data-site-lang="ar"] .service-grid,
html[data-site-lang="ar"] .usp-grid,
html[data-site-lang="ar"] .testimonial-grid,
html[data-site-lang="ar"] .gallery-grid,
html[data-site-lang="ar"] .footer-grid {
    direction: rtl;
}

html[data-site-lang="ar"] .cta-inner,
html[data-site-lang="ar"] .cta-actions,
html[data-site-lang="ar"] .contact-details {
    direction: rtl;
}

html[data-site-lang="ar"] .timeline {
    padding-left: 0;
    padding-right: 8px;
}

html[data-site-lang="ar"] .timeline::before {
    left: auto;
    right: 11px;
}

html[data-site-lang="ar"] .timeline-item {
    padding-left: 0;
    padding-right: 36px;
}

html[data-site-lang="ar"] .timeline-mark {
    left: auto;
    right: 0;
}

html[data-site-lang="ar"] .bg-aurora {
    background:
        radial-gradient(ellipse 100% 82% at 94% -12%, var(--soft-primary), transparent 50%),
        radial-gradient(ellipse 78% 58% at 0% 8%, var(--soft-secondary), transparent 44%),
        linear-gradient(195deg, #fbfcff 0%, #eef2fb 100%);
}

html[data-site-lang="ar"] .site-header__lang-bar {
    background: linear-gradient(
        275deg,
        color-mix(in srgb, var(--secondary) 14%, transparent),
        color-mix(in srgb, var(--primary) 11%, transparent) 50%,
        rgba(255, 255, 255, 0.45)
    );
}

/* Hero */
.hero {
    padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 72px);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ux-brand-on-light);
    margin: 0 0 14px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5.2vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 18px;
    background: linear-gradient(120deg, var(--ink) 0%, var(--secondary) 55%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tone-luxury .hero-title {
    background: none;
    color: var(--ink);
}

html[data-site-lang="ar"] .hero-title {
    background: linear-gradient(255deg, var(--primary) 0%, var(--secondary) 48%, var(--ink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-site-lang="ar"] .tone-luxury .hero-title {
    background: none;
    color: var(--ink);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 36rem;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--ux-btn-primary-text);
    box-shadow: 0 20px 44px var(--soft-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-primary:hover {
    filter: brightness(0.93);
}

.btn-glass {
    background: var(--glass-strong);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.btn-light {
    background: #fff;
    color: var(--ux-btn-light-text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid color-mix(in srgb, var(--secondary) 22%, #fff);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.2s ease;
}
.btn-light:hover {
    filter: brightness(0.98);
    border-color: color-mix(in srgb, var(--secondary) 35%, #cbd5e1);
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
}
.hero-metrics dt {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 0 0 6px;
}
.hero-metrics dd {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.45;
}

.glass-panel {
    background: var(--glass-strong);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-card-pro { padding: 26px; }

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.1); }
}

.hero-card-brand {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.hero-card-brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
}
.hero-card-brand p {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-card-list li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ux-pill-bg);
    border: 1px solid var(--ux-pill-border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ux-pill-text);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

/* Sections */
.section {
    padding: clamp(56px, 9vw, 100px) 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ux-brand-on-light);
    margin: 0 0 12px;
}
.section-label.light { color: rgba(255, 255, 255, 0.85); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
}
.section-title.light { color: #fff; }

.section-lead, .section-sub {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 40rem;
}
.section-lead.light.muted { color: rgba(255, 255, 255, 0.72); }
.section-sub { margin-top: -6px; margin-bottom: 36px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.mini-glass {
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.mini-glass h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-family: var(--font-display);
}
.mini-glass p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding-left: 8px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
    opacity: 0.35;
}
.timeline-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 28px;
}
.timeline-mark {
    position: absolute;
    left: 0;
    top: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 6px var(--soft-primary);
}
.timeline-y {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ux-brand-on-light);
}
.timeline-item h3 {
    margin: 6px 0 8px;
    font-family: var(--font-display);
    font-size: 1.15rem;
}
.timeline-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.service-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.9;
}
.tilt-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--soft-primary);
    color: var(--ux-icon-soft-text);
    margin-bottom: 18px;
}
.svc-icon svg { display: block; }

.service-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}
.service-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Why / USP */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 12px;
}

.usp-card {
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.9));
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.usp-card::after {
    content: '';
    position: absolute;
    right: -30%;
    bottom: -40%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--soft-primary), transparent 70%);
    pointer-events: none;
}
.usp-index {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ux-brand-on-light);
    opacity: 0.35;
    display: block;
    margin-bottom: 8px;
}
.usp-card p {
    margin: 0;
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.competitor-note {
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--muted);
    font-style: italic;
}

/* LinkedIn band */
.linkedin-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 55%, #1a2744 100%);
    color: var(--ux-linkedin-fg);
    margin: 24px 0;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-site-lang="ar"] .linkedin-section {
    background: linear-gradient(225deg, #1a2744 0%, var(--primary) 42%, var(--secondary) 100%);
}

.linkedin-section .section-label.light {
    color: color-mix(in srgb, var(--ux-linkedin-fg) 88%, transparent);
}

.linkedin-section .section-title.light {
    color: var(--ux-linkedin-fg);
}

.linkedin-section .section-lead.light.muted {
    color: color-mix(in srgb, var(--ux-linkedin-fg) 74%, transparent);
}

.linkedin-split {
    align-items: center;
}

.li-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}

.li-preview-chrome {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
}
.li-preview-chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.li-preview-body { position: relative; padding-bottom: 24px; }

.li-banner {
    height: 88px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
}

.li-avatar-wrap {
    margin: -40px auto 0 24px;
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.li-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.li-meta {
    padding: 52px 24px 0;
}
.li-meta strong {
    display: block;
    font-size: 1.25rem;
    font-family: var(--font-display);
}
.li-meta > span {
    display: block;
    font-size: 0.88rem;
    opacity: 0.75;
    margin-top: 4px;
}
.li-bio {
    margin: 14px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.88;
}
.li-disclaimer {
    display: block;
    margin-top: 16px;
    font-size: 0.72rem;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.quote-card {
    margin: 0;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.quote-card p {
    margin: 0 0 20px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
}
.quote-card footer strong {
    display: block;
    font-size: 0.95rem;
}
.quote-card footer span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.gallery-cell {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.gallery-cell img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-cell:hover img {
    transform: scale(1.04);
}

.gallery-placeholder {
    height: 220px;
    border-radius: var(--radius);
    background:
        linear-gradient(120deg,
            color-mix(in srgb, var(--primary) 25%, transparent),
            color-mix(in srgb, var(--secondary) 20%, transparent)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
    border: 1px dashed rgba(10, 15, 26, 0.12);
    position: relative;
    overflow: hidden;
}
.gallery-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
    animation: sheen 4s ease-in-out infinite;
    animation-delay: calc(var(--ph-i, 0) * 0.6s);
}

@keyframes sheen {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* CTA */
.cta-section {
    text-align: center;
}
.cta-inner {
    padding: clamp(48px, 8vw, 80px);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}
.cta-inner > .hero-reveal > p {
    margin: 0 auto 28px;
    color: var(--muted);
    max-width: 32rem;
    font-size: 1.05rem;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    font-size: 0.92rem;
    color: var(--muted);
}
.contact-details span {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ux-brand-on-light);
    margin-bottom: 4px;
}

/* Estrella optional credit (generated sites) */
.estrella-promo {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(
        110deg,
        color-mix(in srgb, var(--primary) 9%, #fff),
        color-mix(in srgb, var(--secondary) 7%, #fff)
    );
    padding: 20px 0;
}

.estrella-promo__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.estrella-promo__mark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 1rem;
}

.estrella-promo__mark:hover {
    color: var(--ux-brand-on-light);
}

.estrella-promo__logo {
    display: block;
    width: clamp(108px, 24vw, 150px);
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(10, 15, 26, 0.14);
    background: rgba(255, 255, 255, 0.35);
    padding: 6px;
}

.estrella-promo__copy {
    text-align: end;
    max-width: 28rem;
}

html[dir="rtl"] .estrella-promo__copy {
    text-align: start;
}

.estrella-promo__powered,
.estrella-promo__seal {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.5;
}

.estrella-promo__powered {
    font-weight: 700;
    color: var(--ink);
}

.estrella-promo__seal {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.95;
}

html[data-site-lang="ar"] .estrella-promo__inner {
    flex-direction: row-reverse;
}

/* Footer */
.site-footer {
    padding: 40px 0 48px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

.footer-tag {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 600;
    font-size: 0.92rem;
}
.footer-social a:hover { color: var(--ux-brand-on-light); }

.footer-seo {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

@media (max-width: 980px) {
    .hero-layout,
    .split,
    .about-grid,
    .service-grid,
    .usp-grid,
    .testimonial-grid,
    .linkedin-split,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-metrics { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .li-avatar-wrap { margin-left: 20px; }
}
