/* ============================================================
   Inglés con Natalie Maldonado — Diseño Premium 2026
   Paleta: Navy #1B2E56 · Oro #E8A33D · Royal #2E4EB5
   Tipografía: Sora (títulos) + Inter (texto)
   ============================================================ */
:root {
  --navy: #1B2E56;
  --navy-2: #243E70;
  --navy-3: #2E4EB5;
  --navy-dark: #101F3D;
  --royal: #2E4EB5;
  --royal-2: #4A6CF7;
  --royal-3: #7C8CF8;
  --gold: #E8A33D;
  --gold-2: #C97B1E;
  --gold-soft: #FDF3E0;
  --ink: #16233B;
  --text: #4A5876;
  --muted: #8A97B0;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --line: #E3E9F2;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px -14px rgba(16, 31, 61, .16);
  --shadow-lg: 0 28px 60px -18px rgba(16, 31, 61, .28);
  --shadow-gold: 0 12px 28px -10px rgba(201, 123, 30, .55);
  --header-h: 76px;
  --font-head: 'Sora', 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.22; color: var(--navy); font-weight: 700; letter-spacing: -.015em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--gold); color: var(--navy-dark); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #C4CFE0; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-2); }

/* ============================================================
   Barra de progreso de lectura
   ============================================================ */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 200; transition: width .08s linear;
}

