:root {
    --primary: #1a365d;
    --secondary: #2b6cb0;
    --accent: #ed8936;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #718096;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 720px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

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

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

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

nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.nav-cta:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.hero-editorial {
    padding: 160px 24px 100px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(237,137,54,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

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

.hero-editorial h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(237,137,54,0.35);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26,54,93,0.3);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.editorial-section {
    padding: 80px 24px;
}

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

.editorial-content {
    max-width: 720px;
    margin: 0 auto;
}

.editorial-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.editorial-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin: 40px 0 16px;
}

.editorial-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.editorial-content p.highlight {
    font-size: 1.25rem;
    color: var(--dark);
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
}

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

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

.inline-image.wide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

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

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 8px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.service-image svg {
    width: 80px;
    height: 80px;
    color: var(--white);
    opacity: 0.9;
}

.service-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.service-content p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

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

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

.testimonial-block::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: -20px;
    left: 30px;
    color: rgba(255,255,255,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-role {
    opacity: 0.7;
    font-size: 0.9rem;
}

.cta-inline {
    background: linear-gradient(135deg, var(--accent) 0%, #dd6b20 100%);
    color: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius);
    text-align: center;
    margin: 48px 0;
}

.cta-inline h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.cta-inline p {
    margin-bottom: 24px;
    opacity: 0.95;
}

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

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

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    flex: 0 0 56px;
    height: 56px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.benefit-text h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.benefit-text p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.form-section {
    background: var(--light);
    padding: 100px 24px;
}

.form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-wrapper h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.form-wrapper .form-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 36px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

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

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.contact-info {
    max-width: 720px;
    margin: 0 auto;
}

.contact-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

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

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

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

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

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

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

.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.legal-content p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

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

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

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

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

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

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

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

.thanks-content p {
    color: var(--gray);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.about-story {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 0 0 360px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.team-card {
    flex: 0 0 280px;
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.team-card h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 4px;
}

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

.team-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.services-list-page {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.service-detail-icon {
    flex: 0 0 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

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

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

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 16px;
}

.service-detail-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.service-detail-content ul li {
    color: var(--gray);
    margin-bottom: 8px;
}

.service-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 16px;
}

.service-detail-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 40px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light);
}

.process-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.step-number {
    flex: 0 0 56px;
    height: 56px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.step-content h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray);
    margin: 0;
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .service-card {
        flex-direction: column !important;
    }

    .service-image {
        flex: 0 0 auto;
        min-height: 160px;
    }

    .inline-image.wide {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .about-story {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
    }

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

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

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

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

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