/* ============================================================
   KONSUL — beauty salon theme
   Tokens, base, layout, sections, components
   ============================================================ */

:root {
    --konsul-bg:        #ffffff;
    --konsul-dark:      #000000;
    --konsul-dark-2:    #111111;
    --konsul-ink:       #0a0a0a;
    --konsul-muted:     rgba(0, 0, 0, 0.65);
    --konsul-muted-2:   rgba(0, 0, 0, 0.45);
    --konsul-line:      rgba(0, 0, 0, 0.12);

    --konsul-gold:        #c9a84c;
    --konsul-gold-light:  #e8c96a;
    --konsul-gold-dark:   #8b6914;
    --konsul-gold-tint:   rgba(201, 168, 76, 0.3);
    --konsul-gold-faint:  rgba(201, 168, 76, 0.12);

    --konsul-white-muted: rgba(255, 255, 255, 0.65);
    --konsul-white-faint: rgba(255, 255, 255, 0.4);

    --konsul-gradient: linear-gradient(168deg,
        #8b6914 0%, #c9a84c 25%, #e8c96a 50%, #c9a84c 75%, #8b6914 100%);

    --serif:   'Cormorant Garamond', 'Times New Roman', serif;
    --sans:    'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --footer:  'Jost', 'Montserrat', sans-serif;
    --italic-display: 'Playfair Display', 'Cormorant Garamond', serif;

    --container-pad: clamp(16px, 4vw, 104px);
    --section-pad-y: clamp(36px, 4.5vw, 64px);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & base ===== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--konsul-bg);
    color: var(--konsul-ink);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Lozad.js — мягкое появление при загрузке ===== */
img.lozad,
picture.lozad,
.lozad > img {
    opacity: 0;
    transition: opacity .6s ease;
    background: rgba(0, 0, 0, 0.04);
}

img.lozad.is-loaded,
picture.lozad.is-loaded,
.lozad.is-loaded > img,
img.lozad[data-loaded="true"] { opacity: 1; }

/* Backgrounds (hero, и т.д.) не получают opacity-transition — управляются через .is-active слайда */

a { color: inherit; text-decoration: none; transition: color var(--transition); }

button { font-family: inherit; }

::selection { background: var(--konsul-gold); color: #000; }

/* ===== Container ===== */
.k-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 992px) {
    .k-container { padding-left: 40px; padding-right: 40px; }
}

/* ===== Eyebrow (мини-заголовок с золотой чертой) ===== */
.k-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 11px;
    color: var(--konsul-gold);
    text-transform: uppercase;
    letter-spacing: 0.42em;
    margin: 0;
}

.k-eyebrow::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--konsul-gold-tint);
}

.k-eyebrow--dark::before { background: rgba(255, 255, 255, 0.3); }

/* ===== Section heading (serif) ===== */
.k-h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--konsul-ink);
    margin: 24px 0 0;
}

.k-h2--light { color: #fff; }

.k-h2 .it { font-style: italic; }

/* ===== Gold buttons ===== */
.k-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 10.4px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all var(--transition);
    background-color: transparent;
}

.k-btn--gold {
    color: #000;
    background-image: var(--konsul-gradient);
    background-size: 200% 200%;
    background-position: 0% 0%;
}

.k-btn--gold:hover {
    background-position: 100% 100%;
    transform: translateY(-1px);
    color: #000;
}

.k-btn--outline {
    color: var(--konsul-gold);
    border: 1px solid var(--konsul-gold);
}

.k-btn--outline:hover {
    color: #000;
    background: var(--konsul-gold);
}

.k-btn--outline-dark {
    color: var(--konsul-ink);
    border: 1px solid var(--konsul-gold);
}

.k-btn--outline-dark:hover {
    color: #000;
    background: var(--konsul-gold);
}

.k-btn--lg {
    padding: 18px 32px;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.k-btn--block { width: 100%; }

/* ===== Header / Nav ===== */
.k-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 18px 0;
    transition: background var(--transition), padding var(--transition);
}

.k-header.is-scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.k-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.k-header-logo {
    display: inline-flex;
    align-items: center;
    height: 60px;
    color: #fff;
    flex-shrink: 0;
}

