.redesigncase-page {
    --case-primary: #ff4495;
    --case-primary-dark: #e82d7d;
    --case-primary-soft: #fff1f7;
    --case-dark: #19191d;
    --case-text: #4d4d55;
    --case-muted: #797982;
    --case-border: #eeeef2;
    --case-soft-bg: #fffafd;
    --case-shadow:
        0 18px 55px rgba(38, 25, 32, 0.08);
    width: 100%;
    overflow: hidden;
    color: var(--case-text);
    background: #fff;
    font-family: inherit;
    line-height: 2;
}
.redesigncase-page *,
.redesigncase-page *::before,
.redesigncase-page *::after {
    box-sizing: border-box;
}
.redesigncase-page img {
    display: block;
    max-width: 100%;
    height: auto;
}
.redesigncase-page a {
    text-decoration: none;
}
.redesigncase-container {
    margin: 0 auto;
}
/* General */
.redesigncase-section {
    padding: 80px 0;
}
.redesigncase-label {
    display: inline-flex;
    padding: 5px 16px;
    margin-bottom: 16px;
    color: var(--case-primary);
    background: var(--case-primary-soft);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
}
.redesigncase-section-title {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}
.redesigncase-section-title > span {
    display: inline-flex;
    padding: 4px 14px;
    color: var(--case-primary);
    background: var(--case-primary-soft);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
}
.redesigncase-section-title h2,
.redesigncase-before-content h2,
.redesigncase-technical-content h2 {
    margin: 10px 0 12px;
    color: var(--case-dark);
    font-size: clamp(28px, 3.5vw, 43px);
    line-height: 1.5;
    font-weight: 900;
}
.redesigncase-section-title h2 strong,
.redesigncase-before-content h2 strong,
.redesigncase-technical-content h2 strong {
    color: var(--case-primary);
}
.redesigncase-section-title p,
.redesigncase-before-content > p,
.redesigncase-technical-content > p {
    margin: 0;
    color: var(--case-muted);
    font-size: 16px;
}
.redesigncase-section-title p {
    text-align: center;
}
/* Buttons */
.redesigncase-button,
.redesigncase-button-outline {
    min-height: 50px;
    padding: 10px 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: 800;
    transition: 0.3s;
}
.redesigncase-button {
    color: #fff !important;
    background: var(--case-primary);
    box-shadow:
        0 12px 30px rgba(255, 68, 149, 0.23);
}
.redesigncase-button:hover {
    color: #fff !important;
    background: var(--case-primary-dark);
    transform: translateY(-3px);
}
.redesigncase-button-outline {
    color: var(--case-dark) !important;
    background: #fff;
    border: 1px solid #dcdce2;
}
.redesigncase-button-outline:hover {
    color: var(--case-primary) !important;
    border-color: var(--case-primary);
    transform: translateY(-3px);
}
/* Hero */
.redesigncase-hero {
    padding: 50px 0 70px;
}
.redesigncase-hero-grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: 70px;
}
.redesigncase-hero-content h1 {
    margin: 0 0 20px;
    color: var(--case-dark);
    font-size: clamp(39px, 5vw, 62px);
    line-height: 1.38;
    font-weight: 900;
}
.redesigncase-hero-content h1 strong {
    display: block;
    color: var(--case-primary);
}
.redesigncase-hero-content > p {
    max-width: 630px;
    margin: 0 0 28px;
    color: var(--case-muted);
    font-size: 17px;
}
.redesigncase-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}
.redesigncase-hero-stats {
    margin-top: 35px;
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}
.redesigncase-hero-stats div {
    display: flex;
    flex-direction: column;
}
.redesigncase-hero-stats strong {
    color: var(--case-primary);
    font-size: 22px;
    line-height: 1.4;
    direction: ltr;
}
.redesigncase-hero-stats span {
    color: var(--case-muted);
    font-size: 12px;
}
/* Hero image */
.redesigncase-hero-image {
    position: relative;
    padding: 10px;
}
.redesigncase-hero-shape {
    position: absolute;
    width: 430px;
    height: 430px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background:
        linear-gradient(
            135deg,
            rgba(255, 68, 149, 0.22),
            rgba(255, 68, 149, 0.03)
        );
    border-radius: 50%;
}
.redesigncase-hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--case-shadow);
}
.redesigncase-badge {
    position: absolute;
    z-index: 4;
    min-width: 135px;
    padding: 11px 16px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--case-shadow);
}
.redesigncase-badge span {
    color: var(--case-primary);
    font-size: 15px;
    font-weight: 900;
}
.redesigncase-badge small {
    color: var(--case-muted);
    font-size: 13px;
}
.redesigncase-badge-before {
    left: 10px;
    top: 100px;
    font-size: 15px;
}
.redesigncase-badge-after {
    right: 0;
    bottom: 85px;
    font-size: 15px;
}
/* Overview */
.redesigncase-overview {
    background: #fff;
}
.redesigncase-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.redesigncase-overview-item {
    min-height: 160px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--case-border);
    border-radius: 18px;
    transition: 0.3s;
}
.redesigncase-overview-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 68, 149, 0.3);
    box-shadow: var(--case-shadow);
}
.redesigncase-overview-item > span {
    color: var(--case-primary);
    font-size: 12px;
    font-weight: 900;
}
.redesigncase-overview-item h3 {
    margin: 5px 0 4px;
    color: var(--case-dark);
    font-size: 17px;
}
.redesigncase-overview-item p {
    margin: 0;
    color: var(--case-muted);
    font-size: 12px;
}
/* 2 columns */
.redesigncase-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
/* Before */
.redesigncase-before-image {
    position: relative;
    padding: 10px;
}
.redesigncase-image-shape {
    position: absolute;
    width: 88%;
    height: 88%;
    right: 0;
    top: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 68, 149, 0.2),
            rgba(255, 68, 149, 0.03)
        );
    border-radius:
        45% 55% 48% 52% /
        52% 43% 57% 48%;
}
.redesigncase-before-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--case-shadow);
}
.redesigncase-image-tag {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 5px;
    padding: 7px 16px;
    color: #fff;
    background: var(--case-primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}
.redesigncase-issue-list {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}
.redesigncase-issue-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}
.redesigncase-issue-item > span {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #b9b9c0;
    border-radius: 50%;
    font-size: 11px;
}
.redesigncase-issue-item h3 {
    margin: 0 0 2px;
    color: var(--case-dark);
    font-size: 16px;
}
.redesigncase-issue-item p {
    margin: 0;
    color: var(--case-muted);
    font-size: 13px;
}
/* Work */
.redesigncase-work {
    background: #fff;
}
.redesigncase-work-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.redesigncase-work-card {
    min-height: 260px;
    padding: 25px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--case-border);
    border-radius: 20px;
    transition: 0.3s;
}
.redesigncase-work-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 68, 149, 0.3);
    box-shadow: var(--case-shadow);
}
.redesigncase-work-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--case-primary);
    background: var(--case-primary-soft);
    border-radius: 18px;
    font-size: 24px;
    font-weight: 900;
}
.redesigncase-work-card h3 {
    margin: 0 0 7px;
    color: var(--case-dark);
    font-size: 17px;
}
.redesigncase-work-card p {
    margin: 0;
    color: var(--case-muted);
    font-size: 12px;
}
/* Compare */
.redesigncase-compare-wrap {
    display: grid;
    grid-template-columns:
        1fr 80px 1fr;
    align-items: center;
    gap: 20px;
}
.redesigncase-compare-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--case-border);
    border-radius: 22px;
}
.redesigncase-compare-new {
    border:
        2px solid rgba(255, 68, 149, 0.38);
    box-shadow: var(--case-shadow);
}
.redesigncase-compare-card img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}
.redesigncase-compare-label {
    position: absolute;
    z-index: 3;
    right: 16px;
    top: 16px;
    padding: 5px 14px;
    color: #fff;
    background: var(--case-primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}
.redesigncase-old-label {
    background: #55545b;
}
.redesigncase-compare-info {
    padding: 20px;
}
.redesigncase-compare-info h3 {
    margin: 0 0 4px;
    color: var(--case-dark);
}
.redesigncase-compare-info p {
    margin: 0;
    color: var(--case-muted);
    font-size: 13px;
}
.redesigncase-compare-arrow {
    color: var(--case-primary);
    text-align: center;
    font-size: 45px;
}
/* Technical */
.redesigncase-technical {
    background: #fff;
}
.redesigncase-check-list {
    margin: 27px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 18px;
    list-style: none;
}
.redesigncase-check-list li {
    position: relative;
    padding-right: 30px;
    font-size: 14px;
}
.redesigncase-check-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 7px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--case-primary);
    border-radius: 50%;
    font-size: 10px;
}
.redesigncase-technical-image {
    position: relative;
    padding: 10px;
}
.redesigncase-technical-shape {
    position: absolute;
    width: 86%;
    height: 86%;
    left: 0;
    bottom: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 68, 149, 0.18),
            rgba(255, 68, 149, 0.03)
        );
    border-radius:
        40% 60% 53% 47% /
        50% 45% 55% 50%;
}
.redesigncase-technical-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--case-shadow);
}
/* Results */
.redesigncase-result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.redesigncase-result-card {
    min-height: 245px;
    padding: 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--case-border);
    border-radius: 20px;
    transition: 0.3s;
}
.redesigncase-result-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--case-shadow);
}
.redesigncase-result-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--case-primary);
    background: var(--case-primary-soft);
    border-radius: 18px;
    font-size: 25px;
}
.redesigncase-result-card strong {
    display: block;
    margin-bottom: 7px;
    color: var(--case-dark);
    font-size: 18px;
}
.redesigncase-result-card p {
    margin: 0;
    color: var(--case-muted);
    font-size: 12px;
}
/* Metrics */
.redesigncase-metrics {
    padding: 35px 0 45px;
    background: #fff;
}
.redesigncase-metrics-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px;
    background:
        linear-gradient(
            135deg,
            #fff6fa,
            #fff
        );
    border: 1px solid #f5e8ef;
    border-radius: 24px;
}
.redesigncase-metric {
    min-height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #eee4e9;
}
.redesigncase-metric:last-child {
    border-left: 0;
}
.redesigncase-metric > span {
    color: var(--case-muted);
    font-size: 11px;
}
.redesigncase-metric strong {
    color: var(--case-primary);
    font-size: 27px;
    line-height: 1.5;
    direction: ltr;
}
.redesigncase-metric small {
    color: var(--case-muted);
    font-size: 10px;
}
/* Process */
.redesigncase-process {
    background: #fff;
}
.redesigncase-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.redesigncase-process-grid::before {
    content: "";
    position: absolute;
    top: 85px;
    right: 9%;
    left: 9%;
    height: 1px;
    background: #e5e5ea;
}
.redesigncase-process-item {
    position: relative;
    z-index: 2;
    text-align: center;
}
.redesigncase-process-item > span {
    display: block;
    margin-bottom: 8px;
    color: var(--case-primary);
    font-size: 12px;
    font-weight: 900;
}
.redesigncase-process-item > div {
    width: 68px;
    height: 68px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--case-primary);
    background: #fff;
    border: 2px solid #f1e5eb;
    border-radius: 50%;
    font-size: 21px;
    box-shadow:
        0 10px 30px rgba(38, 24, 32, 0.06);
}
.redesigncase-process-item h3 {
    margin: 0 0 7px;
    color: var(--case-dark);
    font-size: 16px;
}
.redesigncase-process-item p {
    margin: 0;
    color: var(--case-muted);
    font-size: 14px;
    text-align: center !important;
}
/* Testimonial */
.redesigncase-testimonial-box {
    position: relative;
    max-width: 850px;
    margin: auto;
    padding: 45px 55px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--case-border);
    border-radius: 25px;
    box-shadow: var(--case-shadow);
}
.redesigncase-quote {
    display: block;
    height: 50px;
    color: var(--case-primary);
    font-size: 70px;
    line-height: 1;
}
.redesigncase-testimonial-box > p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #52525a;
    font-size: 17px;
}
.redesigncase-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}
.redesigncase-client-avatar {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
}
.redesigncase-client > div:last-child {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.redesigncase-client strong {
    color: var(--case-dark);
    font-size: 13px;
}
.redesigncase-client span {
    color: var(--case-muted);
    font-size: 10px;
}
/* CTA */
.redesigncase-contact {
    background: #fff;
}
.redesigncase-cta {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    padding: 45px 55px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 35px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--case-primary),
            #f32279
        );
    border-radius: 30px;
}
.redesigncase-cta-shape {
    position: absolute;
    border:
        45px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.redesigncase-cta-shape-one {
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -120px;
}
.redesigncase-cta-shape-two {
    width: 190px;
    height: 190px;
    left: -70px;
    top: -90px;
}
.redesigncase-cta-content,
.redesigncase-cta-action {
    position: relative;
    z-index: 2;
}
.redesigncase-cta-content > span {
    font-size: 13px;
    opacity: 0.88;
}
.redesigncase-cta-content h2 {
    margin: 5px 0 7px;
    color: #fff;
    font-size: clamp(28px, 3vw, 41px);
}
.redesigncase-cta-content p {
    margin: 0;
    color: #fff;
    opacity: 0.9;
}
.redesigncase-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.redesigncase-cta-button {
    min-height: 52px;
    padding: 10px 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--case-primary) !important;
    background: #fff;
    border-radius: 50px;
    font-weight: 900;
    white-space: nowrap;
    transition: 0.3s;
}
.redesigncase-cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(83, 5, 40, 0.18);
}
.redesigncase-cta-action small {
    color: #fff;
    font-size: 11px;
    opacity: 0.83;
}
/* Responsive */
@media (max-width: 1050px) {
    .redesigncase-hero-grid,
    .redesigncase-two-columns {
        gap: 45px;
    }
    .redesigncase-overview-grid,
    .redesigncase-result-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .redesigncase-work-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
    .redesigncase-process-grid {
        grid-template-columns:
            repeat(3, 1fr);
        gap: 35px 18px;
    }
    .redesigncase-process-grid::before {
        display: none;
    }
}
@media (max-width: 800px) {
    .redesigncase-section {
        padding: 65px 0;
    }
    .redesigncase-hero {
        padding-top: 55px;
    }
    .redesigncase-hero-grid,
    .redesigncase-two-columns {
        grid-template-columns: 1fr;
    }
    .redesigncase-hero-image {
        max-width: 650px;
        margin: 0 auto;
    }
    .redesigncase-compare-wrap {
        grid-template-columns: 1fr;
    }
    .redesigncase-compare-arrow {
        transform: rotate(-90deg);
    }
    .redesigncase-metrics-box {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .redesigncase-process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .redesigncase-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
@media (max-width: 580px) {
    .redesigncase-container {
        width:
            min(100% - 26px, 1180px);
    }
    .redesigncase-hero {
        padding: 40px 0 55px;
    }
    .redesigncase-hero-grid {
        min-height: auto;
    }
    .redesigncase-hero-content h1 {
        font-size: 36px;
    }
    .redesigncase-hero-content > p {
        font-size: 15px;
    }
    .redesigncase-overview-grid,
    .redesigncase-work-grid,
    .redesigncase-result-grid,
    .redesigncase-metrics-box,
    .redesigncase-process-grid,
    .redesigncase-check-list {
        grid-template-columns: 1fr;
    }
    .redesigncase-hero-image,
    .redesigncase-before-image,
    .redesigncase-technical-image {
        padding: 7px;
    }
    .redesigncase-badge {
        display: none;
    }
    .redesigncase-work-card {
        min-height: auto;
    }
    .redesigncase-testimonial-box {
        padding: 35px 22px;
    }
    .redesigncase-cta {
        padding: 35px 20px;
        border-radius: 22px;
    }
    .redesigncase-cta-button {
        width: 100%;
        white-space: normal;
    }
}
