* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color, #0b0e14);
    color: var(--text-primary, #ffffff);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: #050505;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.service-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.service-link:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 34, 0.45);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 0, 34, 0.12);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent, #ff0022);
    letter-spacing: 0.4px;
    transition: transform 0.25s ease;
}

.service-link:hover .service-card-cta {
    transform: translateX(4px);
}

@keyframes servicePageReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-page-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 40px 80px;
    font-family: 'Outfit', sans-serif;
    animation: servicePageReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary, #a0a0a0);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 28px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-back-link:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.service-hero {
    margin-bottom: 56px;
}

.service-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent, #ff0022);
    font-weight: 600;
    margin-bottom: 12px;
}

.service-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #e4e4e4;
    font-weight: 500;
    margin-bottom: 14px;
}

.service-description {
    max-width: 720px;
    color: var(--text-secondary, #a0a0a0);
    line-height: 1.7;
    font-size: 1rem;
}

.service-block {
    margin-bottom: 68px;
}

.service-block-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 28px;
    color: #ffffff;
}

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

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.pricing-card.is-featured {
    border-color: rgba(255, 0, 34, 0.55);
    background: linear-gradient(180deg, rgba(255, 0, 34, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.pricing-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 0, 34, 0.2);
    color: #ff4d66;
    margin-bottom: 14px;
}

.pricing-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-secondary, #a0a0a0);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 26px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.93rem;
    color: #d4d4d4;
    line-height: 1.5;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent, #ff0022);
    font-weight: 700;
}

.pricing-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.service-empty-wrap {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.quote-trigger-inline {
    width: auto;
    padding: 12px 24px;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    overscroll-behavior: contain;
    transition: opacity 0.25s ease;
}

.quote-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 11, 0.82);
    backdrop-filter: blur(8px);
    touch-action: none;
}

.quote-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #10141d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.quote-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    border: none;
    color: #a0a0a0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.quote-modal-close:hover {
    color: #ffffff;
}

.quote-modal-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #ff0022);
    font-weight: 700;
    margin-bottom: 6px;
}

.quote-modal-dialog h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.quote-modal-package {
    font-size: 0.92rem;
    color: #c8c8c8;
    margin-bottom: 20px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-field span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d4d4d4;
}

.quote-field input,
.quote-field textarea,
.quote-select,
.quote-phone-prefix {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.quote-select option,
.quote-phone-prefix option {
    background: #10141d;
    color: #ffffff;
}

.quote-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quote-phone-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
}

.quote-doc-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
}

.country-dropdown {
    position: relative;
}

.country-trigger {
    width: 100%;
    height: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    cursor: pointer;
}

.country-trigger-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.country-flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.country-caret {
    font-size: 0.75rem;
    color: #9aa3b2;
}

.country-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 245px;
    max-height: 220px;
    overflow-y: auto;
    background: #141923;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
    z-index: 20;
}

.country-option {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #f0f0f0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    cursor: pointer;
}

.country-option:hover {
    background: rgba(255, 0, 34, 0.18);
}

.country-opt-code {
    font-weight: 700;
    min-width: 44px;
}

.country-opt-name {
    color: #9aa3b2;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-field input:focus,
.quote-field textarea:focus,
.quote-select:focus,
.quote-phone-prefix:focus {
    border-color: var(--accent, #ff0022);
}

@media (max-width: 520px) {
    .quote-grid-2,
    .quote-phone-row {
        grid-template-columns: 1fr;
    }
}

.quote-error-msg {
    font-size: 0.88rem;
    color: #ff6b7d;
}

.quote-submit-btn {
    margin-top: 6px;
    padding: 13px 20px;
    border-radius: 999px;
    border: none;
    background: var(--accent, #ff0022);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.quote-submit-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
}

.quote-submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.quote-success-view {
    text-align: center;
    padding: 18px 8px;
}

.quote-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    font-size: 28px;
    line-height: 54px;
    font-weight: 800;
}

.quote-success-view p {
    color: #c8c8c8;
    line-height: 1.6;
    margin: 12px 0 22px;
}

.pricing-cta:hover,
.pricing-card.is-featured .pricing-cta {
    background: var(--accent, #ff0022);
    border-color: var(--accent, #ff0022);
}

.service-works-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-work-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
}

.service-work-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.service-work-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-work-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent, #ff0022);
    font-weight: 600;
}

.service-work-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.service-work-desc {
    font-size: 0.93rem;
    color: var(--text-secondary, #a0a0a0);
    line-height: 1.6;
}

.service-work-link {
    margin-top: 8px;
    align-self: flex-start;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.service-work-link:hover {
    color: var(--accent, #ff0022);
    border-color: var(--accent, #ff0022);
}

.service-empty-note {
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
    line-height: 1.6;
    grid-column: 1 / -1;
}

.service-fixed-note {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .service-page-main {
        padding: 120px 20px 60px;
    }

    .pricing-grid,
    .service-works-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-page-main,
    .page-transition-overlay {
        animation: none !important;
        transition: none !important;
    }
}
