/* ==========================================================================
   ESDESIRE HOMEPAGE V2
   Page-specific styles (hero, sections, cards, etc.)
   Base tokens, nav, footer & btn system are in shared-v2.css, nav-v2.css, footer-v2.css
   ========================================================================== */

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.v2-hero {
    min-height: 0;
    height: auto;
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--v2-nav-h) + 80px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.v2-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

/* Left: headline */
.v2-hero-left {
    flex: 1 1 60%;
    min-width: 0;
}

.v2-hero-headline {
    font-family: var(--v2-font-head);
        font-size: clamp(44px, 7vw, 100px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--v2-white);
}

.v2-hero-line {
    display: block;
}

.v2-hero-line--enter-left,
.v2-hero-line--enter-right {
    opacity: 0;
    will-change: transform, opacity;
}

.v2-hero-line--enter-left {
    transform: translateX(-72px);
}

.v2-hero-line--enter-right {
    transform: translateX(72px);
}

body.v2-page-ready .v2-hero-line--enter-left,
body.v2-page-ready .v2-hero-line--enter-right {
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

body.v2-page-ready .v2-hero-line--enter-left {
    animation-name: v2HeroSlideLeft;
}

body.v2-page-ready .v2-hero-line--enter-right {
    animation-name: v2HeroSlideRight;
}

body.v2-page-ready .v2-hero-line--delay-1 {
    animation-delay: 0.16s;
}

body.v2-page-ready .v2-hero-line--delay-2 {
    animation-delay: 0.34s;
}

body.v2-page-ready .v2-hero-line--delay-3 {
    animation-delay: 0.52s;
}

@keyframes v2HeroSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-72px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes v2HeroSlideRight {
    0% {
        opacity: 0;
        transform: translateX(72px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.v2-hero-line--indent {
    padding-left: 12%;
}

.v2-hero-line--indent2 {
    padding-left: 6%;
}

.v2-hero-headline em {
    font-style: italic;
    color: var(--v2-green);
}

/* Right: description + CTA */
.v2-hero-right {
    flex: 0 1 440px;
    padding-bottom: 8px;
}

.v2-hero-dash {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--v2-green);
    margin-bottom: 24px;
}

.v2-hero-sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--v2-gray-200);
    margin-bottom: 32px;
}

/* Hero CTA now uses .v2-btn --green */

/* Hero responsive */
@media (max-width: 991px) {
    .v2-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .v2-hero-right {
        flex: none;
        max-width: 520px;
    }

    .v2-hero-line--indent { padding-left: 8%; }
    .v2-hero-line--indent2 { padding-left: 4%; }
}

@media (max-width: 768px) {
    .v2-hero {
        padding-bottom: 80px;
    }

    .v2-hero-headline {
        font-size: clamp(36px, 12vw, 64px);
    }

    .v2-hero-line--indent,
    .v2-hero-line--indent2 {
        padding-left: 0;
    }

    .v2-hero-line--enter-left {
        transform: translateX(-40px);
    }

    .v2-hero-line--enter-right {
        transform: translateX(40px);
    }
}

/* ==========================================================================
   V2-VALUE — Full-width value statement banner
   ========================================================================== */
.v2-value-section {
    padding: 48px 0;
    text-align: center;
    background: var(--v2-black);
}

.v2-value-heading {
    font-family: var(--v2-font-head);
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 800;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--v2-white);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.v2-value-sub {
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.v2-section {
    padding: 56px 0;
}

.v2-section--dark {
    background: transparent;
    position: relative;
    z-index: 1;
}

.v2-section--charcoal {
    background: var(--v2-gray-900);
    position: relative;
    z-index: 1;
}

.v2-section-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--v2-accent);
    margin-bottom: 16px;
}

.v2-section-heading {
    font-family: var(--v2-font-head);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--v2-white);
    margin-bottom: 20px;
}

.v2-section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--v2-gray-400);
    max-width: 640px;
}

/* ==========================================================================
   V2-CARD — Reusable featured card
   ========================================================================== */
.v2-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding: 0 40px;
}

.v2-card {
    --v2-card-accent: var(--v2-purple);
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--v2-gray-900);
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    min-height: 500px;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Bottom accent bar */
.v2-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--v2-card-accent);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.v2-card:hover::after {
    transform: scaleX(1);
}

/* Background image (covers entire card) */
.v2-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.v2-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-card:hover .v2-card-bg img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

.v2-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    transition: background 0.7s ease;
}

