/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange-primary: #FF6600;
    --orange-dark: #CC5200;
    --orange-light: #FF8533;
    --dark-grey: #333333;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    --gradient-bg: linear-gradient(135deg, var(--orange-primary) 0%, #FF9900 100%);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-grey);
    line-height: 1.6;
    max-width: 1180px;
    margin: 0 auto;
    background-color: var(--light-grey);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--white);
}

h2 {
    font-size: 2rem;
    color: var(--orange-primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--orange-primary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-grey);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--orange-primary);
}

.container {
    padding: 2rem;
}

/* Offer Section (Block 1) */
.offer-section {
    background: var(--gradient-bg), url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.075)' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--white);
    padding: 4rem 2rem;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.offer-section p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.button {
    display: inline-block;
    background-color: var(--white);
    color: var(--orange-primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.button:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Form Section (Block 2) */
.form-section {
    background-color: var(--orange-primary);
    color: var(--white);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: var(--white);
}

.form-section h2:after {
    background-color: var(--white);
}

.form-section form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-section input[type="email"] {
    padding: 1rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-section .button {
    background-color: var(--dark-grey);
    color: var(--white);
    border-color: var(--dark-grey);
    cursor: pointer;
    align-self: center;
}

.form-section .button:hover {
    background-color: var(--white);
    color: var(--orange-primary);
    border-color: var(--white);
}

/* Products Section (Block 3) */
.products-section {
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.product {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.product h3 {
    color: var(--orange-primary);
}

.product .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-grey);
    margin: 1.5rem 0;
}

.product .button {
    background-color: var(--orange-primary);
    color: var(--white);
    border-color: var(--orange-primary);
}

.product .button:hover {
    background-color: transparent;
    color: var(--orange-primary);
}

.article {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--orange-primary);
    margin-top: 3rem;
}

.article h3 {
    color: var(--orange-primary);
    font-size: 1.75rem;
}

/* Specialists Section (Block 4) */
.specialists-section {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specialists-section h2 {
    color: var(--white);
}

.specialists-section h2:after {
    background-color: var(--orange-primary);
}

.specialists-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.specialist {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--orange-primary);
}

.specialist:hover {
    transform: translateY(-10px);
}

.specialist h3 {
    color: var(--orange-primary);
}

/* Reviews Section (Block 5) */
.reviews-section {
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.review {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review:before {
    content: """;
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 6rem;
    color: var(--orange-light);
    opacity: 0.2;
    line-height: 1;
}

.review h3 {
    color: var(--orange-primary);
    margin-top: 1rem;
}

/* Contact Section (Block 6) */
.contact-section {
    background-color: var(--light-grey);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-section iframe {
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer (Block 7) */
.footer-section {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-top: 3rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .offer-section {
        padding: 3rem 1.5rem;
    }

    .offer-section p {
        font-size: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    .products-container,
    .specialists-container,
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .product,
    .specialist,
    .review {
        width: 100%;
        max-width: 100%;
    }

    .form-section form {
        width: 100%;
    }

    .button {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding: 1rem;
    }

    .offer-section {
        min-height: 380px;
        padding: 2rem 1rem;
    }

    .product .price {
        font-size: 1.25rem;
    }

    .article h3 {
        font-size: 1.5rem;
    }
}
