.page-services .services-hero {
    grid-template-columns: 1fr;
    padding-block: clamp(34px, 5vw, 58px) clamp(12px, 2vw, 22px);
}

.page-services .services-copy {
    max-width: 52rem;
    gap: 1.2rem;
}

.page-services .section-services-immediate--top {
    padding-top: clamp(10px, 2vw, 20px);
    padding-bottom: var(--section-space);
}

.page-services .service-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 28px);
    align-items: stretch;
}

.page-services .service-plan,
.page-services .service-plan--full {
    grid-column: auto;
}

.page-services .service-plan {
    --plan-accent: rgba(228, 198, 132, 0.16);
    --plan-accent-strong: #e4c684;
    --plan-panel: rgba(255, 255, 255, 0.028);
    --plan-panel-strong: rgba(255, 255, 255, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(228, 198, 132, 0.12);
    background: linear-gradient(180deg, rgba(10, 13, 19, 0.98), rgba(7, 10, 15, 0.98));
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.page-services .service-plan::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(228, 198, 132, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
}

.page-services .service-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(228, 198, 132, 0.24);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(228, 198, 132, 0.08);
}

.page-services .service-plan__visual {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid rgba(228, 198, 132, 0.1);
    background: linear-gradient(180deg, #07090d 0%, #0b0f15 100%);
}

.page-services .service-plan__visual::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 12, 0.16) 46%, rgba(6, 8, 12, 0.42) 100%);
    pointer-events: none;
}

.page-services .service-plan__visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.page-services .service-plan__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 auto;
    padding: clamp(20px, 2.2vw, 26px);
}

.page-services .service-plan__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.page-services .service-plan__eyebrow,
.page-services .service-plan__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(228, 198, 132, 0.14);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    font-weight: 700;
}

.page-services .service-plan__eyebrow {
    color: var(--accent-strong);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-services .service-plan__badge {
    min-width: 3.1rem;
    padding-inline: 0.95rem;
    color: var(--accent-strong);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.page-services .service-plan__header {
    display: grid;
    gap: 0.55rem;
}

.page-services .service-plan__title {
    margin: 0;
    font-size: clamp(1.36rem, 1.7vw, 1.72rem);
    line-height: 1.04;
}

.page-services .service-plan__focus {
    margin: 0;
    color: var(--accent-strong);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.page-services .service-plan__description {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.page-services .service-plan__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.page-services .service-plan__meta > div,
.page-services .service-plan__ideal-card,
.page-services .service-plan__feature-block {
    min-width: 0;
    border-radius: 20px;
    border: 1px solid rgba(228, 198, 132, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018));
}

.page-services .service-plan__meta > div {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
}

.page-services .service-plan__meta span,
.page-services .service-plan__section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-services .service-plan__meta span {
    padding: 0;
    border: 0;
    background: transparent;
}

.page-services .service-plan__meta strong {
    font-size: 0.98rem;
    line-height: 1.45;
}

.page-services .service-plan__ideal-card,
.page-services .service-plan__feature-block {
    padding: 1rem;
}

.page-services .service-plan__ideal {
    margin: 0.5rem 0 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.page-services .service-plan__features {
    display: grid;
    gap: 0.72rem;
    margin-top: 0.75rem;
}

.page-services .service-plan__features li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.018);
    line-height: 1.58;
}

.page-services .service-plan__features li::before {
    content: none;
}

.page-services .service-plan__features li .tan-icon {
    margin-top: 0.08rem;
    color: var(--accent-strong);
    flex: 0 0 auto;
}

.page-services .service-plan__footer {
    display: flex;
    margin-top: auto;
    padding-top: 0.15rem;
}

.page-services .service-plan__cta {
    width: 100%;
    min-height: 3.3rem;
    justify-content: center;
}

.page-services .service-plan--simple {
    --plan-accent-strong: #ead9ab;
}

.page-services .service-plan--pro {
    --plan-accent-strong: #f0ddaf;
}

.page-services .service-plan--ultra {
    --plan-accent-strong: #f3e3bb;
}

.page-services .service-plan--discord {
    --plan-accent-strong: #f7edd0;
}

.page-services .service-plan--simple .service-plan__eyebrow,
.page-services .service-plan--simple .service-plan__badge {
    border-color: rgba(228, 198, 132, 0.14);
}

.page-services .service-plan--pro .service-plan__eyebrow,
.page-services .service-plan--pro .service-plan__badge {
    border-color: rgba(240, 221, 175, 0.16);
}

.page-services .service-plan--ultra .service-plan__eyebrow,
.page-services .service-plan--ultra .service-plan__badge {
    border-color: rgba(244, 228, 189, 0.18);
}

.page-services .service-plan--discord .service-plan__eyebrow,
.page-services .service-plan--discord .service-plan__badge {
    border-color: rgba(247, 237, 208, 0.18);
}

body.is-modal-open {
    overflow: hidden;
}

.page-services .service-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
}

.page-services .service-quote-modal[hidden] {
    display: none !important;
}

.page-services .service-quote-modal__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 5, 10, 0.76);
    backdrop-filter: blur(8px);
}

.page-services .service-quote-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(780px, calc(100vw - 32px));
    max-height: min(92dvh, 980px);
    overflow: auto;
    padding: clamp(22px, 2.6vw, 30px);
    overscroll-behavior: contain;
}

.page-services .service-quote-modal__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.page-services .service-quote-modal__top > div {
    display: grid;
    gap: 0.65rem;
}

.page-services .service-quote-modal__close {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(228, 198, 132, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.page-services .service-quote-modal__summary-grid,
.page-services .service-quote-form,
.page-services .service-quote-form__grid,
.page-services .service-quote-form__field {
    display: grid;
    gap: 1rem;
}

.page-services .service-quote-modal__summary-grid,
.page-services .service-quote-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-services .service-quote-modal__summary {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(228, 198, 132, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.02));
}

.page-services .service-quote-modal__summary strong {
    display: block;
    margin-top: 0.45rem;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.2;
}

.page-services .service-quote-modal__summary-label,
.page-services .service-quote-form .field-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-strong);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-services .service-quote-form .field-hint {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.52;
}

.page-services .service-quote-form .field-control {
    min-height: 3.35rem;
    padding-inline: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(228, 198, 132, 0.12);
    background: rgba(6, 9, 14, 0.96);
    color: var(--text);
}

.page-services .service-quote-form .field-textarea {
    min-height: 10.5rem;
    padding: 1rem;
    resize: vertical;
}

.page-services .service-quote-form__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
    padding-top: 0.25rem;
}

.page-services .service-quote-form__actions .btn {
    min-width: 12rem;
}

@media (max-width: 1023px) {
    .page-services .service-plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-services .service-plan__content {
        padding: 1rem;
        gap: 0.9rem;
    }

    .page-services .service-plan__title {
        font-size: 1.26rem;
    }

    .page-services .service-plan__meta,
    .page-services .service-quote-modal__summary-grid,
    .page-services .service-quote-form__grid {
        grid-template-columns: 1fr;
    }

    .page-services .service-quote-modal {
        padding: 10px;
    }

    .page-services .service-quote-modal__dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 1rem;
    }

    .page-services .service-quote-form__actions {
        justify-content: stretch;
    }

    .page-services .service-quote-form__actions .btn {
        width: 100%;
        min-width: 0;
    }
}
