/* =========================================================
   HOMEPAGE NOU (DIN PSD)
   ========================================================= */

/* Structura container standard */
.container {
    max-width: var(--container-max, 1330px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hp-hero {
    padding: 100px 0 140px;
    text-align: left; /* Aliniat la stanga conform PSD */
    background: linear-gradient(180deg, var(--nws-surface-2) 0%, var(--nws-bg) 100%); /* Un fundal foarte pal care separa de header */
}
.hp-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--nws-text);
    margin-bottom: 20px; /* Redus la 20px distanta spre subtitlu */
    letter-spacing: -1px;
}
.hp-hero__title span {
    color: #010ED0; 
}
.hp-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--nws-text); 
    max-width: 800px;
    margin: 0 0 40px 0; /* Sters margin auto pentru stanga */
    line-height: 1.6;
}
.hp-hero__subtitle strong {
    font-weight: 700;
}
.hp-btn-primary {
    position: relative;
    display: inline-block;
    background: #005cf3; /* Albastru vibrant din poza */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 16px 14px 36px; /* Text impins spre dreapta cu padding inegal */
    border-radius: 8px; /* Radius fluid 8px */
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    margin-bottom: 80px; /* Revert la 80px-ul discutat inainte */
    border: none;
    border-right: 17px solid #ffb800; /* Bara groasa la fix 17px */
}
.hp-btn-primary span {
    color: #ffb800; /* Acelasi galben/mustar pe text */
    margin-left: 4px;
}
.hp-btn-primary:hover {
    transform: translateY(-2px); /* Se duce putin in sus, mai clasic */
    background: #004ecc;
    color: #ffffff;
}

/* Grid-ul Hero (8 Carduri) */
.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 20px; /* Redus de la 50px la 20px */
    text-align: left;
}
.hp-service-card {
    background: transparent; /* Fara fundal */
    width: 100%;
}
.hp-service-card__icon {
    width: 46px; /* Marit la 46px conform cerintelor PSD */
    height: 46px;
    margin-bottom: 5px; /* Redus la 5px distanta fata de titlu */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.hp-service-card__icon img {
    max-width: 100%;
    max-height: 100%;
}
.hp-service-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 22px; /* Marit la 22px */
    font-weight: 700;
    color: var(--nws-text);
    margin-bottom: 12px;
}
.hp-service-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* Marit la 16px conform cerinte */
    color: var(--nws-text-soft);
    line-height: 1.6;
}

/* 4 Motive Section */
.hp-reasons {
    background: var(--nws-surface-3); /* Fundal subtil ca o banda */
    padding: 100px 0;
    text-align: center;
}
.hp-reasons-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
    gap: 0px; /* Anulat gap-ul pozitiv */
}
.hp-reasons-header__number {
    font-family: 'Inter', sans-serif;
    font-size: 100px; /* Redus la 100px la cererea ta */
    font-weight: 900;
    color: var(--nws-text);
    line-height: 0.7;
    letter-spacing: -2px;
    margin-right: 0px; /* Modificat la 0px fix! */
}
.hp-reasons-header__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hp-reasons__title {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #005cf3; /* Albastru vibrant */
    margin-bottom: 0px; /* Lipit de subtitlu */
    margin-left: -4px; /* Impins sub cutia lui 4, asa cum e cerut */
    line-height: 1.1;
    letter-spacing: -1px;
}
.hp-reasons__subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 26px; /* Text mare sub el */
    font-weight: 400; /* Subtire */
    color: var(--nws-text); /* Negru */
    margin-top: -4px; /* Tragere in sus a subtitlului pentru a fi lipit de linia de text albastra */
}
.hp-reasons__subtitle span {
    color: #005cf3; /* NRG albastru */
    font-weight: 400;
}
.hp-reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;
}
.hp-reason-card {
    background: var(--nws-surface);
    border-radius: 40px; /* Marit generos la 40px */
    padding: 40px 32px;
    width: 100%;
    height: auto;
    min-height: 360px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
    border: 1px solid var(--nws-border);
}
.hp-reason-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px; /* Corectat la 10px */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.hp-reason-card__icon img {
    max-width: 100%;
    max-height: 100%;
}
.hp-reason-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--nws-text);
    margin-bottom: 16px;
    line-height: 1.3;
    min-height: 48px; /* Forteaza inaltime pentru 2 randuri ca descrierile sa fie aliniate perfect */
}
.hp-reason-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--nws-text-soft);
    line-height: 1.6; /* Revenit la 1.6 pentru mai multa aerisire */
}

