/* =========================================================
   GEVORRO — премиальный барбершоп
   ========================================================= */

:root {
    --bg: #0a0a0a;
    --bg-2: #0f0f0f;
    --bg-3: #161616;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f3f3f3;
    --text-muted: #9a9a9a;
    --accent: #c9a35d;
    --accent-hover: #d8b974;
    --accent-soft: rgba(201, 163, 93, 0.12);
    --radius: 4px;
    --radius-lg: 8px;
    --container: 1320px;
    --serif-brand: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent); font-family: var(--serif); font-style: italic; }

/* ===========  BUTTONS  =========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn--sm { padding: 10px 18px; font-size: 11px; letter-spacing: 0.15em; }
.btn--block { width: 100%; }
.btn--primary {
    background: var(--accent);
    color: #0a0a0a;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.icon-btn {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: var(--text);
    transition: all var(--transition);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ===========  HEADER (плавающий, поверх hero)  =========== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: background var(--transition), padding var(--transition);
}
.header.is-scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
}
.logo__mark {
    width: 58px; height: 58px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border-radius: 50%;
    line-height: 1;
    overflow: hidden;
    filter: drop-shadow(0 4px 18px rgba(201, 163, 93, 0.4));
    transition: transform 0.4s ease, filter 0.4s ease;
}
.logo__mark img {
    width: 150%;
    height: 150%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.logo:hover .logo__mark {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 6px 24px rgba(201, 163, 93, 0.7));
}

.header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.burger {
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    display: inline-flex;
    transition: all var(--transition);
}
.burger:hover { border-color: var(--accent); }
.burger span {
    width: 20px; height: 1.5px;
    background: var(--text);
    transition: all var(--transition);
}
.burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay-меню */
.overlay-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(18px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay-nav.is-open { opacity: 1; visibility: visible; }
.overlay-nav__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.overlay-nav__link {
    font-family: var(--serif-brand);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text);
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}
.overlay-nav__link:hover { color: var(--accent); }
.overlay-nav__link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%; right: 50%;
    height: 1px;
    background: var(--accent);
    transition: left var(--transition), right var(--transition);
}
.overlay-nav__link:hover::after { left: 0; right: 0; }

body.has-overlay { overflow: hidden; }

