/* ============================================================
   RESET Y VARIABLES GLOBALES
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0b0d15;
    --bg-secondary: #12141f;
    --bg-card: #1a1d2e;
    --bg-card-hover: #23273e;
    --text-primary: #f0f2ff;
    --text-secondary: #a8b0d4;
    --text-muted: #6b739c;
    --accent-1: #7c3aed;
    --accent-2: #ec4899;
    --accent-3: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #7c3aed, #ec4899);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --radius: 20px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   BARRA DE DESPLAZAMIENTO PERSONALIZADA
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-2);
}

/* ============================================================
   UTILIDADES REUTILIZABLES
   ============================================================ */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-3);
    background: rgba(6, 182, 212, 0.12);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}
.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: transparent;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-1);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
}

/* ============================================================
   NAVBAR FIJA
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 13, 21, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.logo span {
    font-weight: 300;
    -webkit-text-fill-color: var(--text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}
.nav-links a:hover {
    color: #fff;
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 20px;
}
.nav-social a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-social a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
}
.hero-bg-glow.g1 {
    top: -200px;
    right: -100px;
    background: var(--accent-1);
}
.hero-bg-glow.g2 {
    bottom: -200px;
    left: -100px;
    background: var(--accent-2);
    opacity: 0.15;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-3);
    margin-bottom: 24px;
}
.hero-content .badge i {
    font-size: 0.7rem;
    color: #34d399;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
}
.hero-content h1 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}
.hero-stats .stat h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stats .stat p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
}
.hero-avatar-wrapper .ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.2);
    animation: spin 20s linear infinite;
}
.hero-avatar-wrapper .ring:nth-child(2) {
    inset: -24px;
    border-color: rgba(236, 72, 153, 0.15);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-avatar {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.hero-avatar .avatar-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.2), transparent 70%);
}

.hero-avatar .live-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ef4444;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}
.hero-avatar .live-badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.6);
    }
}

/* ============================================================
   FLOATING SOCIAL
   ============================================================ */
.floating-social {
    position: fixed;
    left: 24px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 100;
}
.floating-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.floating-social a:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    border-color: var(--accent-1);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .about-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
}
.about-image .about-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}
.about-image .about-card .emoji-big {
    font-size: 3rem;
    margin-bottom: 12px;
}
.about-image .about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.about-image .about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.about-image .about-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.about-image .about-card .tags span {
    background: rgba(124, 58, 237, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-3);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.about-text .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}
.about-text .about-features .feat {
    background: var(--bg-card);
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.about-text .about-features .feat:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}
.about-text .about-features .feat i {
    font-size: 1.6rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.about-text .about-features .feat h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.about-text .about-features .feat p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================================
   ABOUT DEEP
   ============================================================ */
.about-deep {
    padding: 100px 0;
    background: var(--bg-primary);
}

.about-deep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-deep-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}
.about-deep-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
}
.about-deep-content .highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}
.about-deep-content .highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    list-style: none;
}
.about-deep-content .highlights li i {
    color: var(--accent-3);
    font-size: 1.2rem;
    width: 24px;
}

.about-deep-image video {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
}

/* ============================================================
   HOBBIES
   ============================================================ */
.hobbies {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.hobby-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}
.hobby-card:hover::before {
    opacity: 1;
}
.hobby-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.15);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hobby-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-1);
    margin-bottom: 20px;
}
.hobby-card .hobby-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}
.hobby-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.hobby-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.hobby-card .learn-more {
    color: var(--accent-3);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.hobby-card .learn-more:hover {
    gap: 12px;
    color: #fff;
}

/* ============================================================
   BLOG SECTION (slider y grid)
   ============================================================ */
.blog-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.blog-slider .swiper {
    padding-bottom: 50px;
}
.blog-slider .swiper-slide {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    height: auto;
}
.blog-slider .swiper-slide:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.blog-slider .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-slider .slide-content {
    padding: 24px 28px 28px;
}
.blog-slider .slide-content .date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
}
.blog-slider .slide-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.blog-slider .slide-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}
.blog-slider .slide-content h3 a:hover {
    color: var(--accent-3);
}
.blog-slider .slide-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.blog-slider .slide-content .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-slider .slide-content .tags span {
    background: rgba(124, 58, 237, 0.12);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-3);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.swiper-pagination-bullet {
    background: var(--text-muted);
}
.swiper-pagination-bullet-active {
    background: var(--accent-1);
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-1);
}

