/* ============================================================
   AQARI — Main Stylesheet
   Contemporary Saudi Real Estate × Editorial Luxury
   ============================================================ */

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
    /* Colors */
    --c-primary:   #171512;
    --c-secondary: #27231F;
    --c-beige:     #C9B99A;
    --c-cream:     #F4F0E8;
    --c-offwhite:  #FAF9F6;
    --c-green:     #5F675A;
    --c-line:      rgba(23, 21, 18, 0.10);
    --c-line-dark: rgba(244, 240, 232, 0.14);
    --c-muted:     rgba(23, 21, 18, 0.62);

    /* Type */
    --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
    --font-en: 'Inter', system-ui, sans-serif;

    /* Layout */
    --container: 1240px;
    --gutter: 32px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.9s;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ar);
    background: var(--c-offwhite);
    color: var(--c-primary);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html[dir="ltr"] body { font-family: var(--font-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.kicker {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-green);
    margin: 0 0 20px;
    font-weight: 500;
}
html[dir="rtl"] .kicker { letter-spacing: 0; }

.display-1 {
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
}
.display-1 em {
    display: block;
    font-style: normal;
    color: var(--c-green);
    font-weight: 400;
}

.display-2 {
    font-size: clamp(1.6rem, 3.2vw, 2.75rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 20px;
}

.lead {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    color: var(--c-muted);
    max-width: 60ch;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 2px;
    transition: all 0.4s var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--c-primary);
    color: var(--c-cream);
}
.btn-primary:hover {
    background: var(--c-secondary);
    transform: translateY(-2px);
}
.btn-primary .arrow { transition: transform 0.4s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn-primary .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn-primary:hover .arrow { transform: scaleX(-1) translateX(4px); }

.btn-ghost {
    color: var(--c-cream);
    border-color: rgba(244, 240, 232, 0.4);
}
.btn-ghost:hover {
    background: rgba(244, 240, 232, 0.08);
    border-color: rgba(244, 240, 232, 0.7);
}
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 22px 0;
    transition: all 0.5s var(--ease);
    color: var(--c-cream);
}
.site-header[data-scrolled="true"] {
    padding: 14px 0;
    background: rgba(23, 21, 18, 0.86);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--c-line-dark);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.brand-mark { display: inline-flex; color: var(--c-beige); }
.brand-name { font-size: 17px; }

.primary-nav { margin-inline-start: auto; }
.primary-nav ul {
    display: flex;
    gap: 34px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.primary-nav a {
    font-size: 14px;
    opacity: 0.82;
    position: relative;
    padding: 6px 0;
    transition: opacity 0.3s;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform 0.4s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.is-active { opacity: 1; }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    opacity: 0.75;
}
.lang-switch a { transition: opacity 0.3s; }
.lang-switch a.is-active { opacity: 1; font-weight: 500; }
.lang-sep {
    width: 1px; height: 12px;
    background: currentColor;
    opacity: 0.4;
}
.btn-nav {
    border: 1px solid rgba(244, 240, 232, 0.35);
    color: var(--c-cream);
    padding: 11px 20px;
    font-size: 13px;
    border-radius: 2px;
    transition: all 0.4s var(--ease);
}
.btn-nav:hover {
    background: var(--c-cream);
    color: var(--c-primary);
    border-color: var(--c-cream);
}

.menu-toggle {
    display: none;
    width: 34px; height: 34px;
    position: relative;
}
.menu-toggle span {
    position: absolute;
    left: 6px; right: 6px;
    height: 1.5px;
    background: currentColor;
    transition: all 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 11px; }
.menu-toggle span:nth-child(2) { top: 16.5px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 16.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 16.5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--c-primary);
    color: var(--c-cream);
    z-index: 90;
    padding: 110px var(--gutter) 40px;
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease);
    display: none;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul {
    list-style: none;
    padding: 0; margin: 0 0 40px;
}
.mobile-menu li { border-bottom: 1px solid var(--c-line-dark); }
.mobile-menu li a {
    display: block;
    padding: 22px 0;
    font-size: 22px;
    font-weight: 400;
}
.mobile-lang {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.8;
}
.mobile-lang a.is-active { opacity: 1; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--c-cream);
    overflow: hidden;
    isolation: isolate;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(23,21,18,0.55) 0%, rgba(23,21,18,0.30) 40%, rgba(23,21,18,0.78) 100%),
        linear-gradient(90deg, rgba(23,21,18,0.55) 0%, rgba(23,21,18,0.10) 60%);
}
html[dir="ltr"] .hero-overlay {
    background:
        linear-gradient(180deg, rgba(23,21,18,0.55) 0%, rgba(23,21,18,0.30) 40%, rgba(23,21,18,0.78) 100%),
        linear-gradient(270deg, rgba(23,21,18,0.55) 0%, rgba(23,21,18,0.10) 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 160px;
    padding-bottom: 120px;
    max-width: 760px;
}
.hero-kicker {
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-beige);
    margin: 0 0 26px;
    font-weight: 500;
}
html[dir="rtl"] .hero-kicker { letter-spacing: 0; }

