:root {
    --primary: #2d5a8a;
    --primary-dark: #1e3d5c;
    --secondary: #e8b339;
    --accent: #4a9b7f;
    --text: #2c3e50;
    --text-light: #6b7c8f;
    --bg-light: #f8f9fb;
    --bg-warm: #fdfbf7;
    --white: #ffffff;
    --shadow: rgba(45, 90, 138, 0.12);
    --shadow-strong: rgba(45, 90, 138, 0.22);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

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

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

header {
    background: var(--white);
    box-shadow: 0 2px 16px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

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

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

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

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

.hero-editorial h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 28px;
    font-weight: 800;
}

.hero-editorial .lead {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    margin: 50px auto 0;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-strong);
}

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

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.btn-accent {
    display: inline-block;
    background: var(--secondary);
    color: var(--text);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-accent:hover {
    background: #d4a32f;
    transform: translateY(-2px);
}

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

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

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

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

.section-editorial p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.inline-cta {
    margin: 40px 0;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    text-align: center;
}

.inline-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.inline-cta .btn-accent {
    font-size: 1.05rem;
}

.split-section {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-visual {
    flex: 1;
}

.split-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 50px var(--shadow);
}

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

.service-card {
    flex: 1 1 calc(50% - 15px);
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px var(--shadow-strong);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.service-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.service-price .period {
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.testimonial-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.testimonial-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-wrapper {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.15);
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
}

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

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stats-section {
    padding: 80px 0;
    background: var(--bg-warm);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

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

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

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

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

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

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

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

.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: 14px 18px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--white);
}

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

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

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

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
}

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

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

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

.footer-col ul a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-brand {
    max-width: 280px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 30px var(--shadow-strong);
    padding: 24px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text);
}

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

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 0.95rem;
}

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

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

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

.cookie-reject:hover {
    background: var(--bg-light);
}

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: var(--text);
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(232, 179, 57, 0.4);
    transition: all 0.3s;
}

.sticky-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(232, 179, 57, 0.5);
}

.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(165deg, var(--bg-light) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 30px 0 16px;
}

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

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

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text);
}

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

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

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent) 0%, #3d8268 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

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

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

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

.thanks-service {
    background: var(--bg-light);
    padding: 20px 30px;
    border-radius: 12px;
    margin: 30px 0;
    display: inline-block;
}

.thanks-service span {
    color: var(--primary);
    font-weight: 600;
}

.about-story {
    padding: 60px 0;
}

.about-story p {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

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

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

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

.team-member .role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

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

.values-section {
    padding: 80px 0;
}

.values-grid {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.value-item {
    flex: 1;
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow);
}

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

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

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

.value-item p {
    color: var(--text-light);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 999;
    padding: 100px 30px 30px;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-size: 1.3rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.close-nav {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 992px) {
    .hero-editorial h1 {
        font-size: 2.4rem;
    }

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

    .split-section.reverse {
        flex-direction: column;
    }

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

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

    .testimonials-wrapper {
        flex-direction: column;
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 50%;
    }

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

    .footer-grid {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 45%;
    }

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

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-editorial {
        padding: 120px 0 60px;
    }

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

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

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

    .section-editorial h2 {
        font-size: 1.8rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-editorial h1 {
        font-size: 1.7rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .sticky-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .sticky-cta a {
        justify-content: center;
    }
}
