:root {
    --primary: #2c5364;
    --secondary: #203a43;
    --accent: #0f2027;
    --text: #333;
    --text-light: #666;
    --bg: #fafafa;
    --bg-alt: #f0f4f8;
    --white: #fff;
    --border: #e1e5e9;
    --success: #28a745;
    --cta: #d35400;
    --cta-hover: #e67e22;
}

* {
    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);
}

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

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

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

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

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

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--accent);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    text-align: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

nav ul li a {
    color: var(--text);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

nav ul li a:hover {
    color: var(--cta);
}

.hero-editorial {
    background-color: #203a43;
    background-image: linear-gradient(135deg, rgba(15, 32, 39, 0.9), rgba(44, 83, 100, 0.85)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.3;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

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

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

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.article-flow {
    padding: 60px 20px;
}

.article-flow p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-flow h2 {
    font-size: 1.8rem;
    margin: 50px 0 20px;
    color: var(--primary);
}

.article-flow h3 {
    font-size: 1.4rem;
    margin: 35px 0 15px;
    color: var(--secondary);
}

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

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

.inline-image figcaption {
    padding: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.inline-cta {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
    border-left: 4px solid var(--cta);
}

.inline-cta p {
    margin-bottom: 15px;
}

.quote-block {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 40px 0;
    background: var(--white);
    font-style: italic;
    font-size: 1.15rem;
}

.quote-block cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

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

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

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

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

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

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

.testimonial-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 60px 0;
}

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

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary);
}

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

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

.contact-detail-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-detail-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    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: var(--cta);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

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

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

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
    font-size: 0.85rem;
}

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

.disclaimer {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.references {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.references h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.references ol {
    padding-left: 20px;
}

.references li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

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

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

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

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

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

.cookie-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

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

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.legal-content h2 {
    font-size: 1.5rem;
    margin: 35px 0 15px;
    color: var(--primary);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 25px 0 10px;
    color: var(--secondary);
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.legal-content ul {
    margin: 15px 0 15px 25px;
}

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

.thanks-page {
    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: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--white);
}

.thanks-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

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

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

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

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

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

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

.value-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

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

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

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

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero-editorial h1 {
        font-size: 2rem;
    }

    .hero-editorial .lead {
        font-size: 1.1rem;
    }

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

    .footer-section {
        flex: 1 1 100%;
    }

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