/* POLIBELLA — ictimai sayt. Rənglər və ölçülər tokenlərdə saxlanılır. */

:root {
    --ivory: #FFFFFF;
    --tint: #F4F4F2;
    --radius: 10px;
    --white: #FFFFFF;
    --ink: #171717;
    --ink-soft: #4A4944;
    --stone: #898780;
    --sand: #D9D1C5;
    --stone-dark: #5F5D57;

    /* Ehtiyat şriftlər Azərbaycan hərflərini (Ə, ı, ş, ğ, ç, ö, ü) tam dəstəkləyir */
    --serif: "Cormorant Garamond", "Noto Serif", Georgia, serif;
    --sans: "Manrope", "Noto Sans", "Helvetica Neue", Arial, sans-serif;

    --gutter: clamp(16px, 4vw, 48px);
    --max: 1360px;
    --header-h: 76px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --hairline: rgba(23, 23, 23, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 100;
    padding: 8px 12px;
    background: var(--ink);
    color: var(--white);
}

.skip-link:focus {
    left: 8px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - 2 * var(--gutter), 760px);
}

main {
    min-height: 60vh;
}

.page-inner main {
    padding-top: var(--header-h);
}

/* Tipoqrafiya */
.eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
}

.section {
    padding: clamp(72px, 10vw, 140px) 0;
}

.section--compact {
    padding-top: clamp(40px, 6vw, 72px);
}

.section--tint {
    background: var(--tint);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(36px, 5vw, 64px);
}

.section-title {
    font-size: clamp(36px, 4.6vw, 60px);
}

.section-title--small {
    font-size: clamp(30px, 3.4vw, 42px);
}

.section-sub {
    max-width: 44ch;
    margin-top: 14px;
    color: var(--ink-soft);
}

.page-head {
    padding-top: clamp(56px, 9vw, 120px);
    padding-bottom: clamp(24px, 4vw, 48px);
}

.page-title {
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 400;
}

.page-title--product {
    font-size: clamp(38px, 4.6vw, 62px);
}

.page-lead {
    max-width: 58ch;
    margin-top: 20px;
    color: var(--ink-soft);
    font-size: clamp(16px, 1.3vw, 18px);
}

.prose {
    color: var(--ink-soft);
    font-size: 16px;
}

.prose p + p {
    margin-top: 1.1em;
}

.prose--lead {
    margin: 20px 0 32px;
    max-width: 62ch;
    color: var(--ink);
}

.prose--page {
    font-size: 17px;
}

.empty {
    padding: 48px 0;
    color: var(--ink-soft);
    text-align: center;
}

.crumbs {
    padding-top: calc(var(--header-h) + 20px);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--stone);
}

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

/* Düymələr və keçidlər */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 26px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn:hover {
    background: transparent;
    color: var(--ink);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--white);
}

.btn--ghost-light {
    display: inline-flex;
    align-items: center;
    padding: 15px 26px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.btn--ghost-light:hover {
    background: var(--white);
    color: var(--ink);
}

.btn--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.btn--light:hover {
    background: transparent;
    color: var(--white);
}

.btn--danger {
    background: #8A2C2C;
    border-color: #8A2C2C;
}

.btn--block {
    width: 100%;
    justify-content: center;
}

.arrow {
    display: inline-block;
    transition: transform 0.5s var(--ease);
}

.btn:hover .arrow,
.link-arrow:hover .arrow,
.tile:hover .arrow {
    transform: translateX(6px);
}

.link-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.link-arrow::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transition: transform 0.6s var(--ease);
}

.link-arrow:hover::after {
    transform-origin: left;
}

@media (hover: hover) {
    .link-arrow:hover::after {
        transform: scaleX(1);
    }
    .link-arrow::after {
        transform: scaleX(0.35);
    }
}

.link-muted {
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--stone);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.link-muted:hover {
    color: var(--ink);
}

/* Header */

/* Ana səhifənin üstündə header yarımşəffaf fonla örtülür: şəkil altda görünür, menyu oxunur */
.page-home .site-header:not(.is-scrolled) {
    background: rgba(23, 23, 23, 0.28);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    color: var(--white);
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--hairline);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: var(--header-h);
}

