/* ============================================================
   SHARED — chip, section heading, section wrapper
============================================================ */
.di-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f60074 0%, #ab00e1 100%);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
}
.di-section-head .di-title {
    padding-top: 17px;
    font-size: 40px;
    line-height: 54px;
    font-weight: 700;
    color: var(--gray-700);
}
.di-section-head .di-subtitle {
    margin-top: 15px;
    font-size: 18px;
    line-height: 28px;
    color: var(--gray-400);
}
.di-section {
    padding: 80px 0;
    background: var(--white);
}
/* Alternating background: every second .di-section (hero + trusted
   precede them, so even-indexed sections are the tinted ones). */
.di-section:nth-of-type(odd) {
    background: #F5F8FE;
}
/* Home page: alternation starts white at the products section
   ("One integrated suite..."), then gray, white, ... down to contact. */
.di-services.home-page .di-section:nth-of-type(odd) {
    background: var(--white);
}
.di-services.home-page .di-section:nth-of-type(even) {
    background: #F5F8FE;
}
.di-section .di-section-body {
    margin-top: 50px;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
    padding-top: 25px;
    position: relative;
    background: #090235;
    overflow: hidden;
    height: 690px;
}
.hero-section .hero-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    z-index: 0;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section .hero-nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-section .hero-nav .di-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-section .hero-nav .request-valuation {
    padding: 0 30px;
    border-color: var(--white);
    border-radius: 12px;
    color: var(--white);
    background: transparent;
    font-weight: 400;
}

.hero-section .hero-nav .request-valuation:hover{
    background: var(--gray-500);
    border-color: var(--gray-500);
}

.hero-section .di-hero-content {
    margin-top: 92px;
}
.di-hero-content .btn {
    padding: 0 30px;
    border-radius: 12px;
}
.hero-section .di-hero-title {
    font-size: 60px;
    line-height: 64px;
    font-weight: 700;
    color: var(--white);
}
.hero-section .di-hero-title .di-grad-text {
    background: linear-gradient(90deg, #9900d0 0%, #d400a1 50%, #ff0077 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-section .di-accent-line {
    margin: 40px 0;
    display: block;
    width: 110px;
    height: 5px;
    border-radius: 60px;
    background: linear-gradient(90deg, #f60074 0%, #ab00e1 100%);
}
.hero-section .di-hero-sub {
    margin-bottom: 40px;
    font-size: 22px;
    color: var(--white);
}

/* ============================================================
   TRUSTED BY STRIP
============================================================ */
.trusted-section {
    position: relative;
    background: var(--white);
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.20);
}
.trusted-section .trusted-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    line-height: normal;
    border-radius: 8px 8px 0 0;
    background: var(--white);
    font-size: 12px;
    color: var(--black);
    position: absolute;
    top: -35px;
    z-index: 1;
}
/* Auto-scrolling marquee: a clipped viewport with two identical
   tracks translating left for a seamless infinite loop. */
.trusted-section .trusted-logos {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    height: 93px;
    overflow: hidden;
}
.trusted-section .trusted-track {
    display: flex;
    align-items: center;
    flex: none;
    gap: 39px;
    padding-right: 39px; /* keeps spacing consistent across the seam */
    animation: trusted-scroll 40s linear infinite;
}
.trusted-section .trusted-logos:hover .trusted-track {
    animation-play-state: paused;
}
.trusted-section .trusted-logos .logo-wrap {
    flex: 0 0 auto;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}
.trusted-section .trusted-logos .logo-wrap img {
    max-width: 100%;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@keyframes trusted-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .trusted-section .trusted-track {
        animation: none;
    }
    /* Fall back to a manually scrollable row */
    .trusted-section .trusted-logos {
        overflow-x: auto;
        scrollbar-width: none;
    }
    .trusted-section .trusted-logos::-webkit-scrollbar {
        display: none;
    }
}