.k-header-logo img,
.k-header-logo svg {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .k-header-logo,
    .k-header-logo img,
    .k-header-logo svg { height: 48px; max-height: 48px; }
}

.k-header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.k-nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.k-nav-link {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 11.2px;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), color var(--transition);
}

.k-nav-link:hover { color: var(--konsul-gold); border-color: var(--konsul-gold); }

.k-header .k-btn--outline {
    padding: 10px 20px;
    font-size: 10.4px;
}

.k-burger {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.k-burger span {
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transition: transform var(--transition), opacity var(--transition);
}

.k-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.k-burger.is-open span:nth-child(2) { opacity: 0; }
.k-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .k-burger { display: inline-flex; }
    .k-header-nav { display: none; }
}

/* ===== Header phone (desktop) + mobile drawer phone ===== */
.k-header-phone,
.k-mobnav-phone {
    --phone-accent: #3FBC8B;          /* «выделяющаяся» трубка — мятно-зелёный */
    --phone-accent-soft: rgba(63, 188, 139, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #fff;
    transition: color var(--transition);
}

.k-header-phone:hover,
.k-mobnav-phone:hover { color: var(--phone-accent); }

.k-header-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--phone-accent);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 0 0 0 var(--phone-accent-soft);
    animation: kPhonePulse 2.2s ease-out infinite;
}

@keyframes kPhonePulse {
    0%   { box-shadow: 0 0 0 0 rgba(63, 188, 139, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(63, 188, 139, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 188, 139, 0); }
}

.k-header.is-scrolled .k-header-phone { color: #fff; }
.k-header.is-scrolled .k-header-phone:hover { color: var(--konsul-gold); }

.k-mobnav-phone {
    display: flex;
    justify-content: center;
    padding: 14px 0;
    margin: 16px 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 0.06em;
}

/* ===== FAB — плавающая кнопка-звонилка в правом нижнем углу ===== */
.k-fab-call {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(168deg, #8b6914 0%, var(--konsul-gold) 35%, var(--konsul-gold-light) 55%, var(--konsul-gold) 75%, #8b6914 100%);
    color: #0a0a0a;
    font-size: 24px;
    text-decoration: none;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.35),
        0 0 0 0 var(--konsul-gold-tint);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: kFabPulse 2.4s ease-out infinite;
}

.k-fab-call:hover {
    transform: translateY(-3px) scale(1.05);
    color: #0a0a0a;
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.45),
        0 0 0 6px rgba(201, 168, 76, 0.18);
}

.k-fab-call:active { transform: translateY(-1px) scale(1.02); }

@keyframes kFabPulse {
    0%   { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 0   rgba(201, 168, 76, 0.55); }
    70%  { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(201, 168, 76, 0); }
    100% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 0   rgba(201, 168, 76, 0); }
}

@media (max-width: 575.98px) {
    .k-fab-call { width: 54px; height: 54px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .k-fab-call { animation: none; }
}

/* Mobile drawer */
.k-mobnav {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 88vw);
    height: 100dvh;
    background: var(--konsul-dark);
    z-index: 100;
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 28px 28px 32px;
    overflow-y: auto;
    border-left: 1px solid rgba(201, 168, 76, 0.3);
}

.k-mobnav.is-open { transform: translateX(0); }

.k-mobnav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
}

.k-mobnav-close {
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.k-mobnav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.k-mobnav-list a {
    display: block;
    padding: 12px 0;
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.k-mobnav-list a:hover { color: var(--konsul-gold); }

.k-mobnav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.k-mobnav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* ===== HERO ===== */
.k-hero {
    position: relative;
    color: #fff;
    background: var(--konsul-dark);
    overflow: hidden;
}

/* ===== Hero с фоновым видео (единый экран) ===== */
.k-hero--video {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 90px;
}

.k-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.k-hero-splide,
.k-hero-splide .splide__track,
.k-hero-splide .splide__list {
    height: 100%;
    width: 100%;
}

.k-hero-slide {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background-size: cover;
    background-position: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 140px 0 90px;
    overflow: hidden;
}

.k-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,.45) 0%,
        rgba(0,0,0,.35) 50%,
        rgba(0,0,0,.55) 100%);
    z-index: 1;
}

