/* =========================================================
   Visago — About page
   ========================================================= */

/* =========================================================
   Page banner
   ========================================================= */

.page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    overflow: hidden;
    isolation: isolate;
}

.page-banner-bg {
    position: absolute;
    inset: -50px 0 0;
    background-size: cover;
    background-position: center 38%;
    transform: scale(1.06);
    will-change: transform;
}

.page-banner-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(112deg, rgba(7, 20, 26, 0.94) 0%, rgba(7, 20, 26, 0.78) 42%, rgba(223, 17, 25, 0.82) 100%),
        linear-gradient(0deg, rgba(7, 20, 26, 0.5), transparent 60%);
}

.page-banner-shade::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 5px 5px;
    opacity: 0.25;
    mix-blend-mode: overlay;
}

.page-banner-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: clamp(40px, 5vw, 62px);
    letter-spacing: -1px;
    animation: bannerTitle 0.9s var(--ease) 0.2s both;
}

@keyframes bannerTitle {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 16px;
    animation: bannerTitle 0.9s var(--ease) 0.35s both;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.85;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    font-size: 9px;
}

.breadcrumb > span:last-child {
    font-weight: 500;
}

/* =========================================================
   Who we are
   ========================================================= */

.about-intro {
    padding: 120px 0 110px;
    background: var(--white);
    overflow: hidden;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: center;
}

.about-collage {
    position: relative;
    min-height: 700px;
}

.about-collage-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 210px;
    background: var(--red);
    z-index: 3;
}

.collage-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 86%;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.collage-main img,
.collage-secondary img {
    width: 100%;
    transition: transform 1.2s var(--ease);
}

.collage-main:hover img,
.collage-secondary:hover img {
    transform: scale(1.05);
}

.collage-secondary {
    position: absolute;
    top: 105px;
    right: 0;
    width: 57%;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
}

.collage-stat {
    position: absolute;
    left: 0;
    bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 26px 20px 20px;
    background: var(--white);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.12);
}

.collage-stat-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    overflow: hidden;
}

.collage-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-stat strong {
    display: block;
    color: var(--red);
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
}

.collage-stat small {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.4;
}

.about-intro-copy {
    position: relative;
}

.about-intro-copy .sec-title {
    margin-bottom: 20px;
}

.about-intro-copy .lead {
    margin-bottom: 30px;
}

.about-intro-body {
    position: relative;
    padding-right: 210px;
}

.about-service-list {
    display: grid;
    gap: 0;
}

.about-service-list li {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px dashed #d9d9d9;
}

.about-service-list li:first-child {
    padding-top: 0;
}

.about-service-list li:last-child {
    border-bottom: 0;
}

.about-service-list .dash-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    font-size: 28px;
}

.about-service-list h4 {
    margin-bottom: 6px;
    font-size: 19px;
}

.about-service-list p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #7a7a7a;
}

.about-side-card {
    position: absolute;
    top: 4px;
    right: 0;
    width: 180px;
    padding: 26px 22px;
    background: #f6f6f6;
    border-top: 2px solid var(--red);
}

.about-side-card h4 {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.45;
}

.about-side-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-side-card a i {
    font-size: 11px;
    transition: transform 0.3s var(--ease);
}

.about-side-card a:hover {
    color: var(--red);
}

.about-side-card a:hover i {
    transform: translateX(4px);
}

.about-intro-copy > .btn {
    margin-top: 30px;
}

/* =========================================================
   Services
   ========================================================= */

.about-services {
    position: relative;
    padding: 120px 0 100px;
    background: #f8f8f8 url("../images/visago/passport-bg.jpg") center left / cover no-repeat;
    overflow: hidden;
}

.about-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(224, 17, 25, 0.86) 0%, rgba(224, 17, 25, 0.86) 27%, #f3f4f7 34%, #f3f4f7 100%);
}

.about-services-red,
.about-services-globe {
    display: none;
}

.about-services > .container {
    position: relative;
    z-index: 2;
}

.about-services-head {
    text-align: center;
    margin-bottom: 48px;
}

.about-services-head .sec-title {
    margin-top: 4px;
}

.slider.about-services-slider {
    overflow: hidden;
}

.about-services-slider .slider-track {
    align-items: stretch;
}

.about-services-slider .about-service-card {
    width: 300px;
    flex: 0 0 300px;
}

.about-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.about-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.14);
}

