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

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --light: #f1f1f1;
    --dark: #0f0f0f;
    --text: #333;
    --border: #ddd;
}

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

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

.ad-notice {
    background: #fff3cd;
    padding: 8px 15px;
    text-align: center;
    font-size: 13px;
    color: #856404;
    border-bottom: 1px solid #ffeaa7;
}

header {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    padding: 8px 0;
}

nav a:hover {
    color: var(--accent);
}

.hero-magazine {
    display: flex;
    min-height: 600px;
    background: white;
    margin-bottom: 40px;
}

.hero-left {
    flex: 1.2;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
}

.hero-right {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent, rgba(26,26,46,0.3));
}

.hero-left h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-left p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 550px;
}

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

.cta-primary:hover {
    background: #d63651;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.magazine-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.magazine-main {
    flex: 2;
    min-width: 400px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 300px;
}

.content-block {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.content-block h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.3;
}

.content-block h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.content-block p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.image-block {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 25px 0;
    background-color: #e0e0e0;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateX(5px);
}

.service-image {
    width: 200px;
    height: 180px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: #d0d0d0;
}

.service-content {
    padding: 25px;
    flex: 1;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-content p {
    font-size: 15px;
    margin-bottom: 15px;
    color: #555;
}

.service-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    margin-top: 10px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.sidebar-card li:last-child {
    border-bottom: none;
}

.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.form-section h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 32px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
}

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

.testimonials {
    background: white;
    padding: 50px 40px;
    margin: 40px 0;
    border-radius: 8px;
}

.testimonial-item {
    padding: 25px;
    background: var(--light);
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 16px;
}

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

.columns-2 {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

.full-width-section {
    background: var(--primary);
    color: white;
    padding: 70px 50px;
    margin: 50px 0;
    text-align: center;
}

.full-width-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.full-width-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.contact-info p::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.footer-column h4 {
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 18px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #888;
}

.disclaimer {
    background: #fff9e6;
    border-left: 4px solid #ffa500;
    padding: 20px 25px;
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    color: white;
    padding: 25px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

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

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

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

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

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

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

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

.cookie-btn:hover {
    transform: translateY(-2px);
}

.legal-content {
    background: white;
    padding: 50px;
    border-radius: 8px;
    max-width: 900px;
    margin: 30px auto;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary);
}

.legal-content h2 {
    font-size: 26px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--secondary);
}

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

.legal-content ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

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

.thanks-box {
    background: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
}

.thanks-box h1 {
    color: var(--accent);
    font-size: 42px;
    margin-bottom: 20px;
}

.thanks-box p {
    font-size: 18px;
    margin-bottom: 30px;
}

.reference {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin: 0 2px;
    cursor: pointer;
}

.reference:hover {
    text-decoration: underline;
}

.references-section {
    background: var(--light);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.references-section h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.references-section ol {
    list-style-position: inside;
}

.references-section li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.references-section a {
    color: #0066cc;
    word-break: break-all;
}

@media (max-width: 768px) {
    .hero-magazine {
        flex-direction: column;
    }

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

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

    .service-card {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    nav {
        display: none;
    }

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

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