/*! Ditat Theme v1.2.0 - assets/css/difference.css
 * (c) Ditat - https://ditat.com - All rights reserved */

.diff-hero {
    background: var(--grad-hero-radial);
    text-align: center;
}

.diff-hero-inner {
    position: relative;
    z-index: 2;
}

.diff-hero-lines {
    aspect-ratio: 720 / 420;
    height: auto;
    pointer-events: none;
    position: absolute;
    width: clamp(360px, calc((100vw - 600px) / 2), 600px);
    z-index: 1;
}

.diff-hero-lines svg {
    display: block;
    height: 100%;
    overflow: visible;
    width: 100%;
}

.diff-hero-lines-pulses {
    opacity: 0.55;
}

.diff-hero-lines-pulses circle {
    fill: var(--white);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.55))
            drop-shadow(0 0 7px rgba(255, 255, 255, 0.2));
}

.diff-hero-lines--right .diff-hero-lines-pulses {
    opacity: 0.8;
}

.diff-hero-lines--right .diff-hero-lines-pulses circle {
    fill: var(--coral-bright);
    filter: drop-shadow(0 0 3px rgb(var(--coral-bright-rgb) / 0.7))
            drop-shadow(0 0 8px rgb(var(--coral-bright-rgb) / 0.3));
}

.diff-hero-lines--left {
    left: 0;
    top: 50%;
    transform: translateY(-41%);
}

.diff-hero-lines--right {
    right: 0;
    top: 50%;
    transform: translateY(-59%) scale(-1, -1);
}