.about-service-media {
    display: block;
    aspect-ratio: 500 / 330;
    overflow: hidden;
}

.about-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.about-service-card:hover .about-service-media img {
    transform: scale(1.08);
}

.about-service-body {
    position: relative;
    flex: 1;
    padding: 26px 26px 26px;
}

.about-service-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-top: -59px;
    margin-bottom: 18px;
    background: var(--red);
    color: var(--white);
    font-size: 27px;
    box-shadow: 0 12px 24px rgba(223, 17, 25, 0.28);
    transition: background 0.35s ease, transform 0.5s var(--ease);
}

.about-service-card:hover .about-service-icon {
    background: var(--ink);
    transform: rotate(-6deg);
}

.about-service-chevrons {
    position: absolute;
    top: 40px;
    right: 26px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0.35;
}

.about-service-chevrons i {
    display: block;
    width: 13px;
    height: 13px;
    border-top: 3px solid var(--red);
    border-right: 3px solid var(--red);
    transform: rotate(135deg);
}

.about-service-body h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.about-service-body h3 a:hover {
    color: var(--red);
}

.about-service-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #7a7a7a;
}

.about-service-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background 0.35s ease;
}

.about-service-more i {
    transition: transform 0.35s var(--ease);
}

.about-service-card:hover .about-service-more {
    background: var(--red);
}

.about-service-card:hover .about-service-more i {
    transform: translateX(5px);
}

.about-services .slider-dots {
    margin-top: 44px;
}

.about-services .slider-dots button {
    background: #d5d5d5;
}

.about-services .slider-dots button.is-active {
    background: var(--red);
}

/* =========================================================
   Video
   ========================================================= */

.about-video {
    position: relative;
    padding: 135px 0 150px;
    background: var(--dark);
    overflow: hidden;
    isolation: isolate;
}

.about-video-bg {
    position: absolute;
    inset: -60px 0 0;
    background: url("../images/visago/passport-bg.jpg") center center / cover no-repeat;
    transform: scale(1.06);
    will-change: transform;
}

.about-video-shade {
    position: absolute;
    inset: 0;
    background: rgba(9, 22, 29, 0.92);
}

.about-video-red {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 100%;
    background: linear-gradient(115deg, rgba(223, 17, 25, 0) 52%, rgba(223, 17, 25, 0.9) 52%);
    pointer-events: none;
}

.about-video-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-video-copy {
    position: relative;
    max-width: 680px;
    padding-left: 40px;
}

.about-video-bar {
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 150px;
    background: var(--red);
}

.about-video-copy h2 {
    color: var(--white);
    font-size: clamp(30px, 3.5vw, 50px);
    line-height: 1.2;
    letter-spacing: -0.6px;
}

.about-video-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-right: 40px;
}

.watch-video-label {
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
}

.watch-video-arrow {
    width: 105px;
    margin: 0 -4px 30px -4px;
    opacity: 0.8;
}

.video-play {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--red);
    font-size: 26px;
    transition: background 0.35s ease, color 0.35s ease, transform 0.4s var(--ease);
}

.video-play i {
    position: relative;
    z-index: 2;
    margin-left: 5px;
}

.video-play:hover {
    background: var(--red);
    color: var(--white);
    transform: scale(1.05);
}

.video-play-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    animation: playPulse 2.6s ease-out infinite;
}

/* =========================================================
   Countries
   ========================================================= */

.about-countries {
    position: relative;
    padding: 120px 0;
    background-color: #f8f8f8;
    background-image: url("../images/visago/pattern-light.png");
    overflow: hidden;
}

.about-countries-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 60px;
    align-items: center;
}

.about-countries-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-countries-visual::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 17, 25, 0.08), transparent 65%);
}

.about-countries-visual img {
    position: relative;
    z-index: 2;
    width: min(100%, 440px);
    filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.22));
    animation: passportFloat 7s ease-in-out infinite;
}

@keyframes passportFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-16px) rotate(1deg);
    }
}

.about-countries-head {
    margin-bottom: 32px;
}

.about-countries-head .sec-title {
    margin-top: 4px;
    font-size: clamp(30px, 3vw, 40px);
}

.about-countries-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* =========================================================
   Team
   ========================================================= */

.about-team {
    position: relative;
    padding: 120px 0 130px;
    background: var(--white);
    overflow: hidden;
}

