/* uslugi.css — AKKULA Услуги */

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
    padding: 100px var(--hero-pad, clamp(40px, 6vw, 140px)) 0;
    max-width: 1920px;
    margin: 0 auto;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumbs a {
    color: var(--brand-dark);
    text-decoration: none;
    transition: opacity 0.3s;
}
.breadcrumbs a:hover { opacity: 0.6; }
.breadcrumbs span { margin: 0 8px; color: var(--text-muted); }

/* ============ HERO-SERVICES ============ */
.hero-services {
    padding: 60px var(--hero-pad, clamp(40px, 6vw, 140px)) 80px;
    max-width: 1920px;
    margin: 0 auto;
    text-align: center;
}

.hero-services h1 {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.hero-services p {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ SERVICES GRID ============ */
.services-grid-section {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--card-bg);
    max-width: 1920px;
    margin: 0 auto;
}

.services-grid-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(75, 28, 79, 0.08);
    border-color: rgba(75, 28, 79, 0.15);
}

.service-card .card-num {
    font-family: 'El Messiri', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(75, 28, 79, 0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: 'El Messiri', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ CALCULATOR (WOW ELEMENT) ============ */
.calculator-section {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--bg-light);
    max-width: 1920px;
    margin: 0 auto;
}

.calculator-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 50px;
}

.calc-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(75, 28, 79, 0.06);
}

.calc-controls {
    padding: 48px 40px;
}

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

.calc-group label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.calc-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--brand-dark);
    background: var(--bg-light);
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s;
}
.calc-select:focus {
    outline: none;
    border-color: var(--brand-purple);
}

.calc-range {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(0,0,0,0.08);
    outline: none;
    margin-top: 8px;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-purple);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(75, 28, 79, 0.3);
}
.calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-purple);
    cursor: pointer;
    border: none;
}

.range-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}
.range-info .range-val {
    font-weight: 700;
    color: var(--brand-dark);
}

.calc-result {
    padding: 48px 40px;
    background: var(--brand-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.calc-result::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -40%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(75, 28, 79, 0.3) 0%, transparent 60%);
    animation: calcGlow 15s linear infinite;
}
@keyframes calcGlow {
    0%,100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.result-val {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    z-index: 1;
}

.result-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    z-index: 1;
    margin-bottom: 30px;
    line-height: 1.5;
}

.calc-lead-form {
    z-index: 1;
    width: 100%;
}

.calc-lead-form input[type="text"],
.calc-lead-form input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.calc-lead-form input::placeholder {
    color: rgba(255,255,255,0.35);
}
.calc-lead-form input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
}

.contact-choice {
    width: 100%;
    margin: 4px 0 14px;
}

.contact-choice-title {
    display: block;
    margin: 0 0 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-choice-dark .contact-choice-title {
    color: rgba(255,255,255,0.58);
}

.contact-choice-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.contact-choice label {
    min-width: 0;
    cursor: pointer;
}

.contact-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-choice label span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 6px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.72);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-choice input:checked + span {
    border-color: #fff;
    background: #fff;
    color: var(--brand-dark);
}

.contact-choice input:focus-visible + span {
    outline: 2px solid rgba(255,255,255,0.45);
    outline-offset: 2px;
}

.calc-lead-form .consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}
.calc-lead-form .consent-row label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
    cursor: pointer;
}
.calc-lead-form .consent-row input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--brand-purple);
}

.calc-form-error {
    min-height: 18px;
    margin: -4px 0 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #ffb5b5;
}

.calc-cta {
    width: 100%;
    padding: 16px;
    background: #fff;
    color: var(--brand-dark);
    border: none;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.calc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.calc-form-note {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255,255,255,0.44);
}

@media (max-width: 420px) {
    .contact-choice-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============ COST ANATOMY (RECEIPT) ============ */
.cost-anatomy-section {
    padding: 100px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--brand-dark);
    position: relative;
    overflow: hidden;
}
.cost-anatomy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(75, 28, 79, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.anatomy-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.anatomy-header {
    text-align: center;
    margin-bottom: 70px;
}

.anatomy-header h2 {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: #fff;
    margin-bottom: 16px;
}

.anatomy-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.anatomy-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.anatomy-hero-img {
    position: sticky;
    top: 110px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.anatomy-hero-img img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
}
.anatomy-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}
.anatomy-hero-overlay span {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
}

/* Receipt items */
.anatomy-receipt {
    display: flex;
    flex-direction: column;
}

.receipt-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: default;
    position: relative;
}
.receipt-item::before {
    content: '';
    position: absolute;
    left: -16px; right: -16px;
    top: 0; bottom: 0;
    background: rgba(255,255,255,0);
    border-radius: 4px;
    transition: background 0.4s;
    z-index: -1;
}
.receipt-item:hover::before { background: rgba(255,255,255,0.03); }
.receipt-item:hover { transform: translateX(6px); }