.v2-card:hover .v2-card-bg::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.65) 100%);
}

.v2-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--v2-gray-800) 0%, var(--v2-gray-900) 60%, rgba(139,68,134,0.15) 100%);
}

/* Body (label + title — overlays image) */
.v2-card-body {
    position: relative;
    z-index: 2;
    padding: 28px 28px 24px;
    flex: 1 1 auto;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-card:hover .v2-card-body {
    transform: translateY(-6px);
}

.v2-card-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--v2-card-accent);
    margin-bottom: 16px;
    transition: color 0.5s ease;
}

.v2-card-grid > .v2-card:nth-child(3n + 1) {
    --v2-card-accent: var(--v2-green);
}

.v2-card-grid > .v2-card:nth-child(3n + 2) {
    --v2-card-accent: var(--v2-purple);
}

.v2-card-grid > .v2-card:nth-child(3n) {
    --v2-card-accent: var(--v2-blue);
}

.v2-card:hover .v2-card-label {
    color: var(--v2-card-accent);
}

.v2-card-title {
    font-family: var(--v2-font-head);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--v2-white);
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Inverted card (white background) */
.v2-card--invert {
    background: var(--v2-gray-100);
}

.v2-card--invert .v2-card-bg::after {
    background: linear-gradient(180deg, rgba(245,245,245,0.85) 0%, rgba(245,245,245,0.3) 50%, rgba(245,245,245,0.6) 100%);
}

.v2-card--invert .v2-card-label {
    color: var(--v2-accent);
}

.v2-card--invert .v2-card-title {
    color: var(--v2-black);
}

.v2-card--invert .v2-card-bg img {
    filter: grayscale(100%);
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-card--invert:hover .v2-card-bg img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

/* Card grid responsive */
@media (max-width: 1200px) {
    .v2-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-card { min-height: 380px; }
}

@media (max-width: 640px) {
    .v2-card-grid {
        grid-template-columns: 1fr;
    }
    .v2-card { min-height: 340px; }
}

/* ==========================================================================
   V2-SVC — Service cards (flex + rAF lerp)
   ========================================================================== */
.v2-svc-row {
    display: flex;
    align-items: stretch;
    gap: 3px;
    padding: 40px 0 0;
    max-width: var(--v2-max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
}

.v2-svc-card {
    position: relative;
    min-height: 480px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    /* flex-grow driven by JS --grow variable */
    flex: var(--grow, 1) 1 0%;
    will-change: contents;
}

.v2-svc-card.is-active {
    z-index: 10;
}

/* ---- Image background ---- */
.v2-svc-card-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.v2-svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease, filter 0.9s ease;
    filter: brightness(0.55) saturate(0.7);
}

.v2-svc-card.is-active .v2-svc-card-img img {
    transform: scale(1.08);
    filter: brightness(0.32) saturate(1);
}

.v2-svc-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* ---- Overlay (text layer) ---- */
.v2-svc-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 22px;
    min-width: 0;
}

/* ---- Icon ---- */
.v2-svc-card-icon {
    font-size: 24px;
    color: var(--v2-green);
    margin-bottom: 12px;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Title ---- */
.v2-svc-card-title {
    font-family: var(--v2-font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--v2-white);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-svc-card.is-active .v2-svc-card-title {
    white-space: normal;
    font-size: 20px;
}

/* ---- Reveal wrapper ---- */
.v2-svc-card-reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
}

.v2-svc-card.is-active .v2-svc-card-reveal {
    grid-template-rows: 1fr;
}

.v2-svc-card-reveal > div {
    overflow: hidden;
}

/* ---- Description ---- */
.v2-svc-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--v2-gray-200);
    padding-top: 12px;
    opacity: 0;
    transition: opacity 0.4s ease 0.15s;
}

.v2-svc-card.is-active .v2-svc-card-desc {
    opacity: 1;
}

/* ---- Learn more link ---- */
.v2-svc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-green);
    padding-top: 12px;
    opacity: 0;
    transition: opacity 0.4s ease 0.25s;
}

.v2-svc-card.is-active .v2-svc-card-link {
    opacity: 1;
}

.v2-svc-card-link i {
    font-size: 11px;
    transition: transform 0.3s;
}

.v2-svc-card.is-active .v2-svc-card-link:hover i {
    transform: translateX(4px);
}

/* ---- Left accent bar ---- */
.v2-svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--v2-green);
    z-index: 3;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
}