.brand img {
    width: clamp(150px, 16vw, 200px);
    height: auto;
    filter: none;
}

.page-home .site-header:not(.is-scrolled) .brand img {
    filter: brightness(0) invert(1);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    background: none;
    border: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
    .nav__link:hover::after,
    .nav__link[aria-expanded="true"]::after {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.menu-toggle {
    display: none;
}

/* Mega menu */
.has-mega {
    position: relative;
}

.mega {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(960px, calc(100vw - 2 * var(--gutter)));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 36px 40px 32px;
    background: var(--ivory);
    color: var(--ink);
    border-top: 1px solid var(--hairline);
    box-shadow: 0 24px 48px -32px rgba(23, 23, 23, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.mega__item {
    display: grid;
    gap: 6px;
}

.mega__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--sand);
}

.mega__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.mega__item:hover .mega__thumb img {
    transform: scale(1.04);
}

.mega__name {
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.2;
}

.mega__desc {
    font-size: 14px;
    color: var(--ink-soft);
}

.mega__all {
    grid-column: 1 / -1;
    justify-self: start;
}

/* Axtarış paneli */
.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 0;
    background: var(--ivory);
    color: var(--ink);
    border-top: 1px solid var(--hairline);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.search-bar.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.search-bar__row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-bar__input {
    flex: 1;
    font-size: 18px;
}

.search-page {
    margin-top: 32px;
    max-width: 720px;
}

/* Mobil menyu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--ivory);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.menu-open {
    overflow: hidden;
}

.mobile-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu__list li {
    border-bottom: 1px solid var(--hairline);
}

.mobile-menu__list a {
    display: block;
    padding: 18px 0;
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.1;
}

.mobile-menu__list .mobile-menu__sub a {
    padding: 10px 0 10px 16px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink-soft);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    max-height: 1000px;
    overflow: hidden;
    color: var(--white);
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.38);
    pointer-events: none;
}

.hero__media,
.hero__media img,
.hero__media .media-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media img {
    object-fit: cover;
    animation: heroIn 2.2s var(--ease) both;
}

.hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(48px, 9vh, 104px);
}

.hero__title {
    max-width: 14ch;
    font-size: clamp(46px, 7.4vw, 116px);
    font-weight: 400;
    animation: fadeUp 1.2s var(--ease) 0.2s both;
}

.hero__text {
    max-width: 46ch;
    margin: 22px 0 36px;
    font-size: clamp(16px, 1.4vw, 19px);
    animation: fadeUp 1.2s var(--ease) 0.45s both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeUp 1.2s var(--ease) 0.6s both;
}

.hero .btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.7);
}

.hero__title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__text {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* Slayder: şəkillər bir-birinin üstündə, fade ilə dəyişir */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s var(--ease), visibility 1.2s;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero--slider .hero__content {
    bottom: clamp(104px, 16vh, 164px);
}

.slider__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(24px, 5vh, 44px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--white);
}

.slider__btn {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.slider__btn:hover {
    background: var(--white);
    color: var(--ink);
}

.slider__dots {
    display: flex;
    gap: 12px;
}

.slider__dot {
    width: 28px;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.6s var(--ease), background-color 0.6s var(--ease);
}

.slider__dot[aria-current="true"] {
    width: 56px;
    background: var(--white);
}

@media (max-width: 720px) {
    .slider__btn {
        display: none;
    }
    .slider__controls {
        justify-content: center;
    }
}

/* Media yer tutucuları (şəkil yükləməyincə) */
.media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: var(--sand);
}

.media-placeholder--hero {
    background: var(--stone-dark);
}

.media-placeholder--tall {
    aspect-ratio: 4 / 5;
    height: auto;
}

/* Kolleksiya kartları — editorial grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(28px, 3vw, 48px) clamp(16px, 2.4vw, 32px);
    align-items: start;
}

.collections-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 32px);
}

.tile {
    display: block;
    color: var(--ink);
}

.tile__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--sand);
}

.tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s var(--ease);
}

.tile__media .media-placeholder {
    height: 100%;
}

.tile__info {
    display: grid;
    gap: 8px;
    padding-top: 22px;
}

.tile__name {
    font-family: var(--serif);
    font-size: clamp(28px, 2.6vw, 36px);
    line-height: 1.1;
}

.tile__text {
    max-width: 42ch;
    font-size: 15px;
    color: var(--ink-soft);
}

.tile__cta {
    margin-top: 6px;
    justify-self: start;
    opacity: 1;
}

@media (hover: hover) {
    .tile__cta {
        opacity: 0.55;
        transform: translateY(6px);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    }
    .tile:hover .tile__media img,
    .tile:focus-visible .tile__media img {
        transform: scale(1.05);
    }
    .tile:hover .tile__cta,
    .tile:focus-visible .tile__cta {
        opacity: 1;
        transform: none;
    }
}

.tile:nth-child(1) { grid-column: span 7; }
.tile:nth-child(1) .tile__media { aspect-ratio: 4 / 4.6; }
.tile:nth-child(2) { grid-column: 9 / span 4; margin-top: 96px; }
.tile:nth-child(2) .tile__media { aspect-ratio: 1 / 1; }
.tile:nth-child(3) { grid-column: 1 / span 4; }
.tile:nth-child(3) .tile__media { aspect-ratio: 4 / 5; }
.tile:nth-child(4) { grid-column: 6 / span 7; margin-top: 120px; }
.tile:nth-child(4) .tile__media { aspect-ratio: 16 / 10; }
.tile:nth-child(5) { grid-column: span 6; }
.tile:nth-child(6) { grid-column: span 6; margin-top: 64px; }

/* Müasir detallar: yumşaq künclər və pill düymələr */
.tile__media,
.product-card__media,
.project-card__media,
.split__media img,
.split__media .media-placeholder,
.gallery-item img,
.gallery-item > .media-placeholder,
.gallery__main,
.mega__thumb {
    border-radius: var(--radius);
}

.btn,
.btn--ghost-light,
.slider__btn {
    border-radius: 999px;
}

.btn {
    padding: 15px 30px;
}

.slider__btn {
    border-radius: 50%;
}

/* Kolleksiya sırası (Design səhifəsi): ızgara qaydaları ana səhifənin üçün deyil */
.collections-row .tile {
    grid-column: auto !important;
    margin-top: 0 !important;
}

/* Məhsul kartları */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(28px, 2.6vw, 40px) clamp(16px, 2vw, 28px);
}

