@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:      #001828;
    --deep:      #002a44;
    --ocean:     #0077be;
    --teal:      #009aaa;
    --cyan:      #00c4d8;
    --green:     #00a86b;
    --white:     #ffffff;
    --off-white: #f0f8ff;
    --text:      #1a2a3a;
    --muted:     #5a7a9a;
    --border:    rgba(0,120,190,0.15);
    --radius:    16px;
    --radius-sm: 10px;
    --shadow:    0 4px 24px rgba(0,40,80,0.12);
    --shadow-lg: 0 12px 48px rgba(0,40,80,0.18);
    --font:      'Nunito', sans-serif;
    --header-h:  72px;

    /* Theme Variables */
    --bg: var(--off-white);
    --text-color: var(--text);
    --card-bg: var(--white);
    --sidebar-bg: var(--white);
    --input-bg: var(--white);
    --header-blur-bg: rgba(255, 255, 255, 0.4);
    --header-scroll-bg: rgba(255, 255, 255, 0.75);
    --header-menu-bg: rgba(255, 255, 255, 0.85);
    --header-border: rgba(0, 0, 0, 0.1);
    --header-text: var(--navy);
    --footer-bg: var(--navy);
    --footer-bg-glass: rgba(255, 255, 255, 0.15);
}

body.dark-mode {
    --bg: #001828;
    --text-color: #f0f8ff;
    --card-bg: #002a44;
    --sidebar-bg: #001828;
    --input-bg: rgba(0, 10, 20, 0.4);
    --header-blur-bg: rgba(0, 15, 30, 0.7);
    --header-scroll-bg: rgba(0, 10, 20, 0.9);
    --header-menu-bg: rgba(0, 15, 30, 0.95);
    --header-border: rgba(255, 255, 255, 0.1);
    --header-text: #f0f8ff;
    --border: rgba(255, 255, 255, 0.12);
    --muted: rgba(255, 255, 255, 0.5);
    --navy: #000a14;
    --deep: #001020;
    --footer-bg-glass: rgba(0, 10, 20, 0.8);
    
    /* Glassmorphism en modo oscuro */
    --glass-bg: rgba(0, 26, 44, 0.6);
    --glass-border: rgba(0, 119, 190, 0.2);
    --silver-hover: rgba(0, 119, 190, 0.35);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.hy-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--navy);
    height: var(--header-h);
    transition: box-shadow .3s;
}
.hy-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hy-nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex; align-items: center; gap: 2rem;
}
.hy-logo { display: flex; align-items: center; flex-shrink: 0; }
.hy-logo-img { height: 44px; width: auto; object-fit: contain; }
.stylized-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #fff; /* Fondo blanco por si el jpg tiene transparencias o espacios */
}

.hy-nav {
    display: flex; align-items: center; gap: 0.3rem;
    flex: 1;
}
.hy-nav-link {
    padding: 6px 14px; border-radius: 50px;
    font-size: .9rem; font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.hy-nav-link:hover  { background: rgba(255,255,255,0.1); color: #fff; }
.hy-nav-link.hy-active { background: rgba(0,180,220,0.2); color: var(--cyan); }

.hy-nav-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }

.hy-user-profile {
    display: flex; align-items: center; gap: .6rem;
    background: rgba(0, 180, 220, 0.15);
    border: 1px solid rgba(0, 200, 240, 0.3);
    padding: 6px 14px; border-radius: 50px;
    font-size: .85rem; font-weight: 700;
}

.hy-profile-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    background: linear-gradient(135deg, #0077be, #00b4d8);
    border-radius: 50%;
    color: #fff; font-size: 1.2rem;
}

.hy-username {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hy-user-chip {
    font-size: .82rem; font-weight: 700;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    padding: 5px 12px; border-radius: 50px;
}
.hy-btn-outline {
    padding: 8px 18px; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff; font-weight: 700; font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
}
.hy-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hy-btn-solid {
    padding: 8px 20px; border-radius: 50px;
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    color: #fff; font-weight: 800; font-size: .85rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.hy-btn-solid:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,150,200,0.4); }

/* Hamburger */
.hy-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px; margin-left: auto;
}
.hy-hamburger span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all .3s;
}
.hy-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hy-hamburger.open span:nth-child(2) { opacity: 0; }
.hy-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.hy-mobile-menu {
    display: none; flex-direction: column;
    background: #001020;
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.hy-mobile-menu.open { display: flex; }
.hy-mobile-menu a {
    color: rgba(255,255,255,0.8); text-decoration: none;
    font-weight: 700; padding: .6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: .95rem;
}
.hy-mobile-menu a:last-child { border-bottom: none; }

/* ── MAIN ── */
.hy-main {
    min-height: calc(100vh - var(--header-h));
}

/* Secciones con contenedor centrado */
.hy-section {
    max-width: 1280px; margin: 0 auto;
    padding: 4rem 2rem;
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hy-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, #003a5c 50%, #004d6e 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}
.hy-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(0,150,200,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(0,100,160,0.15) 0%, transparent 50%);
}
.hy-hero-content {
    position: relative; z-index: 1;
    padding: 2rem 3rem 2rem 5rem;
    max-width: 640px;
}
.hy-hero-tag {
    display: inline-block;
    background: rgba(0,180,220,0.18);
    border: 1px solid rgba(0,200,240,0.3);
    color: var(--cyan); font-weight: 800;
    font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 16px; border-radius: 50px;
    margin-bottom: 1.2rem;
}
.hy-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900; color: var(--text-color);
    line-height: 1.15; margin-bottom: 1.2rem;
    letter-spacing: -.5px;
}
.hy-hero-accent {
    background: linear-gradient(135deg, var(--cyan), var(--green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hy-hero-sub {
    font-size: 1.05rem; color: var(--text-color); opacity: 0.8;
    line-height: 1.7; margin-bottom: 2rem; max-width: 480px;
}
.hy-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hy-cta-primary {
    display: inline-block; padding: 13px 28px;
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    color: #fff; font-weight: 800; font-size: .95rem;
    border-radius: 50px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(0,120,200,0.35);
}
.hy-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,150,200,0.45); }

.hy-cta-secondary {
    display: inline-block; padding: 12px 26px;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff; font-weight: 800; font-size: .95rem;
    border-radius: 50px; text-decoration: none;
    transition: all .2s;
}
.hy-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.hy-hero-visual {
    position: relative; z-index: 1;
    padding: 2rem 5rem 2rem 2rem;
    display: flex; justify-content: center;
}
.hy-hero-img-wrap {
    position: relative; border-radius: 24px; overflow: visible;
}
.hy-hero-img-wrap img {
    width: 100%; max-width: 480px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: cover; aspect-ratio: 4/3;
}
.hy-hero-img-badge {
    position: absolute; bottom: -16px; right: -16px;
    background: var(--navy);
    border: 2px solid rgba(0,200,220,0.3);
    border-radius: 16px; padding: 12px 18px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hy-hero-img-badge span { font-size: 1.8rem; }
.hy-hero-img-badge p { color: rgba(255,255,255,0.85); font-weight: 700; font-size: .85rem; }

/* ════════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════════ */
.hy-stats {
    background: var(--ocean);
    padding: 2rem 0;
}
.hy-stats-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 2rem;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.hy-stat {
    text-align: center; padding: 1rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.hy-stat:last-child { border-right: none; }
.hy-stat-num  { font-size: 2rem; font-weight: 900; color: #fff; }
.hy-stat-label{ font-size: .82rem; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 4px; }

/* ════════════════════════════════════════════════════════════
   SECCIÓN GENÉRICA
════════════════════════════════════════════════════════════ */
.hy-section {
    max-width: 1280px; margin: 0 auto;
    padding: 4rem 2rem;
}
.hy-section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 2rem;
}
.hy-section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900; color: var(--header-text);
    letter-spacing: -.5px;
}
.hy-link-more {
    font-weight: 800; font-size: .9rem;
    color: var(--ocean); text-decoration: none;
    transition: color .2s;
}
.hy-link-more:hover { color: var(--teal); }

/* ════════════════════════════════════════════════════════════
   CAROUSEL
════════════════════════════════════════════════════════════ */
.hy-carousel {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hy-carousel-slide {
    position: relative; height: 420px;
}
.hy-carousel-slide img {
    width: 100%; height: 100%; object-fit: cover;
}
.hy-carousel-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,10,30,0.88));
    padding: 3rem 2.5rem 2rem;
    color: #fff;
}
.hy-carousel-caption h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: .5rem; }
.hy-carousel-caption p  { font-size: .95rem; opacity: .85; margin-bottom: 1.2rem; }

