:root {
    --primary: #2c5f7c;
    --primary-dark: #1d4a5f;
    --secondary: #e8a54b;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f7f9fb;
    --bg-dark: #2c3e50;
    --border: #dde4e9;
    --success: #4caf50;
    --error: #e74c3c;
}

* {
    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.3s ease;
}

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

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

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

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

.ad-disclosure {
    background-color: #f0f0f0;
    padding: 8px 15px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

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

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

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

.main-nav {
    display: flex;
    gap: 30px;
}

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

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

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

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

.hero-editorial {
    padding: 80px 0 60px;
    background-color: var(--bg-alt);
}

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

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

.hero-editorial .lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-image-wrapper {
    margin: 40px auto;
    max-width: 900px;
    background-color: #c9d6df;
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

.btn-primary:hover {
    background-color: #d4953f;
    color: #fff;
}

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

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

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

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

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

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

.editorial-section h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.editorial-section h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 35px;
}

.editorial-section p {
    margin-bottom: 20px;
    color: var(--text);
}

.inline-image {
    margin: 35px 0;
    background-color: #d1dce5;
    border-radius: 6px;
    overflow: hidden;
}

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

.inline-image.small {
    max-width: 500px;
}

.inline-image.float-left {
    float: left;
    margin-right: 30px;
    margin-bottom: 15px;
    max-width: 350px;
}

.inline-image.float-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 15px;
    max-width: 350px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(50% - 25px);
    min-width: 280px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
}

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

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

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

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

.service-card .btn {
    width: 100%;
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

.testimonial-block {
    background-color: var(--bg);
    border-left: 4px solid var(--secondary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.testimonial-block p {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-block .author {
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

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

.cta-inline h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-inline p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

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

.cta-inline .btn:hover {
    background-color: #d4953f;
}

.contact-section {
    padding: 70px 0;
}

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

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

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-detail .icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail .text {
    flex: 1;
}

.contact-detail .label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 3px;
}

.contact-detail .value {
    color: var(--text-light);
}

.contact-form-wrapper {
    flex: 1;
    min-width: 320px;
}

.contact-form {
    background-color: var(--bg-alt);
    padding: 35px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 25px;
}

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

.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: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.form-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #d4953f;
}

.footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 60px 0 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;
    color: var(--secondary);
}

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.disclaimer {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 6px;
    margin: 40px 0;
    font-size: 14px;
    color: var(--text-light);
    border-left: 3px solid var(--primary);
}

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

.legal-content h1 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

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

.legal-content p,
.legal-content li {
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

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

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

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: #fff;
}

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

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

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

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

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

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
}

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

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

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-accept {
    background-color: var(--secondary);
    color: #fff;
}

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

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

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

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

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

.about-intro-image {
    flex: 1;
    min-width: 300px;
    background-color: #c9d6df;
    border-radius: 8px;
    overflow: hidden;
}

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

.team-values {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.value-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.value-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

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

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

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 15px;
    }

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

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero-editorial h1 {
        font-size: 30px;
    }

    .hero-image-wrapper img {
        height: 250px;
    }

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

    .inline-image.float-left,
    .inline-image.float-right {
        float: none;
        margin: 25px 0;
        max-width: 100%;
    }

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

    .footer-col {
        min-width: 100%;
    }

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