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

:root {
    --primary: #1a5f7a;
    --secondary: #f4a261;
    --accent: #e76f51;
    --dark: #2d3142;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

.nav-wrapper {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 50px 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
}

.nav-wrapper nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-wrapper a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
}

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

.ad-notice {
    font-size: 0.75rem;
    color: var(--gray);
    padding: 5px 12px;
    background: var(--light);
    border-radius: 20px;
    white-space: nowrap;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 60%;
    height: 120%;
    background-color: var(--primary);
    transform: rotate(8deg);
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-text {
    max-width: 550px;
    margin-left: 60px;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px 100px 20px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary);
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-image {
    position: absolute;
    right: 100px;
    bottom: 80px;
    width: 450px;
    height: 350px;
    border-radius: 30px 30px 30px 100px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    transform: rotate(4deg);
    background-color: var(--light);
}

.cta-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.section-offset {
    padding: 120px 20px;
    position: relative;
}

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

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s;
}

.service-card:nth-child(odd) {
    transform: rotate(-1deg) translateY(20px);
}

.service-card:nth-child(even) {
    transform: rotate(1deg) translateY(-20px);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--primary);
}

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

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 20px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--secondary);
    transform: rotate(-1deg);
}

.image-block {
    width: 100%;
    height: 400px;
    border-radius: 30px 100px 30px 30px;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
    background-color: var(--light);
}

.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.split-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.split-image {
    flex: 1;
    height: 450px;
    border-radius: 100px 20px 20px 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: rotate(3deg);
    background-color: var(--light);
}

.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 100px 20px;
    margin: 80px 0;
    border-radius: 50px 50px 0 0;
    position: relative;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 30px 30px 30px 100px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
}

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

.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 var(--light);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.testimonial-block {
    background: var(--light);
    padding: 50px 40px;
    border-radius: 20px 100px 20px 20px;
    margin: 60px 0;
    transform: rotate(1deg);
}

.testimonial-block p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
}

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

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 50px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

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

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

.footer-section a {
    color: var(--white);
    transition: color 0.3s;
}

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

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

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px 20px 100px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    transform: rotate(-1deg);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--gray);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 25px 20px;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

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

.cookie-banner p {
    max-width: 800px;
    font-size: 0.95rem;
}

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

.cookie-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

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

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

.page-header {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray);
}

.page-content ul {
    margin: 20px 0 20px 30px;
    color: var(--gray);
}

.page-content ul li {
    margin-bottom: 12px;
    line-height: 1.7;
}

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

.thanks-box {
    text-align: center;
    max-width: 600px;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 30px 100px 30px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
}

.thanks-box h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
}

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

.disclaimer {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    margin: 60px 0;
    border-left: 5px solid var(--secondary);
}

.disclaimer p {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .hero-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 40px;
    }

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

    .nav-wrapper {
        top: 15px;
        right: 15px;
        padding: 15px 20px;
    }
}

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

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

    .nav-wrapper nav {
        flex-direction: column;
        gap: 10px;
    }

    .service-card:nth-child(odd),
    .service-card:nth-child(even) {
        transform: none;
    }

    .cookie-banner.active {
        flex-direction: column;
    }
}
