/* ==========================================================================
   Global Group — Home / Value added Services: Export Vehicles PDI Inspection
   Figma: naDmoRxQbZWeyxxvqBY4eb / node 1:976  (dark band, 1282 x 1060)
   ========================================================================== */

.home-verticals {
    --hv-accent: #ffa112;          /* heading accent (Figma 1:985)            */
    --hv-subtitle: #9da5ff;        /* subtitle colour (Figma 1:987)           */
    --hv-card-bg: rgba(255, 255, 255, .05);
    --hv-card-border: rgba(255, 255, 255, .1);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* Figma: content top 63px, section bottom 1060 - 1013 = 47px */
    padding: 64px 0 48px;
    background-image: linear-gradient(140.41deg, #1a1f4c 0%, #0a0d2a 100%);
}

/* -------------------------------- subtle noise + radial glow (1:978) -- */

.home-verticals__glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(60% 55% at 18% 12%, rgba(88, 101, 242, .28) 0%, rgba(88, 101, 242, 0) 70%),
        radial-gradient(45% 45% at 88% 78%, rgba(46, 54, 142, .32) 0%, rgba(46, 54, 142, 0) 70%);
}

.home-verticals__noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .2;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}

/* ------------------------------------------------------------ header -- */

.home-verticals__header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 768px;
}

.home-verticals__title {
    font-family: var(--gg-font-display);
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    letter-spacing: -0.64px;
    text-transform: none;
    color: var(--gg-white);
}

.home-verticals__title-accent {
    color: var(--hv-accent);
}

.home-verticals__subtitle {
    font-size: 18px;
    line-height: 28.8px;
    font-weight: 400;
    color: var(--hv-subtitle);
}

/* ------------------------------------------------------------ layout -- */
/* Figma: left feature grid 677px, collage 460.75px, 35.25px gutter        */

.home-verticals__layout {
    display: grid;
    grid-template-columns: minmax(0, 677fr) minmax(0, 461fr);
    gap: 35px;
    align-items: start;
    /* Figma: header block ends ~124px, cards start at 189px */
    margin-top: 64px;
}

/* ----------------------------------------------------- feature cards -- */

.home-verticals__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 31px 25px;
}

.home-verticals__card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 228px;
    padding: 25px 25px 33px;
    border: 1px solid var(--hv-card-border);
    border-radius: var(--gg-radius-lg);
    background: var(--hv-card-bg);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.home-verticals__card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.home-verticals__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: var(--gg-white);
}

.home-verticals__icon svg {
    display: block;
}

.home-verticals__card-title {
    font-family: var(--gg-font-display);
    font-size: 24px;
    line-height: 31.2px;
    font-weight: 600;
    letter-spacing: -0.24px;
    color: var(--gg-white);
}

/* ---------------------------------------------------- photo collage -- */

.home-verticals__collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-verticals__shot {
    margin: 0;
    padding: 1px;
    overflow: hidden;
    border: 1px solid var(--hv-card-border);
    border-radius: var(--gg-radius-lg);
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, .2);
}

.home-verticals__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Figma: tall image 543.33px + 2px border box = 545px; small tiles 200px */
.home-verticals__shot--wide {
    grid-column: 1 / -1;
    height: 545px;
}

.home-verticals__shot:not(.home-verticals__shot--wide) {
    height: 200px;
}

/* ================================================================ rwd == */

@media (max-width: 1100px) {
    .home-verticals__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .home-verticals__shot--wide {
        height: 420px;
    }
}

@media (max-width: 900px) {
    .home-verticals {
        padding: 56px 0 48px;
    }

    .home-verticals__title {
        font-size: 28px;
        line-height: 36px;
    }

    .home-verticals__subtitle {
        font-size: 16px;
        line-height: 26px;
    }

    .home-verticals__layout {
        margin-top: 40px;
    }

    .home-verticals__grid {
        gap: 20px;
    }

    .home-verticals__card {
        min-height: 0;
        padding: 20px 20px 26px;
    }

    .home-verticals__card-title {
        font-size: 20px;
        line-height: 28px;
    }

    .home-verticals__shot--wide {
        height: 320px;
    }
}

@media (max-width: 560px) {
    .home-verticals {
        padding: 48px 0 40px;
    }

    .home-verticals__title {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.4px;
    }

    .home-verticals__grid,
    .home-verticals__collage {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-verticals__shot--wide {
        height: 240px;
    }

    .home-verticals__shot:not(.home-verticals__shot--wide) {
        height: 180px;
    }
}
