/**
 * Acquisition Landing Page: SGH Concepts acquires Elward Systems
 *
 * Scoped strictly to .landing-acquisition body class.
 * Brand Color Palette:
 *   - SGH Deep Teal:    #00758d
 *   - SGH Cyan:         #00c1de
 *   - Elward Orange:    #e65c00 / #f26822
 *   - Charcoal Dark:    #222428
 *   - Charcoal Body:    #4a5568
 *   - Soft Gray Surface:#f7fafc
 *   - Clean Border:     #e2e8f0
 *
 * @package SGH
 */

/* ═══════════════════════════════════════════════════════
   1. GLOBAL & HEADER OVERRIDES
   ═══════════════════════════════════════════════════════ */

/* Hide legacy Drupal inner-page title overlays so landing page has its own clean header */
.landing-acquisition #hero > .overlay,
.landing-acquisition #hero > .header-graphic-wrapper {
    display: none !important;
}

.landing-acquisition #hero {
    min-height: 0 !important;
    background: none !important;
}

.landing-acquisition {
    background-color: #ffffff;
    color: #4a5568;
    font-family: 'Muli', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.landing-acquisition a {
    color: #00758d;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.landing-acquisition a:hover {
    color: #00c1de;
}

.landing-acquisition .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ═══════════════════════════════════════════════════════
   2. MAIN CONTAINER
   ═══════════════════════════════════════════════════════ */

.acq-main {
    padding-top: 30px;
    padding-bottom: 70px;
}

.acq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════
   3. TOP HERO BANNER
   ═══════════════════════════════════════════════════════ */

.acq-banner {
    margin-bottom: 36px;
}

.acq-banner__frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 117, 141, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    background-color: #1a2228;
    border: 1px solid rgba(0, 193, 222, 0.2);
}

.acq-banner__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* ═══════════════════════════════════════════════════════
   4. MAIN PRESS RELEASE & STORY
   ═══════════════════════════════════════════════════════ */

.acq-story {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 10px;
}

.acq-story__header {
    text-align: center;
    margin-bottom: 30px;
}

.acq-story__headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    color: #00758d;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.acq-story__body {
    font-size: 17px;
    line-height: 1.8;
    color: #3b424a;
}

.acq-story__body p {
    margin-bottom: 22px;
}

.acq-story__body .acq-lead {
    font-size: 19px;
    line-height: 1.75;
    color: #222831;
    font-weight: 500;
}

.acq-inline-quote {
    margin: 30px 0;
    padding: 24px 30px;
    background: linear-gradient(135deg, #f0faff 0%, #f6fbfd 100%);
    border-left: 4px solid #00c1de;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px rgba(0, 117, 141, 0.05);
}

.acq-inline-quote p {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    color: #1f2937;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   5. ANNOUNCEMENT VIDEO SECTION
   ═══════════════════════════════════════════════════════ */

.acq-video-section {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.acq-video-section__intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #222428;
    margin: 0 0 20px;
    letter-spacing: -0.2px;
}

.acq-video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a202c;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
    border: 2px solid #00c1de;
    line-height: 0;
}

.acq-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* True 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    line-height: 0;
}

.acq-video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    line-height: 0;
}

/* Ensure all video embeds (Vimeo, YouTube, direct MP4) stretch to 100% of the 16:9 frame */
.acq-video-embed iframe,
.landing-acquisition .js-video-wrapper,
.landing-acquisition .js-video-wrapper iframe,
.acq-video-player video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
}

.acq-video-poster-box {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.acq-video-poster__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.acq-video-poster-box:hover .acq-video-poster__img {
    transform: scale(1.025);
}

.acq-video-poster__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.acq-video-poster-box:hover .acq-video-poster__overlay {
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.acq-video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7b2b 0%, #e65c00 100%);
    border: 4px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(230, 92, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.acq-video-play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(230, 92, 0, 0.8);
}

.acq-play-icon {
    font-size: 28px;
    margin-left: 4px;
}

.acq-video-badge {
    margin-top: 16px;
    background-color: rgba(0, 117, 141, 0.85);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   6. DIVIDER GRAPHIC
   ═══════════════════════════════════════════════════════ */

.acq-divider {
    text-align: center;
    margin: 48px auto;
    max-width: 100%;
}

.acq-divider__img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: inline-block;
    border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════
   7. SHOWCASE: 2x2 PROJECTS + CENTER CEO QUOTE
   ═══════════════════════════════════════════════════════ */

.acq-showcase {
    margin: 0 auto 40px;
}

.acq-projects-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.acq-projects-row--top {
    margin-bottom: 32px;
}

.acq-projects-row--bottom {
    margin-top: 32px;
}

.acq-project-card {
    margin: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f7fafc;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 117, 141, 0.1);
}

.acq-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 117, 141, 0.18);
}

.acq-project-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.acq-project-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.acq-project-card:hover .acq-project-card__img-wrap img {
    transform: scale(1.05);
}

.acq-project-card__zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(17, 24, 39, 0.8);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.acq-project-card:hover .acq-project-card__zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ── Center Quote Box ── */
.acq-quote-wrapper {
    margin: 10px 0;
}

