/*-------------------------------------------------
   FLUIDEZ DOCENTE - PLAYFUL DYNAMIC CSS STYLE
   Bright, playful, animated. Mobile-first & flex only
---------------------------------------------------*/
/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFBFF;
  color: #214773;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

/*---------------------
  VARIABLES (fallbacks)
---------------------*/
:root {
  --fd-primary: #184D7B;
  --fd-secondary: #EAEAEA;
  --fd-accent: #FFD33D;
  --fd-white: #fff;
  --fd-grey: #F7F8FA;
  --fd-text: #1A2B40;
  --fd-card-bg: #fff;
  --fd-shadow: 0 4px 24px rgba(24,77,123,0.08);
  --fd-border-radius: 22px;
  --fd-transition: 0.22s cubic-bezier(0.7, 0.2, 0.2, 1.0);
}

/* -----------------
    TYPOGRAPHY SCALE
-------------------*/
h1, .display {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: var(--fd-primary);
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2464A6;
  margin-bottom: 14px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--fd-primary);
  margin-bottom: 8px;
}
.text-section h1,
.text-section h2 {
  color: var(--fd-primary);
}
p, li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fd-text);
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  background: var(--fd-accent);
  color: #214773;
  border-radius: 14px;
  padding: 18px 24px;
  margin: 24px 0 0 0;
  box-shadow: 0 2px 10px rgba(255,211,61,0.12);
}

/* -------------------
    CONTAINERS + SPACING
-------------------*/
.container {
  max-width: 1220px;
  padding: 0 18px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/*---------------------
    FLEXBOX LAYOUTS
---------------------*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.features-grid > li,
.features-grid > div {
  background: var(--fd-card-bg);
  border-radius: var(--fd-border-radius);
  box-shadow: var(--fd-shadow);
  padding: 26px 22px;
  flex: 1 1 240px;
  max-width: 340px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px; /* mandatory spacing */
  transition: box-shadow var(--fd-transition), transform var(--fd-transition);
}
.features-grid > li:hover,
.features-grid > div:hover {
  box-shadow: 0 8px 32px rgba(30,60,120,0.14);
  transform: translateY(-4px) scale(1.035) rotate(-2deg);
}
.features-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}

.course-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.course-card {
  background: #fffbe7;
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(255,211,61,0.11);
  padding: 22px 20px;
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  border-left: 6px solid var(--fd-accent);
  transition: box-shadow var(--fd-transition), border-color var(--fd-transition);
}
.course-card:hover {
  box-shadow: 0 8px 38px rgba(255,211,61,0.21);
  border-left: 6px solid #FFB300;
}

.courses-list,
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.courses-list > li,
.blog-post-list > li {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 8px rgba(24,77,123,0.06);
  padding: 24px 18px 20px 24px;
  position: relative;
  transition: box-shadow var(--fd-transition), transform var(--fd-transition);
  margin-bottom: 20px;
}
.courses-list > li:hover,
.blog-post-list > li:hover {
  box-shadow: 0 8px 18px rgba(30,60,120,0.13);
  transform: translateY(-3px) scale(1.018) rotate(1deg);
}

.tags-filter {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--fd-primary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tags-filter span {
  background: var(--fd-accent);
  color: var(--fd-primary);
  border-radius: 12px;
  padding: 2px 12px;
  font-weight: 700;
  margin-right: 4px;
}

.tag {
  display: inline-block;
  background: var(--fd-accent);
  color: var(--fd-primary);
  border-radius: 10px;
  padding: 4px 12px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  transition: background var(--fd-transition);
}

/* Card containers */
.card-container,
.card-grid,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--fd-card-bg);
  border-radius: var(--fd-border-radius);
  box-shadow: var(--fd-shadow);
  padding: 24px 20px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.testimonial-slider,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 24px rgba(69, 104, 132, 0.08);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 410px;
  position: relative;
  border-left: 5px solid var(--fd-accent);
  color: #2c304a;
  transition: box-shadow var(--fd-transition), border-color var(--fd-transition);
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(255, 211, 61, 0.17);
  border-left: 5px solid #f9bc04;
}
.testimonial-card p {
  color: #2c304a;
  font-size: 1.02rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.testimonial-card strong {
  color: #184D7B;
  font-size: 1rem;
  font-weight: 700;
}

/* feature-item example for future use*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe7;
  border-radius: 17px;
  padding: 22px 17px;
  margin-bottom: 20px;
}

/* cards inside content grid, utility class */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* support and benefit icons (contact, methodology) */
.support-icons, .benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin: 28px 0 22px 0;
}
.support-icons li, .benefit-icons li {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fd-primary);
  box-shadow: 0 2px 6px rgba(24,77,123,0.08);
}
.support-icons img, .benefit-icons img {
  margin-right: 10px;
  width: 28px;
  height: 28px;
}

