:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d54;
    --secondary: #e8a849;
    --accent: #4a9b8c;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg: #fafbfc;
    --bg-alt: #f0f4f7;
    --white: #ffffff;
    --border: #dce3e8;
    --shadow: rgba(45, 90, 123, 0.08);
    --shadow-strong: rgba(45, 90, 123, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

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

.ad-disclosure {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
}

.header-main {
    padding: 16px 0;
}

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

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

.logo span {
    color: var(--secondary);
}

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

nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--primary-dark);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 680px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

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

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

.section {
    padding: 80px 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.8);
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

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

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

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow-strong);
}

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

.feature-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 14px);
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.service-image {
    height: 200px;
    background-color: var(--bg-alt);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: var(--text);
}

.service-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 14px;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-alt);
    min-height: 420px;
}

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

.about-content {
    flex: 1;
}

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

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 17px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 6px;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-text {
    font-size: 17px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-alt);
    overflow: hidden;
}

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

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.testimonial-info p {
    font-size: 14px;
    color: var(--text-light);
}

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

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 17px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.contact-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 40px var(--shadow);
}

.form-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-card > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 123, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-col:first-child {
    flex: 1.5;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--secondary);
}

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

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

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

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.disclaimer {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 40px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 20px var(--shadow-strong);
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}

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

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

.cookie-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.cookie-reject {
    background: var(--bg-alt);
    color: var(--text);
}

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

.page-header {
    background: var(--primary);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.content-page {
    padding: 60px 0;
}

.content-page h2 {
    font-size: 26px;
    margin: 40px 0 16px;
    color: var(--text);
}

.content-page h3 {
    font-size: 20px;
    margin: 32px 0 12px;
    color: var(--text);
}

.content-page p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-page ul {
    margin: 16px 0 16px 24px;
    color: var(--text-light);
}

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

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

.thanks-content {
    max-width: 560px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.thanks-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text);
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.cta-section {
    text-align: center;
    padding: 80px 24px;
}

.cta-section h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.inline-cta {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.inline-cta h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.inline-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.team-member {
    flex: 1;
    min-width: 260px;
    text-align: center;
}

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

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

.team-member h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.team-member p {
    color: var(--text-light);
    font-size: 15px;
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow);
}

.method-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.method-content p {
    color: var(--text-light);
    font-size: 15px;
}

@media (max-width: 992px) {
    .about-layout,
    .contact-layout {
        flex-direction: column;
    }

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

    .service-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 20px var(--shadow);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

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

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-grid {
        gap: 32px;
    }

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