/* =========================================================
   Ascot Graphics - Contact Us page CSS (prefix: acu-)
   ========================================================= */

/* ---------- Banner hero (chocolate, pill nav floats over) ---------- */
.acu-hero {
    position: relative;
    padding: clamp(9rem, 15vw, 12rem) 0 clamp(4rem, 7vw, 5.5rem);
    background:
        linear-gradient(180deg, var(--charcoal) 0%, #4A3529 100%);
    overflow: hidden;
    isolation: isolate;
}
.acu-hero__decor {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
}
.acu-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}
.acu-hero__eyebrow {
    color: var(--brand);
}
.acu-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin: 0.75rem 0 1.25rem;
}
.acu-hero__title::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    background: var(--brand);
    margin-top: 1.5rem;
    border-radius: 2px;
}
.acu-hero__lead {
    color: var(--on-charcoal);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 62ch;
    margin: 0;
}

/* ---------- Body: split details + form ---------- */
.acu-body {
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.acu-body__inner {
    /* Two-column grid: sticky details (left) + form (right). Replaces the old
       position: fixed sidebar, which floated over the footer and other sections
       and drifted as the viewport changed. */
    display: grid;
    grid-template-columns: clamp(300px, 34%, 380px) 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
}

/* ---------- Details card (fixed on desktop) ---------- */
.acu-details {
    /* Sticky within its grid column - stays in view beside the tall form, but
       is contained by the column so it can't float over other sections. */
    position: sticky;
    top: 2rem;
    align-self: start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background: var(--white);
    border: 0.5px solid var(--grey-line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}
.acu-details__title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    margin: 0.5rem 0 0.75rem;
    line-height: 1.2;
}
.acu-details__lead {
    color: var(--muted);
    margin-bottom: 1.75rem;
    line-height: 1.55;
}
.acu-details__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.acu-details__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.acu-details__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.acu-details__label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
    font-weight: 500;
}
.acu-details__value {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 1.02rem;
    text-decoration: none;
    line-height: 1.35;
    display: block;
    transition: color 0.2s var(--ease);
}
a.acu-details__value:hover {
    color: var(--brand);
}
.acu-details__coverage {
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--grey-line);
}
.acu-details__coverage-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
    font-weight: 500;
}
.acu-details__coverage-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.acu-details__coverage-list li {
    background: var(--tint);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    color: var(--charcoal);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---------- Form ---------- */
.acu-form-wrap {
    min-width: 0;
    background:
        linear-gradient(180deg, var(--charcoal) 0%, #4A3529 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 3.5vw, 3rem);
    position: relative;
    overflow: hidden;
}
.acu-form-wrap::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
}
.acu-form-wrap > * {
    position: relative;
    z-index: 1;
}
.acu-form-wrap .section__eyebrow {
    color: var(--brand);
}
.acu-form__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0.5rem 0 0.75rem;
    line-height: 1.2;
    color: var(--white);
}
.acu-form__lead {
    color: var(--on-charcoal);
    margin-bottom: 2rem;
    line-height: 1.55;
    max-width: 60ch;
}
.acu-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}
.acu-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
}
.acu-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}
.acu-form__field label {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.acu-form__required {
    color: var(--brand);
    margin-left: 0.15rem;
}
.acu-form__field input,
.acu-form__field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.acu-form__field textarea {
    resize: none;
    min-height: 140px;
    line-height: 1.55;
}
.acu-form__field input::placeholder,
.acu-form__field textarea::placeholder {
    color: var(--muted);
    opacity: 0.65;
}
.acu-form__field input:hover,
.acu-form__field textarea:hover {
    border-color: rgba(255, 255, 255, 0.35);
}
.acu-form__field input:focus,
.acu-form__field textarea:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.35);
}
.acu-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 0.5rem;
}
.acu-form__privacy {
    color: var(--on-charcoal);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}
.acu-form__privacy a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.acu-form__privacy a:hover { color: var(--brand); }

/* ---------- Response note card (contained, not full-bleed) ---------- */
.acu-response-strip {
    padding-block: 0 clamp(3.5rem, 7vw, 5.5rem);
}
.acu-response-strip__inner {
    background: var(--tint);
    border: 0.5px solid var(--grey-line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.acu-response-strip__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.acu-response-strip__item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.acu-response-strip__title {
    font-family: var(--font-head);
    color: var(--charcoal);
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.acu-response-strip__body {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .acu-body__inner {
        grid-template-columns: 1fr;
    }
    .acu-form-wrap {
        order: -1;   /* form first on mobile, contact methods below */
    }
    .acu-details {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
    }
    .acu-form__field textarea {
        min-height: 220px;   /* taller message box on mobile */
    }
    .acu-response-strip__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .acu-form__row {
        grid-template-columns: 1fr;
    }
    .acu-form__actions .btn {
        width: 100%;
    }
    .acu-form__privacy {
        text-align: center;
    }
}
