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

:root {
    --primary: #1a4d7c;
    --secondary: #2c7bb6;
    --accent: #f39c12;
    --text: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --gray: #7f8c8d;
    --dark: #34495e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

.nav-wrapper {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

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

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

.ad-disclosure {
    font-size: 0.75rem;
    color: var(--gray);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-alt {
    background: var(--light);
    padding: 5rem 0;
}

.section-white {
    background: var(--white);
    padding: 5rem 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: var(--light);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

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

.services-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-width: 300px;
    height: 250px;
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
}

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

.service-content {
    flex: 1.5;
}

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

.service-price {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    margin: 1rem 0;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.form-section {
    background: var(--white);
    padding: 5rem 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light);
    padding: 3rem;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

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

.btn-submit:hover {
    background: var(--primary);
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-block:nth-child(even) {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    height: 350px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-item p {
    color: var(--text);
    line-height: 1.8;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.thanks-container {
    text-align: center;
    padding: 8rem 0;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

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

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

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

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

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

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

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

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

.btn-cookie:hover {
    opacity: 0.9;
}

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

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

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

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

    .service-item,
    .service-item:nth-child(even),
    .about-block,
    .about-block:nth-child(even) {
        flex-direction: column;
    }

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