.hy-cta-white {
    display: inline-block; padding: 9px 22px;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff; font-weight: 800; font-size: .85rem;
    border-radius: 50px; text-decoration: none;
    transition: background .2s;
}
.hy-cta-white:hover { background: rgba(255,255,255,0.15); }

.hy-carousel-controls {
    background: var(--navy);
    padding: .8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.hy-carousel-dots { display: flex; gap: .5rem; }
.hy-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background .2s;
}
.hy-dot.active { background: var(--cyan); }
.hy-carousel-arrows { display: flex; gap: .5rem; }
.hy-arrow {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background .2s;
}
.hy-arrow:hover { background: var(--ocean); }

/* ════════════════════════════════════════════════════════════
   EXPLORE GRID
════════════════════════════════════════════════════════════ */
.hy-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.hy-explore-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    text-decoration: none; color: var(--text-color);
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.hy-explore-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
}
.hy-explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,40,80,0.18);
}
.hy-explore-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.hy-explore-card h3 { font-size: 1.2rem; font-weight: 900; color: var(--header-text); margin-bottom: .5rem; }
.hy-explore-card p  { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }
.hy-explore-link    { font-size: .85rem; font-weight: 800; color: var(--ocean); }

/* ════════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════════ */
.hy-cta-section {
    background: linear-gradient(135deg, var(--navy), #004466);
    margin: 0; padding: 4rem 2rem;
}
.hy-cta-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.hy-cta-text h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: .5rem; }
.hy-cta-text p  { color: rgba(255,255,255,0.7); max-width: 500px; }
.hy-cta-btns    { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   POSTS GRID (artículos)
════════════════════════════════════════════════════════════ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem; margin: 2rem 0;
}
.post-card {
    background: var(--card-bg); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card img   { width: 100%; height: 200px; object-fit: cover; }
.post-content    { padding: 1.4rem; }
.post-category {
    display: inline-block; padding: 3px 12px;
    background: rgba(0,120,190,0.1); color: var(--ocean);
    border-radius: 50px; font-size: .75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: .6rem;
}
.post-title {
    font-size: 1.1rem; font-weight: 900;
    color: var(--header-text); margin-bottom: .6rem; line-height: 1.3;
}
.post-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.post-meta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    font-size: .82rem; color: var(--muted); margin-bottom: 1rem;
}
.read-more-btn {
    display: inline-block; padding: 8px 18px;
    background: var(--ocean); color: #fff;
    border-radius: 50px; font-size: .85rem; font-weight: 800;
    text-decoration: none; border: none; cursor: pointer;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
}
.read-more-btn:hover { 
    background: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 154, 170, 0.4);
}

/* ════════════════════════════════════════════════════════════
   ARTICLE DETAIL
════════════════════════════════════════════════════════════ */
.article-detail {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 2.5rem; box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    margin: 2rem 0;
}
.back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ocean); font-weight: 700; text-decoration: none;
    margin-bottom: 1.5rem; font-size: .9rem;
    transition: color .2s;
}
.back-btn:hover { color: var(--teal); }
.article-detail-img {
    width: 100%; max-height: 420px; object-fit: cover;
    border-radius: var(--radius-sm); margin-bottom: 1.5rem;
}
.article-meta {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    font-size: .88rem; color: var(--muted);
    padding: 1rem 0; border-bottom: 2px solid var(--off-white);
    margin-bottom: 1.5rem;
}
.article-content { line-height: 1.8; font-size: 1rem; color: var(--text-color); }

/* Likes */
.like-form { display: inline-block; margin: 1.5rem 0; }
.like-btn {
    padding: 10px 24px; border-radius: 50px;
    background: rgba(255,60,100,0.1); color: #e0305a;
    border: 1.5px solid rgba(255,60,100,0.3);
    font-family: var(--font); font-weight: 800; font-size: .9rem;
    cursor: pointer; transition: all .2s;
}
.like-btn:hover, .like-btn.liked {
    background: rgba(255,60,100,0.18);
    border-color: rgba(255,60,100,0.5);
}

