/* =========================================================
   REFERENCES PAGE - PREMIUM INDUSTRIAL
   Pagina: /referinte
   Scop: sectoare industriale + carduri premium
========================================================= */

/* =========================================================
   INTRO SECTION
========================================================= */

.references-intro {
    max-width: 980px;
    margin: 0 auto 54px;
    text-align: center;
}

.references-intro .section-title {
    margin-bottom: 16px;
}

.references-intro p {
    max-width: 820px;
    margin: 0 auto;
    color: #64748b;
    font-size: 18px;
    line-height: 1.75;
}

/* Badge-uri statistice sub intro */
.references-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.references-stats span {
    display: inline-flex;
    align-items: center;
    padding: 9px 15px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   REFERENCES GRID
========================================================= */

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Card sector industrial */
.reference-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Linie superioară aurie pe hover */
.reference-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #cbaf75, #d7bd7f);
    opacity: 0;
    transition: opacity .25s ease;
}

.reference-card:hover {
    transform: translateY(-8px);
    border-color: rgba(203, 175, 117, .38);
    box-shadow: 0 24px 55px rgba(203, 175, 117, .16);
}

.reference-card:hover::before {
    opacity: 1;
}

/* =========================================================
   REFERENCES ICONS
========================================================= */

.reference-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #cbaf75;
    background: rgba(203, 175, 117, .12);
    border: 1px solid rgba(203, 175, 117, .28);
    border-radius: 16px;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.reference-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.reference-icon svg path {
    fill: currentColor;
    stroke: none;
}

.reference-card:hover .reference-icon {
    color: #ffffff;
    background: linear-gradient(135deg, #cbaf75, #b8954f);
    border-color: #cbaf75;
    transform: scale(1.06);
}

/* =========================================================
   CARD TYPOGRAPHY
========================================================= */

.reference-card h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.25;
    transition: color .25s ease;
}

.reference-card:hover h3 {
    color: #0b2f57;
}

.reference-card p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* Lista de capabilități din card */
.reference-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reference-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 9px;
    color: #334155;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.reference-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbaf75;
}

/* =========================================================
   HIGHLIGHT BOX
========================================================= */

.references-highlight {
    margin-top: 50px;
    padding: 34px 38px;
    background: linear-gradient(135deg, #0a2540, #1e3a8a);
    border-radius: 18px;
    color: #ffffff;
}

.references-highlight h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 28px;
}

.references-highlight p {
    margin: 0;
    max-width: 900px;
    color: rgba(255, 255, 255, .84);
    line-height: 1.8;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .references-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .references-intro {
        margin-bottom: 38px;
    }

    .references-intro p {
        font-size: 16px;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .reference-card {
        min-height: 0;
        padding: 28px;
    }

    .reference-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 20px;
    }

    .references-highlight {
        padding: 28px;
    }
}

/* =========================================================
   REFERENCES PROJECTS - REAL PRODUCTION
========================================================= */

.references-projects {
    margin: 0 0 64px;
}

.references-projects-head {
    max-width: 860px;
    margin: 0 auto 38px;
    text-align: center;
}

.references-projects-head p {
    margin: 0 auto;
    max-width: 760px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

.references-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(15,23,42,.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(203,175,117,.38);
    box-shadow: 0 26px 60px rgba(15,23,42,.14);
}

.project-card-image {
    height: 260px;
    overflow: hidden;
    background: #0a2540;
}

.project-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, opacity .25s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.06);
    opacity: .95;
}

.project-card-content {
    padding: 26px;
}

.project-card-content span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #cbaf75;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-card-content h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

.project-card-content p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .references-projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-image {
        height: 320px;
    }
}

@media (max-width: 700px) {
    .references-projects {
        margin-bottom: 46px;
    }

    .project-card-image {
        height: 240px;
    }

    .project-card-content {
        padding: 24px;
    }
}

