@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

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

:root {
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --font-display: 'Sora', 'Segoe UI', sans-serif;
    --bg: #05070c;
    --bg-2: #0c1118;
    --bg-3: #111827;
    --bg-4: #1a2333;
    --accent: #d8b36a;
    --accent-hover: #e9c98d;
    --white: #f6f8fd;
    --gray: #95a0b3;
    --gray-light: #bec8d8;
    --tg: #1f9cd8;
    --line: rgba(255, 255, 255, 0.14);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Display type for headings */
h1, h2, h3,
.logo-text,
.hero-badge,
.marquee-track span,
.step-num,
.fact-num,
.ps-percent,
.info-num {
    font-family: var(--font-display);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--accent); }

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    padding: calc(16px + env(safe-area-inset-top)) 0 16px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img { height: 36px; }

.logo-text {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--white);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-light);
    font-family: var(--font-body);
}

.header-phones {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-phone {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-body);
    white-space: nowrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid #444;
    color: var(--white);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--bg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(232, 185, 35, 0.15);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 32px;
    max-width: 500px;
    font-family: var(--font-body);
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-light);
    font-family: var(--font-body);
}

.hf-icon { color: var(--accent); }

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-main {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-3);
    border-radius: 12px;
    overflow: hidden;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--accent);
    color: #000;
    padding: 16px 20px;
    border-radius: 10px;
    text-align: center;
}

.hero-image-badge strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    font-family: var(--font-display);
}

.hero-image-badge span {
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === MARQUEE === */
.marquee {
    background: var(--accent);
    padding: 14px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 1.1rem;
    font-weight: 400;
    color: #000;
    letter-spacing: 3px;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--gray);
    font-size: 1rem;
    font-family: var(--font-body);
}

/* === GALLERY === */
.gallery {
    padding: 80px 0;
    background: var(--bg);
}

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

.gallery-item {
    aspect-ratio: 1/1;
    background: var(--bg-3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* === CATALOG === */
.catalog {
    padding: 80px 0;
    background: var(--bg-2);
}

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

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-3);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    color: var(--white);
}

.catc-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.catc-content h3 {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.catc-content p {
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-body);
}

.catc-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 1.2rem;
}

/* === PRODUCTS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-3);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: #444;
    transform: translateY(-3px);
}

.card-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #1a1a1a;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-info {
    padding: 20px;
}

.card-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.card-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 6px;
    transition: all 0.3s;
}

.card-btn:hover {
    background: var(--accent);
    color: #000;
}

/* === CATALOG CTA === */
.catalog-cta {
    text-align: center;
    padding: 48px;
    background: var(--bg-3);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    margin-top: 48px;
}

.catalog-cta h3 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.catalog-cta p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-family: var(--font-body);
}

/* === ABOUT === */
.about-master {
    padding: 80px 0;
    background: var(--bg);
}

.master-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    align-items: center;
}

.master-photo {
    aspect-ratio: 3/4;
    background: var(--bg-3);
    border-radius: 12px;
    overflow: hidden;
}

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

.master-info h2 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.master-info .subtitle {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.master-info p {
    color: var(--gray-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.master-facts {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.fact-num {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 1px;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
    font-family: var(--font-body);
}

/* === HOW WE WORK === */
.how-we-work {
    padding: 80px 0;
    background: var(--bg-2);
}

.steps-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--bg-3);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-item h3,
.step-item h4 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.step-item p {
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-body);
}

/* === CONTACTS === */
.contacts {
    padding: 80px 0;
    background: var(--bg);
}

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

.contact-card {
    padding: 32px 24px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    text-align: center;
}

.cc-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 1rem;
    font-family: var(--font-body);
}

.contact-card a {
    color: var(--white);
}

.contacts-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    margin-top: 32px;
    padding: 20px;
    background: var(--bg-2);
    border-radius: 8px;
    color: var(--gray-light);
    font-family: var(--font-body);
}

.address-icon {
    color: var(--accent);
    display: flex;
}

/* === BUSINESS CARD === */
.business-card-section {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-card-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.business-card-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .business-card-section {
        margin-top: 32px;
    }
    
    .business-card-img {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
}

/* === FOOTER === */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-2);
    border-top: 1px solid #222;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    font-size: 2rem;
    letter-spacing: 3px;
}

.footer-tagline {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 8px;
    font-family: var(--font-body);
}

.footer-nav {
    display: flex;
    gap: 48px;
}

