:root {
    --primary: #1a365d;
    --secondary: #2b6cb0;
    --accent: #38a169;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-warm: #fffaf0;
    --bg-muted: #edf2f7;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    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(--text-dark);
    background-color: var(--white);
}

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

.narrow-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.ad-disclosure {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--bg-muted);
    padding: 4px 10px;
    border-radius: 3px;
    margin-left: 15px;
}

.nav-main {
    display: flex;
    align-items: center;
}

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

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

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

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

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

.hero-editorial {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.hero-editorial .narrow-content {
    text-align: center;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-image-wrapper {
    margin: 50px 0;
    background-color: var(--bg-muted);
    border-radius: 12px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

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

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

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

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

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

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

.btn-accent:hover {
    background: #2f855a;
    color: var(--white);
}

.section {
    padding: 70px 20px;
}

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

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

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

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

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

h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.editorial-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.inline-image {
    margin: 40px 0;
    background-color: var(--bg-muted);
    border-radius: 8px;
    overflow: hidden;
}

.inline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.inline-image.float-left {
    float: left;
    width: 45%;
    margin: 10px 30px 20px 0;
}

.inline-image.float-right {
    float: right;
    width: 45%;
    margin: 10px 0 20px 30px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.services-editorial {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 280px;
    background-color: var(--bg-muted);
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    margin-bottom: 12px;
}

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

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

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

.service-features li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.testimonials-editorial {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-item {
    padding: 30px;
    background: var(--white);
    border-left: 4px solid var(--secondary);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px var(--shadow);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

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

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

.cta-inline h3 {
    margin-bottom: 15px;
}

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

.form-section {
    background: var(--bg-light);
    padding: 60px 20px;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

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

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

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

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

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

.form-submit {
    text-align: center;
}

.form-submit .btn {
    min-width: 200px;
}

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px;
}

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

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

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.disclaimer {
    background: var(--bg-muted);
    padding: 30px 20px;
    border-top: 1px solid var(--border);
}

.disclaimer p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

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

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

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

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

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

.cookie-text a {
    color: var(--secondary);
}

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

.cookie-buttons .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

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

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

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.content-page .narrow-content h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.content-page .narrow-content h2:first-child {
    margin-top: 0;
}

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

.content-page .narrow-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-page .narrow-content ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 30px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

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

.contact-detail .icon {
    flex: 0 0 24px;
    color: var(--secondary);
    font-weight: bold;
}

.contact-detail span {
    color: var(--text-light);
}

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

.thanks-content h1 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    flex: 0 0 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
}

.value-content h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.value-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .nav-main {
        display: none;
        width: 100%;
        padding-top: 20px;
    }

    .nav-main.active {
        display: block;
    }

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

    .nav-main li {
        border-top: 1px solid var(--border);
    }

    .nav-main a {
        display: block;
        padding: 15px 0;
    }

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

    .hero-image-wrapper img {
        height: 250px;
    }

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

    .service-item.reverse {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        width: 100%;
    }

    .service-image img {
        width: 100%;
    }

    .inline-image.float-left,
    .inline-image.float-right {
        float: none;
        width: 100%;
        margin: 30px 0;
    }

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

    .stats-row {
        gap: 30px;
    }

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