/* Trust Section */
.hp-trust {
    padding: 100px 0;
    text-align: center;
    background: var(--nws-bg);
    width: 100%;
    overflow: hidden;
}
.hp-trust__title {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--nws-text);
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -1px;
}
.hp-trust__title span {
    color: #010ED0;
}
.hp-trust__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--nws-text-soft);
    margin-bottom: 60px;
}
.hp-trust__subtitle strong {
    color: #010ED0;
    font-weight: 700;
}
.hp-trust-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hp-trust-logos {
    display: flex;
    align-items: center;
    width: max-content;
}
.hp-trust-logos:hover {
    animation-play-state: paused;
}
.hp-trust-logos--left {
    animation: infiniteScrollLeft 40s linear infinite;
}
.hp-trust-logos--right {
    animation: infiniteScrollRight 40s linear infinite;
}
@keyframes infiniteScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes infiniteScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.hp-trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 120px;
    background: var(--nws-surface);
    border: 1px solid var(--nws-border);
    border-radius: 12px;
    padding: 20px 40px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hp-trust-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.hp-trust-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.hp-trust-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Optional: grayscale(100%) pentru un aspect curat, depinde de preferinte. In PSD sunt color! */
}
/* ============================================================
   3.5 CONTACT FORM SECTION
   ============================================================ */
.hp-contact-sec {
    padding: 80px 0;
    background: var(--nws-surface-3);
}
.hp-contact-wrapper {
    display: flex;
    gap: 0; 
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.hp-contact-left {
    width: 60%;
    position: relative;
    z-index: 1;
}
.hp-contact-label {
    display: inline-block;
    background: var(--nws-surface-2);
    color: var(--nws-text-soft);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.hp-contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--nws-text);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}
.hp-contact-left-bg {
    background: var(--nws-surface-2); /* Light pastel blue bg from image */
    padding: 40px 60px 40px 0; 
    padding-left: 40px;
    margin-left: -40px; 
    border-radius: 8px 0 0 8px;
    width: 115%; 
    position: relative;
    z-index: 0;
}
.hp-contact-desc {
    font-size: 16px;
    color: var(--nws-text-soft);
    margin-bottom: 25px;
    max-width: 80%;
}
.hp-contact-email {
    font-size: 16px;
    color: var(--nws-text);
    margin-bottom: 30px;
}
.hp-contact-list-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--nws-text);
    margin-bottom: 15px;
}
.hp-contact-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
}
.hp-contact-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--nws-text);
    font-weight: 500;
}
.hp-contact-steps {
    display: flex;
    align-items: center;
    gap: 15px;
}
.hp-contact-steps .step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--nws-text);
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}
.hp-contact-steps .step span {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}
.hp-contact-steps .step-arrow {
    display: flex;
    align-items: center;
    color: #94a3b8;
}

/* Dreapta Formular */
.hp-contact-right {
    width: 40%;
    position: relative;
    z-index: 2; /* Suprapus peste fundalul albastru */
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}
.hp-contact-form-card {
    background: var(--nws-surface);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--nws-border);
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    margin-top: 50px; /* O cobor�m pentru a rupe vizual col?urile */
}



.hp-form .form-row {
    display: flex;
    gap: 15px;
}
.hp-form .form-group {
    margin-bottom: 15px;
    flex: 1;
}
.hp-form label {
    display: block;
    font-size: 12px;
    color: var(--nws-text-soft);
    margin-bottom: 5px;
}
.hp-form input,
.hp-form select,
.hp-form textarea {
    width: 100%;
    border: 1px solid var(--nws-border);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--nws-text);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.hp-form input:focus,
