:root {
    --primary: #2c5f7c;
    --secondary: #8b4d6b;
    --accent: #d4a84b;
    --dark: #1a2634;
    --light: #f7f4f0;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-strong: 0 8px 40px rgba(0,0,0,0.12);
}

* {
    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);
    background: var(--light);
}

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

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

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

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

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

.header {
    background: var(--white);
    box-shadow: var(--shadow);
    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);
}

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

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

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

.ad-disclosure {
    background: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 4px;
    margin-left: 16px;
}

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

.hero-editorial {
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero-editorial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-editorial-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px;
    text-align: center;
    color: var(--white);
}

.hero-editorial h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

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

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

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

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

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

.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(--white);
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

.article-block {
    margin-bottom: 48px;
}

.article-block h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.article-block h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.article-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

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

.inline-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    margin: 48px 0;
}

.inline-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

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

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

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.service-card-image {
    height: 200px;
    background-color: var(--secondary);
}

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

.service-card-content {
    padding: 28px;
}

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

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

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

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

.testimonial-section {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

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

.testimonial-card {
    flex: 1 1 calc(33.333% - 22px);
    min-width: 280px;
    background: rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: 12px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
}

.form-section {
    background: var(--white);
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    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(--primary);
}

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

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
}

.contact-block {
    flex: 1 1 200px;
}

.contact-block h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-block p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

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

.about-intro-image {
    flex: 1 1 300px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--primary);
}

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

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    flex: 1 1 calc(50% - 16px);
    min-width: 250px;
    padding: 32px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.value-item p {
    color: var(--text-light);
}

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

.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: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

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

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

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

.disclaimer p {
    margin-bottom: 8px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

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

.cookie-banner.active {
    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-text {
    flex: 1 1 400px;
    font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.legal-content h3 {
    font-size: 1.2rem;
    margin: 32px 0 16px;
    color: var(--primary);
}

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

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

.legal-content li {
    margin-bottom: 8px;
    color: var(--text);
}

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

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

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

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

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

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

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

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

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

.section-dark .stat-number {
    color: var(--accent);
}

.section-dark .stat-label {
    color: rgba(255,255,255,0.7);
}

.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: stretch;
}

.split-content {
    flex: 1 1 400px;
}

.split-image {
    flex: 1 1 350px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--secondary);
    min-height: 350px;
}

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

.reference-list {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    margin-top: 32px;
}

.reference-list h4 {
    margin-bottom: 16px;
    color: var(--dark);
}

.reference-list ol {
    margin-left: 20px;
}

.reference-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reference-list a {
    word-break: break-all;
}

@media (max-width: 768px) {
    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: block;
    }

    .ad-disclosure {
        margin: 16px 0 0;
    }

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

    .hero-editorial-content {
        padding: 80px 24px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

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

    .footer-grid {
        gap: 32px;
    }

    .footer-col {
        flex: 1 1 100%;
    }

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

    .value-item {
        flex: 1 1 100%;
    }
}
