/*
 * uvshieldpu.css
 * Purpose: page/section layout for uvshieldpu/index.html (UV Shield PU product page).
 * Mobile-first; tablet breakpoint at 48em (768px), desktop lock-in at 75em (1200px).
 * nav and cta-footer are intentionally not styled here - they are shared partials
 * assembled around this page's markup separately.
 */

body {
    font-family: var(--font-thai-noto);
    font-variation-settings: "wdth" 100;
    color: var(--ink);
    background-color: var(--pure-white);
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

main p {
    line-height: 1.8;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1000;
    background-color: var(--marimo-blue);
    color: var(--pure-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 0 0 var(--radius-xs) 0;
}

.skip-link:focus {
    left: 0;
}

/* =========================================================
   uv-changing (before/after intro)
   ========================================================= */
.uv-changing {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    padding-block: var(--space-2xl);
}

.uv-changing__intro {
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
    padding-inline: var(--space-lg);
}

.uv-changing__lead {
    color: var(--ink);
}

.ba-compare {
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    padding-inline: var(--space-lg);
}

.ba-compare__col {
    position: relative;
    margin: 0;
}

.ba-compare__col img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: var(--gray-400);
}

.ba-compare__label {
    position: absolute;
    left: var(--space-sm);
    bottom: var(--space-sm);
    background-color: var(--pure-white);
    border-radius: var(--radius-xs);
    padding: 0.75rem var(--space-sm);
    font-weight: 700;
    font-size: var(--font-size-md);
    letter-spacing: 0.02em;
}

.ba-compare__label--right {
    left: auto;
    right: var(--space-sm);
}

.check-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background-color: var(--ice-blue);
    padding: var(--space-lg);
    width: 100%;
}

.check-card__photo {
    display: block;
    width: 100%;
    max-width: 22.875rem;
    aspect-ratio: 366 / 245;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

.check-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.check-card__eyebrow {
    align-self: flex-start;
    font-family: "Bebas Neue", var(--font-eng);
    font-size: var(--font-size-3xl);
    letter-spacing: 0.02em;
    color: var(--marimo-blue);
    border-bottom: 1px solid var(--marimo-blue);
}

.check-card__title {
    font-weight: 700;
    font-size: var(--font-size-xl);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

@media (min-width: 48em) {
    .uv-changing {
        max-width: var(--content-max-width);
        padding: var(--space-3xl) var(--space-md);
    }

    .uv-changing__lead {
        max-width: 60rem;
    }

    .ba-compare {
        flex-direction: row;
        gap: 0;
        padding-inline: 0;
    }

    .ba-compare__col {
        flex: 1 0 0;
        padding: var(--space-lg) 0;
    }

    .ba-compare__col:first-child {
        border-right: 1px solid var(--ink);
    }

    .ba-compare__col img {
        aspect-ratio: 575 / 405;
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }

    .ba-compare__col--after img {
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    .ba-compare__label {
        bottom: calc(var(--space-lg) + var(--space-sm));
    }

    .check-card {
        flex-direction: row;
        align-items: center;
        border-radius: var(--radius-sm);
        gap: var(--space-2xl);
        padding: var(--space-2xl);
    }

    .check-card__photo {
        flex: 0 0 auto;
        width: 22.875rem;
        margin: 0;
    }

    .check-card__title {
        font-size: var(--font-size-2xl);
        white-space: nowrap;
    }
}

@media (min-width: 75em) {
    .ba-compare,
    .check-card {
        max-width: var(--content-max-width);
    }
}

/* =========================================================
   uv-features (2x2 bordered cards with round icons)
   ========================================================= */
.uv-features {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    padding: var(--space-2xl) var(--space-lg);
}

.uv-features__head {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    border-bottom: 1px solid var(--gray-400);
    padding-bottom: var(--space-lg);
}

.uv-feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4rem var(--space-lg);
}

.uv-feature-card {
    position: relative;
    border: 1px solid var(--gray-400);
    padding: var(--space-2xl) var(--space-md) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.uv-feature-card__icon {
    position: absolute;
    top: -2.875rem;
    right: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    background-color: var(--soft-blue);
    border-radius: var(--radius-round);
}

.uv-feature-card__icon img {
    width: 4.5rem;
    height: auto;
}

.uv-feature-card__eyebrow {
    font-weight: 700;
    font-size: var(--font-size-sm);
    letter-spacing: 0.02em;
    color: var(--marimo-blue);
}

.uv-feature-card__stat {
    font-weight: 700;
    font-size: var(--font-size-2xl);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.uv-feature-card__stat strong {
    font-size: var(--font-size-4xl);
    letter-spacing: 0.08em;
}

@media (min-width: 48em) {
    .uv-features {
        padding: var(--space-3xl) var(--space-md);
    }

    .uv-features__head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2xl);
    }

    .uv-features__head .section-heading {
        flex-shrink: 0;
    }

    .uv-features__lead {
        max-width: 47rem;
    }

    .uv-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6.25rem 2.5rem;
    }

    .uv-feature-card {
        padding: var(--space-2xl) var(--space-2xl) var(--space-2xl);
    }

    .uv-feature-card__stat {
        font-size: var(--font-size-3xl);
    }

    .uv-feature-card__stat strong {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 75em) {
    .uv-features {
        max-width: var(--content-max-width);
        margin: 0 auto;
        padding: var(--space-3xl) var(--space-md);
    }
}

/* =========================================================
   uv-benefit (3 point rows)
   ========================================================= */
.uv-benefit {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl) var(--space-lg);
}

.uv-benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
}