/* Comentarios */
.comments-section { margin-top: 2rem; }
.comments-section h3 { font-size: 1.2rem; font-weight: 900; color: var(--header-text); margin-bottom: 1.2rem; }
.comment-form textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .95rem; resize: vertical;
    outline: none; margin-bottom: .8rem;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--input-bg);
    color: var(--text-color);
}
.comment-form textarea:focus { 
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.15);
    transform: translateY(-1px);
}
.comments-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.comment {
    background: var(--input-bg); border-radius: var(--radius-sm);
    padding: 1rem 1.2rem; border: 1px solid var(--border);
}
.comment-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .4rem; }
.comment-user   { font-weight: 800; color: var(--ocean); font-size: .9rem; }
.comment-date   { font-size: .78rem; color: var(--muted); }
.comment-text   { font-size: .9rem; color: var(--text-color); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   DASHBOARD
════════════════════════════════════════════════════════════ */
.dashboard-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin: 2rem 0;
}
.dashboard-card {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.dashboard-card h2 { font-size: 1.2rem; font-weight: 900; color: var(--header-text); margin-bottom: 1.5rem; }
.post-item {
    border-bottom: 1.5px solid var(--off-white);
    padding: .9rem 0;
}
.post-item:last-child { border-bottom: none; }
.post-item h3 { font-size: 1rem; font-weight: 700; color: var(--header-text); margin-bottom: .4rem; }
.post-actions { display: flex; gap: .5rem; margin-top: .5rem; }

/* ════════════════════════════════════════════════════════════
   GALERÍA
════════════════════════════════════════════════════════════ */
.gallery-filters { margin-bottom: 2rem; }
.gallery-filter-form { display: flex; gap: 1rem; flex-wrap: wrap; }
.gallery-select {
    padding: 9px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: var(--font);
    font-size: .9rem; background: var(--input-bg); color: var(--text-color);
    outline: none; cursor: pointer;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-select:focus { 
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.15);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    background: var(--card-bg); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    transition: transform .25s;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img   { width: 100%; height: 190px; object-fit: cover; }
.gallery-info { padding: 1rem 1.2rem; }
.gallery-info h3 { font-weight: 800; color: var(--header-text); margin-bottom: .2rem; }
.gallery-info p  { font-size: .85rem; color: var(--muted); font-style: italic; }

/* ════════════════════════════════════════════════════════════
   NOTICIAS
════════════════════════════════════════════════════════════ */
.news-categories { margin-bottom: 2rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.news-category-btn {
    padding: 8px 20px; border-radius: 50px;
    border: 1.5px solid var(--border);
    color: var(--ocean); font-weight: 800; font-size: .88rem;
    text-decoration: none; background: var(--card-bg);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.news-category-btn:hover,
.news-category-btn.active {
    background: var(--ocean); 
    color: #fff; 
    border-color: var(--ocean);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 119, 190, 0.35);
}
.events-grid, .projects-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.event-card, .project-card, .news-article {
    background: var(--card-bg); padding: 1.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.event-date {
    display: inline-block; background: var(--ocean); color: #fff;
    padding: 3px 14px; border-radius: 50px;
    font-size: .78rem; font-weight: 800;
    margin-bottom: 1rem; letter-spacing: .5px;
}
.event-location { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.project-progress {
    background: var(--off-white); border-radius: 50px;
    height: 8px; margin-top: 1rem; overflow: hidden;
}
.progress-bar { background: linear-gradient(90deg, var(--ocean), var(--teal)); height: 100%; border-radius: 50px; }

/* ════════════════════════════════════════════════════════════
   WATCH
════════════════════════════════════════════════════════════ */
.video-thumb {
    position: relative; cursor: pointer; overflow: hidden;
    height: 190px; background: var(--navy);
    transition: transform .3s;
}
.video-thumb:hover { transform: scale(1.02); }
.video-thumb img   { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
}
.video-play-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,119,190,0.85); color: #fff;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; pointer-events: none;
    transition: background .2s, transform .2s;
}
.video-thumb:hover .video-play-icon {
    background: var(--ocean);
    transform: translate(-50%, -50%) scale(1.1);
}
.video-player {
    position: relative; width: 100%; padding-bottom: 56.25%;
    height: 0; margin-bottom: 1.5rem;
    border-radius: var(--radius); overflow: hidden; background: #000;
}
.video-player iframe {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border-radius: var(--radius);
}

/* ════════════════════════════════════════════════════════════
   FORMULARIOS (login/registro — ya tienen su propio CSS inline,
   esto es fallback para dashboard)
════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; font-weight: 700; font-size: .82rem;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .95rem; color: var(--text-color);
    outline: none; background: var(--input-bg);
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(0,120,190,0.1);
}

/* ════════════════════════════════════════════════════════════
   BOTONES Y BUSCADORES GENERALES
════════════════════════════════════════════════════════════ */
.search-input {
    min-width: 240px;
    padding: .75rem 1.2rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--ocean);
    font-size: .95rem;
    font-weight: 700;
    font-family: var(--font);
    outline: none;
    transition: all .2s;
}
.search-input:focus {
    border-color: var(--ocean);
}
.search-input::placeholder {
    color: var(--ocean);
    opacity: 0.6;
}
.btn {
    display: inline-block; padding: 10px 22px;
    background: var(--card-bg); color: var(--ocean);
    border: 1.5px solid var(--border); border-radius: 50px;
    font-family: var(--font); font-weight: 800; font-size: .9rem;
    cursor: pointer; text-decoration: none;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.2);
}
.btn:hover { 
    background: var(--ocean); 
    color: #fff; 
    border-color: var(--ocean); 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 190, 0.35);
}
.btn-small {
    display: inline-block; padding: 5px 14px;
    background: var(--card-bg); color: var(--ocean);
    border: 1.5px solid var(--border);
    border-radius: 50px; font-family: var(--font);
    font-weight: 700; font-size: .8rem; cursor: pointer;
    text-decoration: none; transition: all .2s;
}
.btn-small:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.btn-small.danger {
    background: rgba(220,50,50,0.1); color: #cc3030;
    border-color: rgba(220,50,50,0.2);
}
.btn-small.danger:hover { background: #cc3030; color: #fff; border-color: #cc3030; }

/* ════════════════════════════════════════════════════════════
   ALERTAS
════════════════════════════════════════════════════════════ */
.alert {
    padding: 12px 16px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: .9rem; margin-bottom: 1rem;
}
.alert-success { background: rgba(0,160,100,0.1); color: #006640; border: 1px solid rgba(0,160,100,0.25); }
.alert-error   { background: rgba(200,40,40,0.1);  color: #aa1010; border: 1px solid rgba(200,40,40,0.2); }

/* ════════════════════════════════════════════════════════════
   SECTION TITLE (secciones internas)
════════════════════════════════════════════════════════════ */
.section-title {
    font-size: 1.8rem; font-weight: 900;
    color: var(--header-text); margin: 2rem 0 1.5rem;
    letter-spacing: -.3px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.hy-footer {
    background: var(--navy);
    padding: 4rem 0 0;
    margin-top: 4rem;
}
.hy-footer-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.hy-footer-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.hy-footer-brand p { color: rgba(255,255,255,0.55); font-size: .9rem; line-height: 1.7; }
.hy-footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.hy-footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); transition: all .2s;
}
.hy-footer-social a:hover { background: var(--ocean); color: #fff; }

.hy-footer-col h4 {
    color: #fff; font-weight: 900; font-size: .9rem;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 1rem;
}
.hy-footer-col a, .hy-footer-col p {
    display: block; color: rgba(255,255,255,0.55);
    font-size: .88rem; text-decoration: none;
    margin-bottom: .5rem; transition: color .2s; line-height: 1.6;
}
.hy-footer-col a:hover { color: var(--cyan); }

.hy-ods-badge {
    display: inline-block; margin-top: .8rem;
    background: rgba(0,180,220,0.15);
    border: 1px solid rgba(0,200,240,0.25);
    color: var(--cyan); font-size: .78rem; font-weight: 800;
    padding: 5px 14px; border-radius: 50px;
    letter-spacing: .5px;
}

.hy-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.2rem 2rem;
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: .5rem;
}
.hy-footer-bottom p { color: rgba(255,255,255,0.35); font-size: .82rem; }

/* ════════════════════════════════════════════════════════════
   LOGO
════════════════════════════════════════════════════════════ */
.site-logo { height: 44px; width: auto; object-fit: contain; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hy-hero { grid-template-columns: 1fr; text-align: center; }
    .hy-hero-content { padding: 3rem 2rem; max-width: 100%; }
    .hy-hero-sub { margin: 0 auto 2rem; }
    .hy-hero-actions { justify-content: center; }
    .hy-hero-visual { display: none; }
    .hy-stats-inner { grid-template-columns: repeat(2,1fr); }
    .hy-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hy-nav, .hy-nav-actions { display: none; }
    .hy-hamburger { display: flex; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .hy-cta-inner { flex-direction: column; text-align: center; }
    .hy-cta-btns { justify-content: center; }
    .hy-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hy-footer-bottom { flex-direction: column; text-align: center; }
    .hy-section-header { flex-direction: column; gap: .5rem; }
}
@media (max-width: 480px) {
    .hy-stats-inner { grid-template-columns: repeat(2,1fr); }
    .hy-footer-inner { grid-template-columns: 1fr; }
    .hy-carousel-slide { height: 260px; }
    .hy-hero-content { padding: 2rem 1.2rem; }
}

/* ════════════════════════════════════════════════════════════
   HYDRON REDISEÑO — Clases nuevas hy-*
   Agregadas sobre el CSS existente
════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --navy:      #001828;
    --deep:      #002a44;
    --ocean:     #0077be;
    --teal:      #009aaa;
    --cyan:      #00c4d8;
    --green:     #00a86b;
    --off-white: #f0f8ff;
    --muted:     #5a7a9a;
    --border:    rgba(0,120,190,0.15);
    --navy:      #001828;
    --ocean:     #0077be;
    --cyan:      #00c4d8;
    --text:      #1a2a3a;
    
    /* Nuevas variables Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15); /* Fondo transparentoso */
    --glass-border: rgba(255, 255, 255, 0.4); /* Borde plateado/blanco */
    --glass-blur: blur(12px); /* Efecto de desenfoque */
    --silver-hover: rgba(255, 255, 255, 0.35); /* Botones al pasar el mouse */
    
    --radius:    16px;
    --shadow:    0 8px 32px rgba(0, 40, 80, 0.1);
    --font:      'Nunito', sans-serif;
    --header-h:  72px;
}

body {
    font-family: var(--font);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
}

body { overflow-x: hidden; }

/* ── HEADER ── */
.hy-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--header-blur-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--header-border);
    height: var(--header-h);
    transition: box-shadow .3s;
}
.hy-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hy-nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 2rem; height: 100%;
    display: flex; align-items: center; gap: 2rem;
}
.hy-logo { display: flex; align-items: center; flex-shrink: 0; }
.hy-logo-img { height: 44px; width: auto; object-fit: contain; }
.hy-nav { display: flex; align-items: center; gap: 0.3rem; flex: 1; }
.hy-nav-link {
    padding: 6px 14px; border-radius: 50px;
    font-size: .9rem; font-weight: 700;
    color: var(--header-text); /* Texto adaptable */
    text-decoration: none;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.hy-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: all .25s ease;
    transform: translateX(-50%);
}
.hy-nav-link:hover { 
    background: rgba(0, 180, 220, 0.15); 
    color: var(--cyan);
}
.hy-nav-link:hover::after {
    width: 30%;
}
.hy-nav-link.hy-active { 
    background: rgba(0,180,220,0.2);
    color: var(--cyan);
}
.hy-nav-link.hy-active::after {
    width: 60%;
}
.hy-nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.hy-user-chip {
    font-size: .82rem; font-weight: 700; font-family: var(--font);
    color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08);
    padding: 5px 12px; border-radius: 50px;
}
.hy-btn-outline {
    padding: 8px 18px; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff; font-weight: 700; font-size: .85rem;
    text-decoration: none; transition: all .2s; font-family: var(--font);
}
.hy-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hy-btn-solid, .hy-btn-outline, .hy-cta-primary, .hy-cta-secondary {
    display: inline-block; 
    padding: 10px 24px; 
    border-radius: 50px;
    
    /* Efecto Plateado/Cristal */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    
    color: var(--header-text); /* Letra adaptable */
    font-weight: 800; font-size: .95rem;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.hy-btn-solid:hover, .hy-btn-outline:hover, .hy-cta-primary:hover, .hy-cta-secondary:hover { 
    transform: translateY(-2px); 
    background: var(--silver-hover); 
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4); 
}
.hy-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.hy-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.hy-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hy-hamburger.open span:nth-child(2) { opacity: 0; }
.hy-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.hy-mobile-menu { display: none; flex-direction: column; background: #001020; padding: 1rem 2rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); }
.hy-mobile-menu.open { display: flex; }
.hy-mobile-menu a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 700; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: .95rem; font-family: var(--font); }
.hy-mobile-menu a:last-child { border-bottom: none; }

