/* ============================================================
   ALSALEH REAL ESTATE — DESIGN SYSTEM (Arabic / RTL)
   Base styles — see responsive.css for breakpoints
   ============================================================ */
:root {
    --navy-900: #0B1B33;
    --navy-800: #122544;
    --paper: #F6F3EA;
    --paper-dim: #EEE8DA;
    --ink: #181C22;
    --slate: #57616F;
    --slate-soft: #8891A0;
    --brass: #B9863A;
    --brass-light: #D9AE68;
    --line: rgba(11, 27, 51, .14);
    --line-soft: rgba(11, 27, 51, .08);
    --line-on-dark: rgba(217, 174, 104, .28);

    --serif: 'El Messiri', 'Noto Serif Arabic', Georgia, serif;
    --sans: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

    --container: 1180px;
    --radius: 4px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 112.5%;
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--serif);
    font-weight: 600;
    margin: 0;
    color: var(--navy-900);
}

p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    color: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   Shared section scaffolding
   ============================================================ */
.section {
    padding: 112px 0;
    position: relative;
}

.section--tight {
    padding: 80px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brass);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--brass);
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.28;
}

.section-head--center {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lede {
    color: var(--slate);
    font-size: 1.05rem;
    margin-top: 16px;
    line-height: 1.9;
}

/* ============================================================
   Preloader
   ============================================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.preloader-mark {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    inset: 0;
    border: 4px solid var(--line-on-dark);
    border-top-color: var(--brass-light);
    border-radius: 50%;
    animation: preloader-spin 1s linear infinite;
    background-color: white;
}

.preloader-logo {
    position: relative;
    z-index: 1;
    width: 180px;
    height: auto;
}

.preloader-text {
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .45);
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion:reduce) {
    .preloader-ring {
        animation: none;
    }
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(11, 27, 51, .94);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--line-on-dark);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .25s var(--ease);
}

.brand:hover {
    opacity: .82;
}

.brand img {
    height: 70px;
    width: auto;
}

.brand-word {
    font-family: var(--serif);
    color: #fff;
    font-size: 1.05rem;
}

.brand-word b {
    color: var(--brass-light);
    font-weight: 600;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-list__head {
    display: none;
}

.nav-list a {
    color: rgba(255, 255, 255, .82);
    font-size: .94rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color .25s var(--ease);
}

.nav-list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--brass-light);
    transition: width .3s var(--ease);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: #fff;
}


.lang-pill {
    display: inline-block;
    border: 1px solid var(--line-on-dark);
    color: #fff !important;
    padding: 8px 28px;
    border-radius: 999px;
    font-size: .82rem !important;
    transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
    /* background-color: #8891A0; */
    width: 80px;
    text-align: center;
}


.lang-pill:hover {
    border-color: var(--brass-light);
    background: rgba(217, 174, 104, .1);
    transform: translateY(-1px);
}

.lang-pill::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-on-dark);
    border-radius: 4px;
    width: 42px;
    height: 38px;
    align-items: center;
    justify-content: center;
    transition: border-color .25s var(--ease);
}

.nav-toggle:hover {
    border-color: var(--brass-light);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    display: block;
    width: 18px;
    height: 1.5px;
    background: #fff;
    position: relative;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.nav-toggle span::before {
    position: absolute;
    top: -6px;
    width: 18px;
}

.nav-toggle span::after {
    position: absolute;
    top: 6px;
    width: 18px;
}

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-on-dark);
    border-radius: 50%;
    color: #fff;
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.nav-close i {
    font-size: 14px;
    line-height: 1;
}

.nav-close:hover {
    border-color: var(--brass-light);
    background: rgba(217, 174, 104, .12);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    padding: 176px 0 120px;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(217, 174, 104, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 174, 104, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 40%, transparent 90%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.hero-kicker {
    font-family: var(--sans);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--brass-light);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brass-light);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    line-height: 1.32;
    font-weight: 600;
    max-width: 16ch;
}

.hero h1 em {
    font-style: normal;
    color: var(--brass-light);
    font-weight: 600;
}

.hero p.lede {
    color: rgba(255, 255, 255, .7);
    max-width: 48ch;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .94rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    border: 1px solid transparent;
}

.btn span {
    transition: transform .3s var(--ease);
}

.btn--brass {
    background: var(--brass);
    color: var(--navy-900);
}

