/* =============================================
   HAROLD GEREDA — PORTAFOLIO DOCENTE
   Aesthetic: Dark Academic × Digital Scholar
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ─── Variables ─── */
:root {
  --bg:         #f8f9fa;
  --bg-2:       #f0f2f7;
  --bg-card:    #ffffff;
  --bg-card-2:  #f7f9fc;
  --gold:       #d4852c;
  --gold-light: #e8a752;
  --gold-dim:   #a86a2a;
  --cream:      #1a1a1a;
  --text:       #2d2d2d;
  --text-muted: #666666;
  --text-dim:   #555555;
  --green:      #22c55e;
  --blue:       #3b82f6;
  --red:        #ef4444;
  --border:     rgba(212,133,44,0.15);
  --border-dim: rgba(212,133,44,0.08);
  --radius:     12px;
  --shadow:     0 4px 12px rgba(0,0,0,0.08);
  --shadow-gold:0 4px 16px rgba(212,133,44,0.15);
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-mono:    'DM Mono', monospace;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── Custom Cursor ─── */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; mix-blend-mode: difference;
}
#cursor-dot {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; position: absolute;
  transform: translate(-50%,-50%);
  transition: transform .1s;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%; position: absolute;
  transform: translate(-50%,-50%);
  transition: transform .18s ease, width .18s, height .18s;
  opacity: .6;
}
body.hovering #cursor-ring { width: 56px; height: 56px; opacity: .9; }

/* ─── Noise Overlay ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .15;
}

/* ─── Layout Utilities ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-2); }
#actividades { padding: 60px 0 80px; }

.section-label {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.section-label::before {
  content: '//'; opacity: .5;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 12px;
}
#actividades .section-title {
  margin-bottom: 8px;
}
.section-title span { color: var(--gold); font-style: italic; }
.section-desc {
  color: var(--text-dim);
  max-width: 580px;
  font-size: 1.05rem;
  margin-bottom: 32px;
}
#actividades .section-desc {
  margin-bottom: 24px;
}
}

/* ─── Fade-in Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0;
  background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 4px 20px rgba(212,133,44,0.15), 0 4px 16px rgba(0,0,0,0.25);
  transition: all .3s;
  border-bottom: 3px solid var(--gold);
}
#nav.scrolled {
  background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 6px 24px rgba(212,133,44,0.2), 0 6px 20px rgba(0,0,0,0.3);
  border-bottom: 3px solid var(--gold-light);
  padding: 10px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.15rem; font-weight: 800;
  color: white; letter-spacing: .02em;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links {
  display: flex; gap: 8px; align-items: center;
}
.nav-links a {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: #c0c0ff; padding: 8px 16px; border-radius: 8px;
  transition: all .25s cubic-bezier(.175,.885,.32,1.275);
  font-weight: 700;
  border: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212,133,44,0.2), rgba(232,167,82,0.1));
  border: 1px solid var(--gold);
  box-shadow: 0 0 12px rgba(212,133,44,0.4), inset 0 1px 2px rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  padding: 10px 28px !important;
  box-shadow: 0 4px 12px rgba(212,133,44,0.4), 0 0 20px rgba(232,167,82,0.2) !important;
  transition: all .3s cubic-bezier(.175,.885,.32,1.275) !important;
  border: none !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  box-shadow: 0 8px 20px rgba(212,133,44,0.5), 0 0 30px rgba(232,167,82,0.3) !important;
  transform: translateY(-3px) !important;
}
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; transition: .3s; }

/* ─── HERO ─── */
#hero {
  height: auto;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
  box-sizing: border-box;
}
.hero-bg-lines {
  display: none;
}
.hero-glow {
  display: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 0.7fr;
  gap: 40px; align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-text { order: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,145,61,.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,145,61,.6); }
  50%      { box-shadow: 0 0 0 8px rgba(201,145,61,0); }
}
.hero-tag span {
  font-family: var(--ff-mono); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light);
}
.hero-name {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.0;
  color: var(--cream); margin-bottom: 8px;
}
.hero-name em { color: var(--gold); font-style: italic; display: block; }
.hero-title {
  font-family: var(--ff-mono); font-size: .95rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 28px;
}
.hero-desc {
  font-size: 1rem; color: var(--text-dim);
  max-width: 480px; margin-bottom: 32px;
  line-height: 1.7;
}
.hero-desc strong { color: var(--cream); font-weight: 600; }
.hero-stats {
  display: flex; gap: 32px; margin-bottom: 40px;
}
.hero-stat { border-left: 2px solid var(--border); padding-left: 16px; }
.hero-stat-num {
  font-family: var(--ff-display); font-size: 2rem;
  font-weight: 700; color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: .78rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-top: 4px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--ff-body); font-size: .9rem;
  font-weight: 600; letter-spacing: .04em;
  cursor: pointer; transition: .25s; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold); color: var(--bg);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--bg); }