/* ── MAIN ── */
.hy-main { min-height: calc(100vh - var(--header-h)); background: var(--bg); }

/* ── HERO ── */
.hy-hero {
    position: relative;
    background: transparent; 
    min-height: 560px;display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; overflow: hidden; padding: 4rem 0;
}
.hy-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 80% 20%, rgba(0,150,200,0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 10% 80%, rgba(0,100,160,0.15) 0%, transparent 50%);
}
.hy-hero-content { position: relative; z-index: 1; padding: 2rem 3rem 2rem 5rem; max-width: 640px; }
.hy-hero-tag {
    display: inline-block;
    background: rgba(0,180,220,0.18); border: 1px solid rgba(0,200,240,0.3);
    color: var(--cyan); font-weight: 800; font-size: .78rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 16px; border-radius: 50px; margin-bottom: 1.2rem;
    font-family: var(--font);
}
.hy-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--text-color);
    line-height: 1.15; margin-bottom: 1.2rem; letter-spacing: -.5px;
    font-family: var(--font);
}
.hy-hero-accent {
    background: linear-gradient(135deg, var(--cyan), var(--green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hy-hero-sub { font-size: 1.05rem; color: var(--text-color); opacity: 0.8; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; font-family: var(--font); }
.hy-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hy-cta-primary {
    display: inline-block; padding: 13px 28px;
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    color: #fff; font-weight: 800; font-size: .95rem; font-family: var(--font);
    border-radius: 50px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(0,120,200,0.35);
}
.hy-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,150,200,0.45); }
.hy-cta-secondary {
    display: inline-block; padding: 12px 26px;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff; font-weight: 800; font-size: .95rem; font-family: var(--font);
    border-radius: 50px; text-decoration: none; transition: all .2s;
}
.hy-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hy-hero-visual { position: relative; z-index: 1; padding: 2rem 5rem 2rem 2rem; display: flex; justify-content: center; }
.hy-hero-img-wrap { position: relative; border-radius: 24px; }
.hy-hero-img-wrap img { width: 100%; max-width: 480px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); object-fit: cover; aspect-ratio: 4/3; }
.hy-hero-img-badge {
    position: absolute; bottom: -16px; right: -16px;
    background: var(--navy); border: 2px solid rgba(0,200,220,0.3);
    border-radius: 16px; padding: 12px 18px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hy-hero-img-badge span { font-size: 1.8rem; }
.hy-hero-img-badge p { color: rgba(255,255,255,0.85); font-weight: 700; font-size: .85rem; font-family: var(--font); }

/* ── STATS ── */
.hy-stats { background: var(--ocean); padding: 2rem 0; }
.hy-stats-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
}
.hy-stat { text-align: center; padding: 1rem; border-right: 1px solid rgba(255,255,255,0.2); }
.hy-stat:last-child { border-right: none; }
.hy-stat-num  { font-size: 2rem; font-weight: 900; color: #fff; font-family: var(--font); }
.hy-stat-label{ font-size: .82rem; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 4px; font-family: var(--font); }

/* ── SECCIÓN GENÉRICA ── */
.hy-section { max-width: 1280px; margin: 0 auto; padding: 4rem 2rem; }
.hy-section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; }
.hy-section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: var(--header-text); letter-spacing: -.5px; font-family: var(--font); }
.hy-link-more { font-weight: 800; font-size: .9rem; color: var(--ocean); text-decoration: none; font-family: var(--font); }
.hy-link-more:hover { color: var(--teal); }

