/* ============================================================
   CARTIER AGENCY — ОБЩИЕ СТИЛИ СТРАНИЦ ГАЛЕРЕИ
   girls.html / massagist.html / men.html / trans.html
   Чёрный фон, золото, неоновое свечение логотипа, инстаграмная сетка.
   ============================================================ */

:root {
    --ca-bg: #0b0806;
    --ca-bg-soft: #120d09;
    --ca-gold: #b89a62;
    --ca-gold-light: #e4b77d;
    --ca-text: #f5e9d6;
    --ca-muted: #9c9584;
    --ca-line: rgba(228, 183, 125, 0.22);
    --ca-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --ca-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--ca-bg);
    color: var(--ca-text);
    font-family: var(--ca-sans);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Полоса прокрутки невидимая */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

a {
    color: var(--ca-gold-light);
}

/* ============================== ШАПКА ============================== */
.ga-header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px clamp(16px, 4vw, 40px);
    background: linear-gradient(180deg, rgba(11, 8, 6, 0.96) 60%, rgba(11, 8, 6, 0));
    backdrop-filter: blur(6px);
}

.ga-logo {
    display: block;
    background: transparent;
    animation: ga-contour 3s ease-in-out infinite alternate;
    margin-top: -4px;
}

.ga-logo img {
    display: block;
    width: auto;
    height: clamp(44px, 8vw, 86px);
}

@keyframes ga-contour {
    0% {
        filter: drop-shadow(0 0 5px rgba(228, 183, 125, 0.5))
                drop-shadow(0 0 12px rgba(228, 183, 125, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(228, 183, 125, 0.9))
                drop-shadow(0 0 30px rgba(228, 183, 125, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 7px rgba(228, 183, 125, 0.6))
                drop-shadow(0 0 14px rgba(228, 183, 125, 0.4));
    }
}

.ga-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 26px;
    margin-top: 10px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.ga-burger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background-color: var(--ca-gold-light);
    box-shadow: 0 0 8px rgba(228, 183, 125, 0.5);
}

/* ============================== ШТОРКА ============================== */
.ga-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ga-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.ga-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9600;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    padding: 38px 34px;
    background: var(--ca-bg);
    border-left: 1px solid rgba(228, 183, 125, 0.3);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

.ga-sidebar.open {
    transform: translateX(0);
}

.ga-sidebar-close {
    align-self: flex-end;
    color: var(--ca-gold-light);
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.ga-sidebar-close:hover {
    color: #ffffff;
}

.ga-nav {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
}

.ga-nav a {
    padding: 13px 0;
    color: var(--ca-gold-light);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(228, 183, 125, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.ga-nav a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.ga-nav a.is-active {
    color: #ffffff;
    border-bottom-color: var(--ca-gold);
}

.ga-nav-caption {
    margin: 14px 0 2px;
    color: var(--ca-muted);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ga-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 15px;
    border: 2px solid var(--ca-gold-light);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--ca-gold-light);
    font-family: var(--ca-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(228, 183, 125, 0.2);
}

.ga-btn:hover {
    background: var(--ca-gold-light);
    color: var(--ca-bg);
    box-shadow: 0 0 20px rgba(228, 183, 125, 0.6);
}

/* ============================== ЗАГОЛОВОК ============================== */
.ga-hero {
    padding: clamp(30px, 6vw, 70px) clamp(16px, 4vw, 40px) clamp(18px, 3vw, 32px);
    text-align: center;
}

.ga-hairline {
    display: block;
    width: 56px;
    height: 1px;
    margin: clamp(16px, 3vw, 28px) auto;
    background: var(--ca-gold);
}

.ga-title {
    margin: 0;
    color: var(--ca-gold-light);
    font-family: var(--ca-serif);
    font-size: clamp(2.1rem, 7vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.1;
    text-transform: uppercase;
    padding-left: 0.2em;
}

.ga-subtitle {
    margin: 0 auto;
    max-width: 620px;
    color: var(--ca-muted);
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.8;
}

.ga-count {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 20px;
    border: 1px solid var(--ca-line);
    border-radius: 50px;
    color: var(--ca-gold-light);
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

/* ============================== СЕТКА (инстаграмная) ============================== */
.ga-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1.4vw, 18px);
    padding: clamp(14px, 3vw, 30px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 80px);
}

.ga-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--ca-line);
    border-radius: 2px;
    background: var(--ca-bg-soft);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    /* Плавное появление карточек каскадом */
    opacity: 0;
    transform: translateY(18px);
    animation: ga-card-in 0.7s ease forwards;
}

@keyframes ga-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ga-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #0d0a08;
    overflow: hidden;
}

.ga-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.ga-card:hover .ga-card-media img {
    transform: scale(1.06);
    filter: brightness(1.08);
}

.ga-card-photo-count {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--ca-gold-light);
    font-size: 11px;
    letter-spacing: 1px;
}

