/* Auto Glass World - Coming soon (partials/agw-coming-soon.php): navy hero + quote form on empty pages. */
.agw-soon {
    position: relative;
    isolation: isolate;
    display: flex;
    overflow: hidden;
    min-height: max(640px, 100svh);
    padding-top: 90px; /* the header sits over the top */
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(38, 80, 188, 0.45) 0%, rgba(38, 80, 188, 0) 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(169, 198, 240, 0.12) 0%, rgba(169, 198, 240, 0) 70%),
        var(--agw-color-navy);
    color: var(--agw-color-paper);
}

.agw-soon-body {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) 420px;
    column-gap: clamp(32px, 4vw, 64px);
    align-items: center;
    padding-top: clamp(20px, 4vh, 48px);
    padding-bottom: clamp(40px, 6vh, 72px);
}

.agw-soon-eyebrow {
    margin-bottom: var(--agw-label-gap);
    color: var(--agw-color-sky);
}

.agw-soon .agw-soon-title {
    margin: 0;
    color: var(--agw-color-paper);
    font-size: var(--agw-fs-h1);
    line-height: 0.92;
    overflow-wrap: anywhere;
}

.agw-soon-title em {
    color: var(--agw-color-sky);
    font-style: italic;
}

/* Thin line with a light segment running along it ("in progress"). transform only. */
.agw-soon-bar {
    position: relative;
    overflow: hidden;
    max-width: 420px;
    height: 2px;
    margin-top: clamp(28px, 4vh, 44px);
    background: var(--agw-film-line);
}

.agw-soon-bar span {
    position: absolute;
    inset: 0;
    width: 35%;
    background: var(--agw-color-sky);
    transform: translateX(-100%);
}

@media (prefers-reduced-motion: no-preference) {
    .agw-soon-bar span {
        animation: agw-soon-run 2.8s var(--agw-ease) infinite;
    }
}

@keyframes agw-soon-run {
    to {
        transform: translateX(300%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .agw-soon-bar span {
        transform: none;
    }
}

.agw-soon-text {
    max-width: 46ch;
    margin: 24px 0 0;
    color: var(--agw-film-muted);
    font-size: var(--agw-fs-lead);
    line-height: 1.53;
}

.agw-soon-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    align-items: center;
    margin-top: 32px;
}

/* Light link on navy (not .is-dark: that would also turn the form's title light). */
.agw-soon .agw-soon-home,
.agw-soon .agw-soon-home:hover {
    color: var(--agw-color-sky);
}

@media (max-width: 1199px) {
    .agw-soon {
        padding-top: 80px;
    }

    .agw-soon-body {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    }
}

@media (max-width: 991px) {
    .agw-soon {
        min-height: 0;
    }

    .agw-soon-body {
        grid-template-columns: minmax(0, 1fr);
        padding-top: clamp(40px, 8vw, 72px);
    }

    .agw-soon-form {
        margin-top: 48px;
    }
}

@media (max-width: 575px) {
    .agw-soon-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .agw-soon-home {
        justify-content: center;
    }
}

/* Large screens (1800px and up): the wider form, as in the home hero. */
@media (min-width: 1800px) {
    .agw-soon-body {
        grid-template-columns: minmax(0, 1fr) 520px;
    }
}
