/* =============================================================================
   Figtree Systems — Cloud and Hosting Services
   Scoped to .chs-page. Uses the global --fg-* design tokens.
   ============================================================================= */

.chs-page {
    font-family: 'Open Sans', sans-serif;
    color: var(--fg-text);
    line-height: 1.7;
}

.chs-page section { position: relative; }

/* Shared inner wrapper ------------------------------------------------------- */
.chs-inner {
    max-width: var(--fg-max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

/* Buttons -------------------------------------------------------------------- */
.chs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    text-decoration: none;
    border-radius: var(--fg-radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.2;
    white-space: nowrap;
}

.chs-btn--primary {
    padding: 0.75em 1.8em;
    background: var(--fg-green);
    color: #fff;
}
.chs-btn--primary:hover,
.chs-btn--primary:focus-visible {
    background: var(--fg-green-dark);
    color: #fff;
}

.chs-btn--white {
    padding: 0.75em 1.8em;
    background: #fff;
    color: var(--fg-green-dark);
    border: 2px solid transparent;
}
.chs-btn--white:hover,
.chs-btn--white:focus-visible {
    background: var(--fg-green-light);
    color: var(--fg-green-dark);
}

.chs-btn--ghost {
    padding: 0.75em 1.8em;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.chs-btn--ghost:hover,
.chs-btn--ghost:focus-visible {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* =============================================================================
   1. HERO
   ============================================================================= */
.chs-hero {
    position: relative;
    background-color: var(--fg-green-deeper);
    background-size: cover;
    background-position: center 30%;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
}

.chs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(30, 61, 26, 0.90) 0%,
        rgba(30, 61, 26, 0.72) 55%,
        rgba(30, 61, 26, 0.30) 100%
    );
}

.chs-hero__inner {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
    width: 100%;
}

.chs-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 1.75rem;
    letter-spacing: -0.01em;
}

.chs-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* =============================================================================
   2. AEO INTRO
   ============================================================================= */
.chs-intro {
    background: #fff;
    padding: 3rem 0 0;
}

.chs-intro {
    text-align: center;
}

.chs-intro p {
    max-width: 820px;
    font-size: 1.1rem;
    margin: 0 auto;
}

/* =============================================================================
   3. THE FIGTREE ADVANTAGE
   ============================================================================= */
.chs-advantage {
    background: #fff;
    padding: 3rem 0 4rem;
    text-align: center;
}

.chs-advantage__label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-green);
    margin-bottom: 0.5rem;
}

.chs-advantage h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-text);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.chs-advantage__subheading {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--fg-green-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1.75rem;
}

/* Benefit icon list ----------------------------------------------------------- */
.chs-benefit-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    text-align: left;
}

.chs-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
}

.chs-benefit-list__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fg-green-pale);
    color: var(--fg-green);
}

/* =============================================================================
   4. SERVICE BREAKDOWN
   ============================================================================= */
.chs-breakdown {
    background: var(--fg-green-pale);
    padding: 4rem 0;
}

.chs-breakdown__copy {
    max-width: 820px;
    margin: 0 auto 1.25rem;
    font-size: 1rem;
}

.chs-breakdown__intro {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--fg-text);
    text-align: center;
    margin: 0 0 2rem;
}

.chs-breakdown__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.chs-breakdown__item {
    background: #fff;
    border: 1px solid var(--fg-green-light);
    border-radius: calc(var(--fg-radius) * 2);
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.chs-breakdown__item h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--fg-green-dark);
    margin: 0;
    line-height: 1.4;
}

/* =============================================================================
   5. FIGTREE SYSTEMS AS A SERVICE
   ============================================================================= */
.chs-saas {
    background: #fff;
    padding: 5rem 0;
}

.chs-saas__text {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.chs-saas h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--fg-text);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.chs-saas p {
    margin: 0 0 1.5rem;
    font-size: 1rem;
}

.chs-saas__img-col {
    max-width: 1100px;
    margin-inline: auto;
}

.chs-saas__img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

.chs-saas__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* =============================================================================
   6. EXPERIENCE
   ============================================================================= */
.chs-experience {
    background: var(--fg-green-pale);
    padding: 5rem 0;
}

.chs-experience__inner {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.chs-experience h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-green-dark);
    margin: 0 0 1.25rem;
}

.chs-experience p {
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

.chs-experience__cta {
    margin-top: 1.5rem;
}

/* =============================================================================
   7. FAQ
   ============================================================================= */
.chs-faq {
    background: #fff;
    padding: 5rem 0;
}

.chs-faq__heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-text);
    margin: 0 0 0.5rem;
}

.chs-faq__sub {
    color: #555;
    font-size: 1rem;
    margin: 0 0 2.5rem;
}

.chs-faq__list {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chs-faq__item {
    border-bottom: 1px solid var(--fg-green-light);
}

.chs-faq__item:first-child {
    border-top: 1px solid var(--fg-green-light);
}

.chs-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--fg-text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.chs-faq__question::-webkit-details-marker { display: none; }
.chs-faq__question::marker { display: none; }

.chs-faq__question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--fg-green);
    line-height: 1;
    transition: transform 0.2s ease;
}

.chs-faq__item[open] > .chs-faq__question::after {
    content: '−';
}

.chs-faq__question:hover {
    color: var(--fg-green);
}

.chs-faq__answer {
    padding: 0 0 1.25rem;
}

.chs-faq__answer p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.7;
    color: #444;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 900px) {

    .chs-benefit-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .chs-hero {
        min-height: 380px;
        padding: 3.5rem 0 2.5rem;
    }

    .chs-hero h1 { font-size: 1.75rem; }

    .chs-hero__ctas {
        flex-direction: column;
    }

    .chs-hero__ctas .chs-btn {
        width: 100%;
        justify-content: center;
    }

    .chs-breakdown__grid {
        grid-template-columns: 1fr;
    }
}
