/* =========================================================
   CONTAINER (CRITIC FIX)
========================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   BUTTONS
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border: none;
    border-radius: 8px;

    background: var(--color-primary);

    color: #ffffff !important;

    text-decoration: none;

    font-weight: 700;
    font-size: 15px;
    line-height: 1;

    cursor: pointer;

    transition: all .25s ease;
}

.btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* =========================================
   CARD STANDARD (ENTERPRISE)
========================================= */
.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 28px;

    border: 1px solid #e5e7eb;

    transition: all 0.25s ease;
    height: 100%;
}

/* hover subtil */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* icon */
.service-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    background: #eef2ff;
    color: #2563eb;

    border-radius: 8px;
}

/* titlu */
.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* text */
.service-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* link */
.service-card a {
    margin-top: auto;
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.service-card a:hover {
    text-decoration: underline;
}


/* =========================================================
   GRID SYSTEM
========================================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   FORM (SAFE)
========================================================= */
.form {
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 16px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* =========================================
   ABOUT SECTION
========================================= */
/* box dreapta */
.about-box {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);

    border-radius: 12px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    gap: 25px;

    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* stat */
.about-stat strong {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;

    transition: transform 0.3s ease;
}

.about-box:hover .about-stat strong {
    transform: scale(1.05);
}

.about-stat span {
    font-size: 14px;
    color: #6b7280;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;

    margin-top: 0;

    color: #e2e8f0;

    background:
        linear-gradient(rgba(15,23,42,.62), rgba(15,23,42,.82)),
        url('/assets/images/hero-desktop.webp');

    background-size: cover;
    background-position: center bottom;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url('/assets/images/grid.svg');
    opacity: .05;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.site-footer > .container {
    padding-top: 58px;
    padding-bottom: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .75fr 1fr;
    gap: 72px;

    padding: 38px 42px;

    background: rgba(15,23,42,.42);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;

    backdrop-filter: blur(2px);
}

.footer-col {
    position: relative;
}

.footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    right: -36px;

    width: 1px;
    height: calc(100% - 12px);

    background: rgba(255,255,255,.1);
}

.footer-col h3 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.footer-col p,
.footer-col li,
.footer-col a,
.footer-contact-item {
    color: rgba(255,255,255,.88);

    font-size: 15px;
    line-height: 1.7;
}

.footer-col p {
    max-width: 420px;
    margin: 0;
}

.footer-col ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    position: relative;

    color: rgba(255,255,255,.9);
    text-decoration: none;

    transition: color .25s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition: width .25s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

/* =========================================================
   FOOTER ISO BADGE
========================================================= */

.footer-iso {
    margin-top: 24px;
}

.footer-iso a {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    color: inherit;
    text-decoration: none;
}

.iso-img {
    display: block;

    width: 86px;
    height: 64px;

    padding: 6px;

    object-fit: contain;
    object-position: center;

    background: #ffffff;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;

    box-shadow: 0 8px 20px rgba(0,0,0,.22);

    transition: transform .2s ease, box-shadow .2s ease;
}

.footer-iso strong {
    display: block;
    margin-bottom: 3px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.footer-iso span {
    display: block;

    color: rgba(255,255,255,.82);

    font-size: 15px;
    line-height: 1.45;
}

.footer-iso a:hover .iso-img {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.3);
}

/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 16px;
}

.footer-contact-item .icon {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.08);
    color: #ffffff;

    border-radius: 8px;

    transition: background-color .25s ease, transform .25s ease;
}

.footer-contact-item svg {
    width: 17px;
    height: 17px;
}

.footer-contact-item:hover .icon {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-hours {
    opacity: .78;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 2;

    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,.62);

    font-size: 14px;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-col:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-footer > .container {
        padding-top: 42px;
        padding-bottom: 36px;
    }

    .footer-grid {
        padding: 28px;
        text-align: left;
    }

    .footer-iso a {
        align-items: center;
    }
}

/* =========================================
   CTA STRIP (PREMIUM)
========================================= */
.section-dark {
    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #0b2545, #1e3a8a);
    color: #fff;
}

/* pattern subtil (opțional) */
.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/images/grid.svg');
    opacity: 0.08;
}

/* container peste */
.section-dark .container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* text CTA */
.section-dark .section-title {
    color: #fff;
    margin-bottom: 8px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* =========================================
   CTA MOBILE FIX
========================================= */
@media (max-width: 768px) {

    .section-dark .container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }

    .section-dark .section-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .section-dark .section-subtitle {
        font-size: 14px;
    }

    .section-dark {
        padding: 60px 0;
    }
}

/* =========================================
   BUTTON PRIMARY
========================================= */

.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 28px;

    background: #2563eb;
    color: #ffffff !important;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;

    text-decoration: none;
    text-align: center;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* override link styles */
.btn.btn-primary:link,
.btn.btn-primary:visited,
.btn.btn-primary:focus,
.btn.btn-primary:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* hover */
.btn.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.20);
}

/* active */
.btn.btn-primary:active {
    transform: translateY(0);
}

/* mobile */
@media (max-width: 640px) {
    .btn.btn-primary {
        width: 100%;
    }
}

/* =========================================
   CARD HOVER (REFINED)
========================================= */
.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* =========================================
   LINK ARROW ANIMATION
========================================= */
.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-card a:hover {
    gap: 10px;
}