.k-hero-side {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(201, 168, 76, 0.15);
    z-index: 5;
    pointer-events: none;
}

.k-hero-side--l { left: clamp(16px, 8%, 116px); }
.k-hero-side--r { right: clamp(16px, 8%, 116px); }

.k-hero-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    text-shadow: 0 2px 24px rgba(0,0,0,.45);
}

/* Subtle entrance for active slide content */
.k-hero-slide .k-hero-eyebrow,
.k-hero-slide .k-hero-title,
.k-hero-slide .k-hero-divider,
.k-hero-slide .k-hero-sub,
.k-hero-slide .k-hero-btns {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .9s ease, transform .9s ease;
}

.k-hero-splide .splide__slide.is-active .k-hero-eyebrow { opacity: 1; transform: none; transition-delay: .15s; }
.k-hero-splide .splide__slide.is-active .k-hero-title   { opacity: 1; transform: none; transition-delay: .3s; }
.k-hero-splide .splide__slide.is-active .k-hero-divider { opacity: .5; transform: none; transition-delay: .55s; }
.k-hero-splide .splide__slide.is-active .k-hero-sub     { opacity: 1; transform: none; transition-delay: .65s; }
.k-hero-splide .splide__slide.is-active .k-hero-btns    { opacity: 1; transform: none; transition-delay: .8s; }

.k-hero-eyebrow {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    color: var(--konsul-gold);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.k-hero-eyebrow::after {
    content: "";
    width: 60px;
    height: 1px;
    background: var(--konsul-gold-light);
    order: -1;
}

.k-hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(60px, 10vw, 128px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 36px 0 0;
}

.k-hero-title .it {
    font-style: italic;
    display: block;
}

.k-hero-divider {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin: 40px auto;
}

.k-hero-sub {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14.5px;
    line-height: 1.8;
    letter-spacing: 0.06em;
    max-width: 580px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

.k-hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
}

.k-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 6;
}

.k-hero-dots span {
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    width: 8px;
    cursor: pointer;
    transition: width .35s ease, background .35s ease;
}

.k-hero-dots span:hover { background: rgba(255, 255, 255, 0.7); }

.k-hero-dots span.is-active {
    background: var(--konsul-gold);
    width: 32px;
}

@media (max-width: 575.98px) {
    .k-hero-slide { padding: 110px 0 90px; }
    .k-hero--video { padding: 110px 0 90px; }
    .k-hero-btns .k-btn { width: 100%; max-width: 320px; }
    .k-hero-side { display: none; }
}

/* ===== ABOUT SECTION ===== */
.k-about {
    background: #fff;
    padding: var(--section-pad-y) 0;
}

.k-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.k-about-text .k-h2 { margin-top: 32px; max-width: 360px; }

.k-about-divider {
    width: 60px;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    margin: 40px 0 24px;
}

.k-about-text p {
    color: var(--konsul-muted);
    font-weight: 500;
    font-size: 14.4px;
    line-height: 1.85;
    margin: 0 0 24px;
    max-width: 540px;
}

.k-about-text .k-btn { margin-top: 16px; }

.k-about-img {
    position: relative;
    aspect-ratio: 0.94;
    overflow: hidden;
}

.k-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.k-about-img:hover img { transform: scale(1.04); }

.k-about-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 28px;
}

@media (max-width: 991.98px) {
    .k-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .k-about-img { aspect-ratio: 4 / 3; }
}

/* ===== SERVICES SECTION — image (Fancybox) + content slider ===== */
.k-services {
    background: var(--konsul-dark);
    color: #fff;
    padding: var(--section-pad-y) 0;
}

.k-services-grid {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 420px);
    gap: 36px;
    align-items: start;
}

/* ---- Left: image stack (1×1 grid, slides crossfade) ---- */
.k-services-image {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    /* aspect-ratio: 3 / 4; */
    background: var(--konsul-dark-2);
    border: 1px solid rgba(201, 168, 76, 0.22);
    overflow: hidden;
    isolation: isolate; /* keep z-index stack local */
}

