:root {
    --bg-primary: #fafaf8;
    --bg-secondary: #f5f3f0;
    --text-primary: #2b2b2b;
    --text-secondary: #666;
    --accent-primary: #c9a48d;
    --accent-secondary: #e8d5c4;
    --accent-highlight: #f0e6d2;
    --accent-dark: #3d2d25;
    --border-color: #e8e8e8;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
}

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

a:hover {
    color: var(--accent-dark);
}

.px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

@media (max-width: 768px) {
    .px-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-dark);
    color: white;
    padding: 1.5rem;
    z-index: 1050;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept, .btn-reject {
    padding: 0.75rem 1.5rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: white;
    color: var(--accent-dark);
}

.btn-reject:hover {
    border-color: rgba(255,255,255,0.5);
}

/* Header */
.floating-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-primary) !important;
}

.navbar {
    padding: 0 !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-primary);
    transition: color 0.3s;
    margin: 0 0.5rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-primary);
}

.btn-catalog {
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-catalog:hover {
    background: var(--accent-primary);
    color: white;
}

/* Buttons */
.btn {
    border-radius: 2px;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-filled {
    background: var(--accent-primary);
    color: white;
    border: none;
}

.btn-filled:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(201, 164, 141, 0.25);
}

.btn-outline {
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}

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

.btn-small {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stack {
    position: relative;
    height: 400px;
}

.stack-card {
    position: absolute;
    width: 280px;
    height: 320px;
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

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

.card-1 {
    top: 0;
    right: 0;
    z-index: 3;
}

.card-2 {
    top: 60px;
    right: 80px;
    z-index: 2;
}

.card-3 {
    top: 120px;
    right: 160px;
    z-index: 1;
}

/* Featured Tiles */
.featured-tiles {
    padding: 5rem 0;
    background: white;
}

.tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.tile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.tile:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.tile-2 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.tile-3 {
    grid-column: 2 / 3;
    grid-row: 2;
}

.tile-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tile-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tile-link {
    color: var(--accent-primary);
    font-weight: 500;
    transition: all 0.3s;
}

.tile-link:hover {
    color: var(--accent-dark);
}

.tile-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
}

/* Mini Guide */
.mini-guide {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.mini-guide h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.guide-item {
    background: white;
    padding: 2rem;
    border-radius: 2px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.guide-item h4 {
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.guide-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

/* Product Detail */
.product-detail {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-specs {
    background: white;
    padding: 2rem;
    border-radius: 2px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.product-specs h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-item h5 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.spec-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Catalog */
.catalog-hero {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.catalog-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.catalog-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.catalog-switcher {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.switcher-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.switcher-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.switcher-btn:hover,
.switcher-btn.active {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-section h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--accent-secondary);
    text-align: center;
    border-radius: 2px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--accent-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* About */
.about-hero {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.about-content {
    padding: 4rem 0;
    background: white;
}

.about-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.about-block:last-child {
    border-bottom: none;
}

.about-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.about-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Contact */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.contact-section h1 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(201, 164, 141, 0.1);
    outline: none;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-check-label a {
    color: var(--accent-primary);
}

/* Thank You */
.thank-you-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Legal Pages */
.legal-section {
    padding: 4rem 0;
    background: white;
}

.legal-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.legal-section p, .legal-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

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

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stack {
        height: 300px;
    }

    .stack-card {
        width: 200px;
        height: 250px;
    }

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

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

    .tile-2,
    .tile-3 {
        grid-column: auto;
        grid-row: auto;
    }

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

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .product-card {
        margin-bottom: 1rem;
    }

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