.hero-title {
    font-size: clamp(2.4rem, 6.4vw, 5.4rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 0 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-2 { color: var(--c-beige); }

.hero-sub {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    max-width: 52ch;
    color: rgba(244,240,232,0.82);
    margin: 0 0 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-actions .btn-ghost { color: var(--c-cream); }

.hero-mark {
    position: absolute;
    bottom: 40px;
    inset-inline-end: var(--gutter);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(244,240,232,0.55);
    z-index: 3;
}
.hero-mark .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--c-beige);
    opacity: 0.9;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    inset-inline-start: var(--gutter);
    width: 1px;
    height: 60px;
    background: rgba(244,240,232,0.25);
    overflow: hidden;
    z-index: 3;
}
.hero-scroll span {
    position: absolute;
    inset: 0;
    background: var(--c-beige);
    transform-origin: top;
    animation: scrollCue 2.6s var(--ease) infinite;
}
@keyframes scrollCue {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Hero 3D ---------- */
.hero-3d {
    position: absolute;
    top: 50%;
    inset-inline-end: 4%;
    width: 340px; height: 340px;
    transform: translateY(-50%);
    perspective: 900px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}
.hero-3d-scene {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.2s var(--ease);
}
.hero-3d-grid {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(58deg) rotateZ(0deg);
}
.hero-3d-grid .cell {
    position: absolute;
    width: 44%; height: 44%;
    background: rgba(201, 185, 154, 0.14);
    border: 1px solid rgba(201, 185, 154, 0.35);
    transition: transform 1.4s var(--ease), background 0.6s;
}
.c1 { top: 0; inset-inline-start: 0; }
.c2 { top: 0; inset-inline-end: 0; }
.c3 { bottom: 0; inset-inline-start: 0; }
.c4 { bottom: 0; inset-inline-end: 0; }
.c5 { top: 28%; inset-inline-start: 28%; background: rgba(201,185,154,0.22); }
.c6 { top: 28%; inset-inline-start: 28%; transform: translateZ(60px); background: rgba(201,185,154,0.06); border-color: rgba(201,185,154,0.5); }

.hero-3d-base {
    position: absolute;
    inset: 20% 20%;
    border: 1px solid rgba(201,185,154,0.25);
    transform: translateZ(-60px) rotateX(58deg);
}

/* ---------- Section base ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(50px, 6vw, 80px); }
.section-note {
    color: var(--c-muted);
    max-width: 55ch;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- Intro ---------- */
.intro { background: var(--c-offwhite); }
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.intro-left { padding-top: 12px; }
.intro-left .kicker { margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--c-cream); }
.services-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--c-line);
}
.service-block {
    display: grid;
    grid-template-columns: 80px 60px 1fr 60px;
    align-items: center;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--c-line);
    transition: padding 0.6s var(--ease), background 0.4s;
    position: relative;
    cursor: pointer;
}
.service-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(95, 103, 90, 0.05);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.service-block:hover::before { opacity: 1; }
.service-block:hover { padding-inline: 24px; }