.btn-outline {
  background: transparent; color: var(--cream);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.hero-photo { order: 2; display: flex; justify-content: center; }
.hero-photo-wrap {
  position: relative; width: 280px; height: 350px;
}
.hero-photo-frame {
  width: 240px; height: 310px;
  border-radius: 150px 150px 120px 120px;
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
  box-shadow: var(--shadow);
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
}
.hero-photo-deco-1 {
  display: none;
}
.hero-photo-deco-2 {
  position: absolute; bottom: 20px; left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  animation: slideInLeft .8s ease-out .3s forwards, float 3s ease-in-out 1.1s infinite;
  opacity: 0;
}
.hero-photo-deco-2 .deco-label {
  font-family: var(--ff-mono); font-size: .68rem;
  color: var(--gold); letter-spacing: .1em; text-transform: uppercase;
}
.hero-photo-deco-2 .deco-val {
  font-size: 1.1rem; font-weight: 600; color: var(--cream);
}
.hero-photo-deco-3 {
  display: none;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ─── ESTILOS ESPECÍFICOS DE "SOBRE MÍ" MOVIDOS A sobremi.css ─── */
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(201,145,61,.15);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: .75rem;
  color: var(--gold); flex-shrink: 0;
}
.step-text strong { color: var(--cream); display: block; font-size: .9rem; }
.step-text span { color: var(--text-dim); font-size: .83rem; }

/* ─── HERRAMIENTAS MOVED TO herramientas.css ─── */

/* ─── RETOS ─── */
#retos { background: var(--bg-2); }
.retos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}
.reto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px;
  transition: .3s;
  position: relative; overflow: hidden;
}
.reto-card:hover { border-color: var(--border); box-shadow: var(--shadow); transform: translateY(-3px); }
.reto-level {
  display: inline-block; padding: 3px 12px; border-radius: 100px;
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 16px;
}
.reto-level.basico { background: rgba(58,158,122,.15); color: #3a9e7a; border: 1px solid rgba(58,158,122,.3); }
.reto-level.intermedio { background: rgba(201,145,61,.15); color: var(--gold); border: 1px solid var(--border); }
.reto-level.avanzado { background: rgba(191,74,58,.15); color: #bf4a3a; border: 1px solid rgba(191,74,58,.3); }
.reto-title { font-family: var(--ff-display); font-size: 1.15rem; color: var(--cream); margin-bottom: 10px; font-weight: 600; }
.reto-desc { font-size: .88rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 16px; }
.reto-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.reto-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text-muted);
  font-family: var(--ff-mono);
}

