/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb__sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb__current { color: var(--text); font-weight: 600; }

/* Service Hero */
.service-hero {
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.service-hero--kurtene { background: linear-gradient(135deg, #1e3a5f 0%, #1a1a2e 100%); }
.service-hero--chistene { background: linear-gradient(135deg, #065f46 0%, #1a1a2e 100%); }
.service-hero--izvozvane { background: linear-gradient(135deg, #7c2d12 0%, #1a1a2e 100%); }

.service-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.service-hero__content { flex: 1; color: #fff; }

.service-hero__tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.service-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.service-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
}

.service-hero__trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.service-hero__trust span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.service-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* What's included section */
.service-details {
    padding: 64px 0;
}

.service-details__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.service-details__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.service-details__item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 8px;
    font-size: 1.1rem;
}

.service-details__item-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.service-details__item-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-section {
    padding: 64px 0;
    background: var(--bg-gray);
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.calculator__title {
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.calc-group {
    margin-bottom: 20px;
}

.calc-group__label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.calc-group__slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-group__slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    outline: none;
}

.calc-group__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
    transition: transform 0.15s;
}
.calc-group__slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.calc-group__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.calc-group__number {
    width: 80px;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.calc-group__number:focus { border-color: var(--blue); }

.calc-group__unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.calc-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-gray);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.calc-group select:focus { border-color: var(--blue); }

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.calc-checkbox:hover { border-color: var(--blue); }
.calc-checkbox.checked {
    border-color: var(--blue);
    background: var(--blue-light);
}

.calc-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    cursor: pointer;
}

.calc-checkbox__text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.calc-checkbox__price {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Container sub-selector */
.calc-sub {
    display: none;
    padding: 12px 16px;
    margin-top: -1px;
    background: var(--blue-light);
    border: 1.5px solid var(--blue);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.calc-sub.visible { display: block; }

.calc-sub label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.calc-sub input[type="radio"] {
    accent-color: var(--blue);
}

/* Result */
.calc-result {
    margin-top: 28px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
    transition: transform 0.3s;
}

.calc-result.pulse {
    animation: calcPulse 0.4s ease;
}

@keyframes calcPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.calc-result__label {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 4px;
}

.calc-result__price {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.calc-result__note {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: 8px;
}

.calc-cta {
    margin-top: 20px;
    text-align: center;
}

/* ============================================
   FAQ ACCORDION (pure CSS)
   ============================================ */
.faq-section {
    padding: 64px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-item__toggle {
    display: none;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}
.faq-item__question:hover { background: var(--bg-gray); }

.faq-item__icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item__toggle:checked ~ .faq-item__question .faq-item__icon {
    transform: rotate(45deg);
    color: var(--blue);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item__toggle:checked ~ .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer-inner {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
   RELATED SERVICES
   ============================================ */
.related-section {
    padding: 64px 0;
    background: var(--bg-gray);
}

.related-section .services__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   SERVICE CTA STRIP
   ============================================ */
.service-cta {
    padding: 48px 0;
}

.service-cta__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   SERVICE PAGE PRICING (single table)
   ============================================ */
.service-pricing {
    padding: 64px 0;
}

.service-pricing .pricing__table {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .service-hero h1 { font-size: 1.75rem; }
    .service-hero__inner { flex-direction: column; }
    .service-details__grid { grid-template-columns: 1fr; }
    .calculator { padding: 24px 20px; }
    .calc-result__price { font-size: 1.5rem; }
    .related-section .services__grid { grid-template-columns: 1fr; }
    .service-cta__inner { flex-direction: column; }
    .service-cta__inner .btn { width: 100%; justify-content: center; }
}