/* ── CAROUSEL ── */
.hy-carousel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hy-carousel-slide { position: relative; height: 420px; }
.hy-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.hy-carousel-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,10,30,0.88));
    padding: 3rem 2.5rem 2rem; color: #fff;
}
.hy-carousel-caption h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: .5rem; font-family: var(--font); }
.hy-carousel-caption p  { font-size: .95rem; opacity: .85; margin-bottom: 1.2rem; font-family: var(--font); }
.hy-cta-white {
    display: inline-block; padding: 9px 22px;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff; font-weight: 800; font-size: .85rem; font-family: var(--font);
    border-radius: 50px; text-decoration: none; transition: background .2s;
}
.hy-cta-white:hover { background: rgba(255,255,255,0.15); }
.hy-carousel-controls {
    background: var(--navy); padding: .8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.hy-carousel-dots { display: flex; gap: .5rem; }
.hy-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: background .2s; }
.hy-dot.active { background: var(--cyan); }
.hy-carousel-arrows { display: flex; gap: .5rem; }
.hy-arrow {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: background .2s;
}
.hy-arrow:hover { background: var(--ocean); }

/* ── EXPLORE GRID ── */
.hy-explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; }
.hy-explore-card, .post-card, .dashboard-card, .article-detail {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 40, 80, 0.12);
    border: 1px solid var(--glass-border);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
body.dark-mode .hy-explore-card, body.dark-mode .post-card, body.dark-mode .dashboard-card, body.dark-mode .article-detail {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(0, 26, 44, 0.6);
    border-color: rgba(0, 119, 190, 0.2);
}
.hy-explore-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,var(--c1),var(--c2)); }
.hy-explore-card:hover, .post-card:hover, .dashboard-card:hover, .article-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,40,80,0.22);
    border-color: rgba(0, 180, 220, 0.4);
}
body.dark-mode .hy-explore-card:hover, body.dark-mode .post-card:hover, body.dark-mode .dashboard-card:hover, body.dark-mode .article-detail:hover {
    box-shadow: 0 16px 48px rgba(0, 180, 220, 0.25);
    border-color: rgba(0, 180, 220, 0.5);
}
.hy-explore-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.hy-explore-card h3 { font-size: 1.2rem; font-weight: 900; color: var(--header-text); margin-bottom: .5rem; font-family: var(--font); }
.hy-explore-card p  { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; font-family: var(--font); }
.hy-explore-link { font-size: .85rem; font-weight: 800; color: var(--ocean); font-family: var(--font); }