.v2-svc-card.is-active::before {
    transform: scaleY(1);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .v2-svc-row {
        flex-wrap: wrap;
    }
    .v2-svc-card {
        flex: 1 1 calc(50% - 8px) !important;
        min-height: 360px;
    }
}

@media (max-width: 900px) {
    .v2-svc-card {
        flex: 1 1 100% !important;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .v2-svc-card {
        flex: 1 1 100% !important;
        min-height: 280px;
    }
    .v2-svc-card-reveal {
        grid-template-rows: 1fr;
    }
    .v2-svc-card-desc,
    .v2-svc-card-link {
        opacity: 1;
    }
}

/* ==========================================================================
   V2-LOGOS — Client logo strip (infinite scroll)
   ========================================================================== */
.v2-logos-section {
    padding: 48px 0 56px;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    background: var(--v2-black);
    max-width: var(--v2-max-w);
    margin: 0 auto;
    position: relative;
}

.v2-logos-section::before,
.v2-logos-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.v2-logos-section::before {
    left: 0;
    background: linear-gradient(to right, var(--v2-black) 0%, transparent 100%);
}

.v2-logos-section::after {
    right: 0;
    background: linear-gradient(to left, var(--v2-black) 0%, transparent 100%);
}

.v2-logos-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    will-change: transform;
}

.v2-logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 80px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 16px 28px;
    position: relative;
    will-change: transform;
}

.v2-logo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.v2-logo-card:hover::after {
    opacity: 0;
}

.v2-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .v2-logo-card {
        width: 150px;
        height: 60px;
        padding: 12px 20px;
    }
}

/* ==========================================================================
   V2-TESTIMONIALS — Homepage social proof
   ========================================================================== */
.v2-testimonials-section {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
}

.v2-testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(128,183,55,0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(17,139,189,0.12), transparent 32%);
    pointer-events: none;
}

.v2-testimonials-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.v2-testimonials-header .v2-section-desc {
    max-width: 460px;
}

.v2-testimonials-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.v2-testimonial-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 34px 32px 32px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.3s ease,
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-testimonial-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--v2-green) 0%, var(--v2-purple) 55%, var(--v2-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(128,183,55,0.22);
    box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}

.v2-testimonial-card:hover::after {
    transform: scaleX(1);
}

.v2-testimonial-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.v2-testimonial-logo {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.v2-testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v2-testimonial-logo span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(128,183,55,0.18), rgba(17,139,189,0.18));
    color: var(--v2-black);
    font-family: var(--v2-font-head);
    font-size: 22px;
    font-weight: 700;
}

.v2-testimonial-name {
    font-family: var(--v2-font-head);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--v2-white);
    margin-bottom: 6px;
}

.v2-testimonial-role {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v2-gray-500);
}

.v2-testimonial-rating {
    font-size: 14px;
    letter-spacing: 0.16em;
    color: var(--v2-green);
    white-space: nowrap;
}

.v2-testimonial-copy {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--v2-gray-200);
    max-width: 52ch;
}

@media (max-width: 991px) {
    .v2-testimonials-section {
        padding: 48px 0;
    }

    .v2-testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 36px;
    }

    .v2-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .v2-testimonials-section {
        padding: 48px 0;
    }

    .v2-testimonial-card {
        padding: 24px 20px 22px;
    }

    .v2-testimonial-top {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .v2-testimonial-logo {
        width: 72px;
        height: 72px;
    }

    .v2-testimonial-name {
        font-size: 20px;
    }

    .v2-testimonial-copy {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ==========================================================================
   V2-LEADERS — Leadership cards
   ========================================================================== */
.v2-leaders-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.v2-leaders-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.v2-leader-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    padding: 40px 36px;
    transition: background 0.5s ease,
                border-color 0.5s ease,
                transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-leader-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(128, 183, 55, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.v2-leader-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--v2-green);
}

.v2-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-leader-avatar span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 183, 55, 0.14);
    color: var(--v2-white);
    font-family: var(--v2-font-head);
    font-size: 22px;
    font-weight: 700;
}

.v2-leader-body {
    flex: 1;
    min-width: 0;
}

.v2-leader-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--v2-gray-200);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--v2-green);
}

.v2-leader-name {
    font-family: var(--v2-font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--v2-white);
    margin-bottom: 4px;
}

.v2-leader-role {
    font-size: 13px;
    color: var(--v2-green);
    font-weight: 500;
    letter-spacing: 0.03em;
}

@media (max-width: 900px) {
    .v2-leaders-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .v2-leader-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }
    .v2-leader-quote {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--v2-green);
        padding-top: 16px;
    }
}