/* ============================================================
   PRODUCTS SECTION — Four intelligence layers
============================================================ */
.products-section .product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.product-card {
    position: relative;
    background: var(--white);
    border: 1px solid #d3d0ff;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 324px;
    flex: 1 1 calc(50% - 15px);
}
.product-card:hover {
    border-color: #c101fa;
    box-shadow: 0 0 36px rgba(0, 0, 0, .12);
}
.product-card .card-head {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.product-card .card-head.is-purple {
    background: linear-gradient(135deg, #9b00c9 8.43%, #c500ff 95.54%);
}
.product-card .card-head.is-pink {
    background: linear-gradient(135deg, #dc006b 8.43%, #ff62af 95.54%);
}
.product-card .card-icon {
    width: 42px;
    height: 42px;
    flex: none;
}
.product-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card .card-title {
    max-width: 191px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    color: var(--white);
}
.product-card .card-num {
    margin-left: auto;
    font-size: 38px;
    font-weight: 700;
}
.product-card .card-num.is-purple {
    color: #db63ff;
}
.product-card .card-num.is-pink {
    color: #ff91c7;
}
.product-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card .card-desc {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 22px;
    color: var(--gray-500);
}
.product-card .card-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-card .card-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 26px;
    color: var(--gray-500);
}
.product-card .card-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gray-500);
}
.product-card .card-link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-500);
}
/* Whole card is clickable (main.js), so nudge the arrow on card hover too. */
.product-card .card-link:hover,
.product-card:hover .card-link {
    gap: 12px;
}
.product-card .card-link em {
    font-weight: 700;
    color: var(--gray-500);
}

/* ============================================================
   DATA / INPUTS SECTION — Powering smarter real estate decisions
============================================================ */
.data-section .data-grid {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.sources-card {
    flex: 0 0 292px;
    background: var(--white);
    border: 1px solid #d3d0ff;
    border-radius: 16px;
    padding: 20px;
}
.sources-card .sources-title {
    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 10px;
}
.sources-card .source-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    margin: 0 -20px;
    border-top: 1px solid var(--gray-200);
}
.sources-card .source-item:first-of-type {
    border-top: 0;
}
.sources-card .source-item .src-ico {
    width: 40px;
    height: 40px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-700);
    font-size: 28px;
}
.sources-card .source-item p {
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
    font-weight: 500;
}
.data-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 459px;
    flex: none;
    line-height: 0;
}
.data-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}
/* AI tower: spin illusion over ai-chip-img.png (515x452). All positions are % of that
   image — cylinder body x 61-254 / y 70-335, base ring centred at 157,390. */