.uv-benefit-row {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: linear-gradient(90deg, var(--soft-blue), var(--ice-blue));
    border-radius: var(--radius-sm);
    padding: var(--space-md);
}

/* Diagonal white sheen matching the Figma rotated gradient overlay */
.uv-benefit-row::before {
    content: "";
    position: absolute;
    top: -10rem;
    left: -13rem;
    width: 42rem;
    height: 42rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    transform: rotate(45deg);
    pointer-events: none;
}

.uv-benefit-row > * {
    position: relative;
}

.uv-benefit-row__media {
    flex-shrink: 0;
}

.uv-benefit-row__media img {
    display: block;
    width: 100%;
    aspect-ratio: 440 / 215;
    object-fit: cover;
    border-radius: var(--radius-xs);
    background-color: var(--gray-400);
}

.uv-benefit-row__media--pair {
    display: flex;
    gap: var(--space-2xs);
}

.uv-benefit-row__media--pair img {
    width: calc(50% - var(--space-2xs) / 2);
    aspect-ratio: 216 / 215;
}

.uv-benefit-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.uv-benefit-row__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.point-badge {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-2xs);
    font-family: "Bebas Neue", var(--font-eng);
    font-size: var(--font-size-3xl);
    letter-spacing: 0.02em;
    color: var(--marimo-blue);
    border-bottom: 1px solid var(--marimo-blue);
    padding-bottom: 0.75rem;
}

.point-badge strong {
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 0.8;
    letter-spacing: 0.02em;
}

.uv-benefit-row__title {
    font-weight: 700;
    font-size: var(--font-size-xl);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

@media (min-width: 48em) {
    .point-badge {
        min-width: 5.3rem;
    }

    .uv-benefit {
        padding: var(--space-3xl) var(--space-md);
    }

    .uv-benefit-row {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
        padding: var(--space-2xl);
    }

    .uv-benefit-row__media {
        width: 27.5rem;
    }

    .uv-benefit-row__media--pair img {
        width: calc(50% - var(--space-2xs) / 2);
    }

    .uv-benefit-row__content {
        flex: 1 0 0;
        min-width: 0;
    }

    .uv-benefit-row__head {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
    }

    .uv-benefit-row__title {
        font-size: var(--font-size-2xl);
    }
}

@media (min-width: 75em) {
    .uv-benefit-list {
        max-width: var(--content-max-width);
    }
}

/* =========================================================
   uv-comparison (table + banner)
   ========================================================= */
.uv-comparison {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-2xl) var(--space-lg);
}

.uv-comparison__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.uv-comparison__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
}