.k-services-image-slide {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--konsul-gold);
    opacity: 0;
    transform: scale(1.04);
    filter: blur(2px);
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity   .65s cubic-bezier(0.22, 1, 0.36, 1),
        transform .65s cubic-bezier(0.22, 1, 0.36, 1),
        filter    .65s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear .65s;
}

.k-services-image-slide.is-active {
    opacity: 1;
    transform: none;
    filter: blur(0);
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
    transition:
        opacity   .65s cubic-bezier(0.22, 1, 0.36, 1),
        transform .65s cubic-bezier(0.22, 1, 0.36, 1),
        filter    .65s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
}

.k-services-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.k-services-image-slide.is-active:hover img { transform: scale(1.04); }

/* ---- Right: image (Fancybox) + CTA below ---- */
.k-services-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.k-services-cta { flex-shrink: 0; }

/* ---- Left: content stack + pager (under content) ---- */
.k-services-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 16px 0;
    min-height: 100%;
}

.k-services-side-top {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.k-services-side .k-eyebrow { color: var(--konsul-gold); }
.k-services-side .k-eyebrow::before { background: var(--konsul-gold-tint); }

.k-services-content {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

.k-services-content-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity    .7s cubic-bezier(0.22, 1, 0.36, 1),
        transform  .7s cubic-bezier(0.22, 1, 0.36, 1),
        filter     .7s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear .7s;
}

.k-services-content-slide.is-active {
    opacity: 1;
    transform: none;
    filter: blur(0);
    pointer-events: auto;
    visibility: visible;
    transition:
        opacity    .7s cubic-bezier(0.22, 1, 0.36, 1),
        transform  .7s cubic-bezier(0.22, 1, 0.36, 1),
        filter     .7s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
    transition-delay: .1s, .1s, .1s, 0s;
}

/* Per-child stagger inside the active content slide */
.k-services-content-slide h3,
.k-services-content-slide hr,
.k-services-content-slide .k-services-desc,
.k-services-content-slide .k-services-masters {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .65s ease, transform .65s ease;
}

.k-services-content-slide.is-active h3                  { opacity: 1; transform: none; transition-delay: .15s; }
.k-services-content-slide.is-active hr                  { opacity: 1; transform: none; transition-delay: .25s; }
.k-services-content-slide.is-active .k-services-desc    { opacity: 1; transform: none; transition-delay: .32s; }
.k-services-content-slide.is-active .k-services-masters { opacity: 1; transform: none; transition-delay: .42s; }

.k-services-content-slide h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 4.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
}

.k-services-content-slide hr {
    border: 0;
    width: 48px;
    height: 1px;
    background: rgba(201, 168, 76, 0.45);
    margin: 24px 0 0;
}

.k-services-desc {
    margin: 24px 0 0;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
}

.k-services-masters {
    margin: 20px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border: 1px solid rgba(201, 168, 76, 0.45);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--konsul-gold);
    background: rgba(201, 168, 76, 0.05);
}

.k-services-masters i { font-size: 14px; }

/* ---- Pager (arrows + counter) — sits at bottom of left side ---- */
.k-services-pager {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.k-services-pager-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--konsul-gold);
    background: transparent;
    color: var(--konsul-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition);
}

.k-services-pager-btn:hover {
    background: var(--konsul-gold);
    color: #000;
}

.k-services-pager-count {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 17px;
    color: rgba(201, 168, 76, 0.55);
    margin-left: 8px;
    font-variant-numeric: tabular-nums;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    /* Switch grid → flex column, flatten side/right via display:contents
       so we can reorder children freely.
       Mobile order: content → image → CTA → pager. */
    .k-services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .k-services-side,
    .k-services-right { display: contents; }

    .k-services-side-top {
        order: 1;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 540px;
    }
    .k-services-image {
        order: 2;
        width: 100%;
        max-width: 420px;
    }
    .k-services-cta {
        order: 3;
        width: 100%;
        max-width: 360px;
    }
    .k-services-pager {
        order: 4;
        align-self: center;
        margin-top: 8px;
    }

    .k-services-content-slide h3 { font-size: clamp(32px, 7vw, 44px); }
    .k-services-content-slide hr { margin-left: auto; margin-right: auto; }
    .k-services-desc { margin-left: auto; margin-right: auto; }
    .k-services-masters { margin-left: auto; margin-right: auto; }
}

