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

:root {
    --primary: #1a4d7a;
    --secondary: #2c6aa0;
    --accent: #f4a127;
    --dark: #0f2537;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

.ad-notice {
    font-size: 11px;
    color: var(--gray);
    background: var(--light);
    padding: 4px 12px;
    border-radius: 4px;
}

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 80px 0;
    margin-left: 8%;
}

.hero-content h1 {
    font-size: 52px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 700;
}

.hero-content p {
    font-size: 19px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 36px;
}

.hero-image {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%) rotate(8deg);
    width: 620px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

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

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 16px 42px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #d98a1f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244,161,39,0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 16px 42px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s;
    cursor: pointer;
}

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

.section {
    padding: 96px 0;
}

.section-offset {
    padding: 72px 0 96px 0;
    margin-left: 12%;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 52px;
    max-width: 640px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 42px;
    margin-top: 64px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: all 0.4s;
    flex: 1 1 calc(50% - 21px);
    min-width: 320px;
    position: relative;
}

.service-card:nth-child(odd) {
    transform: translateY(24px);
}

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

.service-image {
    width: 100%;
    height: 220px;
    background: var(--light);
    overflow: hidden;
}

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

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

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}

.about-layout {
    display: flex;
    gap: 64px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 420px;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--light);
    transform: rotate(-3deg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

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

.about-text {
    flex: 1.4;
    padding-left: 48px;
}

.about-text h2 {
    font-size: 44px;
    margin-bottom: 24px;
    color: var(--dark);
}

.about-text p {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 22px;
}

.contact-wrapper {
    background: linear-gradient(135deg, var(--light) 0%, #e8eef3 100%);
    border-radius: 24px;
    padding: 72px;
    display: flex;
    gap: 84px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 38px;
    margin-bottom: 32px;
    color: var(--dark);
}

.info-item {
    margin-bottom: 28px;
}

.info-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.info-item p {
    font-size: 17px;
    color: var(--dark);
}

.contact-form {
    flex: 1.2;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 64px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 19px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.disclaimer {
    background: #fff3e0;
    border-left: 4px solid var(--accent);
    padding: 24px;
    margin: 48px 0;
    border-radius: 8px;
}

.disclaimer p {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 24px;
    box-shadow: 0 -4px 24px 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: 32px;
}

.cookie-text {
    flex: 1;
    font-size: 15px;
}

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

.cookie-buttons button {
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.legal-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 64px 24px;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 42px;
    margin-bottom: 18px;
}

.legal-content p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 18px;
    padding-left: 32px;
}

.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 24px;
}

.thanks-content {
    max-width: 620px;
}

.thanks-content h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 24px;
}

.thanks-content p {
    font-size: 19px;
    color: var(--gray);
    margin-bottom: 38px;
}

.checkmark {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px auto;
    font-size: 48px;
    color: var(--white);
}

@media (max-width: 1024px) {
    .hero-image {
        width: 480px;
        height: 380px;
        right: -80px;
    }

    .about-layout {
        flex-direction: column;
    }

    .about-image {
        min-width: 100%;
        transform: rotate(0);
    }

    .about-text {
        padding-left: 0;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 48px;
    }

    .footer-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image {
        display: none;
    }

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

    .service-card:nth-child(odd) {
        transform: translateY(0);
    }

    .section-offset {
        margin-left: 0;
    }

    .cookie-content {
        flex-direction: column;
    }
}
