/* ============================================================
   service-page.css — stiluri comune pentru paginile de servicii
   rogsm.com · v1
   ============================================================ */

/* ── Breadcrumb ── */
.breadcrumb-nav {
    background: var(--paper);
    border-bottom: 1px solid rgba(12, 24, 40, 0.08);
    padding: 0.75rem 0;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--ink-muted);
}

.breadcrumb li + li::before {
    content: "/";
    opacity: 0.4;
}

.breadcrumb a {
    color: var(--amber-deep);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Hero (service page variant) ── */
.sp-hero {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.sp-hero-shell {
    position: relative;
    z-index: 1;
}

.sp-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.sp-hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.sp-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(246, 241, 232, 0.7);
    border: 1px solid rgba(246, 241, 232, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    letter-spacing: 0.03em;
}

/* ── Section spacing ── */
.sp-section {
    scroll-margin-top: 5rem;
}

/* ── Services grid ── */
.sp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.sp-service-card {
    background: var(--paper);
    border: 1px solid rgba(12, 24, 40, 0.1);
    border-radius: 4px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sp-service-card:hover {
    box-shadow: 0 4px 20px rgba(12, 24, 40, 0.1);
    transform: translateY(-2px);
}

.sp-service-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--amber-deep);
    flex-shrink: 0;
}

.sp-service-icon svg {
    width: 100%;
    height: 100%;
}

.sp-service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.sp-service-card p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.sp-price {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin-top: auto;
}

.sp-price-note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

/* ── Brands grid ── */
.sp-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.sp-brand {
    background: var(--paper);
    border: 1px solid rgba(12, 24, 40, 0.1);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sp-brand-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.sp-brand-models {
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
}

/* ── Why us grid ── */
.sp-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2.5rem;
}

.sp-why-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.sp-why-text p:last-of-type {
    margin-bottom: 1.5rem;
}

/* ── FAQ ── */
.sp-faq {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sp-faq-item {
    border: 1px solid rgba(12, 24, 40, 0.1);
    border-radius: 4px;
    background: var(--paper);
    overflow: hidden;
}

.sp-faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.sp-faq-item summary::-webkit-details-marker { display: none; }

.sp-faq-item summary::after {
    content: "+";
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--amber-deep);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.sp-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.sp-faq-item p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ── Price table ── */
.sp-price-table-wrap {
    overflow-x: auto;
    margin-top: 2.5rem;
    border: 1px solid rgba(12, 24, 40, 0.1);
    border-radius: 4px;
}

.sp-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--paper);
}

.sp-price-table thead tr {
    background: var(--ink);
    color: var(--paper);
}

.sp-price-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sp-price-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(12, 24, 40, 0.08);
    white-space: nowrap;
}

.sp-price-table td:first-child {
    font-weight: 500;
}

.sp-price-table tbody tr:last-child td {
    border-bottom: none;
}

.sp-price-table tbody tr:hover {
    background: rgba(12, 24, 40, 0.03);
}

.sp-table-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
}

/* ── Models grid ── */
.sp-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.sp-model-group {
    background: var(--paper);
    border: 1px solid rgba(12, 24, 40, 0.1);
    border-radius: 4px;
    padding: 1.5rem;
}

.sp-model-group h4 {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--amber-deep);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(12, 24, 40, 0.1);
}

.sp-model-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sp-model-group li {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.sp-model-group li::before {
    content: "→ ";
    color: var(--amber);
    font-size: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sp-hero {
        padding: 4rem 0 3rem;
    }

    .sp-hero-cta {
        flex-direction: column;
    }

    .sp-services-grid {
        grid-template-columns: 1fr;
    }

    .sp-why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sp-why-image {
        order: -1;
    }

    .sp-brands-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .sp-brands-grid {
        grid-template-columns: 1fr;
    }

    .sp-hero-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}
