:root {
    --primary: #2d5a87;
    --secondary: #e8a54b;
    --dark: #1a2e3d;
    --light: #f9f7f4;
    --accent: #4a9c7d;
    --text: #3d3d3d;
    --muted: #6b7c8a;
    --white: #ffffff;
}

* {
    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: var(--light);
}

.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: relative;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: 0.3s;
}

.hero-editorial {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1e4060 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: rgba(255,255,255,0.03);
    transform: rotate(15deg);
}

.hero-editorial h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

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

.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

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

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

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

.article-section h2 {
    font-size: 1.9rem;
    color: var(--dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.article-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
}

.inline-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

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

.inline-image svg {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.highlight-box {
    background: linear-gradient(135deg, #fef9f3 0%, #fff5eb 100%);
    border-left: 4px solid var(--secondary);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: var(--dark);
}

.inline-cta {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 48px 0;
}

.inline-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

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

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 40px 0;
}

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

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

.service-card .age-tag {
    display: inline-block;
    background: var(--light);
    color: var(--muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

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

.service-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.testimonial-block {
    background: var(--dark);
    color: var(--white);
    padding: 48px;
    border-radius: 16px;
    margin: 48px 0;
    position: relative;
}

.testimonial-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-block blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-block cite {
    font-style: normal;
    font-size: 0.95rem;
    opacity: 0.8;
}

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

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

.stat-item .number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

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

.form-section {
    background: linear-gradient(180deg, var(--light) 0%, #e8e4df 100%);
    padding: 80px 24px;
}

.form-container {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--dark);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,90,135,0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: var(--dark);
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

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

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

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    max-width: 1100px;
    margin: 0 auto;
}

.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(232,165,75,0.4);
    z-index: 99;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-cta:hover {
    transform: scale(1.05);
}

.sticky-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

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

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

.cookie-inner p {
    flex: 1;
    font-size: 0.9rem;
    margin: 0;
}

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

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

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

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

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

.cookie-btn:hover {
    opacity: 0.85;
}

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

.page-header h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

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

.content-page {
    padding: 60px 24px;
    background: var(--white);
}

.content-page h2 {
    font-size: 1.6rem;
    color: var(--dark);
    margin: 40px 0 16px;
}

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

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

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

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

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 40px 0;
}

.team-member {
    flex: 1 1 calc(33% - 22px);
    min-width: 240px;
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

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

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

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.contact-item {
    flex: 1 1 200px;
}

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

.contact-item p {
    color: var(--text);
    margin: 0;
}

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

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

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

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

.thanks-content p {
    color: var(--muted);
    margin-bottom: 24px;
}

.values-list {
    margin: 40px 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

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

.value-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

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

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    nav.active {
        display: flex;
    }

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

    .stats-row {
        gap: 32px;
    }

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

    .form-container {
        padding: 32px 24px;
    }

    .testimonial-block {
        padding: 32px;
    }

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

    .sticky-cta {
        bottom: 80px;
    }
}