.uv-comparison__subheading {
    font-family: var(--font-thai-noto);
    font-weight: 700;
    font-size: var(--font-size-xl);
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0 0 var(--space-xs);
}

.uv-compare-scroll {
    width: 100%;
    overflow-x: auto;
}

.uv-compare-table {
    width: 100%;
    min-width: 46rem;
    border-collapse: collapse;
    text-align: center;
}

.uv-compare-table th,
.uv-compare-table td {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--gray-400);
    font-size: var(--font-size-md);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.uv-compare-table thead th {
    background-color: var(--navy, #19548f);
    color: var(--pure-white);
    font-weight: 700;
    font-size: var(--font-size-lg);
    border-bottom: 0;
}

.uv-compare-table thead th.uv-compare-table__highlight-head {
    background-color: var(--sky-blue);
}

.uv-compare-table tbody th {
    font-weight: 700;
    font-size: var(--font-size-lg);
    background-color: var(--pure-white);
    border-left: 1px solid var(--gray-400);
    width: 23%;
}

.uv-compare-table tbody th small {
    font-weight: 400;
    font-size: var(--font-size-md);
}

.uv-compare-table tbody td {
    width: 38.5%;
}

.uv-compare-table tbody td:first-of-type {
    background-color: var(--soft-blue);
}

.uv-compare-table tbody td:last-of-type {
    border-right: 1px solid var(--gray-400);
}

.uv-compare-table td strong {
    font-size: var(--font-size-3xl);
}

.uv-compare-table td small {
    font-size: var(--font-size-md);
}

/* Figma spec: banner is inset from the table edges rather than full width */
.uv-comparison__banner {
    max-width: 54.3125rem;
}

.uv-comparison__banner .stat-banner-wrap__chevron {
    width: 3.5rem;
    height: 3.5rem;
}

.uv-comparison__notes {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.uv-comparison__notes p {
    line-height: 1.5;
}

@media (min-width: 48em) {
    .uv-comparison {
        padding: var(--space-3xl) var(--space-md);
    }

    .uv-comparison__lead {
        max-width: 60rem;
    }

    .uv-comparison__subheading {
        font-size: var(--font-size-3xl);
    }

    .uv-comparison__notes {
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 75em) {
    .uv-comparison__body {
        max-width: var(--content-max-width);
    }
}

/* =========================================================
   uv-quality (blue gradient bg, photo right, formula chips)
   ========================================================= */
.uv-quality {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    padding: var(--space-2xl) var(--space-lg);
}

/* Fixed height (not section-relative) so the fade-out lands behind the
   content consistently across breakpoints - same approach as the
   iruv-japan-quality section. */
.uv-quality__decorative {
    position: absolute;
    /* The wash starts at the vertical middle of the photo so the photo's
       top half pokes out above it, same treatment as the 75em override
       below and as .iruv-japan-quality__decorative: 5rem section top
       padding + half the photo height. The photo is 100vw minus the two
       2.5rem side paddings, capped at 30rem, with a 510 / 566 aspect
       ratio. */
    --wash-offset: calc(5rem + (min(100vw - 5rem, 30rem) * 566 / 510) / 2);
    top: var(--wash-offset);
    left: 0;
    right: 0;
    /* Shrunk by the same offset so the fade still bottoms out where it
       did when the wash started at the section top. */
    height: calc(110rem - var(--wash-offset));
    background: linear-gradient(to bottom, rgba(95, 161, 227, 0.35) 0%, rgba(236, 244, 248, 0) 100%);
    z-index: -1;
}

.uv-quality__photo {
    width: 100%;
    max-width: 30rem;
    height: auto;
    aspect-ratio: 510 / 566;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--pure-white);
    margin: 0 auto;
}

.uv-quality__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.uv-quality__intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* SP (Figma 2433:4732): the two chips sit side by side with the x between. */
.uv-quality__formula {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
}

.uv-quality__chip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0%;
    min-width: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--pure-white);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-xs);
    font-weight: 700;
    font-size: var(--font-size-md);
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--marimo-blue);
}

.uv-quality__cross {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
}