/* ==========================================================================
   V2-LEGACY — Values with colored side bars
   ========================================================================== */
.v2-legacy-section {
    padding: 48px 0;
    background: var(--v2-gray-900);
    position: relative;
}

.v2-legacy-header {
    margin-bottom: 64px;
}

.v2-legacy-values {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v2-legacy-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.4s;
    min-width: 0;
}

.v2-legacy-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.v2-legacy-item:hover {
    background: rgba(255,255,255,0.02);
}

/* Colored left bar */
.v2-legacy-bar {
    width: 4px;
    flex-shrink: 0;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-legacy-bar--green  { background: var(--v2-green); }
.v2-legacy-bar--purple { background: var(--v2-purple); }
.v2-legacy-bar--blue   { background: var(--v2-blue); }

.v2-legacy-item:hover .v2-legacy-bar {
    width: 6px;
}

.v2-legacy-content {
    display: flex;
    align-items: baseline;
    gap: 32px;
    padding: 40px 32px;
    flex: 1;
    min-width: 0;
}

.v2-legacy-number {
    font-family: var(--v2-font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-gray-500);
    flex-shrink: 0;
    width: 28px;
}

.v2-legacy-title {
    font-family: var(--v2-font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--v2-white);
    line-height: 1.3;
    flex: 0 0 280px;
}

.v2-legacy-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--v2-gray-400);
    flex: 1;
    min-width: 0;
}

/* Stat row */
.v2-legacy-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.v2-legacy-stat {
    padding: 40px 0;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.v2-legacy-stat:last-child {
    border-right: none;
}

.v2-legacy-stat-num {
    display: block;
    font-family: var(--v2-font-head);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    color: var(--v2-green);
    line-height: 1;
    margin-bottom: 8px;
}

.v2-legacy-stat-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v2-gray-500);
}

/* Legacy responsive */
@media (max-width: 991px) {
    .v2-legacy-content {
        flex-wrap: wrap;
        gap: 8px 24px;
        padding: 32px 24px;
    }
    .v2-legacy-title {
        flex: 1 1 100%;
        font-size: 20px;
    }
    .v2-legacy-number {
        order: -1;
    }
}

@media (max-width: 640px) {
    .v2-legacy-section {
        padding: 48px 0;
    }

    .v2-legacy-item {
        display: grid;
        grid-template-columns: 4px minmax(0, 1fr);
    }

    .v2-legacy-bar {
        width: 4px;
        height: 100%;
    }

    .v2-legacy-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        width: 100%;
        min-width: 0;
        gap: 12px;
    }

    .v2-legacy-number,
    .v2-legacy-title,
    .v2-legacy-text {
        width: 100%;
        max-width: 100%;
    }

    .v2-legacy-title {
        flex: none;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .v2-legacy-text {
        overflow-wrap: anywhere;
    }

    .v2-legacy-stat-row {
        grid-template-columns: 1fr 1fr;
    }
    .v2-legacy-stat {
        padding: 28px 0;
    }
    .v2-legacy-stat:nth-child(2) {
        border-right: none;
    }
    .v2-legacy-stat:nth-child(1),
    .v2-legacy-stat:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
}

/* ==========================================================================
   V2-CASES — Case study cards
   ========================================================================== */
.v2-cases-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.v2-cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 56px;
}

.v2-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.v2-case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--v2-gray-900);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s,
                box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(128, 183, 55, 0.2);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

/* Image */
.v2-case-img {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: var(--v2-gray-800);
}

.v2-case-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s;
    filter: brightness(0.85) saturate(0.9);
}

.v2-case-card:hover .v2-case-img img {
    transform: scale(1.06);
    filter: brightness(0.7) saturate(1);
}

.v2-case-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--v2-gray-800) 0%, rgba(139,68,134,0.12) 50%, rgba(17,139,189,0.1) 100%);
}

/* Body */
.v2-case-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.v2-case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v2-purple);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.v2-case-card:hover .v2-case-tag {
    color: var(--v2-green);
}

.v2-case-title {
    font-family: var(--v2-font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-white);
    line-height: 1.3;
    margin-bottom: 10px;
}

.v2-case-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--v2-gray-400);
    margin-bottom: 16px;
    flex: 1;
}

.v2-case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-green);
    transition: gap 0.3s;
}

.v2-case-link i {
    font-size: 11px;
    transition: transform 0.3s;
}

.v2-case-card:hover .v2-case-link {
    gap: 12px;
}

