/* =========================================================
   UNIVAS AUTO CONNECT - ABOUT US PAGE
   ========================================================= */
:root {
    --ua-about-navy: #071a38;
    --ua-about-blue: #123d82;
    --ua-about-red: #ef2637;
    --ua-about-orange: #ff6b18;
    --ua-about-text: #0f1b32;
    --ua-about-muted: #627087;
    --ua-about-border: #e7ecf3;
}

.ua-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    min-height: 430px;
    overflow: hidden;
    background: var(--ua-about-navy);
}

.ua-about-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 85% 20%, rgba(102, 63, 153, .36), transparent 34%),
        linear-gradient(118deg, #071a38 0%, #0d2754 61%, #7c2448 100%);
}

.ua-about-hero__copy::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -112px;
    width: 190px;
    height: 145%;
    background: linear-gradient(180deg, #ff2739, #f20b2b);
    transform: skewX(-22deg);
    box-shadow: 30px 0 0 rgba(255, 55, 52, .38);
}

.ua-about-hero__inner {
    position: relative;
    z-index: 3;
    width: min(720px, 100%);
    margin-left: max(5vw, 48px);
    padding: 56px 38px 56px 0;
    color: #fff;
}

.ua-about-kicker,
.ua-about-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ua-about-kicker i,
.ua-about-section-kicker i {
    width: 25px;
    height: 3px;
    border-radius: 999px;
    background: var(--ua-about-red);
}

.ua-about-hero h1 {
    max-width: 650px;
    margin: 14px 0 14px;
    font-size: clamp(44px, 4.15vw, 72px);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.045em;
}

.ua-about-hero h1 span {
    display: block;
    color: #ff293a;
}

.ua-about-hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    font-weight: 550;
    line-height: 1.7;
}

.ua-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ua-about-btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 0 24px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ua-about-btn:hover {
    transform: translateY(-2px);
}

.ua-about-btn--primary {
    background: linear-gradient(105deg, #f3263b, #ff5f24);
    color: #fff;
    box-shadow: 0 14px 30px rgba(239, 38, 55, .22);
}

.ua-about-btn--primary:hover { color: #fff; }

.ua-about-btn--light {
    border-color: #e3e8ef;
    background: #fff;
    color: #13213a;
    box-shadow: 0 12px 26px rgba(6, 24, 51, .09);
}

.ua-about-btn--light:hover { color: #13213a; }

.ua-about-hero__visual {
    position: relative;
    overflow: hidden;
}

.ua-about-hero__visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 25, 53, .25), transparent 35%);
}

.ua-about-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ua-about-story,
.ua-about-why,
.ua-about-cta-wrap {
    background: #fff;
    padding: 46px 0;
}

.ua-about-story-main {
    border-right: 1px solid var(--ua-about-border);
    padding-right: 28px;
}

.ua-about-story-image {
    position: relative;
    min-height: 315px;
}

.ua-about-story-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 315px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .12);
}

.ua-about-story-image__accent {
    position: absolute;
    z-index: 1;
    left: -13px;
    bottom: -13px;
    width: 105px;
    height: 150px;
    border: 9px solid var(--ua-about-red);
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 25px;
}

.ua-about-section-kicker {
    color: var(--ua-about-red);
}

.ua-about-story h2,
.ua-about-why h2 {
    margin: 9px 0 12px;
    color: var(--ua-about-text);
    font-size: clamp(34px, 3vw, 52px);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: -.04em;
}

.ua-about-story-main p,
.ua-about-why p {
    margin: 0 0 10px;
    color: var(--ua-about-muted);
    font-size: 15px;
    line-height: 1.75;
}

.ua-about-principle {
    border: 1px solid var(--ua-about-border);
    border-radius: 24px;
    padding: 26px 22px;
}

