/* ============ БАЗА ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #e8e8e8;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============ НАВИГАЦИЯ ============ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #1e1e1e;
    z-index: 1000;
    padding: 0 40px;
    transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: #2a2a2a;
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    text-transform: lowercase;
}

.logo span {
    color: #c8a96e;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    cursor: pointer;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8a96e;
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #c8a96e;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ============ СЕКЦИИ ============ */
section {
    padding: 120px 40px 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c8a96e;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #fff;
}

.section-sub {
    font-size: 17px;
    color: #999;
    max-width: 600px;
    margin-bottom: 56px;
}

/* ============ ГЛАВНАЯ (HERO) ============ */
#home {
    min-height: 100vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 40px 80px;
    overflow: hidden;
    isolation: isolate;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* ----- ФОН HERO ----- */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0a0a0a;
}

/* Сетка как в графическом редакторе */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 169, 110, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 110, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 64px 64px, 64px 64px; }
}

/* Цветные свечения (mesh gradient) */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    pointer-events: none;
}

.glow-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #c8a96e, transparent 70%);
    top: -120px; left: -80px;
    animation: float1 14s ease-in-out infinite;
}

.glow-2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, #4a7cff, transparent 70%);
    bottom: -140px; right: -60px;
    animation: float2 18s ease-in-out infinite;
}

.glow-3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #d94faf, transparent 70%);
    top: 40%; left: 55%;
    opacity: 0.35;
    animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, 40px) scale(1.15); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-50px, -60px) scale(1.1); }
}
@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-40%, -60%) scale(1.2); }
}

/* Плавающие геометрические фигуры */
.shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
}

.shape-circle {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8a96e, #8a6f3c);
    top: 18%; right: 12%;
    filter: blur(0.5px);
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-square {
    width: 80px; height: 80px;
    background: transparent;
    border: 2px solid #4a7cff;
    bottom: 22%; left: 8%;
    transform: rotate(15deg);
    animation: shapeSpin 20s linear infinite;
}

.shape-triangle {
    width: 0; height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 78px solid rgba(217, 79, 175, 0.35);
    top: 60%; right: 22%;
    animation: shapeFloat 16s ease-in-out infinite reverse;
}

.shape-ring {
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 1px dashed rgba(200, 169, 110, 0.5);
    top: 12%; left: 42%;
    animation: shapeSpin 30s linear infinite reverse;
}

.shape-cross {
    width: 40px; height: 40px;
    bottom: 14%; right: 38%;
    animation: shapeFloat 14s ease-in-out infinite;
}
.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: #c8a96e;
    border-radius: 2px;
}
.shape-cross::before {
    width: 100%; height: 3px;
    top: 50%; left: 0;
    transform: translateY(-50%);
}
.shape-cross::after {
    width: 3px; height: 100%;
    left: 50%; top: 0;
    transform: translateX(-50%);
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-30px) rotate(8deg); }
}

@keyframes shapeSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ----- Контент Hero ----- */
.hero-title {
    font-size: clamp(48px, 9vw, 100px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-title em {
    font-style: normal;
    color: #c8a96e;
    position: relative;
}

.hero-desc {
    font-size: 19px;
    color: #b8b8b8;
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: #c8a96e;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ============ О НАС ============ */
#about {
    border-top: 1px solid #1a1a1a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 72px;
}

.about-text p {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: #e8e8e8;
}

.services-list {
    list-style: none;
}

.services-list li {
    padding: 18px 0;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    transition: padding-left 0.3s;
}

.services-list li:hover {
    padding-left: 8px;
}

.services-list li:first-child {
    border-top: 1px solid #1a1a1a;
}

.services-list .service-name {
    color: #e8e8e8;
    font-weight: 500;
}

.services-list .service-price {
    color: #c8a96e;
    font-weight: 700;
    font-size: 14px;
}

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

.process-step {
    padding: 28px 24px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    transition: border-color 0.3s, transform 0.3s;
}

.process-step:hover {
    border-color: #c8a96e;
    transform: translateY(-4px);
}

.step-num {
    font-size: 13px;
    color: #c8a96e;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* ============ ОБРАТНАЯ СВЯЗЬ ============ */
#contact {
    border-top: 1px solid #1a1a1a;
}

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

.contact-info p {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #ccc;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #2a2a2a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 16px 18px;
    color: #e8e8e8;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c8a96e;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: #c8a96e;
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.contact-form button:hover {
    background: #dbb97a;
    transform: translateY(-2px);
}

/* ============ ФУТЕР ============ */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 13px;
}

footer .logo {
    font-size: 22px;
    margin-bottom: 12px;
}

/* ============ АНИМАЦИЯ ПОЯВЛЕНИЯ ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============ АДАПТИВ ============ */
@media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 12px; }
    section { padding: 80px 20px 60px; }
    #home { padding: 110px 20px 60px; }
    .hero-stats { gap: 28px; }
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-grid { grid-template-columns: 1fr; }
    .shape-ring, .shape-circle { opacity: 0.25; }
}

@media (max-width: 480px) {
    .logo { font-size: 22px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 11px; letter-spacing: 0; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-glow { filter: blur(60px); }
}