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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-accept,
.btn-reject {
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #27ae60;
    color: white;
}

.btn-accept:hover {
    background: #229954;
}

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

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

.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.ad-notice {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3498db;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-primary {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    background-color: #5a6fa8;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.intro-section {
    padding: 80px 0;
    background: white;
}

.intro-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.intro-card {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.intro-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.intro-card p {
    color: #555;
    line-height: 1.7;
}

.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #2c3e50;
}

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

.service-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 250px;
    overflow: hidden;
    background-color: #e9ecef;
}

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

.service-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
}

.service-info p {
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-price {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
}

.btn-select-service {
    width: 100%;
    padding: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-service:hover {
    background: #5568d3;
}

.form-section {
    padding: 80px 0;
    background: white;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 10px;
}

.form-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 36px;
}

.form-wrapper > p {
    color: #555;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input[readonly] {
    background: #e9ecef;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #5568d3;
}

.why-section {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.why-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.why-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 250px;
}

.why-item h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #3498db;
}

.why-item p {
    line-height: 1.7;
    opacity: 0.9;
}

.main-footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #3498db;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-disclaimer {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

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

    .why-item {
        flex: 1 1 100%;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1, h2, h3, h4, p, li, td, th {
        overflow-wrap: anywhere;
        hyphens: auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
    .hero-text, .hero-image, .service-card, .contact-info, .contact-map {
        min-width: 0;
    }
    .legal-content h1 {
        font-size: 32px;
    }
    .thanks-content {
        min-width: 0;
        padding: 40px 24px;
    }
}
