/* ============================================================
   Application House — About Us Preview
   Brand tokens + components + layout
   ============================================================ */

.stat-block.card {
    box-shadow: none;
    border: none;
    overflow: visible;
    /* padding: 0; */
}
.stat-block.card:after {
    content: none;
}
.stat-block.card .card-header {
    position: absolute;
}
.stat-block.card .stat-number {
    margin-left: 100px;
    text-align: left;
}
.stat-block.card .stat-label {
    margin-left: 100px;
    text-align: left;
}
.logo-grid-about-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
    align-items: center;
    justify-items: center;
    width: 40%;
    float: left;
}
.logo-grid-about {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-4);
    align-items: center;
    justify-items: center;
    width: 50%;
    margin-left: auto;
}
article.industry-card .card-icon {
    width: 70px;
}

article.expertise-card .card-icon {
    width: 70px;
}
.card.offerings {
    overflow: visible;
    margin-top: 100px;
}
.card.offerings::after {
    content: none;
}
.card.offerings img {
    position: absolute;
    width: 30%;
    top: -20%;
}
.card.offerings .card-meta {
    align-self: flex-end;
}
.card.platform_offerings{
    box-shadow: none;
    border: none;
}
.card.platform_offerings::after{
    content: none;
}
.card.platform_offerings h4{
    width: 75%;
    font-size: var(--fs-base);
}
.card.platform_offerings_2::after{
    content: none;
}
.card.platform_offerings_2 h4{
    width: 75%;
    font-size: var(--fs-base);
}
.card.quick-packages{
    background: var(--ah-navy);
}
.card.quick-packages h4{
    color: var(--ah-grey);
}

/* ---------- "One-Stop Salesforce Solution" full-bleed split band ---------- */
.one-stop {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: stretch;
}
.one-stop__media {
    background: var(--ah-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 2.5vw, 40px);
}
.one-stop__media .video-facade {
    width: 100%;
    max-width: 750px;
}
.one-stop__content {
    background: var(--ah-blue);
    color: #fff;
    display: flex;
    align-items: center;
    padding: clamp(32px, 5vw, 72px);
}
.one-stop__content h2 {
    color: #fff;
}
.one-stop__content h2 .accent-pink {
    color: var(--ah-pink);
}
.one-stop__content p {
    color: rgba(255, 255, 255, 0.92);
}

.one-stop__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    margin-top: var(--sp-6);
}
.contact-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.contact-row__icon {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-row__icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.contact-row__label {
    font-weight: 700;
    line-height: 1.2;
}
.contact-row__value a {
    color: #fff;
    text-decoration: none;
}
.contact-row__value a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .one-stop { grid-template-columns: 1fr; }
}

/* ---------- Click-to-play YouTube facade ---------- */
.video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--ah-navy);
    box-shadow: var(--shadow-md);
}
.video-facade__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-facade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(38, 34, 98, 0.18);
    transition: opacity 0.18s ease;
    pointer-events: none;
}
.video-facade:hover::after { opacity: 0.55; }
.video-facade__play {
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 2;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--ah-blue);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.18s ease, background 0.18s ease;
}
.video-facade__play svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    margin-left: 3px; /* optically centre the triangle */
}
.video-facade:hover .video-facade__play { transform: scale(1.08); }

/* Video facade used as a card thumbnail (Featured Youtube Videos) */
.video-card .video-facade {
    box-shadow: none;
    margin-bottom: var(--sp-4);
}
.video-card .video-facade__play {
    width: 60px;
    height: 60px;
}
.video-card .video-facade__play svg {
    width: 26px;
    height: 26px;
}

/* ---------- Video modal (lightbox) ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
    background: rgba(15, 13, 40, 0.82);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.video-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.video-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    transform: scale(0.96);
    transition: transform 0.2s ease;
}
.video-modal.is-open .video-modal__dialog {
    transform: scale(1);
}
.video-modal__dialog iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--r-lg);
}
.video-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--ah-navy);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.video-modal__close:hover {
    background: var(--ah-grey);
}
@media (max-width: 600px) {
    .video-modal__close { top: 8px; right: 8px; background: rgba(0, 0, 0, 0.6); color: #fff; }
}