.di-tower {
    position: relative;
    width: 100%;
}
.di-tower img {
    display: block;
}
.di-tower-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Light only lands on the cylinder's own pixels, never on the label cards. */
    -webkit-mask: url(/assets/images/ai-chip-img.png) 0 0 / 100% 100% no-repeat;
    mask: url(/assets/images/ai-chip-img.png) 0 0 / 100% 100% no-repeat;
    clip-path: inset(15.49% 50.68% 25.88% 11.84%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(190, 235, 255, .55) 50%, rgba(255, 255, 255, 0) 100%) -8% 0 / 18% 100% no-repeat;
    mix-blend-mode: screen;
    animation: di-tower-sheen 3.2s linear infinite;
}
.di-tower-orbit {
    position: absolute;
    aspect-ratio: 1;
    pointer-events: none;
    transform: translate(-50%, -50%) scaleY(.39);
    mix-blend-mode: screen;
}
.di-tower-orbit::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(120, 220, 255, 0) 0deg, rgba(120, 220, 255, 0) 250deg, rgba(160, 235, 255, .95) 350deg, rgba(120, 220, 255, 0) 360deg);
    -webkit-mask: radial-gradient(closest-side, transparent 86%, #000 89%, #000 97%, transparent 100%);
    mask: radial-gradient(closest-side, transparent 86%, #000 89%, #000 97%, transparent 100%);
    animation: di-tower-orbit 3.2s linear infinite;
}
.di-tower-orbit-base {
    left: 30.58%;
    top: 86.28%;
    width: 56.7%;
}
.di-tower-orbit-top {
    left: 30.58%;
    top: 17.5%;
    width: 33%;
}
.di-tower-orbit-top::before {
    animation-delay: -1.6s;
}
@keyframes di-tower-sheen {
    to {
        background-position: 61% 0;
    }
}
/* Counter-clockwise on screen = the front of the tower moves left to right, same as the sheen. */
@keyframes di-tower-orbit {
    to {
        transform: rotate(-360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .di-tower-sheen,
    .di-tower-orbit::before {
        animation: none;
    }
    .di-tower-sheen {
        display: none;
    }
}
.key-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.key-stats .stat {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #D3D0FF;
}
.key-stats .stat-top {
    display: flex;
    align-items: center;
    gap: 15px;
}
.key-stats .stat-top .stat-ico {
    width: 30px;
    height: 30px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-700);
    font-size: 24px;
}
.key-stats .stat-top .stat-num {
    font-size: 20px;
    line-height: 23px;
    font-weight: 700;
    color: var(--gray-700);
}
.key-stats .stat-label {
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
}

/* ============================================================
   INTEGRATION & DEPLOYMENT SECTION
============================================================ */
.integration-layout {
    position: relative;
    min-height: 564px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.integration-visual {
    position: relative;
    z-index: 1;
    width: 740px;
    max-width: 100%;
}
.integration-visual img {
    width: 100%;
    height: auto;
    display: block;
}
/* Integration ring animation. Layers come from integration-ring.png (1467x711); all
   positions are % of that image. Donut bbox 404,39 649w; donut centre 728,338. */
.integration-visual .integ-donut {
    position: absolute;
    left: 27.54%;
    top: 5.49%;
    width: 44.24%;
    animation: integ-float 3.6s ease-in-out infinite alternate;
}
/* Comet running clockwise along the two curved arrows, in the arrows' direction; the
   mask keeps the light on the arrow strokes only. */
.integ-arc-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask: url(/assets/images/integration-ring-mask.png) 0 0 / 100% 100% no-repeat;
    mask: url(/assets/images/integration-ring-mask.png) 0 0 / 100% 100% no-repeat;
}
.integ-arc-top {
    clip-path: inset(0 24.2% 46.55% 45.67%);
    color: #5a1fd6;
}
.integ-arc-bottom {
    clip-path: inset(40.79% 38.79% 4.92% 22.63%);
    color: #e0189f;
}
.integ-arc-glow::before {
    content: "";
    position: absolute;
    left: 49.63%;
    top: 47.54%;
    width: 75%;
    aspect-ratio: 1;
    margin: -37.5% 0 0 -37.5%;
    background: conic-gradient(transparent 0deg, transparent 300deg, currentColor 356deg, transparent 360deg);
    animation: integ-spin 4s linear infinite;
}
.integ-flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.integ-node {
    position: absolute;
    width: 3.82%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #de2dac;
    pointer-events: none;
    animation: integ-node 2s ease-out infinite;
}
.integ-node.is-purple {
    color: #3b00b0;
}
@keyframes integ-float {
    from {
        transform: translateY(6px);
    }
    to {
        transform: translateY(-6px);
    }
}
@keyframes integ-spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes integ-node {
    0% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: .55;
    }
    100% {
        box-shadow: 0 0 0 14px currentColor;
        opacity: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .integration-visual .integ-donut,
    .integ-arc-glow::before,
    .integ-node {
        animation: none;
    }
    .integ-arc-glow,
    .integ-flow,
    .integ-node {
        display: none;
    }
}
.integration-feature {
    padding: 20px;
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 364px;
    max-width: 42%;
    background: var(--white);
    border: 1px solid #de2dac;
    border-radius: 20px;
    box-shadow: 0 0 44px rgba(0, 0, 0, .08);
}
.integration-feature.is-purple {
    border-color: #3b00b0;
}
.integration-feature.pos-tl {
    top: 30px;
    left: 0;
    border-radius: 20px 20px 0 20px;
}
.integration-feature.pos-tr {
    top: 30px;
    right: 0;
}
.integration-feature.pos-bl {
    bottom: 30px;
    left: 0;
}
.integration-feature.pos-br {
    bottom: 30px;
    right: 0;
}
.integration-feature .feature-ico {
    width: 44px;
    height: 44px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.integration-feature .feature-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.integration-feature .feature-txt strong {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}
.integration-feature .feature-txt p {
    font-size: 12px;
    line-height: 20px;
    color: var(--gray-400);
}
.integration-cta-wrap {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.integration-cta {
    gap: 10px;
    height: 52px;
    padding: 0 30px;
    border-radius: 12px;
    background: #00234F;
    color: var(--white);
}
.integration-cta:hover {
    opacity: .92;
}

/* ============================================================
   NATIONWIDE PRESENCE — Our team
============================================================ */
.nationwide-presence {
    display: flex;
    gap: 46px;
    justify-content: center;
}
.di-team-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 50%;
}
.di-team-row {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border: 1px solid #d3d0ff;
    border-radius: 12px;
}
.di-team-row .di-team-ico {
    width: 30px;
    height: 30px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.di-team-row .di-team-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.di-team-row .di-team-txt h3 {
    font-size: 18px;
    line-height: 23px;
    font-weight: 600;
    color: var(--gray-500);
    margin: 0 0 5px;
}
.di-team-row .di-team-txt p {
    font-size: 13px;
    line-height: 20px;
    color: #666;
    margin: 0;
    font-weight: 500;
}
.di-team-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}
.di-team-visual img {
    max-width: 100%;
    height: auto;
}
/* India map: ripple on each city marker (same idea as urbanmoney.com's map). */
.di-team-visual .di-map {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.di-team-visual .di-map img {
    display: block;
}
.di-map-pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    pointer-events: none;
    animation: di-map-pulse 2s ease-out infinite;
}
@keyframes di-map-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .85);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .di-map-pulse {
        animation: none;
    }
}

/* ============================================================
   AWARDS / RECOGNITION SECTION
============================================================ */
.awards-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.awards-intro {
    max-width: 522px;
}
.awards-intro .di-title {
    margin-top: 15px;
    white-space: normal;
    font-size: 40px;
    line-height: 44px;
    color: var(--gray-700);
}
.awards-intro .di-accent-line {
    margin-top: 30px;
    display: block;
    width: 110px;
    height: 5px;
    border-radius: 60px;
    background: linear-gradient(90deg, #f60074 0%, #ab00e1 100%);
}
.awards-intro .awards-subtitle {
    margin-top: 30px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
    color: var(--gray-400);
}
.awards-intro .awards-subtitle .grad {
    background: linear-gradient(90deg, #9900d0 0%, #d400a1 50%, #ff0077 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 500;
}
.awards-visual {
    flex: 0 0 532px;
    max-width: 48%;
    display: flex;
    align-items: center;
}
.awards-visual img {
    width: 100%;
    height: auto;
    display: block;
}
.awards-row {
    margin-top: 36px;
    display: flex;
    align-items: stretch;
}
.award-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 22px;
    border-left: 1px solid var(--gray-200);
}
.award-card:first-child {
    border-left: 0;
}
.award-card .award-trophy {
    width: 56px;
    height: 56px;
}
.award-card .award-trophy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.award-card .award-num {
    margin: 15px 0 16px;
    font-size: 21px;
    font-weight: 700;
    color: #e394ff;
}
.award-card .award-title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 10px;
}
.award-card .award-org {
    font-size: 13px;
    line-height: 20px;
    color: #666;
    margin: 0;
}

/* ============================================================
   PARTNERS SECTION — Partnership with world leaders
============================================================ */
.di-partners {
    padding: 80px 0;
    background: var(--white);
}
.di-partners .di-partners-title {
    font-size: 40px;
    line-height: 44px;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0 0 36px;
}
.di-partners .di-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.di-partner-card {
    background: var(--white);
    border: 1px solid #d3d0ff;
    border-radius: 12px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
.di-partner-card .di-partner-logo {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.di-partner-card .di-partner-logo img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.di-partner-card p {
    font-size: 13px;
    line-height: 20px;
    color: var(--gray-500);
    margin: 0;
    font-weight: 500;
}
.di-partner-card.is-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    height: 92px;
}
.di-partner-card.is-wide .di-partner-logos-inline {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    justify-content: center;
}
/* Per-logo sizing — each source image is cropped differently. */
.di-partner-card.is-wide .di-partner-logos-inline img {
    width: auto;
    height: auto;
    object-fit: contain;
}
.di-partner-card.is-wide .di-partner-logos-inline .logo-bcg {
    max-height: 34px;
}
.di-partner-card.is-wide .di-partner-logos-inline .logo-accenture {
    max-height: 24px;
}
.di-partner-card.is-wide .di-partner-logos-inline .logo-mckinsey {
    max-height: 150px;
    max-width: 220px;
}
/* "Data Intelligence Partnerships" label (exported from Figma as image) */
.di-partner-card.is-wide .logo-di-partnerships {
    width: auto;
    height: auto;
    max-height: 46px;
    max-width: 160px;
    object-fit: contain;
}

/* ============================================================
   CONTACT SECTION — Request a valuation
============================================================ */
.di-contact {
    padding: 80px 0;
    background: var(--white);
}
.di-contact .di-contact-grid {
    display: grid;
    grid-template-columns: 1fr 549px;
    gap: 137px;
    align-items: center;
}
.di-contact .di-contact-copy .di-title {
    font-size: 60px;
    line-height: 64px;
    font-weight: 700;
    color: var(--gray-700);
    margin-top: 34px;
}
.di-contact .di-contact-copy .di-contact-sub {
    margin-top: 18px;
    font-size: 18px;
    line-height: 40px;
    color: #666;
}
.di-contact-form {
    background: #f5f8fe;
    border: 1px solid #d3d0ff;
    border-radius: 16px;
    padding: 20px;
}
.di-contact-form .di-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
/* .form-group / .form-control base styles come from common-css-web.css */
.di-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 12px;
}
.di-contact-form .form-control {
    height: 54px;
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
    border: 1px solid #E1E1E1;
}
.di-contact-form textarea.form-control {
    height: 99px;
    padding-top: 18px;
    resize: vertical;
}
.di-contact-form .form-control::placeholder {
    color: #9f9f9f;
}
/* Built on .btn .btn-secondary .btn-lg (common-css-web.css) */
.di-lead-flow .di-submit {
    width: 100%;
    height: 54px;
    border-radius: 10px;
    background: #00234f;
    border-color: #00234f;
    font-size: 16px;
    font-weight: 600;
    /* margin-top: 5px; */
}
.di-contact-form .di-submit:hover {
    background: #001a3a;
    border-color: #001a3a;
}

/* ============================================================
   LEAD FORM FLOW: OTP SCREEN & THANK YOU STATES
============================================================ */
.di-lead-flow {
    position: relative;
    width: 100%;
}
.di-lead-flow [hidden] {
    display: none !important;
}

/* OTP Screen */
.di-otp-step {
    background: #f5f8fe;
    border: 1px solid #d3d0ff;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    animation: di-fade-in .25s ease-out;
}
@keyframes di-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.di-otp-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(171, 0, 225, .12), rgba(246, 0, 116, .12));
    color: #ab00e1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.di-otp-title {
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0 0 6px;
}
.di-otp-sub {
    font-size: 14px;
    line-height: 22px;
    color: #666;
    margin: 0 0 20px;
}
.di-otp-sub strong {
    color: var(--gray-700);
    font-weight: 600;
}
.di-otp-edit-btn {
    display: inline-block;
    margin-left: 8px;
    background: none;
    border: none;
    color: #ab00e1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 4px;
}
.di-otp-edit-btn:hover {
    color: #f60074;
}
.di-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 18px 0;
}
.di-otp-digit {
    width: 54px;
    height: 58px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #00234f;
    border: 2px solid #d3d0ff;
    border-radius: 12px;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s, transform .1s;
}
.di-otp-digit:focus {
    border-color: #ab00e1;
    box-shadow: 0 0 0 4px rgba(171, 0, 225, .15);
    transform: translateY(-2px);
}
.di-otp-demo-hint {
    margin: 8px 0 14px;
}
.di-otp-hint-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
}
.di-otp-hint-badge strong {
    letter-spacing: 2px;
}
.di-otp-meta {
    margin-bottom: 12px;
}
.di-otp-resend {
    background: none;
    border: none;
    color: #00234f;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px;
}
.di-otp-resend:disabled {
    color: #888;
    cursor: not-allowed;
}
.di-otp-status {
    min-height: 20px;
    margin: 8px 0 16px;
    font-size: 13px;
    font-weight: 500;
}
.di-otp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.di-otp-actions .di-submit {
    width: 100%;
    max-width: 340px;
}
.di-otp-cancel {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
}
.di-otp-cancel:hover {
    color: #111;
}