/* ── CTA SECTION ── */
.hy-cta-section { background: linear-gradient(135deg, var(--navy), #004466); padding: 4rem 2rem; }
.hy-cta-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hy-cta-text h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: .5rem; font-family: var(--font); }
.hy-cta-text p  { color: rgba(255,255,255,0.7); max-width: 500px; font-family: var(--font); }
.hy-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
.hy-footer { background: var(--navy); padding: 4rem 0 0; margin-top: 0; }
.hy-footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem 3rem;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.hy-footer-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.hy-footer-brand p { color: rgba(255,255,255,0.55); font-size: .9rem; line-height: 1.7; font-family: var(--font); }
.hy-footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.hy-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: all .2s; }
.hy-footer-social a:hover { background: var(--ocean); color: #fff; }
.hy-footer-col h4 { color: #fff; font-weight: 900; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font); }
.hy-footer-col a, .hy-footer-col p { display: block; color: rgba(255,255,255,0.55); font-size: .88rem; text-decoration: none; margin-bottom: .5rem; transition: color .2s; line-height: 1.6; font-family: var(--font); }
.hy-footer-col a:hover { color: var(--cyan); }
.hy-ods-badge { display: inline-block; margin-top: .8rem; background: rgba(0,180,220,0.15); border: 1px solid rgba(0,200,240,0.25); color: var(--cyan); font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 50px; letter-spacing: .5px; font-family: var(--font); }
.hy-footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.2rem 2rem; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.hy-footer-bottom p { color: rgba(255,255,255,0.35); font-size: .82rem; font-family: var(--font); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hy-hero { grid-template-columns: 1fr; text-align: center; }
    .hy-hero-content { padding: 3rem 2rem; max-width: 100%; }
    .hy-hero-sub { margin: 0 auto 2rem; }
    .hy-hero-actions { justify-content: center; }
    .hy-hero-visual { display: none; }
    .hy-stats-inner { grid-template-columns: repeat(2,1fr); }
    .hy-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hy-nav, .hy-nav-actions { display: none; }
    .hy-hamburger { display: flex; }
    .hy-cta-inner { flex-direction: column; text-align: center; }
    .hy-cta-btns { justify-content: center; }
    .hy-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hy-footer-bottom { flex-direction: column; text-align: center; }
    .hy-section-header { flex-direction: column; gap: .5rem; }
}
@media (max-width: 480px) {
    .hy-stats-inner { grid-template-columns: repeat(2,1fr); }
    .hy-footer-inner { grid-template-columns: 1fr; }
    .hy-carousel-slide { height: 260px; }
    .hy-hero-content { padding: 2rem 1.2rem; }
}
/* ------------------------------------------------------------
   DASHBOARD (Integrated)
   ------------------------------------------------------------ */
.hy-dashboard {
    display: flex;
    min-height: calc(100vh - var(--header-h));
}

.hy-sidebar {
    width: 260px;
    background: var(--navy);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
}

.hy-user-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.5rem 1.2rem;
    text-align: center;
}

.hy-user-box img {
    width: 72px; height: 72px;
    border-radius: 50%;
    margin-bottom: .8rem;
    border: 2px solid var(--ocean);
}

.hy-user-name { font-weight: 800; color: #fff; font-size: 1.1rem; }
.hy-user-email { font-size: .8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hy-user-role {
    margin-top: .8rem;
    font-size: .75rem; font-weight: 800;
    background: rgba(0,200,240,0.15); color: var(--cyan);
    padding: 4px 12px; border-radius: 50px;
    display: inline-block; text-transform: uppercase; letter-spacing: 1px;
}

.hy-menu { display: flex; flex-direction: column; gap: .6rem; }
.hy-menu button, .hy-menu .btn-menu {
    width: 100%; border: none; border-radius: 12px;
    padding: 12px 16px; font-weight: 700; font-size: .9rem;
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8);
    text-align: left; cursor: pointer; transition: all .2s;
    text-decoration: none; display: block;
}
.hy-menu button:hover, .hy-menu .btn-menu:hover {
    background: rgba(255,255,255,0.12); color: #fff;
}
.hy-menu button.active {
    background: var(--ocean); color: #fff;
}

.hy-menu .admin { background: rgba(255,180,0,0.1); color: #ffc107; }
.hy-menu .admin:hover { background: rgba(255,180,0,0.2); }

.hy-menu .logout {
    margin-top: 1rem;
    background: rgba(220,50,50,0.1); color: #ff6b6b;
}

.hy-content {
    flex: 1; padding: 3rem;
    background: var(--bg);
    overflow-y: auto;
}

.hy-content-box {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 2.5rem; box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    min-height: 400px;
}

@media (max-width: 900px) {
    .hy-dashboard { flex-direction: column; }
    .hy-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}


/* Profile Trigger in Header */
.hy-profile-trigger {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    border: 2px solid var(--border);
    transition: all 0.2s;
}
.hy-profile-trigger:hover, .hy-profile-trigger.active {
    border-color: var(--ocean);
    transform: scale(1.05);
}
.hy-profile-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Dropdown Profile Menu */
.hy-profile-dropdown {
    position: relative;
}
.hy-profile-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.hy-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    margin-top: 15px;
    display: none;
    z-index: 1000;
    border: 1px solid var(--border);
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.hy-dropdown-menu.show {
    display: block;
}
.hy-dropdown-header {
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.hy-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s;
}
.hy-dropdown-menu a:hover {
    background: var(--bg);
    color: var(--ocean);
}
.hy-dropdown-menu hr {
    margin: 5px 0;
    border: 0;
    border-top: 1px solid var(--border);
}
.hy-dropdown-menu .logout {
    color: #ff6b6b;
}

/* Stylized Logo */
.stylized-logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 15px rgba(0, 196, 216, 0.4);
    transition: transform 0.3s;
    margin-right: 10px;
}
.stylized-logo:hover {
    transform: rotate(5deg) scale(1.1);
}

/* ════════════════════════════════════════════════════════════
   DASHBOARD COHESIVE MODERNIZATION & DARK MODE ADAPTATION
   ════════════════════════════════════════════════════════════ */

/* 1. Sidebar Overrides (Matching Artículos page colors in light & dark modes) */
.hy-sidebar {
    background: var(--card-bg) !important;
    border-right: 1.5px solid var(--border) !important;
}
.hy-user-box {
    background: rgba(0, 119, 190, 0.04) !important;
    border: 1.5px solid var(--border) !important;
}
.hy-user-name {
    color: var(--text-color) !important;
}
.hy-user-email {
    color: var(--muted) !important;
}

.hy-menu button, 
.hy-menu .btn-menu {
    width: 100% !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 50px !important; /* Cohesive Pill shape */
    padding: 10px 20px !important;
    font-family: var(--font) !important;
    font-weight: 800 !important;
    font-size: .87rem !important;
    background: var(--card-bg) !important;
    color: var(--ocean) !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all .22s ease !important;
    text-decoration: none !important;
    display: block !important;
    box-shadow: none !important;
}
.hy-menu button:hover, 
.hy-menu .btn-menu:hover,
.hy-menu button.active, 
.hy-menu .btn-menu.active {
    background: var(--ocean) !important;
    color: #fff !important;
    border-color: var(--ocean) !important;
    box-shadow: 0 4px 16px rgba(0, 119, 190, 0.18) !important;
    transform: translateY(-1px) !important;
}
.hy-menu .admin {
    background: var(--card-bg) !important;
    color: #ffc107 !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
}
.hy-menu .admin:hover {
    background: #ffc107 !important;
    color: #000 !important;
    border-color: #ffc107 !important;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.18) !important;
}
.hy-menu .logout {
    background: var(--card-bg) !important;
    color: #ff6b6b !important;
    border-color: rgba(220, 50, 50, 0.3) !important;
    margin-top: 1rem !important;
}
.hy-menu .logout:hover {
    background: #ff6b6b !important;
    color: #fff !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 4px 16px rgba(220, 50, 50, 0.18) !important;
}

/* 2. Cohesive Button Styling inside Dashboard Content (Matching homepage solid/outline) */
.hy-content button,
.hy-content .btn,
.hy-content .btn-primary,
.hy-content .btn-secondary,
.hy-content .btn-success,
.hy-content .btn-warning,
.hy-content .btn-danger,
.hy-content .btn-outline-primary,
.hy-content .btn-outline-danger {
    border-radius: 50px !important; /* Pill shape */
    font-family: var(--font) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.85rem !important;
    padding: 10px 22px !important;
    line-height: 1 !important; /* Forces perfect vertical centering */
    transition: all 0.22s ease-in-out !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    border: 1.5px solid transparent !important;
}

/* Exempt nav-tabs links and buttons from global content button style overrides */
.hy-content .nav-tabs button,
.hy-content .nav-tabs .nav-link {
    border-radius: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 1rem !important;
    padding: 12px 25px !important;
    line-height: normal !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    color: var(--text-color) !important;
    opacity: 0.7 !important;
    transform: none !important;
    transition: none !important;
}
.hy-content .nav-tabs button.active,
.hy-content .nav-tabs .nav-link.active {
    color: var(--ocean) !important;
    border-bottom: 3px solid var(--ocean) !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
}
.hy-content button:hover,
.hy-content .btn:hover,
.hy-content .btn-primary:hover,
.hy-content .btn-secondary:hover,
.hy-content .btn-success:hover,
.hy-content .btn-warning:hover,
.hy-content .btn-danger:hover,
.hy-content .btn-outline-primary:hover,
.hy-content .btn-outline-danger:hover {
    transform: translateY(-1px) !important;
}
.hy-content button:active,
.hy-content .btn:active,
.hy-content .btn-primary:active {
    transform: translateY(0) !important;
}

/* --- PRIMARY SOLID --- */
.hy-content .btn-primary,
.hy-content .btn-ocean,
.hy-content .btn:not(.danger):not(.active):not(.btn-success):not(.btn-warning):not(.btn-danger):not(.btn-secondary):not(.btn-outline-primary):not(.btn-outline-danger):not(.btn-outline-success):not(.btn-outline-warning) {
    background: linear-gradient(135deg, var(--ocean), var(--teal)) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0, 119, 190, 0.2) !important;
    border: 1.5px solid transparent !important;
}
.hy-content .btn-primary:hover,
.hy-content .btn-ocean:hover,
.hy-content .btn:not(.danger):not(.active):not(.btn-success):not(.btn-warning):not(.btn-danger):not(.btn-secondary):not(.btn-outline-primary):not(.btn-outline-danger):not(.btn-outline-success):not(.btn-outline-warning):hover {
    background: linear-gradient(135deg, var(--teal), var(--cyan)) !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(0, 154, 170, 0.4) !important;
}

/* --- PRIMARY OUTLINE --- */
.hy-content .btn-outline-primary {
    background: transparent !important;
    border: 1.5px solid var(--ocean) !important;
    color: var(--ocean) !important;
}
.hy-content .btn-outline-primary:hover {
    background: var(--ocean) !important;
    color: #fff !important;
    border-color: var(--ocean) !important;
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3) !important;
}

