/* ===========================
   SERVICII PAGE — servicii.css
=========================== */

/* ---------------------------
   HERO
--------------------------- */
.servicii-hero {
    position: relative;
    padding: 9rem 0 5rem;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.servicii-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
}

.servicii-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 17, 23, 0.95) 0%,
        rgba(17, 24, 39, 0.85) 60%,
        rgba(220, 38, 38, 0.1) 100%
    );
}

.servicii-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 0;
}

.servicii-hero-content h1 {
    margin: 0.5rem 0 1rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #F9FAFB;
}

.servicii-hero-content p {
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: rgba(249, 250, 251, 0.82);
}

/* ---------------------------
   SERVICII GRID
--------------------------- */
.servicii-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.serviciu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.serviciu-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 16px 48px rgba(220, 38, 38, 0.1);
}

.serviciu-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-dark);
}

.serviciu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.serviciu-card:hover .serviciu-card-img img {
    transform: scale(1.05);
}

.serviciu-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.serviciu-card-badge--special {
    background: #7C3AED;
}

.serviciu-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.serviciu-icon {
    width: 46px;
    height: 46px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background var(--transition);
}

.serviciu-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    transition: stroke var(--transition);
}

.serviciu-card:hover .serviciu-icon {
    background: var(--accent);
}

.serviciu-card:hover .serviciu-icon svg {
    stroke: var(--white);
}

.serviciu-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.serviciu-card-body > p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.serviciu-list {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.serviciu-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    padding-left: 1.25rem;
    position: relative;
}

.serviciu-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
}

.serviciu-list li:last-child {
    border-bottom: none;
}

/* ---------------------------
   PARALLAX
--------------------------- */
.servicii-parallax {
    position: relative;
    padding: 7rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 17, 23, 0.9) 0%,
        rgba(13, 17, 23, 0.7) 60%,
        rgba(220, 38, 38, 0.15) 100%
    );
}

.parallax-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.parallax-content .section-label {
    margin-bottom: 1rem;
}

.parallax-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.25;
    color: #F9FAFB;
}

.parallax-content p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: rgba(249, 250, 251, 0.85);
}

/* ---------------------------
   FAQ
--------------------------- */
.servicii-faq {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.open {
    border-color: rgba(220, 38, 38, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    flex-shrink: 0;
    transition: transform var(--transition), stroke var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    stroke: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.faq-answer strong {
    color: var(--accent);
}

/* ---------------------------
   CTA SECTION
--------------------------- */
.cta-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.95) 0%,
        rgba(13, 17, 23, 0.88) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content .section-label {
    display: block;
    text-align: center;
    margin-bottom: 1.25rem;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #F9FAFB;
}

.cta-content p {
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    color: rgba(249, 250, 251, 0.85);
}

.cta-phones {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* ---------------------------
   CTA LINK BUTTON
--------------------------- */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(249, 250, 251, 0.9);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.cta-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(220, 38, 38, 0.1);
}

/* ---------------------------
   RESPONSIVE
--------------------------- */
@media (max-width: 992px) {
    .servicii-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .servicii-hero {
        padding: 7rem 0 3.5rem;
    }

    .servicii-grid {
        grid-template-columns: 1fr;
    }

    .servicii-parallax {
        background-attachment: scroll;
    }

    .servicii-hero-bg {
        background-attachment: scroll;
    }

    .cta-bg {
        background-attachment: scroll;
    }
}