/* Google Map placeholder */
.google-map-embed {
  margin-top: 22px;
  background: var(--fd-grey);
  border-radius: 14px;
  padding: 16px 12px;
  color: var(--fd-primary);
}

/*-------------------
      BUTTONS & CTA
-------------------*/
.cta-btn {
  display: inline-block;
  background: var(--fd-accent);
  color: #2c304a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 40px;
  padding: 12px 34px;
  font-size: 1.11rem;
  box-shadow: 0 4px 24px rgba(255,211,61,0.08);
  margin-top: 8px;
  letter-spacing: 0.01em;
  transition: background var(--fd-transition), color var(--fd-transition), transform var(--fd-transition), box-shadow var(--fd-transition);
  border: 2px solid var(--fd-accent);
  position: relative;
  z-index: 1;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe06a !important;
  color: #153454;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 11px 32px rgba(255,211,61,0.17);
  border-color: #fecc2c;
}
button, .btn {
  cursor: pointer;
  border: none;
  border-radius: 40px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  transition: background-color var(--fd-transition), color var(--fd-transition), transform var(--fd-transition);
  background: var(--fd-primary);
  color: #fff;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #2464A6;
  color: #ffe063;
  transform: scale(1.05);
}

/*-------------------
    HEADER & NAV
-------------------*/
header {
  width: 100%;
  background: var(--fd-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(24,77,123,0.10);
  position: sticky;
  top: 0;
  z-index: 990;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 20px 18px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 20px;
  padding: 7px 18px;
  transition: background var(--fd-transition), color var(--fd-transition), transform var(--fd-transition);
  margin: 0 2px;
}
header nav a:hover,
header nav a.active {
  background: var(--fd-accent);
  color: #184D7B;
  transform: scale(1.09) rotate(-2deg);
}
header .cta-btn {
  background: var(--fd-accent);
  color: #153454;
  border: 2.3px solid #ffe062;
  box-shadow: none;
  font-size: 1.01rem;
  margin-left: 16px;
  padding: 10px 23px;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #FFEB88;
  color: #214773;
  transform: scale(1.08) rotate(-3deg);
}
header a img {
  max-height: 44px;
}

/*--------------------------
   MOBILE MENU (BURGER/SLIDE)
--------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--fd-accent);
  color: #142a42;
  border: none;
  border-radius: 15px;
  font-size: 2.13rem;
  padding: 7px 16px 7px 16px;
  margin-left: 11px;
  cursor: pointer;
  position: relative;
  z-index: 1101;
  box-shadow: 0 2px 9px rgba(255,211,61,0.13);
  transition: background var(--fd-transition), color var(--fd-transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffee8a;
  color: #2464A6;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 420px;
  background: var(--fd-primary);
  color: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  box-shadow: -5px 0 38px rgba(30,60,120,0.14);
  display: flex;
  flex-direction: column;
  padding: 26px 16px 24px 22px;
  gap: 34px;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
}
.mobile-menu-close {
  background: var(--fd-accent);
  color: #142a42;
  font-size: 2.1rem;
  border-radius: 15px;
  align-self: flex-end;
  margin-bottom: 12px;
  padding: 3px 14px;
  box-shadow: 0 2px 8px rgba(255,211,61,0.13);
  transition: background var(--fd-transition), color var(--fd-transition);
  border: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ffe672;
  color: #2464A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav a {
  background: #18508b;
  color: #FFD33D;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 2px;
  transition: background var(--fd-transition), color var(--fd-transition), transform var(--fd-transition);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: #fff;
  color: #184D7B;
  transform: scale(1.04) rotate(1deg);
}

@media (max-width: 1023px) {
  header .container nav {
    display: none;
  }
  header .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*-------------------
      FOOTER
-------------------*/
footer {
  background: #F7F8FD;
  color: #2163a1;
  font-size: 1rem;
  margin-top: 44px;
  border-top: 3px solid #FFD33D;
}
footer .container {
  flex-direction: row;
  gap: 30px;
  padding: 36px 14px 30px 14px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 28px;
}
footer nav a {
  color: #184D7B;
  font-size: 1.01rem;
  opacity: 0.94;
  padding: 4px 0;
  border-radius: 10px;
  transition: color 0.22s, background 0.22s;
}
footer nav a:hover { color: #FFD33D; background: #184D7B; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.96rem;
  color: #1A2B40;
  padding-left: 10px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
footer a img {
  max-height: 36px;
}

/*-------------------
  COOKIE CONSENT BANNER
-------------------*/
#cookie-banner,
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe1;
  color: #2c304a;
  z-index: 9999;
  box-shadow: 0 -3px 20px rgba(24,77,123,0.12);
  padding: 18px 8vw 14px 8vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  border-top: 4px solid var(--fd-accent);
  transition: transform 0.3s, opacity 0.3s;
  animation: slideUpIn 0.46s cubic-bezier(0.55,0.15,0.3,1.01);
}
#cookie-banner.hide, .cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s, opacity 0.25s;
}
.cookie-banner-text {
  font-size: 1.01rem;
  color: #142A42;
  margin-bottom: 3px;
  line-height: 1.6;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 5px;
}
.cookie-btn,
.cookie-banner .btn {
  background: var(--fd-accent);
  color: #184D7B;
  border-radius: 28px;
  font-size: 0.97rem;
  font-weight: 700;
  padding: 8px 18px;
  margin-right: 2px;
  transition: background var(--fd-transition), color var(--fd-transition), transform var(--fd-transition);
  border: 2px solid var(--fd-accent);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffd03b;
  color: #142A42;
  transform: scale(1.05);
}
.cookie-btn.secondary {
  background: #fff;
  color: #184D7B;
  border-color: #ffd03b;
}
.cookie-btn.secondary:hover {
  background: #184D7B;
  color: #FFD33D;
}
.cookie-btn.settings {
  background: #fffbe1;
  color: #214773;
  border: 2px dashed #FFD33D;
}
.cookie-btn.settings:hover {
  background: #FFD33D;
  color: #184D7B;
}