/* --- SUCCESS SOLID --- */
.hy-content .btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.2) !important;
    border: 1.5px solid transparent !important;
}
.hy-content .btn-success:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(46, 204, 113, 0.4) !important;
}

/* --- DANGER SOLID --- */
.hy-content .btn-danger,
.hy-content .btn.danger,
.hy-content .btn-small.danger {
    background: linear-gradient(135deg, #d32f2f, #ff5252) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.2) !important;
    border: 1.5px solid transparent !important;
}
.hy-content .btn-danger:hover,
.hy-content .btn.danger:hover,
.hy-content .btn-small.danger:hover {
    background: linear-gradient(135deg, #ff5252, #d32f2f) !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(211, 47, 47, 0.4) !important;
}

/* --- DANGER OUTLINE --- */
.hy-content .btn-outline-danger {
    background: transparent !important;
    border: 1.5px solid #d32f2f !important;
    color: #d32f2f !important;
}
.hy-content .btn-outline-danger:hover {
    background: #d32f2f !important;
    color: #fff !important;
    border-color: #d32f2f !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3) !important;
}

/* --- WARNING SOLID --- */
.hy-content .btn-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.2) !important;
    border: 1.5px solid transparent !important;
}
.hy-content .btn-warning:hover {
    background: linear-gradient(135deg, #f1c40f, #f39c12) !important;
    color: #000 !important;
    box-shadow: 0 5px 16px rgba(243, 156, 18, 0.4) !important;
}

/* --- SECONDARY SOLID --- */
.hy-content .btn-secondary {
    background: linear-gradient(135deg, var(--muted), #78909c) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(90, 122, 154, 0.2) !important;
    border: 1.5px solid transparent !important;
}
.hy-content .btn-secondary:hover {
    background: linear-gradient(135deg, #78909c, var(--muted)) !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(90, 122, 154, 0.3) !important;
}

/* 3. Tables Dark Mode Override */
.hy-content table,
.hy-content .table {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}
.hy-content table thead th,
.hy-content .table thead th {
    background: var(--navy) !important;
    color: #fff !important;
    border-color: var(--border) !important;
    font-weight: 800 !important;
}
.hy-content table tbody tr,
.hy-content .table tbody tr {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
}
.hy-content table tbody tr td,
.hy-content .table tbody tr td {
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}
.hy-content table tbody tr:hover,
.hy-content .table tbody tr:hover {
    background: rgba(0, 119, 190, 0.05) !important;
}

/* 4. Card & Container Overrides */
.hy-content .card {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 1.5px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
}
.hy-content .card-header {
    background: linear-gradient(135deg, var(--navy), var(--deep)) !important;
    color: #fff !important;
    border-bottom: 1.5px solid var(--border) !important;
}
.hy-content .card-body {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
}

/* 5. Input & Textarea Premium Styling */
.hy-content .form-control,
.hy-content input[type="text"],
.hy-content input[type="email"],
.hy-content input[type="password"],
.hy-content select,
.hy-content textarea {
    background: var(--input-bg) !important;
    color: var(--ocean) !important;
    font-weight: 700 !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    transition: all 0.2s !important;
}
.hy-content .form-control::placeholder,
.hy-content input::placeholder,
.hy-content textarea::placeholder {
    color: var(--ocean) !important;
    opacity: 0.65 !important;
    font-weight: 700 !important;
}
.hy-content .form-control:focus,
.hy-content input[type="text"]:focus,
.hy-content input[type="email"]:focus,
.hy-content input[type="password"]:focus,
.hy-content select:focus,
.hy-content textarea:focus {
    background: var(--input-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--ocean) !important;
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.2) !important;
    outline: none !important;
}
.hy-content .form-control:disabled,
.hy-content input:disabled {
    background: rgba(0, 0, 0, 0.15) !important;
    color: var(--muted) !important;
    border-color: var(--border) !important;
    opacity: 0.6 !important;
}

/* 6. Tabs in Configuration */
.nav-tabs {
    border-bottom: 1.5px solid var(--border) !important;
}
.nav-tabs .nav-link {
    color: var(--text-color) !important;
    opacity: 0.7 !important;
    border: none !important;
    padding: 12px 25px !important;
    background: transparent !important;
}
.nav-tabs .nav-link.active {
    color: var(--ocean) !important;
    border-bottom: 3px solid var(--ocean) !important;
    opacity: 1 !important;
    background: transparent !important;
}

/* 7. Custom Modals */
#modal-editar-usuario > div {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 1.5px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
}
#modal-editar-usuario h4 {
    color: var(--ocean) !important;
}
#modal-editar-usuario button {
    color: var(--text-color) !important;
}