/* ===========  HERO (компактный — филиалы сразу под ним)  =========== */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1667 / 944;
    min-height: 460px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.7) 100%),
        linear-gradient(180deg, rgba(10,10,10,0.5) 0%, transparent 30%, rgba(10,10,10,0.6) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    animation: heroIn 1.4s ease both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero__brand {
    font-family: var(--serif-brand);
    font-weight: 400;
    font-size: clamp(54px, 9vw, 150px);
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 6px 50px rgba(0,0,0,0.7);
}
.hero__tagline {
    margin-top: 14px;
    font-family: var(--sans);
    font-size: clamp(13px, 1.3vw, 18px);
    font-weight: 300;
    letter-spacing: 0.5em;
    padding-left: 0.5em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.9;
}

/* === Быстрые филиалы прямо в hero === */
.hero__branches {
    margin-top: clamp(20px, 2.5vw, 36px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.hero__branches-label {
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.85;
}
.hero__branches-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.hero__chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid rgba(201, 163, 93, 0.45);
    border-radius: 100px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition);
    white-space: nowrap;
}
.hero__chip svg { color: var(--accent); flex-shrink: 0; }
.hero__chip:hover {
    border-color: var(--accent);
    background: rgba(201, 163, 93, 0.18);
    color: var(--accent);
    transform: translateY(-2px);
}
.hero__chip--new {
    border-color: var(--accent);
    background: rgba(201, 163, 93, 0.12);
}
.hero__chip-badge {
    margin-left: 4px;
    padding: 2px 7px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 100px;
    line-height: 1.4;
}

/* Бегущая строка под hero */
.marquee {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
    overflow: hidden;
    padding: 18px 0;
}
.marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
.marquee__track span {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    color: var(--text);
    letter-spacing: 0.04em;
}
.marquee__track i {
    color: var(--accent);
    font-style: normal;
    font-size: 14px;
    opacity: 0.8;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===========  SECTIONS  =========== */
.section {
    padding: 110px 0;
    position: relative;
}
.section__title {
    font-family: var(--serif-brand);
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.1;
    margin-bottom: 18px;
}
.section__title--center { text-align: center; }
.section__sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
}
.section__sub--center { margin: 0 auto 60px; text-align: center; }

/* ===========  BRANCHES  =========== */
.branches { background: var(--bg-2); }
.branches__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}
.branches__grid {
    display: flex;
    gap: 20px;
    padding: 6px 2px 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.branches__grid::-webkit-scrollbar { display: none; }
.branch-card {
    flex: 0 0 auto;
    width: clamp(280px, 23vw, 330px);
    scroll-snap-align: start;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.branch-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.branch-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.branch-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.branch-card:hover .branch-card__img img { transform: scale(1.07); }
.branch-card__badge {
    position: absolute;
    top: 14px; left: 14px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
}
.branch-card__badge--accent { background: var(--accent); color: #0a0a0a; }
.branch-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.branch-card__title {
    font-family: var(--serif-brand);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.branch-card__addr {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.branch-card__phone {
    display: inline-block;
    font-family: var(--serif);
    font-size: 19px;
    color: var(--text);
    margin-bottom: 6px;
    transition: color var(--transition);
}
.branch-card__phone:hover { color: var(--accent); }
.branch-card__hours {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.branch-card__soon {
    cursor: default;
    opacity: 0.5;
}
.branch-card__soon:hover {
    border-color: var(--line-strong);
    color: var(--text);
}
.branch-card__actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}
.branch-card__actions .btn { flex: 1; padding: 11px 12px; font-size: 11px; }

/* ===========  SERVICES  =========== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-group {
    padding: 36px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition);
}
.service-group:hover { border-color: var(--line-strong); }
.service-group__title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--accent);
}
.price-list { list-style: none; }
.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
}
.price-list li:last-child { border-bottom: none; }
.price-list .price {
    color: var(--accent);
    font-weight: 500;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* === Тарифная сетка: Барбер / Top / Premium === */
.tier-head {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 8px;
    padding: 0 0 10px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--line-strong);
}
.tier-head span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: right;
}
.tier-head span:first-child { text-align: left; }

.service-group--tiered .price-list li.price-row {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: baseline;
}
.price-row__name {
    font-size: 15px;
    color: var(--text);
}
.service-group--tiered .price-row .price {
    text-align: right;
    font-size: 14px;
}
.price-row--single { grid-template-columns: 1.7fr 3fr !important; }
.price-row--single .price { text-align: right; }

/* ===========  TEAM — горизонтальная карусель мастеров  =========== */
.team { background: var(--bg-2); padding: 110px 0; }
.team__head-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.team__controls {
    display: flex;
    gap: 12px;
}

.team__track {
    display: flex;
    gap: 18px;
    padding: 0 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.team__track::-webkit-scrollbar { display: none; }

.master-card {
    flex: 0 0 auto;
    width: clamp(280px, 24vw, 400px);
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    scroll-snap-align: start;
    background: var(--bg-3);
    transition: transform 0.4s ease, border-color var(--transition);
}
.master-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
}
.master-card__img {
    position: absolute;
    inset: 0;
}
.master-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 30%,
        rgba(10,10,10,0.55) 65%,
        rgba(10,10,10,0.95) 100%);
    z-index: 1;
}
.master-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.master-card:hover .master-card__img img { transform: scale(1.05); }

.master-card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px;
    z-index: 2;
}
.master-card__role {
    display: block;
    font-size: 12px;
    color: var(--text);
    opacity: 0.88;
    letter-spacing: 0.12em;
    text-transform: none;
    font-weight: 500;
    margin-bottom: 8px;
}
.master-card__name {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}
.master-card__bio {
    font-size: 13px;
    color: var(--text);
    opacity: 0.85;
    line-height: 1.55;
}

/* ===========  GIFT + SHAMPOO (одной строкой)  =========== */
.gift__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.gift-card {
    display: flex;
    gap: 24px;
    padding: 40px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.gift-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.gift-card:hover { border-color: var(--accent); }
.gift-card:hover::before { opacity: 1; }
.gift-card__icon {
    flex-shrink: 0;
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50%;
}
.gift-card__icon svg { width: 28px; height: 28px; }

/* =========================================================
   GIFT — сертификат и шампунь в одной строке
   ========================================================= */
.gift { overflow-x: hidden; }
.gift__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

/* =========================================================
   CERT BANNER — «живой» сертификат, свободно парящий
   ========================================================= */
.cert-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 56px 48px;
    isolation: isolate;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    min-height: 540px;
}
.cert-banner__text { text-align: left; }
.cert-banner__photo { width: 100%; aspect-ratio: 5 / 3; margin-top: auto; }

.cert-banner__text { position: relative; z-index: 2; }
.cert-banner__title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--accent);
    margin-bottom: 18px;
    text-shadow: 0 4px 30px rgba(201,163,93,0.25);
}
.cert-banner__sub {
    font-size: 13px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.85;
    margin-bottom: 36px;
}