.diff-hero-lines--left,
.diff-hero-lines--right {
    animation: diffLinesFadeIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.diff-hero-lines--left { animation-delay: 500ms; }
.diff-hero-lines--right { animation-delay: 700ms; }

@keyframes diffLinesFadeIn {
    from { opacity: 0; }
}

.diff-hero-lead {
    color: var(--text-on-dark);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.45;
    margin: 0 auto 40px;
    max-width: 680px;
}

@media (max-width: 820px) {
    .diff-hero {
        padding: 80px 0 96px;
    }

    .diff-hero-lines {
        width: 44vw;
    }
}

@media (max-width: 1320px) {
    .diff-hero-lines {
        display: none;
    }
}

.ov-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.ov-card {
    border-top: 3px solid var(--coral);
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 36px 32px 32px;
    text-align: left;
    will-change: transform;
}

.ov-card-title {
    align-items: baseline;
    color: var(--navy);
    display: flex;
    font-size: clamp(28px, 2.2vw, 34px);
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0.01em;
    line-height: 1;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.ov-card-plus {
    color: var(--coral);
    font-weight: 700;
}

.ov-card-label {
    border-bottom: 1px solid var(--line);
    color: var(--muted-2);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    padding-bottom: 22px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ov-card-desc {
    color: var(--muted);
    font-size: .9375rem;
    line-height: 1.55;
    margin: 0 0 22px;
    min-height: calc(1.55em * 4);
}

.ov-bullets li {
    align-items: baseline;
    color: var(--muted);
    column-gap: 12px;
    display: grid;
    font-size: .9375rem;
    grid-template-columns: 6px 1fr;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ov-bullets li:last-child {
    margin-bottom: 0;
}

.ov-bullet-dot {
    align-self: center;
    background: var(--coral);
    border-radius: 50%;
    height: 6px;
    transform: scale(0);
    transform-origin: center;
    transition: transform .55s cubic-bezier(0.34, 1.6, 0.64, 1);
    width: 6px;
}

.ov-bullet-text {
    clip-path: inset(0 100% 0 0);
    transition: clip-path .6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ov-card.is-revealed .ov-bullet-dot {
    transform: scale(1);
}

.ov-card.is-revealed .ov-bullet-text {
    clip-path: inset(0 0 0 0);
}

.ov-cards .ov-card:nth-child(1) .ov-bullets li:nth-child(1) .ov-bullet-dot  { transition-delay: 350ms; }
.ov-cards .ov-card:nth-child(1) .ov-bullets li:nth-child(1) .ov-bullet-text { transition-delay: 420ms; }
.ov-cards .ov-card:nth-child(1) .ov-bullets li:nth-child(2) .ov-bullet-dot  { transition-delay: 470ms; }
.ov-cards .ov-card:nth-child(1) .ov-bullets li:nth-child(2) .ov-bullet-text { transition-delay: 540ms; }
.ov-cards .ov-card:nth-child(1) .ov-bullets li:nth-child(3) .ov-bullet-dot  { transition-delay: 590ms; }
.ov-cards .ov-card:nth-child(1) .ov-bullets li:nth-child(3) .ov-bullet-text { transition-delay: 660ms; }

.ov-cards .ov-card:nth-child(2) .ov-bullets li:nth-child(1) .ov-bullet-dot  { transition-delay: 450ms; }
.ov-cards .ov-card:nth-child(2) .ov-bullets li:nth-child(1) .ov-bullet-text { transition-delay: 520ms; }
.ov-cards .ov-card:nth-child(2) .ov-bullets li:nth-child(2) .ov-bullet-dot  { transition-delay: 570ms; }
.ov-cards .ov-card:nth-child(2) .ov-bullets li:nth-child(2) .ov-bullet-text { transition-delay: 640ms; }
.ov-cards .ov-card:nth-child(2) .ov-bullets li:nth-child(3) .ov-bullet-dot  { transition-delay: 690ms; }
.ov-cards .ov-card:nth-child(2) .ov-bullets li:nth-child(3) .ov-bullet-text { transition-delay: 760ms; }

.ov-cards .ov-card:nth-child(3) .ov-bullets li:nth-child(1) .ov-bullet-dot  { transition-delay: 550ms; }
.ov-cards .ov-card:nth-child(3) .ov-bullets li:nth-child(1) .ov-bullet-text { transition-delay: 620ms; }
.ov-cards .ov-card:nth-child(3) .ov-bullets li:nth-child(2) .ov-bullet-dot  { transition-delay: 670ms; }
.ov-cards .ov-card:nth-child(3) .ov-bullets li:nth-child(2) .ov-bullet-text { transition-delay: 740ms; }
.ov-cards .ov-card:nth-child(3) .ov-bullets li:nth-child(3) .ov-bullet-dot  { transition-delay: 790ms; }
.ov-cards .ov-card:nth-child(3) .ov-bullets li:nth-child(3) .ov-bullet-text { transition-delay: 860ms; }

.ov-cards .ov-card:nth-child(4) .ov-bullets li:nth-child(1) .ov-bullet-dot  { transition-delay: 650ms; }
.ov-cards .ov-card:nth-child(4) .ov-bullets li:nth-child(1) .ov-bullet-text { transition-delay: 720ms; }
.ov-cards .ov-card:nth-child(4) .ov-bullets li:nth-child(2) .ov-bullet-dot  { transition-delay: 770ms; }
.ov-cards .ov-card:nth-child(4) .ov-bullets li:nth-child(2) .ov-bullet-text { transition-delay: 840ms; }
.ov-cards .ov-card:nth-child(4) .ov-bullets li:nth-child(3) .ov-bullet-dot  { transition-delay: 890ms; }
.ov-cards .ov-card:nth-child(4) .ov-bullets li:nth-child(3) .ov-bullet-text { transition-delay: 960ms; }

@media (max-width: 1100px) {
    .ov-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ov-cards {
        grid-template-columns: 1fr;
    }

    .ov-card-desc {
        min-height: 0;
    }
}

.timeline {
    max-width: 800px;
    margin: 80px auto 0;
    position: relative;
}

.timeline-step {
    display: grid;
    grid-template-columns: 100px 1fr 140px;
    gap: 48px;
    margin-bottom: 80px;
    position: relative;
    align-items: start;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.ts-num {
    position: relative;
    z-index: 2;
    width: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 50px;
    bottom: -130px;
    transform: translateX(-50%);
    width: 2px;
    background: var(--line);
    z-index: 0;
}

.ts-num span {
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 2px solid var(--line);
    color: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.timeline-step:hover .ts-num span {
    transform: scale(1.1);
    border-color: var(--coral);
    box-shadow: 0 0 20px rgb(var(--cta-rgb) / 0.2);
}

.ts-num::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--coral);
    opacity: 0;
    pointer-events: none;
}

.timeline-step:hover .ts-num::after {
    animation: circle-pulse 1.5s infinite;
}

@keyframes circle-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.ts-content,
.ts-meta {
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    transition: color .3s ease;
}

.timeline-step:hover .ts-content {
    transform: translateX(6px);
}

.timeline-step:hover .ts-meta {
    transform: translateX(-4px);
}

.timeline-step:hover .ts-content h3 {
    color: var(--coral);
}

.ts-content p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.ts-meta {
    text-align: right;
}

.ts-meta strong {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.ts-meta span {
    display: block;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 600;
}

@media (max-width: 820px) {
    .timeline-step {
        grid-template-columns: 80px 1fr;
        gap: 24px;
    }

    .ts-num {
        width: 80px;
    }

    .ts-num span {
        width: 80px;
        height: 80px;
        font-size: 1.25rem;
    }

    .timeline-step:not(:last-child)::before {
        left: 40px;
        top: 40px;
        bottom: -120px;
    }

    .ts-meta {
        grid-column: 2;
        text-align: left;
        margin-top: 8px;
    }
}

.mig-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    margin-top: 48px;
}

@media (max-width: 600px) {
    .mig-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
}

.section--navy {
    position: relative;
    background: var(--grad-navy-radial);
    color: var(--white);
    padding: 100px 0;
}

.section--navy .section-title {
    color: var(--white);
}

.section--navy .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 56px;
}

.bento-card:nth-child(4n + 1),
.bento-card:nth-child(4n + 4) {
    grid-column: span 3;
}

.bento-card:nth-child(4n + 2),
.bento-card:nth-child(4n + 3) {
    grid-column: span 2;
}

@media (max-width: 960px) {
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento-card:nth-child(n) {
        grid-column: auto;
    }
}

@media (max-width: 820px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        min-height: 0;
        padding: 28px;
    }
}

.fit-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 64px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fit-cell {
    position: relative;
    padding: 48px 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    align-items: start;
    background: var(--white);
    transition: background-color .3s ease;
    overflow: hidden;
}

.fit-cell:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.fit-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
}

.fit-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--coral);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fit-cell:hover::before {
    transform: scaleY(1);
}

.fit-cell:hover {
    background: rgb(var(--cta-rgb) / 0.03);
}

.fit-icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgb(var(--cta-rgb) / 0.08);
    color: var(--coral);
    transition: background-color .3s ease, transform .3s ease;
}