.fn-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fn-col h5 {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.fn-col a {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-family: var(--font-body);
}

.footer-line {
    height: 1px;
    background: #2a2a2a;
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-body);
}

/* === FLOATING TELEGRAM === */
.tg-float {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--tg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    z-index: 9999;
    transition: all 0.3s;
}

.tg-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0, 136, 204, 0.5);
}

/* === CATEGORY PAGE === */
.cat-hero {
    padding: 140px 0 60px;
    background: var(--bg);
}

.cat-hero h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.cat-desc {
    color: var(--gray-light);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.cat-info-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ci-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-light);
    font-family: var(--font-body);
}

.ci-item svg {
    color: var(--accent);
}

.cat-products {
    padding: 60px 0;
    background: var(--bg-2);
}

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

.product-card-full {
    display: grid;
    grid-template-columns: 360px 1fr;
    background: var(--bg-3);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.pcf-image {
    aspect-ratio: 1/1;
    background: #1a1a1a;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcf-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pcf-content {
    padding: 32px;
}

.pcf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pcf-header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.pcf-price {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--accent);
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.pcf-desc {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.pcf-specs { margin-bottom: 24px; }

.pcf-specs h4,
.pcf-custom h4 {
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-4);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.spec-label { color: var(--gray); }
.spec-value { font-weight: 500; }

.pcf-custom { margin-bottom: 24px; }

.custom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-tag {
    padding: 8px 14px;
    background: rgba(232, 185, 35, 0.1);
    border: 1px solid rgba(232, 185, 35, 0.3);
    color: var(--accent);
    font-size: 0.85rem;
    border-radius: 6px;
    font-family: var(--font-body);
}

.pcf-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray);
    font-family: var(--font-body);
}

.breadcrumbs a { color: var(--gray); }
.breadcrumbs .current { color: var(--accent); }

.other-cats {
    padding: 60px 0;
    background: var(--bg);
}

.other-cats h2 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--gray-light);
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.cat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    transition: all 0.3s;
}

.cat-card:hover {
    border-color: var(--accent);
}

.cc-name {
    font-weight: 600;
    font-family: var(--font-body);
}

.cc-arrow { color: var(--accent); }

/* === INFO PAGES === */
.page-hero {
    padding: 140px 0 60px;
    background: var(--bg);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--gray-light);
    font-family: var(--font-body);
}

.info-section { padding: 60px 0; }
.info-block { margin-bottom: 60px; }

.info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.info-num {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    opacity: 0.3;
    letter-spacing: 2px;
}

.info-header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
}

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

.info-card {
    padding: 28px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.info-card.highlight {
    border-color: var(--accent);
    background: rgba(232, 185, 35, 0.05);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.info-card p.small {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 8px;
}

.ic-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.page-cta {
    padding: 60px 0;
    background: var(--bg-2);
}

.cta-box {
    text-align: center;
    padding: 48px;
    background: var(--bg-3);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === GUARANTEE PAGE === */
.guarantee-main {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: rgba(232, 185, 35, 0.1);
    border: 1px solid rgba(232, 185, 35, 0.3);
    border-radius: 12px;
    margin-bottom: 32px;
}

.gm-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.gm-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.gm-content p {
    color: var(--gray-light);
    font-family: var(--font-body);
}

.check-list, .x-list {
    list-style: none;
}

.check-list li, .x-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-family: var(--font-body);
    color: var(--gray-light);
}

.check-list svg { color: var(--accent); }
.x-list svg { color: #e74c3c; }

.info-content { font-family: var(--font-body); }

.info-content .lead {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 24px;
}

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

.rc-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--white);
}

.rc-item ul {
    list-style: none;
}

.rc-item li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-light);
}