.product-card {
    min-width: 0;
}

.product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--sand);
}

.product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), opacity 0.8s var(--ease);
}

.product-card__media img.is-hover {
    opacity: 0;
}

.product-card__media .media-placeholder {
    position: absolute;
    inset: 0;
}

.product-card__body {
    padding-top: 18px;
}

.product-card__title {
    margin: 6px 0 8px;
    font-size: clamp(22px, 2vw, 26px);
}

.product-card__title a {
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
    transition: background-size 0.6s var(--ease);
}

.product-card__text {
    font-size: 14px;
    color: var(--ink-soft);
}

.product-card__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: 14px;
}

@media (hover: hover) {
    .product-card:hover .product-card__media img:not(.is-hover) {
        transform: scale(1.04);
    }
    .product-card:hover .product-card__media img.is-hover {
        opacity: 1;
    }
    .product-card:hover .product-card__title a {
        background-size: 100% 1px;
    }
}

/* Bölmə: mətn + şəkil */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 6vw, 104px);
    align-items: center;
}

.split__media img,
.split__media .media-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.split__text .section-title {
    margin: 12px 0 28px;
    font-size: clamp(34px, 4vw, 54px);
}

.split__text .prose {
    margin-bottom: 36px;
}

/* Qalereya */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(16px, 2.4vw, 32px);
    align-items: start;
}

.gallery-item {
    position: relative;
    margin: 0;
    min-width: 0;
}

.gallery-item > a,
.gallery-item img,
.gallery-item > .media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img,
.gallery-item > .media-placeholder {
    object-fit: cover;
    overflow: hidden;
}

.gallery-item--portrait { grid-column: span 4; }
.gallery-item--portrait > a,
.gallery-item--portrait img,
.gallery-item--portrait > .media-placeholder { aspect-ratio: 3 / 4; }
.gallery-item--landscape { grid-column: span 8; }
.gallery-item--landscape > a,
.gallery-item--landscape img,
.gallery-item--landscape > .media-placeholder { aspect-ratio: 16 / 10; }
.gallery-item--square { grid-column: span 6; }
.gallery-item--square > a,
.gallery-item--square img,
.gallery-item--square > .media-placeholder { aspect-ratio: 1 / 1; }

