/* ═══════════════════════════════════════════
   Reload Training — styles.css
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --primary:      #060606;
    --secondary:    #0d0d0d;
    --card-bg:      #131313;
    --accent:       #F5A623;
    --accent-dim:   #c9860f;
    --red:          #E63946;
    --green:        #22C55E;
    --text:         #EDEDED;
    --text-muted:   #8a8a8a;
    --white:        #FFFFFF;
    --border:       rgba(255,255,255,0.08);
    --border-acc:   rgba(245,166,35,0.3);
    --shadow:       0 4px 24px rgba(0,0,0,0.6);
    --shadow-card:  0 8px 32px rgba(0,0,0,0.5);
    --radius:       12px;
    --radius-lg:    20px;
    --transition:   all 0.3s ease;
    --font-h:       'Rajdhani', sans-serif;
    --font-b:       'Inter', sans-serif;
    --nav-h:        72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { background: var(--primary); color: var(--text); font-family: var(--font-b); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-h); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 8px;
    font-family: var(--font-h); font-size: 1rem; font-weight: 600;
    letter-spacing: 0.5px; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #e09510; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-nav { background: var(--accent); color: #000; padding: 10px 22px; font-size: 0.9rem; }
.btn-nav:hover { background: #e09510; }

/* ── Section Headers ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 { margin: 12px 0 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.sec-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; background: rgba(245,166,35,0.1);
    border: 1px solid rgba(245,166,35,0.25); border-radius: 40px;
    color: var(--accent); font-size: 0.82rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
}

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h); background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled { background: rgba(6,6,6,0.95); backdrop-filter: blur(16px); border-color: var(--border); }
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 100%;
    display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; color: var(--accent); flex-shrink: 0;
}
.logo-text { font-family: var(--font-h); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.5px; color: var(--white); }
.logo-text .acc { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links .nav-link {
    padding: 6px 14px; border-radius: 6px; font-size: 0.92rem;
    font-weight: 500; color: var(--text-muted); transition: var(--transition);
}
.nav-links .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-special { color: var(--accent) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
    position: relative; min-height: 92vh; display: flex; flex-direction: column;
    padding-top: var(--nav-h); overflow: hidden;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(245,166,35,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,166,35,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { 0% { background-position: 0 0; } 100% { background-position: 48px 48px; } }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.16; }
.g1 { width: 560px; height: 560px; top: -120px; left: -80px; background: var(--accent); }
.g2 { width: 380px; height: 380px; bottom: -60px; right: 8%; background: var(--accent); opacity: 0.1; }

.hero-inner {
    position: relative; z-index: 1; flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; max-width: 860px; margin: 0 auto; padding: 60px 24px 40px; width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.25);
    border-radius: 40px; color: var(--accent); font-size: 0.82rem; font-weight: 600;
    letter-spacing: 1px; margin-bottom: 24px;
}
.hero-title { color: var(--white); margin-bottom: 22px; }
.hero-desc { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.trust-item i { color: var(--accent); }

.scroll-hint {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding-bottom: 28px; color: var(--text-muted); font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ════════════════════════════════════
   CAPACITACIONES
════════════════════════════════════ */
.capacitacion {
    background: linear-gradient(135deg, #080808 0%, #0b0b0b 50%, #0e0e0e 100%);
    position: relative; overflow: hidden;
}
.capacitacion::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(245,166,35,0.015) 30px, rgba(245,166,35,0.015) 31px);
}
.capacitacion .container { position: relative; z-index: 1; }

.diplomatura-card {
    margin-bottom: 40px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(245,166,35,0.1) 0%, rgba(245,166,35,0.04) 60%, transparent 100%);
    border: 1px solid rgba(245,166,35,0.35); border-radius: var(--radius-lg); padding: 36px 40px;
}
.diplomatura-card::before {
    content: ''; position: absolute; top: -30px; right: -30px; font-size: 8rem;
    color: rgba(245,166,35,0.05); line-height: 1; pointer-events: none;
}
.dip-inner { display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap; position: relative; }
.dip-icon {
    flex-shrink: 0; width: 72px; height: 72px; border-radius: 18px;
    background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
    display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--accent);
}
.dip-body { flex: 1; min-width: 220px; }
.dip-kicker {
    display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
    font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.dip-body h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.3; }
.dip-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.dip-body p strong { color: var(--text); }
.dip-tags { display: flex; gap: 20px; flex-wrap: wrap; }
.dip-tag { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); }
.dip-tag i { color: var(--accent); }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.cap-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
    border-left: 3px solid var(--clr, var(--accent)); border-radius: var(--radius); padding: 28px;
    transition: var(--transition);
}
.cap-card:hover { background: rgba(255,255,255,0.06); transform: translateX(4px); }
.cap-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cap-card-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: color-mix(in srgb, var(--clr, var(--accent)) 15%, transparent);
    color: var(--clr, var(--accent));
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.cap-card h3 { font-size: 1.15rem; margin-bottom: 3px; }
.cap-card .cap-nivel { font-size: 0.72rem; color: var(--text-muted); }
.cap-card > p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.cap-card ul li { font-size: 0.82rem; color: var(--text-muted); padding: 3px 0; display: flex; align-items: center; gap: 7px; }
.cap-card ul li i { color: var(--clr, var(--accent)); font-size: 0.7rem; }

.cap-cta-block {
    margin-top: 48px; background: rgba(245,166,35,0.06); border: 1px solid rgba(245,166,35,0.15);
    border-radius: var(--radius-lg); padding: 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cap-cta-block h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cap-cta-block p { color: var(--text-muted); font-size: 0.88rem; }
.cap-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════
   GRUPO RT STRIP
════════════════════════════════════ */
.grupo-strip { background: var(--secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.grupo-strip .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.grupo-strip p { color: var(--text-muted); font-size: 0.9rem; }
.grupo-strip a { color: var(--accent); font-weight: 600; }
.grupo-strip a:hover { text-decoration: underline; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer { background: #030303; }
.footer-main { padding: 56px 0; border-bottom: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h5 {
    font-family: var(--font-h); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col li a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); text-align: center; }

/* ════════════════════════════════════
   FLOATING ELEMENTS
════════════════════════════════════ */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 900;
    width: 56px; height: 56px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s, box-shadow 0.3s; opacity: 0; transform: scale(0);
}
.whatsapp-float.visible { opacity: 1; transform: scale(1); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

.back-top {
    position: fixed; bottom: 96px; right: 28px; z-index: 900;
    width: 40px; height: 40px; background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    transition: var(--transition); opacity: 0; transform: translateY(10px);
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { border-color: var(--accent); color: var(--accent); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .nav-links, .btn-nav { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; position: fixed; top: var(--nav-h);
        left: 0; right: 0; background: rgba(6,6,6,0.98); backdrop-filter: blur(20px);
        padding: 24px; gap: 8px; border-bottom: 1px solid var(--border);
    }
    .nav-links.open .btn-nav { display: flex; justify-content: center; margin-top: 8px; }
    .hamburger { display: flex; }
    .cap-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cap-cta-block { flex-direction: column; align-items: flex-start; }
    .dip-inner { flex-direction: column; }
}