/* 8. Text contrast fixes */
.text-navy, 
.text-navy-blue {
    color: var(--text-color) !important;
}
.text-muted {
    color: var(--muted) !important;
}
.hy-content h1,
.hy-content h2,
.hy-content h3,
.hy-content h4,
.hy-content h5,
.hy-content h6,
.hy-content label,
.hy-content .form-label,
.hy-content p,
.hy-content span:not(.badge),
.hy-content small:not(.badge),
.hy-content .form-check-label {
    color: var(--text-color) !important;
}
.hy-content legend {
    color: var(--text-color) !important;
}

/* 9. Hardcoded #fff background empty states */
.hy-content div[style*="background:#fff"],
.hy-content div[style*="background: #fff"],
.hy-content div[style*="background: #fafbff"],
.hy-content div[style*="background:#fafbff"] {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}
.hy-content div[style*="background:#fff"] h3,
.hy-content div[style*="background: #fff"] h3 {
    color: var(--text-color) !important;
}

/* 10. Dark Mode Bootstrap & Table Overrides for Dashboard (Aprobar Fotos, Administrar Usuarios, etc.) */
body.dark-mode .hy-content .bg-white,
body.dark-mode .hy-content .bg-light,
body.dark-mode .hy-content .card-header,
body.dark-mode .hy-content .card-footer {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}

body.dark-mode .hy-content .card {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    border: 1.5px solid var(--border) !important;
}

body.dark-mode .hy-content table,
body.dark-mode .hy-content .table {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}

body.dark-mode .hy-content .table td,
body.dark-mode .hy-content .table th,
body.dark-mode .hy-content table td,
body.dark-mode .hy-content table th {
    color: var(--text-color) !important;
    border-color: var(--border) !important;
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
}

body.dark-mode .hy-content thead,
body.dark-mode .hy-content thead.table-light,
body.dark-mode .hy-content thead.table-dark {
    background-color: var(--bg) !important;
    background: var(--bg) !important;
}

body.dark-mode .hy-content thead th {
    color: var(--ocean) !important;
    border-color: var(--border) !important;
    background-color: var(--bg) !important;
    background: var(--bg) !important;
}

body.dark-mode .hy-content .table-hover tbody tr:hover,
body.dark-mode .hy-content table.table-hover tbody tr:hover {
    background-color: rgba(0, 119, 190, 0.08) !important;
    color: var(--text-color) !important;
}

body.dark-mode .hy-content .alert-light {
    background-color: var(--bg) !important;
    background: var(--bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border) !important;
}

/* ============================================
   MEJORAS VISUALES Y ANIMACIONES
============================================ */

/* Efecto glassmorphism más pronunciado */
.os-card, .hy-explore-card, .post-card, .dashboard-card {
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Sombra sutil al hacer scroll */
.hy-header.scrolled {
    backdrop-filter: blur(16px);
    background: var(--header-scroll-bg) !important;
}

/* Animación de carga para imágenes (opcional) */
img {
    transition: transform 0.5s ease, filter 0.3s ease;
}
img:hover {
    transform: scale(1.02);
    filter: brightness(1.02);
}

/* Texto con gradiente animado (para títulos) */
.hy-hero-accent, .os-form-title {
    background: linear-gradient(135deg, #00c4d8, #00a86b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s ease infinite;
    background-size: 200% 200%;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Botones con efecto de onda al hacer clic (opcional) */
.os-btn, .hy-btn-solid {
    position: relative;
    overflow: hidden;
}
.os-btn::after, .hy-btn-solid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.os-btn:active::after, .hy-btn-solid:active::after {
    width: 200px;
    height: 200px;
}

/* Mejora de scrollbar (opcional) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--ocean);
    border-radius: 4px;
}
/* ============================================
   PARALLAX POR CAPAS - BUCEO INFINITO
============================================ */
.ocean-layer {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    overflow: hidden;
}
.ocean-layer .content {
    max-width: 800px;
    padding: 2rem;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    z-index: 2;
}
.ocean-layer h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
}
.ocean-layer p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.layer-1 { background-image: url('https://images.pexels.com/photos/2686804/pexels-photo-2686804.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.layer-2 { background-image: url('https://images.pexels.com/photos/932638/pexels-photo-932638.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.layer-3 { background-image: url('https://images.pexels.com/photos/64219/dolphin-marine-mammals-water-underwater-64219.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.layer-4 { background-image: url('https://images.pexels.com/photos/64219/dolphin-marine-mammals-water-underwater-64219.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.layer-5 { background-image: url('https://images.pexels.com/photos/64219/dolphin-marine-mammals-water-underwater-64219.jpeg?auto=compress&cs=tinysrgb&w=1600'); }

@media (max-width: 768px) {
    .ocean-layer { background-attachment: scroll; }
}