/* =============================================================================
   Figtree Systems — Contact Us
   Scoped to .cus-page. Uses the global --fg-* design tokens.
   The "Request a Demo" form section reuses .hm-form-* classes/styles from
   css/home.css (enqueued as a dependency) rather than re-implementing them.
   ============================================================================= */

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

.cus-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============================================================
   HERO
============================================================ */
.cus-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-block: clamp(4rem, 12vw, 8rem);
}

.cus-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 47, 36, 0.55);
}

.cus-hero__inner {
    position: relative;
    max-width: var(--fg-max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.cus-hero__logo {
    width: clamp(160px, 22vw, 220px);
    height: auto;
}

.cus-hero__heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #fff;
    margin: 0;
}

/* ============================================================
   TAGLINE STRIP
============================================================ */
.cus-tagline {
    background: var(--fg-green-light);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.cus-tagline__inner {
    max-width: 800px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
    text-align: center;
}

.cus-tagline__text {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--fg-green-deeper);
    margin: 0;
}

/* ============================================================
   OFFICE LOCATIONS
============================================================ */
.cus-offices {
    padding-block: clamp(3rem, 7vw, 5rem);
}

.cus-offices__grid {
    max-width: var(--fg-max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cus-office-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--fg-off-white);
    border-radius: var(--fg-radius-md);
}

.cus-office-card__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.cus-office-card__heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--fg-green-deeper);
    margin: 0 0 0.5em;
}

.cus-office-card__address {
    font-size: 0.95rem;
    margin: 0 0 0.75em;
}

.cus-office-card__phone {
    font-size: 0.95rem;
    margin: 0;
}

.cus-office-card__phone a {
    color: var(--fg-green);
    font-weight: 600;
    text-decoration: none;
}

.cus-office-card__phone a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .cus-offices__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cus-offices__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   REQUEST A DEMO FORM SECTION
   The form itself reuses .hm-form-* classes/styles from css/home.css.
   Only section placement/layout is defined here.
============================================================ */
.cus-form-section {
    background: var(--fg-off-white);
    padding-block: clamp(3rem, 7vw, 5rem);
}

.cus-form-section__inner {
    max-width: 760px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}
