/* ==========================================================================
   Pyramids Developments — Noir Gold
   ========================================================================== */

:root {
    --bg: #0b1018;
    --bg-2: #10161f;
    --panel: #161d28;
    --panel-2: #1c2430;
    --ink: #f4efe6;
    --ink-2: rgba(244, 239, 230, .78);
    --muted: rgba(244, 239, 230, .56);
    --line: rgba(244, 239, 230, .1);
    --line-2: rgba(244, 239, 230, .18);
    --gold: #c9a44a;
    --gold-l: #e0c06a;
    --gold-d: #8f6b28;
    --ember: linear-gradient(135deg, #e8c97a 0%, #c9a44a 45%, #8f6b28 100%);
    --f-display: 'El Messiri', 'Cairo', serif;
    --f-en: 'Cormorant Garamond', 'Times New Roman', serif;
    --f-body: 'Cairo', system-ui, sans-serif;
    --gutter: clamp(20px, 4vw, 48px);
    --container: 1320px;
    --header-h: 84px;
    --safe-top: env(safe-area-inset-top, 0px);
    --header-offset: calc(var(--header-h) + var(--safe-top));
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.77, 0, .18, 1);
    --arch: 999px 999px 26px 26px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
    background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
    -webkit-tap-highlight-color: transparent;
}
html.menu-open body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--gold); color: #0b1018; }

.container {
    width: min(var(--container), 100% - var(--gutter) * 2);
    margin-inline: auto;
}
.section { position: relative; padding-block: clamp(88px, 11vw, 160px); }
.section, .facts, .cta, #units, #gallery, #projects { scroll-margin-top: var(--header-offset); }
.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