.ga-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--ca-gold);
    font-family: var(--ca-serif);
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    background: radial-gradient(circle at 50% 40%, rgba(184, 154, 98, 0.18), transparent 70%);
}

.ga-card-info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 12px 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 65%);
}

.ga-card-name {
    color: #ffffff;
    font-family: var(--ca-serif);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.ga-card-meta {
    margin-top: 4px;
    color: var(--ca-gold-light);
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ga-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.ga-badge {
    padding: 3px 9px;
    border: 1px solid var(--ca-line);
    border-radius: 50px;
    color: var(--ca-muted);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ga-badge--gold {
    border-color: var(--ca-gold);
    color: var(--ca-gold-light);
}

/* ============================== СОСТОЯНИЯ ============================== */
.ga-state {
    padding: clamp(50px, 10vw, 110px) clamp(16px, 4vw, 40px);
    text-align: center;
}

.ga-state[hidden] {
    display: none;
}

.ga-state-title {
    margin: 0 0 10px;
    color: var(--ca-gold-light);
    font-family: var(--ca-serif);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.ga-state-text {
    margin: 0 auto 26px;
    max-width: 520px;
    color: var(--ca-muted);
    line-height: 1.8;
}

.ga-state .ga-btn {
    max-width: 320px;
    margin: 0 auto;
}

/* Скелетон загрузки */
.ga-skeleton {
    aspect-ratio: 1 / 1;
    background: linear-gradient(100deg, #100c09 30%, #1b1512 50%, #100c09 70%);
    background-size: 300% 100%;
    animation: ga-shimmer 1.4s ease-in-out infinite;
    border: 1px solid rgba(228, 183, 125, 0.08);
}

@keyframes ga-shimmer {
    from { background-position: 150% 0; }
    to { background-position: -50% 0; }
}

/* ============================== МОДАЛЬНОЕ ОКНО АНКЕТЫ ============================== */
.ga-modal {
    position: fixed;
    inset: 0;
    z-index: 9700;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.ga-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.ga-modal-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 88vh;
    overflow: auto;
    background: #0b0806;
    border: 1px solid var(--ca-gold);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: translateY(12px);
    transition: transform 0.35s ease;
}

.ga-modal.open .ga-modal-card {
    transform: translateY(0);
}

.ga-modal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 2;
    color: var(--ca-gold-light);
    font-size: 32px;
    line-height: 1;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
}

.ga-modal-photos {
    display: grid;
    gap: 4px;
    background: #000;
}

.ga-modal-photos img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.ga-modal-body {
    padding: clamp(20px, 3vw, 34px);
}

.ga-modal-name {
    margin: 0;
    color: #ffffff;
    font-family: var(--ca-serif);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 500;
    letter-spacing: 0.06em;
}

.ga-modal-meta {
    margin: 6px 0 18px;
    color: var(--ca-gold-light);
    font-size: 12.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.ga-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    margin: 0 0 20px;
    padding: 16px 0;
    border-top: 1px solid var(--ca-line);
    border-bottom: 1px solid var(--ca-line);
}

.ga-specs div {
    color: var(--ca-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.ga-specs span {
    color: var(--ca-text);
}

.ga-modal-section {
    margin-bottom: 18px;
}

.ga-modal-label {
    margin: 0 0 8px;
    color: var(--ca-gold);
    font-size: 11px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.ga-modal-text {
    margin: 0;
    color: var(--ca-muted);
    font-size: 14px;
    line-height: 1.8;
}

.ga-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ga-chip {
    padding: 5px 12px;
    border: 1px solid var(--ca-line);
    border-radius: 50px;
    color: var(--ca-text);
    font-size: 11.5px;
    letter-spacing: 0.6px;
}

.ga-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.ga-contact {
    padding: 11px 22px;
    border: 1px solid var(--ca-gold);
    border-radius: 50px;
    color: var(--ca-gold-light);
    font-size: 13px;
    letter-spacing: 1.4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.ga-contact:hover {
    background: var(--ca-gold-light);
    color: var(--ca-bg);
}

/* ============================== ПОДВАЛ ============================== */
.ga-footer {
    padding: 30px clamp(16px, 4vw, 40px) 46px;
    border-top: 1px solid var(--ca-line);
    color: var(--ca-muted);
    font-size: 12px;
    letter-spacing: 1.6px;
    text-align: center;
    text-transform: uppercase;
}

/* ============================== АДАПТИВ ============================== */
@media (max-width: 1100px) {
    .ga-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .ga-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga-specs { grid-template-columns: 1fr; }
    .ga-modal-card { max-height: 84vh; }
}

@media (prefers-reduced-motion: reduce) {
    .ga-card,
    .ga-skeleton,
    .ga-logo {
        animation: none;
        opacity: 1;
        transform: none;
    }
}



