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

:root {
    --primary: #1a4d7a;
    --secondary: #e8744f;
    --accent: #f4a261;
    --dark: #1e1e1e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.ad-notice {
    font-size: 0.75rem;
    color: var(--gray);
    padding: 0.3rem 0.8rem;
    background: #f0f0f0;
    border-radius: 4px;
    margin-left: auto;
    margin-right: 2rem;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.hero-asymmetric {
    margin-top: 80px;
    min-height: 85vh;
    display: flex;
    align-items: stretch;
    position: relative;
}

.hero-text-block {
    width: 58%;
    padding: 5rem 3rem 3rem 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2d6a9f 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.hero-text-block h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text-block p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 520px;
}

.hero-image-block {
    width: 42%;
    position: relative;
    overflow: hidden;
}

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

.cta-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-primary:hover {
    background: #d66340;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 116, 79, 0.4);
}

.cta-secondary {
    display: inline-block;
    padding: 0.9rem 2.3rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.section-offset {
    display: flex;
    min-height: 600px;
    margin: 0;
}

.section-content-left {
    width: 45%;
    padding: 4rem 2rem 4rem 5rem;
    background: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-visual-right {
    width: 55%;
    background: #e5e5e5;
    position: relative;
    overflow: hidden;
}

.section-visual-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-content-right {
    width: 55%;
    padding: 4rem 5rem 4rem 3rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-visual-left {
    width: 45%;
    background: #e5e5e5;
    position: relative;
    overflow: hidden;
}

.section-visual-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.full-width-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.full-width-section.alt {
    background: #fafafa;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 220px;
    background: #e0e0e0;
    overflow: hidden;
}

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

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.testimonial-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 100%);
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 300px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.form-section {
    padding: 5rem 2rem;
    background: var(--light);
}

.form-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #d66340;
    transform: translateY(-2px);
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

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

.disclaimer {
    background: #fff9f0;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    margin: 3rem 0;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.98);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--secondary);
    color: var(--white);
}

.cookie-accept:hover {
    background: #d66340;
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.value-item h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-container {
    max-width: 900px;
    margin: 3rem auto;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-block {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 250px;
}

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

.contact-block p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.thanks-container {
    text-align: center;
    max-width: 700px;
    margin: 5rem auto;
    padding: 4rem 2rem;
}

.thanks-container h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.thanks-container p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav.active {
        display: flex;
    }

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

    .hero-text-block,
    .hero-image-block {
        width: 100%;
        clip-path: none;
    }

    .hero-image-block {
        height: 400px;
    }

    .section-offset {
        flex-direction: column;
    }

    .section-content-left,
    .section-visual-right,
    .section-content-right,
    .section-visual-left {
        width: 100%;
    }

    .section-visual-right,
    .section-visual-left {
        height: 350px;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .testimonial-card {
        flex: 1 1 100%;
    }

    .header-content {
        padding: 1rem;
    }

    .ad-notice {
        margin: 0.5rem 0;
        width: 100%;
        order: -1;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-text-block h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