@media (max-width: 575.98px) {
    /* .k-services-image { aspect-ratio: 9 / 13; } */
    .k-services-grid { gap: 28px; }
}

/* ===== REVIEWS SECTION ===== */
.k-reviews {
    background: #fff;
    padding: var(--section-pad-y) 0;
    position: relative;
}

.k-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.k-reviews-splide .splide__slide { display: flex; }
.k-reviews-splide .splide__list  { align-items: stretch; }

.k-review-card {
    width: 100%;
    padding: 40px;
    min-height: 408px;
    border: 1px solid rgba(201, 168, 76, 0.62);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    margin-left: -1px;
    transition: background var(--transition);
}

.k-review-card.is-hl { background: rgba(201, 168, 76, 0.04); }

.k-review-quote {
    width: 24px;
    height: 24px;
    color: var(--konsul-gold);
    margin-bottom: 24px;
}

.k-review-text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 17.2px;
    line-height: 1.85;
    color: rgba(0, 0, 0, 0.88);
    margin: 0 0 32px;
}

.k-review-sep {
    width: 30px;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.k-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.k-review-avatar {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 17.6px;
    color: var(--konsul-gold);
}

.k-review-name {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12px;
    color: var(--konsul-ink);
    margin: 0;
}

.k-review-meta {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.k-pager-buttons {
    display: flex;
    gap: 12px;
}

.k-pager-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--konsul-gold);
    background: transparent;
    color: var(--konsul-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.k-pager-btn:hover { background: var(--konsul-gold); color: #000; }

/* ===== Splide overrides: pagination dots styled to match design ===== */
.k-splide-pagination {
    position: static;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
}

.k-splide-pagination li {
    line-height: 0;
}

.k-splide-page,
.splide__pagination__page.k-splide-page {
    display: block;
    width: 8px;
    height: 2px;
    background: rgba(0, 0, 0, 0.25);
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transition: width .35s ease, background .35s ease;
    cursor: pointer;
}

.k-splide-page:hover { background: rgba(0, 0, 0, 0.55); }

.splide__pagination__page.is-active.k-splide-page {
    width: 28px;
    background: var(--konsul-gold);
    transform: none;
}

.k-splide-pagination--light .k-splide-page { background: rgba(255, 255, 255, 0.2); }
.k-splide-pagination--light .k-splide-page:hover { background: rgba(255, 255, 255, 0.5); }
.k-splide-pagination--light .splide__pagination__page.is-active.k-splide-page { background: var(--konsul-gold); }

/* Splide global resets */
.splide__slide { box-sizing: border-box; }
.splide__list { padding: 0; margin: 0; list-style: none; }
.splide:focus-visible { outline: 0; }

@media (max-width: 991.98px) {
    .k-review-card { min-height: auto; margin-left: 0; padding: 32px 24px; }
}

/* ===== GALLERY SECTION ===== */
.k-gallery {
    background: var(--konsul-dark);
    padding: var(--section-pad-y) 0;
}

.k-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.k-gallery-item {
    aspect-ratio: 5 / 6;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.k-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: var(--konsul-gold);
}

.k-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.k-gallery-item:hover img { transform: scale(1.06); }

/* Hover overlay with zoom icon */
.k-gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.45) 100%);
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}

.k-gallery-zoom::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    transform: scale(1.04);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}

.k-gallery-zoom i {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    border: 1px solid var(--konsul-gold);
    color: var(--konsul-gold);
    background: rgba(0, 0, 0, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: scale(0.85);
    transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), background .35s ease;
}

.k-gallery-link:hover .k-gallery-zoom,
.k-gallery-link:focus-visible .k-gallery-zoom { opacity: 1; }
.k-gallery-link:hover .k-gallery-zoom::before,
.k-gallery-link:focus-visible .k-gallery-zoom::before { transform: scale(1); }
.k-gallery-link:hover .k-gallery-zoom i,
.k-gallery-link:focus-visible .k-gallery-zoom i {
    transform: scale(1);
    background: var(--konsul-gold);
    color: #000;
}

