/* ==========================================
   UNIÓN CÓRDOBA APÍCOLA (UCA) - STYLESHEET
   Estética Moderna, Premium & Responsiva
   ========================================== */

:root {
    /* Color Palette */
    --primary-gold: #f39c12;
    --primary-amber: #e67e22;
    --primary-yellow: #f1c40f;
    --accent-honey: #fffbeb;
    --accent-light-amber: #fef3c7;
    
    --secondary-dark: #0f172a;
    --secondary-slate: #1e293b;
    --secondary-muted: #334155;
    
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --bg-body: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-card: #ffffff;
    
    --success-green: #10b981;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 25px -5px rgba(243, 156, 18, 0.3);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-dark);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }
.align-center { align-items: center; }

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.margin-top-2 { margin-top: 2rem; }
.margin-top-3 { margin-top: 3rem; }

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-amber));
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(243, 156, 18, 0.45);
    background: linear-gradient(135deg, #f39c12, #d35400);
}

.btn-secondary {
    background-color: var(--secondary-slate);
    color: #ffffff;
}

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

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Navbar Sticky */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.uca-official-logo {
    height: 48px;
    width: 48px;
    max-height: 48px;
    max-width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .uca-official-logo {
    transform: scale(1.1);
}

.about-official-emblem {
    max-width: 170px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(245, 158, 11, 0.45));
    transition: transform 0.4s ease;
}

.about-official-emblem:hover {
    transform: scale(1.06) rotate(1deg);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    display: block;
    line-height: 1;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    font-weight: 500;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold);
}

.btn-nav-highlight {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    padding: 0.45rem 1.05rem !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-nav-highlight:hover {
    background: linear-gradient(135deg, #20bd5a, #0e7669);
    transform: translateY(-1px);
}

/* Hamburger Btn Mobile */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.4rem;
    z-index: 1001;
}

.hamburger-btn .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-btn.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)),
                url('hero_bg.png?v=2') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.badge-official {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Headers de Sección */
.section-header {
    margin-bottom: 3.5rem;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--secondary-dark);
}

.title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-gold), var(--primary-amber));
    margin: 0.75rem auto 0;
    border-radius: var(--radius-full);
}