.gallery-item figcaption {
    margin-top: 14px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
}

.gallery-item__caption {
    display: block;
    margin-top: 4px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink-soft);
}

.gallery-item img {
    transition: transform 1.6s var(--ease), filter 1.2s var(--ease);
}

@media (hover: hover) {
    .gallery-item:hover img {
        transform: scale(1.03);
    }
}

.gallery-grid--page .gallery-item--portrait { grid-column: span 4; }

/* Dəyərlər */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hairline);
}

.values__item {
    display: flex;
    gap: 22px;
    align-items: baseline;
    padding: 36px 28px 36px 0;
    border-bottom: 1px solid var(--hairline);
}

.values__index {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--stone);
}

.values__name {
    font-family: var(--serif);
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.1;
}

/* Son çağırış */
.cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.cta__media,
.cta__media img,
.cta__media .media-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cta__media img {
    object-fit: cover;
}

.cta__content {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 36px;
    padding: 96px 0;
}

.cta__title {
    max-width: 16ch;
    font-size: clamp(40px, 5.6vw, 84px);
    font-weight: 400;
}

/* Məhsul səhifəsi */
.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
    padding-top: 20px;
    padding-bottom: clamp(48px, 8vw, 96px);
}

.product-info {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.product-info .eyebrow {
    margin-bottom: 10px;
}

.product-info__lead {
    margin-top: 20px;
    font-size: 18px;
    color: var(--ink-soft);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 8px;
}

.spec {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}

.spec dt,
.spec__title {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}

.spec dd {
    margin: 0;
}

.spec dd a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.plain-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.plain-list li {
    padding: 4px 0;
    color: var(--ink-soft);
}

.swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.swatch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.swatch__color {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 23, 0.18);
}

.gallery__main {
    overflow: hidden;
    background: var(--sand);
}

.gallery__main img,
.gallery__main .media-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.gallery__thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
}

.gallery__thumb {
    flex: 0 0 auto;
    width: 84px;
    padding: 0;
    border: 1px solid transparent;
    background: var(--sand);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease);
}

.gallery__thumb img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.gallery__thumb[aria-current="true"],
.gallery__thumb:hover {
    opacity: 1;
}

.gallery__thumb[aria-current="true"] {
    border-color: var(--ink);
}

/* Filtrlər və səhifələmə */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.chip {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.06em;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.chip:hover,
.chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.result-note {
    margin-bottom: 28px;
    color: var(--ink-soft);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 64px;
    font-size: 14px;
    letter-spacing: 0.06em;
}

.pagination__status {
    color: var(--stone);
}

/* Əlaqə */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(40px, 7vw, 120px);
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 36px;
}

.contact-info p {
    font-size: 17px;
}

.contact-info__product {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hairline);
}

.contact-info__name {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.15;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.form {
    display: grid;
    gap: 4px;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 26px;
}

.field label,
.field legend {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.input {
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.3);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    transition: border-color 0.4s var(--ease);
}

.input:focus {
    outline: none;
    border-color: var(--ink);
}

textarea.input {
    min-height: 140px;
    resize: vertical;
}

.has-error .input {
    border-color: #8A2C2C;
}

.field__error {
    font-size: 13px;
    color: #8A2C2C;
}

/* Bildirişlər */
.flash-wrap {
    display: grid;
    gap: 12px;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 8px;
}

.page-home .flash-wrap {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    padding-top: 0;
}

.flash {
    margin: 0;
    padding: 14px 18px;
    border-left: 2px solid var(--ink);
    background: var(--white);
    font-size: 15px;
}

.flash--error {
    border-color: #8A2C2C;
    color: #6E2222;
}

/* Xəta səhifələri */
.error-page {
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 120px;
}

/* Footer */
.site-footer {
    margin-top: clamp(72px, 10vw, 140px);
    padding-top: clamp(64px, 8vw, 96px);
    background: var(--ink);
    color: var(--ivory);
}

.site-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}

.site-footer__brand img {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
}

