:root {
    --primary-color: #2c3e50;
    --secondary-color: #8e44ad;
    --accent-color: #e74c3c;
    --light-bg: #f9f8f6;
    --dark-bg: #1a1a2e;
    --text-dark: #2d2d2d;
    --text-light: #f5f5f5;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --max-content: 720px;
    --max-wide: 1100px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

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

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

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

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

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

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

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

.logo span {
    color: var(--secondary-color);
}

.ad-disclosure {
    background: var(--secondary-color);
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin-left: 16px;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

nav a:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
}

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

.hero-editorial {
    background-color: #2c3e50;
    background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.92), rgba(142, 68, 173, 0.88)), url('https://images.unsplash.com/photo-1475721027785-f74eccf877e2?w=1400&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 24px;
    text-align: center;
    color: var(--text-light);
}

.hero-editorial h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-editorial p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: #c0392b;
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.section {
    padding: 80px 24px;
}

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

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

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

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

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

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

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

.editorial-content h3 {
    font-size: 1.4rem;
    margin: 36px 0 16px;
    color: var(--secondary-color);
}

.inline-image {
    margin: 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #e5e7eb;
}

.inline-image img {
    width: 100%;
    display: block;
}

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--light-bg);
}

.inline-cta {
    background: linear-gradient(135deg, var(--secondary-color), #9b59b6);
    color: var(--text-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin: 48px 0;
    text-align: center;
}

.inline-cta h3 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.inline-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: var(--max-content);
    margin: 0 auto;
}

.service-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.service-item-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #e5e7eb;
}

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

.service-item-content {
    flex: 1;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

.testimonial-block {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 24px 32px;
    margin: 48px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.testimonial-block blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.testimonial-block cite {
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 560px;
    margin: 0 auto;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--card-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

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

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

.contact-info {
    max-width: var(--max-content);
    margin: 0 auto;
}

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

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 24px 24px;
}

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

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

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

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

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

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--text-light);
}

.footer-col 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: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--text-light);
}

.disclaimer {
    background: #f8f4e8;
    border: 1px solid #e8dfc4;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 48px 0;
    font-size: 0.9rem;
    color: #6b5b3c;
}

.disclaimer strong {
    display: block;
    margin-bottom: 8px;
    color: #5a4a30;
}

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

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

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--secondary-color);
    color: var(--text-light);
}

.cookie-accept:hover {
    background: #9b59b6;
}

.cookie-reject {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-reject:hover {
    border-color: var(--text-light);
}

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--text-light);
}

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

.thanks-message {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 32px;
}

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

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

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

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

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

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

.about-hero {
    background-color: #8e44ad;
    background-image: linear-gradient(135deg, rgba(142, 68, 173, 0.9), rgba(44, 62, 80, 0.85)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1400&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 24px;
    text-align: center;
    color: var(--text-light);
}

.about-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.team-member {
    text-align: center;
    max-width: 240px;
}

.team-member-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background-color: #e5e7eb;
}

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

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.team-member p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 12px 16px;
        width: 100%;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .ad-disclosure {
        order: 3;
        margin: 12px 0 0 0;
        flex-basis: 100%;
        text-align: center;
    }

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

    .hero-editorial p {
        font-size: 1.05rem;
    }

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

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

    .stats-row {
        gap: 32px;
    }

    .stat-item {
        min-width: 120px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

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

    .section {
        padding: 60px 24px;
    }
}
