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

:root {
    /* Warm Light / Beige theme */
    --color-bg: #F9F8F6;
    --color-bg-secondary: #EBE7E0;
    --color-bg-card: #FFFFFF;
    --color-gold: #c9a84c;
    --color-gold-light: #e0c068;
    --color-gold-dark: #a88a3a;
    --color-text: #1A1A1A;
    --color-text-secondary: #4A4A4A;
    --color-text-muted: #595959;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-glass: rgba(249, 248, 246, 0.85);
    --color-glass-border: rgba(201, 168, 76, 0.25);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 10px 40px rgba(201, 168, 76, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #B8860B;
    margin-bottom: 16px;
}

.section-label:empty {
    display: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.text-accent {
    color: #B8860B;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-description {
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 60px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A227 50%, #FBE794 100%);
    background-size: 200% 200%;
    color: #1A1A1A;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn--primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn--outline {
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #C9A227;
    background: transparent;
}

.btn--outline:hover {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-2px);
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

/* Header over hero: логотип в 1.5 раза больше (60px), при скролле — 48px */
.header .header__logo-img {
    height: 81px;
    filter: brightness(0) invert(1);
}
.header .header__nav-list {
    gap: 44px;
}
.header .header__nav-link {
    color: #ffffff;
    font-weight: 500;
}
.header .header__nav-link::after {
    left: 50%;
    width: 0;
    transform: translateX(-50%);
    background: #E3C08D;
    height: 1px;
    transition: width var(--transition-base);
}
.header .header__nav-link:hover::after {
    width: 100%;
}
.header .header__nav-link:hover {
    color: #ffffff;
}
.header .header__cta {
    background: transparent;
    color: #ffffff;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
}
.header .header__cta:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}
.header .header__burger span {
    background: #ffffff;
}

.header--scrolled {
    padding: 12px 0;
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}
.header--scrolled .header__logo-img {
    filter: none;
    height: 48px;
}
.header--scrolled .header__nav-list {
    gap: 36px;
}
.header--scrolled .header__nav-link {
    color: var(--color-text-secondary);
    font-weight: 600;
}
.header--scrolled .header__nav-link:hover {
    color: var(--color-gold);
}
.header--scrolled .header__nav-link::after {
    left: 0;
    transform: none;
    background: var(--color-gold);
}
.header--scrolled .header__cta {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #1A1A1A;
    border: none;
}
.header--scrolled .header__cta:hover {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #1A1A1A;
}
.header--scrolled .header__burger span {
    background: var(--color-text);
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.lang-switch__sep {
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.header--scrolled .lang-switch__sep {
    color: var(--color-text-muted);
}

.lang-switch__btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 2px 4px;
    transition: color var(--transition-base);
}

.lang-switch__btn:hover {
    color: #ffffff;
}

.header--scrolled .lang-switch__btn {
    color: var(--color-text-muted);
}

.header--scrolled .lang-switch__btn:hover {
    color: var(--color-text);
}

.lang-switch__btn--active {
    color: #ffffff;
    font-weight: 600;
}

.header--scrolled .lang-switch__btn--active {
    color: var(--color-text);
}

.lang-switch--mobile {
    display: none;
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header__logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition-base);
}

.header__logo:hover .header__logo-img {
    opacity: 0.85;
}

/* Нав по центру экрана (50vw), не плывёт при разной длине контента */
.header__nav {
    position: absolute;
    left: 50vw;
    transform: translateX(-50%);
    white-space: nowrap;
}

.header__nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__nav-list {
    display: flex;
    gap: 36px;
}

.header__nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-base);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.header__nav-link:hover {
    color: var(--color-gold);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__cta {
    padding: 10px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: 60px;
    transition: all var(--transition-base);
}

.header__cta:hover {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
    transform: translateY(-1px);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    z-index: 1001;
    padding: 4px 0;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.header__burger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.header__burger--active span:nth-child(2) {
    opacity: 0;
}

.header__burger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* Центр по viewport (50vw) — одинаково для CZ, DE, EN, не зависит от ширины текста */
.hero__content {
    position: absolute;
    left: 50vw;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 880px;
    min-width: 0;
    padding: 0 24px;
    text-align: center;
    box-sizing: border-box;
}

.hero__subtitle {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 1px #000;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__title {
    display: block;
    width: 100%;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.1;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 5px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeUp 0.8s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Всегда 2 строки, без лишнего зазора между ними */
.hero__title > span,
.hero__title-accent {
    display: block;
    white-space: nowrap;
    line-height: 1;
}
.hero__title-accent {
    margin-top: -0.08em;
    color: #E3C08D;
    text-shadow: 0 0 30px rgba(227, 192, 141, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero__description {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #D1D1D1;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 1px #000;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    opacity: 0;
    animation: fadeUp 0.8s 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Одинаковая ширина кнопок на всех языках — по центру и линия снизу стабильно */
.hero__content .btn {
    min-width: 220px;
    padding: 16px 32px;
    font-size: 0.9rem;
    justify-content: center;
}
.hero__content .btn--primary {
    background: #E3C08D;
    color: #000000;
    box-shadow: 0 15px 30px rgba(227, 192, 141, 0.2);
}
.hero__content .btn--primary:hover {
    background: #e8c896;
    box-shadow: 0 18px 36px rgba(227, 192, 141, 0.35);
    transform: translateY(-2px);
}

.hero__content .btn--outline {
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
}
.hero__content .btn--outline:hover {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

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

/* Полоска и текст «Scroll» по центру viewport (50vw) — как и контент выше, на всех языках */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50vw;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 1px;
    min-width: 1px;
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

.hero__scroll span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    margin-top: 12px;
    width: max-content;
    white-space: nowrap;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.hero__scroll::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -0.5px;
    margin-bottom: 12px;
    width: 1px;
    height: 80px;
    background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.25) 30%, #E3C08D 90%);
    pointer-events: none;
}

.about {
    padding: 140px 0;
    background: var(--color-bg);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about__image-wrapper:hover img {
    transform: scale(1.05);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    opacity: 0.4;
    z-index: -1;
}

.about__experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.about__experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #B8860B;
    line-height: 1;
}

.about__experience-text {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.about__image {
    position: relative;
}

.about__text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 32px 0 40px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.about__feature svg {
    color: #B8860B;
    flex-shrink: 0;
}

.stats {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.stats__bg {
    position: absolute;
    inset: 0;
}

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

.stats__overlay {
    position: absolute;
    inset: 0;
    background: rgba(249, 248, 246, 0.82);
}

.stats__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stats__item {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-md);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.stats__item:hover {
    border-color: var(--color-glass-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stats__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #B8860B;
    line-height: 1;
}

.stats__plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #B8860B;
    margin-left: 2px;
}

.stats__item--no-plus .stats__plus {
    display: none;
}

.stats__label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.services {
    padding: 140px 0;
    background: var(--color-bg-secondary);
}

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

.services__card {
    padding: 40px 32px;
    border-radius: var(--radius-md);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.services__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--color-gold), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.services__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    background: #FFFFFF;
}

.services__card:hover::before {
    opacity: 1;
}

.services__card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.12);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: #B8860B;
    transition: all var(--transition-base);
}

.services__card:hover .services__card-icon {
    background: rgba(184, 134, 11, 0.18);
    transform: scale(1.05);
}

.services__card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.services__card-text {
    font-size: 0.9rem;
    color: #4A4A4A;
    line-height: 1.7;
}

.divider {
    position: relative;
    padding: 200px 0;
    overflow: hidden;
}

.divider__bg {
    position: absolute;
    inset: 0;
}

.divider__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.divider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--color-bg) 0%,
        rgba(249, 248, 246, 0.6) 30%,
        rgba(235, 231, 224, 0.6) 70%,
        var(--color-bg-secondary) 100%
    );
}

.divider__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #B8860B;
    margin-bottom: 20px;
}

