/*
 * About page (/about).
 *
 * Linked last in site.blade.php, after style.css and responsive.css, so it wins
 * the cascade without a single !important. Everything is scoped under
 * `.ab-page`.
 *
 * The page no longer uses the theme's `.about-area.inner-style-one` shell. That
 * class pulls itself up with `margin-top: -154px` so it slides under the header,
 * which is the exact reason SiteLayout's header carries an inline
 * `position: relative; zIndex: 10` -- without it the hero painted over the nav
 * and swallowed every click. The hero here starts below the header instead.
 *
 * Bump the ?v= query string in site.blade.php after editing this file.
 */

/* ------------------------------------------------------------------ tokens */

.ab-page {
    --ab-green: #71b745;
    --ab-dark: #00181a;
    --ab-ink: #1c1c1c;
    --ab-muted: #5c6b66;
    --ab-cream: #f7f6ee;
    --ab-line: #e3e6df;
}

/* -------------------------------------------------------------------- hero */

.ab-page .ab-hero {
    position: relative;
    padding: 96px 0 100px;
    background: url(../images/top-banner.png) center center / cover no-repeat;
    overflow: hidden;
}

.ab-page .ab-hero:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 24, 26, 0.92) 0%,
        rgba(0, 24, 26, 0.74) 55%,
        rgba(113, 183, 69, 0.42) 100%
    );
}

.ab-page .ab-hero .container {
    position: relative;
    z-index: 1;
}

.ab-page .ab-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(113, 183, 69, 0.9);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.ab-page .ab-hero h1 {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(32px, 5.2vw, 56px);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.ab-page .ab-hero-lead {
    color: #e7f1e0;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
    max-width: 640px;
    margin: 18px 0 0;
}

/* ----------------------------------------------------------------- buttons */

.ab-page .ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 13px 30px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.4s;
}

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

.ab-page .ab-btn-primary:hover {
    background: #fff;
    color: var(--ab-dark);
    border-color: #fff;
}

.ab-page .ab-btn-light {
    background: #fff;
    color: var(--ab-dark);
    border-color: #fff;
}

.ab-page .ab-btn-light:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

/* ---------------------------------------------------------------- sections */

.ab-page .ab-section {
    padding: 92px 0;
}

.ab-page .ab-section-cream {
    background: var(--ab-cream);
}

.ab-page .ab-eyebrow {
    display: block;
    color: var(--ab-green);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ab-page .ab-section-head {
    max-width: 720px;
    margin: 0 0 40px;
}

.ab-page .ab-section-head h2 {
    color: var(--ab-ink);
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.ab-page .ab-section-head p {
    color: var(--ab-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 14px 0 0;
}

/* ------------------------------------------------------------------- story */

.ab-page .ab-story p {
    color: var(--ab-muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.ab-page .ab-story p:last-child {
    margin-bottom: 0;
}

/* The sticky aside is the page's one "at a glance" panel; it must not become a
   floating column on a phone, so the responsive block below unsticks it. */
.ab-page .ab-story-aside {
    position: sticky;
    top: 110px;
    background: var(--ab-dark);
    border-radius: 10px;
    padding: 34px 32px 30px;
}

.ab-page .ab-story-aside h3 {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.ab-page .ab-story-aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-page .ab-story-aside li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.6;
}

.ab-page .ab-story-aside li:last-child {
    border-bottom: 0;
}

.ab-page .ab-story-aside i {
    flex: 0 0 auto;
    color: var(--ab-green);
    font-size: 18px;
    line-height: 26px;
}

/* ------------------------------------------------------------------ values */

.ab-page .ab-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ab-page .ab-value {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: 10px;
    padding: 34px 30px 30px;
    height: 100%;
    transition: 0.35s;
}

.ab-page .ab-value:hover {
    border-color: var(--ab-green);
    box-shadow: 0 18px 40px rgba(0, 24, 26, 0.08);
    transform: translateY(-4px);
}

.ab-page .ab-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(140deg, #f7f6ee 0%, #eef6e7 100%);
    color: var(--ab-green);
    font-size: 26px;
    margin-bottom: 20px;
}

.ab-page .ab-value h3 {
    color: var(--ab-ink);
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.ab-page .ab-value p {
    color: var(--ab-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ------------------------------------------------------------ what we fix */

/* The service links used to live here as `.ab-service-*`. They are
   Components/Site/ServicesSection now, styled in services-section.css, because
   / and /store/{slug} render the same section -- see the ⚠️ at the top of that
   file before moving any of it back under `.ab-page`. Only the band is this
   page's: the values section above it is cream, so this one stays white. */

/* ---------------------------------------------------------------- channels */

.ab-page .ab-contact {
    background: var(--ab-dark);
    padding: 84px 0;
}

.ab-page .ab-contact .ab-section-head h2 {
    color: #fff;
}

.ab-page .ab-contact .ab-section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.ab-page .ab-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ab-page .ab-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 22px 24px;
    transition: 0.35s;
}

.ab-page .ab-channel:hover {
    background: rgba(113, 183, 69, 0.16);
    border-color: var(--ab-green);
}

.ab-page .ab-channel i {
    flex: 0 0 auto;
    color: var(--ab-green);
    font-size: 26px;
    line-height: 1;
}

.ab-page .ab-channel-name {
    display: block;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.ab-page .ab-channel-note {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.4;
    margin-top: 2px;
}

.ab-page .ab-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

/* -------------------------------------------------------------- responsive */

@media only screen and (max-width: 991px) {
    .ab-page .ab-hero {
        padding: 64px 0 70px;
    }

    .ab-page .ab-section {
        padding: 64px 0;
    }

    .ab-page .ab-story-aside {
        position: static;
        margin-top: 34px;
    }

    .ab-page .ab-contact {
        padding: 62px 0;
    }
}

@media only screen and (max-width: 767px) {
    .ab-page .ab-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    /* Full-width buttons stack more cleanly than two half-rows at 390px. */
    .ab-page .ab-contact-actions .ab-btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .ab-page .ab-section {
        padding: 54px 0;
    }

    .ab-page .ab-story p {
        font-size: 16px;
    }

    .ab-page .ab-story-aside {
        padding: 28px 24px 24px;
    }

    .ab-page .ab-value {
        padding: 28px 24px 24px;
    }

    .ab-page .ab-channel {
        padding: 18px 20px;
    }
}
