:root {
    --primary: #1a3a5c;
    --secondary: #2d6a9f;
    --accent: #4a9fd4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-warm: #fef9f3;
    --bg-cool: #f0f7ff;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: rgba(26, 58, 92, 0.08);
    --shadow-lg: rgba(26, 58, 92, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hero-editorial h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 680px;
}

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

.hero-image-wrap {
    margin: 48px 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
}

.hero-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.article-section {
    padding: 60px 0;
}

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

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

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

.article-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 32px 0 16px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-content ul {
    margin: 20px 0 20px 24px;
}

.article-content ul li {
    margin-bottom: 10px;
}

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

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

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
}

.cta-inline {
    display: inline-flex;
    align-items: center;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    margin: 20px 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-inline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.cta-section {
    background: var(--primary);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    font-size: 1.1rem;
}

.cta-section .cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 40px 0;
}

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--white);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-lg);
}

.service-card-image {
    height: 180px;
    margin: -28px -28px 20px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: var(--bg-light);
}

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

.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.service-card .cta-inline {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 12px 20px;
}

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

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 0 0 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 48px 0;
    background: var(--bg-cool);
}

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

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

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

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

.contact-info {
    flex: 0 0 320px;
}

.contact-info h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
}

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

.contact-detail strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

.contact-form-wrap {
    flex: 1;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    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(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 106, 159, 0.1);
}

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

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 24px;
}

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

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

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

.disclaimer {
    background: var(--bg-warm);
    padding: 24px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-left: 4px solid var(--accent);
}

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

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

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.cookie-text a {
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

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

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

.cookie-reject {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

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

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-cool);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.thanks-page h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-page p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

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

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 32px 0 16px;
}

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

.legal-content ul {
    margin: 16px 0 16px 24px;
}

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

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

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    nav.active {
        display: block;
    }

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

    nav ul li {
        width: 100%;
    }

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

    nav ul li a::after {
        display: none;
    }

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

    .hero-image-wrap img {
        height: 280px;
    }

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

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

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

    .contact-info {
        flex: none;
    }

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

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

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

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

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

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container,
    .container-narrow {
        padding: 0 16px;
    }

    .hero-editorial {
        padding: 48px 0 40px;
    }

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

    .article-section {
        padding: 40px 0;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .inline-image img {
        height: 200px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}