.rc-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quality-item {
    padding: 24px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.qi-num {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.quality-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.quality-item p {
    color: var(--gray-light);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.care-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.care-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.care-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.care-item p {
    font-size: 0.95rem;
    color: var(--gray-light);
    font-family: var(--font-body);
}

/* === PAYMENT SCHEME === */
.payment-scheme {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ps-item {
    text-align: center;
}

.ps-percent {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 2px;
}

.ps-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.ps-text p {
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-body);
}

.ps-arrow {
    color: var(--accent);
}

.payment-methods {
    padding: 24px;
    background: var(--bg-3);
    border-radius: 10px;
}

.payment-methods h4 {
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.payment-methods ul {
    list-style: none;
}

.payment-methods li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-family: var(--font-body);
    color: var(--gray-light);
}

.payment-methods svg {
    color: var(--accent);
}

/* === CONTACTS PAGE === */
.contacts-page {
    padding: 60px 0;
}

.contacts-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-block {
    padding: 32px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    text-align: center;
}

.cb-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.contact-block h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.cb-main {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.cb-main a {
    color: var(--white);
}

.cb-sub {
    font-size: 0.9rem;
    color: var(--gray);
    font-family: var(--font-body);
}

/* === Contacts Page Messenger Buttons === */
.messengers-large {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.messengers-large h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.messengers-large p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.ml-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ml-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1 1 200px;
    max-width: 280px;
    justify-content: center;
}

.ml-btn.tg {
    background: var(--tg);
    color: var(--white);
}

.ml-btn.tg:hover {
    background: #007bb5;
    transform: translateY(-2px);
}

.ml-btn.email {
    background: #c71610;
    color: var(--white);
}

.ml-btn.email:hover {
    background: #a7140e;
    transform: translateY(-2px);
}

.ml-btn svg {
    flex-shrink: 0;
}

.ml-text {
    text-align: left;
}

.ml-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.ml-text span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
}

/* === Legal Info === */
.legal-info {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.legal-info h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-align: center;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.legal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--bg-3);
    border-radius: 8px;
}

.li-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.li-value {
    font-weight: 500;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
    .hero h1 { font-size: 3rem; }
    .master-grid { grid-template-columns: 1fr; }
    .master-photo { max-width: 300px; margin: 0 auto; }
    .product-card-full { grid-template-columns: 1fr; }
    .pcf-image { aspect-ratio: 4/3; }
    .contacts-main { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header .container {
        flex-direction: column;
        gap: 8px;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .logo {
        order: 1;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .header-phone:first-of-type {
        display: none;
    }
    
    .nav {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .nav a {
        font-size: 0.8rem;
        padding: 4px 0;
    }
    
    .header-phone:last-of-type {
        order: 3;
        font-size: 0.85rem;
    }
    
    .hero { padding: 100px 0 60px; }
    .page-hero { padding: 100px 0 40px; }
    .cat-hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 2.5rem; }
    .section-head h2 { font-size: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; }
    .steps-row { flex-direction: column; align-items: center; }
    .footer-main { flex-direction: column; }
    .footer-nav { flex-wrap: wrap; gap: 24px; }
    .master-facts { flex-wrap: wrap; gap: 24px; }
    .tg-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .payment-scheme { flex-direction: column; }
    .ps-arrow { transform: rotate(90deg); }
    .ml-btn { max-width: none; }
    .guarantee-main { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { width: 100%; }
    .hero-buttons { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
    .pcf-actions { flex-direction: column; }
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-2);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 32px 24px;
    width: calc(100% - 32px);
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    box-sizing: border-box;
    margin: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 24px;
    font-family: var(--font-body);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-family: var(--font-body);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-3);
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 8px;
    font-family: var(--font-body);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 24px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* === CATEGORY BENEFITS === */
.cat-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(232, 185, 35, 0.08);
    border: 1px solid rgba(232, 185, 35, 0.2);
    border-radius: 10px;
}

.cb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--white);
    font-family: var(--font-body);
}

.cb-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cat-benefits {
        flex-direction: column;
        gap: 12px;
    }
}

/* === FAQ === */
.faq {
    padding: 80px 0;
    background: var(--bg-2);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-3);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: color 0.3s;
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--gray-light);
    font-family: var(--font-body);
    line-height: 1.7;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    color: #000;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.gallery-item {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* === SCROLL TOP BUTTON === */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--bg-3);
    border: 1px solid #333;
    border-radius: 50%;
    color: var(--accent);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* === PAGE LOADER === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Задержка для элементов в ряд */
.categories-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.categories-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.categories-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.categories-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.categories-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.categories-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.categories-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }

.gallery-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.gallery-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.gallery-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.gallery-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.gallery-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

.steps-row .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.steps-row .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.steps-row .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.steps-row .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.steps-row .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-top: 1px solid #333;
    padding: 16px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-family: var(--font-body);
    margin: 0;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* === CALCULATOR === */
.calculator-section {
    padding: 60px 0;
    background: var(--bg);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.calc-form-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-step h3 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--accent);
    font-family: var(--font-display);
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.calc-option {
    cursor: pointer;
}

.calc-option input {
    display: none;
}

.calc-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--bg-2);
    border: 2px solid #333;
    border-radius: 10px;
    transition: all 0.3s;
    text-align: center;
}

.calc-option input:checked + .calc-option-content {
    border-color: var(--accent);
    background: rgba(232, 185, 35, 0.1);
}