.gold-text {
    background: var(--ember);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grain {
    position: fixed;
    inset: -50%;
    z-index: 90;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-4%, 3%); }
    40% { transform: translate(3%, -5%); }
    60% { transform: translate(-2%, 4%); }
    80% { transform: translate(5%, 2%); }
    100% { transform: translate(0, 0); }
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
}
.kicker::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--ember);
}
.kicker--dark { color: #0b1018; }
.kicker--dark::before { background: #0b1018; }

.display {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.6vw, 4.2rem);
    line-height: 1.28;
}
.display--xl { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.display--sm { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

.lede {
    max-width: 58ch;
    margin-top: 28px;
    color: var(--ink-2);
    font-size: clamp(1.02rem, 1.2vw, 1.15rem);
    line-height: 1.85;
}
.muted { max-width: 58ch; margin-top: 18px; color: var(--muted); line-height: 1.8; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .lede { margin-top: 0; max-width: 46ch; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w__i { display: inline-block; will-change: transform; }

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.btn:hover { transform: translateY(-2px); }
.btn, .round-btn, .fab__btn, .burger, .header__link, .menu__link { touch-action: manipulation; }
.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn__meta { opacity: .7; font-weight: 500; font-size: 13px; }

.btn--gold {
    background: var(--ember);
    color: #0b1018;
    box-shadow: 0 14px 34px -14px rgba(201, 164, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--gold::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--glass {
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.btn--glass:hover { border-color: var(--gold); color: var(--gold-l); }
.btn--dark { background: #0b1018; color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline-dark { border: 1px solid rgba(11, 16, 24, .5); color: #0b1018; }
.btn--outline-dark:hover { background: rgba(11, 16, 24, .08); }

.round-btn {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: #0b1018; }
[data-slider-prev] svg,
[data-slider-next] svg,
.lightbox__nav svg { transform: scaleX(-1); }

.preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
}
html:not(.js) .preloader,
html.is-ready .preloader { display: none; }
.preloader__half {
    position: absolute;
    left: 0;
    right: 0;
    height: 50.5%;
    background: #070b11;
}
.preloader__half--top { top: 0; }
.preloader__half--bottom { bottom: 0; }
.preloader__inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.preloader__mark { height: 52px; width: auto; filter: drop-shadow(0 0 28px rgba(201, 164, 74, .35)); }
.preloader__line { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__line i { display: block; width: 0; height: 100%; background: var(--ember); }
.preloader__count { font-size: 12px; letter-spacing: .3em; color: var(--muted); }

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    padding-top: var(--safe-top);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    transition: transform .6s var(--ease), background-color .5s, border-color .5s;
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(11, 16, 24, .72);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    height: var(--header-h);
    width: min(1440px, 100% - var(--gutter) * 2);
    margin-inline: auto;
}
.header__logo img { height: 52px; width: auto; }
.header__nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.header__link {
    position: relative;
    padding-block: 6px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    transition: color .3s;
}
.header__link::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: var(--ember);
    transform: scaleX(0);
    transition: transform .5s var(--ease);
}
.header__link:hover, .header__link.is-active { color: var(--ink); }
.header__link:hover::after, .header__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__call { padding: 11px 20px; }

.burger {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
}
.burger span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 1.5px;
    background: currentColor;
    transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
html.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

.menu {
    position: fixed;
    inset: 0;
    z-index: 70;
    visibility: hidden;
    pointer-events: none;
    background: #070b11;
    clip-path: circle(0% at 50px 42px);
    transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
html.menu-open .menu {
    visibility: visible;
    pointer-events: auto;
    clip-path: circle(150% at 50px 42px);
    transition: clip-path .9s var(--ease-io), visibility 0s;
}
.menu__glow {
    position: absolute;
    width: 80vmax;
    height: 80vmax;
    left: 50%;
    bottom: -50vmax;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 164, 74, .32), transparent 65%);
}
.menu__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: calc(var(--header-offset) + 24px) var(--gutter) max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.menu__nav { display: grid; gap: 4px; }
.menu__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 7vw, 2.6rem);
    line-height: 1.35;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__link span { font-family: var(--f-en); font-size: 12px; color: var(--gold); letter-spacing: .08em; direction: ltr; }
.menu__link:hover, .menu__link.is-active { color: var(--gold-l); }
html.menu-open .menu__link {
    opacity: 1;
    transform: none;
    transition-delay: calc(.25s + var(--i) * .05s);
}
.menu__foot {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 15px;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-offset) + 40px) 0 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero__glow {
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    top: -20vmax;
    inset-inline-end: -20vmax;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 164, 74, .26), rgba(201, 164, 74, .05) 45%, transparent 68%);
    pointer-events: none;
}
.hero__word {
    position: absolute;
    left: 50%;
    bottom: -.17em;
    transform: translateX(-50%);
    font-family: var(--f-en);
    font-size: 22vw;
    line-height: 1;
    letter-spacing: .04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 164, 74, .28);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    direction: ltr;
}
.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-areas: 'copy arch' 'stats arch';
    align-items: center;
    column-gap: clamp(40px, 6vw, 100px);
    row-gap: 50px;
    width: min(var(--container), 100% - var(--gutter) * 2);
    margin-inline: auto;
}
.hero__copy { grid-area: copy; }
.hero__title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2.8rem, 6.4vw, 6.2rem);
    line-height: 1.22;
}
.hero__line { display: block; }
.hero__line--gold .w__i,
.hero__line--gold:not(:has(.w)) {
    background: var(--ember);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-inline-end: .08em;
}
.hero__sub {
    max-width: 44ch;
    margin-top: 34px;
    color: var(--ink-2);
    font-size: clamp(1.02rem, 1.3vw, 1.2rem);
    line-height: 1.8;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__arch {
    grid-area: arch;
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 470px;
    aspect-ratio: 4 / 5.4;
}
.hero__arch-media {
    position: absolute;
    inset: 0;
    border-radius: var(--arch);
    overflow: hidden;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
.hero__arch-media img { width: 100%; height: 100%; object-fit: cover; }
.hero__arch-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 16, 24, .55));
}
.hero__arch-ring {
    position: absolute;
    inset: -16px;
    border-radius: var(--arch);
    border: 1px solid rgba(201, 164, 74, .45);
    pointer-events: none;
}
.hero__seal {
    position: absolute;
    bottom: 9%;
    inset-inline-start: -62px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(11, 16, 24, .88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-2);
    display: grid;
    place-items: center;
}
.hero__seal > svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.hero__seal text { fill: rgba(244, 239, 230, .88); font-family: var(--f-en); font-size: 7.2px; font-weight: 600; letter-spacing: .18em; }
.hero__seal span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--gold);
    font-family: var(--f-en);
    font-size: 1.6rem;
    font-weight: 600;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__stats {
    grid-area: stats;
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.hero__stat strong {
    display: block;
    font-family: var(--f-en);
    font-weight: 500;
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    line-height: 1.1;
    background: var(--ember);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__stat span { color: var(--muted); font-size: 13px; }
.hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-inline-start: auto;
    color: var(--muted);
    font-size: 14px;
}
.hero__scroll i {
    position: relative;
    width: 1px;
    height: 46px;
    background: var(--line-2);
    overflow: hidden;
}
.hero__scroll i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip {
    0% { transform: translateY(-100%); }
    60%, 100% { transform: translateY(100%); }
}

.marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 20px 0;
    background: var(--ember);
    color: #0b1018;
    transform: rotate(-1.6deg) scale(1.03);
    margin-block: -10px;
    box-shadow: 0 20px 60px -20px rgba(201, 164, 74, .5);
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    direction: ltr;
    animation: marquee 38s linear infinite;
}
.marquee span {
    font-family: var(--f-display);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 600;
    white-space: nowrap;
}
.marquee i { font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.arch { position: relative; overflow: hidden; border-radius: var(--arch); }
.arch img, .cta__arch img { width: 100%; height: 118%; object-fit: cover; }

.about__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(50px, 8vw, 120px);
    align-items: center;
}
.about__visual { position: relative; padding-bottom: 60px; }
.arch--tall { aspect-ratio: 3 / 4; max-width: 470px; }
.about__float {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--bg);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.about__float img { width: 100%; height: 100%; object-fit: cover; }
.about__logo {
    position: absolute;
    top: 34px;
    inset-inline-end: 6%;
    width: 140px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(11, 16, 24, .62);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-2);
    box-sizing: content-box;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}