.k-gallery-splide .splide__slide { display: flex; }

/* ===== CONTACT / BOOK SECTION ===== */
.k-contact {
    background: #fff;
    padding: var(--section-pad-y) 0;
}

.k-contact-head { margin-bottom: 24px; }

.k-contact-head .k-h2 .it { display: block; }

.k-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Form */
.k-form {
    border: 1px solid rgba(201, 168, 76, 0.42);
}

.k-field {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.k-field:last-of-type { border-bottom: 0; }

.k-field label {
    display: block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.k-field input,
.k-field textarea {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 4px 0;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 19px;
    color: var(--konsul-ink);
}

.k-field input:focus,
.k-field textarea:focus {
    outline: 0;
    border-bottom: 1px solid var(--konsul-gold);
}

.k-field input::placeholder,
.k-field textarea::placeholder { color: rgba(0,0,0,0.5); }

.k-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.k-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: transparent;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.85);
    text-transform: uppercase;
    transition: all var(--transition);
}

.k-chip.is-active,
.k-chip:hover {
    background: var(--konsul-gold);
    color: #000;
    border-color: var(--konsul-gold);
}

.k-form-foot {
    padding: 20px 28px 24px;
    border-top: 1px solid rgba(201, 168, 76, 0.12);
}

/* ===== Consent checkbox (152-ФЗ) — bid form + review form ===== */
.k-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 28px 18px;
    cursor: pointer;
    user-select: none;
}
/* В контактной форме чекбокс выравниваем по левому краю кнопки (28px) */
.k-contact .k-consent { padding: 8px 28px 0; }

.k-consent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.k-consent-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid rgba(201, 168, 76, 0.55);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 14px;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.k-consent-box i { opacity: 0; transform: scale(0.5); transition: opacity .18s ease, transform .18s ease; }

.k-consent input[type="checkbox"]:checked ~ .k-consent-box {
    background: var(--konsul-gold);
    border-color: var(--konsul-gold);
}

.k-consent input[type="checkbox"]:checked ~ .k-consent-box i {
    opacity: 1;
    transform: scale(1);
}

.k-consent input[type="checkbox"]:focus-visible ~ .k-consent-box {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.35);
}

.k-consent-text {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.72);
}

.k-consent-text a {
    color: var(--konsul-gold);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.k-consent-text a:hover { color: var(--konsul-gold-light); }

/* error state: пользователь не отметил галочку */
.k-consent.is-invalid .k-consent-box {
    border-color: #e26a6a;
    box-shadow: 0 0 0 3px rgba(226, 106, 106, 0.18);
    animation: kConsentShake 0.45s ease-in-out;
}

@keyframes kConsentShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* Contact info card */
.k-contact-image {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    margin-bottom: 0;
}

.k-info {
    border: 1px solid rgba(201, 168, 76, 0.42);
    font-style: normal; /* reset default <address> italic */
}

.k-info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.42);
}

.k-info-row:last-child { border-bottom: 0; }

.k-info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--konsul-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.k-info-label {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 6px;
}

.k-info-value {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 19px;
    color: var(--konsul-ink);
    margin: 0;
}

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

.k-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 10px 22px;
    border: 1px solid var(--konsul-gold);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--konsul-ink);
    text-transform: uppercase;
    transition: all var(--transition);
}

