:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-secondary: #2d3748;
    --color-accent: #3182ce;
    --color-text: #1a202c;
    --color-text-light: #4a5568;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-dark: #edf2f7;
    --color-border: #e2e8f0;
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --max-width-narrow: 720px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.ad-disclosure {
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
}

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

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo:hover {
    color: var(--color-primary-light);
}

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

.nav-list a {
    color: var(--color-text);
    font-weight: 500;
}

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

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width-narrow);
    padding: 60px 24px;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-primary);
}

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

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

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

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

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

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.editorial-section {
    padding: 80px 24px;
    background-color: var(--color-bg);
}

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

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

.editorial-narrow h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.editorial-narrow p {
    margin-bottom: 20px;
    color: var(--color-text-light);
    font-size: 18px;
}

.editorial-narrow blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background-color: var(--color-bg-dark);
    border-left: 4px solid var(--color-accent);
    font-style: italic;
    font-size: 18px;
    color: var(--color-text);
}

.feature-split {
    display: flex;
    min-height: 500px;
}

.feature-image {
    flex: 1;
    position: relative;
}

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

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background-color: var(--color-bg-alt);
}

.feature-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-content p {
    margin-bottom: 16px;
    color: var(--color-text-light);
    font-size: 17px;
}

.services-preview {
    padding: 100px 24px;
    background-color: var(--color-bg);
}

.services-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--color-primary);
}

.services-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

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

.service-card h3 {
    padding: 24px 24px 12px;
    font-size: 22px;
    color: var(--color-primary);
}

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

.service-card .price {
    display: block;
    padding: 0 24px 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
}

.service-card .btn {
    margin: 0 24px 24px;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

.testimonials {
    padding: 100px 24px;
    background-color: var(--color-primary);
    color: #fff;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.testimonials-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.cta-section {
    padding: 100px 24px;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.cta-section p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-section {
    padding: 80px 24px;
    background-color: var(--color-bg);
}

.form-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.main-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

.main-form .btn {
    width: 100%;
}

.footer {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 60px 24px 30px;
}

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

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

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

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

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

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

.footer-col ul a {
    color: #fff;
    opacity: 0.8;
    font-size: 14px;
}

.footer-col ul a:hover {
    opacity: 1;
}

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

.footer-bottom .disclaimer {
    font-size: 12px;
    opacity: 0.6;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.footer-bottom p:last-child {
    font-size: 14px;
    opacity: 0.8;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-secondary);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-content a {
    color: #fff;
    text-decoration: underline;
}

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

.cookie-banner .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.page-header {
    background-color: var(--color-primary);
    color: #fff;
    padding: 60px 24px;
    text-align: center;
}

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

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

.page-content {
    padding: 60px 24px;
}

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

.page-content h2:first-child {
    margin-top: 0;
}

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

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

.page-content ul,
.page-content ol {
    margin: 0 0 20px 24px;
    color: var(--color-text-light);
}

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

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

.service-item {
    display: flex;
    gap: 40px;
    background-color: var(--color-bg-alt);
    border-radius: 12px;
    overflow: hidden;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item-image {
    flex: 0 0 40%;
    min-height: 300px;
}

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

.service-item-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item-content h2 {
    margin-top: 0;
    font-size: 26px;
}

.service-item-content .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    margin: 16px 0;
}

.service-item-content ul {
    margin-bottom: 24px;
}

.contact-grid {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

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

.contact-info h2 {
    margin-top: 0;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 20px;
}

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

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

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

.about-intro-content h2 {
    margin-top: 0;
}

.about-intro-image {
    flex: 0 0 45%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

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

.values-section {
    padding: 80px 24px;
    background-color: var(--color-bg-alt);
}

.values-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.values-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.value-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-bg);
    border-radius: 12px;
}

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

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

.team-section {
    padding: 80px 24px;
}

.team-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.team-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-member {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
}

.team-member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background-color: var(--color-bg-dark);
}

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

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

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

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

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

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

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

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

@media (max-width: 900px) {
    .feature-split {
        flex-direction: column;
    }

    .feature-image {
        height: 300px;
    }

    .feature-content {
        padding: 40px 24px;
    }

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-item-image {
        flex: none;
        min-height: 250px;
    }

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

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

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg);
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-toggle {
        display: flex;
        z-index: 101;
    }

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

    .hero-content p {
        font-size: 18px;
    }

    .editorial-narrow h2,
    .services-preview h2,
    .testimonials h2,
    .cta-section h2 {
        font-size: 28px;
    }

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

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