/* ============================================================
   Header — navy sólido
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 150;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -18px rgba(16, 31, 61, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; }
.brand-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex; align-items: center; transition: transform .25s var(--ease);
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-logo img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: 9px 14px; border-radius: 10px; color: rgba(255, 255, 255, .82);
  font-weight: 500; font-size: 14.5px; position: relative; transition: color .2s, background .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav a.active { color: #fff; }
.site-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
  color: var(--navy-dark) !important; font-weight: 700 !important;
  box-shadow: var(--shadow-gold); margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-1px); background: linear-gradient(135deg, #F2B35C, var(--gold-2)) !important; }

/* Búsqueda */
.search-wrap { position: relative; }
.search-input {
  width: 200px; padding: 9px 38px 9px 38px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .1);
  color: #fff; font-family: var(--font-body); font-size: 13.5px; outline: none;
  transition: width .3s var(--ease), background .2s, border-color .2s;
}
.search-input::placeholder { color: rgba(255, 255, 255, .55); }
.search-input:focus { width: 260px; background: rgba(255, 255, 255, .16); border-color: var(--gold); }
.search-ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: rgba(255, 255, 255, .6); pointer-events: none; font-size: 14px;
}
.search-kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 1px 7px;
  font-family: var(--font-body); pointer-events: none;
}
.search-drop {
  position: absolute; top: calc(100% + 10px); right: 0; width: 360px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; display: none; z-index: 180;
}
.search-drop.open { display: block; animation: dropIn .22s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-drop-head { padding: 10px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); font-family: var(--font-head); }
.search-drop-item { display: flex; align-items: center; gap: 12px; padding: 11px 16px; cursor: pointer; transition: background .15s; }
.search-drop-item:hover { background: var(--gold-soft); }
.search-drop-item .sd-ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: #EEF2FB; display: grid; place-items: center; font-size: 17px; }
.search-drop-item strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.35; font-family: var(--font-head); font-weight: 600; }
.search-drop-item small { font-size: 12px; color: var(--muted); }
.search-drop-empty { padding: 22px 16px; text-align: center; color: var(--muted); font-size: 14px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 3px; transition: .25s var(--ease); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 88% -12%, rgba(74, 108, 247, .4), transparent 60%),
    radial-gradient(760px 420px at -8% 28%, rgba(46, 78, 181, .35), transparent 55%),
    linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 48%, #24408C 100%);
  color: #DCE3F2;
  padding: 92px 0 104px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  right: -260px; bottom: -330px;
  background: radial-gradient(circle, rgba(232, 163, 61, .22), transparent 62%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(232, 163, 61, .14); border: 1px solid rgba(232, 163, 61, .4);
  color: #F5C877; padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, .55); } 50% { box-shadow: 0 0 0 6px rgba(232, 163, 61, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.15rem, 4.4vw, 3.4rem); margin-bottom: 20px; letter-spacing: -.025em; }
.hero h1 .grad { background: linear-gradient(92deg, #F5C877 0%, #E8A33D 55%, #F2B35C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: #B9C6E4; max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { position: relative; }
.hero-stats div + div::before { content: ''; position: absolute; left: -20px; top: 8%; height: 84%; width: 1px; background: rgba(255, 255, 255, .14); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 30px; color: #fff; font-weight: 800; }
.hero-stats strong em { font-style: normal; color: var(--gold); }
.hero-stats span { font-size: 13.5px; color: #93A3C8; }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .14); transform: rotate(1.2deg);
}
.hero-media .frame img { width: 100%; }
.hero-float {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: floaty 5s ease-in-out infinite;
}
.hero-float .f-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; }
.hero-float strong { display: block; font-size: 14.5px; color: var(--navy); font-family: var(--font-head); }
.hero-float small { font-size: 12px; color: var(--muted); }
.hero-float.f1 { top: -22px; left: -26px; animation-delay: 0s; }
.hero-float.f1 .f-ico { background: var(--gold-soft); }
.hero-float.f2 { bottom: -20px; right: -18px; animation-delay: 1.6s; }
.hero-float.f2 .f-ico { background: #E9F3F2; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Trust strip */
.trust-strip { background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-strip span { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.trust-strip img { max-height: 38px; width: auto; }

/* ============================================================
   Secciones generales
   ============================================================ */
.section { padding: 84px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy) 60%, var(--navy-2));
  color: #B9C6E4;
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2);
  background: var(--gold-soft); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--text); font-size: 17px; }
.section-navy .section-head h2 { color: #fff; }
.section-navy .section-head p { color: #A9B8DA; }
.section-navy .section-head .eyebrow { background: rgba(232, 163, 61, .14); color: var(--gold); }

/* ============================================================
   Botones
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer; transition: .25s var(--ease); font-family: var(--font-head);
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, #F2B35C, var(--gold-2)); color: var(--navy-dark); box-shadow: var(--shadow-gold); }
.btn-gold:hover { color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(201, 123, 30, .7); }
.btn-royal { background: linear-gradient(135deg, var(--navy-3), var(--royal-2)); color: #fff; box-shadow: 0 12px 26px -10px rgba(46, 78, 181, .55); }
.btn-royal:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(46, 78, 181, .7); }
.btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy-3); color: var(--navy-3); background: #F3F6FD; }
.btn-lg { padding: 17px 36px; font-size: 16.5px; }

/* ============================================================
   Tarjetas de categoría
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow); display: block;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid var(--line);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card .cat-img { position: relative; height: 132px; overflow: hidden; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.07); }
.cat-card .cat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(16, 31, 61, .55)); }
.cat-card .cat-icon {
  position: absolute; left: 16px; bottom: -20px; z-index: 2;
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  font-size: 20px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.cat-card .cat-body { padding: 30px 20px 22px; }
.cat-card h3 { font-size: 17.5px; margin-bottom: 7px; }
.cat-card p { color: var(--text); font-size: 13.5px; margin-bottom: 14px; line-height: 1.55; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--royal); font-family: var(--font-head); }
.cat-card:hover .cat-count { color: var(--gold-2); }

/* ============================================================
   Grid de posts
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-media { overflow: hidden; aspect-ratio: 16/9; background: #EEF2FB; display: block; position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 31, 61, .25)); opacity: 0; transition: opacity .3s; }
.post-card:hover .post-card-media::after { opacity: 1; }
.post-card-noimg { display: grid; place-items: center; height: 100%; font-size: 42px; }
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.post-card h3 { font-size: 17.5px; line-height: 1.4; }
.post-card h3 a { color: var(--navy); background-image: linear-gradient(var(--royal-2), var(--royal-2)); background-size: 0% 2px; background-repeat: no-repeat; background-position: left bottom; transition: background-size .35s var(--ease), color .2s; }
.post-card h3 a:hover { color: var(--royal); background-size: 100% 2px; }
.post-card-excerpt { color: var(--text); font-size: 14px; flex: 1; line-height: 1.6; }
.post-card-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.post-card-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: #C4CFE0; }
.chip {
  align-self: flex-start; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.chip.teal { background: #E3F5F2; color: #0E7C72; }
.chip.violet { background: #F1EDFE; color: #6C47E0; }
.chip.gold { background: var(--gold-soft); color: var(--gold-2); }
.chip.rose { background: #FDEAEF; color: #C93A63; }
.chip-link { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.chip-link:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -4px rgba(16, 31, 61, .25); }

/* ============================================================
   Card destacada (featured)
   ============================================================ */
.featured-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured-media { position: relative; min-height: 340px; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-media .feat-flag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy-dark);
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-gold);
}
.featured-body { padding: 44px 46px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.featured-body h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.featured-body h2 a { color: var(--navy); }
.featured-body h2 a:hover { color: var(--royal); }
.featured-body p { color: var(--text); font-size: 15.5px; }
.featured-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13.5px; }

/* ============================================================
   Features (método)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 32px; display: flex; gap: 20px;
  backdrop-filter: blur(6px); transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(232, 163, 61, .5); }
.feature-icon {
  flex: 0 0 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(232, 163, 61, .9), rgba(201, 123, 30, .85));
  font-size: 23px; box-shadow: var(--shadow-gold);
}
.feature h3 { color: #fff; font-size: 18px; margin-bottom: 9px; }
.feature p { color: #A9B8DA; font-size: 14.5px; line-height: 1.65; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-dark), var(--navy) 45%, var(--navy-3)); padding: 76px 0; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 100%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, black 10%, transparent 75%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 10px; }
.cta-banner h2 em { font-style: normal; background: linear-gradient(92deg, #F5C877, #E8A33D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-banner p { color: #A9B8DA; max-width: 560px; font-size: 16px; }
.cta-points { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.cta-points span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #C9D5EE; }
.cta-points span b { color: var(--gold); font-size: 15px; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--royal); }
.breadcrumb .sep { color: #C4CFE0; }
.breadcrumb span:last-child { color: var(--navy); font-weight: 600; }

/* ============================================================
   Página de post
   ============================================================ */
.post-layout { display: grid; grid-template-columns: 1fr 316px; gap: 40px; align-items: start; padding: 48px 0 84px; }
.post-article {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 52px 56px;
}
.post-article h1 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 18px; }
.post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text); margin-bottom: 26px; }
.post-meta time, .post-meta .rt { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .chip { align-self: auto; }
.post-featured { border-radius: 18px; overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow); }
.post-content { color: #37445F; font-size: 17.5px; line-height: 1.85; }
.post-content > * + * { margin-top: 1.35em; }
.post-content h2 { font-size: 1.55rem; margin-top: 2.2em; color: var(--navy); scroll-margin-top: calc(var(--header-h) + 22px); }
.post-content h2::after { content: ''; display: block; width: 54px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); margin-top: 10px; }
.post-content h3 { font-size: 1.28rem; margin-top: 1.9em; color: var(--navy); scroll-margin-top: calc(var(--header-h) + 22px); }
.post-content p { margin: 0 0 1.3em; }
.post-content ul, .post-content ol { padding-left: 1.5em; margin: 0 0 1.4em; }
.post-content li { margin-bottom: .5em; }
.post-content li::marker { color: var(--gold-2); font-weight: 700; }
.post-content img { border-radius: 14px; margin: 1.8em 0; box-shadow: var(--shadow); }
.post-content blockquote {
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  padding: 20px 26px; border-radius: 0 16px 16px 0; font-style: italic; margin: 1.8em 0;
  color: var(--navy);
}
.post-content table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.8em 0; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.post-content th { background: #EEF2FB; font-family: var(--font-head); color: var(--navy); font-size: 13.5px; letter-spacing: .02em; }
.post-content tr:nth-child(even) td { background: #F8FAFE; }
.post-content strong { color: var(--navy); }
.post-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #C4CFE0; }
.post-content a:hover { text-decoration-color: var(--royal); }
.table-wrap { overflow-x: auto; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; margin: 1.8em 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   TOC
   ============================================================ */
.toc {
  position: sticky; top: calc(var(--header-h) + 22px);
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 24px 24px 10px;
}
.toc h3 { font-size: 14.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.toc h3::before { content: ''; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); display: grid; place-items: center; font-size: 13px; color: var(--navy-dark); }
.toc ol { list-style: none; counter-reset: toc; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.toc li { counter-increment: toc; margin-bottom: 2px; }
.toc a {
  display: block; padding: 7px 11px; border-radius: 9px; font-size: 13.5px;
  color: var(--text); border-left: 3px solid transparent; transition: .18s;
}
.toc a::before { content: counter(toc); display: inline-block; width: 20px; font-weight: 700; color: var(--royal-3); font-size: 12px; }
.toc a:hover { background: #F3F6FD; color: var(--navy); }
.toc a.active { background: var(--gold-soft); color: var(--navy); border-left-color: var(--gold); font-weight: 600; }
.toc-side-card {
  margin-top: 22px; background: linear-gradient(150deg, var(--navy-dark), var(--navy) 55%, var(--navy-3));
  border-radius: 18px; padding: 28px 24px; color: #A9B8DA; text-align: center; box-shadow: var(--shadow-lg);
  position: sticky; top: calc(var(--header-h) + 22px);
}
.toc-side-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.toc-side-card p { font-size: 14px; margin-bottom: 18px; }

/* ============================================================
   Cards de relacionados (compactas)
   ============================================================ */
.related-grid { gap: 22px; }
.related-sub { color: var(--text); font-size: 15px; margin-bottom: 26px; }
.related-sub a { font-weight: 600; }
.post-card.related .post-card-media { aspect-ratio: 16/9; }
.post-card.related .post-card-body { gap: 9px; padding: 16px 18px 18px; }
.post-card.related h3 { font-size: 15px; line-height: 1.35; }

/* ============================================================
   Navegación prev/next
   ============================================================ */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pn-card {
  background: #F8FAFE; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.pn-card:hover { transform: translateY(-3px); border-color: var(--royal-2); box-shadow: var(--shadow); }
.pn-card span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--font-head); }
.pn-card strong { font-size: 14.5px; color: var(--navy); font-family: var(--font-head); line-height: 1.4; }
.pn-card.pn-empty { visibility: hidden; }

/* ============================================================
   Botón escuchar artículo + CTA con GIF
   ============================================================ */
.listen-btn { margin-left: auto; }
.cta-gif { background: #fff; padding: 36px 0; }
.cta-gif .container { text-align: center; }
.cta-gif img { max-width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); margin: 0 auto; }
.cta-gif a { display: block; }

/* ============================================================
   CTA lateral (GIF)
   ============================================================ */
.toc-side-card { padding: 0; overflow: hidden; }
.toc-side-card a { display: block; }
.toc-side-card img { width: 100%; height: auto; border-radius: 0; }

/* ============================================================
   Share / autor / relacionados
   ============================================================ */
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 38px 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.share > span { font-weight: 600; color: var(--navy); font-family: var(--font-head); font-size: 13.5px; }
.share a {
  background: #F3F6FD; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--navy); transition: .2s;
}
.share a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.author-box { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, #F8FAFE, #F3F6FD); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin-bottom: 44px; }
.author-box img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.author-box h4 { font-size: 16.5px; margin-bottom: 5px; }
.author-box p { font-size: 14px; color: var(--text); }
.related { margin-top: 60px; }
.related h2 { font-size: 1.5rem; margin-bottom: 28px; }

/* ============================================================
   Páginas generales
   ============================================================ */
.page-hero { background: linear-gradient(140deg, var(--navy-dark), var(--navy) 55%, #24408C); color: #DCE3F2; padding: 62px 0 68px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .45;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 20% 100%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 100%, black 10%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.page-hero p { color: #A9B8DA; max-width: 660px; font-size: 16.5px; }
.page-body { padding: 56px 0 84px; }
.page-content {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 48px 52px; color: #37445F; font-size: 16.5px; line-height: 1.8;
}
.page-content > * + * { margin-top: 1.25em; }
.page-content h2 { color: var(--navy); font-size: 1.5rem; margin-top: 1.8em; }
.page-content h2::after { content: ''; display: block; width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); margin-top: 9px; }
.page-content h3 { color: var(--navy); font-size: 1.25rem; margin-top: 1.6em; }
.page-content ul { padding-left: 1.4em; margin-bottom: 1.3em; }
.page-content li { margin-bottom: .45em; }
.page-content li::marker { color: var(--gold-2); }
.page-content img { border-radius: 14px; box-shadow: var(--shadow); margin: 1.5em 0; }
.page-content .btn { margin: 1.3em .5em 1.3em 0; }
.page-content blockquote { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 18px 24px; border-radius: 0 14px 14px 0; font-style: italic; color: var(--navy); }
.page-content .lead { font-size: 19px; color: var(--navy); font-weight: 500; }
.page-content .grid { display: grid; gap: 22px; margin: 1.7em 0; }
.page-content .grid-2 { grid-template-columns: repeat(2, 1fr); }
.page-content .grid-3 { grid-template-columns: repeat(3, 1fr); }
.page-content .grid-4 { grid-template-columns: repeat(4, 1fr); }
.page-content .feature { box-shadow: none; background: #F8FAFE; border-color: var(--line); }
.page-content .feature h3 { color: var(--navy); }
.page-content .feature p { color: var(--text); }
.page-content .check-list { list-style: none; padding-left: 0; }
.page-content .check-list li { position: relative; padding-left: 32px; margin-bottom: 11px; }
.page-content .check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy-dark); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.stars { color: var(--gold); letter-spacing: 2px; }
.stat { text-align: center; padding: 18px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 36px; color: var(--navy-3); }
.stat span { font-size: 14px; color: var(--text); }

/* ============================================================
   Formulario contacto
   ============================================================ */
.contact-form { max-width: 580px; display: grid; gap: 18px; margin-top: 30px; }
.contact-form label { font-weight: 700; font-size: 14px; color: var(--navy); font-family: var(--font-head); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 13px;
  font-family: var(--font-body); font-size: 15.5px; background: #fff; transition: border .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--royal-2); box-shadow: 0 0 0 4px rgba(74, 108, 247, .14); }
.contact-form textarea { min-height: 150px; resize: vertical; }

/* ============================================================
   404
   ============================================================ */
.error-page { text-align: center; padding: 120px 24px; }
.error-page .code {
  font-family: var(--font-head); font-size: clamp(6.5rem, 17vw, 11rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; display: inline-block;
}
.error-page .code::after { content: '404'; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .18; transform: translate(5px, 5px); z-index: -1; }
.error-page h1 { font-size: 2.1rem; margin-bottom: 12px; }
.error-page p { color: var(--text); max-width: 480px; margin: 0 auto 32px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-dark); color: #8E9CBE; padding: 72px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--royal-2)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-brand .logo-chip { background: transparent; padding: 0; border-radius: 0; display: inline-block; margin-bottom: 18px; }
.footer-brand .logo-chip img { height: 44px; width: auto; }
.footer-brand p { font-size: 14.5px; max-width: 320px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--gold); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #8E9CBE; font-size: 14px; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: #B9C6E4; }

.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy-dark);
  border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700;
  box-shadow: var(--shadow-gold); opacity: 0; visibility: hidden; transition: .3s; z-index: 120;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { color: var(--navy-dark); transform: translateY(-3px); }

/* ============================================================
   Animaciones de entrada (solo ocultan si el JS está activo)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float, .hero-badge .dot { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .search-input { width: 150px; }
  .search-input:focus { width: 190px; }
  .site-nav a { padding: 8px 10px; font-size: 13.8px; }
}
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-media { min-height: 260px; }
  .post-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc-side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .hero-stats div + div::before { left: -14px; }
}
@media (max-width: 900px) {
  .search-wrap { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy);
    flex-direction: column; align-items: stretch; padding: 20px 24px 30px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5);
    transform: translateY(-140%); transition: transform .35s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, .1); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
  .site-nav a.active::after { display: none; }
  .site-nav a.active { background: rgba(255, 255, 255, .1); }
  .site-nav .nav-cta { margin: 12px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 66px 0 80px; }
  .hero-media { max-width: 560px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .post-article, .page-content { padding: 32px 26px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-points { justify-content: center; }
}
@media (max-width: 600px) {
  .cat-grid, .post-grid, .testi-grid { grid-template-columns: 1fr; }
  .page-content .grid-2, .page-content .grid-3, .page-content .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 26px; }
  .hero-stats div + div::before { display: none; }
  .featured-body { padding: 30px 26px; }
  .feature { padding: 24px 20px; flex-direction: column; }
  .feature-icon { flex: 0 0 50px; width: 50px; height: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .trust-strip .container { gap: 16px; }
  .trust-strip img { max-height: 30px; }
}

/* ============================================================
   UX Interactivo: Theme Toggle, Audio, Quiz, Flashcards, Bookmarks
   ============================================================ */

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer; font-size: 18px;
  transition: transform .2s, background .2s;
  margin-left: 6px;
}
.theme-toggle-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, .22);
}

/* Audio Pronunciation Button */
.audio-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46, 78, 181, 0.12);
  color: var(--royal);
  border: 1px solid rgba(46, 78, 181, 0.25);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all 0.2s var(--ease);
}
.audio-btn:hover {
  background: var(--royal);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(46, 78, 181, 0.4);
}
.audio-btn.playing {
  animation: pulseAudio 1s infinite alternate;
}
@keyframes pulseAudio {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* Palabra del Día Widget */
.word-of-day-card {
  background: linear-gradient(135deg, #FFFFFF, #F3F6FD);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  box-shadow: var(--shadow);
  max-width: 760px; margin: 0 auto;
}
.word-of-day-info strong {
  color: var(--navy); font-size: 24px; font-family: var(--font-head); display: block; margin-bottom: 4px;
}
.word-of-day-info span {
  color: var(--text); font-size: 15px; font-style: italic;
}

/* Test de Nivel Rápido Widget */
.placement-quiz-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
  max-width: 820px; margin: 0 auto;
}
.quiz-header { text-align: center; margin-bottom: 24px; }
.quiz-header h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.quiz-header p { color: var(--text); font-size: 15px; }
.quiz-progress-bar {
  height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 24px;
}
.quiz-progress-fill {
  height: 100%; width: 33%; background: linear-gradient(90deg, var(--gold), var(--royal-2)); transition: width 0.3s var(--ease);
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeInStep 0.3s var(--ease); }
@keyframes fadeInStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-question { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 18px; font-family: var(--font-head); }
.quiz-options { display: grid; gap: 12px; margin-bottom: 20px; }
.quiz-option {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 20px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--navy);
  transition: all 0.2s var(--ease); display: flex; align-items: center; gap: 12px;
}
.quiz-option:hover {
  border-color: var(--royal-2); background: rgba(74, 108, 247, 0.06); transform: translateX(4px);
}
.quiz-option.selected {
  border-color: var(--royal-2); background: rgba(74, 108, 247, 0.12); font-weight: 700;
}
.quiz-result {
  text-align: center; padding: 20px 0;
}
.quiz-result-badge {
  display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy-dark); font-family: var(--font-head); font-weight: 800; font-size: 28px;
  padding: 12px 28px; border-radius: 999px; margin-bottom: 16px; box-shadow: var(--shadow-gold);
}

/* Flashcards Widget */
.flashcards-container {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px;
}
.flashcard {
  perspective: 1000px; height: 220px; cursor: pointer;
}
.flashcard-inner {
  position: relative; width: 100%; height: 100%; text-align: center;
  transition: transform 0.6s var(--ease); transform-style: preserve-3d;
  border-radius: 20px; box-shadow: var(--shadow);
}
.flashcard.flipped .flashcard-inner {
  transform: rotateY(180deg);
}
.flashcard-front, .flashcard-back {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 20px; border: 1px solid var(--line);
  padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.flashcard-front {
  background: var(--card); color: var(--navy);
}
.flashcard-front h4 { font-size: 22px; color: var(--royal); font-family: var(--font-head); }
.flashcard-front span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.flashcard-back {
  background: linear-gradient(140deg, var(--navy-dark), var(--navy));
  color: #fff; transform: rotateY(180deg); border-color: rgba(255, 255, 255, 0.15);
}
.flashcard-back p { font-size: 16px; color: #E2E8F0; }
.flashcard-back small { color: var(--gold); font-weight: 600; font-size: 13.5px; }

/* Filter Pills */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 8px 18px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line);
  color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  cursor: pointer; transition: all 0.2s var(--ease);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--royal); color: #fff; border-color: var(--royal); transform: translateY(-1px);
}

/* Bookmark Button */
.btn-bookmark {
  background: none; border: none; cursor: pointer; font-size: 18px; color: var(--muted);
  transition: transform 0.2s, color 0.2s; padding: 4px; display: inline-flex; align-items: center;
}
.btn-bookmark:hover { transform: scale(1.2); color: var(--gold); }
.btn-bookmark.bookmarked { color: var(--gold); }

/* Toast Notifications */
.toast-container {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  background: var(--navy-dark); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg); font-family: var(--font-head);
  animation: toastIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .flashcards-container { grid-template-columns: 1fr; }
  .word-of-day-card { flex-direction: column; text-align: center; }
  .placement-quiz-box { padding: 24px 20px; }
}

