:root {
    --primary: #2c4a6e;
    --secondary: #5a8f7b;
    --accent: #c9a857;
    --bg-light: #f8f6f2;
    --bg-dark: #1a2634;
    --text-dark: #2d3748;
    --text-light: #f7f7f7;
    --text-muted: #6b7280;
    --border: #e2e0dc;
    --card-bg: #ffffff;
    --shadow: rgba(44, 74, 110, 0.08);
}

* {
    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(--bg-light);
}

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: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    background: var(--card-bg);
    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: 16px 24px;
    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-muted);
    background: #fff9e6;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #f0e6c8;
}

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

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

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

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

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

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

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

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

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

.editorial-section:nth-child(even) {
    background: var(--card-bg);
}

.editorial-section h2 {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.editorial-section h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 32px 0 16px;
}

.editorial-section p {
    margin-bottom: 20px;
}

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

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

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

.cta-inline {
    background: var(--primary);
    color: var(--text-light);
    padding: 32px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

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

.cta-inline p {
    margin-bottom: 20px;
    opacity: 0.9;
}

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

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

.btn-primary:hover {
    background: #b8973f;
    color: var(--text-dark);
}

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

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

.btn-light {
    background: var(--text-light);
    color: var(--primary);
}

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

.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(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    transition: box-shadow 0.3s ease;
}

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

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

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

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

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.card-image {
    height: 180px;
    background-color: var(--border);
    margin: -28px -28px 20px -28px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

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

.testimonial-block {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 48px;
    border-radius: 8px;
    margin: 48px 0;
}

.testimonial-block blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-block cite {
    font-style: normal;
    opacity: 0.8;
}

.form-section {
    background: var(--card-bg);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin: 40px 0;
}

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

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

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

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

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.95rem;
}

footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 24px;
}

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

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

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

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

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

.footer-col a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--text-light);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.disclaimer-section {
    background: #f5f3ef;
    padding: 32px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 4px solid var(--accent);
}

.disclaimer-section h4 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-inner p {
    flex: 1 1 400px;
    font-size: 0.95rem;
}

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

.cookie-buttons button {
    padding: 10px 24px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    transition: all 0.2s ease;
}

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

.cookie-accept:hover {
    background: #b8973f;
}

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

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

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

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

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

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

.thanks-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3650 100%);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

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

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

.content-page {
    padding: 60px 0;
    background: var(--card-bg);
}

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

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

.content-page p {
    margin-bottom: 16px;
}

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

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

.contact-info-block {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 8px;
    margin: 32px 0;
}

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

.contact-info-block p {
    margin-bottom: 12px;
}

.contact-info-block strong {
    color: var(--text-dark);
}

.references-section {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 8px;
    margin-top: 40px;
}

.references-section h4 {
    color: var(--primary);
    margin-bottom: 16px;
}

.references-section ol {
    padding-left: 24px;
}

.references-section li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.references-section a {
    color: var(--secondary);
    word-break: break-all;
}

.about-feature {
    display: flex;
    gap: 40px;
    margin: 48px 0;
    align-items: center;
}

.about-feature:nth-child(even) {
    flex-direction: row-reverse;
}

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

.about-feature-image {
    flex: 1;
    background-color: var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-height: 280px;
}

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

.stat-row {
    display: flex;
    gap: 32px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1 1 150px;
}

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

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

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

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

    nav {
        width: 100%;
        display: none;
    }

    nav.active {
        display: block;
    }

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

    nav li {
        border-bottom: 1px solid var(--border);
    }

    nav a {
        display: block;
        padding: 12px 0;
    }

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

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

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

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

    .about-feature:nth-child(even) {
        flex-direction: column;
    }

    .footer-grid {
        gap: 32px;
    }

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

    .testimonial-block {
        padding: 32px 24px;
    }

    .form-section {
        padding: 32px 24px;
    }
}