.v2-case-card:hover .v2-case-link i {
    transform: translateX(2px);
}

/* Bottom accent bar */
.v2-case-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--v2-green) 0%, var(--v2-purple) 50%, var(--v2-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v2-case-card:hover .v2-case-accent {
    transform: scaleX(1);
}

/* Cases responsive */
@media (max-width: 1200px) {
    .v2-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .v2-cases-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .v2-cases-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .v2-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   V2-DELIVERY — Process timeline
   ========================================================================== */
.v2-delivery-section {
    padding: 48px 0;
    background: var(--v2-gray-900);
    overflow: hidden;
}

.v2-delivery-header {
    text-align: center;
    margin-bottom: 80px;
}

.v2-delivery-header .v2-section-desc {
    margin: 0 auto;
}

/* Track container */
.v2-delivery-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

/* Horizontal connecting line */
.v2-delivery-line {
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--v2-green), var(--v2-purple), var(--v2-blue), var(--v2-green));
    z-index: 0;
}

/* Step */
.v2-delivery-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Dot */
.v2-delivery-dot {
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
    transition: border-color 0.4s, background 0.4s, transform 0.4s;
}

.v2-delivery-dot::after {
    content: '';
    width: 12px;
    height: 12px;
    transition: transform 0.4s;
}

.v2-delivery-dot--green  { border-color: var(--v2-green); }
.v2-delivery-dot--purple { border-color: var(--v2-purple); }
.v2-delivery-dot--blue   { border-color: var(--v2-blue); }

.v2-delivery-dot--green::after  { background: var(--v2-green); }
.v2-delivery-dot--purple::after { background: var(--v2-purple); }
.v2-delivery-dot--blue::after   { background: var(--v2-blue); }

.v2-delivery-step:hover .v2-delivery-dot {
    transform: scale(1.15);
}

.v2-delivery-step:hover .v2-delivery-dot--green  { background: rgba(128,183,55,0.15); }
.v2-delivery-step:hover .v2-delivery-dot--purple { background: rgba(139,68,134,0.15); }
.v2-delivery-step:hover .v2-delivery-dot--blue   { background: rgba(17,139,189,0.15); }

/* Step inner */
.v2-delivery-step-inner {
    padding: 0 24px;
    max-width: 280px;
}

.v2-delivery-num {
    display: block;
    font-family: var(--v2-font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--v2-gray-500);
    margin-bottom: 12px;
}

.v2-delivery-step-title {
    font-family: var(--v2-font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-white);
    margin-bottom: 12px;
}

.v2-delivery-step-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--v2-gray-400);
}

/* Delivery responsive */
@media (max-width: 991px) {
    .v2-delivery-track {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 40px;
    }

    .v2-delivery-line {
        top: 0;
        bottom: 0;
        left: 19px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--v2-green), var(--v2-purple), var(--v2-blue), var(--v2-green));
    }

    .v2-delivery-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 32px 0;
    }

    .v2-delivery-dot {
        margin-bottom: 0;
        margin-right: 28px;
        flex-shrink: 0;
        margin-left: -40px;
    }

    .v2-delivery-step-inner {
        padding: 0;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .v2-delivery-section {
        padding: 48px 0;
    }
    .v2-delivery-header {
        margin-bottom: 56px;
    }
}

/* ==========================================================================
   V2-CONTACT — Get in Touch section
   ========================================================================== */
.v2-contact-section {
    padding: 48px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Subtle top border using all 3 brand colors */
.v2-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--v2-green) 0%, var(--v2-green) 33.33%, var(--v2-purple) 33.33%, var(--v2-purple) 66.66%, var(--v2-blue) 66.66%, var(--v2-blue) 100%);
}

.v2-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}

/* ── Left: info panel ── */
.v2-contact-info {
    padding-top: 0;
}

.v2-contact-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--v2-gray-400);
    margin-bottom: 48px;
    max-width: 420px;
}

/* Contact channels */
.v2-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.v2-contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.v2-contact-channel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.v2-contact-channel-icon--green {
    color: var(--v2-green);
}
.v2-contact-channel-icon--purple {
    color: var(--v2-purple);
}
.v2-contact-channel-icon--blue {
    color: var(--v2-blue);
}

