/* =========================================
   Order Process Page Styles (How to Order)
   ========================================= */
.op-page {
    --op-ink: #101929;
    --op-navy: #3d4654;
    --op-navy-2: #2f3743;
    --op-blue: #3889ff;
    --op-green: #7bd10e;
    --op-green-dark: #58b61c;
    --op-coral: #ff7254;
    --op-cream: #fff8f0;
    --op-paper: #ffffff;
    --op-line: #b9df80;
    --op-yellow: #ffc20c;
    --op-shadow: 0 18px 45px rgba(32, 46, 64, .12);
    --op-radius: 22px;
    color: var(--op-ink);
    background: var(--op-cream);
    font-size: 16px;
}

.op-page * { box-sizing: border-box; }
.op-page img { display: block; max-width: 100%; }
.op-page button { font: inherit; }

.op-hero {
    min-height: 340px;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-top: 150px;
    padding-bottom: 40px;
    background-color: var(--bg-services);
    background-image: url('../assets/images/gallery-hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.op-hero-accent {
    position: absolute;
    right: 9%;
    bottom: 30px;
    width: 82px;
    display: grid;
    grid-template-columns: repeat(4, 8px);
    gap: 12px;
}
.op-hero-accent span { width: 7px; height: 7px; border-radius: 50%; background: var(--op-yellow); }

.op-hero-copy { padding: 0 0 70px; max-width: 760px; }
.op-eyebrow {
    margin: 0 0 12px;
    color: var(--op-yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
}
.op-hero-copy p {
    max-width: 660px;
    margin: 0;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 600;
    color: rgba(255,255,255,.84);
}

.op-quick-nav {
    position: relative;
    z-index: 5;
    width: min(920px, calc(100% - 40px));
    margin: -34px auto 60px;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    background: #fff;
    border: 1px solid #dce5d0;
    border-radius: 19px;
    box-shadow: var(--op-shadow);
}
.op-quick-nav a {
    min-width: 0;
    min-height: 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    color: #6d7887;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.3;
    transition: .2s ease;
}
.op-quick-nav a:hover, .op-quick-nav a.active { color: #fff; background: var(--op-blue); transform: translateY(-2px); }

.op-timeline { position: relative; padding: 20px 0 60px; }
.op-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 31px;
    width: 2px;
    background: linear-gradient(var(--op-green), var(--op-blue));
    opacity: .45;
}

.op-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 38px;
    scroll-margin-top: 100px;
}
.op-step:last-child { margin-bottom: 0; }
.op-step-no {
    position: sticky;
    top: 20px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--op-green);
    border: 6px solid var(--op-cream);
    border-radius: 50%;
    font: 900 22px/1 'Nunito', sans-serif;
    box-shadow: 0 0 0 2px var(--op-green);
    z-index: 2;
}
.op-step:nth-child(even) .op-step-no { background: var(--op-blue); box-shadow: 0 0 0 2px var(--op-blue); }

.op-step-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(260px, .92fr) minmax(300px, 1.08fr);
    background: var(--op-paper);
    border: 2px solid var(--op-line);
    border-radius: var(--op-radius);
    box-shadow: 0 10px 24px rgba(63, 75, 90, .07);
}
.op-step:nth-child(even) .op-step-card { border-color: #a9c8ff; }
.op-step-content { padding: 36px 34px; align-self: center; }
.op-step-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #5a6877;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.op-step h3 { margin-bottom: 16px; color: var(--op-blue); font-size: clamp(22px, 3vw, 30px); }
.op-step p { margin: 0; font-size: 14px; font-weight: 500; color: #556170; line-height: 1.6; }
.op-step strong { color: var(--op-ink); }

.op-tip {
    margin-top: 22px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 13px;
    color: #425125;
    background: #f1f9e5;
    font-size: 13px;
    font-weight: 700;
}
.op-tip i {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--op-green-dark);
    font-style: normal;
    font-size: 13px;
}

.op-screen {
    min-height: 280px;
    position: relative;
    overflow: hidden;
    background: #edf1f5;
    cursor: zoom-in;
    border: 0;
    padding: 0;
    width: 100%;
}
.op-screen::after {
    content: "Click to enlarge";
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(22, 29, 38, .78);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(4px);
    transition: .2s ease;
}
.op-screen:hover::after, .op-screen:focus-visible::after { opacity: 1; transform: none; }
.op-screen img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.op-screen:hover img { transform: scale(1.025); }
.op-screen.tall img { object-position: center 12%; }

.op-final-card { grid-template-columns: 1fr; }
.op-final-card .op-step-content { padding: 40px; }
.op-final-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.op-fake-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 22px; border-radius: 9px; color: #fff;
    background: var(--op-coral); font-weight: 900; letter-spacing: .05em; text-transform: uppercase; font-size: 13px;
}
.op-email-chip {
    display: inline-flex; align-items: center; gap: 9px; padding: 0 18px; min-height: 44px;
    border: 1px dashed #afbecc; border-radius: 9px; color: #536171; font-weight: 800; font-size: 13px;
}

.op-modal {
    width: min(1150px, calc(100% - 34px));
    max-height: 90vh;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.op-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.op-modal::backdrop { background: rgba(26, 33, 43, .82); }
.op-modal img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    margin: 0 auto;
}
.op-modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff;
    background: rgba(22, 29, 38, .86); cursor: pointer; font-size: 23px; font-weight: 800;
}
.op-modal-close:hover { background: var(--op-coral); }

@media (max-width: 780px) {
    .op-quick-nav { grid-template-columns: repeat(3, 1fr); margin-bottom: 40px; }
    .op-timeline::before { left: 24px; }
    .op-step { grid-template-columns: 50px 1fr; gap: 16px; margin-bottom: 26px; }
    .op-step-no { width: 50px; height: 50px; border-width: 5px; font-size: 18px; }
    .op-step-card { grid-template-columns: 1fr; }
    .op-step-content { padding: 26px 22px; }
    .op-screen { order: -1; min-height: 220px; max-height: 280px; }
    .op-screen img { min-height: 220px; }
}

@media (max-width: 480px) {
    .op-quick-nav {
        width: calc(100% - 24px);
        padding: 9px;
        gap: 6px;
        grid-template-columns: repeat(2, 1fr);
        margin-top: -24px;
    }
    .op-quick-nav a { min-height: 40px; font-size: 11px; }
    .op-timeline::before { display: none; }
    .op-step { grid-template-columns: 1fr; gap: 10px; }
    .op-step-no { position: relative; top: auto; margin-left: 16px; margin-bottom: -26px; }
    .op-step-card { padding-top: 20px; }
    .op-screen { max-height: 230px; }
}