/* COOKIE MODAL POPUP STYLING */
#cookie-modal,
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40,53,92,0.26);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  animation: fadeIn 0.30s;
}
#cookie-modal.hide, .cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-content {
  background: #fffbe7;
  color: #1A2B40;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(30,60,120,0.20);
  padding: 34px 28px 30px 28px;
  max-width: 410px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popIn 0.42s cubic-bezier(0.5,0.55,0.1,1.08);
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.38rem;
  color: #184D7B;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category-label {
  flex: 1 1 auto;
  font-size: 1.01rem;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch-label {
  background: #d0e2f1;
  border-radius: 17px;
  display: block;
  height: 22px;
  width: 44px;
  position: relative;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-switch-label:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #FFD33D;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.18s;
  box-shadow: 0 2px 8px #fff3ac;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch-label {
  background: #184D7B;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch-label:after {
  left: 24px;
  background: #184D7B;
}
.cookie-category .disabled {
  opacity: 0.50;
  pointer-events: none;
  filter: grayscale(1);
}
.cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #184D7B;
  font-size: 1.45rem;
  font-weight: 700;
  position: absolute;
  top: 16px; right: 18px;
  cursor: pointer;
  padding: 3px 9px;
  border-radius: 11px;
  transition: background 0.19s, color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFD33D;
  color: #184D7B;
}