.polyurea-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background-color: var(--pure-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: var(--space-md);
}

.polyurea-card__media {
    display: flex;
    gap: var(--space-2xs);
    justify-content: center;
}

.polyurea-card__media img {
    width: calc(50% - var(--space-2xs) / 2);
    max-width: 11rem;
    aspect-ratio: 181 / 245;
    object-fit: cover;
    background-color: var(--gray-400);
}

.polyurea-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.polyurea-card__title {
    font-weight: 700;
    font-size: var(--font-size-2xl);
    letter-spacing: 0.02em;
    margin: 0;
}

@media (max-width:367px) {
    .uv-quality__decorative {
    height: calc(120rem - var(--wash-offset));
    }
}

@media (min-width: 48em) {
    .uv-quality {
        padding: var(--space-3xl) var(--space-md);
    }

    /* Section top padding grows to 7.5rem here; the photo is already
       capped at its 30rem max-width by this width. */
    .uv-quality__decorative {
        --wash-offset: calc(7.5rem + (30rem * 566 / 510) / 2);
    }

    .uv-quality__formula {
        flex-direction: row;
        gap: var(--space-xs);
    }

    .uv-quality__chip {
        flex: 1 0 0;
        align-self: stretch;
        font-size: var(--font-size-lg);
        padding: var(--space-sm) var(--space-lg);
    }

    .polyurea-card {
        flex-direction: row;
        align-items: center;
        gap: var(--space-xl);
        padding: var(--space-lg);
    }

    .polyurea-card__media {
        flex: 0 0 auto;
        width: 22.875rem;
    }

    .polyurea-card__media img {
        max-width: none;
    }

    .polyurea-card__body {
        flex: 1 0 0;
        min-width: 0;
    }
}

@media (min-width: 75em) {
    /* The decorative wash stays full-bleed; growing side padding caps the
     content itself at 1200px. */
    .uv-quality {
        padding: var(--space-3xl) max(var(--space-md), calc((100% - var(--content-max-width)) / 2));
    }

    .uv-quality__decorative {
        top: 11.25rem;
        height: 68rem;
    }

    /* Anchored to the centered 1200px content area (not the viewport),
     so it tracks the content on any screen width. */
    .uv-quality__photo {
        position: absolute;
        top: 3.75rem;
        right: max(var(--space-md), calc(50% - var(--content-max-width) / 2));
        width: 31.875rem;
        max-width: none;
        margin: 0;
    }

    /* The section's centering padding already caps the row at 1200px, so
     the text column aligns with the content's left edge as-is. */
    .uv-quality__content {
        width: 36.375rem;
        padding-top: 7.5rem;
    }

    /* Figma keeps this heading at 32px, not the 40px .section-heading
     escalation at this breakpoint. */
    .uv-quality__intro .section-heading {
        font-size: var(--font-size-4xl);
        line-height: 1.5;
        letter-spacing: 0.02em;
    }

    /* Figma: the card spans the full 1200px content width. */
    .polyurea-card {
        margin: 0;
        padding: var(--space-lg);
    }
}

/* =========================================================
   uv-example (installation video + case studies)
   ========================================================= */
.uv-example {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.uv-example__method {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-inline: var(--space-lg);
}

.uv-example__method-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.uv-example__method-intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    border-bottom: 1px solid var(--ink);
    padding-bottom: var(--space-lg);
}

.uv-example__note {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.uv-example__video img,
.uv-example__video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 660 / 393;
    height: auto;
    border: 0;
}

.uv-example__video img {
    object-fit: cover;
    background-color: var(--gray-400);
}

.uv-cases {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    background-color: var(--soft-blue);
    padding: var(--space-2xl) var(--space-lg);
}

/* Diagonal blue band sweeping in from the top-left corner.
   Positioned by its CENTER (left/top + translate) like the top-page
   quality band, and longer than the design frame so its short ends
   never enter the canvas. */
