/* Fresh & Organic Theme Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

:root {
    --primary-green: #2e7d32;
    /* Forest Green */
    --leaf-green: #43a047;
    /* Fresh Leaf */
    --light-green: #e8f5e9;
    /* Very pale green bg */
    --earth-dark: #3e2723;
    /* Dark soil/brown for text contrast */
    --fresh-white: #ffffff;

    --accent-orange: #f57c00;
    /* Carrot/Vitamin accent */
    --accent-red: #d32f2f;
    /* Tomato accent */

    --text-main: #2c3e50;
    --text-muted: #607d8b;

    --shadow-card: 0 10px 40px -10px rgba(46, 125, 50, 0.15);
    --shadow-hover: 0 20px 50px -15px rgba(46, 125, 50, 0.25);

    --radius-lg: 24px;
    --radius-md: 12px;
}

body {
    background-color: #fcfdfc;
    /* Removed static radial gradient in favor of JS canvas */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: none;
    /* User requested to remove logo from header */
}

.logo-img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Header Contacts */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    /* Take full width to justify content correctly if logo is gone */
    justify-content: flex-end;
    /* Push everything to right */
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-contact-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.header-contact-link:hover {
    color: var(--primary-green);
}

/* Hide contacts on very small screens to fit logo and button */
@media (max-width: 600px) {
    .header-contacts {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--leaf-green), var(--primary-green));
    color: white;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.4);
}

.btn-outline {
    background: white;
    border: 2px solid var(--leaf-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--light-green);
    transform: translateY(-3px);
}

.btn-cabinet {
    font-size: 0.9rem;
    padding: 10px 24px;
    background: var(--primary-green);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.btn-cabinet:hover {
    background: var(--leaf-green);
    color: white;
}

.btn-telegram {
    font-size: 0.9rem;
    padding: 10px 24px;
    background: #0088cc;
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
    margin-right: 15px;
    /* Spacing between buttons */
    display: inline-flex;
    align-items: center;
}

.btn-telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    /* Transparent background to see canvas */
    background: transparent;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    text-align: center;
    /* Center everything including title */
    margin: 0 auto;
    /* Center the block itself */
}

.hero-tagline {
    display: inline-block;
    background: rgba(232, 245, 233, 0.8);
    backdrop-filter: blur(5px);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-logo {
    max-width: 250px;
    /* Larger logo */
    height: auto;
    margin: 0 auto 40px auto;
    /* Center and add bottom margin */
    display: block;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--earth-dark);
}

.hero-title span {
    color: var(--leaf-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Info Cards Section */
.info-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--leaf-green), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.info-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: var(--light-green);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--earth-dark);
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.8;
}

.card-text:hover {
    color: var(--primary-green);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--earth-dark);
    color: white;
    text-align: center;
    border-top: 5px solid var(--primary-green);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 40px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid #eee;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text-main);
    min-width: 600px;
}

.price-table th {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.price-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover td {
    background: #fafafa;
}

.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(to bottom, #f1f8e9, rgba(255, 255, 255, 0));
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

.back-link:hover {
    color: var(--primary-green);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .logo-text {
        display: none;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
        align-items: flex-start;
    }

    .hero-logo {
        margin: 0 auto 20px auto;
        max-width: 150px;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}