.service-num {
    font-size: 13px;
    color: var(--c-green);
    letter-spacing: 0.1em;
    font-weight: 500;
}
.service-icon {
    color: var(--c-primary);
    opacity: 0.8;
    transition: transform 0.6s var(--ease), color 0.4s;
}
.service-block:hover .service-icon {
    transform: translateY(-3px) rotate(-3deg);
    color: var(--c-green);
}
.service-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 500;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.service-desc {
    margin: 0;
    color: var(--c-muted);
    font-size: 15px;
    max-width: 60ch;
}
.service-arrow {
    color: var(--c-primary);
    opacity: 0.4;
    transition: all 0.5s var(--ease);
    justify-self: end;
}
.service-block:hover .service-arrow {
    opacity: 1;
    transform: translateX(6px);
}
html[dir="rtl"] .service-arrow svg { transform: scaleX(-1); }
html[dir="rtl"] .service-block:hover .service-arrow { transform: translateX(-6px); }

/* ---------- Properties ---------- */
.properties { background: var(--c-offwhite); }

.props-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.filter-btn {
    padding: 10px 18px;
    font-size: 13px;
    color: var(--c-muted);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    transition: all 0.4s var(--ease);
}
.filter-btn:hover { color: var(--c-primary); border-color: var(--c-primary); }
.filter-btn.is-active {
    background: var(--c-primary);
    color: var(--c-cream);
    border-color: var(--c-primary);
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.prop-card {
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.prop-card.is-hidden {
    display: none;
}
.prop-link { display: block; }

.prop-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--c-cream);
    border-radius: 2px;
}
.prop-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.prop-card:hover .prop-media img { transform: scale(1.05); }

.prop-body { padding: 24px 4px 8px; }
.prop-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--c-green);
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.prop-sep {
    width: 3px; height: 3px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.6;
}
.prop-district {
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}
.prop-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--c-line);
    font-size: 13px;
    color: var(--c-muted);
}
.prop-area {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.prop-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--c-primary);
    font-weight: 500;
    transition: gap 0.4s var(--ease);
}
.prop-card:hover .prop-cta { gap: 12px; }
html[dir="rtl"] .prop-cta svg { transform: scaleX(-1); }

/* ---------- Why Us ---------- */
.why { background: var(--c-primary); color: var(--c-cream); }
.why .kicker { color: var(--c-beige); }
.why .display-2 { color: var(--c-cream); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-top: 1px solid var(--c-line-dark);
    padding-top: 60px;
}
.why-item {
    position: relative;
    padding-top: 20px;
}
.why-icon {
    color: var(--c-beige);
    margin-bottom: 26px;
}
.why-num {
    display: block;
    font-size: 12px;
    color: rgba(244,240,232,0.4);
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}
.why-title-item {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 12px;
    color: var(--c-cream);
}
.why-desc {
    margin: 0;
    font-size: 14.5px;
    color: rgba(244,240,232,0.62);
    line-height: 1.75;
}

/* ---------- About ---------- */
.about { background: var(--c-offwhite); }
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border-radius: 2px;
}
.about-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.about-media:hover img { transform: scale(1.03); }

.about-body .lead { margin-bottom: 20px; }
.about-body p { color: var(--c-muted); max-width: 55ch; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-weight: 500;
    color: var(--c-primary);
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    transition: gap 0.4s var(--ease);
}
.link-arrow:hover { gap: 16px; }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ---------- Visual Break ---------- */
.visual-break {
    position: relative;
    height: 88vh;
    min-height: 520px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    color: var(--c-cream);
}
.vb-media {
    position: absolute;
    inset: -10% 0;
    z-index: -2;
    will-change: transform;
}
.vb-media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.vb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23,21,18,0.52);
    z-index: -1;
}
.vb-content { position: relative; z-index: 2; }
.vb-text {
    font-size: clamp(1.8rem, 4.4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    max-width: 18ch;
    line-height: 1.15;
    margin: 0;
}

/* ---------- Process ---------- */
.process { background: var(--c-cream); }
.process-track {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.process-line {
    position: absolute;
    top: 8px;
    inset-inline: 8px;
    height: 1px;
    background: var(--c-line);
    overflow: hidden;
    z-index: 0;
}
.process-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--c-green);
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform 2.2s var(--ease);
}
.process-track.is-inview .process-line::after { transform: scaleX(1); }