/* Парящая карточка справа */
.cert-banner__photo {
    position: relative;
    aspect-ratio: 5 / 3;
    perspective: 1600px;
    transform-style: preserve-3d;
    z-index: 2;
}

/* Свечение строго ПОД предметом — «лужа золотого света», не задевает само фото */
.cert-banner__glow {
    position: absolute;
    left: -25%;
    right: -25%;
    top: 72%;          /* начинается ниже середины фото = под предметом */
    bottom: -35%;      /* далеко выходит за нижний край */
    background:
        radial-gradient(ellipse 55% 100% at center top,
            rgba(255, 205, 125, 0.70) 0%,
            rgba(212, 175, 110, 0.40) 22%,
            rgba(201, 163, 93, 0.18) 45%,
            rgba(201, 163, 93, 0.06) 65%,
            transparent 82%);
    filter: blur(50px);
    z-index: -1;
    animation: certGlow 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes certGlow {
    0%, 100% { opacity: 0.6;  transform: scale(0.92); }
    50%       { opacity: 1;    transform: scale(1.10); }
}

/* Медленное «живое» 3D-вращение — широкий маятник */
.cert-banner__photo img {
    width: 100%; height: 100%;
    object-fit: contain;
    transform-style: preserve-3d;
    backface-visibility: visible;
    animation: certFloat 14s ease-in-out infinite;
    filter:
        drop-shadow(0 30px 50px rgba(255, 200, 120, 0.45))
        drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
    will-change: transform;
}
@keyframes certFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}

/* Блик убран — оставляем только спокойное свечение и вращение */

/* Hover — увеличение + быстрый «перелив» (brightness-flash 1 раз) */
.cert-banner:hover .cert-banner__photo img {
    animation: shimmerFlash 0.8s ease-out 1;
    transform: translateY(-12px) scale(1.07);
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.cert-banner:hover .cert-banner__glow {
    animation-play-state: paused;
    opacity: 1;
    transform: scale(1.18);
    transition: transform 0.7s ease, opacity 0.4s ease;
}

/* Быстрый одноразовый перелив — яркость + насыщенность поднимаются и спадают */
@keyframes shimmerFlash {
    0% {
        filter:
            brightness(1) saturate(1) contrast(1)
            drop-shadow(0 30px 50px rgba(255, 200, 120, 0.45))
            drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
    }
    50% {
        filter:
            brightness(1.55) saturate(1.35) contrast(1.05)
            drop-shadow(0 40px 60px rgba(255, 220, 140, 0.75))
            drop-shadow(0 25px 40px rgba(0, 0, 0, 0.55));
    }
    100% {
        filter:
            brightness(1) saturate(1) contrast(1)
            drop-shadow(0 30px 50px rgba(255, 200, 120, 0.45))
            drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
    }
}

@media (max-width: 1000px) {
    .gift__row { grid-template-columns: 1fr; gap: 24px; }
    .cert-banner,
    .gift-card--shampoo { min-height: auto; }
}
@media (max-width: 600px) {
    .cert-banner { padding: 44px 20px; gap: 24px; }
    .cert-banner__sub { letter-spacing: 0.22em; margin-bottom: 24px; }
    .gift-card--shampoo .gift-card__body { padding: 24px; }
}

/* ============ Шампунь — симметричный блок, парный сертификату ============ */
.cert-banner--shampoo {
    /* наследует все .cert-banner стили (flex column, transparent, 540px min-height) */
}

/* «Новинка» — золотой тег вверху */
.cert-banner__tag,
.news-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 18px;
}