.acq-quote-box {
    position: relative;
    background-color: #ffffff;
    /* CSS 9-slice border-image: preserves exact geometric corners without distortion */
    border: 24px solid #00c1de;
    border-image-source: url('/wp-content/uploads/2026/10/Quote-Box-Elward-to-SGH.png');
    border-image-slice: 75 85 fill;
    border-image-width: 24px;
    border-image-repeat: stretch;
    box-shadow: 0 10px 30px rgba(0, 193, 222, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 24px 32px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.acq-quote-box:hover {
    box-shadow: 0 14px 40px rgba(0, 193, 222, 0.22);
}

.acq-quote-box__inner {
    position: relative;
    z-index: 2;
}

.acq-quote-box__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid #eef2f6;
    padding-bottom: 12px;
}

.acq-quote-box__icon {
    font-size: 38px;
    line-height: 1;
    color: #e65c00;
    font-family: Georgia, serif;
}

.acq-quote-box__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #00758d;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

.acq-quote-box__quote {
    margin: 0;
}

.acq-quote-box__quote p {
    font-size: 18px;
    line-height: 1.75;
    color: #2d3748;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.2px;
}

/* ═══════════════════════════════════════════════════════
   8. FREQUENTLY ASKED QUESTIONS (FAQ) ACCORDION
   ═══════════════════════════════════════════════════════ */

.acq-faqs {
    max-width: 1040px;
    margin: 0 auto 50px;
    padding: 0 10px;
}

.acq-faqs__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
}

.acq-faqs__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: #222428;
    margin: 0;
}

.acq-faqs__toggle-all {
    background-color: transparent;
    border: 2px solid #00758d;
    color: #00758d;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acq-faqs__toggle-all:hover {
    background-color: #00758d;
    color: #ffffff;
}

.acq-faqs__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acq-faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acq-faq-item:hover {
    border-color: #00c1de;
    box-shadow: 0 4px 14px rgba(0, 193, 222, 0.1);
}

.acq-faq-item.is-open {
    border-color: #00758d;
    box-shadow: 0 6px 18px rgba(0, 117, 141, 0.12);
}

.acq-faq-item__trigger {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.acq-faq-item__prefix {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #00758d;
    flex-shrink: 0;
}

.acq-faq-item__question {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    flex: 1;
    line-height: 1.4;
}

.acq-faq-item__indicator {
    flex-shrink: 0;
    color: #00758d;
    transition: transform 0.3s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acq-faq-item.is-open .acq-faq-item__indicator {
    transform: rotate(180deg);
    color: #00c1de;
}

.acq-faq-item__panel {
    border-top: 1px solid #edf2f7;
    background-color: #fafbfc;
}

.acq-faq-item__content {
    display: flex;
    gap: 14px;
    padding: 20px 22px 24px;
}

.acq-faq-item__ans-prefix {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #00c1de;
    flex-shrink: 0;
    line-height: 1.6;
}

.acq-faq-item__text {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
}

.acq-faq-item__text p {
    margin: 0 0 10px;
}

.acq-faq-item__text p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   9. FOOTER CONTACT CALLOUT BANNER
   ═══════════════════════════════════════════════════════ */

.acq-footer-banner {
    margin-top: 50px;
    text-align: center;
}

.acq-footer-callout {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(108deg, 
        #006073 0%, 
        #00758d 13%, 
        #008ea6 13.1%, 
        #00accb 14.9%, 
        #00c1de 15%, 
        #00c1de 85%, 
        #00accb 85.1%, 
        #008ea6 86.9%, 
        #00758d 87%, 
        #006073 100%
    );
    box-shadow: 0 10px 30px rgba(0, 117, 141, 0.22), 0 3px 10px rgba(0, 0, 0, 0.06);
    padding: 34px 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 193, 222, 0.4);
}

.acq-footer-callout__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.acq-footer-callout__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.acq-footer-callout__line1 {
    display: block;
    margin-bottom: 4px;
}

.acq-footer-callout__line2 {
    display: block;
}

.acq-footer-callout__email {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    display: inline-block;
}

.acq-footer-callout__email:hover {
    opacity: 0.85;
}

/* Modal video container for Featherlight */
.acq-modal-video {
    max-width: 600px;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   10. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════ */

@media screen and (max-width: 900px) {
    .acq-quote-box {
        padding: 26px 24px;
    }

    .acq-quote-box__quote p {
        font-size: 16px;
    }

    .acq-projects-row {
        gap: 16px;
    }
}

@media screen and (max-width: 640px) {
    .acq-projects-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .acq-story__headline {
        font-size: 24px;
    }

    .acq-story__body .acq-lead {
        font-size: 17px;
    }

    .acq-story__body {
        font-size: 15px;
    }

    .acq-quote-box {
        border-width: 12px;
        border-image-width: 12px;
        padding: 16px 14px;
    }

    .acq-quote-box__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .acq-quote-box__icon {
        font-size: 28px;
    }

    .acq-quote-box__title {
        font-size: 15px;
    }

    .acq-quote-box__quote p {
        font-size: 15px;
        line-height: 1.6;
    }

    .acq-video-play-btn {
        width: 64px;
        height: 64px;
    }

    .acq-play-icon {
        font-size: 22px;
    }

    .acq-faq-item__trigger {
        padding: 14px 16px;
    }

    .acq-faq-item__question {
        font-size: 15px;
    }

    .acq-faq-item__content {
        padding: 16px 16px 20px;
    }

    .acq-footer-callout {
        padding: 24px 18px;
        background: linear-gradient(135deg, #006b80 0%, #00758d 35%, #00c1de 100%);
    }

    .acq-footer-callout__text {
        font-size: 16px;
        line-height: 1.55;
    }
}