.divider__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

.gallery {
    padding: 140px 0;
    background: var(--color-bg-secondary);
}

.gallery__row {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-top: 48px;
}

.gallery__carousel-wrap {
    flex: 1;
    min-width: 0;
}

.gallery__video-wrap {
    flex-shrink: 0;
    width: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #1a1a1a;
}

.gallery__video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.gallery__carousel {
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.gallery__track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 8px 0;
    will-change: transform;
}

.gallery__track--2 {
    direction: rtl;
}

.gallery__track--2 .gallery__slide {
    direction: ltr;
}

.gallery__slide {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: visible;
    cursor: pointer;
    background: var(--color-border);
    transition: transform 0.25s ease;
    transform-origin: center center;
    position: relative;
    z-index: 0;
}

.gallery__slide:hover {
    transform: scale(1.1);
    z-index: 1;
}

.gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox--open {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: 0.9;
}

.lightbox__close:hover {
    opacity: 1;
}

.lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.projects {
    padding: 100px 0;
    background: var(--color-bg);
}

.projects__list {
    list-style: none;
    max-width: 720px;
    margin: 0 auto;
}

.projects__item {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.5;
}

.projects__item:last-child {
    border-bottom: none;
}

.section-header--sub {
    margin-top: 56px;
    margin-bottom: 24px;
}

.projects__list--personal {
    margin-top: 0;
}

.team {
    padding: 140px 0;
    background: #252422;
}

.team .section-label,
.team .section-title,
.team .text-accent {
    color: #ffffff;
}