.btn--brass:hover {
    background: var(--brass-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(185, 134, 58, .55);
}

.btn--ghost-dark {
    border-color: var(--line-on-dark);
    color: #fff;
}

.btn--ghost-dark:hover {
    border-color: var(--brass-light);
    color: var(--brass-light);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 64px;
    text-align: center;
}

.hero-stat {
    transition: transform .3s var(--ease);
}

.hero-stat:hover {
    transform: translateY(-3px);
}

.hero-stat b {
    display: block;
    font-family: var(--mono);
    color: var(--brass-light);
    font-size: 1.5rem;
    font-weight: 500;
}

/* نص عربي صرف (زي "نغطي") لازم ياخد خط الموقع العادي، مش المونو —
   خط IBM Plex Mono مالوش حروف عربي، وده كان سبب اختلاف شكل الخط. */
.hero-stat b.stat-word {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 700;
}

.hero-stat span {
    display: block;
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
    margin-top: 4px;
}

/* Seal / Logo mark in hero */
.seal-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal {
    width: min(280px, 80%);
    height: auto;
    animation: spin 60s linear infinite;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35));
    transition: transform .5s var(--ease);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion:reduce) {
    .seal {
        animation: none;
    }
}

/* ============================================================
   About
   ============================================================ */
.about {
    background: var(--paper);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: start;
}

.about-copy p {
    color: var(--slate);
    margin-top: 18px;
    font-size: 1.02rem;
    line-height: 1.95;
}

.about-copy p:first-of-type {
    margin-top: 0;
}

.about-figure {
    padding: 34px;
    position: relative;
    transition: box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
    border: 1px solid transparent;
}

.about-figure:hover {
    background: #fff;
    border-color: var(--line);
    box-shadow: 0 20px 44px -20px rgba(11, 27, 51, .22);
}

.about-figure img {
    max-width: 180px;
    margin: 0 auto 22px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 72px;
    border: 1px solid var(--line);
}

.pillar {
    background: var(--paper);
    padding: 38px 34px;
    transition: background .3s var(--ease);
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--brass);
    transition: width .3s var(--ease);
}

.pillar:hover {
    background: #fff;
}

.pillar:hover::before {
    width: 3px;
}

.pillar-index {
    font-family: var(--sans);
    color: var(--brass);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.pillar h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.pillar p {
    color: var(--slate);
    font-size: .94rem;
    line-height: 1.85;
}

/* ============================================================
   Services / methods
   ============================================================ */
.services {
    background: var(--navy-900);
    color: #fff;
}

.services .eyebrow {
    color: var(--brass-light);
}

.services .eyebrow::before {
    background: var(--brass-light);
}

.services .section-head h2 {
    color: #fff;
}

.services .lede {
    color: rgba(255, 255, 255, .62);
}

.methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.method {
    background: var(--navy-900);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius);
    padding: 44px 36px;
    transition: background .35s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.method:hover {
    background: var(--navy-800);
    border-color: var(--brass-light);
    transform: translateY(-4px);
}

.method-icon {
    width: 46px;
    height: 46px;
    border: 2px solid var(--line-on-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brass-light);
    margin-bottom: 26px;
    transition: background .3s var(--ease), color .3s var(--ease);
}

.method:hover .method-icon {
    background: var(--brass);
    color: var(--navy-900);
}

.method-icon i {
    font-size: 19px;
}

.method h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.method p {
    color: rgba(255, 255, 255, .6);
    font-size: .95rem;
    line-height: 1.9;
}

.methods-note {
    color: rgba(255, 255, 255, .55);
    font-size: .95rem;
    max-width: 60ch;
    margin-top: 46px;
    line-height: 1.9;
}

/* ============================================================
   Clients
   ============================================================ */
.clients {
    background: var(--paper);
}

.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.client-cell {
    flex: 0 1 250px;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .4s ease;
}

.client-cell:hover {
    box-shadow: 0 16px 32px -18px rgba(11, 27, 51, .25);
    border-color: var(--brass-light);
    transform: scale(1.1);
}

.client-cell img {
    height: auto;
    width: 100%;
    max-width: 180px;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: #fff;
    text-align: center;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid var(--line-on-dark);
    border-radius: 50%;
    top: -260px;
    inset-inline-end: -160px;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    max-width: 18ch;
    margin: 0 auto;
    line-height: 1.35;
}

.cta-band p {
    color: rgba(255, 255, 255, .65);
    max-width: 56ch;
    margin: 22px auto 0;
    font-size: 1.02rem;
    line-height: 1.9;
}

.cta-band .btn {
    margin-top: 36px;
}

/* ============================================================
   Leadership
   ============================================================ */
.leadership {
    background: var(--paper);
}

.leadership-spotlight {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 760px;
    margin: 0 auto;
}

.leadership-frame {
    position: relative;
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    padding: 14px;
}

.leadership-frame::before,
.leadership-frame::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border: 2px solid var(--brass);
}