.stat__n {
    font-family: var(--f-en);
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
    line-height: 1;
    direction: ltr;
}
.stat__l { margin-top: 12px; color: var(--muted); font-size: 14px; }

.facts { position: relative; }
.facts__pin {
    position: relative;
    height: min(68vh, 640px);
    overflow: hidden;
}
.facts__media {
    position: absolute;
    inset: 0;
}
.facts__media img { width: 100%; height: 100%; object-fit: cover; }
.facts__shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(11, 16, 24, .2), rgba(11, 16, 24, .75) 80%),
                linear-gradient(180deg, rgba(11, 16, 24, .4), transparent 30%, rgba(11, 16, 24, .9));
}
.facts__head {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    text-align: center;
}
.facts__head .display { max-width: 14ch; text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.facts__band {
    position: relative;
    background: linear-gradient(180deg, #0b1018, #10161f);
    border-bottom: 1px solid var(--line);
}
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact {
    padding: clamp(36px, 5vw, 64px) clamp(16px, 2vw, 32px);
    border-inline-start: 1px solid var(--line);
}
.fact:first-child { border-inline-start: 0; }
.fact__n {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    font-family: var(--f-en);
    font-size: clamp(2.8rem, 5.4vw, 5rem);
    line-height: 1;
    background: var(--ember);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.fact__n em { font-style: italic; font-size: .5em; }
.fact__u { margin-top: 16px; font-size: 16px; font-weight: 600; }
.fact__l { margin-top: 6px; color: var(--muted); font-size: 14px; }

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 3vw, 40px);
}
.project-card__link { display: grid; gap: 18px; }
.project-card__arch {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--arch);
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--line);
}
.project-card__arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.project-card:hover .project-card__arch img { transform: scale(1.07); }
.project-card__en {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 16, 24, .7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: var(--f-en);
    font-size: 13px;
    letter-spacing: .04em;
    white-space: nowrap;
}
.project-card__info h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}
.project-card__info p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.project-card__more {
    display: inline-block;
    margin-top: 14px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.gallery { overflow: hidden; }
.gallery__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.gallery__ctrl { display: flex; align-items: center; gap: 12px; }
.gallery__count { margin-inline-end: 14px; color: var(--muted); font-size: 14px; }
.gallery__count b { color: var(--ink); font-weight: 600; }

.slider {
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: max(var(--gutter), (100vw - var(--container)) / 2);
    scroll-padding-inline: max(var(--gutter), (100vw - var(--container)) / 2);
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider.is-dragging .slide { pointer-events: none; }
.slide {
    flex: 0 0 min(68vw, 900px);
    scroll-snap-align: center;
    cursor: pointer;
}
.slide__media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 30px;
    overflow: hidden;
    transform: scale(.92);
    opacity: .38;
    transition: transform 1s var(--ease), opacity .8s var(--ease), border-radius 1s var(--ease);
    background: var(--panel);
}
.slide.is-active .slide__media { transform: none; opacity: 1; border-radius: 200px 200px 30px 30px; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.slide figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    font-family: var(--f-display);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s, transform .8s var(--ease);
}
.slide.is-active figcaption { opacity: 1; transform: none; }
.slide figcaption span { font-family: var(--f-en); font-size: 12px; color: var(--gold); letter-spacing: .08em; direction: ltr; }

.brochure { padding-top: 40px; }
.brochure__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 4vw, 52px);
    border-radius: 32px;
    background: linear-gradient(160deg, #1c2430, #141b24) padding-box,
                linear-gradient(160deg, rgba(201, 164, 74, .7), rgba(255, 255, 255, .05) 45%, rgba(201, 164, 74, .2)) border-box;
    border: 1px solid transparent;
}