.about-team::before {
    content: "";
    position: absolute;
    right: -140px;
    top: 120px;
    width: 460px;
    height: 460px;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.about-team-head {
    text-align: center;
    margin-bottom: 55px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.team-card {
    position: relative;
    padding-bottom: 10px;
}

.team-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--dark);
}

.team-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 20, 26, 0.45));
    opacity: 0;
    transition: opacity 0.45s ease;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
}

.team-card:hover .team-photo::after {
    opacity: 1;
}

.team-info {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: calc(100% - 30px);
    margin: -46px 0 0;
    padding: 18px 22px 18px 26px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.45s var(--ease);
}

.team-card:hover .team-info {
    transform: translateY(-6px);
}

.team-accent {
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    background: var(--red);
    transition: top 0.4s var(--ease), bottom 0.4s var(--ease);
}

.team-card:hover .team-accent {
    top: 10px;
    bottom: 10px;
}

.team-info h3 {
    font-size: 21px;
    margin-bottom: 3px;
}

.team-info span {
    color: #8a8a8a;
    font-size: 15px;
}

.team-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    color: var(--ink);
    font-size: 15px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.team-share:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .about-intro-grid {
        gap: 50px;
    }

    .about-collage {
        min-height: 600px;
    }

    .about-intro-body {
        padding-right: 0;
    }

    .about-side-card {
        position: static;
        width: 100%;
        margin-top: 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .about-side-card h4 {
        margin-bottom: 0;
    }

    .about-services-slider .about-service-card {
        width: 280px;
        flex-basis: 280px;
    }

    .about-video-copy {
        max-width: 560px;
    }

    .about-countries-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .page-banner {
        height: 260px;
    }

    .about-intro {
        padding: 90px 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-collage {
        max-width: 640px;
        margin: 0 auto;
        min-height: 620px;
        width: 100%;
    }

    .about-services-red {
        width: 38%;
    }

    .about-services {
        padding: 90px 0 80px;
    }

    .about-video {
        padding: 100px 0 110px;
    }

    .about-video-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 44px;
    }

    .about-video-copy {
        max-width: 100%;
    }

    .about-video-action {
        padding-right: 0;
        padding-left: 40px;
    }

    .about-countries-grid {
        grid-template-columns: 1fr;
    }

    .about-countries-visual {
        order: 2;
        max-width: 420px;
        margin: 20px auto 0;
    }

    .about-team {
        padding: 90px 0 100px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }

    .about-intro,
    .about-countries {
        padding: 70px 0;
    }

    .about-collage {
        min-height: 520px;
    }

    .collage-main {
        width: 74%;
    }

    .collage-secondary {
        top: 80px;
        width: 48%;
    }

    .collage-stat {
        padding: 14px 18px 14px 14px;
        gap: 12px;
    }

    .collage-stat-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .collage-stat strong {
        font-size: 26px;
    }

    .about-service-list h4 {
        font-size: 17px;
    }

    .about-services-red {
        width: 45%;
    }

    .about-services-slider .about-service-card {
        width: 270px;
        flex-basis: 270px;
    }

    .about-video-copy {
        padding-left: 26px;
    }

    .about-video-bar {
        height: 110px;
    }

    .about-video-copy h2 {
        font-size: 30px;
    }

    .about-video-action {
        padding-left: 26px;
    }

    .video-play {
        width: 82px;
        height: 82px;
        flex-basis: 82px;
        font-size: 21px;
    }

    .watch-video-arrow {
        width: 78px;
    }

    .about-countries-cards {
        gap: 16px;
    }

    .about-team-head {
        margin-bottom: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .page-banner h1 {
        font-size: 38px;
    }

    .breadcrumb {
        font-size: 14px;
    }

    .about-collage {
        min-height: 420px;
    }

    .collage-secondary {
        top: 60px;
    }

    .collage-stat {
        bottom: 0;
    }

    .about-service-list li {
        gap: 14px;
    }

    .about-service-list .dash-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 22px;
    }

    .about-side-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .about-services-red {
        width: 55%;
    }

    .about-services-head .sec-title {
        font-size: 28px;
    }

    .about-video-copy h2 {
        font-size: 26px;
    }

    .about-video-action {
        gap: 4px;
    }

    .watch-video-label {
        font-size: 15px;
    }

    .about-countries-cards {
        grid-template-columns: 1fr;
    }

    .about-countries-visual img {
        width: 82%;
    }
}
