/* ---------------------------------------------------------------
   GA Homepage Blocks — hero slideshow + alternating services
   Brand: green #00A77E, navy #004071, Helvetica Neue Cond family
   --------------------------------------------------------------- */

:root {
    --ga-green: #00A77E;
    --ga-green-dark: #008A6A;
    --ga-navy: #004071;
    --ga-navy-dark: #002F55;
    --ga-text: #1F2A37;
    --ga-text-muted: #475467;
    --ga-bg-soft: #F6F7F9;
    --ga-white: #FFFFFF;

    --ga-font-display: 'Helvetica Neue Cond', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --ga-font-body: 'Helvetica Neue Cond', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============= HERO SLIDESHOW ============= */

.ga-hero {
    position: relative;
    width: 100%;
    background: #0a0a0a;
}

.ga-hero__swiper {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Hard cap so very tall viewports don't dwarf the hero */
    max-height: 920px;
    min-height: 520px;
    overflow: hidden;
}

.ga-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    color: var(--ga-white);
    overflow: hidden;
}

.ga-hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 8s ease-out;
    will-change: transform;
}

.swiper-slide-active .ga-hero-slide__bg {
    transform: scale(1);
}

.ga-hero-slide__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.ga-hero-slide--text-dark .ga-hero-slide__scrim {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.25) 35%,
        rgba(255, 255, 255, 0.65) 100%
    );
}

.ga-hero-slide__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.ga-hero-slide__content {
    max-width: 880px;
    text-align: center;
    font-family: var(--ga-font-body);
}

.ga-hero-slide__heading {
    font-family: var(--ga-font-display);
    font-weight: 700;
    font-stretch: condensed;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.ga-hero-slide--text-dark .ga-hero-slide__heading {
    color: var(--ga-navy);
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.55);
}

.ga-hero-slide__blurb {
    font-family: var(--ga-font-body);
    font-weight: 300;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto 1.8rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.ga-hero-slide--text-dark .ga-hero-slide__blurb {
    color: var(--ga-text);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.6);
}

.ga-hero-slide__cta {
    margin: 0;
}

/* Reveal animation — applied when swiper marks slide active */
.ga-hero-slide [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.swiper-slide-active [data-reveal="heading"] { transition-delay: 0.20s; opacity: 1; transform: none; }
.swiper-slide-active [data-reveal="blurb"]   { transition-delay: 0.45s; opacity: 1; transform: none; }
.swiper-slide-active [data-reveal="cta"]     { transition-delay: 0.70s; opacity: 1; transform: none; }

/* ----- Swiper navigation & pagination overrides ----- */
.ga-hero__pagination.swiper-pagination {
    position: absolute;
    right: 24px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

.ga-hero__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.ga-hero__pagination .swiper-pagination-bullet-active {
    background: var(--ga-green);
    transform: scale(1.15);
}

.ga-hero__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ga-hero__nav:hover,
.ga-hero__nav:focus-visible {
    background: var(--ga-green);
    border-color: var(--ga-green);
    outline: none;
}

.ga-hero__nav--prev { top: 24px; }
.ga-hero__nav--next { bottom: 24px; }

.ga-hero__nav:disabled,
.ga-hero__nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

/* ============= BUTTONS ============= */

.ga-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ga-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    line-height: 1;
}

.ga-btn--primary {
    background: var(--ga-green);
    color: #fff;
    border-color: var(--ga-green);
}

.ga-btn--primary:hover,
.ga-btn--primary:focus-visible {
    background: var(--ga-green-dark);
    border-color: var(--ga-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.ga-btn--outline {
    background: transparent;
    color: var(--ga-navy);
    border-color: var(--ga-navy);
}

.ga-btn--outline:hover,
.ga-btn--outline:focus-visible {
    background: var(--ga-navy);
    color: #fff;
}

/* In dark hero contexts the outline button needs to be light */
.ga-hero-slide--text-light .ga-btn--outline {
    color: #fff;
    border-color: #fff;
}
.ga-hero-slide--text-light .ga-btn--outline:hover {
    background: #fff;
    color: var(--ga-navy);
}

/* ============= SERVICES ============= */

.ga-services {
    background: var(--ga-white);
    padding: clamp(48px, 7vw, 96px) 24px;
}

.ga-services__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 96px);
}

.ga-service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.ga-service-row--image-right .ga-service-row__content { order: 1; }
.ga-service-row--image-right .ga-service-row__media   { order: 2; }
.ga-service-row--image-left  .ga-service-row__content { order: 2; }
.ga-service-row--image-left  .ga-service-row__media   { order: 1; }

.ga-service-row__heading {
    font-family: var(--ga-font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ga-navy);
    margin: 0 0 1rem;
    letter-spacing: 0.01em;
}

.ga-service-row__blurb {
    font-family: var(--ga-font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ga-text);
    margin-bottom: 1.6rem;
}

.ga-service-row__blurb p:last-child { margin-bottom: 0; }

.ga-service-row__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ga-service-row__media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--ga-bg-soft);
}

.ga-service-row__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ga-service-row__media:hover .ga-service-row__image {
    transform: scale(1.03);
}

/* ============= RESPONSIVE ============= */

@media (max-width: 880px) {
    .ga-hero__pagination.swiper-pagination {
        right: 12px;
    }
    .ga-service-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    /* On mobile, image always goes below text (per spec) */
    .ga-service-row--image-right .ga-service-row__content,
    .ga-service-row--image-left  .ga-service-row__content { order: 1; }
    .ga-service-row--image-right .ga-service-row__media,
    .ga-service-row--image-left  .ga-service-row__media   { order: 2; }
}

@media (max-width: 560px) {
    .ga-hero__swiper { height: 88vh; }
    .ga-hero__nav { width: 38px; height: 38px; }
    .ga-hero-slide__heading { letter-spacing: 0; }
}

/* ============= REDUCED MOTION ============= */

@media (prefers-reduced-motion: reduce) {
    .ga-hero-slide__bg,
    .ga-hero-slide [data-reveal],
    .ga-service-row__image {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    /* Swiper auto-advance is disabled in JS when reduced-motion is set */
}
