﻿/* ===== Shared section primitives ===== */
.ab-section__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(40px, 5vw, 60px);
}

.ab-section__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--thm-primary);
    margin-bottom: 14px;
}

.ab-section__title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    color: var(--thm-black);
    margin: 0;
}

.ab-section__subtitle {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: var(--thm-gray);
    margin: 18px auto 0;
    max-width: 620px;
}

/* ===== What Makes Eagle Watch Different (comparison) ===== */
.ab-compare {
    position: relative;
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #f8fbfb 0%, #eef6f5 100%);
    overflow: hidden;
}

.ab-compare::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(2, 189, 189, .07) 0%, transparent 70%);
    pointer-events: none;
}

.ab-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(18px, 2.5vw, 40px);
    padding-right: clamp(18px, 2.5vw, 40px);
}

/* ---- About intro (editorial layout) ---- */
.ab-intro {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
    background: #fff;
}

.ab-intro__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.ab-intro__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--thm-primary);
    margin-bottom: 16px;
}

.ab-intro__title {
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    color: var(--thm-black);
    margin: 0 0 28px;
}

.ab-intro__lead {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--thm-black);
    margin: 0 0 28px;
}

.ab-intro__body {
    display: grid;
    gap: 18px;
    margin: 0 auto 32px;
    max-width: 680px;
    text-align: left;
}

.ab-intro__body p {
    font-size: clamp(15.5px, 1.15vw, 17px);
    line-height: 1.75;
    color: #3d4a4a;
    font-weight: 500;
    margin: 0;
}

.ab-intro__audience {
    display: inline-block;
    max-width: 680px;
    padding: 16px 22px;
    border-left: 3px solid var(--thm-primary);
    background: rgba(2, 189, 189, .06);
    text-align: left;
    font-size: clamp(14.5px, 1.1vw, 16px);
    line-height: 1.6;
    font-weight: 600;
    color: var(--thm-black);
    margin: 0;
}

/* ---- Coverflow / 3D carousel (tablet+) ---- */
.ab-cf {
    position: relative;
}

.ab-cf__stage {
    position: relative;
    height: clamp(560px, 64vw, 600px);
    perspective: 1800px;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.ab-cf__viewport {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.ab-compare__col {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(88vw, 440px);
    height: min(94%, 540px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(2, 189, 189, .12);
    border-radius: 18px;
    padding: 34px 28px 28px;
    box-shadow: 0 12px 34px rgba(4, 24, 24, .06);
    transform: translate(-50%, -50%);
    transform-origin: center center;
    will-change: transform, opacity;
    transition: transform 550ms cubic-bezier(.22, 1, .36, 1), opacity 550ms ease, box-shadow 450ms ease, border-color 450ms ease;
    cursor: pointer;
}

.ab-compare__col.is-active {
    cursor: default;
    border-color: var(--thm-primary);
    box-shadow: 0 0 0 1.5px var(--thm-primary), 0 28px 60px rgba(2, 189, 189, .22);
}

.ab-compare__col.is-active .ab-compare__icon {
    background: rgba(2, 189, 189, .12);
    color: var(--thm-primary);
}

.ab-cf__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(2, 189, 189, .3);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    color: var(--thm-primary);
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(4, 24, 24, .1);
    transition: background 300ms ease, color 300ms ease, transform 300ms ease, opacity 300ms ease;
}

.ab-cf__nav:hover {
    background: var(--thm-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

.ab-cf__nav--prev { left: clamp(6px, 3vw, 40px); }
.ab-cf__nav--next { right: clamp(6px, 3vw, 40px); }

.ab-cf__nav[disabled] {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

.ab-cf__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.ab-cf__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(2, 189, 189, .28);
    cursor: pointer;
    transition: width 300ms ease, background 300ms ease;
}

.ab-cf__dot.is-active {
    width: 26px;
    background: var(--thm-primary);
}

.ab-compare__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f5;
    color: #6b7a7a;
    font-size: 22px;
    margin: 0 auto 18px;
}

.ab-compare__col-title {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    color: var(--thm-black);
    margin: 0 0 22px;
}

.ab-compare__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.ab-compare__item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
    color: #2f3d3d;
    margin-bottom: 16px;
}

.ab-compare__item i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 15px;
    color: #9aa8a8;
}

.ab-compare__col--highlight .ab-compare__item {
    color: #1a2525;
    font-weight: 700;
}

.ab-compare__col--highlight .ab-compare__item i {
    color: var(--thm-primary);
}

.ab-compare__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(2, 189, 189, .12);
    font-size: 14px;
    font-weight: 700;
    color: #3d4a4a;
}

