:root {
    --primary-color: #2C5F2D;
    --primary-dark: #1C3A1D;
    --primary-light: #97BC62;
    --secondary-color: #0C1C0D;
    --light-color: #F4F7F1;
    --dark-color: #111A11;
    --box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1), -6px -6px 12px rgba(255, 255, 255, 0.05);
    --inner-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.neomorphic {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

.neomorphic:hover {
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1), -8px -8px 15px rgba(255, 255, 255, 0.5);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-primary:hover {
    background-image: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    animation: pulse 1.5s infinite;
}

.btn-secondary:hover {
    background-image: linear-gradient(145deg, white, #f5f5f5);
    color: var(--primary-dark);
    animation: pulse-light 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 95, 45, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(44, 95, 45, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 95, 45, 0);
    }
}

@keyframes pulse-light {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 95, 45, 0.4);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(44, 95, 45, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 95, 45, 0);
    }
}

.wave-separator {
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f9f9f9'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: -1px 0;
}

.wave-separator.dark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%232C5F2D'%3E%3C/path%3E%3C/svg%3E");
}

.wave-divider {
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V7.23C0,65.52,268.63,112.77,600,112.77S1200,65.52,1200,7.23V0Z' fill='rgba(44, 95, 45, 0.2)'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 20px 0;
}

.header {
    background-color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo img {
    box-shadow: none;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-list:hover .nav-link:not(:hover) {
    opacity: 0.6;
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    background-color: #f9f9f9;
    padding: 3rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-mosaic {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 2rem;
    padding: 0 1.5rem;
}

.hero-block {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.hero-block:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.hero-text-main {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-image {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    border-radius: 15px;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.1);
}

.hero-text-secondary {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.hero-stat {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.asymmetric {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 3rem;
    align-items: center;
}

.about {
    background-color: #f9f9f9;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(44, 95, 45, 0.05) 25%, transparent 25%), 
                      linear-gradient(225deg, rgba(44, 95, 45, 0.05) 25%, transparent 25%), 
                      linear-gradient(315deg, rgba(44, 95, 45, 0.05) 25%, transparent 25%), 
                      linear-gradient(45deg, rgba(44, 95, 45, 0.05) 25%, transparent 25%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 0, 20px -20px, 0px 20px;
    z-index: 0;
    opacity: 0.5;
}

.about-text {
    z-index: 1;
    position: relative;
}

.food-pyramid {
    text-align: center;
    position: relative;
    z-index: 1;
}

.pyramid-caption {
    font-style: italic;
    margin-top: 0.5rem;
    color: var(--primary-dark);
}

.services {
    background-color: var(--light-color);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.gallery {
    background-color: #f9f9f9;
    text-align: center;
}

.gallery-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.8);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item p {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 600;
}

.transformation {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.before-after {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.before-after-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.before, .after {
    position: relative;
    text-align: center;
}

.before p, .after p {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
}

.testimonial {
    flex-basis: 100%;
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 10px;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial span {
    font-weight: 600;
    color: var(--primary-dark);
}

.plans {
    background-color: #f9f9f9;
    text-align: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.plan-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
    z-index: 2;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-tag {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1rem 0 1.5rem;
}

.plan-features {
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.email-link {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.2);
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

.footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer a {
    color: var(--light-color);
}

.footer a:hover {
    color: var(--primary-light);
}

.footer-chess {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
}

.footer-item {
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.footer-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.logo-item {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.copyright {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .hero-mosaic {
        grid-template-columns: 1fr;
    }
    
    .hero-text-main, .hero-image, .hero-text-secondary, .hero-stat {
        grid-column: 1 / 2;
    }
    
    .hero-image {
        grid-row: 2 / 3;
    }
    
    .hero-text-secondary {
        grid-row: 3 / 4;
    }
    
    .hero-stat {
        grid-row: 4 / 5;
    }
    
    .asymmetric {
        grid-template-columns: 1fr;
    }
    
    .food-pyramid {
        margin-top: 2rem;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .before-after-item {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-chess {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .copyright {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .services-grid, .gallery-two-columns, .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .footer-chess {
        grid-template-columns: 1fr;
    }
    
    .copyright {
        grid-column: 1 / 2;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-block {
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}