/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter Tight', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

.accent { color: #3f5cff; }

.accent-underline {
    color: #3f5cff;
    position: relative;
    display: inline-block;
}

.accent-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 8px;
    background: url('/static/img/underline.svg') no-repeat center;
    background-size: 100% 100%;
}

.accent-underline-double {
    color: #000;
    position: relative;
    display: inline-block;
}

.accent-underline-double::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 8px;
    background: url('/static/img/underline.svg') no-repeat center;
    background-size: 100% 100%;
}

.accent-underline-double::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 8px;
    background: url('/static/img/underline.svg') no-repeat center;
    background-size: 100% 100%;
}

.accent-underline-bridge {
    color: #000;
    position: relative;
    display: inline-block;
}

.accent-underline-bridge::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 14px;
    background: url('/static/img/underline-original.svg') no-repeat center;
    background-size: 100% 100%;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: #3f5cff;
    color: #fff;
}
.btn-primary:hover {
    background: #2d4aee;
}

.btn-outline {
    background: transparent;
    color: #000;
    border-color: #ccc;
}
.btn-outline:hover {
    border-color: #3f5cff;
    color: #3f5cff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-muted {
    background: rgba(63, 92, 255, 0.3);
    color: #fff;
}
.btn-muted:hover {
    background: rgba(63, 92, 255, 0.5);
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    padding: 0.5rem 0;
    border-bottom: none;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.header.header--scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-logo {
    flex: 0 0 auto;
    margin-left: 0;
}

.header-logo img { height: 24px; }

.header-social {
    margin-right: 0;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.header-nav a .bracket {
    color: #3f5cff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.header-nav a:hover .bracket:first-child {
    transform: translateX(-4px);
}

.header-nav a:hover .bracket:last-child {
    transform: translateX(4px);
}

.header-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.header-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.header-social-icon:hover {
    transform: translateY(-2px);
}

.header-cta { font-size: 0.8rem; border-radius: 10px; padding: 0.5rem 1.2rem; }

/* === Burger Menu === */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 201;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 200;
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-menu-nav a {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    transition: color 0.2s;
}

.mobile-menu-nav a:hover {
    color: #3f5cff;
}

.mobile-menu-cta {
    margin-top: 1rem;
}

/* === Hero === */
.hero {
    background: linear-gradient(180deg, #e8e8e8 0%, #fff 40%, #f5f5f5 100%);
    padding: 1rem 0 0;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.hero-text {
    flex: 1;
    padding-top: 4.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 0.92;
    color: #000;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.hero-cta-hint {
    color: #666;
    font-size: 0.95rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background: url('/static/img/underline.svg') no-repeat left center;
    background-size: 100% auto;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 500;
}

.stat-label {
    font-size: 1rem;
    color: #000;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.hero-image {
    flex: 0 0 520px;
    position: relative;
    margin-top: -1rem;
}

.hero-image img {
    width: 100%;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    max-width: 260px;
    font-size: 0.9rem;
    text-align: center;
}

.hero-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #3f5cff;
}

.hero-card p {
    font-style: italic;
    color: #333;
    line-height: 1.5;
}


/* === Pain Tags === */
.pain-tags {
    padding: 3rem 0;
    background: #fff;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tag {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #3f5cff;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.2s;
}

.tag-active {
    background: #3f5cff;
    color: #fff;
    border-color: #3f5cff;
}

/* === Bridge === */
.bridge {
    padding: 2rem 0 3rem;
    text-align: center;
    background: #fff;
}

.bridge-arrow {
    margin-bottom: 1.5rem;
    text-align: center;
}

.bridge-arrow img {
    height: 60px;
    width: auto;
    display: inline-block;
}

.bridge h2 {
    font-size: 3.125rem;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
}

.bridge-underline {
    position: relative;
    display: inline-block;
}

.bridge-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background: url('/static/img/underline.svg') no-repeat center;
    background-size: 100% auto;
    opacity: 0.6;
}

/* === Services === */
.services {
    padding: 5rem 0;
    background: #f5f5f5;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.services-header h2 {
    font-size: 3.125rem;
    font-weight: 600;
}

.services-header p {
    max-width: 400px;
    color: #474747;
    font-size: 1.25rem;
    line-height: 1.25;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.services-coming .services-grid,
.services-coming {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (max-width: 640px) {
    .service-card {
        padding: 1.5rem;
    }
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    .service-tagline {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    .service-card ul {
        margin-bottom: 1rem;
    }
}

.service-card-muted {
    opacity: 0.5;
}

.badge-coming {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.8rem;
    color: #999;
}

.service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
    line-height: 1.4;
}

.service-card ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.service-card .btn {
    align-self: flex-start;
}

/* === CTA Block === */
.cta-block {
    padding: 4rem 0;
    background: #fff;
}

.cta-card {
    background: #474747;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: #fff;
}

.cta-card h2 {
    font-size: 3.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-card p,
.service-page-content .cta-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-card .btn.btn-primary {
    color: #fff;
}

.cta-card .btn.btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.cta-card .btn.btn-outline:hover {
    border-color: #fff;
}

.cta-row span {
    color: rgba(255,255,255,0.6);
}

/* === About / Timeline === */
.about {
    padding: 5rem 0;
    background: #fff;
}

.about-title {
    font-size: 3.125rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.timeline-arrow {
    margin-bottom: 1.5rem;
}

.timeline-arrow img {
    width: 500px;
    max-width: 40%;
    height: auto;
}

.timeline {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.timeline-item {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 0.5rem;
}

.timeline-bar {
    height: 6px;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.timeline-company {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-item ul {
    list-style: disc;
    padding-left: 1rem;
}

.timeline-item li {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.3rem;
}

/* === Corporate Path === */
.corp-path {
    padding: 5rem 0;
    background: #f5f5f5;
}

.corp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 2rem;
}

.corp-header h2 {
    font-size: 3.125rem;
    font-weight: 600;
    line-height: 1.06;
    color: #000;
}

.corp-header p {
    color: #474747;
    max-width: 400px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.corp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.corp-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.corp-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    display: block;
    transition: box-shadow 0.2s;
}

.corp-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.corp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.corp-company {
    color: #3f5cff;
    font-weight: 600;
}

.corp-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.corp-arrow svg {
    width: 32px;
    height: 32px;
}

.corp-desc {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.corp-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    align-items: start;
}

.corp-metrics > div {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.corp-metrics strong {
    font-size: 1.1rem;
    display: block;
    line-height: 1.2;
}

.corp-metrics small {
    font-size: 0.8rem;
    color: #888;
    display: block;
    line-height: 1.3;
}

/* === Cases === */
.cases {
    padding: 5rem 0;
    background: #fff;
}

.cases-header {
    margin-bottom: 3rem;
}

.cases-header h2 {
    font-size: 3.125rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.cases-header p {
    color: #474747;
    font-size: 1.25rem;
    line-height: 1.4;
    max-width: 600px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cases-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.case-card {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 2rem;
}

.case-num {
    font-family: 'Inter Tight', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
    color: #3f5cff;
}

.case-num::before,
.case-num::after {
    font-weight: 700;
}

.case-num-bracket {
    color: #3f5cff;
    font-weight: 700;
}

.case-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #000;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    align-items: start;
}

.case-metrics > div {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.case-metrics strong {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.case-metrics small {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.3;
    display: block;
}

.cases-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* === Why Me === */
.why-me {
    padding: 5rem 0 0;
    background: #fff;
    overflow: hidden;
}

.why-me-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

.why-me-content {
    display: flex;
    gap: 0;
    align-items: flex-start;
    position: relative;
    overflow: visible;
}

.why-me-text {
    flex: 0 0 50%;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 2.5rem 3rem;
    margin-top: 0.5rem;
}

.why-me-text h2 {
    display: none;
}

.why-me-profile {
    margin-bottom: 1rem;
}

.why-me-profile strong {
    font-size: 1.875rem;
    font-weight: 600;
    display: block;
}

.why-me-role {
    font-weight: 600;
    font-size: 1.44rem;
    margin-top: 0.25rem;
}

.why-me-text > p {
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.7;
    font-size: 1.05rem;
}

.why-me-list li {
    padding: 0.75rem 0;
    padding-left: 2.25rem;
    position: relative;
    font-size: 1.05rem;
}

.why-me-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #3f5cff;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.why-me-image {
    flex: 0 0 620px;
    position: relative;
    margin-top: -7rem;
    margin-bottom: -180px;
    margin-left: -40px;
    z-index: 0;
}

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

/* === Footer === */
.footer {
    background: #333;
    color: #fff;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 2.5rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img { height: 35px; }

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}

.footer-social-icon:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-bottom span,
.footer-bottom a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover { color: #fff; }

/* === Service Subpages === */
.service-page-hero {
    background: #f5f5f5;
    border-radius: 20px;
    margin: 2rem;
    padding: 4rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.service-page-hero-text {
    flex: 1;
}

.service-page-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

@media (max-width: 960px) {
    .service-page-hero h1 {
        font-size: 2rem;
        text-align: center;
    }
    .service-page-subtitle {
        text-align: center;
    }
    .service-page-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-badge {
        align-self: center;
    }
}

.service-page-hero .lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.service-page-hero .desc {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-page-hero-image {
    flex: 0 0 50%;
    overflow: hidden;
    align-self: stretch;
    margin: -4rem -4rem -4rem 0;
    border-radius: 0 20px 20px 0;
    min-height: 420px;
}

.service-page-hero-image img {
    width: 110%;
    height: 120%;
    object-fit: cover;
    object-position: center 20%;
    margin-top: 0;
}

.service-page-process {
    padding: 5rem 0;
}

.service-page-process h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-card p {
    color: #555;
    line-height: 1.7;
}

.process-card img {
    width: 60px;
    margin-bottom: 1rem;
}

.service-cta {
    padding: 4rem 0;
}

.service-cta-card {
    background: #444;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: #fff;
}

.service-cta-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

/* === Service Subpage extras === */
.service-page-hero-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.service-page-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.service-page-desc {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-page-cta {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-page-cta-hint {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .service-page-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
    }
    .service-page-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .service-page-cta-hint {
        font-size: 0.9rem;
    }
}

.service-page-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-page-process-card {
    padding: 1.5rem 0;
}

.service-page-process-num {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3f5cff;
    margin-bottom: 1rem;
}

.service-page-process-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-page-process-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-page-content {
    padding: 3rem 0;
}

.service-page-content h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.service-page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-page-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.service-page-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-page-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.service-page-content a {
    color: #3f5cff;
}

@media (max-width: 960px) {
    .service-page-hero-inner { flex-direction: column; }
    .service-page-process-grid { grid-template-columns: 1fr; }
}

/* === Target Tracking Page === */

/* Results in 30 days */
.tt-results { padding: 5rem 0; }
.tt-results h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 2.5rem; }

.tt-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tt-results-card {
    background: #f8f8fa;
    border-radius: 16px;
    padding: 2rem;
}

.tt-results-period {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #3f5cff;
    margin-bottom: 0.75rem;
}

.tt-results-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Hero badge */
.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(63,92,255,0.08);
    color: #3f5cff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* Pain marquee */
.tt-marquee-section {
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tt-marquee {
    overflow: hidden;
    position: relative;
}

.tt-marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee-scroll 35s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.tt-marquee-item {
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #555;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .tt-marquee-item {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

.tt-marquee-item--accent {
    border-color: #3f5cff;
    color: #3f5cff;
    background: #f5f7ff;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tt-marquee:hover .tt-marquee-track {
    animation-play-state: paused;
}

/* === Compare Card (universal) === */
.compare-card {
    padding: 3rem 0;
}

.compare-card-inner {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
}

.compare-card-col {
    flex: 1;
    padding: 2rem;
}

/* "No" side — gray, readable */
.compare-card-col--no {
    background: #f2f2f2;
}

.compare-card-col--no h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #222;
}

.compare-card-col--no ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.compare-card-col--no li {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    padding-left: 1.5rem;
    position: relative;
}

.compare-card-col--no li::before {
    content: "\2715";
    position: absolute;
    left: 0;
    color: #bbb;
    font-weight: 700;
    font-size: 0.8rem;
}

/* "Yes" side — bold blue, white text */
.compare-card-col--yes {
    background: #3f5cff;
}

.compare-card-col--yes h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
}

.compare-card-col--yes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.compare-card-col--yes li {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.4;
    padding-left: 1.5rem;
    position: relative;
}

.compare-card-col--yes li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

/* For whom */
.tt-for-whom {
    padding: 4rem 0;
}

.tt-for-whom h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.tt-for-whom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tt-for-whom-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #eee;
    background: #fff;
}

.tt-for-whom-icon {
    margin-bottom: 1rem;
}

.tt-for-whom-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tt-for-whom-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Format & pricing */
.tt-format {
    padding: 4rem 0;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 0 2rem;
}

.tt-format h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.tt-format-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tt-format-card {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

.tt-format-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 0.25rem;
}

.tt-format-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3f5cff;
    margin-bottom: 0.5rem;
}

.tt-format-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.tt-format-card--cta {
    background: #3f5cff;
    border-color: #3f5cff;
}

.tt-format-card--cta .tt-format-label { color: rgba(255,255,255,0.5); }
.tt-format-card--cta .tt-format-value { color: #fff; }
.tt-format-card--cta p { color: rgba(255,255,255,0.8); margin-bottom: 1rem; }

.tt-format-card--cta .btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.tt-format-card--cta .btn-primary {
    background: #fff;
    color: #3f5cff;
    border-color: #fff;
}

.tt-format-card--cta .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    color: #3f5cff;
}

/* Cascade process */
.tt-process { padding: 5rem 0; }
.tt-process h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.tt-process-subtitle { font-size: 1.1rem; color: #555; margin-bottom: 3rem; max-width: 700px; }

.cascade { display: flex; flex-direction: column; }

.cascade-step { display: flex; align-items: stretch; }

.cascade-line {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.cascade-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3f5cff;
    flex-shrink: 0;
    z-index: 2;
    margin-top: 1.75rem;
}

.cascade-dot--hollow {
    background: #fff;
    border: 2.5px solid #3f5cff;
}

.cascade-connector {
    flex: 1;
    width: 2px;
    background: #3f5cff;
}

.cascade-card {
    background: #f8f8fa;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.cascade-card:hover { transform: translateX(4px); }

.cascade-card--offset1 { margin-left: 40px; }
.cascade-card--offset2 { margin-left: 80px; }
.cascade-card--offset3 { margin-left: 40px; }
.cascade-card--offset4 { margin-left: 0; }

.cascade-card--highlight {
    background: #3f5cff;
    color: #fff;
}
.cascade-card--highlight p { color: rgba(255,255,255,0.85); }
.cascade-card--highlight .cascade-num { color: rgba(255,255,255,0.5); }

.cascade-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: #3f5cff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.cascade-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cascade-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.cascade-card.cascade-card--highlight p { color: rgba(255,255,255,0.85); }
.cascade-card.cascade-card--highlight h3 { color: #fff; }

.cascade-principle {
    background: linear-gradient(135deg, #eef1ff, #f0f4ff);
    border-left: 3px solid #3f5cff;
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #333;
}

.cascade-principle strong { color: #3f5cff; }

.cascade-principle--light {
    background: rgba(255,255,255,0.15);
    border-left-color: rgba(255,255,255,0.6);
    color: rgba(255,255,255,0.9);
}
.cascade-principle--light strong { color: #fff; }

/* Testimonials */
.tt-testimonials { padding: 5rem 0; }
.tt-testimonials h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 2rem; }

.tt-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tt-testimonials-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.tt-testimonial-card {
    background: #f8f8fa;
    border-radius: 16px;
    padding: 2rem;
}

.tt-testimonial-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.tt-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tt-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #3f5cff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

img.tt-testimonial-avatar {
    object-fit: cover;
}

.tt-testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.tt-testimonial-author span {
    font-size: 0.85rem;
    color: #3f5cff;
}

.tt-testimonials-more {
    text-align: center;
    margin-top: 2rem;
}

/* TT responsive */
@media (max-width: 960px) {
    .tt-results-grid { grid-template-columns: 1fr; }
    .tt-testimonials-grid { grid-template-columns: 1fr; }
    .tt-testimonials-grid--3 { grid-template-columns: 1fr; }
    .compare-card-inner { flex-direction: column; }
    .compare-card-col { padding: 1.75rem; }
    .tt-for-whom-grid { grid-template-columns: 1fr !important; }
    .tt-format-grid { grid-template-columns: repeat(2, 1fr); }
    .tt-format { margin: 0 1rem; border-radius: 16px; }
    .cascade-card--offset1,
    .cascade-card--offset2,
    .cascade-card--offset3,
    .cascade-card--offset4 { margin-left: 0; }
    .service-page-hero-image {
        flex: none;
        max-width: 100%;
        margin: 0;
        border-radius: 16px;
        height: 300px;
    }
    .tt-results h2 { font-size: 2rem; text-align: center; }
    .tt-for-whom h2 { font-size: 2rem; text-align: center; }
    .tt-process h2 { font-size: 2rem; text-align: center; }
    .tt-process-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
    .tt-testimonials h2 { font-size: 2rem; text-align: center; }
}

@media (max-width: 640px) {
    .tt-format-grid { grid-template-columns: 1fr; }
    .tt-results h2 { font-size: 1.5rem; }
    .tt-for-whom h2 { font-size: 1.5rem; }
    .tt-process h2 { font-size: 1.5rem; }
    .tt-testimonials h2 { font-size: 1.5rem; }
    .tt-results-card { padding: 1.5rem; }
    .tt-results-period { font-size: 1.5rem; }
    .service-page-subtitle { text-align: center; line-height: 1.5; }
    .compare-card-col { padding: 1.5rem; }
    .compare-card-col h3 { font-size: 0.8rem; }
    .compare-card-col li { font-size: 0.9rem; }
}

/* === Case Pages === */
.case-breadcrumb {
    padding: 2rem 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 0.95rem;
    color: #888;
}

.case-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.case-breadcrumb a:hover {
    color: #3f5cff;
}

.case-breadcrumb span {
    margin: 0 0.3rem;
}

.case-hero {
    background: #3f5cff;
    border-radius: 24px;
    margin: 0 2rem 3rem;
    padding: 3rem;
    color: #fff;
}

.case-hero-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.case-hero-title {
    flex: 1;
}

.case-hero-title h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.5px;
}

.case-hero-metrics {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    align-content: start;
    padding-top: 0.5rem;
}


.case-metric {
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.case-metric-value {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .case-metric-value {
        font-size: 1.6rem;
        white-space: normal;
        word-break: break-word;
    }
}

.case-metric-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    border-top: 2px solid rgba(255,255,255,0.4);
    padding-top: 0.3rem;
}

@media (max-width: 640px) {
    .case-metric-label {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.case-hypothesis {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-hypothesis-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.case-hypothesis-text {
    flex: 1;
}

.case-hypothesis-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-hypothesis-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.case-goals {
    flex: 1;
}

.case-goals h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.case-goals h3:first-child {
    margin-top: 0;
}

.case-goals ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.case-goals li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

.case-results {
    padding: 4rem 2rem;
    background: #f7f7f7;
}

.case-results .container {
    max-width: 1200px;
    margin: 0 auto;
}

.case-results h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-results-intro {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.case-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.case-result-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
}

.case-result-item p {
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

.case-check {
    flex-shrink: 0;
    margin-top: 2px;
}

.case-result-highlight {
    background: #3f5cff;
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    margin-top: 2rem;
    text-align: center;
}

.case-result-highlight h3 {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.case-result-highlight p {
    font-size: 1.5rem;
    font-weight: 600;
}

.case-reviews {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-reviews h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.case-reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.case-review-card {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 2rem;
}

.case-review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}

.case-review-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.case-review-author strong {
    font-size: 1rem;
    font-weight: 700;
}

.case-review-author span {
    font-size: 0.85rem;
    color: #888;
}

.case-cta {
    padding: 3rem 2rem;
    text-align: center;
}

.case-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.case-linkedin {
    text-align: center;
}

.case-linkedin a {
    color: #3f5cff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.case-linkedin a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .case-hero-inner { flex-direction: column; }
    .case-hero-metrics { grid-template-columns: 1fr 1fr; }
    .case-hypothesis-inner { flex-direction: column; }
    .case-results-grid { grid-template-columns: 1fr; }
    .case-reviews-grid { grid-template-columns: 1fr; }
    .case-hero { margin: 0 1rem 2rem; padding: 2rem; }
    .case-hero-title h1 { font-size: 2.5rem; line-height: 1.15; }
    .case-hypothesis-text h2 { font-size: 1.75rem; text-align: center; }
    .case-results h2 { font-size: 1.75rem; text-align: center; }
    .case-reviews h2 { font-size: 1.75rem; text-align: center; }
}

@media (max-width: 640px) {
    .case-hero-metrics { grid-template-columns: 1fr; }
    .case-hero-title h1 { font-size: 1.75rem; line-height: 1.2; }
    .case-cta-buttons { flex-direction: column; align-items: center; }
    .case-hypothesis-text h2 { font-size: 1.5rem; }
    .case-results h2 { font-size: 1.5rem; }
    .case-reviews h2 { font-size: 1.5rem; }
    .case-hypothesis-text p { font-size: 1rem; line-height: 1.6; }
    .case-hero-subtitle { font-size: 1rem; line-height: 1.5; }
}

/* --- Case: hero subtitle --- */
.case-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 520px;
}

/* --- Case: Challenge (Задача / Как решали) --- */
.case-challenge {
    padding: 2rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.case-challenge-card {
    padding: 2.5rem;
    border-radius: 16px;
}

.case-challenge-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.case-challenge-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0.8rem;
}

.case-challenge-card p:last-child {
    margin-bottom: 0;
}

.case-challenge-card--before {
    background: #fff;
    border: 1px solid #eee;
}

.case-challenge-card--how {
    background: #fff;
    border: 1px solid #eee;
}

.case-challenge-card--how h2 {
    color: #3f5cff;
}

.case-challenge-card--how ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-challenge-card--how li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.case-challenge-card--how li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #3f5cff;
    font-weight: 700;
}

/* --- Case: Timeline (Что получилось) --- */
.case-timeline {
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 0 2rem 3rem;
}

.case-timeline .container {
    max-width: 900px;
    margin: 0 auto;
}

.case-timeline h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
}

.case-timeline-items {
    position: relative;
    padding-left: 3rem;
}

.case-timeline-items::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: #ddd;
}

.case-timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.case-timeline-item:last-child {
    padding-bottom: 0;
}

.case-timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: #fff;
    border: 2px solid #3f5cff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    z-index: 1;
}

.case-timeline-marker::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    background: #3f5cff;
    border-radius: 50%;
}

.case-timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-timeline-content h3::before {
    content: attr(data-period);
    display: none;
}

.case-timeline-item .case-timeline-marker + .case-timeline-content h3::before {
    display: none;
}

.case-timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Period labels shown inline next to the dot */
.case-timeline-marker {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3f5cff;
    width: auto;
    height: auto;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    background: #eef1ff;
    border: 1px solid #dee4ff;
    white-space: nowrap;
    left: -3.8rem;
    transform: translateX(-100%);
}

.case-timeline-marker::after {
    display: none;
}

.case-timeline-items::before {
    left: -0.5rem;
}

.case-timeline-items {
    padding-left: 1rem;
    border-left: 2px solid #ddd;
    margin-left: 5rem;
}

.case-timeline-marker {
    left: calc(-1rem - 1px);
    transform: translateX(-100%);
}

/* Highlight item */
.case-timeline-item--highlight .case-timeline-content {
    background: #3f5cff;
    border-radius: 12px;
    padding: 1.5rem;
    color: #fff;
}

.case-timeline-item--highlight .case-timeline-content h3 {
    color: #fff;
}

.case-timeline-item--highlight .case-timeline-content p {
    color: rgba(255,255,255,0.9);
}

.case-timeline-item--highlight .case-timeline-marker {
    background: #3f5cff;
    color: #fff;
    border-color: #3f5cff;
}

/* --- Case: Dashboard chart --- */
.case-dashboard {
    padding: 3rem 0;
}

.case-dashboard-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2.5rem;
}

.case-dashboard-text {
    flex: 0 0 280px;
}

.case-dashboard-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.case-dashboard-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.case-dashboard-chart {
    flex: 1;
    min-width: 0;
}

@media (max-width: 960px) {
    .case-dashboard-inner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    .case-dashboard-text {
        flex: none;
        width: 100%;
    }
}

/* --- Case: Insight --- */
.case-insight {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.case-insight-card {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
    border: 1px solid #dee4ff;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: center;
}

.case-insight-label {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(63,92,255,0.1);
    color: #3f5cff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.case-insight-card blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    font-weight: 500;
    font-style: normal;
    margin: 0;
    padding: 0;
    border: 0;
}

/* --- Case: Reviews grid for 3 cols --- */
.case-reviews-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Case: responsive for new sections --- */
@media (max-width: 960px) {
    .case-challenge-grid { grid-template-columns: 1fr; }
    .case-timeline { margin: 0 1rem 2rem; border-radius: 16px; }
    .case-timeline-items { margin-left: 4rem; }
    .case-reviews-grid--3 { grid-template-columns: 1fr; }
    .case-insight-card { padding: 2rem; }
    .case-challenge-card h2 { font-size: 1.4rem; text-align: center; }
    .case-timeline h2 { font-size: 1.75rem; }
}

@media (max-width: 640px) {
    .case-timeline-items { margin-left: 3rem; }
    .case-timeline-marker { font-size: 0.65rem; padding: 0.15rem 0.4rem; }
    .case-insight-card blockquote { font-size: 1.05rem; line-height: 1.6; }
    .case-challenge-card h2 { font-size: 1.2rem; }
    .case-challenge-card p { font-size: 0.95rem; line-height: 1.6; }
    .case-timeline h2 { font-size: 1.5rem; }
    .case-timeline-content h3 { font-size: 1.1rem; }
    .case-timeline-content p { font-size: 0.95rem; }
}

/* === Privacy === */
.privacy-page {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-page h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.privacy-page p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

/* === Money Progress (inline in cases) === */
.money-progress-inline {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.money-progress-inline h3 {
    font-size: 3.125rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #000;
}

.progress-bar-wrapper {
    position: relative;
    max-width: 100%;
    padding-bottom: 0.5rem;
}

.progress-markers {
    position: relative;
    display: flex;
    padding: 0 2%;
}

.progress-marker--spacer {
    flex: 0 0 5%;
}

.progress-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.progress-marker-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    margin-bottom: 0.75rem;
}

.progress-marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3f5cff;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.progress-marker-dot--current {
    width: 14px;
    height: 14px;
}

.progress-marker-dot--mid-active {
    width: 14px;
    height: 14px;
}

.progress-marker-dot--goal {
    width: 17px;
    height: 17px;
    background: #ff6b6b;
}

.progress-marker-sub {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Track sits behind the dots — positioned absolutely within the wrapper */
.progress-track-row {
    position: absolute;
    height: 10px;
    left: 2%;
    right: 2%;
    z-index: 1;
    top: calc(0.9rem * 1.6 + 0.75rem + 2px);
}

.progress-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(63, 92, 255, 0.08) 0%, rgba(63, 92, 255, 0.25) 100%);
    border-radius: 5px;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 12%;
    background: linear-gradient(90deg, rgba(63, 92, 255, 0.4) 0%, #3f5cff 100%);
    border-radius: 5px;
}

/* === Scroll Animations === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.services-grid .service-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.corp-grid .corp-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.corp-grid .corp-card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.cases-grid .case-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.cases-grid .case-card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.timeline .timeline-item.fade-up:nth-child(2) { transition-delay: 0.1s; }
.timeline .timeline-item.fade-up:nth-child(3) { transition-delay: 0.15s; }
.timeline .timeline-item.fade-up:nth-child(4) { transition-delay: 0.2s; }
.timeline .timeline-item.fade-up:nth-child(5) { transition-delay: 0.25s; }
.timeline .timeline-item.fade-up:nth-child(6) { transition-delay: 0.3s; }
.tags-cloud .tag.fade-up { transition-delay: calc(var(--i, 0) * 0.05s); }

/* === Responsive === */
@media (max-width: 960px) {
    .hero-content { flex-direction: column; }
    .hero-image { flex: none; max-width: 400px; margin: 0 auto; }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .services-coming { grid-template-columns: 1fr; }
    .corp-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .why-me-content { flex-direction: column; }
    .why-me-text { border-radius: 20px; flex: none; width: 100%; }
    .why-me-image { flex: none; max-width: 100%; margin-bottom: 0; margin-top: 1rem; margin-left: 0; }
    .why-me-image img { height: auto; }

    /* Headers alignment */
    .services-header { flex-direction: column; align-items: center; text-align: center; }
    .services-header h2 { font-size: 2rem; }
    .services-header p { max-width: 100%; }

    .corp-header { flex-direction: column; align-items: center; text-align: center; }
    .corp-header h2 { font-size: 2rem; }
    .corp-header p { max-width: 100%; }

    .cases-header { flex-direction: column; align-items: center; text-align: center; }
    .cases-header h2 { font-size: 2rem; }
    .cases-header p { max-width: 100%; }

    .about-title { font-size: 2rem; text-align: center; }
    .bridge h2 { font-size: 2rem; }
    .timeline-arrow { display: none; }

    .header-nav { display: none; }
    .header-cta { display: none; }
    .header-social { display: none; }
    .burger-btn { display: flex; }
    .service-page-hero { flex-direction: column; margin: 1rem; padding: 2rem; }
    .service-page-hero-image { flex: none; max-width: 300px; }
    .process-grid { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; }

    /* Footer mobile */
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        order: 2;
    }
    .footer-logo {
        order: 1;
    }
    .footer-right {
        order: 3;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .footer-social {
        order: 1;
    }
    .footer-cta {
        order: 2;
    }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 1.75rem; text-align: center; }
    .hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-cta-hint {
        font-size: 0.9rem;
        text-align: center;
    }
    .hero-stats {
        gap: 0.75rem;
        justify-content: space-between;
    }
    .stat {
        flex: 1;
        min-width: 0;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .stat-unit {
        font-size: 0.7rem;
    }
    .stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    .bridge { padding: 2rem 0; }
    .bridge h2 { font-size: 1.5rem; text-align: center; }
    .services { padding: 2.5rem 0; }
    .cta-block { padding: 2rem 0; }
    .about { padding: 2.5rem 0; }
    .corp-path { padding: 2.5rem 0; }
    .cases { padding: 2.5rem 0; }
    .about-title { font-size: 1.5rem; text-align: center; }

    .services-header h2 { font-size: 1.5rem; }
    .corp-header h2 { font-size: 1.5rem; }
    .cases-header h2 { font-size: 1.5rem; text-align: center; }
    .cases-header p { text-align: center; }

    .cta-card { padding: 2rem; }
    .cta-card h2 { font-size: 1.75rem; text-align: center; line-height: 1.2; }
    .cta-card p { font-size: 1rem; text-align: center; }
    .cta-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    .cta-row .btn {
        width: 100%;
        justify-content: center;
    }
    .cta-row span {
        font-size: 0.9rem;
        text-align: center;
    }
    .cases-actions { flex-direction: column; align-items: center; }

    .container { padding: 0 1.5rem; }
    .hero-content { padding: 0 1.5rem; }

    /* Progress bar mobile adjustments */
    .progress-marker-label {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    .progress-marker-sub {
        font-size: 0.65rem;
    }
    .progress-marker-dot {
        width: 12px;
        height: 12px;
        background: #3f5cff;
    }
    .progress-marker-dot--current {
        width: 12px;
        height: 12px;
    }
    .progress-marker-dot--mid-active {
        width: 12px;
        height: 12px;
    }
    .progress-marker-dot--goal {
        width: 15px;
        height: 15px;
        background: #ff6b6b;
        margin-top: -1px;
    }
    .progress-track-row {
        top: calc(0.65rem * 1.6 + 0.75rem + 2px);
        height: 8px;
    }
    .money-progress-inline h3 {
        font-size: 1.5rem;
    }
    .why-me-heading {
        font-size: 1.75rem;
        text-align: center;
    }

    /* Fix line-height on mobile */
    .why-me-text > p {
        line-height: 1.5;
    }
    .why-me-list li {
        line-height: 1.4;
        padding: 0.5rem 0 0.5rem 2.25rem;
    }
    .hero-sub {
        line-height: 1.5;
    }
    .service-card li {
        line-height: 1.3;
        margin-bottom: 0.35rem;
    }
    .corp-desc {
        line-height: 1.3;
    }
    .cascade-card h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    .cascade-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .cascade-principle {
        font-size: 0.85rem;
        padding: 0.9rem 1rem;
    }
    .service-page-hero h1 {
        font-size: 1.75rem;
        text-align: center;
        line-height: 1.2;
    }
    .tt-format h2 {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* === 404 Page === */
.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #e8e8e8 0%, #fff 40%, #f5f5f5 100%);
    flex-grow: 1;
}
.not-found-container {
    max-width: 480px;
}
.not-found-code {
    font-size: 120px;
    font-weight: 800;
    color: #3f5cff;
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 16px;
}
.not-found-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}
.not-found-text {
    font-size: 17px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 36px;
}
.not-found-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 640px) {
    .not-found-code { font-size: 80px; }
    .not-found-title { font-size: 22px; }
    .not-found-actions { flex-direction: column; align-items: center; }
}