.hp-form select:focus,
.hp-form textarea:focus {
    border-color: #3b82f6;
}
.hp-form textarea {
    height: 100px;
    resize: vertical;
}
.hp-form .btn-submit {
    background: var(--nws-text);
    color: var(--nws-bg);
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.hp-form .btn-submit:hover {
    background: var(--nws-text-soft);
}

@media (max-width: 992px) {
    .hp-contact-wrapper {
        flex-direction: column;
    }
    .hp-contact-left, .hp-contact-right {
        width: 100%;
    }
    .hp-contact-left-bg {
        width: 100%;
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 8px;
    }
    .hp-contact-form-card {
        margin-top: 30px;
        max-width: 100%;
    }
}

/* CTA Section */
.hp-cta {
    padding: 0 0 100px 0;
    background: var(--nws-bg);
}
.hp-cta-inner {
    background: #1c62f5; /* Albastru aprins ca �n screenshot */
    border-radius: 16px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hp-cta__text {
    flex: 1;
}
.hp-cta__text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 400; /* In poza Incepe Astazi e mai light */
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}
.hp-cta__text h2 strong {
    font-weight: 700;
}
.text-yellow {
    color: #ffc107; /* Culoarea galben/auriu */
    font-weight: 700;
}
.hp-cta__text p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
}
.hp-cta__text p strong {
    font-weight: 700;
}
.hp-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
    background: #ffffff;
    color: #1c62f5;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.hp-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #1c62f5;
}

/* Responsive */
@media (max-width: 1024px) {
    .hp-services-grid, .hp-reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px;
    }
    .hp-cta__text {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding-bottom: 30px;
    }
    .hp-hero {
        padding: 60px 0 80px;
    }
    .hp-reasons {
        padding: 60px 0;
    }
    .hp-trust {
        padding: 60px 0;
    }
    .hp-preferred {
        padding: 60px 0;
    }
}
@media (max-width: 768px) {
    .hp-services-grid, .hp-reasons-grid {
        grid-template-columns: 1fr;
    }
    .hp-trust-logo {
        width: 180px;
        height: 80px;
        padding: 15px 20px;
    }
    .hp-hero__title { font-size: 38px; }
    .hp-reasons__title { font-size: 32px; }
    .hp-reasons-header {
        flex-direction: column;
        text-align: center;
    }
    .hp-reasons-header__text {
        align-items: center;
    }
    .hp-btn-primary {
        margin-bottom: 40px;
    }
    .hp-contact-title { font-size: 32px; }
    .hp-contact-sec { padding: 40px 0; }
    .hp-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .hp-contact-benefits {
        grid-template-columns: 1fr;
    }
    .hp-contact-form-card {
        padding: 20px;
    }
    .hp-cta-inner {
        padding: 30px 20px;
    }
    .hp-cta__text h2 {
        font-size: 30px;
    }
    .hp-pref-card {
        padding: 20px 20px 0 20px;
    }
    .hp-hero__subtitle {
        font-size: 15px;
    }
}

/* ============================================================
   1.5 PREFERRED SERVICES SECTION
   ============================================================ */
.hp-preferred {
    background-color: var(--nws-surface-2); /* Albastru/Gri extrem de subtil ca in poza */
    padding: 100px 0;
}
.hp-preferred__title {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--nws-text);
    text-align: center;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .hp-preferred__title { font-size: 32px; }
}
.hp-preferred-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.hp-pref-card {
    background: var(--nws-surface);
    border-radius: 16px;
    padding: 30px 30px 0 30px; /* Fara padding bottom pentru a lasa border-ul jos */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hp-pref-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.hp-pref-card__icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6; /* Albastru */
    margin-bottom: 20px;
}
.hp-pref-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--nws-text);
    margin-bottom: 12px;
}
.hp-pref-card__desc {
    font-size: 14px;
    color: var(--nws-text-soft);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* ?mpinge footer-ul cardului ?n jos */
}
.hp-pref-card__bottom {
    border-top: 1px solid var(--nws-border);
    padding: 16px 0;
    margin-top: auto;
}
.hp-pref-card__bottom a {
    font-size: 13px;
    font-weight: 700;
    color: var(--nws-text);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}
.hp-pref-card__bottom a:hover {
    color: #3b82f6;
}

@media (max-width: 1024px) {
    .hp-preferred-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .hp-preferred-grid {
        grid-template-columns: 1fr;
    }
}