.site-footer__brand p {
    max-width: 36ch;
    color: rgba(247, 245, 240, 0.75);
    font-size: 15px;
}

.site-footer__col h2 {
    color: rgba(247, 245, 240, 0.6);
}

.site-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col li {
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-list li {
    color: rgba(247, 245, 240, 0.85);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px !important;
}

.newsletter {
    margin-top: 32px;
}

.newsletter__label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(247, 245, 240, 0.6);
}

.newsletter__row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.site-footer .input {
    border-color: rgba(247, 245, 240, 0.35);
    color: var(--ivory);
}

.site-footer .input::placeholder {
    color: rgba(247, 245, 240, 0.5);
}

.site-footer .input:focus {
    border-color: var(--ivory);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0 36px;
    border-top: 1px solid rgba(247, 245, 240, 0.14);
    font-size: 13px;
    color: rgba(247, 245, 240, 0.6);
}

.site-footer__bottom nav {
    display: flex;
    gap: 24px;
}

/* Animasiyalar: yüngül giriş (reveal) */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroIn {
    from {
        transform: scale(1.06);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobil və planşet */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    .nav {
        display: none;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .mega {
        display: none;
    }
    .product-layout,
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .product-info {
        position: static;
    }
    .collections-grid .tile {
        grid-column: span 6 !important;
        margin-top: 0 !important;
    }
    .gallery-item--portrait,
    .gallery-item--landscape,
    .gallery-item--square {
        grid-column: span 6;
    }
    .values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .collections-grid .tile {
        grid-column: span 12 !important;
    }
    .collections-row {
        grid-template-columns: 1fr;
    }
    .gallery-item--portrait,
    .gallery-item--landscape,
    .gallery-item--square,
    .gallery-grid--page .gallery-item--portrait {
        grid-column: span 12;
    }
    .gallery-item--landscape > a,
    .gallery-item--landscape img,
    .gallery-item--landscape > .media-placeholder {
        aspect-ratio: 4 / 3;
    }
    .values {
        grid-template-columns: 1fr;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .search-bar__row {
        flex-direction: column;
        align-items: stretch;
    }
    .hero {
        min-height: 620px;
    }
    .hero__actions .btn,
    .hero__actions .btn--ghost-light {
        width: 100%;
        justify-content: center;
    }
    .mega {
        display: none;
    }
    .newsletter__row {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 420px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .split__media img,
    .split__media .media-placeholder {
        aspect-ratio: 3 / 4;
    }
    .pagination {
        gap: 16px;
        font-size: 13px;
    }
}

/* Linkli şəkillər: hover-də zoom və işıq zolağının sürüşməsi (animasiyalı) */
.sheen {
    position: relative;
    overflow: hidden;
}

.sheen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(-130%) skewX(-14deg);
    pointer-events: none;
}

@media (hover: hover) {
    .sheen:hover::after,
    .sheen:focus-visible::after {
        animation: sheenSweep 1.1s var(--ease) both;
    }
    a.sheen:hover img,
    a.sheen:focus-visible img {
        transform: scale(1.08);
    }
}

@keyframes sheenSweep {
    to {
        transform: translateX(130%) skewX(-14deg);
    }
}

/* Dil seçicisi */
.lang {
    display: inline-flex;
    gap: 2px;
    margin-right: 6px;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.lang__link {
    padding: 6px 7px;
    opacity: 0.6;
    transition: opacity 0.4s var(--ease);
}

.lang__link:hover,
.lang__link.is-active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lang--mobile {
    margin: 28px 0 0;
    font-size: 14px;
    color: var(--ink);
}

@media (max-width: 960px) {
    .lang:not(.lang--mobile) {
        display: none;
    }
}

/* Mətn və layihə kartları */
.page-note {
    max-width: 62ch;
    margin-top: 16px;
}

.product-custom {
    margin-top: 18px;
}

.split--image-left .split__media {
    order: -1;
}

.projects-row,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 3vw, 48px) clamp(16px, 2.4vw, 32px);
}

.project-card {
    display: block;
    min-width: 0;
}

.project-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sand);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.project-card__media .media-placeholder {
    height: 100%;
}

.project-card__title {
    display: block;
    margin-top: 18px;
    font-family: var(--serif);
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.15;
}

.project-card__meta {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--ink-soft);
}

