/* =========================================
   RESET И БАЗОВЫЕ НАСТРОЙКИ
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Inter', sans-serif;
    --color-ink: #1b1b1b;
    --color-bg: #fcfbf8;
    --color-muted: #6b6b6b;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.60);
    --radius-lg: 28px;
    --radius-pill: 9999px;
    --radius-md: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-ink);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   ПК ВЕРСИЯ (Широкие экраны)
   ========================================= */
.container {
    width: 65%;
    margin: 0 auto;
    max-width: 1200px;
}

/* ХЕДЕР ПК */
.header {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    display: flex;
    justify-content: center;
}

.header-inner {
    width: 65%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.199);
    border-radius: var(--radius-pill);
}

.logo {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-desktop a {
    font-size: 0.875rem;
    color: var(--color-muted);
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--color-ink);
}

.header-actions {
    display: flex;
    align-items: center;
}


img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* =========================================
   ТИПОГРАФИКА
   ========================================= */
.font-serif {
    font-family: var(--font-serif);
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}

/* =========================================
   СТЕКЛО (GLASSMORPHISM)
   ========================================= */
.glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* =========================================
   КНОПКИ
   ========================================= */
.btn-ink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-ink);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.btn-ink:hover {
    opacity: 0.85;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--color-muted);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* =========================================
   ТАБЫ (общие)
   ========================================= */
.hero-tabs {
    display: inline-flex;
    padding: 0.25rem;
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    gap: 0.75rem;
}

.hero-tabs .tab {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    color: var(--color-muted);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-tabs .tab :hover {
        background: rgba(0, 0, 0, 0.03);
}

.hero-tabs .tab.active {
    background: var(--color-ink);
    color: #fff;
}

/* =========================================
   РАЗДЕЛИТЕЛЬНЫЕ ПОЛОСКИ ДЛЯ ПК
   ========================================= */
.hero-section,
.about-section,
.services-section,
.before-after-section,
.faq-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 4rem;
}

/* =========================================
   ПОДВАЛ (ПК)
   ========================================= */
.footer {
    background: var(--color-bg);
    padding-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 26rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
    color: var(--color-ink);
}

.social-btn:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.04);
}

.footer-col-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav li a {
    font-size: 0.875rem;
    color: var(--color-muted);
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: var(--color-ink);
}

/* Нижняя полоса */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-muted);
}