.uv-cases__decorative {
    position: absolute;
    top: -25rem;
    left: -25rem;
    width: 50rem;
    height: 80rem;
    /* Fade fully out toward the bottom-left end so the band's tip
     dissolves instead of showing a cut edge. */
    background: linear-gradient(to bottom, #008de3, rgba(0, 141, 227, 0));
    transform: rotate(45deg);
    pointer-events: none;
}

/* Scroll reveal: local top-to-bottom clip wipe; with the 45deg rotation
   it plays as a diagonal sweep along the band. .is-hidden is only added
   by JS, so the band stays visible without JS / with reduced motion. */
.uv-cases__decorative.is-hidden {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.uv-cases__decorative.is-hidden.is-visible {
    clip-path: inset(0 0 0 0);
}

.uv-cases__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.uv-cases__intro p {
    color: var(--pure-white);
}

.uv-case-grid {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.uv-case-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background-color: var(--pure-white);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
}

.uv-case-card__brand {
    font-family: "Noto Sans JP", var(--font-thai-noto);
    font-weight: 700;
    font-size: var(--font-size-xl);
    letter-spacing: 0.02em;
}

.uv-case-card__caption {
    font-family: "Noto Sans JP", var(--font-thai-noto);
    text-align: center;
    font-size: var(--font-size-md);
    letter-spacing: 0.02em;
}

@media (min-width: 48em) {
    .uv-example__method {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
        padding: 0 var(--space-md);
    }

    .uv-example__method-text {
        flex: 1 0 0;
        min-width: 0;
    }

    .uv-example__video {
        flex: 0 0 auto;
        width: 55%;
    }

    .uv-example {
        padding-bottom: var(--space-3xl);
    }

    .uv-cases {
        padding: var(--space-3xl) var(--space-md);
    }

    .uv-cases__intro {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
    }

    .uv-cases__intro p {
        color: var(--ink);
    }

    .uv-cases__intro .section-heading {
        flex-shrink: 0;
    }

    .uv-case-grid {
        flex-direction: row;
        gap: var(--space-2xl);
    }

    .uv-case-card {
        flex: 1 0 0;
        min-width: 0;
        padding: var(--space-lg);
    }

    .uv-case-card__brand {
        font-size: 1.375rem;
    }
}

@media (min-width: 75em) {
    .uv-example__method {
        max-width: var(--content-max-width);
        margin: 0 auto;
        gap: 7.75rem;
        padding: 0;
    }

    .uv-example__video {
        width: 41.25rem;
    }

    /* Background stays full-bleed; growing side padding caps the content
     itself at 1200px (Figma 2172:1534: p-120, content 1200). */
    .uv-cases {
        padding: var(--space-3xl) max(var(--space-md), calc((100% - var(--content-max-width)) / 2));
    }

    /* Figma 2316:1390: 425.7x1300px rect, rotated 45deg, centered at
     (203.5, 211.5) in the 1440px frame. The x-center is anchored to
     50% - 32.28rem so the band follows the centered 1200px content
     (keeping the white heading on the band on any viewport width). */
    .uv-cases__decorative {
        top: 13.22rem;
        left: calc(50% - 32.28rem);
        width: 26.6rem;
        height: 81.25rem;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .uv-cases__intro {
        gap: 15rem;
    }
}

/* =========================================================
   uv-cta-head
   ========================================================= */
.uv-cta-head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 28rem;
}

.uv-cta-head__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.uv-cta-head__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 1) 100%), rgba(18, 135, 218, 0.88);
    color: var(--pure-white);
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
}

.uv-cta-head__quote {
    font-family: var(--font-thai-sarabun);
    font-weight: 700;
    font-size: var(--font-size-md);
    letter-spacing: 0.02em;
    margin: 0;
}

.uv-cta-head__lead {
    font-family: var(--font-thai-sarabun);
    font-weight: 700;
    font-size: var(--font-size-3xl);
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin: 0;
}

@media (min-width: 48em) {
    .uv-cta-head {
        min-height: 36rem;
    }

    .uv-cta-head__panel {
        width: 30.75rem;
        margin-left: 3.75rem;
        padding: var(--space-2xl) 3.5rem;
    }

    .uv-cta-head__lead {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 75em) {
    .uv-cta-head {
        min-height: 55.3125rem;
    }
}