.fit-icon svg {
    width: 24px;
    height: 24px;
}

.fit-cell:hover .fit-icon {
    background: rgb(var(--cta-rgb) / 0.14);
    transform: translateY(-2px);
}

.fit-body h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0 0 10px;
}

@media (max-width: 600px) {
    .fit-layout {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .fit-cell {
        padding: 32px 0 32px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        column-gap: 20px;
    }

    .fit-cell:nth-child(odd) {
        border-right: 0;
    }

    .fit-cell:last-child {
        border-bottom: 0;
    }

    .fit-icon {
        width: 44px;
        height: 44px;
    }

    .fit-icon svg {
        width: 22px;
        height: 22px;
    }
}

.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.js-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.ov-card.surface-card.js-reveal {
    transition: opacity .6s ease, transform .3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .3s ease, border-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ov-card.surface-card.js-reveal:not(.is-revealed):hover {
        box-shadow: 0 4px 20px rgba(var(--shadow-base) / 0.04);
        transform: translateY(20px);
    }

    .ov-card.surface-card.js-reveal.is-revealed:hover {
        box-shadow: 0 16px 32px -16px rgba(var(--shadow-base) / 0.14);
        transform: translateY(-5px);
    }
}

.ov-cards .ov-card.js-reveal:not(.is-revealed):nth-child(2) {
    transition-delay: 0.1s;
}

.ov-cards .ov-card.js-reveal:not(.is-revealed):nth-child(3) {
    transition-delay: 0.2s;
}

.ov-cards .ov-card.js-reveal:not(.is-revealed):nth-child(4) {
    transition-delay: 0.3s;
}
