:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent: #38a169;
    --accent-hover: #2f855a;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --max-width: 720px;
    --wide-width: 1100px;
}

* {
    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-dark);
    background-color: var(--text-white);
}

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

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

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

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

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

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

.nav-wrapper {
    background-color: var(--text-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.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-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

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

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

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

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

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

.hero-editorial .lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrapper {
    margin-top: 48px;
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
}

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

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

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

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

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

.section {
    padding: 80px 24px;
}

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

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

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

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

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

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

.editorial-content {
    font-size: 18px;
    line-height: 1.9;
}

.editorial-content p {
    margin-bottom: 24px;
}

.editorial-content h2 {
    font-size: 28px;
    color: var(--primary);
    margin: 48px 0 24px;
    font-weight: 700;
}

.editorial-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin: 36px 0 16px;
    font-weight: 600;
}

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

.inline-image img {
    width: 100%;
    height: 300px;
}

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

.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 32px;
    border-radius: 12px;
    margin: 40px 0;
}

.highlight-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.cta-inline {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.cta-inline p {
    margin-bottom: 20px;
    font-size: 17px;
}

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

.service-card {
    flex: 1 1 300px;
    background-color: var(--text-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    height: 180px;
    background-color: var(--bg-light);
    overflow: hidden;
}

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

.service-content {
    padding: 24px;
}

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

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

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

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

.team-section {
    text-align: center;
}

.team-image {
    max-width: 500px;
    margin: 0 auto 32px;
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 320px;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.value-item {
    flex: 1 1 280px;
    padding: 24px;
    background-color: var(--text-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

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

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

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.contact-info {
    flex: 1 1 300px;
}

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

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail strong {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail p {
    font-size: 16px;
    color: var(--text-dark);
}

.contact-form-wrapper {
    flex: 1 1 400px;
    background-color: var(--text-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--text-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--accent);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: var(--accent-hover);
}

.footer {
    background-color: var(--bg-dark);
    color: #a0aec0;
    padding: 64px 24px 32px;
}

.footer-content {
    max-width: var(--wide-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand .logo {
    color: var(--text-white);
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: #a0aec0;
    font-size: 15px;
}

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

.footer-bottom {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid #2d3748;
    text-align: center;
    font-size: 14px;
}

.disclaimer {
    background-color: #edf2f7;
    padding: 24px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.legal-content {
    font-size: 16px;
    line-height: 1.8;
}

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

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

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

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

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

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

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

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

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

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

.cookie-inner {
    max-width: var(--wide-width);
    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: 14px;
    line-height: 1.6;
}

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

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

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

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

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

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

.cookie-reject:hover {
    background-color: #2d3748;
}

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

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

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

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

    .hero-editorial .lead {
        font-size: 18px;
    }

    .section {
        padding: 60px 24px;
    }

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

    .editorial-content {
        font-size: 16px;
    }

    .editorial-content h2 {
        font-size: 24px;
    }

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

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

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