/* Контейнер фото шампуня — вертикальный, под форму бутылочки */
.cert-banner__photo--shampoo {
    aspect-ratio: 4 / 5;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* Бутылочка — плавное покачивание без агрессивной 3D-ротации */
.cert-banner__photo--shampoo img {
    animation: shampooFloat 6.5s ease-in-out infinite;
}
@keyframes shampooFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Hover для шампуня обрабатывается общим правилом .cert-banner:hover (shimmerFlash) */
.gift-card__body { flex: 1; position: relative; }
.gift-card__tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}
.gift-card__title {
    font-family: var(--serif-brand);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.gift-card__text {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

/* ===========  ACADEMY TABS  =========== */
.tabs__nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    padding: 6px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 100px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.tabs__btn {
    flex: 1;
    padding: 13px 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-radius: 100px;
    transition: all var(--transition);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active {
    background: var(--accent);
    color: #0a0a0a;
}
.tabs__panel { display: none; animation: fadeIn 0.4s ease; }
.tabs__panel.is-active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 56px;
}
.tab-content h3 {
    font-family: var(--serif-brand);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
    line-height: 1.2;
}
.tab-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 16px;
}
.checklist {
    list-style: none;
    margin-bottom: 32px;
}
.checklist li {
    padding: 12px 0 12px 28px;
    position: relative;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
    content: '';
    position: absolute;
    left: 0; top: 18px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.tab-content__price {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.price-tag {
    font-family: var(--serif-brand);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
}
.tab-content__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
}
.tab-content__img img { width: 100%; height: 100%; object-fit: cover; }

/* news */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    padding: 36px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.news-card__date {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.news-card__title {
    font-family: var(--serif-brand);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 14px;
}
.news-card__text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.news-card__link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}
.news-card__link:hover { color: var(--accent-hover); }

/* Вкладка «Новости» — пустое состояние */
.news-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 64px 32px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.news-empty svg { color: var(--accent); }
.news-empty h3 {
    font-family: var(--serif-brand);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 500;
    letter-spacing: 0.06em;
}
.news-empty p {
    max-width: 480px;
    color: var(--text-muted);
    font-size: 15px;
}
.news-empty .btn { margin-top: 8px; }

/* ===========  GALLERY (горизонтальная карусель)  =========== */
.gallery {
    padding: 80px 0;
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.gallery__head-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}
.gallery__controls {
    display: flex;
    gap: 12px;
}
.gallery__btn {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    background: transparent;
    transition: all var(--transition);
    cursor: pointer;
}
.gallery__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.gallery__btn:active { transform: translateY(0); }
.gallery__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.gallery__track {
    display: flex;
    gap: 16px;
    padding: 0 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.gallery__item {
    flex: 0 0 auto;
    width: clamp(220px, 22vw, 340px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    scroll-snap-align: start;
    transition: transform 0.4s ease, border-color var(--transition);
}
.gallery__item:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

@media (max-width: 600px) {
    .gallery { padding: 60px 0; }
    .gallery__track { padding: 0 16px; gap: 12px; }
    .gallery__item { width: 72vw; }
    .gallery__btn { width: 42px; height: 42px; }
}

/* ===========  CONTACTS / FORM  =========== */
.contacts { background: var(--bg-2); }
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contacts__info .section__title { text-align: left; }
.contacts__info .section__sub { text-align: left; margin: 0 0 32px 0; max-width: 480px; }

.contacts__list {
    list-style: none;
    margin-top: 16px;
}
.contacts__list li {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.contacts__list li:last-child { border-bottom: 1px solid var(--line); }
.contacts__label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.contacts__list a {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--text);
}
.contacts__list a:hover { color: var(--accent); }

.form {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form__field {
    display: block;
    margin-bottom: 18px;
}
.form__field > span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color var(--transition);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form__field textarea { resize: vertical; }
.form__policy {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}
.form__success {
    display: none;
    margin-top: 18px;
    padding: 16px;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    color: var(--accent);
    text-align: center;
    font-size: 14px;
}
.form__success.is-visible { display: block; }

/* ===========  FOOTER  =========== */
.footer {
    background: var(--bg);
    padding: 90px 0 0;
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 60px;
}

.footer__top-logo { display: inline-flex; margin-bottom: 28px; }
.footer__top-logo .logo__mark { width: 60px; height: 60px; }

.footer__heading {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 22px;
}

.footer__addresses {
    list-style: none;
    margin-bottom: 40px;
}
.footer__addresses li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}
.footer__addresses svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer__nav-title {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.footer__nav-col a {
    display: block;
    padding: 5px 0;
    color: var(--text);
    font-size: 14px;
    opacity: 0.85;
    transition: color var(--transition), opacity var(--transition);
}
.footer__nav-col a:hover { color: var(--accent); opacity: 1; }

/* ===== Right column ===== */
.footer__subscribe {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 22px;
}
.footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 26px;
    margin-bottom: 36px;
}
.footer__socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    transition: color var(--transition);
}
.footer__socials a svg { color: var(--accent); }
.footer__socials a:hover { color: var(--accent); }

.footer__cta {
    display: inline-block;
    margin-bottom: 36px;
    min-width: 220px;
    text-align: center;
}

.footer__phones {
    list-style: none;
    margin-bottom: 18px;
}
.footer__phones li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--text);
}
.footer__phones svg { flex-shrink: 0; color: var(--accent); }
.footer__phones span { color: var(--text-muted); margin-right: 6px; }
.footer__phones a { color: var(--text); }
.footer__phones a:hover { color: var(--accent); }

.footer__email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 16px;
}
.footer__email svg { color: var(--accent); }
.footer__email a:hover { color: var(--accent); }