/* ─── HABILIDADES ─── */
#habilidades { background: var(--bg); }
.skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.skills-bars { display: flex; flex-direction: column; gap: 24px; }
.skill-bar-item {}
.skill-bar-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.skill-bar-name { font-size: .9rem; color: var(--cream); font-weight: 500; }
.skill-bar-pct { font-family: var(--ff-mono); font-size: .8rem; color: var(--gold); }
.skill-bar-track {
  height: 6px; background: var(--bg-card);
  border-radius: 100px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.skills-tags { }
.skills-tags-group { margin-bottom: 32px; }
.skills-tags-label {
  font-family: var(--ff-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  border-bottom: 1px solid var(--border-dim); padding-bottom: 8px;
}
.skill-tags-list { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  padding: 6px 14px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--border-dim);
  font-size: .83rem; color: var(--text-dim);
  transition: .2s; cursor: default;
}
.skill-tag:hover { border-color: var(--border); color: var(--cream); }

/* ─── CONTACTO MOVED TO contacto.css ─── */

/* ─── FOOTER ─── */
footer {
  background: #060a14; padding: 32px 0;
  border-top: 1px solid var(--border-dim);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: .82rem; color: var(--text-muted); }
.footer-copy strong { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: .82rem;
  color: white;
  background: linear-gradient(135deg, #25d366, #20ba61);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  background: linear-gradient(135deg, #20ba61, #1aa043);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

/* ─── Scroll Progress ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9998;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  width: 0; transition: width .1s;
}

/* ─── JUEGOS SECTION MOVED TO juegostudy.css ─── */

/* ─── AI IMAGES ─── */
.ai-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.ai-img-card img { width: 100%; height: 100%; object-fit: cover; }
.ai-img-label {
  position: absolute; bottom: 10px; right: 10px;
  font-family: var(--ff-mono); font-size: .62rem;
  background: rgba(0,0,0,.6); color: var(--gold);
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .08em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-text { order: 2; }
  .hero-photo { order: 1; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }
  .skills-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(11,17,32,.98);
    padding: 20px 32px; gap: 4px;
    border-bottom: 1px solid var(--border-dim);
  }
}
@media (max-width: 900px) {
  #hero { height: auto; min-height: 100vh; padding: 100px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-text { order: 2; }
  .hero-photo { order: 1; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 12px; font-size: .7rem; }
}
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  #hero { height: auto; min-height: 100vh; padding: 80px 0 30px; }
  .hero-photo-wrap { width: 200px; height: 260px; }
  .hero-photo-frame { width: 170px; height: 220px; }
  .hero-stats { gap: 16px; margin-bottom: 20px; }
  .hero-stat-label { font-size: .65rem; }
  .hero-desc { margin: 0 auto 20px; font-size: .95rem; }
  .edu-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  body { cursor: auto; }
  #cursor { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { padding: 20px 0; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
/* ─── BLOG CARDS ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  background: linear-gradient(135deg, rgba(248,249,250,.8), rgba(240,242,247,.6));
  border: 2px solid var(--border-dim);
  border-radius: 16px;
  padding: 24px;
  transition: all .35s cubic-bezier(.175,.885,.32,1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, var(--gold), #22c55e);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 150% 50%, rgba(59,130,246,.08), transparent);
  opacity: 0;
  transition: opacity .35s;
}

.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(212,133,44,.18), 0 0 1px rgba(59,130,246,.25);
  transform: translateY(-12px) scale(1.02);
}

.blog-card:hover::before {
  transform: translateX(0);
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card-date {
  font-family: var(--ff-mono);
  font-size: .62rem;
  background: linear-gradient(135deg, #3b82f6, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-card-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cream), var(--text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: all .3s;
}

.blog-card:hover .blog-card-title {
  transform: translateX(2px);
}

.blog-card-desc {
  font-size: .92rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.6;
  transition: color .3s;
}

.blog-card:hover .blog-card-desc {
  color: var(--text);
}

.blog-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.blog-card-tag {
  font-size: .68rem;
  background: linear-gradient(135deg, rgba(212,133,44,.12), rgba(59,130,246,.08));
  border: 1.5px solid rgba(212,133,44,.2);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
  transition: all .25s;
}

.blog-card:hover .blog-card-tag {
  background: linear-gradient(135deg, rgba(212,133,44,.2), rgba(59,130,246,.15));
  border-color: var(--gold);
  transform: scale(1.05);
}

.blog-card-arrow {
  font-size: .95rem;
  color: var(--gold);
  font-weight: 700;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-flex;
  align-items: center;
}

.blog-card:hover .blog-card-arrow {
  transform: translateX(6px);
  color: #3b82f6;
}

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

  .blog-card {
    padding: 20px;
  }

  .blog-card-title {
    font-size: 1.1rem;
  }

  .blog-card-desc {
    font-size: .88rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    gap: 16px;
  }

  .blog-card {
    padding: 16px;
  }

  .blog-card-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .blog-card-date {
    font-size: .6rem;
    margin-bottom: 8px;
  }

  .blog-card-desc {
    font-size: .85rem;
    margin-bottom: 10px;
  }

  .blog-card-meta {
    margin-bottom: 10px;
  }

  .blog-card-arrow {
    font-size: .9rem;
  }
}

/* ─── Divider ─── */
.divider-gold {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 100px;
  margin: 12px 0 24px;
}
#actividades .divider-gold {
  margin: 8px 0 16px;
}

/* ─── Toast ─── */
#toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 28px;
  color: var(--cream); font-size: .9rem;
  box-shadow: var(--shadow);
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
  z-index: 5000;
}
#toast.show { transform: translateX(-50%) translateY(0); }

.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--cream), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}