.calc-option-icon {
    font-size: 2rem;
}

.calc-option-text {
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.calc-option-price {
    font-size: 0.85rem;
    color: var(--accent);
    font-family: var(--font-body);
}

.calc-option-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #444;
}

.calc-sizes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.size-input label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.size-input input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-2);
    border: 2px solid #333;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.1rem;
    font-family: var(--font-body);
    text-align: center;
}

.size-input input:focus {
    outline: none;
    border-color: var(--accent);
}

.calc-result-block {
    position: relative;
}

.calc-result-sticky {
    position: sticky;
    top: 100px;
    background: var(--bg-2);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 28px;
}

.calc-result-sticky h3 {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-display);
}

.calc-result-price {
    text-align: center;
    margin-bottom: 16px;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.calc-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.calc-result-details {
    background: var(--bg-3);
    border-radius: 8px;
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--gray-light);
    border-bottom: 1px solid #333;
}

.detail-row:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .calc-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-result-sticky {
        position: relative;
        top: 0;
    }
    .calc-sizes {
        grid-template-columns: 1fr;
    }
}

/* === COMPARE MATERIALS === */
.compare-section {
    padding: 60px 0;
    background: var(--bg);
}

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

.compare-card {
    background: var(--bg-2);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.compare-card.featured {
    border-color: var(--accent);
}

.compare-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-body);
}

.compare-header {
    padding: 28px;
    text-align: center;
}

