/* =====================================
   SHOAIBECOM — CONTACT PAGE
   (needs css/common.css loaded first;
   the form itself is styled in common.css)
===================================== */

.page-hero {
    padding-bottom: 70px;
}

.contact-v2 {
    padding: 20px 0 120px;
}

/* the form card gets a soft highlight when the page is opened with ?service= */
.contact-form-v2.is-prefilled {
    animation: formGlow 1.6s var(--ease) 1;
}

@keyframes formGlow {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wine) 35%, transparent); }
    100% { box-shadow: 0 0 0 22px color-mix(in srgb, var(--wine) 0%, transparent); }
}

/* WHAT HAPPENS NEXT */

.next {
    padding: 120px 0;
    background: var(--paper-2);
}

.next .section-heading {
    margin-bottom: 70px;
}

.next-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.next-line {
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 28px;
    height: 2px;
    background: var(--line);
}

.next-line i {
    position: absolute;
    inset: 0;
    background: var(--wine);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.6s var(--ease);
}

.next-grid.is-running .next-line i {
    transform: scaleX(1);
}

.next-step {
    position: relative;
    text-align: center;
}

.next-num {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--wine) 30%, transparent);
    color: var(--wine);
    font: 800 14px var(--display);
    transition: background .4s, color .4s, border-color .4s;
}

.next-grid.is-running .next-num {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
}

.next-grid.is-running .next-step:nth-of-type(2) .next-num { transition-delay: .4s; }
.next-grid.is-running .next-step:nth-of-type(3) .next-num { transition-delay: .8s; }
.next-grid.is-running .next-step:nth-of-type(4) .next-num { transition-delay: 1.2s; }

.next-step h3 {
    font: 700 20px var(--display);
    letter-spacing: -.5px;
    margin: 0 0 8px;
}

.next-step p {
    max-width: 230px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

/* INFO STRIP */

.info-strip {
    background: var(--wine);
    color: #fff;
    padding: 46px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.info-item + .info-item {
    border-left: 1px solid rgba(255, 255, 255, .16);
    padding-left: 30px;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--paper);
    color: var(--wine);
    font-size: 20px;
}

.info-item small {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--rose-light);
    margin-bottom: 4px;
}

.info-item b {
    display: block;
    font: 700 16px var(--display);
    overflow-wrap: anywhere;
}

.info-item span:not(.info-icon) {
    display: block;
    font-size: 11px;
    color: var(--rose-pale);
    margin-top: 2px;
}

/* MINI FAQ */

.contact-faq {
    padding: 120px 0 140px;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 90px;
    align-items: start;
}

.contact-faq .section-intro {
    margin-top: 22px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .next-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 50px;
    }

    .next-line {
        display: none;
    }

    .next-num {
        background: var(--wine);
        border-color: var(--wine);
        color: #fff;
    }

    .info-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .info-item + .info-item {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
        padding-top: 26px;
    }

    .contact-faq-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .contact-v2 {
        padding: 0 0 80px;
    }

    .next,
    .contact-faq {
        padding: 90px 0;
    }

    .next-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 40px;
    }
}