/* ============================================================
   THANK YOU CARD (matches modern card design)
============================================================ */
.di-thanks-card {
    background: #f8faff;
    border: 1px solid #e1e7f8;
    border-radius: 20px;
    padding: 38px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 35, 79, .04);
    animation: di-fade-in .3s ease-out;
}
.thankyou-img{
    padding: 8px;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
}
.di-thanks-heading {
    font-size: 26px;
    line-height: 32px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
}
.di-thanks-subhead {
    font-size: 14.5px;
    line-height: 22px;
    color: #4b5563;
    max-width: 440px;
    margin: 0 auto 20px;
}
.di-thanks-box {
    background: #eaf1ff;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 auto 24px;
    max-width: 480px;
    text-align: center;   
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.di-thanks-box-title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}
.di-thanks-box-sub {
    font-size: 14px;
    line-height: 22px;
    color: #666;
    max-width: 270px;
}
.di-thanks-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 380px;
    margin: 0 auto;
}
.di-thanks-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #00234f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s;
}
.di-thanks-home-btn:hover {
    background: #001735;
    color: #fff;
}
.di-thanks-reset-link {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 2px 4px;
}
.di-thanks-reset-link:hover {
    color: #0f172a;
}

/* ============================================================
   FOOTER
============================================================ */
.di-footer {
    background: #090235;
    color: var(--white);
    padding: 48px 0 0;
}
.di-footer .di-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.di-footer .di-footer-brand .di-f-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.di-footer .di-footer-brand .di-f-logo .di-f-mark {
    width: 38px;
    height: 38px;
}
.di-footer .di-footer-brand .di-f-logo .di-f-text {
    height: 40px;
}
.di-footer .di-footer-brand p {
    font-size: 14px;
    line-height: 26px;
    color: var(--white);
    margin: 0;
}
.di-footer .di-footer-col h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
}
.di-footer .di-footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    color: var(--white);
    font-size: 14px;
    max-width: 341px;
}
.di-footer .di-footer-links a .icon-arrow-right {
    font-size: 16px;
}
.di-footer .di-footer-links a:hover {
    opacity: .8;
}
.di-footer .di-footer-contact p {
    font-size: 14px;
    line-height: 36px;
    color: var(--white);
    margin: 0;
}
.di-footer .di-footer-contact .di-f-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 26px;
}
.di-footer .di-footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.di-footer .di-footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
}
.di-footer .di-footer-social img {
    width: 100%;
    height: 100%;
}
.di-footer .di-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.di-footer .di-footer-bottom p {
    font-size: 14px;
    color: var(--white);
    margin: 0;
}
.di-footer .di-footer-bottom .di-f-legal {
    display: flex;
    gap: 40px;
}
.di-footer .di-footer-bottom .di-f-legal a {
    color: var(--white);
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 540px)
============================================================ */
@media (max-width: 540px) {

    .container {
        padding: 0 15px;
    }

    /* ---- Shared ---- */
    .di-section {
        padding: 40px 0;
    }
    .di-section-head .di-title {
        font-size: 20px;
        line-height: 24px;
        white-space: normal;
    }
    .di-section-head .di-subtitle {
        font-size: 14px;
        line-height: 22px;
        margin-top: 16px;
    }
    .di-section .di-section-body {
        margin-top: 30px;
    }

    /* ---- Hero ---- */
    .hero-section {
        height: auto;
        padding-bottom: 60px;
    }
    /* .hero-section .hero-nav {
        padding-top: 16px;
        padding-bottom: 16px;
    } */
     .hero-section .hero-nav .di-brand{
        max-width: 112px;
     }
    .hero-section .hero-nav .request-valuation {
        padding: 7px 16px;
        font-size: 12px;
        height: 34px;
    }
    .hero-section .di-hero-content {
        margin-top: 40px;
    }
    .hero-section .di-hero-title {
        font-size: 30px;
        line-height: 38px;
    }
    .hero-section .di-accent-line {
        margin: 24px 0;
    }
    .hero-section .di-hero-sub {
        font-size: 16px;
        margin-bottom: 28px;
    }
    .hero-section .hero-bg {
        object-position: 70% bottom;
        opacity: .55;
    }

    /* ---- Trusted by: compact auto-scrolling marquee (Figma mobile) ---- */
    .trusted-section .trusted-logos {
        height: 56px;
    }
    .trusted-section .trusted-track {
        gap: 24px;
        padding-right: 24px;
        animation-duration: 28s;
    }
    .trusted-section .trusted-logos .logo-wrap {
        width: 96px;
    }
    .trusted-section .trusted-logos .logo-wrap img {
        max-width: 90px;
        max-height: 30px;
    }

    /* ---- Products: single column ---- */
    .products-section .product-cards {
        gap: 16px;
    }
    .product-card {
        flex: 1 1 100%;
        min-height: 0;
    }
    .product-card .card-title {
        font-size: 14px;
        line-height: 20px;
    }
    .product-card .card-num {
        font-size: 30px;
    }

    .product-card .card-head{
        padding: 20px 15px;
    }
    .product-card .card-desc,.product-card .card-list li{
        font-size: 12px;
    }
    /* ---- Data section: single column ---- */
    .data-section .data-grid {
        flex-direction: column;
        gap: 16px;
    }
    .sources-card,
    .key-stats,
    .data-visual {
        flex: 1 1 auto;
        width: 100%;
    }
    /* Figma mobile: stats remain a 2-column grid */
    .key-stats {
        gap: 12px;
    }
    .key-stats .stat {
        flex: 1 1 calc(50% - 6px);
    }
    .key-stats .stat-top .stat-num {
        font-size: 18px;
    }
    .key-stats .stat-label {
        font-size: 13px;
    }
    .data-visual img {
        width: 100%;
    }

    /* ---- Integration: stack cards, hide ring ---- */
    .integration-layout {
        flex-direction: column;
        min-height: 0;
        gap: 16px;
        margin-top: 30px;
    }
    .integration-visual {
        display: none;
    }
    .integration-feature {
        position: static;
        width: 100%;
        max-width: 100%;
    }
    .integration-cta-wrap {
        margin-top: 24px;
    }
    .integration-cta {
        width: 100%;
        justify-content: center;
    }
    .integration-feature.pos-tl{
        border-radius: 20px;
    }

    /* ---- Nationwide presence: stack list over map (Figma mobile) ---- */
    .nationwide-presence {
        flex-direction: column;
        gap: 30px;
    }
    .di-team-visual {
        width: 100%;
    }
    /* Team cards become a single swipeable row, bleeding to the right edge */
    .di-team-list {
        width: auto;
        margin: 0 -15px;
        padding: 0 15px;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 15px;
    }
    .di-team-list::-webkit-scrollbar {
        display: none;
    }
    /* Card: icon on top, title + description below */
    .di-team-row {
        flex: 0 0 240px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 15px;
        scroll-snap-align: start;
    }
    .di-team-row .di-team-txt h3 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 8px;
    }
    .di-team-row .di-team-txt p {
        font-size: 12px;
        line-height: 20px;
    }

    /* ---- Awards ---- */
    /* Figma mobile: intro → awards grid → skyline image at the bottom.
       .awards-top is flattened so its image can be reordered after the grid. */
    .awards-section .container {
        display: flex;
        flex-direction: column;
    }
    .awards-top {
        display: contents;
    }
    .awards-visual {
        order: 3;
        flex: none;
        max-width: 100%;
        margin-top: 30px;
    }
    .awards-intro .di-chip {
        text-transform: uppercase;
    }
    .awards-intro {
        max-width: 100%;
        flex: none;
        width: 100%;
    }
    .awards-intro .di-title {
        font-size: 24px;
        line-height: 32px;
    }
    .awards-intro .di-accent-line {
        display: none;
    }
    .awards-intro .awards-subtitle {
        font-size: 14px;
        line-height: 22px;
        margin-top: 16px;
    }
    /* 2-column grid with vertical + horizontal dividers */
    .awards-row {
        order: 2;
        flex-wrap: wrap;
        gap: 0;
        margin-top: 24px;
    }
    .award-card {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 16px 12px;
    }
    .award-card:nth-child(odd) {
        border-left: 0;
    }
    .award-card:nth-child(n+3) {
        border-top: 1px solid var(--gray-200);
    }
    .award-card .award-trophy {
        width: 48px;
        height: 48px;
    }
    .award-card .award-num {
        margin: 10px 0 12px;
        font-size: 28px;
    }
    .award-card .award-title {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 8px;
    }
    .award-card .award-org {
        font-size: 12px;
        line-height: 18px;
    }

    /* ---- Partners: 2-column grid (Figma mobile), wide card spans both ---- */
    .di-partners {
        padding: 40px 0;
    }
    .di-partners .di-partners-title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 28px;
    }
    .di-partners .di-partner-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .di-partner-card {
        padding: 20px 12px;
        gap: 12px;
    }
    .di-partner-card .di-partner-logo {
        height: 48px;
    }
    .di-partner-card .di-partner-logo img {
        max-height: 44px;
        max-width: 100%;
    }
    .di-partner-card p {
        font-size: 12px;
        line-height: 18px;
    }
    /* Wide card: BCG + Accenture on one row, McKinsey below,
       then the "Data Intelligence Partnerships" label */
    .di-partner-card.is-wide {
        grid-column: span 2;
        flex-direction: column;
        height: auto;
        padding: 20px 12px;
    }
    .di-partner-card.is-wide .di-partner-logos-inline {
        width: 100%;
        gap: 16px 24px;
    }
    .di-partner-card.is-wide .di-partner-logos-inline .logo-bcg {
        max-height: 24px;
    }
    .di-partner-card.is-wide .di-partner-logos-inline .logo-accenture {
        max-height: 18px;
    }
    /* Square source with lots of padding — crop to the wordmark strip.
       Side margins fill the row so it always wraps onto its own line. */
    .di-partner-card.is-wide .di-partner-logos-inline .logo-mckinsey {
        width: 200px;
        height: 40px;
        max-width: none;
        max-height: none;
        object-fit: cover;
        margin: 0 calc(50% - 100px);
    }
    .di-partner-card.is-wide .di-partner-logos-inline .logo-di-partnerships {
        width: 160px;
        max-width: none;
        max-height: none;
        margin: 0 calc(50% - 115px);
    }

    /* ---- Contact: single column ---- */
    .di-contact {
        padding: 40px 0;
    }
    .di-contact .di-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .di-contact .di-contact-copy .di-title {
        margin-top: 15px;
        font-size: 20px;
        line-height: 24px;
    }
    .di-contact .di-contact-copy .di-contact-sub {
        font-size: 14px;
        line-height: 24px;
    }
    .di-contact-form {
        padding: 16px;
    }
    .di-contact-form .di-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .di-contact-form .di-form-row .form-group{margin-bottom: 12px;}
    .di-contact-form label{margin-bottom: 5px;}

    /* ---- Footer: single column ---- */
    .di-footer {
        padding: 40px 0 0;
    }
    .di-footer .di-footer-brand .di-f-logo{
        max-width: 131px;
    }
    .di-footer .di-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .di-footer .di-footer-links a {
        max-width: 100%;
    }
    /* Figma mobile: footer bottom bar is centered */
    .di-footer .di-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .di-footer .di-footer-bottom .di-f-legal {
        gap: 40px;
    }
}