.k-social:hover { background: var(--konsul-gold); color: #000; }

@media (max-width: 991.98px) {
    .k-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== FOOTER ===== */
.k-footer {
    background: var(--konsul-dark);
    color: #fff;
    padding: 48px 0 32px;
    font-family: var(--footer);
}

.k-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.k-footer-logo {
    color: #fff;
    display: inline-flex;
    align-items: center;
    height: 56px;
}

.k-footer-logo img,
.k-footer-logo svg { max-height: 56px; width: auto; }

.k-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.k-footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.k-footer-nav a {
    font-family: var(--footer);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.k-footer-nav a:hover { color: var(--konsul-gold); }

.k-footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.k-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid rgba(201, 168, 76, 0.6);
    font-family: var(--footer);
    font-weight: 600;
    font-size: 10.5px;
    letter-spacing: 0.15em;
    color: var(--konsul-gold);
    text-transform: uppercase;
}

.k-footer-social a:hover { background: var(--konsul-gold); color: #000; border-color: var(--konsul-gold); }

.k-footer-copy {
    font-family: var(--footer);
    font-weight: 500;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.5);
}

.k-footer-map {
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.k-footer-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.k-footer-mid {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 32px;
    text-align: center;
}

.k-footer-mid p {
    font-family: var(--italic-display);
    font-style: italic;
    font-size: 14.4px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
}

.k-footer-bot {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 24px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.k-footer-bot a {
    font-family: var(--footer);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
}

.k-footer-bot a:hover { color: var(--konsul-gold); }

.k-footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--footer);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767.98px) {
    .k-footer-top { flex-direction: column; align-items: center; text-align: center; }
}

/* ===== Form status + loader button ===== */
.k-form-status {
    margin-top: 12px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    line-height: 1.55;
    min-height: 1.4em;
    color: var(--konsul-muted);
}

.k-form-status.is-ok {
    color: #2f7a4d;
    background: rgba(47, 122, 77, 0.08);
    border-left: 2px solid #2f7a4d;
    padding: 10px 12px;
}

.k-form-status.is-error {
    color: #a02828;
    background: rgba(160, 40, 40, 0.08);
    border-left: 2px solid #a02828;
    padding: 10px 12px;
}

.k-btn .k-btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: kSpin .8s linear infinite;
    vertical-align: middle;
}

.k-btn.is-loading { cursor: progress; opacity: 0.75; }
.k-btn.is-loading .k-btn-label { opacity: 0.5; }
.k-btn.is-loading .k-btn-loader { display: inline-block; }
.k-btn[disabled] { cursor: not-allowed; }

@keyframes kSpin { to { transform: rotate(360deg); } }

/* ===== Star rating ===== */
.k-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
    margin-top: 4px;
}

.k-rating input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.k-rating label {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.18);
    font-size: 24px;
    line-height: 1;
    margin: 0;
    transition: color .2s ease, transform .2s ease;
}

.k-rating label:hover,
.k-rating label:hover ~ label,
.k-rating input:checked ~ label {
    color: var(--konsul-gold);
}

.k-rating label:hover { transform: scale(1.1); }

.k-rating input:focus-visible + label {
    outline: 2px solid var(--konsul-gold);
    outline-offset: 3px;
}

/* ===== Modal (review form) ===== */
.k-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.k-modal[hidden] { display: none !important; }
.k-modal.is-open { opacity: 1; }

.k-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.k-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    background: #fff;
    padding: 48px 40px 32px;
    overflow-y: auto;
    border: 1px solid rgba(201, 168, 76, 0.4);
    transform: translateY(20px) scale(0.98);
    transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.k-modal.is-open .k-modal-dialog { transform: none; }

.k-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--konsul-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
}

.k-modal-close:hover {
    background: var(--konsul-gold);
    color: #000;
    border-color: var(--konsul-gold);
}

.k-modal-head { margin-bottom: 28px; }
.k-modal-head .k-h2 { margin-top: 12px; }
.k-modal-head .k-h2 .it { font-style: italic; }

.k-modal-lead {
    margin: 14px 0 0;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--konsul-muted);
}

@media (max-width: 575.98px) {
    .k-modal-dialog { padding: 40px 24px 24px; }
}

/* ===== Reviews head actions (button + pager) ===== */
.k-reviews-head-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Accessibility: visually-hidden (sr-only) ===== */
.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focusable variant (e.g. skip links): becomes visible on keyboard focus */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip-link: hidden by default, visible on Tab focus */
.k-skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--konsul-gold);
    color: #000;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(-200%);
    transition: transform .25s ease;
}

.k-skip-link:focus,
.k-skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid #fff;
    outline-offset: 2px;
    color: #000;
}