.leadership-frame::before {
    top: 0;
    right: 0;
    border-left: 0;
    border-bottom: 0;
}

.leadership-frame::after {
    bottom: 0;
    left: 0;
    border-right: 0;
    border-top: 0;
}

.leadership-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--line);
}

.leadership-info h3 {
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.leadership-rule {
    width: 56px;
    height: 2px;
    background: var(--brass);
    margin-bottom: 18px;
}

.leadership-role {
    font-family: var(--sans);
    font-size: .98rem;
    font-weight: 500;
    color: var(--slate);
    letter-spacing: .2px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
    background: var(--navy-900);
    color: #fff;
}

.contact .eyebrow {
    color: var(--brass-light);
}

.contact .eyebrow::before {
    background: var(--brass-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
}

.contact-info h2 {
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: 14px;
}

.contact-info>p {
    color: rgba(255, 255, 255, .62);
    margin-bottom: 36px;
    line-height: 1.9;
}

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line-on-dark);
    color: rgba(255, 255, 255, .85);
    font-size: .95rem;
    transition: padding-inline-start .3s var(--ease);
}

.contact-list li:hover {
    padding-inline-start: 6px;
}

.contact-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-list i {
    width: 19px;
    text-align: center;
    font-size: 17px;
    color: var(--brass-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-list b {
    display: block;
    font-size: .88rem;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 4px;
    font-weight: 600;
}

.form-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line-on-dark);
    padding: 40px;
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    font-size: .78rem;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 8px;
}

.field input,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-on-dark);
    color: #fff;
    font-family: var(--sans);
    font-size: .98rem;
    padding: 10px 2px;
    resize: vertical;
    transition: border-color .3s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, .28);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--brass-light);
}

.form-status {
    font-size: .86rem;
    min-height: 20px;
    margin-bottom: 14px;
}

.form-status.ok {
    color: #8FD19E;
}

.form-status.err {
    color: #E19A9A;
}

.map-frame {
    border: 1px solid var(--line);
    height: 340px;
    overflow: hidden;
    margin-top: 56px;
    filter: grayscale(.25);
    transition: filter .4s var(--ease);
    position: relative;
}

.map-frame:hover {
    filter: grayscale(0);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-tap-layer {
    display: none;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .6);
    padding: 64px 0 0;
    border-top: 1px solid var(--line-on-dark);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-on-dark);
    align-items: end;
}

.footer-brand img {
    height: 120px;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: .92rem;
    line-height: 1.9;
    max-width: 36ch;
}

.footer-specialty {
    font-size: .92rem;
    line-height: 1.9;
    max-width: 36ch;
}

.footer-tagline {
    display: flex;
    gap: 6px;
    font-size: .85rem;
    color: var(--brass-light);
    margin-top: 14px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 26px;
}

.footer-nav a {
    font-size: .9rem;
    color: rgba(255, 255, 255, .68);
    transition: color .25s var(--ease);
}

.footer-nav a:hover {
    color: var(--brass-light);
}

.footer-licenses li {
    font-size: .84rem;
    color: rgba(255, 255, 255, .55);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--line-on-dark);
}

.footer-licenses li:first-child {
    border-top: 0;
    padding-top: 0;
}

.footer-licenses b {
    color: rgba(255, 255, 255, .85);
    font-family: var(--mono);
    font-weight: 500;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-row a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-on-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s var(--ease);
}

.social-row i {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    transition: color .3s var(--ease);
}

.social-row a:hover {
    border-color: var(--brass-light);
    background: rgba(217, 174, 104, .1);
    transform: translateY(-3px);
}

.social-row a:hover i {
    color: var(--brass-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 26px 0;
    font-size: .82rem;
}

.footer-bottom .credit {
    position: relative;
}

.credit-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
}

.credit-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.5;
}

/* كانت "eyebrow" (تسمية صغيرة فوق الاسم) أكبر من الاسم نفسه — ده
   عكس الترتيب البصري الطبيعي. صغّرناها هنا عشان الاسم يبقى هو
   العنصر الأبرز، والتسمية تبقى فعلاً تسمية مساعدة صغيرة. */
.credit-eyebrow {
    font-size: .72rem;
    color: rgba(255, 255, 255, .45);
}

.credit-name {
    font-size: .95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .82);
    transition: color .25s var(--ease);
}

.credit-link:hover .credit-name,
.credit-link:focus-visible .credit-name {
    color: var(--brass-light);
}

.credit-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--brass-light);
    transition: width .3s var(--ease);
}

.credit-link:hover::after,
.credit-link:focus-visible::after {
    width: 100%;
}
