/* =============================================
   TuTorneo.com.mx - Estilos Principales
   Colores: #001a47 (primario) | #1b75fc (secundario)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Caveat+Brush&display=swap');

/* =============================================
   Variables CSS
   ============================================= */
:root {
    --color-primary: #001a47;
    --color-secondary: #1b75fc;
    --color-primary-light: #002b72;
    --color-secondary-light: #4d97ff;
    --color-secondary-dark: #1560d4;
    --color-accent: #00d4ff;
    --color-white: #ffffff;
    --color-light: #f0f4ff;
    --color-gray: #6c757d;
    --color-dark-gray: #343a40;
    --color-text: #2d3748;
    --color-text-muted: #718096;
    --gradient-primary: linear-gradient(135deg, #001a47 0%, #002b72 50%, #1b75fc 100%);
    --gradient-secondary: linear-gradient(135deg, #1b75fc 0%, #4d97ff 100%);
    --gradient-hero: linear-gradient(135deg, #001a47 0%, #003080 40%, #1b75fc 100%);
    --shadow-sm: 0 2px 8px rgba(0, 26, 71, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 26, 71, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 26, 71, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 26, 71, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Caveat Brush', cursive;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.7;
}

/* =============================================
   Bootstrap Overrides
   ============================================= */
.btn-primary {
    background: var(--gradient-secondary) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(27, 117, 252, 0.4) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(27, 117, 252, 0.5) !important;
    background: linear-gradient(135deg, #1560d4 0%, #1b75fc 100%) !important;
}

.btn-outline-primary {
    border-color: var(--color-secondary) !important;
    color: var(--color-secondary) !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-outline-primary:hover {
    background: var(--color-secondary) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(27, 117, 252, 0.4) !important;
}

.btn-light {
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-light:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

/* =============================================
   Navbar
   ============================================= */
.navbar-tutorneo {
    background: rgba(0, 26, 71, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(27, 117, 252, 0.2);
}

.navbar-tutorneo.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 26, 71, 0.3);
}

.navbar-brand img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

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

.navbar-tutorneo .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-tutorneo .nav-link:hover,
.navbar-tutorneo .nav-link.active {
    color: var(--color-white) !important;
    background: rgba(27, 117, 252, 0.15);
}

.navbar-tutorneo .nav-link i {
    color: var(--color-secondary-light);
    margin-right: 6px;
}

.navbar-toggler {
    border-color: rgba(27, 117, 252, 0.5) !important;
    padding: 6px 12px;
}

.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(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(27, 117, 252, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(27, 117, 252, 0.15);
    animation: float-particle 8s infinite ease-in-out;
}

.hero-particle:nth-child(1) { width: 300px; height: 300px; top: -100px; right: -100px; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 200px; height: 200px; bottom: 10%; left: -80px; animation-delay: 2s; }
.hero-particle:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 15%; animation-delay: 4s; }
.hero-particle:nth-child(4) { width: 100px; height: 100px; top: 60%; left: 20%; animation-delay: 1s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 117, 252, 0.2);
    border: 1px solid rgba(27, 117, 252, 0.4);
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--color-secondary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease both;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeInDown 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin: 0 auto 40px;
    animation: fadeInDown 0.8s ease 0.3s both;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInDown 0.8s ease 0.4s both;
}

.btn-hero-primary {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 6px 30px rgba(27, 117, 252, 0.5);
    cursor: pointer;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(27, 117, 252, 0.6);
    color: white;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* =============================================
   Stats Counter Section
   ============================================= */
.stats-section {
    padding: 0 0 60px;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px 30px;
    margin-top: -80px;
    border: 1px solid rgba(27, 117, 252, 0.1);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(27, 117, 252, 0.3), transparent);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   Sections General
   ============================================= */
section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(27, 117, 252, 0.1);
    color: var(--color-secondary);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-display {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =============================================
   About Section
   ============================================= */
.about-section {
    background: var(--color-light);
}

.about-content p {
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-image {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: var(--border-radius);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .badge-number {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.about-image-badge .badge-text {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.9;
}

/* =============================================
   Features Section
   ============================================= */
.features-section {
    background: white;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    height: 100%;
    border: 1px solid rgba(27, 117, 252, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon,
.feature-card:hover .feature-title,
.feature-card:hover .feature-desc {
    color: white !important;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.feature-card * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(27, 117, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    transition: var(--transition);
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    transition: var(--transition);
}

/* =============================================
   How It Works Section
   ============================================= */
.how-section {
    background: var(--color-light);
}

.step-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    height: 100%;
    border: 1px solid rgba(27, 117, 252, 0.08);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 117, 252, 0.2);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(27, 117, 252, 0.4);
}

.step-icon {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
    display: block;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(27, 117, 252, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.cta-decoration-1 {
    width: 400px;
    height: 400px;
    background: white;
    top: -200px;
    right: -100px;
}

.cta-decoration-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -150px;
    left: -50px;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* =============================================
   Blog Section
   ============================================= */
.blog-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(27, 117, 252, 0.08);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(27, 117, 252, 0.2);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-card-meta span {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--color-secondary);
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--color-secondary-dark);
    gap: 10px;
}

/* =============================================
   Privacy Policy Page
   ============================================= */
.page-header-section {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(27, 117, 252, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.page-header-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-header-breadcrumb {
    position: relative;
    z-index: 2;
}

.page-header-breadcrumb .breadcrumb-item,
.page-header-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.page-header-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
}

.page-header-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.privacy-content {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 117, 252, 0.08);
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.privacy-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 36px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-content h2 i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.privacy-content p {
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}

.privacy-content ul {
    color: var(--color-text-muted);
    line-height: 1.9;
    padding-left: 20px;
}

.privacy-content ul li {
    margin-bottom: 8px;
}

.privacy-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 117, 252, 0.08);
    border: 1px solid rgba(27, 117, 252, 0.2);
    border-radius: var(--border-radius);
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 32px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.footer-brand .footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-secondary-light);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--color-secondary-light);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 50px 0 30px;
}

.footer-bottom {
    padding-bottom: 30px;
}

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

.footer-bottom a {
    color: var(--color-secondary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* =============================================
   Modals
   ============================================= */
.modal-content {
    border: none;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--gradient-hero);
    border: none;
    padding: 24px 30px;
}

.modal-title {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(27, 117, 252, 0.1);
    background: rgba(0, 26, 71, 0.02);
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.form-control {
    border-color: rgba(27, 117, 252, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.93rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(27, 117, 252, 0.12);
}

.input-group-text {
    background: rgba(27, 117, 252, 0.06);
    border-color: rgba(27, 117, 252, 0.2);
    color: var(--color-secondary);
}

/* =============================================
   Blog Page
   ============================================= */
.blog-page-section {
    padding: 80px 0;
}

.blog-page-header {
    margin-bottom: 50px;
}

.blog-search-bar {
    position: relative;
    max-width: 500px;
}

.blog-search-bar input {
    border-radius: 50px;
    padding: 12px 24px;
    border-color: rgba(27, 117, 252, 0.2);
    padding-right: 50px;
}

.blog-search-bar input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(27, 117, 252, 0.1);
}

.blog-search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(27, 117, 252, 0.2);
    color: var(--color-secondary);
    background: white;
}

.blog-category-pill:hover,
.blog-category-pill.active {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.blog-featured-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 117, 252, 0.08);
    transition: var(--transition);
    margin-bottom: 40px;
}

.blog-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-featured-img {
    height: 350px;
    overflow: hidden;
}

.blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-img img {
    transform: scale(1.05);
}

.blog-featured-body {
    padding: 36px;
}

.blog-featured-tag {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50px;
    padding: 4px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blog-featured-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.blog-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-featured-title a:hover {
    color: var(--color-secondary);
}

/* =============================================
   Pagination
   ============================================= */
.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    color: var(--color-secondary);
    border-color: rgba(27, 117, 252, 0.2);
    padding: 8px 14px;
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-secondary);
    border-color: var(--color-secondary);
}

/* =============================================
   Scroll To Top Button
   ============================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(27, 117, 252, 0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(27, 117, 252, 0.5);
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Utility Classes
   ============================================= */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary-custom {
    background: var(--color-primary) !important;
}

.bg-secondary-custom {
    background: var(--color-secondary) !important;
}

.bg-gradient-primary-custom {
    background: var(--gradient-primary) !important;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(27, 117, 252, 0.3), transparent);
    margin: 20px 0;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 26, 71, 0.98);
        border-radius: var(--border-radius);
        padding: 16px;
        margin-top: 12px;
    }

    .hero-content {
        padding: 120px 0 60px;
        text-align: center;
    }

    .about-image {
        margin-top: 40px;
    }

    .stats-card {
        margin-top: -50px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .privacy-content {
        padding: 30px 24px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .blog-featured-body {
        padding: 24px;
    }

    .blog-featured-title {
        font-size: 1.4rem;
    }

    .footer {
        padding-top: 50px;
    }
}

/* =============================================
   Formulario de Registro — Estados de Validación
   jQuery Validation + Bootstrap input-group-text
   ============================================= */

/* ── Campo INVÁLIDO ─────────────────────────── */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;  /* quita el ícono de Bootstrap */
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.18) !important;
    color: #842029;
}

/* ── input-group-text junto a campo INVÁLIDO ── */
.input-group-text.igt-invalid {
    background-color: #fce8ea !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    transition: all 0.25s ease;
}

.input-group-text.igt-invalid i {
    color: #dc3545 !important;
}

/* ── Campo VÁLIDO ───────────────────────────── */
.form-control.is-valid {
    border-color: #198754 !important;
    background-image: none !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15) !important;
}

/* ── input-group-text junto a campo VÁLIDO ──── */
.input-group-text.igt-valid {
    background-color: #d1fae5 !important;
    border-color: #198754 !important;
    color: #198754 !important;
    transition: all 0.25s ease;
}

.input-group-text.igt-valid i {
    color: #198754 !important;
}

/* ── Transición suave en input-group-text ───── */
.input-group-text {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* ── Mensajes de error de jQuery Validate ───── */
.invalid-feedback.d-block {
    font-size: 0.82rem;
    margin-top: 4px;
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.invalid-feedback.d-block::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
}

/* ── URL check feedback ─────────────────────── */
.url-check-feedback {
    font-size: 0.83rem;
    min-height: 1.2em;
    transition: all 0.2s ease;
    margin-top: 4px !important;
}

/* ── Checkbox inválido ──────────────────────── */
.form-check-input.is-invalid ~ .invalid-feedback.d-block {
    margin-top: 2px;
}

/* ── Animación de shake en error de submit ──── */
@keyframes shake-form {
    0%, 100% { transform: translateX(0); }
    15%       { transform: translateX(-6px); }
    30%       { transform: translateX(6px); }
    45%       { transform: translateX(-4px); }
    60%       { transform: translateX(4px); }
    75%       { transform: translateX(-2px); }
    90%       { transform: translateX(2px); }
}

.form-shake {
    animation: shake-form 0.5s ease;
}


/* =============================================
   RECUPERAR CONTRASEÑA — Wizard OTP
   ============================================= */

/* ── Indicador de pasos ──────────────────────── */
.rec-steps {
    padding: 0 8px;
}

.rec-step {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            4px;
    position:       relative;
}

.rec-step-num {
    width:           32px;
    height:          32px;
    border-radius:   50%;
    background:      #e2e8f0;
    color:           #a0aec0;
    font-size:       13px;
    font-weight:     700;
    display:         flex;
    align-items:     center;
    justify-content: center;
    transition:      all .3s ease;
}

.rec-step-label {
    font-size:   10px;
    color:       #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition:  all .3s ease;
}

.rec-step.active .rec-step-num {
    background:  linear-gradient(135deg, #001a47, #1b75fc);
    color:       #fff;
    box-shadow:  0 0 0 4px rgba(27,117,252,.15);
}

.rec-step.active .rec-step-label {
    color: #1b75fc;
}

.rec-step.completed .rec-step-num {
    background:  #28a745;
    color:       #fff;
}

.rec-step.completed .rec-step-label {
    color: #28a745;
}

.rec-step-line {
    width:      48px;
    height:     2px;
    background: #e2e8f0;
    margin-bottom: 16px; /* alinear con círculo */
    transition: background .3s ease;
}

/* ── Inputs OTP ──────────────────────────────── */
.otp-container {
    padding: 4px 0;
}

.otp-input {
    width:        48px !important;
    height:       56px;
    font-size:    1.5rem;
    font-weight:  800;
    text-align:   center;
    border:       2px solid #e2e8f0;
    border-radius: 12px;
    padding:      0;
    color:        #001a47;
    background:   #fff;
    transition:   border-color .2s ease, box-shadow .2s ease, background .2s ease;
    caret-color:  #1b75fc;
}

.otp-input:focus {
    border-color: #1b75fc;
    box-shadow:   0 0 0 3px rgba(27,117,252,.15);
    outline:      none;
    background:   #f0f5ff;
}

.otp-input.filled {
    border-color: #1b75fc;
    background:   #f0f5ff;
}

.otp-input.error-otp {
    border-color: #dc3545;
    background:   #fff5f5;
    animation:    otp-error-pulse .4s ease;
}

@keyframes otp-error-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(220,53,69,.4); }
    100% { box-shadow: 0 0 0 6px rgba(220,53,69,0); }
}

/* Shake del contenedor OTP al fallar */
.otp-shake {
    animation: otp-shake .5s ease;
}

@keyframes otp-shake {
    0%, 100% { transform: translateX(0); }
    15%       { transform: translateX(-8px); }
    30%       { transform: translateX(7px); }
    45%       { transform: translateX(-6px); }
    60%       { transform: translateX(5px); }
    75%       { transform: translateX(-3px); }
    90%       { transform: translateX(2px); }
}

/* ── Ícono de éxito ──────────────────────────── */
.rec-success-icon {
    font-size:  72px;
    color:      #28a745;
    animation:  rec-success-pop .5s cubic-bezier(.175, .885, .32, 1.275);
}

@keyframes rec-success-pop {
    0%   { transform: scale(0); opacity: 0; }
    80%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 400px) {
    .otp-input {
        width:     40px !important;
        height:    48px;
        font-size: 1.25rem;
    }
    .otp-container {
        gap: .4rem !important;
    }
    .rec-step-line {
        width: 32px;
    }
}