.form-header-wrapper {
    border-bottom: 1px solid var(--nws-border);
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}






.form-header-wrapper {
    border-bottom: 1px solid var(--nws-border);
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}
.hp-contact-form-card .form-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--nws-text);
    text-align: center;
    margin: 0;
}
.form-arrow-down {
    position: absolute;
    bottom: -10px;
    left: 20%;
    background: var(--nws-surface);
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nws-text);
    margin: 0;
}
.form-arrow-down svg {
    margin: 0;
}


/* ============================================================
   WOW FACTOR - ANIMATIONS & HOVER STATES
   ============================================================ */

/* 1. Fade Up Base Animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Stagger Delays (for grid children) */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* 3. Enhanced Hover Effects (Wow factor) */

/* Hero Button Shine Effect */
.hp-btn-primary {
    position: relative;
    overflow: hidden;
}
.hp-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: btnShine 3s infinite;
}
@keyframes btnShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Service Cards Premium Hover */
.hp-service-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-service-card__icon img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.hp-service-card:hover {
    transform: translateY(-8px);
}
.hp-service-card:hover .hp-service-card__icon img {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 8px 12px rgba(1, 14, 208, 0.2));
}

/* Reasons Cards Premium Hover */
.hp-reason-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.hp-reason-card:hover .hp-reason-card__icon {
    transform: scale(1.1) rotate(5deg);
}
.hp-reason-card__icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Preferred Cards Premium Hover */
.hp-pref-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-pref-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}
.hp-pref-card:hover .hp-pref-card__icon {
    transform: scale(1.1);
}
.hp-pref-card__icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   HIGH-END WOW EFFECTS
   ============================================================ */

/* --- 1. Liquid Orbs (Hero Background) --- */
.hp-hero {
    position: relative;
    overflow: hidden;
    background: var(--nws-bg);
}
.hp-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.relative-z {
    position: relative;
    z-index: 2;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrbs 20s infinite ease-in-out alternate;
}
.orb-1 {
    width: 600px; height: 600px;
    background: rgba(1, 14, 208, 0.15); /* Brand blue */
    top: -200px; left: -100px;
    animation-delay: 0s;
}
.orb-2 {
    width: 500px; height: 500px;
    background: rgba(0, 78, 204, 0.1);
    top: 20%; right: -150px;
    animation-delay: -5s;
}
.orb-3 {
    width: 400px; height: 400px;
    background: rgba(28, 98, 245, 0.12);
    bottom: -150px; left: 30%;
    animation-delay: -10s;
}
@keyframes floatOrbs {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- 2. Spotlight Glow on Service Cards --- */
.hp-services-grid {
    position: relative;
}
.hp-service-card {
    position: relative;
    /* Glow base setup */
    background: var(--nws-surface);
    border: 1px solid var(--nws-border);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    /* We handle the actual glow pseudo-element via JS adding dynamic variables */
}
.hp-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(1, 14, 208, 0.06),
        transparent 40%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hp-service-card:hover::before {
    opacity: 1;
}
.hp-service-card > * {
    position: relative;
    z-index: 2; /* Keep content above glow */
}

/* Fix spacing from adding border/padding to hp-service-card */
.hp-service-card__icon { margin-bottom: 15px; }

/* --- 3. 3D Tilt is handled by JS library, but we add a nice inner glare --- */
.hp-reason-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.hp-reason-card__icon, .hp-reason-card__title, .hp-reason-card__desc {
    transform: translateZ(30px); /* Makes content float off the card during tilt */
}

/* Procedura rapida steps for homepage */
[data-theme="dark"] .hp-contact-steps .step {
    color: var(--nws-text-soft) !important;
}
[data-theme="dark"] .hp-contact-steps .step span {
    color: var(--nws-text) !important;
}
[data-theme="dark"] .hp-contact-form-card .form-title {
    color: var(--nws-text) !important;
}
[data-theme="dark"] .hp-contact-form-card label {
    color: var(--nws-text-soft) !important;
}

/* Global Fix for .text-primary and .text-gradient in Dark Mode */
[data-theme="dark"] .text-primary {
    color: var(--nws-primary-light) !important;
}
[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, var(--nws-primary-light) 0%, #a78bfa 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}