.v2-contact-channel:hover .v2-contact-channel-icon--green {
    background: var(--v2-green);
    border-color: var(--v2-green);
    color: var(--v2-white);
}
.v2-contact-channel:hover .v2-contact-channel-icon--purple {
    background: var(--v2-purple);
    border-color: var(--v2-purple);
    color: var(--v2-white);
}
.v2-contact-channel:hover .v2-contact-channel-icon--blue {
    background: var(--v2-blue);
    border-color: var(--v2-blue);
    color: var(--v2-white);
}

.v2-contact-channel-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v2-gray-500);
    margin-bottom: 2px;
}

.v2-contact-channel-value {
    font-size: 15px;
    color: var(--v2-white);
    transition: color 0.2s;
    display: inline-block;
    max-width: 220px;
}

a.v2-contact-channel-value:hover {
    color: var(--v2-green);
}

/* Decorative accent bars */
.v2-contact-accent {
    display: flex;
    gap: 6px;
    margin-top: 48px;
}

.v2-contact-accent-bar {
    height: 4px;
    width: 48px;
}

.v2-contact-accent-bar--green  { background: var(--v2-green); }
.v2-contact-accent-bar--purple { background: var(--v2-purple); }
.v2-contact-accent-bar--blue   { background: var(--v2-blue); }

/* ── Right: form ── */
.v2-contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 48px;
    position: relative;
}

/* Corner accent — top-right green + bottom-left purple */
.v2-contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 3px;
    background: var(--v2-green);
}

.v2-contact-form-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--v2-purple);
}

.v2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.v2-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2-form-group:last-child:not(.v2-form-row .v2-form-group) {
    margin-bottom: 32px;
}

.v2-form-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v2-gray-400);
}

.v2-form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--v2-gray-500);
    font-size: 11px;
}

.v2-form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--v2-font);
    font-size: 15px;
    color: var(--v2-white);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.v2-form-input::placeholder {
    color: var(--v2-gray-500);
}

.v2-form-input:focus {
    border-color: var(--v2-green);
    background: rgba(128, 183, 55, 0.04);
    box-shadow: 0 0 0 3px rgba(128, 183, 55, 0.08);
}

/* ── Custom animated select ── */
.v2-select {
    position: relative;
}

.v2-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-family: var(--v2-font);
    font-size: 15px;
    color: var(--v2-white);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    text-align: left;
}

.v2-select-trigger:hover {
    border-color: rgba(255,255,255,0.2);
}

.v2-select.is-open .v2-select-trigger {
    border-color: var(--v2-green);
    background: rgba(128, 183, 55, 0.04);
    box-shadow: 0 0 0 3px rgba(128, 183, 55, 0.08);
}

.v2-select-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-select-value.is-placeholder {
    color: var(--v2-gray-500);
}

.v2-select-chevron {
    font-size: 12px;
    color: var(--v2-gray-500);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s;
    flex-shrink: 0;
}

.v2-select.is-open .v2-select-chevron {
    transform: rotate(180deg);
    color: var(--v2-green);
}

/* Dropdown panel */
.v2-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: var(--v2-gray-800);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 50;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.v2-select.is-open .v2-select-dropdown {
    max-height: 320px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Closing state — faster ease-in */
.v2-select.is-closing .v2-select-dropdown {
    transition: max-height 0.25s cubic-bezier(0.55, 0, 1, 0.45),
                opacity 0.2s cubic-bezier(0.55, 0, 1, 0.45),
                transform 0.25s cubic-bezier(0.55, 0, 1, 0.45);
}

.v2-select-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--v2-gray-400);
    cursor: pointer;
    transition: color 0.15s, background 0.15s, padding-left 0.25s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.v2-select-option:last-child {
    border-bottom: none;
}

.v2-select-option:hover {
    color: var(--v2-white);
    background: rgba(128, 183, 55, 0.08);
    padding-left: 22px;
}

.v2-select-option.is-selected {
    color: var(--v2-green);
    font-weight: 600;
}

.v2-select-option.is-selected::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--v2-green);
    margin-right: 10px;
    vertical-align: middle;
}

/* Scrollbar inside dropdown */
.v2-select-dropdown::-webkit-scrollbar {
    width: 4px;
}

.v2-select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.v2-select-dropdown::-webkit-scrollbar-thumb {
    background: var(--v2-gray-700);
}

/* Textarea */
.v2-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button */
.v2-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--v2-white);
    transition: gap 0.3s;
}

.v2-form-submit:hover {
    gap: 18px;
}