.ab-compare__foot i {
    color: #6b7a7a;
}

.ab-compare__col--highlight .ab-compare__foot {
    color: var(--thm-primary);
}

.ab-compare__col--highlight .ab-compare__foot i {
    color: var(--thm-primary);
}

/* Mobile: simple single-card carousel (no 3D) */
@media (max-width: 767px) {
    .ab-cf {
        padding-bottom: 8px;
    }

    .ab-cf__stage {
        height: auto;
        min-height: 0;
        perspective: none;
        overflow: hidden;
        padding: 8px 0 4px;
    }

    .ab-cf__viewport {
        position: relative;
        display: flex;
        width: 100%;
        transform-style: flat;
        transition: transform 450ms cubic-bezier(.22, 1, .36, 1);
    }

    .ab-compare__col {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        min-height: 480px;
        margin: 0;
        transform: none !important;
        opacity: 1 !important;
        box-shadow: 0 10px 28px rgba(4, 24, 24, .08);
    }

    .ab-compare__col.is-active {
        box-shadow: 0 0 0 1.5px var(--thm-primary), 0 16px 36px rgba(2, 189, 189, .18);
    }

    .ab-cf__nav {
        width: 42px;
        height: 42px;
        font-size: 14px;
        top: 50%;
        transform: translateY(-50%);
    }

    .ab-cf__nav:hover {
        transform: translateY(-50%) scale(1.04);
    }

    .ab-cf__nav--prev { left: 4px; }
    .ab-cf__nav--next { right: 4px; }

    .ab-cf__dots {
        margin-top: 20px;
    }

    .ab-intro__audience {
        display: block;
    }
}

/* ===== Why Organizations Choose Eagle Watch ===== */
.ab-why {
    position: relative;
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4faf9 100%);
    overflow: hidden;
}

.ab-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ab-why__card {
    padding: 34px 30px;
    background: #fff;
    border: 1px solid rgba(2, 189, 189, .12);
    border-radius: 16px;
    transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.ab-why__card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 189, 189, .35);
    box-shadow: 0 20px 44px rgba(4, 24, 24, .08);
}

.ab-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(2, 189, 189, .1);
    color: var(--thm-primary);
    font-size: 22px;
    margin-bottom: 22px;
}

.ab-why__card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--thm-black);
    margin: 0 0 10px;
}

.ab-why__card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--thm-gray);
    margin: 0;
}

/* ===== Closing CTA ===== */
.ab-closing-cta .cta-one__title {
    font-weight: 800;
    margin-bottom: 18px;
}

.ab-closing-cta .cta-one__sub-title {
    max-width: 720px;
    margin: 0 auto 40px;
    padding-bottom: 0;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 500;
    line-height: 1.6;
}

.ab-closing-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.ab-closing-cta__actions .cta-one__btn {
    margin: 0;
}

.ab-closing-cta__btn--secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.ab-closing-cta__btn--secondary:hover {
    background-color: #fff;
    color: var(--thm-black);
    border-color: #fff;
}

@media (max-width: 575px) {
    .ab-closing-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ab-closing-cta__actions .cta-one__btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .ab-why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .ab-why__grid { grid-template-columns: 1fr; }
}

.team-one__img--v3 {
    height: 330px;
}
