:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(
            rgba(0, 91, 187, 0.85),
            rgba(0, 91, 187, 0.85)
        ),
        url('../img/banner.png');
    background-size: cover;
	background-position: center 25%;
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-logo {
    height: 200px;
    width: auto;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-15px) scale(1.02); 
    }
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--light-bg);
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.plan-period {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.plan-description {
    color: var(--secondary-color);
    margin-top: 5px;
	margin-bottom: 2rem;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature-list .bi {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.btn-plan {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-plan-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
}

.btn-plan-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-plan-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-plan-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
    color: #333;
}

/* CTA Section */
.cta {
    position: relative;
    background:
        linear-gradient(
            rgba(0, 91, 187, 0.75),
            rgba(0, 91, 187, 0.75)
        ),
        url('../img/fondo-img-cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 5rem 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}

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

.cta h2 {
    margin-bottom: 1rem;
	color: #ffffff;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
	color: #e6f0ff;
}

.cta .btn-light {
    background-color: #ffffff;
    color: #005bbb;
    border: none;
}

.cta .btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}

.cta .btn-outline-light:hover {
    background-color: #ffffff;
    color: #005bbb;
}

.hero-cta .btn-light {
    position: relative;
}

.hero-cta .btn-light::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.hero-cta .btn-light:hover::after {
    transform: translateX(4px);
}

.pricing {
    padding: 6rem 0;
    background: 
        linear-gradient(
            rgba(248, 249, 250, 0.85),
            rgba(248, 249, 250, 0.85)
        ),
        url('../img/fondo-img-pricing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navigation */
.navbar-brand img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .text-sm {
    font-size: 0.85rem;
}

.navbar .text-muted {
    color: #6c757d !important;
}

.navbar .text-success {
    color: var(--success-color) !important;
    font-weight: 600;
}

/* Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-card h5 {
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-logo {
        height: 150px;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .plan-price {
        font-size: 2rem;
    }
	
	.hero {
        background-position: center 15%;
		padding-top: 90px;
    }
	
	.cta {
        padding: 4rem 1rem;
        background-position: center top;
    }
	
	.cta h2 {
        font-size: 2rem;
    }
	
	.hero-cta .btn {
        width: 100%;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Badge */
.badge-new {
    background: var(--success-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

footer a {
    text-decoration: none;
    opacity: 0.85;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* reCAPTCHA wrapper */
	.recaptcha-wrapper {
		display: flex;
		justify-content: center;
		margin-bottom: 1rem;
		min-height: 78px;
	}

/* Ajustar padding Hero en desktop */
.hero {
	padding-top: 9rem;
}

/* Optimizar Hero para móvil landscape */
@media (max-height: 600px) and (orientation: landscape) {
	.hero {
		padding-top: 8rem !important;
		padding-bottom: 2rem !important;
		min-height: auto !important;
	}
	
	.hero h1 {
		font-size: 1.25rem !important;
		margin-bottom: 0.5rem !important;
		line-height: 1.3 !important;
	}
	
	.hero .lead {
		font-size: 0.8rem !important;
		margin-bottom: 0.5rem !important;
		line-height: 1.3 !important;
	}
	
	.hero-cta {
		margin-bottom: 0.5rem !important;
	}
	
	.hero-cta .btn {
		padding: 0.4rem 1rem !important;
		font-size: 0.85rem !important;
	}
	
	.hero .text-sm {
		font-size: 0.7rem !important;
	}
	
	.hero .gap-2 {
		gap: 0.25rem !important;
	}
	
	/* Ocultar logo en landscape móvil */
	.hero-logo {
		display: none !important;
	}
}

.plan-consult {
	font-size: 1.5rem;
	color: #0d6efd;
	font-weight: 600;
}

/* CSS TERMININOS Y CONDICIONES */
body { font-family: 'Inter', sans-serif; background: #f8fafc; }
	.doc-header {
		background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
		color: white;
		padding: 80px 0 40px;
	}
	.doc-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
	.doc-header p { opacity: 0.85; font-size: 0.95rem; }
	.doc-body {
		max-width: 860px;
		margin: 0 auto;
		padding: 48px 24px 80px;
	}
	.doc-section { margin-bottom: 40px; }
	.doc-section h2 {
		font-size: 1.1rem;
		font-weight: 700;
		color: #1e3a5f;
		border-left: 4px solid #2563eb;
		padding-left: 12px;
		margin-bottom: 16px;
	}
	.doc-section p {
		color: #374151;
		line-height: 1.8;
		font-size: 0.95rem;
		margin-bottom: 12px;
	}
	.doc-section ul {
		color: #374151;
		line-height: 1.8;
		font-size: 0.95rem;
		padding-left: 20px;
	}
	.doc-section ul li { margin-bottom: 6px; }
	.update-badge {
		display: inline-block;
		background: #eff6ff;
		color: #2563eb;
		border: 1px solid #bfdbfe;
		border-radius: 6px;
		padding: 4px 12px;
		font-size: 0.8rem;
		font-weight: 500;
	}
	.toc {
		background: #f1f5f9;
		border-radius: 12px;
		padding: 24px 28px;
		margin-bottom: 40px;
	}
	.toc h3 { font-size: 0.9rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
	.toc a { color: #2563eb; text-decoration: none; font-size: 0.88rem; display: block; padding: 3px 0; }
	.toc a:hover { text-decoration: underline; }
	
	.navbar{
		padding-top:10px;
		padding-bottom:10px;
	}
	
/* PÁGINAS LEGALES (Términos, Privacidad, SLA) */

/* Variables por documento - se sobreescriben con clase en <body> */
body.doc-terminos    { --doc-color1: #1e3a5f; --doc-color2: #2563eb; --doc-toc-link: #2563eb; --doc-badge-bg: #eff6ff; --doc-badge-color: #2563eb; --doc-badge-border: #bfdbfe; }
body.doc-privacidad  { --doc-color1: #064e3b; --doc-color2: #059669; --doc-toc-link: #059669; --doc-badge-bg: #f0fdf4; --doc-badge-color: #059669; --doc-badge-border: #6ee7b7; }
body.doc-sla         { --doc-color1: #1e1b4b; --doc-color2: #4f46e5; --doc-toc-link: #4f46e5; --doc-badge-bg: #eef2ff; --doc-badge-color: #4f46e5; --doc-badge-border: #c7d2fe; }

/* Header del documento */
.doc-header {
    background: linear-gradient(135deg, var(--doc-color1) 0%, var(--doc-color2) 100%);
    color: white;
    padding: 80px 0 40px;
}
.doc-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.doc-header p   { opacity: 0.85; font-size: 0.95rem; }

/* Contenido */
.doc-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.doc-section { margin-bottom: 40px; }
.doc-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--doc-color1);
    border-left: 4px solid var(--doc-color2);
    padding-left: 12px;
    margin-bottom: 16px;
}
.doc-section p {
    color: #374151;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.doc-section ul {
    color: #374151;
    line-height: 1.8;
    font-size: 0.95rem;
    padding-left: 20px;
}
.doc-section ul li { margin-bottom: 6px; }

/* Badge de actualización */
.update-badge {
    display: inline-block;
    background: var(--doc-badge-bg);
    color: var(--doc-badge-color);
    border: 1px solid var(--doc-badge-border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Tabla de contenidos */
.toc {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 40px;
}
.toc h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.toc a {
    color: var(--doc-toc-link);
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    padding: 3px 0;
}
.toc a:hover { text-decoration: underline; }

/* Info card (Política de Privacidad) */
.info-card {
    background: #f0fdf4;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}
.info-card .label { font-size: 0.8rem; color: #059669; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.info-card .value { font-size: 0.95rem; color: #1f2937; font-weight: 500; }

/* SLA - Disponibilidad */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--doc-color1), var(--doc-color2));
    color: white;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 8px 0 24px;
}
.availability-badge small { font-size: 0.85rem; font-weight: 400; opacity: 0.8; }

/* SLA - Tabla de incidentes */
.incident-table { border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; }
.incident-table th {
    background: var(--doc-color1);
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
}
.incident-table td { padding: 12px 16px; font-size: 0.9rem; vertical-align: middle; }
.incident-table tr:nth-child(even) td { background: #f8fafc; }
.badge-critico { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-alto    { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-medio   { background: #fefce8; color: #ca8a04; border: 1px solid #fde68a; padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-bajo    { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; padding: 4px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }

/* SLA - Horario */
.schedule-card {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
}
.schedule-card .time { font-size: 1.4rem; font-weight: 700; color: var(--doc-color1); }
.schedule-card .day  { font-size: 0.85rem; color: var(--doc-color2); font-weight: 600; }
