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

:root {
    --primary-color: #1a3b5c;
    --secondary-color: #d84a4a;
    --accent-color: #daa520;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 59, 92, 0.97);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
    display: none;
}

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-accept:hover {
    background-color: #c89619;
}

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

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

.main-header {
    background-color: var(--background-white);
    padding: 1.2rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

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

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

.ad-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    padding: 0.3rem 0.8rem;
    background-color: var(--background-light);
    border-radius: 3px;
}

.hero-asymmetric {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--background-light);
}

.hero-content-offset {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.hero-text-block {
    max-width: 580px;
    margin-left: 8%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-text-block h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.hero-text-block p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image-diagonal {
    position: absolute;
    top: 0;
    right: -5%;
    width: 65%;
    height: 100%;
    transform: skewX(-3deg);
    overflow: hidden;
    background-color: var(--border-color);
}

.hero-image-diagonal img {
    width: 100%;
    height: 100%;
    transform: skewX(3deg) scale(1.2);
    transform-origin: center;
}

.cta-primary {
    display: inline-block;
    padding: 1rem 2.2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background-color: #c23c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 74, 74, 0.3);
}

.intro-overlap {
    margin-top: -80px;
    padding: 4rem 2rem;
    background-color: transparent;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.intro-block-left {
    flex: 1.2;
    background-color: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: 2px;
    transform: translateY(-40px);
}

.intro-block-left h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-block-left p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-block-right {
    flex: 1;
    background-color: var(--background-white);
    padding: 2.5rem;
    border-left: 4px solid var(--accent-color);
    transform: translateY(20px);
}

.intro-block-right p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.link-inline {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.link-inline:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.services-creative {
    padding: 6rem 2rem;
    background-color: var(--background-light);
}

.services-header-offset {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding-left: 15%;
}

.services-header-offset h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-header-offset p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid-asymmetric {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background-color: var(--background-white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    width: calc(33.333% - 1.5rem);
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

.service-offset-1 {
    margin-top: 0;
}

.service-offset-2 {
    margin-top: 50px;
}

.service-offset-3 {
    margin-top: -30px;
}

.service-offset-4 {
    margin-top: 40px;
}

.service-offset-5 {
    margin-top: -20px;
}

.service-offset-6 {
    margin-top: 30px;
}

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

.service-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--border-color);
}

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

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

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.service-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.service-duration {
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-service {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.registration-diagonal {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4d6f 100%);
    transform: skewY(-2deg);
    margin: 4rem 0;
}

.registration-container {
    max-width: 900px;
    margin: 0 auto;
    transform: skewY(2deg);
}

.registration-content {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.registration-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.registration-content p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.registration-form {
    background-color: var(--background-white);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.form-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.form-selected {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.btn-submit:hover {
    background-color: #c23c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 74, 74, 0.3);
}

.btn-submit:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.testimonials-offset {
    padding: 5rem 2rem;
    background-color: var(--background-white);
}

.testimonials-offset h2 {
    text-align: center;
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: 2px;
    width: calc(33.333% - 1.5rem);
    min-width: 280px;
    border-left: 4px solid var(--accent-color);
}

.testimonial-left {
    transform: translateX(-30px);
}

.testimonial-right {
    transform: translateX(30px) translateY(40px);
}

.testimonial-center {
    transform: translateY(-20px);
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card cite {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
}

.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .hero-text-block {
        margin-left: 4%;
    }

    .service-card {
        width: calc(50% - 1rem);
    }

    .testimonial-card {
        width: calc(50% - 1rem);
    }
}

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

    .main-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-asymmetric {
        min-height: 500px;
    }

    .hero-text-block {
        margin-left: 0;
        max-width: 100%;
    }

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

    .hero-image-diagonal {
        width: 100%;
        opacity: 0.3;
    }

    .intro-container {
        flex-direction: column;
        gap: 2rem;
    }

    .intro-block-left,
    .intro-block-right {
        transform: none;
    }

    .services-header-offset {
        padding-left: 0;
    }

    .service-card {
        width: 100%;
        margin-top: 0 !important;
    }

    .testimonial-card {
        width: 100%;
        transform: none !important;
    }

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