.section-intro {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Tarjetas y Pilares (Nosotros) */
.lead-text {
    font-size: 1.15rem;
    color: var(--secondary-slate);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.pillar-card {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.pillar-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.pillar-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.pillar-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.about-card-banner {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: linear-gradient(145deg, var(--secondary-slate), var(--secondary-dark));
    color: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(243, 156, 18, 0.2);
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.banner-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* Banner Oficial Escuela */
.official-banner-box {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.official-icon {
    width: 60px;
    height: 60px;
    background-color: var(--success-green);
    color: #ffffff;
    font-size: 1.8rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.official-content h3 {
    color: #065f46;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.official-content p {
    color: #047857;
    margin: 0;
}

/* Cards Generales */
.feature-card, .product-card, .teacher-card, .news-card, .review-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover, .product-card:hover, .teacher-card:hover, .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.card-icon, .product-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light-amber);
    color: var(--primary-amber);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feature-card h3, .product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p, .product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Maestros */
.teacher-card {
    text-align: center;
    padding: 2.25rem 1.5rem;
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    color: var(--secondary-slate);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--primary-gold);
}

.teacher-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.teacher-role {
    display: block;
    color: var(--primary-amber);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.teacher-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Noticias y Eventos */
.news-card {
    position: relative;
}

.featured-news {
    background: linear-gradient(145deg, #ffffff, var(--accent-honey));
    border-left: 5px solid var(--primary-gold);
}

.news-badge {
    display: inline-block;
    background-color: var(--primary-gold);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.brand-logo.white {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.brand-logo.white .uca-official-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
}

/* Estética Inspirada en Subproductos para Noticias y Prensa */
.news-card-wrapper {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.news-card-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.18);
    border-color: var(--primary-gold);
}

.news-card-header-img {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.news-card-wrapper:hover .news-card-header-img img {
    transform: scale(1.08);
}

.news-card-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.news-badge-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge-blue {
    background-color: #3b82f6;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Eventos Box */
.event-box {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
}

.event-icon {
    width: 55px;
    height: 55px;
    background-color: var(--secondary-slate);
    color: var(--primary-gold);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-badge {
    font-size: 0.75rem;
    color: var(--primary-amber);
    font-weight: 700;
    text-transform: uppercase;
}

.event-details h3 {
    font-size: 1.2rem;
    margin: 0.25rem 0 0.5rem;
}

.event-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Tabla Económica */
.table-responsive {
    overflow-x: auto;
}

.economic-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.economic-table th {
    background-color: var(--secondary-slate);
    color: #ffffff;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.economic-table td {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.economic-table tr:last-child td {
    border-bottom: none;
}

.economic-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.icon-gold {
    color: var(--primary-gold);
    margin-right: 0.4rem;
}

/* Reseñas */
.review-card {
    border-left: 4px solid var(--primary-gold);
}

.stars {
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.review-text {
    font-style: italic;
    color: var(--secondary-slate);
    margin-bottom: 0.75rem;
}

.review-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Formulario & Contacto */
.contact-form-box, .location-box {
    background-color: var(--bg-card);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-form-box h3, .location-box h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-form-box p, .location-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary-slate);
    margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

.form-response {
    margin-top: 1rem;
    font-weight: 600;
}

/* Egresados & Img Utils */
.img-responsive-rounded {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid #ffffff;
    object-fit: cover;
}

.check-list {
    list-style: none;
}

.check-list li {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-slate);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Estilos de Subpáginas de Subproductos */
.subproduct-hero {
    min-height: 45vh !important;
    padding: 4rem 1.5rem 2.5rem !important;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-gold);
    transform: translateX(-3px);
}

.detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.product-purity-box {
    background-color: #fefce8;
    border-left: 4px solid var(--primary-gold);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
}

.product-purity-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #854d0e;
}

.product-purity-box p {
    color: #713f12;
    margin: 0;
    font-size: 0.95rem;
}

.sidebar-card {
    background: linear-gradient(145deg, var(--secondary-slate), var(--secondary-dark));
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.spec-list li:last-child {
    border-bottom: none;
}

/* Tarjetas de Salud: Beneficios y Riesgos */
.health-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.benefit-card {
    border-top: 5px solid var(--success-green);
}

.risk-card {
    border-top: 5px solid #f59e0b;
}

.health-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.health-header i {
    font-size: 1.6rem;
}

.icon-green { color: var(--success-green); }
.icon-red { color: #ef4444; }

.health-header h3 {
    font-size: 1.35rem;
    margin: 0;
}

.health-list {
    list-style: none;
}

.health-list li {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    padding-left: 1.25rem;
}

.health-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Banner CTA Curso */
.course-cta-banner {
    background: linear-gradient(135deg, var(--secondary-slate), var(--secondary-dark));
    color: #ffffff;
    padding: 3.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.course-cta-banner h2 {
    color: #ffffff;
    font-size: 2.1rem;
    margin: 0.75rem 0;
}

.course-cta-banner p {
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(243, 156, 18, 0.2);
    color: var(--primary-gold);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Redes Sociales */
.social-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.social-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-facebook { background-color: #1877f2; }
.btn-facebook:hover { background-color: #0d65d9; }

.btn-instagram { background-color: #e1306c; }
.btn-instagram:hover { background-color: #c82358; }

/* Mapa */
.map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-dark);
    color: #ffffff;
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.brand-logo.white {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.brand-logo.white .uca-official-logo {
    height: 44px;
    width: 44px;
    max-height: 44px;
    max-width: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.5));
}

/* Sección Actividades y Galería UCA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.2);
    border-color: var(--primary-gold);
}

.gallery-img-wrapper {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.gallery-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gallery-info {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    max-width: 450px;
}

.footer-copy {
    text-align: right;
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hamburger-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        padding: 2rem 1.75rem;
        transition: var(--transition);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.5rem 0.75rem;
        width: 100%;
    }

    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0;
    }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .hero-section {
        min-height: auto;
        padding: 4.5rem 1.25rem 3rem;
    }

    .hero-title { font-size: 1.95rem; }
    .hero-description { font-size: 1rem; margin-bottom: 1.75rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2.5rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 2.25rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .official-banner-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .glass-card {
        padding: 1.75rem 1.25rem;
    }

    .avatar-group {
        justify-content: center;
        text-align: left;
    }

    .gallery-img-wrapper {
        height: 220px;
    }

    .economic-table th,
    .economic-table td {
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
    }

    .course-cta-banner {
        padding: 2.25rem 1.25rem;
    }

    .course-cta-banner h2 {
        font-size: 1.55rem;
    }

    .palabras-centavo-box {
        padding: 1.5rem 1.25rem;
    }

    .palabras-centavo-header {
        flex-wrap: wrap;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

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

    .footer-copy {
        text-align: center;
    }
}

/* Avatar Circular Real */
.avatar-circle {
    overflow: hidden;
    border: 2px solid var(--primary-gold);
}

.avatar-img-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
}

/* Tarjeta Destacada Hugo Giunta (Maestros) */
.teacher-featured-wrapper {
    display: flex;
    justify-content: center;
}

.teacher-card-featured {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.25rem;
    align-items: center;
    max-width: 860px;
    width: 100%;
    text-align: left;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.teacher-photo-wrapper {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--primary-gold);
    box-shadow: var(--shadow-md);
}

.teacher-real-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.teacher-card-featured:hover .teacher-real-photo {
    transform: scale(1.05);
}

.teacher-card-featured .teacher-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.teacher-card-featured .teacher-role {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.teacher-card-featured .teacher-info p {
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .teacher-card-featured {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .teacher-photo-wrapper {
        height: 260px;
    }
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.65);
    color: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 74px;
    background-color: var(--secondary-dark);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Sección En palabras de a centavo */
.palabras-centavo-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.15));
    border-left: 5px solid var(--primary-gold);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    position: relative;
}

.palabras-centavo-box::before {
    content: "💡";
    font-size: 1.8rem;
    position: absolute;
    top: -15px;
    left: 20px;
    background: #ffffff;
    padding: 0 6px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.palabras-centavo-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.palabras-centavo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--secondary-dark);
    margin: 0;
}

.palabras-centavo-badge {
    background: var(--primary-gold);
    color: var(--secondary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.palabras-centavo-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    font-weight: 500;
}

/* ==========================================================================
   Banner Destacado: Curso Intensivo de Cría de Reinas
   ========================================================================== */
.cria-reinas-section {
    padding: 1rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cria-reinas-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.94) 100%), url('real_cuadro_cria.jpg') center/cover no-repeat;
    border: 2px solid var(--primary-gold);
    border-radius: 22px;
    padding: 2.75rem;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
    position: relative;
    overflow: hidden;
}

.cria-reinas-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-gold), #fbbf24, var(--accent-green));
}

.cria-reinas-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.cria-reinas-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.cria-reinas-medallions {
    position: relative;
    width: 260px;
    height: 220px;
    margin: 0 auto;
}

.cria-reinas-queen-img {
    width: 195px;
    height: 195px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    position: absolute;
    top: 0;
    left: 10px;
}

.cria-reinas-seal-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    right: 5px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
}

.cria-reinas-date-card {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-amber));
    color: var(--secondary-dark);
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.cria-reinas-date-card .date-main {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.cria-reinas-date-card .date-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.3rem;
}

.cria-reinas-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid var(--accent-green);
    color: #a7f3d0;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.4rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.cria-reinas-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.cria-reinas-title span {
    color: var(--primary-gold);
}

.cria-reinas-motto {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.cria-reinas-desc {
    color: #e2e8f0;
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
}

.cria-reinas-instructors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.cria-instructor-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(243, 156, 18, 0.45);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.cria-instructor-role {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary-gold);
    margin-bottom: 0.2rem;
}

.cria-instructor-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
}

.cria-instructor-sub {
    display: block;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.cria-reinas-centavo {
    background: rgba(243, 156, 18, 0.12);
    border-left: 4px solid var(--primary-gold);
    border-radius: 0 10px 10px 0;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1.4rem;
    font-size: 0.94rem;
    color: #f8fafc;
    font-style: italic;
}

.cria-reinas-centavo strong {
    color: #fbbf24;
    font-style: normal;
}

.cria-reinas-cta-box {
    background: rgba(6, 78, 59, 0.65);
    border: 1px solid var(--accent-green);
    border-radius: 14px;
    padding: 1.1rem 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cria-cta-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #a7f3d0;
}

.cria-cta-label span {
    display: block;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
}

.cria-whatsapp-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.btn-wsp-course {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #25d366;
    color: #0f172a;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-wsp-course:hover {
    background: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .cria-reinas-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .cria-reinas-instructors {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cria-reinas-banner {
        padding: 1.65rem 1.25rem;
    }
    .cria-reinas-title {
        font-size: 1.75rem;
    }
    .cria-whatsapp-btns {
        width: 100%;
        flex-direction: column;
    }
    .btn-wsp-course {
        width: 100%;
        justify-content: center;
    }
}