.receipt-num {
    font-family: 'El Messiri', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.2);
    font-weight: 600;
}
.receipt-item:hover .receipt-num { color: rgba(255,255,255,0.6); }

.receipt-info h4 {
    font-family: 'El Messiri', sans-serif;
    font-size: 17px;
    color: #fff;
    margin-bottom: 3px;
}
.receipt-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.5;
}
.receipt-item:hover .receipt-info p { color: rgba(255,255,255,0.6); }

.receipt-price {
    font-family: 'El Messiri', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
}
.receipt-item:hover .receipt-price { color: #fff; }

.receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0 0;
    margin-top: 10px;
    border-top: 2px solid rgba(255,255,255,0.15);
}
.receipt-total-label {
    font-family: 'El Messiri', sans-serif;
    font-size: 18px;
    color: rgba(255,255,255,0.6);
}
.receipt-total-value {
    font-family: 'El Messiri', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.anatomy-footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}
.anatomy-footer strong { color: #fff; }
.anatomy-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 32px;
    background: #fff;
    color: var(--brand-dark);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.anatomy-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

/* ============ PROCESS TIMELINE ============ */
.process-section {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--card-bg);
    max-width: 1920px;
    margin: 0 auto;
}

.process-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 60px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    gap: 16px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-purple), rgba(75,28,79,0.15));
    z-index: 0;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 160px;
}

.timeline-dot {
    width: 56px;
    height: 56px;
    background: var(--card-bg);
    border: 2px solid var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'El Messiri', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-purple);
    transition: all 0.3s;
}
.timeline-item:hover .timeline-dot {
    background: var(--brand-purple);
    color: #fff;
}

.timeline-item h4 {
    font-family: 'El Messiri', sans-serif;
    font-size: 17px;
    color: var(--brand-dark);
    margin-bottom: 8px;
}
.timeline-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
}

/* ============ PRE-FOOTER TG BANNER ============ */
.tg-banner {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-plum));
    text-align: center;
    color: #fff;
}
.tg-banner h2 {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 16px;
}
.tg-banner p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.tg-banner .tg-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: var(--brand-dark);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tg-banner .tg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .anatomy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .anatomy-hero-img {
        position: relative;
        top: 0;
        max-height: 400px;
    }
    .anatomy-hero-img img {
        aspect-ratio: auto;
        max-height: 400px;
    }
    .calc-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-result {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 90px 20px 0;
    }
    .hero-services {
        padding: 30px 20px 60px;
    }
    .services-grid-section,
    .calculator-section,
    .process-section {
        padding: 60px 20px;
    }
    .cost-anatomy-section {
        padding: 60px 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }
    .timeline::before { display: none; }
    .timeline-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
        min-width: unset;
        width: 100%;
    }
    .timeline-dot {
        margin: 0;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
    }
    .timeline-item p {
        margin: 0;
        max-width: none;
    }
    .receipt-item {
        grid-template-columns: 30px 1fr auto;
        gap: 12px;
    }
    .receipt-total-value { font-size: 24px; }
    .result-val {
        font-size: 36px;
        white-space: nowrap;
    }
    .calc-controls, .calc-result {
        padding: 28px 20px;
    }
    .tg-banner {
        padding: 60px 20px;
    }
}

/* ============ READ ALSO (BLOG CARDS) — shared across subpages ============ */
.read-also-section {
    padding: 80px clamp(20px, 4vw, 80px);
    background: #F9F9F9;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.read-also-section h2 {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #232323;
    margin-bottom: 40px;
    text-align: center;
}

.read-also-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.mini-blog-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.mini-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.mini-blog-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f9f9f9;
}

.mini-blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mini-blog-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #4B1C4F;
    margin-bottom: 8px;
    padding: 3px 8px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    width: fit-content;
}

.mini-blog-title {
    font-family: 'El Messiri', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #232323;
    margin-bottom: 12px;
    flex: 1;
}

.mini-blog-link {
    font-size: 12px;
    font-weight: 600;
    color: #4B1C4F;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .read-also-section {
        padding: 60px 20px;
    }
    .read-also-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .mini-blog-card {
        flex-direction: row;
    }
    .mini-blog-img {
        width: 120px;
        height: auto;
        min-height: 120px;
        flex-shrink: 0;
    }
    .mini-blog-content {
        padding: 16px;
    }
    .mini-blog-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .mini-blog-tag {
        font-size: 9px;
        padding: 2px 6px;
        margin-bottom: 6px;
    }
}
