/* Hero section */

.hero-section {
    min-height: 100vh;
    background: #132413;  
    background: linear-gradient(135deg, #112f11 0%, #1e4720 45%, #2E7D32 80%, #145214 100%);
    position: relative;
    overflow: hidden;
    color: white;
    isolation: isolate;
}

/* Fondo */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0%, transparent 55%);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    animation: subtlePulse 16s ease-in-out infinite alternate;
}

@keyframes subtlePulse {
    0%   { transform: scale(1.01); opacity: 0.5; }
    100% { transform: scale(1.06); opacity: 0.75; }
}

/* Overlay verde  */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgba(20, 60, 20, 0.22) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Columna izquierda */
.left-column {
    padding: 9rem 3rem 2rem 3rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* Centrado login */
.login-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Tarjeta  formulario  */
.login-form-container {
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    padding: 3.2rem 2.8rem;
    border-radius: 24px;
    box-shadow: 
        0 25px 70px rgba(0,0,0,0.22),
        0 10px 30px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px) saturate(180%);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.login-form-container:hover,
.login-form-container:focus-within {
    transform: translateY(-12px);
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.28),
        0 15px 40px rgba(46,125,50,0.15);
}

.form-control {
    height: 58px;
    font-size: 1.12rem;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: rgba(249, 250, 251, 0.9);
    padding: 0 1.4rem;
    transition: all 0.35s ease;
    color: #111827;
}

.form-control:focus {
    border-color: #2E7D32;
    background: white;
    box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.22);
    outline: none;
}

.form-label {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

/* Botón principal  */
.btn-success {
    background: linear-gradient(90deg, #2E7D32 0%, #4CAF50 50%, #2E7D32 100%);
    background-size: 200% 100%;
    border: none;
    font-weight: 800;
    font-size: 1.18rem;
    padding: 1.1rem 2.2rem;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
}

.btn-success:hover {
    background-position: 100% 0;
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 16px 45px rgba(46, 125, 50, 0.5);
}

/* Mensaje de bienvenida (sesión iniciada) */
.welcome-message {
    text-align: center;
    padding: 4.5rem 2.5rem;
}

.welcome-message h2 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.8rem;
    text-shadow: 0 6px 16px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
}

/* Logo principal  */
.logo-principal {
    max-height: 45vh;
    max-width: 65%;
    object-fit: contain;
    filter: 
        drop-shadow(0 20px 50px rgba(0,0,0,0.4))
        brightness(1.05)
        contrast(1.08);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-principal:hover {
    transform: scale(1.07) translateY(-10px) rotate(1.5deg);
}

/* Contenedor del logo */
.main-banner.header-text {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    border-left: 2px solid rgba(255,255,255,0.05);
    margin-top: 100px;

}

/* responsive */
@media (max-width: 1199px) {
    .left-column { padding: 4rem 2rem; }
    .login-form-container { padding: 2.8rem 2.2rem; }
}

@media (max-width: 991px) {
    .left-column {
        padding: 6rem 2rem 4rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .hero-section::before,
    .hero-section::after { opacity: 0.5; }
    
    .logo-principal {
        max-height: 50vh;
        max-width: 70%;
        object-fit: contain;
        transform: translateY(1%) !important;
    }
}

@media (max-width: 576px) {
    .login-form-container {
        padding: 2.2rem 1.6rem;
        border-radius: 20px;
    }
    .btn-success {
        font-size: 1.1rem;
        padding: 1rem 1.8rem;
    }
}
.text-center.small a.hover-green {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.text-center.small a.hover-green::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2E7D32;
    transition: width 0.4s ease;
}

.text-center.small a.hover-green:hover {
    color: #2E7D32;
}

.text-center.small a.hover-green:hover::after {
    width: 100%;
}

/* degradado verde  */
.bg-gradient-green {
    background: linear-gradient(90deg, #2E7D32 0%, #4CAF50 100%);
}

/* Tarjetas de precios */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 24px;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(46, 125, 50, 0.22) !important;
}

.popular {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(46, 125, 50, 0.3);
}

.popular:hover {
    transform: scale(1.08) translateY(-12px);
}

.popular-badge {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    z-index: 10;
}

.price-display .display-4 {
    line-height: 1;
    font-weight: 900;
}

.btn-success.rounded-pill {
    border-radius: 50px !important;
    transition: all 0.35s ease;
}

.btn-success:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .pricing-card {
        margin-bottom: 2.5rem;
    }
    .popular {
        transform: scale(1.03);
    }
}

.hero-small {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.bg-gradient-green {
    background: linear-gradient(90deg, #2E7D32 0%, #4CAF50 100%);
}

.service-detail-img {
    max-height: 500px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.fs-4 { font-size: 1.5rem !important; }

.back-inline {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 10;
}

.back-inline:hover {
    transform: translateX(-6px);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}