/* ===== WOW base ===== */
.wow { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
    .wow { visibility: visible !important; animation: none !important; }
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ===== Fancybox v5 — gold/black theme ===== */
.fancybox__container {
    --f-button-color:        rgba(255, 255, 255, 0.85);
    --f-button-hover-color:  var(--konsul-gold);
    --f-button-bg:           rgba(0, 0, 0, 0.6);
    --f-button-hover-bg:     rgba(0, 0, 0, 0.85);
    --f-button-active-bg:    rgba(0, 0, 0, 0.95);
    --f-button-active-color: var(--konsul-gold);
    --f-button-border:       1px solid rgba(201, 168, 76, 0.35);
    --f-button-svg-width:    16px;
    --f-button-svg-height:   16px;
    --f-progress-color:      var(--konsul-gold);
    --f-thumb-border-color:  var(--konsul-gold);
    --f-thumb-outline-color: var(--konsul-gold);
    --f-thumb-opacity:       0.55;
    --f-thumb-hover-opacity: 1;
    --f-thumb-selected-opacity: 1;
    --f-thumb-border-radius: 0;
    --f-thumb-extra-gap:     4px;
    color: #fff;
    font-family: var(--sans);
}

.fancybox__backdrop { background: rgba(0, 0, 0, 0.92); }

.fancybox__caption {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

.fancybox__infobar {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--konsul-gold);
}

.f-carousel__nav .f-button {
    width: 48px;
    height: 48px;
    border-radius: 0;
    border: 1px solid rgba(201, 168, 76, 0.5);
    background: rgba(0, 0, 0, 0.6);
    color: var(--konsul-gold);
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.f-carousel__nav .f-button:hover {
    background: var(--konsul-gold);
    color: #000;
    border-color: var(--konsul-gold);
}

.f-carousel__nav .f-button i { font-size: 18px; line-height: 1; }

.fancybox__toolbar .f-button {
    border-radius: 0;
    border: 1px solid rgba(201, 168, 76, 0.25);
}

.fancybox__toolbar .f-button:hover {
    border-color: var(--konsul-gold);
}

.fancybox__thumbs .f-thumbs__slide__button {
    border-radius: 0;
}

/* ===== Team / Сотрудники ===== */
.k-team {
    background: #fff;
    padding: var(--section-pad-y) 0;
}

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

.k-team-lead {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--konsul-muted);
    max-width: 620px;
    margin: 20px 0 0;
}

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

/* Команда как слайдер */
.k-team-splide .splide__slide { height: auto; }
.k-team-splide .k-team-card { height: 100%; }

.k-team-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--konsul-line);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.k-team-card:hover {
    transform: translateY(-4px);
    border-color: var(--konsul-gold-tint);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.k-team-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--konsul-gold-faint);
}

.k-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.k-team-card:hover .k-team-photo img { transform: scale(1.05); }

.k-team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--serif);
    font-size: 64px;
    color: var(--konsul-gold);
}

.k-team-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 22px;
}

.k-team-name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.15;
    color: var(--konsul-ink);
    margin: 0;
}

.k-team-role {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--konsul-gold);
    margin: 10px 0 0;
}

@media (max-width: 992px) {
    .k-team-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 480px) {
    .k-team-grid { grid-template-columns: 1fr; }
}

.fancybox__thumbs .f-thumbs__slide.is-nav-selected .f-thumbs__slide__button::after {
    border-color: var(--konsul-gold);
}


.k-mobnav-social {
    display: flex;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    padding: 14px 0px;
}

/* ===== Cookie banner ===== */
.k-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid var(--konsul-line);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.k-cookie.is-visible {
    transform: translateY(0);
}

.k-cookie__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.k-cookie__text {
    color: var(--konsul-muted);
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
    flex: 1 1 300px;
}

.k-cookie__text strong {
    color: var(--konsul-ink);
    font-weight: 600;
}

.k-cookie__link {
    color: var(--konsul-gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.k-cookie__link:hover {
    opacity: 0.75;
    color: var(--konsul-gold-dark);
}

.k-cookie__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.k-cookie__decline {
    background: none;
    border: none;
    color: var(--konsul-muted-2);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.25s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.k-cookie__decline:hover {
    color: var(--konsul-ink);
}

@media (max-width: 576px) {
    .k-cookie__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .k-cookie__actions {
        width: 100%;
    }

    .k-cookie .k-btn {
        flex: 1;
    }
}