.compare-header.ldsp { background: linear-gradient(135deg, #2a2a2a, #1a1a1a); }
.compare-header.pine { background: linear-gradient(135deg, #3d2b1f, #2a1f15); }
.compare-header.oak { background: linear-gradient(135deg, #4a3728, #2d221a); }

.compare-header h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.compare-price {
    font-size: 1.3rem;
    color: var(--accent);
    font-family: var(--font-display);
}

.compare-body {
    padding: 24px;
}

.compare-desc {
    margin-bottom: 20px;
    color: var(--gray-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.compare-body h4 {
    font-size: 0.9rem;
    margin: 16px 0 10px;
    font-family: var(--font-body);
}

.pros-list, .cons-list, .use-list {
    list-style: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.pros-list li, .cons-list li, .use-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-light);
}

.pros-list li::before { content: "✓"; position: absolute; left: 0; color: #4caf50; }
.cons-list li::before { content: "✗"; position: absolute; left: 0; color: #f44336; }
.use-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

.compare-summary {
    text-align: center;
    padding: 40px;
    background: var(--bg-2);
    border-radius: 12px;
}

.compare-summary h2 {
    margin-bottom: 32px;
}

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

.summary-item {
    padding: 24px;
}

.summary-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.summary-item h4 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.summary-item p {
    color: var(--gray-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .compare-grid, .summary-grid {
        grid-template-columns: 1fr;
    }
}

/* === ASSISTANT WIDGET === */
.assistant-widget {
    position: fixed;
    left: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 1200;
    font-family: var(--font-body);
}

.assistant-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    font-weight: 600;
}

.assistant-toggle:hover {
    background: var(--accent-hover);
}

.assistant-icon {
    font-size: 1.1rem;
}

.assistant-panel {
    position: absolute;
    left: 0;
    bottom: 58px;
    width: 340px;
    max-height: 520px;
    max-height: calc(100svh - 140px);
    background: var(--bg-2);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.assistant-panel.active {
    display: flex;
}

.assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-3);
    border-bottom: 1px solid #2a2a2a;
}

.assistant-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.assistant-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    overflow: hidden;
}

.assistant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    padding: 4px;
}

.assistant-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.assistant-status {
    font-size: 0.75rem;
    color: var(--gray-light);
}

.assistant-close {
    border: none;
    background: transparent;
    color: var(--gray-light);
    font-size: 1.4rem;
    cursor: pointer;
}

.assistant-messages {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.assistant-message {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 85%;
}

.assistant-message.user {
    align-self: flex-end;
    background: var(--accent);
    color: #000;
}

.assistant-message.assistant {
    align-self: flex-start;
    background: var(--bg-4);
    color: var(--white);
}

.assistant-typing {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 12px 14px;
    background: var(--bg-4);
}

.assistant-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-light);
    display: inline-block;
    animation: assistantTyping 1.2s infinite ease-in-out;
}

.assistant-typing span:nth-child(2) { animation-delay: 0.2s; }
.assistant-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes assistantTyping {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.6; }
    40% { transform: scale(1); opacity: 1; }
}

.assistant-form {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #2a2a2a;
    background: var(--bg-3);
}

.assistant-form input {
    flex: 1;
    background: var(--bg);
    border: 1px solid #2a2a2a;
    color: var(--white);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.assistant-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.assistant-send {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}

.assistant-send:hover {
    background: var(--accent-hover);
}

@media (max-width: 768px) {
    .assistant-widget {
        left: 16px;
        bottom: 16px;
    }

    .assistant-panel {
        width: 300px;
        max-height: 460px;
    }
}

@media (max-width: 600px) {
    .assistant-widget {
        left: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .assistant-panel {
        width: calc(100vw - 24px);
        max-height: 70vh;
        max-height: calc(100svh - 160px);
    }

    .assistant-form input {
        font-size: 1rem;
    }

    .assistant-message {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .tg-float {
        width: 50px;
        height: 50px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        right: 16px;
    }
}

@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: 100svh;
    }
    .page-hero,
    .cat-hero {
        padding-top: calc(100px + env(safe-area-inset-top));
    }
    .assistant-panel {
        max-height: calc(100svh - 160px);
    }
}

/* === MODERN PREMIUM REFRESH === */
html,
body {
    min-height: 100%;
}

body {
    position: relative;
    background:
        radial-gradient(1200px 700px at 88% -10%, rgba(72, 112, 186, 0.28), transparent 62%),
        radial-gradient(900px 540px at -20% 28%, rgba(216, 179, 106, 0.16), transparent 64%),
        linear-gradient(170deg, #05070c 0%, #070b12 42%, #05070c 100%);
    color: var(--white);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
    background-size: 3px 3px;
    opacity: 0.06;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-text,
.hero-badge,
.marquee-track span,
.step-num,
.fact-num,
.ps-percent,
.info-num {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.container {
    max-width: 1240px;
}

.header {
    background: rgba(8, 12, 20, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(150%);
    padding: calc(14px + env(safe-area-inset-top)) 0 14px;
}

.header .container {
    gap: 16px;
}

.logo {
    gap: 12px;
}

.logo-text {
    letter-spacing: 0.15em;
}

.nav {
    gap: 22px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 14, 24, 0.62);
}

.nav a {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dbe4f1;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.header-phones {
    border: 1px solid var(--line);
    background: rgba(10, 16, 27, 0.68);
    padding: 8px 14px;
    border-radius: 999px;
}

.header-phone {
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(125deg, #eed3a2 0%, #d8b36a 58%, #b58f50 100%);
    box-shadow: 0 12px 28px rgba(216, 179, 106, 0.34);
}

.btn-primary:hover {
    box-shadow: 0 16px 34px rgba(216, 179, 106, 0.4);
}

.btn-outline {
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(13, 20, 33, 0.55);
}

.btn-outline:hover {
    background: rgba(216, 179, 106, 0.12);
    border-color: var(--accent);
}

.hero {
    position: relative;
    padding: 170px 0 110px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(216, 179, 106, 0.05), transparent 30%);
}

.hero .container {
    gap: 72px;
}

.hero-badge {
    background: rgba(216, 179, 106, 0.14);
    border: 1px solid rgba(216, 179, 106, 0.34);
    border-radius: 999px;
    letter-spacing: 0.12em;
    padding: 9px 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 6.5vw, 4.9rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-wrap: balance;
    max-width: 640px;
}

.hero h1 span {
    background: linear-gradient(115deg, #f4ddbb 0%, #d8b36a 56%, #aa8750 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    max-width: 560px;
    font-size: 1.08rem;
    color: #c7d2e3;
}

.hero-features {
    gap: 12px;
}

.hf-item {
    border: 1px solid var(--line);
    background: rgba(13, 20, 33, 0.58);
    border-radius: 999px;
    padding: 10px 14px;
    color: #d7e1ef;
}

.hero-image {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 16px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
    box-shadow: 0 34px 72px rgba(1, 6, 13, 0.52);
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: -26px;
    z-index: -1;
    background: radial-gradient(circle at 40% 35%, rgba(216, 179, 106, 0.32), transparent 65%);
    filter: blur(30px);
}

.hero-image-main {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-image-main img {
    transform: scale(1.02);
    transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.hero-image:hover .hero-image-main img {
    transform: scale(1.08);
}

.hero-image-badge {
    left: 18px;
    bottom: 18px;
    background: rgba(6, 12, 20, 0.88);
    border: 1px solid rgba(216, 179, 106, 0.5);
    border-radius: 18px;
    color: var(--white);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.hero-image-badge strong {
    color: var(--accent);
}

.hero-image-badge span {
    color: #cad4e4;
}

.hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    animation: heroReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.hero-content > *:nth-child(4) { animation-delay: 0.32s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }

.hero-image {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    animation: heroImageReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

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

@keyframes heroImageReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.marquee {
    margin: 0 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(216, 179, 106, 0.9), rgba(236, 206, 146, 0.92));
    box-shadow: 0 12px 30px rgba(216, 179, 106, 0.24);
}

.marquee-track span {
    font-size: 0.96rem;
    letter-spacing: 0.14em;
}

.section-head h2 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    letter-spacing: 0.08em;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.section-head p {
    color: #b5c1d2;
}

.catalog,
.how-we-work,
.faq,
.contacts,
.about-master,
.gallery,
.cat-products,
.other-cats,
.compare-section,
.calculator-section,
.page-cta,
.footer {
    background: transparent;
}

.category-card,
.catalog-cta,
.product-card,
.product-card-full,
.contact-card,
.info-card,
.faq-item,
.step-item,
.cta-box,
.modal-content,
.assistant-panel,
.calc-result-sticky,
.calc-option-content,
.contact-block,
.messengers-large,
.legal-info,
.quality-item,
.care-item,
.payment-scheme,
.payment-methods,
.compare-card,
.compare-summary,
.cat-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    box-shadow: 0 22px 38px rgba(2, 8, 16, 0.28);
    backdrop-filter: blur(12px);
}

.gallery-item,
.master-photo,
.business-card-img,
.card-img,
.pcf-image {
    border-radius: 18px;
    border: 1px solid var(--line);
}

.gallery-item {
    box-shadow: 0 18px 30px rgba(2, 8, 16, 0.34);
}

.gallery-item-overlay {
    background: linear-gradient(to top, rgba(2, 8, 15, 0.92), rgba(2, 8, 15, 0.18));
}

.category-card:hover,
.product-card:hover,
.cat-card:hover,
.contact-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 179, 106, 0.58);
}

.step-num {
    background: rgba(11, 17, 28, 0.82);
    border-color: rgba(216, 179, 106, 0.62);
}

.contacts-address,
.cat-benefits,
.guarantee-main {
    background: linear-gradient(150deg, rgba(216, 179, 106, 0.12), rgba(216, 179, 106, 0.04));
    border: 1px solid rgba(216, 179, 106, 0.3);
    border-radius: 14px;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-line {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.lightbox {
    background: rgba(3, 7, 14, 0.94);
}

.lightbox img {
    border: 1px solid var(--line);
}

.scroll-top {
    background: rgba(10, 16, 27, 0.8);
    border: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(1, 6, 12, 0.4);
}

.tg-float {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(140deg, #2ca5de, #137ab2);
    box-shadow: 0 14px 28px rgba(26, 136, 196, 0.4);
}

.cookie-banner {
    backdrop-filter: blur(18px);
    background: rgba(8, 12, 20, 0.92);
    border-top: 1px solid var(--line);
}

.modal-overlay {
    background: rgba(3, 7, 12, 0.82);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: linear-gradient(165deg, rgba(15, 21, 34, 0.94), rgba(9, 14, 24, 0.96));
}

.form-group input,
.form-group select,
.form-group textarea,
.assistant-form input {
    background: rgba(8, 14, 24, 0.82);
    border-color: rgba(255, 255, 255, 0.16);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.assistant-form input:focus {
    border-color: rgba(216, 179, 106, 0.75);
    box-shadow: 0 0 0 3px rgba(216, 179, 106, 0.16);
}

@media (max-width: 1024px) {
    .hero {
        padding-top: 150px;
    }

    .hero .container {
        gap: 34px;
    }

    .nav {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .header .container {
        align-items: stretch;
        gap: 10px;
    }

    .logo {
        justify-content: center;
    }

    .nav {
        justify-content: center;
        border-radius: 16px;
        padding: 8px 10px;
        gap: 10px;
    }

    .header-phones {
        border-radius: 14px;
        align-items: center;
    }

    .hero {
        padding: 128px 0 72px;
    }

    .hero h1 {
        text-align: center;
    }

    .hero-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image {
        border-radius: 20px;
        padding: 12px;
    }

    .hero-image-badge {
        left: 12px;
        bottom: 12px;
    }

    .marquee {
        margin: 0 12px;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    body::before {
        opacity: 0.03;
    }

    .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
