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

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --text: #2c3e50;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --border: #bdc3c7;
    --gray: #7f8c8d;
}

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

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

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

.ad-notice {
    background: #f39c12;
    color: var(--white);
    padding: 8px 20px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

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

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

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

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

.hero-magazine {
    display: flex;
    min-height: 480px;
    background: var(--light-bg);
}

.hero-main {
    flex: 2;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.hero-text {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

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

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

.hero-sidebar {
    flex: 1;
    padding: 40px 30px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-card {
    background-size: cover;
    background-position: center;
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    cursor: pointer;
}

.hero-card h3 {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: 19px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.btn:hover {
    background: #2980b9;
}

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

.btn-accent:hover {
    background: #c0392b;
}

.section-magazine {
    padding: 70px 0;
}

.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--light-bg);
}

.magazine-grid {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.main-column {
    flex: 2.5;
}

.side-column {
    flex: 1;
    background: var(--white);
    padding: 35px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
    border-left: 5px solid var(--secondary);
    padding-left: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    padding-left: 25px;
}

.article-card {
    display: flex;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 280px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.article-content p {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 16px;
}

.price-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
}

.info-box {
    background: var(--light-bg);
    padding: 25px;
    margin-bottom: 25px;
}

.info-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-box p {
    font-size: 15px;
    line-height: 1.6;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.info-list li:last-child {
    border-bottom: none;
}

.two-column-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 40px;
}

.column-text {
    flex: 1;
}

.column-image {
    flex: 1;
}

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

.form-section {
    background: var(--white);
    padding: 40px;
    max-width: 700px;
    margin: 50px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    font-size: 15px;
    font-family: inherit;
}

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

.service-select {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.service-option:hover {
    border-color: var(--secondary);
    background: var(--light-bg);
}

.service-option input[type="radio"] {
    width: auto;
}

.service-option-content {
    flex: 1;
}

.service-option-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.service-option-content p {
    font-size: 14px;
    color: var(--gray);
}

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

footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0 20px;
}

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

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

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

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

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

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column 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: 14px;
}

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

.cookie-banner.show {
    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;
    font-size: 15px;
    line-height: 1.6;
}

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

.cookie-btn {
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.3s;
}

.cookie-btn:hover {
    opacity: 0.9;
}

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

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

.contact-info {
    background: var(--light-bg);
    padding: 35px;
    margin-top: 40px;
}

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

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
}

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

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

.legal-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary);
}

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

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

.legal-content ul {
    margin-bottom: 20px;
    margin-left: 30px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.thanks-container {
    max-width: 700px;
    margin: 100px auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--light-bg);
}

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

.thanks-container p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text);
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    flex: 1 1 calc(50% - 15px);
    background: var(--white);
    padding: 35px;
    min-width: 280px;
}

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

.service-card p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.about-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.about-hero h1 {
    font-size: 48px;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-section p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.values-grid {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.value-item {
    flex: 1;
    background: var(--light-bg);
    padding: 30px;
    min-width: 250px;
}

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

.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 40px 0;
    font-size: 14px;
    line-height: 1.6;
}

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

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

    .side-column {
        position: static;
    }

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

    .article-image {
        width: 100%;
        height: 250px;
    }

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

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

@media (max-width: 768px) {
    nav ul {
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

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