@media (hover: hover) {
    .project-card:hover .project-card__media img {
        transform: scale(1.06);
    }
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
}

.type-card {
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
}

.type-card__title {
    font-size: clamp(26px, 2.6vw, 36px);
}

.type-card__text {
    margin-top: 14px;
    color: var(--ink-soft);
}

.stage-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hairline);
}

.stage-list li {
    display: flex;
    gap: 22px;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 17px;
}

.cta__text {
    max-width: 52ch;
    font-size: 17px;
    opacity: 0.9;
}

@media (max-width: 960px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
    .projects-row,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-row,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Kompakt ana səhifə modulları */
.section--tight {
    padding: clamp(48px, 6vw, 88px) 0;
}

.section-head--compact {
    margin-bottom: 28px;
}

.dir-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.4vw, 32px);
}

.dir-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: var(--sand);
}

.dir-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.dir-card__media .media-placeholder {
    height: 100%;
}

.dir-card .eyebrow {
    margin: 18px 0 8px;
}

.dir-card__title {
    font-size: clamp(26px, 2.4vw, 32px);
}

.dir-card__text {
    margin: 10px 0 14px;
    font-size: 15px;
    color: var(--ink-soft);
}

@media (hover: hover) {
    .dir-card:hover .dir-card__media img {
        transform: scale(1.05);
    }
}

.shop__title {
    margin-bottom: 28px;
    text-align: center;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.shop__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(14px, 2vw, 28px);
}

.shop-item {
    display: block;
    text-align: center;
}

.shop-item__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    background: var(--tint);
}

.shop-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.shop-item__media .media-placeholder {
    height: 100%;
}

.shop-item__name {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

@media (hover: hover) {
    .shop-item:hover .shop-item__media img {
        transform: scale(1.06);
    }
}

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2.4vw, 32px);
}

.duo-card {
    display: grid;
    gap: 18px;
}

.duo-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    background: var(--sand);
}

.duo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duo-card__media .media-placeholder {
    height: 100%;
}

.duo-card__title {
    font-size: clamp(26px, 2.4vw, 32px);
    margin-bottom: 8px;
}

.duo-card p {
    font-size: 15px;
    color: var(--ink-soft);
}

.products-grid--compact {
    gap: clamp(20px, 2vw, 28px) clamp(14px, 1.6vw, 24px);
}

.value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.value-chips li {
    padding: 10px 18px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    font-size: 14px;
}

.cta--compact {
    min-height: 52vh;
}

@media (max-width: 960px) {
    .dir-row {
        grid-template-columns: 1fr;
    }
    .shop__row {
        grid-template-columns: repeat(3, 1fr);
    }
    .duo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .shop__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sayt strukturu: ana səhifənin gövdəsi (01–07) */
.sm-section {
    padding: clamp(64px, 8vw, 110px) 0;
}

.sm-philosophy {
    max-width: 880px;
}

.sm-philosophy__title {
    margin: 14px 0 24px;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 400;
    line-height: 1.12;
}

.sm-philosophy__text {
    max-width: 62ch;
    margin-bottom: 28px;
    font-size: 17px;
    color: var(--ink-soft);
}

.sm-head {
    margin-bottom: 36px;
}

.sm-head--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.sm-grid {
    display: grid;
    gap: clamp(20px, 2.4vw, 32px);
}

.sm-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.sm-card {
    display: block;
    min-width: 0;
}

.sm-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: var(--sand);
}

.sm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.sm-card__media .media-placeholder {
    height: 100%;
}

.sm-card__title {
    display: block;
    margin-top: 18px;
    font-family: var(--serif);
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.15;
}

.sm-card__text {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    color: var(--ink-soft);
}

@media (hover: hover) {
    .sm-card:hover .sm-card__media img {
        transform: scale(1.05);
    }
}

.sm-list {
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hairline);
}

.sm-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 15px;
}

.sm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
}

@media (max-width: 900px) {
    .sm-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* Hərəkət məhdudiyyəti: istifadəçi animasiyanı söndürübsə */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
    .hero__media img,
    .hero__title,
    .hero__text,
    .hero__actions {
        animation: none !important;
    }
}
