:root {
    --color-primary: #2D3436;
    --color-secondary: #636E72;
    --color-accent: #C4A77D;
    --color-accent-dark: #A68B5B;
    --color-background: #FDFBF9;
    --color-surface: #FFFFFF;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-border: #E8E4E0;
    --color-overlay: rgba(45, 52, 54, 0.85);
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', Times, serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition-base: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-primary);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.ad-disclosure {
    background-color: var(--color-primary);
    color: #FFFFFF;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.header {
    background-color: var(--color-surface);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition-base);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--color-text);
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.75) 0%, rgba(45, 52, 54, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 650px;
    padding: 40px 0;
}

.hero-content h1 {
    color: #FFFFFF;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

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

.btn-white {
    background-color: #FFFFFF;
    color: var(--color-primary);
}

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

.section {
    padding: 90px 0;
}

.section-alt {
    background-color: var(--color-surface);
}

.section-dark {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.section-dark h2,
.section-dark h3 {
    color: #FFFFFF;
}

.section-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.intro-block {
    display: flex;
    gap: 60px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
    background-color: var(--color-border);
}

.intro-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.problem-section {
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-surface) 100%);
}

.problem-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    flex: 1;
    min-width: 280px;
    padding: 35px;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--color-accent);
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.solution-block {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.solution-image {
    flex: 1;
    min-height: 400px;
    background-color: var(--color-border);
    position: relative;
}

.solution-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-list {
    list-style: none;
    margin-top: 25px;
}

.solution-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1;
    min-width: 320px;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 220px;
    background-color: var(--color-border);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-accent-dark);
    margin: 15px 0;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.service-features li {
    padding: 6px 0;
}

.testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.testimonial {
    display: flex;
    gap: 30px;
    padding: 40px;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.testimonial:nth-child(even) {
    flex-direction: row-reverse;
    background-color: var(--color-background);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--color-border);
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.form-section {
    background-color: var(--color-surface);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--color-background);
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: var(--transition-base);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 167, 125, 0.2);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 15px 0;
    z-index: 90;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.sticky-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-cta p {
    color: #FFFFFF;
    margin: 0;
}

.footer {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.disclaimer {
    background-color: #1a1f20;
    padding: 25px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.references {
    padding: 40px 0;
    background-color: var(--color-surface);
}

.references h3 {
    margin-bottom: 20px;
}

.references ol {
    padding-left: 20px;
}

.references li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.references a {
    word-break: break-all;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 25px 0;
    z-index: 1000;
    display: none;
}

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
}

.cookie-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.cookie-accept:hover {
    background-color: var(--color-accent-dark);
    color: #FFFFFF;
}

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

.cookie-reject:hover {
    background-color: var(--color-border);
}

.page-header {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: #FFFFFF;
    font-size: 2.5rem;
}

.page-content {
    padding: 60px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--color-text-light);
}

.thanks-content {
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 30px;
}

.thanks-content h1 {
    margin-bottom: 20px;
}

.thanks-content p {
    max-width: 500px;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.about-intro {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    background-color: var(--color-border);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.values-section {
    background-color: var(--color-surface);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.value-card {
    flex: 1;
    min-width: 280px;
    padding: 40px 30px;
    text-align: center;
    background-color: var(--color-background);
    transition: var(--transition-base);
}

.value-card:hover {
    box-shadow: var(--shadow-medium);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .intro-block,
    .solution-block,
    .about-intro {
        flex-direction: column;
    }

    .solution-block {
        flex-direction: column-reverse;
    }

    .solution-image {
        min-height: 300px;
    }

    .contact-grid {
        flex-direction: column;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .hero {
        min-height: 70vh;
    }

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

    .section {
        padding: 60px 0;
    }

    .form-container {
        padding: 30px 20px;
    }

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

    .footer-grid {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .testimonial,
    .testimonial:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .sticky-cta-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .service-card {
        min-width: 100%;
    }

    .problem-card {
        min-width: 100%;
    }

    .benefit-item {
        min-width: 100%;
    }
}
