/* =================================================================
   SERVICII-ADITIONALE.CSS — ECOSOFT WordPress Theme
   ================================================================= */

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */

#sa-hero {
    background: linear-gradient(145deg, #1a2e3b 0%, #2193b0 60%, #6dd5ed 100%);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.sa-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sa-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.sa-shape--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fff, transparent 70%);
    top: -180px;
    right: -100px;
}

.sa-shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6dd5ed, transparent 70%);
    bottom: -80px;
    left: 10%;
    opacity: 0.12;
}

.sa-shape--3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #fff, transparent 70%);
    top: 40%;
    left: 40%;
    opacity: 0.05;
}

.sa-hero-overlay {
    padding: 160px 0 80px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.sa-hero-inner {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.sa-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.sa-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.15;
}

.sa-hero-lead {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin: 0 0 36px;
}

.sa-hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    animation: sa-bounce 2s ease-in-out infinite;
}

.sa-hero-scroll:hover {
    color: #fff;
}

@keyframes sa-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* ----------------------------------------------------------------
   REVEAL
   ---------------------------------------------------------------- */

.sa-reveal {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--sa-delay, 0s);
}

.sa-reveal[data-direction="up"]    { transform: translateY(48px); }
.sa-reveal[data-direction="left"]  { transform: translateX(-48px); }
.sa-reveal[data-direction="right"] { transform: translateX(48px); }

.sa-reveal.sa-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ----------------------------------------------------------------
   SERVICII GRID
   ---------------------------------------------------------------- */

#sa-servicii {
    background: #f4f6f9;
    padding: 100px 0;
}

.sa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Card */
.sa-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sa-card:hover {
    box-shadow: 0 16px 48px rgba(33,147,176,0.15);
    transform: translateY(-6px);
}

/* Image wrapper */
.sa-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.sa-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.sa-card:hover .sa-card-img {
    transform: scale(1.06);
}

.sa-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26,46,59,0.7) 100%);
    pointer-events: none;
}

.sa-card-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(33,147,176,0.35);
    z-index: 2;
}

/* Card body */
.sa-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sa-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 12px;
}

.sa-card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.93rem;
    color: #666;
    line-height: 1.75;
    margin: 0 0 16px;
}

/* Feature list */
.sa-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sa-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
}

.sa-feature-list li .fa {
    color: #2193b0;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* Card link */
.sa-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2193b0;
    text-decoration: none;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eef1f4;
    transition: gap 0.2s ease, color 0.2s ease;
}

.sa-card-link:hover {
    gap: 14px;
    color: #1a7a96;
}

/* ----------------------------------------------------------------
   STRIP — statistici
   ---------------------------------------------------------------- */

#sa-strip {
    background: #2c3e50;
    padding: 56px 0;
}

.sa-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.sa-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 0 24px;
}

.sa-strip-item .fa {
    font-size: 1.8rem;
    color: #2193b0;
    margin-bottom: 4px;
}

.sa-strip-val {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}

.sa-strip-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

.sa-strip-sep {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
   CTA
   ---------------------------------------------------------------- */

#sa-cta {
    background: linear-gradient(135deg, #2193b0 0%, #1a7a96 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#sa-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50v-10h-4v10h-10v4h10v10h4v-10h10v-4H50zM10 10V0H6v10H-4v4h10v10h4V14h10v-4H10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.sa-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sa-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #fff;
    margin: 0 0 8px;
}

.sa-cta-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.sa-cta-btn {
    flex-shrink: 0;
    background: #fff;
    color: #2193b0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.sa-cta-btn:hover {
    background: #2c3e50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 900px) {
    .sa-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .sa-strip-inner {
        flex-wrap: wrap;
        gap: 32px;
    }
    .sa-strip-sep {
        display: none;
    }
    .sa-strip-item {
        flex: 0 0 40%;
    }
}

@media (max-width: 640px) {
    .sa-card-img-wrap {
        height: 180px;
    }
    .sa-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .sa-strip-item {
        flex: 0 0 100%;
    }
}