.v2-form-submit-text {
    font-family: var(--v2-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.v2-form-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 14px;
    background: var(--v2-green);
    color: var(--v2-white);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    border: 2px solid transparent;
}

.v2-form-submit:hover .v2-form-submit-text {
    color: var(--v2-green);
}

.v2-form-submit:hover .v2-form-submit-icon {
    background: transparent;
    border-color: var(--v2-green);
    color: var(--v2-green);
}

/* ── Contact section responsive ── */
@media (max-width: 991px) {
    .v2-contact-section {
        padding: 48px 0;
    }

    .v2-contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .v2-contact-desc {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .v2-contact-section {
        padding: 48px 0;
    }

    .v2-contact-form-wrap {
        padding: 32px 24px;
    }

    .v2-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   V2-CONTACT MAP
   ========================================================================== */
.v2-contact-map-section {
    padding: 0 0 48px;
}

.v2-contact-map-frame {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.v2-contact-map-frame iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
    filter: grayscale(1) contrast(1.05);
}

.v2-contact-form-wrap .alert {
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .v2-contact-map-section {
        padding-bottom: 48px;
    }

    .v2-contact-map-frame iframe {
        min-height: 320px;
    }
}

/* ==========================================================================
   MOBILE POLISH
   ========================================================================== */
@media (max-width: 991px) {
    .v2-section {
        padding: 48px 0;
    }

    .v2-value-section,
    .v2-legacy-section,
    .v2-cases-section,
    .v2-delivery-section,
    .v2-contact-section,
    .v2-testimonials-section,
    .v2-leaders-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .v2-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 24px;
    }

    .v2-card {
        min-height: 360px;
    }

    .v2-svc-row {
        gap: 12px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .v2-svc-card-overlay {
        padding: 24px 20px;
    }

    .v2-cases-header {
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 36px;
    }

    .v2-cases-grid {
        grid-template-columns: 1fr;
    }

    .v2-delivery-header {
        text-align: left;
        margin-bottom: 48px;
    }

    .v2-delivery-header .v2-section-desc {
        margin: 0;
    }

    .v2-contact-channel-value {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 640px) {
    .v2-hero {
        padding-top: calc(var(--v2-nav-h) + 44px);
        padding-bottom: 64px;
    }

    .v2-hero-inner {
        gap: 28px;
    }

    .v2-hero-right {
        max-width: none;
    }

    .v2-hero-sub,
    .v2-section-desc,
    .v2-value-sub,
    .v2-legacy-text,
    .v2-case-excerpt,
    .v2-delivery-step-desc,
    .v2-contact-desc {
        font-size: 15px;
        line-height: 1.65;
    }

    .v2-value-section,
    .v2-legacy-section,
    .v2-cases-section,
    .v2-delivery-section,
    .v2-contact-section,
    .v2-testimonials-section,
    .v2-leaders-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .v2-value-heading {
        margin-bottom: 20px;
    }

    .v2-value-sub {
        margin-bottom: 32px;
    }

    .v2-section-kicker {
        margin-bottom: 12px;
    }

    .v2-section-heading {
        font-size: clamp(28px, 9vw, 40px);
        margin-bottom: 16px;
    }

    .v2-card-grid {
        gap: 18px;
        padding: 0;
    }

    .v2-card {
        min-height: 300px;
    }

    .v2-card-body {
        padding: 22px 20px 20px;
    }

    .v2-card-title {
        font-size: 18px;
    }

    .v2-svc-row {
        gap: 12px;
        padding-top: 28px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .v2-svc-card {
        min-height: 260px;
    }

    .v2-svc-card-overlay {
        padding: 20px 18px;
    }

    .v2-svc-card-title,
    .v2-svc-card.is-active .v2-svc-card-title {
        white-space: normal;
        font-size: 18px;
    }

    .v2-svc-card-desc {
        padding-top: 10px;
        font-size: 13px;
    }

    .v2-svc-card-link {
        padding-top: 10px;
    }

    .v2-logos-section {
        padding: 36px 0 42px;
    }

    .v2-logos-section::before,
    .v2-logos-section::after {
        width: 48px;
    }

    .v2-logo-card {
        width: 132px;
        height: 56px;
        padding: 10px 16px;
    }

    .v2-leaders-row {
        margin-top: 32px;
        gap: 20px;
    }

    .v2-leader-card {
        padding: 24px 20px;
        gap: 20px;
    }

    .v2-leader-avatar {
        width: 64px;
        height: 64px;
    }

    .v2-leader-avatar span {
        font-size: 18px;
    }

    .v2-legacy-header {
        margin-bottom: 40px;
    }

    .v2-legacy-content {
        gap: 10px;
    }

    .v2-legacy-title {
        font-size: 18px;
    }

    .v2-legacy-text {
        font-size: 14px;
    }

    .v2-legacy-stat-num {
        font-size: clamp(28px, 8vw, 40px);
    }

    .v2-cases-header {
        gap: 18px;
        margin-bottom: 28px;
    }

    .v2-cases-grid {
        gap: 18px;
    }

    .v2-case-body {
        padding: 20px 18px 22px;
    }

    .v2-case-title {
        font-size: 17px;
    }

    .v2-delivery-track {
        padding-left: 28px;
    }

    .v2-delivery-line {
        left: 13px;
    }

    .v2-delivery-step {
        padding: 24px 0;
    }

    .v2-delivery-dot {
        width: 28px;
        height: 28px;
        margin-right: 18px;
        margin-left: -28px;
    }

    .v2-delivery-dot::after {
        width: 8px;
        height: 8px;
    }

    .v2-delivery-num {
        margin-bottom: 8px;
    }

    .v2-delivery-step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .v2-contact-grid {
        gap: 36px;
    }

    .v2-contact-info,
    .v2-contact-form-wrap {
        min-width: 0;
    }

    .v2-contact-desc {
        margin-bottom: 28px;
    }

    .v2-contact-channels {
        gap: 18px;
    }

    .v2-contact-channel {
        align-items: flex-start;
        gap: 12px;
    }

    .v2-contact-channel-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .v2-contact-accent {
        margin-top: 32px;
    }

    .v2-contact-form-wrap {
        padding: 24px 18px;
    }

    .v2-contact-form-wrap::before,
    .v2-contact-form-wrap::after {
        width: 32px;
    }

    .v2-form-row {
        gap: 16px;
        margin-bottom: 16px;
    }

    .v2-form-input,
    .v2-select-trigger {
        padding: 13px 14px;
        font-size: 14px;
    }

    .v2-select.is-open .v2-select-dropdown {
        max-height: 240px;
    }

    .v2-form-textarea {
        min-height: 108px;
    }

    .v2-form-submit {
        width: 100%;
        justify-content: space-between;
        margin-top: 20px;
    }

    .v2-contact-map-frame iframe {
        min-height: 260px;
    }
}

@media (max-width: 420px) {
    .v2-hero-headline {
        font-size: clamp(32px, 12vw, 48px);
        line-height: 0.98;
    }

    .v2-btn {
        gap: 10px;
    }

    .v2-btn-text {
        font-size: 14px;
    }

    .v2-btn-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .v2-legacy-stat-row {
        grid-template-columns: 1fr;
    }

    .v2-legacy-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .v2-legacy-stat:last-child {
        border-bottom: none;
    }

    .v2-contact-channel {
        gap: 10px;
    }

    .v2-contact-channel-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .v2-contact-channel-value {
        font-size: 14px;
    }
}

@media (hover: none), (pointer: coarse) {
    .v2-card:hover,
    .v2-case-card:hover,
    .v2-leader-card:hover {
        transform: none;
        box-shadow: none;
    }

    .v2-card:hover::after,
    .v2-case-card:hover .v2-case-accent {
        transform: none;
    }

    .v2-card:hover .v2-card-body,
    .v2-card:hover .v2-card-bg img,
    .v2-case-card:hover .v2-case-img img,
    .v2-case-card:hover .v2-case-link i {
        transform: none;
    }

    .v2-card:hover .v2-card-bg::after,
    .v2-case-card:hover,
    .v2-leader-card:hover {
        border-color: rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.04);
    }

    .v2-case-card:hover .v2-case-link {
        gap: 8px;
    }

    .v2-contact-channel:hover .v2-contact-channel-icon--green,
    .v2-contact-channel:hover .v2-contact-channel-icon--purple,
    .v2-contact-channel:hover .v2-contact-channel-icon--blue {
        background: transparent;
        color: inherit;
    }

    .v2-contact-channel:hover .v2-contact-channel-icon--green {
        color: var(--v2-green);
        border-color: rgba(255,255,255,0.1);
    }

    .v2-contact-channel:hover .v2-contact-channel-icon--purple {
        color: var(--v2-purple);
        border-color: rgba(255,255,255,0.1);
    }

    .v2-contact-channel:hover .v2-contact-channel-icon--blue {
        color: var(--v2-blue);
        border-color: rgba(255,255,255,0.1);
    }

    .v2-logo-card:hover::after {
        opacity: 1;
    }
}


