/* Online payment page (resources/views/home/online_payment.blade.php) */

.op-page {
    --op-red: #93241f;
    --op-gold: #e2b66e;
    --op-ink: #1d1716;
    --op-muted: #5f5651;
    --op-cream: #faf6f0;
    --op-line: #ece4dc;
    color: var(--op-ink);
    background: #fff;
    font-family: 'r-montserrat', Arial, sans-serif;
    overflow-x: hidden;
}

.op-page *,
.op-page *::before,
.op-page *::after {
    box-sizing: border-box;
}

.op-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.op-container--narrow {
    max-width: 860px;
}

/* Hero */
.op-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .38) 100%),
        url("../../front/images/home/home-hero-poster.webp") center / cover no-repeat;
}

.op-hero__content {
    max-width: 820px;
    animation: op-fade-up .8s ease-out;
}

.op-hero__subtitle {
    margin: 0 0 16px;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--op-gold);
}

.op-hero .op-hero__title {
    margin: 0 0 20px;
    font-family: 'r-playfair-display', "Playfair Display", Georgia, serif;
    font-size: 56px;
    line-height: 1.15;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, .5);
}

.op-hero__intro {
    margin: 0 auto 32px;
    max-width: 680px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
}

@keyframes op-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.op-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 32px 0 0;
    padding: 0;
    font-size: 13px;
    list-style: none;
    color: rgba(255, 255, 255, .75);
}

.op-breadcrumb li + li::before {
    content: "/";
    margin: 0 8px;
}

.op-breadcrumb a {
    color: #fff;
}

/* Buttons */
.op-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: 'm-montserrat', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}

.op-btn:hover,
.op-btn:focus {
    text-decoration: none;
}

.op-btn--light {
    background: #fff;
    color: var(--op-ink);
}

.op-btn--light:hover,
.op-btn--light:focus {
    background: var(--op-gold);
    color: var(--op-ink);
}

.op-btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.op-btn--whatsapp:hover,
.op-btn--whatsapp:focus {
    background: #1ebe5a;
    color: #fff;
}

/* Sections */
.op-section {
    padding: 80px 0;
}

.op-section--alt {
    background: var(--op-cream);
}

.op-kicker {
    margin: 0 0 10px;
    text-align: center;
    font-family: 'm-montserrat', Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--op-red);
}

.op-page .op-title {
    margin: 0 0 48px;
    text-align: center;
    font-family: 'r-playfair-display', "Playfair Display", Georgia, serif;
    font-size: 36px;
    line-height: 1.25;
    color: var(--op-ink);
}

/* Cards */
.op-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.op-card {
    padding: 34px 28px;
    background: #fff;
    border: 1px solid var(--op-line);
    border-top: 3px solid var(--op-red);
    transition: transform .25s, box-shadow .25s;
}

.op-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(29, 23, 22, .08);
}

.op-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--op-cream);
}

.op-card__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--op-red);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.op-page .op-card__title {
    margin: 0 0 10px;
    font-family: 'b-montserrat', Arial, sans-serif;
    font-size: 18px;
    color: var(--op-ink);
}

.op-card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--op-muted);
}

/* Steps */
.op-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.op-step {
    position: relative;
    padding: 30px 28px;
    background: #fff;
    border: 1px solid var(--op-line);
}

.op-step__number {
    display: block;
    margin-bottom: 14px;
    font-family: 'r-playfair-display', "Playfair Display", Georgia, serif;
    font-size: 44px;
    line-height: 1;
    color: var(--op-gold);
}

.op-page .op-step__title {
    margin: 0 0 10px;
    font-family: 'b-montserrat', Arial, sans-serif;
    font-size: 18px;
    color: var(--op-ink);
}

.op-step__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--op-muted);
}

/* Accepted cards */
.op-cards-accepted {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--op-muted);
}

.op-card-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 58px;
    padding: 0 10px;
    border: 1px solid var(--op-line);
    border-radius: 4px;
    background: #fff;
}

.op-card-logo--visa {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0;
    color: #1a1f71;
}

.op-card-logo--mc i {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #eb001b;
}

.op-card-logo--mc i + i {
    margin-left: -8px;
    background: rgba(247, 158, 27, .9);
}

/* FAQ */
.op-faq__item {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--op-line);
}

.op-faq__question {
    position: relative;
    padding: 20px 56px 20px 24px;
    font-family: 'm-montserrat', Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
}

.op-faq__question::-webkit-details-marker {
    display: none;
}

.op-faq__question::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--op-red);
}

.op-faq__item[open] .op-faq__question::after {
    content: "\2212";
}

.op-faq__question:focus-visible {
    outline: 2px solid var(--op-red);
    outline-offset: -2px;
}

.op-faq__answer {
    margin: 0;
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--op-muted);
}

/* Contact band */
.op-contact {
    padding: 70px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1d1716 0%, var(--op-red) 100%);
}

.op-page .op-contact__title {
    margin: 0 0 12px;
    font-family: 'r-playfair-display', "Playfair Display", Georgia, serif;
    font-size: 34px;
    color: #fff;
}

.op-contact__text {
    margin: 0 0 28px;
    font-size: 16px;
    color: rgba(255, 255, 255, .85);
}

/* Responsive */
@media (max-width: 991px) {
    .op-grid,
    .op-steps {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .op-hero {
        min-height: 480px;
        padding: 60px 16px 48px;
    }

    .op-hero .op-hero__title {
        font-size: 38px;
    }

    .op-hero__intro {
        font-size: 15px;
    }

    .op-section {
        padding: 56px 0;
    }

    .op-page .op-title {
        margin-bottom: 32px;
        font-size: 28px;
    }

    .op-container {
        padding: 0 16px;
    }

    .op-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .op-hero__content,
    .op-card {
        animation: none;
        transition: none;
    }
}