.process-step {
    position: relative;
    padding-top: 34px;
    z-index: 1;
}
.process-dot {
    position: absolute;
    top: 3px;
    inset-inline-start: 0;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--c-offwhite);
    border: 1.5px solid var(--c-green);
    transition: transform 0.5s var(--ease), background 0.5s;
}
.process-track.is-inview .process-dot { transform: scale(1.15); background: var(--c-green); }
.process-num {
    display: block;
    font-size: 12px;
    color: var(--c-green);
    letter-spacing: 0.14em;
    margin-bottom: 12px;
}
.process-title-item {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 10px;
}
.process-desc {
    margin: 0;
    color: var(--c-muted);
    font-size: 14.5px;
}

/* ---------- Contact ---------- */
.contact { background: var(--c-offwhite); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-channels {
    list-style: none;
    padding: 0;
    margin: 44px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 40px;
}
.contact-channels li {
    border-top: 1px solid var(--c-line);
    padding-top: 16px;
}
.ch-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-green);
    margin-bottom: 8px;
}
.contact-channels a {
    font-size: 15px;
    transition: color 0.3s;
    word-break: break-word;
}
.contact-channels a:hover { color: var(--c-green); }

.contact-form {
    background: var(--c-cream);
    padding: 44px 40px;
    border-radius: 2px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.field {
    display: block;
    margin-bottom: 18px;
}
.field span {
    display: block;
    font-size: 12px;
    color: var(--c-muted);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--c-line);
    font: inherit;
    color: var(--c-primary);
    outline: none;
    transition: border-color 0.4s;
    border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--c-primary); }
.field textarea { resize: vertical; min-height: 90px; }

.contact-form .btn { margin-top: 10px; }

.form-success {
    margin: 18px 0 0;
    padding: 12px 16px;
    background: rgba(95, 103, 90, 0.12);
    color: var(--c-green);
    border-inline-start: 2px solid var(--c-green);
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}
.form-success.is-visible { opacity: 1; visibility: visible; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-primary);
    color: var(--c-cream);
    padding: 90px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--c-line-dark);
}
.brand-footer { margin-bottom: 20px; }
.brand-footer .brand-name { color: var(--c-cream); }
.footer-tagline {
    color: rgba(244,240,232,0.6);
    max-width: 30ch;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
}
.footer-grid h4 {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-beige);
    margin: 0 0 22px;
    font-weight: 500;
}
html[dir="rtl"] .footer-grid h4 { letter-spacing: 0; }
.footer-links ul,
.footer-contact ul,
.footer-social ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a,
.footer-contact a {
    font-size: 14.5px;
    color: rgba(244,240,232,0.7);
    transition: color 0.3s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--c-cream); }
.footer-social ul {
    flex-direction: row;
    gap: 14px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--c-line-dark);
    border-radius: 50%;
    color: rgba(244,240,232,0.7);
    transition: all 0.4s var(--ease);
}
.footer-social a:hover {
    background: var(--c-beige);
    color: var(--c-primary);
    border-color: var(--c-beige);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 26px;
    font-size: 13px;
    color: rgba(244,240,232,0.5);
    flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-credit { color: rgba(244,240,232,0.4); }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.hero-title .line {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.hero-title .line.is-inview { transform: translateY(0); opacity: 1; }
.hero-title .line-2 { transition-delay: 0.15s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-title .line { transform: none; opacity: 1; }
    .hero-media img { animation: none; transform: none; }
    html { scroll-behavior: auto; }
}