:root {
    --bg: #0a0a0a;
    --bg-card: #111;
    --bg-input: #161616;
    --border: #2a2a2a;
    --border-hover: #3a3a3a;
    --text: #fff;
    --text-secondary: #999;
    --text-muted: #666;
    --accent: #c9a96e;
    --accent-hover: #b8975d;
    --accent-glow: rgba(201, 169, 110, 0.15);
    --error: #e74c3c;
    --error-bg: rgba(231, 76, 60, 0.08);
    --success: #2ecc71;
    --success-bg: rgba(46, 204, 113, 0.08);
    --radius: 12px;
    --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1)
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0)
    }

    20% {
        transform: translateX(-6px)
    }

    40% {
        transform: translateX(6px)
    }

    60% {
        transform: translateX(-4px)
    }

    80% {
        transform: translateX(4px)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--t), transform .8s var(--t)
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--t)
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text)
}

.logo-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    transition: transform var(--t)
}

.logo:hover .logo-mark {
    transform: rotate(-6deg) scale(1.06)
}

.logo-text {
    white-space: nowrap
}

.logo-text span {
    color: var(--accent)
}

.nav-desktop {
    display: flex;
    gap: 36px
}

.nav-desktop a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--t);
    position: relative
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--t)
}

.nav-desktop a:hover {
    color: var(--text)
}

.nav-desktop a:hover::after {
    width: 100%
}

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

.phone-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color var(--t)
}

.phone-link:hover {
    color: var(--accent)
}

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: var(--accent);
    border-radius: 6px;
    transition: all var(--t)
}

.btn-small:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3)
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: right 0.4s var(--t);
    z-index: 999
}

.mobile-menu.open {
    right: 0
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--t)
}

.mobile-menu a:hover {
    color: var(--accent)
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(201, 169, 110, 0.04) 0%, transparent 40%);
    pointer-events: none
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s 0.1s ease both
}

.hero h1 strong {
    font-weight: 600;
    color: var(--accent)
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s 0.2s ease both
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.3s ease both
}

.btn-primary {
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: var(--accent);
    border-radius: 8px;
    transition: all var(--t);
    border: none;
    cursor: pointer;
    display: inline-block
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3)
}

.btn-outline {
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--t);
    display: inline-block
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto
}

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

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    margin-bottom: 16px
}

.section-header h2 span {
    color: var(--accent);
    font-weight: 500
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all var(--t);
    position: relative;
    overflow: hidden
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--t)
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4)
}

.service-card:hover::before {
    transform: scaleX(1)
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--accent)
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    transition: all var(--t);
    position: relative
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent)
}

.price-card.featured::before {
    content: 'Популярное';
    position: absolute;
    top: -1px;
    right: 24px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: var(--accent);
    border-radius: 0 0 6px 6px
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px)
}

.price-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px
}

.price-card .price {
    font-size: 36px;
    font-weight: 300;
    color: var(--accent);
    margin: 20px 0
}

.price-card .price span {
    font-size: 16px;
    color: var(--text-muted)
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    text-align: left
}

.price-card ul li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 10px
}

.price-card ul li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px
}

.comparison {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: col-resize;
    user-select: none;
    aspect-ratio: 4/3;
    background: var(--bg-card)
}

.comparison img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0
}

.comp-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--accent);
    z-index: 2
}

.comp-before img {
    width: auto;
    height: 100%;
    max-width: none
}

.comp-label {
    position: absolute;
    top: 16px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 3;
    pointer-events: none
}

.comp-label.before {
    left: 16px;
    background: var(--accent);
    color: #0a0a0a
}

.comp-label.after {
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    backdrop-filter: blur(10px)
}

.comp-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.3);
    cursor: grab
}

.comp-slider:active {
    cursor: grabbing
}

.comp-slider svg {
    width: 16px;
    height: 16px;
    color: #0a0a0a
}

.work-caption {
    margin-top: 16px;
    text-align: center
}

.work-caption h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px
}

.work-caption p {
    font-size: 14px;
    color: var(--text-secondary)
}

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

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid var(--border)
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius);
    pointer-events: none
}

.about-text h3 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px
}

.about-text h3 span {
    color: var(--accent);
    font-weight: 500
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8
}

.guarantees {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary)
}

.guarantee-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--t)
}

.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px)
}

.review-stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic
}

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

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8b7347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0a
}

.review-author-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px
}

.review-author-info span {
    font-size: 13px;
    color: var(--text-muted)
}

.booking-section {
    padding: 100px 24px;
    position: relative;
    overflow: hidden
}

.booking-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(201, 169, 110, 0.03) 0%, transparent 40%);
    pointer-events: none
}

.booking-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.booking-header {
    text-align: center;
    margin-bottom: 48px
}

.booking-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    margin-bottom: 12px
}

.booking-header h2 span {
    color: var(--accent);
    font-weight: 500
}

.booking-header p {
    color: var(--text-secondary);
    font-size: 17px
}

.booking-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px
}

.form-group {
    margin-bottom: 24px;
    position: relative
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    transition: color var(--t)
}

.form-group:focus-within label {
    color: var(--accent)
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: all var(--t)
}

.form-control::placeholder {
    color: var(--text-muted)
}

.form-control:hover {
    border-color: var(--border-hover)
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: #1a1a1a
}

.form-control.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    animation: shake 0.4s ease-in-out
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer
}

select.form-control option {
    background: var(--bg-input);
    color: var(--text)
}

.error-message {
    display: none;
    margin-top: 8px;
    padding: 10px 14px;
    background: var(--error-bg);
    border-left: 3px solid var(--error);
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: var(--error);
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease
}

.error-message.visible {
    display: block;
    opacity: 1;
    transform: translateY(0)
}

.success-message {
    display: none;
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--success-bg);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: var(--radius);
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.success-message.visible {
    display: block;
    opacity: 1;
    transform: scale(1)
}

.success-message h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--success);
    margin-bottom: 6px
}

.success-message p {
    font-size: 14px;
    color: rgba(46, 204, 113, 0.8)
}

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 24px 40px
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px
}

.footer-brand .logo {
    margin-bottom: 16px
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text)
}

.footer-col a, .footer-col p {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color var(--t)
}

.footer-col a:hover {
    color: var(--accent)
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted)
}

.footer-socials {
    display: flex;
    gap: 16px
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t)
}

.footer-socials a:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #0a0a0a
}

.footer-socials a svg {
    width: 18px;
    height: 18px
}

@media(max-width:1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-image {
        aspect-ratio: 16/9;
        max-height: 400px
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .nav-desktop, .header-actions .phone-link {
        display: none
    }

    .burger {
        display: flex
    }

    .section {
        padding: 60px 20px
    }

    .hero {
        padding: 100px 20px 60px
    }

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

    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 320px;
        text-align: center
    }

    .booking-form {
        padding: 32px 24px
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center
    }
}

@media(max-width:380px) {
    .logo {
        font-size: 17px;
        gap: 8px
    }

    .logo-mark {
        width: 28px;
        height: 28px
    }

    .booking-form {
        padding: 24px 16px
    }

    .price-card, .service-card, .review-card {
        padding: 24px
    }
}