.team .text-accent {
    color: #E3C08D;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.team__card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.team__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.team__role {
    font-size: 0.9rem;
    color: #E3C08D;
    margin-bottom: 16px;
}

.team__link {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    transition: color var(--transition-base);
}

.team__link:hover {
    color: #E3C08D;
}

.testimonials {
    padding: 140px 0;
    background: var(--color-bg);
}

.testimonials__slider {
    overflow: hidden;
    position: relative;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials__slide {
    min-width: 100%;
    padding: 0 40px;
}

.testimonials__card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonials__stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #B8860B;
    margin-bottom: 28px;
}

.testimonials__text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4A4A4A;
    font-style: italic;
    margin-bottom: 32px;
}

.testimonials__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonials__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #B8860B;
}

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

.testimonials__name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1A1A1A;
    text-align: left;
}

.testimonials__role {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: left;
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonials__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.testimonials__btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
}

.testimonials__dots {
    display: flex;
    gap: 8px;
}

.testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.testimonials__dot--active {
    background: var(--color-gold);
    width: 28px;
    border-radius: 4px;
}

.contact {
    padding: 140px 0;
    background: var(--color-bg-secondary);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact__detail-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(184, 134, 11, 0.12);
    color: #B8860B;
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.contact__detail-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.contact__detail-link {
    transition: color var(--transition-base);
}

.contact__detail-link:hover {
    color: var(--color-gold);
}

.contact__form-wrapper {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: #F5F3EF;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.contact__input::placeholder {
    color: var(--color-text-muted);
}

.contact__input:focus {
    border-color: var(--color-gold);
    background: rgba(201, 168, 76, 0.06);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

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

.footer {
    background: #252422;
    padding: 80px 0 40px;
    position: relative;
}

.footer__gradient-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__brand-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 320px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.footer__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-base);
}

.footer__social:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
    transform: translateY(-3px);
}

.footer__column-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    transition: color var(--transition-base);
    position: relative;
    display: inline-block;
}

a.footer__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

a.footer__link:hover {
    color: var(--color-gold);
}

a.footer__link:hover::after {
    width: 100%;
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #1A1A1A;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    cursor: pointer;
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .about__grid {
        gap: 48px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(249, 248, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .header__nav--open {
        transform: translateX(0);
    }

    /* Читаемость: тёмный текст на светлом фоне меню */
    .header__nav--open .header__nav-link {
        color: #1A1A1A;
        text-shadow: none;
        font-weight: 600;
    }
    .header__nav--open .header__nav-link:hover {
        color: #B8860B;
    }
    .header__nav--open .header__nav-link::after {
        background: #B8860B;
        left: 0;
        transform: none;
    }

    .header__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .header__nav-link {
        font-size: 1.3rem;
    }

    /* Логотип в тёмном варианте, когда меню открыто */
    .header--menu-open .header__logo-img {
        filter: none;
    }

    .header--menu-open .header__burger span {
        background: #1A1A1A;
    }

    .header__right {
        display: none;
    }

    .lang-switch--mobile {
        display: flex;
        margin-bottom: 24px;
    }

    .header__nav--open .lang-switch--mobile .lang-switch__btn {
        color: #4A4A4A;
    }
    .header__nav--open .lang-switch--mobile .lang-switch__btn--active {
        color: #1A1A1A;
        font-weight: 600;
    }
    .header__nav--open .lang-switch--mobile .lang-switch__sep {
        color: #999;
    }

    .header__nav-list {
        margin-top: 24px;
    }

    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
        z-index: 1001;
    }

    /* Hero на телефоне: заголовок заметно крупнее, подзаголовок и описание мельче — чёткая иерархия */
    .hero__subtitle {
        font-size: 0.65rem;
        letter-spacing: 2.5px;
    }
    .hero__title {
        font-size: clamp(2.4rem, 7.5vw, 4rem);
    }
    .hero__description {
        font-size: 0.8rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image-wrapper img {
        height: 360px;
    }

    .about__experience {
        right: 16px;
        bottom: 16px;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats__number {
        font-size: 2.5rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .gallery__row {
        flex-direction: column;
    }

    .gallery__video-wrap {
        order: 1;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .gallery__carousel-wrap {
        order: 2;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--wide {
        grid-column: span 1;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .testimonials__slide {
        padding: 0 12px;
    }

    .testimonials__card {
        padding: 32px 24px;
    }

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

    .divider {
        padding: 120px 0;
    }

    .hero__scroll {
        display: none;
    }
}

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

    .about,
    .services,
    .gallery,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

    .stats {
        padding: 60px 0;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stats__item {
        padding: 24px 12px;
    }

    .stats__number {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .testimonials__text {
        font-size: 0.95rem;
    }

    .contact__form-wrapper {
        padding: 28px 20px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .divider {
        padding: 80px 0;
    }
}