@media (max-width: 600px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card .blog-body {
    padding: 24px 28px 28px;
}
.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.blog-card .blog-meta i {
    margin-right: 4px;
}
.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.blog-card h3 a {
    color: var(--text-primary);
    transition: var(--transition);
}
.blog-card h3 a:hover {
    color: var(--accent-3);
}
.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.blog-card .read-more {
    color: var(--accent-3);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.blog-card .read-more:hover {
    gap: 12px;
    color: #fff;
}

.blog-actions {
    text-align: center;
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.schedule-item {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.schedule-item:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: var(--bg-card-hover);
}
.schedule-item .day {
    font-weight: 700;
    font-size: 1rem;
    min-width: 80px;
}
.schedule-item .time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status.live {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.status.soon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.15);
}
.status.off {
    background: rgba(107, 115, 156, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(107, 115, 156, 0.1);
}

.schedule-info {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.schedule-info img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}
.schedule-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.schedule-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.schedule-info .timezone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-3);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-flex {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.contact-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-text {
    flex: 1;
    min-width: 0;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}
.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-info .contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info .contact-item span,
.contact-info .contact-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.contact-info .contact-item a {
    text-decoration: none;
    transition: var(--transition);
}
.contact-info .contact-item a:hover {
    color: var(--accent-3);
}

.contact-social-icons {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.contact-social-icons a {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-social-icons a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-1);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--bg-primary);
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}
.footer .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer .footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}
.footer .footer-links a:hover {
    color: #fff;
}
.footer .socials {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer .socials a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer .socials a:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   PÁGINAS LEGALES (aviso, privacidad, cookies)
   ============================================================ */
.legal-header {
    padding: 20px 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 30px;
    padding-top: 100px;
}
.legal-header h1 {
    font-size: 2.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.legal-header .sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-body h2 {
    font-size: 1.5rem;
    margin: 30px 0 12px;
    color: var(--text-primary);
}
.legal-body h3 {
    font-size: 1.2rem;
    margin: 20px 0 8px;
    color: var(--text-secondary);
}
.legal-body p,
.legal-body li {
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.legal-body ul {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-body a {
    color: var(--accent-3);
    text-decoration: none;
    transition: var(--transition);
}
.legal-body a:hover {
    color: #fff;
}
.legal-body table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-secondary);
}
.legal-body th,
.legal-body td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}
.legal-body th {
    font-weight: 700;
}
.btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}
.btn-back:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(124, 58, 237, 0.5);
}
.footer-legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-legal a {
    color: var(--accent-3);
    text-decoration: none;
}
.footer-legal a:hover {
    color: #fff;
}

/* ============================================================
   POST (página de artículo)
   ============================================================ */
.post-header {
    padding: 20px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 30px;
    padding-top: 100px;
}
.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.post-header .meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.post-header .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 0;
}
.post-header .tags span {
    background: rgba(124, 58, 237, 0.12);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-3);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.post-body {
    padding: 10px 0 30px;
}
.post-body h2 {
    font-size: 1.8rem;
    margin: 30px 0 12px;
    color: var(--text-primary);
}
.post-body h3 {
    font-size: 1.4rem;
    margin: 24px 0 10px;
    color: var(--text-primary);
}
.post-body p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.post-body ul,
.post-body ol {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}
.post-body blockquote {
    border-left: 4px solid var(--accent-1);
    padding-left: 20px;
    margin: 20px 0;
    color: #c4cce6;
    font-style: italic;
}
.post-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}
.post-body pre {
    background: var(--bg-card);
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    color: var(--text-secondary);
}
.post-body code {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9em;
}
.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-avatar-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-deep-grid {
        grid-template-columns: 1fr;
    }
    .schedule-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .floating-social {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.04);
        align-items: flex-start;
    }
    .nav-links.open {
        right: 0;
    }
    .nav-social {
        margin-left: 0;
        margin-top: 20px;
    }
    .hamburger {
        display: flex;
    }

    .about-text .about-features {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer .footer-links {
        justify-content: center;
    }

    .contact-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-img {
        max-width: 180px;
    }
    .contact-item {
        justify-content: center;
    }
    .contact-social-icons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 0;
    }

    .navbar {
        padding: 10px 0 !important;
    }
    .navbar.scrolled {
        padding: 8px 0 !important;
    }

    .hero {
        padding-top: 90px !important;
    }

    .blog-header,
    .legal-header,
    .post-header {
        padding-top: 90px !important;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    .hero-avatar-wrapper {
        max-width: 220px;
    }
    .hero-avatar .live-badge {
        font-size: 0.6rem;
        padding: 4px 12px;
        bottom: 8px;
        right: 8px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .contact-form {
        padding: 24px;
    }
    .schedule-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .contact-img {
        max-width: 100%;
    }
    .legal-header h1 {
        font-size: 1.8rem;
    }
    .post-header h1 {
        font-size: 1.8rem;
    }
    .post-body h2 {
        font-size: 1.4rem;
    }
    .post-body h3 {
        font-size: 1.2rem;
    }
    .post-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .post-footer .btn {
        justify-content: center;
    }
}

/* ============================================================
   PARCHE: botones en páginas legales con color blanco
   ============================================================ */
.legal-body a.btn-outline {
    color: var(--text-primary);
}
.legal-body a.btn {
    color: #fff;
}

/* ============================================================
   ESTILO PARA ENLACES DE WHATSAPP Y TELEGRAM EN FOOTER Y CONTACTO
   ============================================================ */
.footer .container a[href*="whatsapp"]:hover,
.footer .container a[href*="telegram"]:hover,
.contact-info a[href*="whatsapp"]:hover,
.contact-info a[href*="telegram"]:hover {
    color: #fff !important;
    transform: translateY(-2px);
}