/*-------------------
   ANIMATIONS
-------------------*/
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUpIn {
  from { transform: translateY(140%); opacity:0; }
  to { transform: translateY(0%); opacity:1; }
}
@keyframes popIn {
  0% { transform: scale(0.8) rotate(-3deg); opacity:0; }
  70% { transform: scale(1.05) rotate(1deg); opacity:1; }
  100% { transform: scale(1) rotate(0deg); }
}

/*-------------------
      UTILITIES
-------------------*/
.mt-2 { margin-top: 12px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-primary { color: var(--fd-primary) !important; }
.bg-accent { background: var(--fd-accent) !important; }
.bg-secondary { background: var(--fd-secondary) !important; }
.rounded { border-radius: 24px !important; }
.shadow { box-shadow: 0 3px 18px rgba(24,77,123,0.15) !important; }

/*-------------------
   RESPONSIVE - MOBILE FIRST
-------------------*/
@media (max-width: 1023px) {
  .section, section { padding: 28px 6vw; }
  .container { padding: 0 8px; }
  .content-wrapper, .text-section { gap: 14px; }
  .features-grid, .course-cards, .card-grid, .testimonial-grid { gap: 14px; }
  .features-grid > li, .features-grid > div, .course-card {
    max-width: 100%; min-width: 0; flex: 1 1 90vw;
  }
  .card-container, .card-grid, .testimonial-slider, .testimonial-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { max-width: 100%; min-width: 0; }
  .support-icons, .benefit-icons { gap: 10px; font-size: 0.98rem; }
  .google-map-embed { padding: 14px 8px; }
  .cookie-modal-content { padding: 19px 9px 19px 16px; }
  .footer-contact { font-size: 0.92rem; }
  footer .container { flex-direction: column; gap: 18px; padding: 26px 7px 21px 7px; }
  footer nav { margin: 0 0 15px 0; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column !important; align-items: center !important; }
  .section, section { padding: 18px 3vw; }
  .container { padding: 0 5px; }
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.10rem; }
  .cta-btn { font-size: 1.04rem; padding: 11px 20px; }
  .features-grid > li, .features-grid > div, .course-card { padding: 15px 10px; }
}

/*-------------------
    MICRO-INTERACTIONS
-------------------*/
a, .cta-btn, button, .btn, .cookie-btn {
  transition: background var(--fd-transition), color var(--fd-transition), box-shadow var(--fd-transition), transform var(--fd-transition);
}
.features-grid > li, .card, .course-card, .testimonial-card {
  transition: box-shadow var(--fd-transition), border-color var(--fd-transition), transform var(--fd-transition);
}

/* Playful floating animation for hero CTAs (energetic effect) */
.cta-btn {
  animation: floatBounce 2.4s infinite cubic-bezier(0.7,0,0.18,1.1);
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(1px) scale(1.0); }
  30% { transform: translateY(-7px) scale(1.025) rotate(-1.3deg); }
  60% { transform: translateY(3px) scale(0.99) rotate(1.7deg); }
}

/* Minor deco confetti-corner for fun blocks (playful!)*/
.features-grid > li:after, .course-card:after {
  content: '';
  position: absolute;
  top: 12px; right: 11px;
  width: 12px; height: 12px;
  background: var(--fd-accent);
  border-radius: 90%;
  box-shadow: 9px 12px 0 #f8b6a6, -6px 18px 0 #58efe3, 14px -7px 0 #fcbc57;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}
.features-grid > li:hover:after, .course-card:hover:after {
  opacity: 0.25;
  animation: confettiPop 0.4s cubic-bezier(0.8,0,0.2,1);
}
@keyframes confettiPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.23) rotate(-16deg); }
  90% { opacity: 0.35; }
  100% { opacity: 0.16; }
}

/* ----------------------------
   PRINTED ATTRIBUTION (ARIA)
------------------------------*/
[aria-label="Fluidez Docente"]:after {
  display: none;
}