.page-hero {
    position: relative;
    min-height: 88vh;
    min-height: 88svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: calc(var(--header-offset) + 40px) 0 70px;
}
.page-hero--short { min-height: 70vh; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 118%; object-fit: cover; }
.page-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 24, .35) 0%, rgba(11, 16, 24, .55) 40%, rgba(11, 16, 24, .92) 100%);
}
.page-hero__copy { position: relative; z-index: 2; max-width: 920px; }
.page-hero__en {
    font-family: var(--f-en);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    display: block;
    margin-top: .2em;
}

.specs__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}
.specs__list { display: grid; gap: 0; }
.specs__list li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.specs__list li span { color: var(--muted); }
.specs__list li strong { font-weight: 600; text-align: end; }

.glow-border {
    background: linear-gradient(180deg, #1c2430, #151c26) padding-box,
                linear-gradient(160deg, rgba(201, 164, 74, .75), rgba(255, 255, 255, .06) 42%, rgba(201, 164, 74, .25)) border-box;
    border: 1px solid transparent;
    border-radius: 28px;
}
.price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.price-card { padding: clamp(24px, 2.4vw, 34px); }
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card h4 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; }
.price-card__area {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(201, 164, 74, .12);
    color: var(--gold-l);
    font-size: 12px;
    font-weight: 600;
}
.price-card__from { margin-top: 28px; color: var(--muted); font-size: 13px; }
.money { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price-card__price { margin-top: 8px; }
.price-card__price .money__n {
    font-family: var(--f-en);
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    background: var(--ember);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.money__c { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.price-card__monthly { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-card__monthly small { display: block; margin-bottom: 8px; color: var(--muted); }
.price-card__monthly .money__n { font-size: 1.25rem; font-weight: 700; color: var(--ink); }

.plans-title {
    margin: 64px 0 28px;
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.plan-card {
    padding: 28px 18px;
    text-align: center;
}
.plan-card strong {
    display: block;
    font-family: var(--f-en);
    font-size: 2.2rem;
    background: var(--ember);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.plan-card span { color: var(--muted); font-size: 13px; }
.plan-card p { margin-top: 12px; font-size: 14px; }

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature { padding: 28px 24px; }
.feature span {
    font-family: var(--f-en);
    font-size: 13px;
    color: var(--gold);
    letter-spacing: .16em;
}
.feature h3 {
    margin-top: 14px;
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 600;
}
.feature p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 70px var(--gutter);
    background: rgba(7, 11, 17, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility 0s .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.lightbox figure { display: grid; justify-items: center; gap: 16px; min-width: 0; }
.lightbox img { max-height: calc(100vh - 200px); width: auto; max-width: 100%; border-radius: 18px; }
.lightbox figcaption { font-family: var(--f-display); font-size: 1.3rem; }
.lightbox__close { position: absolute; top: calc(20px + var(--safe-top)); inset-inline-end: 20px; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; }

.cta {
    position: relative;
    padding-block: clamp(100px, 12vw, 170px);
    background: var(--ember);
    color: #0b1018;
    overflow: hidden;
}
.cta__mark {
    position: absolute;
    top: 50%;
    inset-inline-start: -4vw;
    font-family: var(--f-en);
    font-size: 42vw;
    line-height: .7;
    transform: translateY(-50%);
    color: #0b1018;
    opacity: .08;
    pointer-events: none;
}
.cta__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}
.cta__title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.6vw, 5.2rem);
    line-height: 1.25;
}
.cta__text { max-width: 42ch; margin-top: 26px; font-size: 1.15rem; opacity: .82; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.cta__arch {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 440px;
    justify-self: center;
    width: 100%;
    border-radius: var(--arch);
    overflow: hidden;
    box-shadow: 0 50px 90px -40px rgba(80, 50, 0, .55);
    outline: 1px solid rgba(11, 16, 24, .25);
    outline-offset: 14px;
}

.footer {
    position: relative;
    padding: clamp(80px, 9vw, 120px) 0 34px;
    background: #070b11;
    overflow: hidden;
}
.footer__glow {
    position: absolute;
    width: 60vw;
    height: 30vw;
    bottom: -18vw;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(201, 164, 74, .2), transparent 65%);
    pointer-events: none;
}
.footer .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 42px; width: auto; }
.footer__brand p { max-width: 38ch; margin-top: 22px; color: var(--muted); }
.footer__col h4 { margin-bottom: 20px; color: var(--gold); font-size: 15px; font-weight: 600; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: var(--ink-2); transition: color .3s; }
.footer__col a:hover { color: var(--gold-l); }
.footer__col p { color: var(--ink-2); }
.footer__muted { margin-top: 10px; color: var(--muted) !important; font-size: 14px; }
.footer__logo { margin: clamp(60px, 8vw, 110px) 0 40px; opacity: .08; }
.footer__logo img { width: 100%; height: auto; }
.footer__bottom {
    display: grid;
    gap: 16px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}
.footer__bottom div { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--gold-l); }

.fab {
    position: fixed;
    bottom: 22px;
    inset-inline-end: 22px;
    z-index: 60;
    display: grid;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .5s, transform .6s var(--ease);
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
    transition: transform .4s var(--ease);
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 24px; height: 24px; fill: currentColor; }
.fab__btn--call { background: var(--ember); color: #0b1018; }
.fab__btn--wa { background: #25d366; }

@media (max-width: 1240px) {
    :root { --header-h: 74px; }
    .header__nav, .header__call { display: none; }
    .burger { display: block; }
    .hero { align-items: flex-start; min-height: auto; padding: calc(var(--header-offset) + 28px) 0 40px; }
    .hero__grid {
        grid-template-columns: 1fr;
        grid-template-areas: 'arch' 'copy' 'stats';
        row-gap: 28px;
    }
    .hero__arch { max-width: min(420px, 72vw); aspect-ratio: 3 / 3.85; margin-inline: auto; }
    .hero__seal { inset-inline-start: -28px; width: 104px; height: 104px; }
    .hero__word { font-size: 38vw; bottom: auto; top: 8%; opacity: .5; }
    .hero__copy { text-align: center; }
    .hero__copy .kicker { justify-content: center; }
    .hero__sub { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .about__grid, .specs__grid, .cta__grid { grid-template-columns: 1fr; }
    .about__visual { max-width: 520px; }
    .projects__grid { grid-template-columns: 1fr 1fr; }
    .price-cards { grid-template-columns: 1fr 1fr; }
    .plans-grid { grid-template-columns: 1fr 1fr; }
    .features__grid { grid-template-columns: 1fr 1fr; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .brochure__box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    .grain { display: none; }
    .facts__pin { height: min(48vh, 380px); }
    body { font-size: 15px; }
    .header__logo img { height: 42px; }
    :root { --header-h: 68px; --gutter: 18px; }
    .header__inner { height: 68px; }
    .section { padding-block: clamp(64px, 14vw, 96px); }
    .hero { padding: calc(var(--header-offset) + 10px) 0 18px; overflow: clip; }
    .hero__arch { width: min(72vw, 280px); max-width: none; aspect-ratio: 3 / 3.55; }
    .hero__seal { width: 72px; height: 72px; inset-inline-start: -12px; }
    .hero__word { display: none; }
    .hero__title { font-size: clamp(2.05rem, 8.8vw, 2.7rem); line-height: 1.22; }
    .hero__sub { margin-top: 10px; font-size: .92rem; }
    .hero__actions { margin-top: 14px; }
    .hero__actions .btn { flex: 1 1 100%; padding: 13px 16px; font-size: 14px; min-width: 0; }
    .hero__stats { justify-content: space-between; gap: 12px; padding-top: 14px; }
    .hero__scroll { display: none; }
    .marquee { transform: none; margin-block: 0; padding: 14px 0; }
    .stats { gap: 14px; }
    .facts__grid { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { border-inline-start: 0; }
    .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .projects__grid, .features__grid, .price-cards, .plans-grid { grid-template-columns: 1fr; }
    .project-card__arch { max-width: 420px; margin-inline: auto; width: 100%; }
    .project-card__en { max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
    .gallery__head { flex-direction: column; align-items: flex-start; }
    .slide { flex-basis: 84vw; }
    .slide.is-active .slide__media { border-radius: 120px 120px 22px 22px; }
    .lightbox { grid-template-columns: 1fr; padding: 70px 14px 90px; }
    .lightbox img { max-width: 100%; max-height: min(70vh, 520px); }
    .lightbox__nav { position: absolute; bottom: 14px; }
    .lightbox__nav--prev { inset-inline-start: 14px; }
    .lightbox__nav--next { inset-inline-end: 14px; }
    .cta__actions .btn, .brochure__box .btn { width: 100%; }
    .cta__arch { max-width: 320px; }
    .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    .footer__top { grid-template-columns: 1fr; gap: 34px; }
    .fab { bottom: max(14px, env(safe-area-inset-bottom)); inset-inline-end: 14px; }
    .fab__btn { width: 52px; height: 52px; }
    .page-hero, .page-hero--short { min-height: auto; align-items: flex-end; padding: calc(var(--header-offset) + 28px) 0 36px; }
    .page-hero .hero__actions { margin-top: 20px; }
    .page-hero .hero__actions .btn { flex: 1 1 100%; }
    .specs__list li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; }
    .specs__list li strong { text-align: start; }
    .menu__link { font-size: clamp(1.4rem, 7vw, 2rem); }
    .about__visual { margin-inline: auto; }
}

@media (max-width: 420px) {
    .hero__arch { width: min(76vw, 270px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .grain { display: none; }
}
