:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --light: #f7fafc;
    --dark: #1a202c;
    --gray: #718096;
    --border: #e2e8f0;
    --success: #38a169;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

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

.ad-disclosure {
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
}

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

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

.hero-magazine {
    display: flex;
    gap: 30px;
    padding: 50px 0;
}

.hero-main {
    flex: 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 450px;
    background-color: var(--gray);
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
}

.hero-tag {
    background-color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-overlay h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

.hero-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-side-img {
    height: 120px;
    background-color: var(--gray);
    position: relative;
}

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

.hero-side-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-side-content h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 8px;
}

.hero-side-content span {
    font-size: 13px;
    color: var(--gray);
}

.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    margin: 40px 0;
    border-radius: 2px;
}

.magazine-grid {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

.magazine-main {
    flex: 2;
}

.magazine-aside {
    flex: 1;
}

.section-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.article-card {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

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

.article-img {
    width: 200px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--gray);
}

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

.article-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.article-content h3:hover {
    color: var(--accent);
}

.article-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
}

.article-meta {
    font-size: 12px;
    color: var(--gray);
}

.aside-widget {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.aside-widget h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

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

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

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

.aside-list a:hover {
    color: var(--accent);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 0;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-img {
    height: 180px;
    background-color: var(--gray);
    position: relative;
}

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

.service-content {
    padding: 25px;
}

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

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

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.price-period {
    font-size: 14px;
    color: var(--gray);
    font-weight: normal;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    margin: 50px 0;
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #dd6b20;
    transform: scale(1.05);
}

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

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

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

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

.about-intro {
    display: flex;
    gap: 50px;
    padding: 60px 0;
    align-items: center;
}

.about-text {
    flex: 1;
}

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

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

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background-color: var(--gray);
}

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

.stats-row {
    display: flex;
    gap: 30px;
    padding: 50px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 30px 50px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    min-width: 200px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-section {
    padding: 60px 0;
    background-color: var(--white);
}

.team-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    max-width: 280px;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: var(--gray);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-member span {
    font-size: 14px;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.team-member p {
    font-size: 14px;
    color: var(--gray);
}

.contact-layout {
    display: flex;
    gap: 50px;
    padding: 60px 0;
}

.contact-info {
    flex: 1;
}

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

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--gray);
}

.contact-form-section {
    flex: 1.2;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-section h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

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

.form-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #dd6b20;
}

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

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 60px 0;
    background-color: var(--white);
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 30px 0 15px;
}

.legal-content h3 {
    font-size: 20px;
    color: var(--dark);
    margin: 25px 0 12px;
}

.legal-content p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0 15px 25px;
    color: var(--gray);
}

.legal-content li {
    margin-bottom: 8px;
}

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

.thanks-box {
    background-color: var(--white);
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    max-width: 550px;
}

.thanks-icon {
    width: 90px;
    height: 90px;
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 45px;
    color: var(--white);
}

.thanks-box h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.thanks-box p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
}

footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

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

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

.footer-col p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.disclaimer-section {
    background-color: #2d3748;
    padding: 25px 0;
    text-align: center;
}

.disclaimer-section p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

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

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

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

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

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

.cookie-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.cookie-accept:hover {
    background-color: #dd6b20;
}

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

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

.references-section {
    padding: 40px 0;
    background-color: var(--light);
}

.references-section h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
}

.references-list {
    font-size: 13px;
    color: var(--gray);
}

.references-list a {
    color: var(--secondary);
}

.references-list a:hover {
    text-decoration: underline;
}

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

    .hero-sidebar {
        flex-direction: row;
    }

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

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

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

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-sidebar {
        flex-direction: column;
    }

    .hero-overlay h1 {
        font-size: 24px;
    }

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

    .article-img {
        width: 100%;
        height: 200px;
    }

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

    .stats-row {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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