.ua-about-principle--mission { background: linear-gradient(145deg, #fff, #fff2f2); }
.ua-about-principle--vision { background: linear-gradient(145deg, #fff, #edf5ff); }
.ua-about-principle--values { background: linear-gradient(145deg, #fff, #effcf2); }

.ua-about-principle__icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,.8);
    font-size: 28px;
}

.ua-about-principle--mission .ua-about-principle__icon { color: var(--ua-about-red); }
.ua-about-principle--vision .ua-about-principle__icon { color: #2c77e7; }
.ua-about-principle--values .ua-about-principle__icon { color: #14a151; }

.ua-about-principle h3 {
    margin: 15px 0 8px;
    color: var(--ua-about-text);
    font-size: 22px;
    font-weight: 950;
}

.ua-about-principle p,
.ua-about-principle li {
    color: #536177;
    font-size: 14px;
    line-height: 1.65;
}

.ua-about-principle ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ua-about-principle li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #203047;
    font-weight: 750;
}

.ua-about-principle li i { color: #0ca950; }

.ua-about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(105deg, #0a2a5a 0%, #123c7c 34%, #932b58 72%, #ef2637 100%);
    box-shadow: 0 20px 44px rgba(18, 58, 130, .15);
}

.ua-about-stat {
    display: flex;
    min-height: 106px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    color: #fff;
}

.ua-about-stat + .ua-about-stat { border-left: 1px solid rgba(255,255,255,.28); }

.ua-about-stat__icon { font-size: 31px; }

.ua-about-stat strong,
.ua-about-stat small { display: block; }

.ua-about-stat strong {
    font-size: 29px;
    font-weight: 950;
    line-height: 1;
}

.ua-about-stat small {
    margin-top: 7px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 700;
}

.ua-about-why { padding-top: 30px; }

.ua-about-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--ua-about-border);
    border-radius: 24px;
    background: #fff;
}

.ua-about-benefit {
    padding: 24px 18px;
    text-align: center;
}

.ua-about-benefit + .ua-about-benefit { border-left: 1px solid var(--ua-about-border); }

.ua-about-benefit__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 25px;
}

.ua-about-benefit__icon--red { background: #fff0f1; color: var(--ua-about-red); }
.ua-about-benefit__icon--orange { background: #fff5e6; color: #ff8800; }
.ua-about-benefit__icon--green { background: #ebfaef; color: #159c4e; }

.ua-about-benefit h3 {
    margin: 14px 0 6px;
    color: var(--ua-about-text);
    font-size: 16px;
    font-weight: 950;
}

.ua-about-benefit p {
    margin: 0;
    color: var(--ua-about-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ua-about-cta-wrap { padding-top: 8px; padding-bottom: 55px; }

.ua-about-cta {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 58px rgba(15,23,42,.14);
}

.ua-about-cta img,
.ua-about-cta__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ua-about-cta img { object-fit: cover; }

.ua-about-cta__overlay {
    background: linear-gradient(90deg, rgba(6,24,51,.75), rgba(13,44,94,.68) 55%, rgba(60,20,45,.38));
}

.ua-about-cta__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 205px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #fff;
    text-align: center;
}

.ua-about-cta h2 {
    margin: 0;
    font-size: clamp(27px, 2.4vw, 42px);
    font-weight: 950;
}

.ua-about-cta p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.9);
    font-size: 15px;
}

.ua-about-actions--center { justify-content: center; margin-top: 17px; }

@media (max-width: 1199.98px) {
    .ua-about-hero { grid-template-columns: 1fr 1fr; }
    .ua-about-hero__inner { margin-left: 34px; }
    .ua-about-story-main { border-right: 0; padding-right: 0; }
    .ua-about-benefits { grid-template-columns: repeat(3, 1fr); }
    .ua-about-benefit:nth-child(4) { border-left: 0; border-top: 1px solid var(--ua-about-border); }
    .ua-about-benefit:nth-child(5) { border-top: 1px solid var(--ua-about-border); }
}

@media (max-width: 991.98px) {
    .ua-about-hero { grid-template-columns: 1fr; }
    .ua-about-hero__copy::after { display: none; }
    .ua-about-hero__inner { width: 100%; margin: 0; padding: 52px 28px; }
    .ua-about-hero__visual { min-height: 360px; }
    .ua-about-stats { grid-template-columns: repeat(2, 1fr); }
    .ua-about-stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
    .ua-about-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.22); }
}

@media (max-width: 767.98px) {
    .ua-about-hero h1 { font-size: 43px; }
    .ua-about-hero p { font-size: 14px; }
    .ua-about-hero__visual { min-height: 270px; }
    .ua-about-story,
    .ua-about-why,
    .ua-about-cta-wrap { padding-left: 4px; padding-right: 4px; }
    .ua-about-story-image { min-height: 250px; }
    .ua-about-story-image img { min-height: 250px; }
    .ua-about-benefits { grid-template-columns: 1fr; }
    .ua-about-benefit + .ua-about-benefit { border-left: 0; border-top: 1px solid var(--ua-about-border); }
    .ua-about-stat { justify-content: flex-start; min-height: 90px; padding: 18px; }
    .ua-about-stat strong { font-size: 23px; }
}

@media (max-width: 479.98px) {
    .ua-about-hero__inner { padding: 42px 20px; }
    .ua-about-actions { display: grid; grid-template-columns: 1fr; }
    .ua-about-btn { width: 100%; }
    .ua-about-stats { grid-template-columns: 1fr; }
    .ua-about-stat + .ua-about-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
    .ua-about-cta__content { padding: 26px 18px; }
}


/* =========================================================
   ABOUT US WIDTH / OVERFLOW STABILITY FIX
   ========================================================= */
.ua-about-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

.ua-about-page *,
.ua-about-page *::before,
.ua-about-page *::after {
    box-sizing: border-box;
}

.ua-about-page img,
.ua-about-page svg,
.ua-about-page video {
    max-width: 100%;
}

.ua-about-hero {
    width: min(calc(100% - 48px), 1540px);
    max-width: 1540px;
    margin: 22px auto 0;
    border-radius: 30px;
}

.ua-about-hero > *,
.ua-about-story .row > *,
.ua-about-why .row > * {
    min-width: 0;
}

.ua-about-story .ua-home-container,
.ua-about-why .ua-home-container,
.ua-about-cta-wrap .ua-home-container {
    width: min(calc(100% - 48px), 1540px);
    max-width: 1540px;
    margin-inline: auto;
}

.ua-about-story,
.ua-about-why,
.ua-about-cta-wrap {
    width: 100%;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .ua-about-hero,
    .ua-about-story .ua-home-container,
    .ua-about-why .ua-home-container,
    .ua-about-cta-wrap .ua-home-container {
        width: min(calc(100% - 24px), 1540px);
    }

    .ua-about-hero { margin-top: 12px; border-radius: 22px; }
}
