/* Services page — layout, navigation, sections, booking steps, FAQ accordion */

body.services-page-view {
    scroll-behavior: smooth;
}

.services-page-header {
    padding-top: 100px;
    padding-bottom: 0.5rem;
}

.services-page-header .section-title {
    margin-bottom: 0;
}

.services-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    min-width: 0;
}

/* Sticky in-page navigation */
.services-page-nav {
    position: sticky;
    top: 72px;
    z-index: 900;
    background: rgba(18, 18, 18, 0.96);
    border-bottom: 1px solid #2a2a2a;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.services-page-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 0;
}

.services-page-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.services-page-nav__link:hover,
.services-page-nav__link.is-active {
    color: var(--accent);
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.08);
}

/* Page sections */
.services-section {
    padding: 3.5rem 0;
    scroll-margin-top: 130px;
}

.services-section--calculator {
    background: linear-gradient(180deg, #0c0c0c 0%, #111 50%, #0c0c0c 100%);
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
}

.services-section--calculator .calculator-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    border-radius: 16px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.services-section__title {
    margin-bottom: 2rem;
}

.services-area-hint {
    font-size: 0.75rem;
    color: #666;
    margin: 0.5rem 0 0;
    text-align: center;
}

.city-selector-wrapper .city-select:not(select) {
    cursor: default;
    pointer-events: none;
}

/* Tiered packages grid — mobile-first */
.packages-grid--tiered {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width: 700px) {
    .packages-grid--tiered {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .packages-grid--tiered {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .packages-grid--tiered .package-card:nth-child(2) {
        transform: translateY(-6px);
        border-color: rgba(212, 175, 55, 0.45);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    }
}

/* How to Book — step indicator */
.booking-guide-section {
    max-width: none;
    margin: 0;
    padding: 3.5rem 0 4rem;
    scroll-margin-top: 130px;
}

.booking-guide-header {
    margin-bottom: 2rem;
}

.booking-steps {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.booking-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 12px;
}

.booking-step__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #121212;
    font-weight: 800;
    font-size: 1rem;
}

.booking-step__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.booking-step__text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 0.95rem;
}

.booking-step__connector {
    width: 2px;
    height: 1.25rem;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent), rgba(212, 175, 55, 0.2));
    border-radius: 2px;
}

@media (min-width: 768px) {
    .booking-steps {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }

    .booking-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 0;
    }

    .booking-step__connector {
        width: 2rem;
        height: auto;
        align-self: center;
        margin: 0;
        background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), var(--accent), rgba(212, 175, 55, 0.2));
    }
}

/* FAQ accordion */
.geo-faq-section--accordion {
    max-width: none;
    margin: 0;
    padding: 3.5rem 0 4.5rem;
    scroll-margin-top: 130px;
}

.geo-faq-list--accordion {
    gap: 0.65rem;
}

.geo-faq-item--accordion {
    padding: 0;
    border-left: none;
    overflow: hidden;
}

.geo-faq-item--accordion .geo-faq-item__question {
    margin: 0;
}

.geo-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.geo-faq-trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.geo-faq-trigger__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
}

.geo-faq-trigger__icon::before,
.geo-faq-trigger__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.geo-faq-trigger__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.geo-faq-trigger[aria-expanded="true"] .geo-faq-trigger__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.geo-faq-panel {
    padding: 0 1.25rem 1.15rem;
}

.geo-faq-panel p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.geo-faq-item--accordion.is-open {
    border-color: rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
    .services-page-header {
        padding-top: 88px;
    }

    .services-page-nav {
        top: 64px;
    }

    .services-section,
    .booking-guide-section,
    .geo-faq-section--accordion {
        scroll-margin-top: 118px;
    }

    .services-page-nav__inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .services-page-nav__inner::-webkit-scrollbar {
        display: none;
    }

    .services-page-nav__link {
        flex-shrink: 0;
    }
}
