/* REESCRITURA: ELIMINAR CAJA, USAR DEGRADADO SUAVE LATERAL */

:root {
    --bg-primary: #0a0e17;
    --accent: #10B981;
    --accent-light: #34d399;
    --text-primary: #ffffff;
    --text-secondary: rgba(16, 185, 129, 0.7);
    --border: rgba(16, 185, 129, 0.2);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 10;
}

.navbar-brand {
    margin-left: -100px;
    color: var(--accent) !important;
    font-weight: 800;
    font-size: 2.1rem;
    letter-spacing: -1px;
}

/* HERO: Degradado Suave Lateral */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary); /* Fondo base azul oscuro */
}

/* La imagen se coloca como una capa separada a la derecha */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%; /* La imagen ocupa el 70% derecho */
    height: 100%;
    background-image: url('../img/fondo-hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* La magia: una máscara que hace que la imagen se desvanezca hacia la izquierda */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
    mask-image: linear-gradient(to right, transparent 0%, black 50%);
}

.container {
    position: relative;
    z-index: 2; /* El texto siempre por encima */
}

/* ADIÓS A LA CAJA NEGRA TRANSPARENTE */
.hero .col-lg-8 {
    padding: 20px 0;
}

.badge-rural {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border-left: 3px solid var(--accent);
}

h1 {
    font-weight: 800;
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -3px;
    color: #ffffff;
}

h1 span {
    color: var(--accent);
    display: block;
}

p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-yax {
    background-color: var(--accent);
    color: #0a0e17;
    padding: 20px 45px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-yax:hover {
    background-color: #ffffff;
    color: #0a0e17;
    transform: scale(1.05);
}

/* Sección Planes (Mantiene el Glass-Tech que gustaba) */
.seccion-planes {
    padding: 100px 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 3; /* Para que quede encima de la imagen del hero si scrollean */
}

.titulo-seccion {
    font-weight: 800;
    font-size: 2.6rem;
    color: #ffffff;
}

.titulo-seccion span {
    color: var(--accent);
}

.plan-card {
    background: rgba(15, 21, 32, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 45px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.plan-card h3 {
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 15px;
}

.plan-precio {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.plan-precio span {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
}

.plan-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.plan-features li {
    margin-bottom: 12px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

.btn-plan {
    width: 100%;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 15px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-plan:hover {
    background-color: var(--accent);
    color: #0a0e17;
}

.plan-destacado {
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

/* Footer Corporativo */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border); /* Borde verdoso sutil separador */
    padding-top: 80px;
    position: relative;
    z-index: 3;
}

.footer-content {
    padding-bottom: 60px;
}

.footer-logo {
    color: var(--accent);
    font-weight: 800;
    font-size: 2.1rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 250px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px; /* Pequeño salto animado al pasar el mouse */
}

/* El link del Portal Cliente resaltado */
.link-portal {
    color: var(--accent) !important;
    font-weight: 700;
}

.footer-contact li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* Estilos para el Logo Híbrido (Icono + Texto) */
.navbar-brand span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.1rem;
    letter-spacing: -1px;
    color: var(--accent);
}

.footer-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: -1px;
    color: var(--accent);
}
/* Forzar color blanco para el texto del logo hibrido */
.navbar-brand span { color: #ffffff !important; font-size: 2.1rem; }
.footer-logo-text { color: #ffffff !important; }

/* Sección de Contacto (Formulario) */
.seccion-contacto {
    padding: 100px 0;
    background-color: #080c13; /* Aún más oscuro para diferenciar de los planes */
    position: relative;
    z-index: 3;
}

.formulario-glass {
    background: rgba(15, 21, 32, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Inputs Premium Oscuros */
.form-control, .form-select {
    background-color: rgba(10, 14, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s;
}

/* Evitar que el fondo se ponga blanco en Chrome auto-fill */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus, 
.form-control:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #0a0e17 inset !important;
    -webkit-text-fill-color: white !important;
}

.form-control:focus, .form-select:focus {
    background-color: #0a0e17;
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2310B981' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* Animación del botón del formulario */
.formulario-glass .btn-yax {
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Sección FAQ */
.seccion-faq {
    padding: 100px 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 3;
}

/* Rediseñando el Acordeón de Bootstrap para tema oscuro */
.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.accordion-button {
    background-color: transparent !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 0;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--accent);
}

.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%); /* Flechita blanca */
}

.accordion-button:not(.collapsed)::after {
    filter: invert(65%) sepia(85%) saturate(382%) hue-rotate(101deg) brightness(92%) contrast(90%); /* Flechita verde cuando se abre */
}

.accordion-body {
    color: var(--text-secondary);
    padding: 0 0 20px 0;
    font-size: 1rem;
    line-height: 1.6;
}
