:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --secondary: #ed8936;
    --accent: #38a169;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --max-width: 1200px;
    --content-width: 720px;
}

* {
    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);
    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: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.content-narrow {
    max-width: var(--content-width);
    margin: 0 auto;
}

.ad-disclosure {
    background-color: var(--bg-alt);
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.header {
    background-color: var(--bg);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

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

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

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

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    transition: transform 0.3s ease;
}

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

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

.hero-tag {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-image-wrapper {
    margin-top: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-alt);
}

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

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

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: #dd6b20;
    color: white;
    transform: translateY(-2px);
}

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

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

.section {
    padding: 80px 0;
}

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

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

.section-dark .section-title {
    color: white;
}

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

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.article-block h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 3px solid var(--secondary);
}

.article-block h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 16px;
    margin-top: 32px;
}

.article-block p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-block ul,
.article-block ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-block li {
    margin-bottom: 12px;
}

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

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

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-light);
    background-color: var(--bg-alt);
    font-style: italic;
}

.quote-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px;
    border-radius: var(--radius);
    margin: 48px 0;
    position: relative;
}

.quote-block::before {
    content: '"';
    font-size: 120px;
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.quote-block p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 16px;
}

.quote-block cite {
    font-size: 14px;
    opacity: 0.9;
}

.cta-inline {
    background-color: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius);
    margin: 48px 0;
    text-align: center;
    border-left: 4px solid var(--secondary);
}

.cta-inline h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

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

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    background-color: var(--bg);
    border-radius: var(--radius);
    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-lg);
}

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

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

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

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

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

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

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

.testimonial-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    color: white;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.testimonial-card p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-info span {
    font-size: 14px;
    opacity: 0.8;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.benefit-content h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

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

.form-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    padding: 80px 0;
}

.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-wrapper h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-align: center;
}

.form-wrapper .subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    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: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    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;
}

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

.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

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

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

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

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

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

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

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

.references-section {
    background-color: var(--bg-alt);
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.references-list {
    list-style: none;
}

.references-list li {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.references-list li::before {
    content: attr(data-ref);
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.references-list a {
    color: var(--primary);
    word-break: break-all;
}

.disclaimer {
    background-color: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius);
    margin: 48px 0;
    font-size: 13px;
    color: var(--text-light);
    border-left: 4px solid var(--text-light);
}

.disclaimer h4 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 12px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    font-size: 14px;
    min-width: 280px;
}

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

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

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

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

.cookie-accept:hover {
    background-color: #2f855a;
}

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

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

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

.thanks-content h1 {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

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

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

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

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

.legal-content h2 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

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

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
}

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

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

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-details h3 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

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

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

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

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-alt);
}

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

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

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

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

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

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .section-title {
        font-size: 28px;
    }

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

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

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

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