:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --success: #48bb78;
    --error: #e53e3e;
}

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

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

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

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

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

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

.ad-disclosure {
    background-color: var(--bg-dark);
    color: #a0aec0;
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
}

header {
    background-color: var(--bg);
    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: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

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

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

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

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

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

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 80px 0;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 500px;
    opacity: 0.9;
}

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

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

.btn-primary:hover {
    background-color: #dd6b20;
    color: white;
}

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

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

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.section {
    padding: 80px 0;
}

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

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

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

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

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

.section-dark .section-subtitle {
    color: #a0aec0;
}

.editorial-intro {
    padding: 100px 0;
}

.editorial-intro p {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.editorial-intro p:first-of-type::first-letter {
    font-size: 72px;
    float: left;
    line-height: 1;
    margin-right: 12px;
    color: var(--accent);
    font-weight: 700;
}

.inline-image {
    margin: 48px 0;
    background-color: var(--bg-alt);
}

.inline-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.inline-image figcaption {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.split-section {
    display: flex;
    gap: 64px;
    align-items: center;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

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

.insight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 48px;
    border-radius: 12px;
    margin: 48px 0;
}

.insight-box h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.insight-box p {
    font-size: 18px;
    opacity: 0.9;
}

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

.benefit-card {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 280px;
    padding: 32px;
    background-color: var(--bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background-color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

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

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

.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-item {
    display: flex;
    gap: 32px;
    padding: 32px;
    background-color: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.service-item:hover {
    border-color: var(--accent);
}

.service-image {
    flex: 0 0 200px;
    height: 150px;
    background-color: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

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

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary);
}

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

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-section {
    padding: 80px 0;
}

.testimonial-card {
    background-color: var(--bg);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 120px;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 16px;
    color: var(--primary);
}

.testimonial-info span {
    font-size: 14px;
    color: var(--text-light);
}

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

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

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

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

.cta-inline .btn:hover {
    background-color: var(--bg-dark);
    color: white;
}

.form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    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(--accent);
}

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

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

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

.reference-list h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
}

.reference-list ol {
    padding-left: 24px;
}

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

.reference-list a {
    color: var(--secondary);
    word-break: break-all;
}

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

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

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-col a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

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

.footer-col p {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 32px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

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

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

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

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

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

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

.cookie-text {
    flex: 1;
    font-size: 14px;
}

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

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

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

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

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

.cookie-reject {
    background-color: transparent;
    color: white;
    border: 1px solid #4a5568;
}

.cookie-reject:hover {
    background-color: #4a5568;
}

.page-header {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

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

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

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

.content-page h3 {
    font-size: 22px;
    margin: 24px 0 12px;
    color: var(--secondary);
}

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

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    border-radius: 8px;
    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: 18px;
    margin-bottom: 4px;
    color: var(--primary);
}

.contact-details p {
    color: var(--text-light);
}

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

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

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

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

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

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

.citation {
    color: var(--secondary);
    font-size: 12px;
    vertical-align: super;
}

.about-team {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.team-member {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    padding: 32px;
    background-color: var(--bg);
    border-radius: 12px;
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-member span {
    color: var(--text-light);
    font-size: 14px;
}

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

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    nav ul.active {
        display: flex;
    }

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

    .split-section {
        flex-direction: column;
    }

    .split-section.reverse {
        flex-direction: column;
    }

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

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

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

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

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