.footer__hours {
    font-size: 14px;
    color: var(--text-muted);
}
.footer__hours strong { color: var(--accent); font-weight: 600; }

/* ===== Bottom bar ===== */
.footer__bottom {
    padding: 22px 0 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ===== Водяная подложка: лого-карта слева + GEVORRO справа ===== */
.footer__watermark {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(20px, 3vw, 56px);
    padding: 24px clamp(16px, 3vw, 48px) 0 clamp(16px, 3vw, 48px);
    overflow: hidden;
    line-height: 0;
}

/* Логотип-карта слева */
.footer__brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    line-height: 1;
}
.footer__brand-medal {
    width: clamp(64px, 7vw, 120px);
    height: clamp(64px, 7vw, 120px);
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 24px rgba(201, 163, 93, 0.45));
}
.footer__brand-medal img {
    width: 150%;
    height: 150%;
    object-fit: cover;
    display: block;
}
.footer__brand-text {
    text-align: center;
    line-height: 1.3;
}
.footer__brand-name {
    display: block;
    font-family: var(--serif);
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent);
}
.footer__brand-tagline {
    display: block;
    font-family: var(--sans);
    font-size: clamp(8px, 0.55vw, 10px);
    letter-spacing: 0.3em;
    color: var(--accent);
    opacity: 0.85;
    margin-top: 4px;
}

/* Огромная надпись GEVORRO справа */
.footer__watermark-text {
    flex: 1;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(48px, 13vw, 220px);
    line-height: 0.9;
    letter-spacing: 0.005em;
    background: linear-gradient(180deg,
        #e0bb7c 0%,
        #d4ac6a 22%,
        #c9a35d 45%,
        #a08247 78%,
        #7a5f33 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    text-align: left;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
    .footer__grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 600px) {
    .footer { padding: 60px 0 0; }
    .footer__nav { gap: 24px; }
    .footer__socials { gap: 14px 20px; }
    .footer__cta { width: 100%; min-width: 0; }
    .footer__phones li { flex-wrap: wrap; }
    .footer__bottom { justify-content: center; text-align: center; padding: 18px 0 24px; }
    .footer__watermark-inner { gap: 12px; padding: 0 12px; }
}

/* ===========  RESPONSIVE  =========== */
@media (max-width: 1000px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 820px) {
    .header__inner { padding: 0 20px; }
    .header__right .btn--primary {
        padding: 10px 16px;
        font-size: 11px;
    }
    .logo__mark { width: 48px; height: 48px; font-size: 26px; }

    .marquee__track span { font-size: 18px; }

    .section { padding: 80px 0; }

    .gift__row { grid-template-columns: 1fr; }
    .gift-card--with-image { flex-direction: column; padding: 24px; align-items: stretch; }
    .gift-card__photo { width: 100%; aspect-ratio: 16 / 9; }
    .tab-content { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
    .tab-content__img { order: -1; }

    .contacts__inner { grid-template-columns: 1fr; gap: 40px; }

    .team__head-wrap { align-items: flex-start; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }

    /* Филиалы: листающаяся карусель крупными карточками на телефоне */
    .branches__grid { gap: 14px; padding: 6px 0 10px; }
    .branch-card { width: 80vw; }
    .branch-card__body { padding: 18px; }
    .branch-card__title { font-size: 19px; }
    .branch-card__phone { font-size: 17px; }
    .branch-card__actions { flex-direction: column; }

    /* Меньше расстояние между новостями академии и сертификатом */
    .academy { padding-bottom: 32px; }
    .gift { padding-top: 32px; }
    .services__grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .master-card { width: 78vw; }
    .team__track { padding: 0 16px; gap: 14px; }

    .header { padding: 14px 0; }
    .header__inner { padding: 0 16px; gap: 8px; }
    .header__right .btn--primary { display: none; }
    .icon-btn, .burger { width: 42px; height: 42px; }

    .hero { min-height: 440px; }
    .hero__brand { letter-spacing: 0.06em; }
    .marquee { padding: 14px 0; }
    .marquee__track { gap: 22px; }
    .marquee__track span { font-size: 16px; }

    .tabs__nav { flex-direction: column; border-radius: var(--radius-lg); }
    .tabs__btn { flex: none; }

    .form { padding: 26px; }
    .form__row { grid-template-columns: 1fr; }

    .gift-card { flex-direction: column; padding: 28px; }
    .service-group { padding: 26px; }

    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom { justify-content: center; text-align: center; }
}

/* ===========  REVEAL ANIMATION  =========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
