/* Home page - mockup composition */

/* ---------- Hero (Fundacion Berea mockup) ---------- */
.flc-hero--home {
  --flc-hero-navy: #123a86;
  --flc-hero-green: #6fbe3a;
  --flc-hero-gold: #f5c518;
  position: relative;
  min-height: clamp(640px, 88vh, 820px);
  overflow: hidden;
  background: #fff;
  color: var(--flc-navy);
}

.flc-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(64px);
  opacity: 0.38;
  z-index: 0;
  animation: flc-hero-glow-drift 12s ease-in-out infinite alternate;
}

.flc-hero-glow--pink {
  width: 280px;
  height: 280px;
  left: 8%;
  top: 12%;
  background: rgba(227, 22, 123, 0.28);
}

.flc-hero-glow--green {
  width: 340px;
  height: 340px;
  right: 18%;
  top: -8%;
  background: rgba(111, 190, 58, 0.22);
  animation-delay: -4s;
}

.flc-hero-glow--gold {
  width: 220px;
  height: 220px;
  left: 38%;
  bottom: 18%;
  background: rgba(245, 197, 24, 0.2);
  animation-delay: -7s;
}

@keyframes flc-hero-glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.12); }
}

.flc-hero-dust {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.flc-hero-dust-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0;
  left: calc(6% + (var(--i) * 6.4%));
  top: calc(12% + (var(--i) * 5.2%));
  background: var(--flc-hero-gold);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.7);
  animation: flc-hero-float 6.8s calc(var(--i) * 0.35s) ease-in-out infinite;
}

.flc-hero-dust-dot:nth-child(3n) { background: var(--flc-pink); box-shadow: 0 0 10px rgba(224, 51, 122, 0.55); width: 5px; height: 5px; }
.flc-hero-dust-dot:nth-child(4n) { background: var(--flc-hero-green); box-shadow: 0 0 10px rgba(111, 190, 58, 0.55); }
.flc-hero-dust-dot:nth-child(5n) { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); }

@keyframes flc-hero-float {
  0%, 100% { opacity: 0; transform: translateY(18px) scale(0.6); }
  20% { opacity: 0.85; }
  50% { opacity: 0.55; transform: translateY(-26px) scale(1); }
  80% { opacity: 0.2; }
}

.flc-hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: inherit;
  width: 100%;
  padding: 0 1.25rem 7.5rem;
}

@media (min-width: 960px) {
  .flc-hero-stage {
    grid-template-columns: minmax(26rem, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    padding: 0 0 0;
    max-width: none;
  }
}

.flc-hero-panel--copy {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 2.2rem 0 1.5rem;
  min-width: 0;
}

@media (min-width: 960px) {
  .flc-hero-panel--copy {
    padding: 4.5rem 2rem 8.75rem clamp(1.75rem, 6.5vw, 7.5rem);
    background: #fff;
  }
}

.flc-hero--home .flc-hero-copy {
  max-width: 36rem;
  min-width: 0;
  overflow: visible;
}

.flc-hero--home .flc-hero-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--flc-hero-navy);
  overflow: visible;
  padding: 0.04em 0.18em 0.04em 0.02em;
}

.flc-hero--home .flc-hero-title-line {
  display: block;
  animation: flc-hero-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flc-hero--home .flc-hero-title-accent {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.04em;
  padding: 0.04em 0.16em 0.08em 0;
  color: var(--flc-hero-green);
  -webkit-text-fill-color: var(--flc-hero-green);
  font-family: var(--flc-font);
  font-weight: 800;
  font-size: 1em;
  line-height: 1.15;
  background: none;
  overflow: visible;
  animation: flc-hero-title-in 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes flc-hero-title-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.flc-hero--home .flc-hero-text {
  margin: 0 0 1.85rem;
  max-width: 32rem;
  color: #4b5568;
  font-size: 1.05rem;
  line-height: 1.7;
}

.flc-hero--home .flc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.flc-hero-btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(227, 22, 123, 0.32);
}

.flc-hero-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  animation: flc-hero-btn-shine 3.4s 1.2s ease-in-out infinite;
}

@keyframes flc-hero-btn-shine {
  0%, 60% { left: -40%; }
  100% { left: 130%; }
}

.flc-hero-btn-secondary {
  background: #fff;
}

.flc-hero-panel--media {
  position: relative;
  min-height: 360px;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  outline: 0;
}

@media (min-width: 960px) {
  .flc-hero-panel--media {
    min-height: 100%;
    align-self: stretch;
    overflow: hidden;
  }
}

.flc-hero-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 960px) {
  .flc-hero-photo-wrap {
    inset: 0;
  }

  .flc-hero-photo-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5.5rem;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.45) 38%, transparent 100%);
  }
}

.flc-hero-photo-wrap::before,
.flc-hero-photo-wrap::after {
  pointer-events: none;
}

.flc-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  outline: 0;
  object-fit: cover;
  object-position: 54% 42%;
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.flc-hero-sun {
  position: absolute;
  z-index: 4;
  top: 4%;
  right: 5%;
  width: clamp(5.5rem, 11vw, 7.25rem);
  height: clamp(5.5rem, 11vw, 7.25rem);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82);
  transition:
    opacity 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 6px 14px rgba(10, 28, 58, 0.18));
}

.flc-hero--home.is-ready .flc-hero-sun {
  opacity: 1;
  transform: scale(1);
}

.flc-hero-sun-rays {
  position: absolute;
  inset: 0;
  color: #f5c518;
  animation: flc-hero-sun-spin 18s linear infinite;
}

.flc-hero-sun-rays svg {
  display: block;
  width: 100%;
  height: 100%;
}

.flc-hero-sun-heart {
  position: absolute;
  inset: 28%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #e3167b;
  box-shadow: 0 8px 20px rgba(227, 22, 123, 0.22);
  animation: flc-hero-sun-pulse 2.2s ease-in-out infinite;
}

.flc-hero-sun-heart svg {
  display: block;
  width: 52%;
  height: auto;
}

@keyframes flc-hero-sun-spin {
  to { transform: rotate(360deg); }
}

@keyframes flc-hero-sun-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 959px) {
  .flc-hero-sun {
    top: 3%;
    right: 4%;
    width: clamp(4.5rem, 18vw, 5.75rem);
    height: clamp(4.5rem, 18vw, 5.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flc-hero-sun-rays,
  .flc-hero-sun-heart {
    animation: none !important;
  }
  .flc-hero-sun {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.flc-hero--home.is-ready .flc-hero-photo {
  transform: scale(1.08);
  animation: flc-hero-kenburns 18s 1.2s ease-in-out infinite alternate;
}

@keyframes flc-hero-kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(2.2%, 1%, 0); }
}

.flc-hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: clamp(140px, 22vw, 240px);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.5s ease-out;
}

.flc-hero-wave {
  position: absolute;
  left: -4%;
  width: 108%;
  height: 100%;
  bottom: 0;
  display: block;
  will-change: transform;
}

.flc-hero-wave--gold {
  z-index: 1;
  animation: flc-wave-drift 9s ease-in-out infinite alternate;
}

.flc-hero-wave--navy {
  z-index: 2;
  animation: flc-wave-drift 11s 0.4s ease-in-out infinite alternate-reverse;
}

.flc-hero-wave--green {
  z-index: 3;
  width: 52%;
  left: -2%;
  animation: flc-wave-drift 8s 0.2s ease-in-out infinite alternate;
}

@keyframes flc-wave-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2.4%, 4px, 0); }
}

[data-flc-hero-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-flc-hero-anim="media"] {
  transform: translateX(28px);
}

.flc-hero--home.is-ready [data-flc-hero-anim] {
  opacity: 1;
  transform: none;
}

.flc-hero--home.is-ready [data-flc-hero-anim="copy"] {
  transition-delay: 0.06s;
}

.flc-hero--home.is-ready [data-flc-hero-anim="media"] {
  transition-delay: 0.16s;
}

@media (max-width: 959px) {
  .flc-hero--home {
    min-height: 0;
  }

  .flc-hero-stage {
    padding-bottom: 6.5rem;
  }

  .flc-hero-panel--media {
    min-height: 46vh;
    order: -1;
    margin: 0 -1.25rem;
  }

  .flc-hero-photo-wrap {
    position: relative;
    inset: auto;
    height: 46vh;
  }

  .flc-hero-photo-wrap::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 28%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, #fff 100%);
  }

  .flc-hero--home .flc-hero-title-accent {
    -webkit-text-fill-color: var(--flc-hero-green);
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flc-hero-glow,
  .flc-hero-dust-dot,
  .flc-hero-wave,
  .flc-hero-btn-primary::after,
  .flc-hero--home .flc-hero-title-line,
  .flc-hero--home .flc-hero-title-accent,
  .flc-hero--home.is-ready .flc-hero-photo {
    animation: none !important;
  }

  [data-flc-hero-anim] {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .flc-hero--home.is-ready .flc-hero-photo {
    transform: none;
  }
}

/* Soft SVG section dividers (other home blocks) */
.flc-shape-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 56px;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.flc-shape-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.flc-shape-divider--top {
  top: 0;
}

.flc-shape-divider--bottom {
  bottom: 0;
}

.flc-hero--home .flc-shape-divider--bottom {
  height: 64px;
}

@keyframes flc-draw-stroke {
  to { stroke-dashoffset: 0; }
}

/* ---------- Quick nav (centered) ---------- */
.flc-quick-nav {
  position: relative;
  background: #fff;
  padding: 1.5rem 0 2.5rem;
  z-index: 2;
}

.flc-quick-nav-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 1.5rem;
}

.flc-quick-nav-logo {
  display: block;
  width: auto;
  height: 8.5rem;
  max-width: min(32rem, 88vw);
  object-fit: contain;
}

.flc-quick-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flc-quick-nav-list > li {
  flex: 1 1 9rem;
  max-width: 12rem;
  position: relative;
}

.flc-quick-nav-list > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(26, 50, 96, 0.12);
}

.flc-quick-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--flc-navy);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.flc-quick-nav-link:hover {
  transform: translateY(-6px);
  text-decoration: none;
}

.flc-quick-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.15rem;
  transition: transform 0.35s ease;
}

.flc-quick-nav-icon svg {
  width: 2rem;
  height: 2rem;
}

.flc-quick-nav-link:hover .flc-quick-nav-icon {
  transform: scale(1.12) translateY(-2px);
}

.flc-quick-nav-link--pink { color: var(--flc-pink); }
.flc-quick-nav-link--orange { color: var(--flc-orange); }
.flc-quick-nav-link--blue { color: var(--flc-blue); }
.flc-quick-nav-link--green { color: var(--flc-green); }
.flc-quick-nav-link--purple { color: var(--flc-purple); }
.flc-quick-nav-link--coral { color: #e85d4c; }

.flc-quick-nav-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--flc-navy);
  line-height: 1.2;
}

.flc-quick-nav-desc {
  font-size: 0.8rem;
  color: var(--flc-text-soft);
  line-height: 1.35;
  max-width: 9.5rem;
}

@media (max-width: 767px) {
  .flc-quick-nav-logo {
    height: 6.7rem;
    max-width: min(26rem, 86vw);
  }
  .flc-quick-nav-list > li {
    flex: 1 1 42%;
    max-width: none;
  }
  .flc-quick-nav-list > li:nth-child(odd)::before {
    display: none;
  }
}

/* ---------- Impact navy ---------- */
.flc-impact {
  position: relative;
  background: var(--flc-navy);
  color: #fff;
  padding: 4.5rem 0 4.75rem;
  margin: 0;
  overflow: hidden;
}

.flc-impact .flc-shape-divider {
  height: 60px;
}

.flc-impact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .flc-impact-inner {
    grid-template-columns: minmax(220px, 0.85fr) 1.4fr;
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.flc-impact-heading {
  margin: 0;
  max-width: 16rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

.flc-impact-heading-main {
  display: block;
}

.flc-impact-heading-accent {
  display: inline-block;
  margin-top: 0.15em;
  color: var(--flc-yellow);
  font-size: 1.2em;
  line-height: 1.15;
}

.flc-impact-heading .flc-script-underline::after {
  background: var(--flc-pink);
  height: 0.14em;
  bottom: -0.06em;
  right: 4%;
  z-index: 0;
}

.flc-impact-heading-accent {
  position: relative;
  z-index: 1;
  padding-bottom: 0.08em;
}

.flc-impact-stats {
  display: grid;
  gap: 1.25rem 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .flc-impact-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.flc-impact-stat {
  position: relative;
  text-align: center;
  padding: 0.35rem 0.75rem;
}

@media (min-width: 768px) {
  .flc-impact-stat + .flc-impact-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    border-left: 1.5px dashed rgba(255, 255, 255, 0.28);
  }
}

.flc-impact-stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.flc-impact-stat:hover .flc-impact-stat-icon {
  transform: scale(1.12) translateY(-2px);
}

.flc-impact-stat-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.flc-impact-stat--pink { color: #f472b6; }
.flc-impact-stat--yellow { color: #fbbf24; }
.flc-impact-stat--blue { color: #7dd3fc; }
.flc-impact-stat--green { color: #4ade80; }
.flc-impact-stat--purple { color: #c4b5fd; }

.flc-impact-stat-number {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.flc-impact-stat-label {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  max-width: 8.5rem;
  margin-inline: auto;
}

/* ---------- Programs (centered 4-card showcase) ---------- */
.flc-programs--home.flc-section {
  --flc-prog-blue: #1c4999;
  --flc-prog-green: #89bd2a;
  --flc-prog-gold: #fdc711;
  --flc-prog-pink: #e3167b;
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 4.25rem 0 5rem;
}

.flc-programs-head {
  text-align: center;
  margin: 0 auto 2.75rem;
  max-width: 36rem;
}

.flc-programs-heading {
  margin: 0;
  color: var(--flc-navy);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.flc-programs-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.95rem auto 0;
  width: 8.5rem;
}

.flc-programs-rule-line {
  flex: 1;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--flc-prog-gold), transparent);
}

.flc-programs-rule-gem {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: var(--flc-prog-gold);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18);
  animation: flc-prog-gem 2.8s ease-in-out infinite;
}

@keyframes flc-prog-gem {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.18); }
}

.flc-programs--home .flc-programs-grid--home {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .flc-programs--home .flc-programs-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .flc-programs--home .flc-programs-grid--home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.flc-programs--home .flc-program-card--rich {
  --flc-prog-tone: var(--flc-prog-blue);
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: visible;
  box-shadow: 0 14px 36px rgba(18, 38, 82, 0.08);
  transform-style: flat;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.flc-programs--home .flc-program-card--blue { --flc-prog-tone: var(--flc-prog-blue); }
.flc-programs--home .flc-program-card--green { --flc-prog-tone: var(--flc-prog-green); }
.flc-programs--home .flc-program-card--gold { --flc-prog-tone: var(--flc-prog-gold); }
.flc-programs--home .flc-program-card--pink { --flc-prog-tone: var(--flc-prog-pink); }

.flc-programs--home .flc-program-card--rich::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--flc-prog-tone);
  transform: scaleX(0.28);
  transform-origin: left center;
  opacity: 0.55;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.flc-programs--home .flc-program-card--rich:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(18, 38, 82, 0.14);
}

.flc-programs--home .flc-program-card--rich:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.flc-programs--home .flc-program-media {
  position: relative;
  overflow: visible;
}

.flc-programs--home .flc-program-photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.flc-programs--home .flc-program-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(12, 24, 48, 0.18) 100%);
  pointer-events: none;
}

.flc-programs--home .flc-program-media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.flc-programs--home .flc-program-card--rich:hover .flc-program-media img {
  transform: scale(1.08);
}

.flc-programs--home .flc-program-badge {
  position: absolute;
  left: 1.05rem;
  bottom: -1.55rem;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--flc-prog-tone);
  box-shadow: 0 10px 22px rgba(18, 38, 82, 0.18);
  border: 4px solid #fff;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.flc-programs--home .flc-program-card--rich:hover .flc-program-badge {
  transform: scale(1.1) rotate(-8deg);
}

.flc-programs--home .flc-program-badge svg {
  width: 1.2rem;
  height: 1.2rem;
}

.flc-programs--home .flc-program-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.05rem 1.25rem 1.35rem;
}

.flc-programs--home .flc-program-body h3 {
  margin: 0 0 0.5rem;
  color: var(--flc-prog-tone);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.flc-programs--home .flc-program-body p {
  margin: 0 0 1.1rem;
  color: #5b6573;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.flc-programs--home .flc-link-arrow {
  margin-top: auto;
  color: var(--flc-prog-tone);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  gap: 0.35rem;
  text-decoration: none;
}

.flc-programs--home .flc-link-arrow:hover {
  text-decoration: none;
  gap: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .flc-programs-rule-gem,
  .flc-programs--home .flc-program-card--rich,
  .flc-programs--home .flc-program-media img,
  .flc-programs--home .flc-program-badge {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Values ---------- */
.flc-valores-home {
  position: relative;
  background: var(--flc-surface-muted);
  padding-top: 1.5rem;
}

.flc-valores-intro {
  margin-bottom: 2.75rem;
  text-align: center;
}

.flc-valores-heading {
  margin: 0;
  color: var(--flc-navy);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.15;
}

.flc-valores-row {
  display: grid;
  gap: 1.75rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .flc-valores-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.flc-valor-pill {
  text-align: center;
  padding: 0.35rem 0.4rem;
}

.flc-valor-pill-icon {
  width: 4.35rem;
  height: 4.35rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 26px rgba(20, 40, 80, 0.12);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.flc-valor-pill-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.flc-valor-pill.is-in .flc-valor-pill-icon {
  animation: flc-icon-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flc-valor-pill:hover .flc-valor-pill-icon {
  transform: translateY(-4px) scale(1.07) rotate(-5deg);
  box-shadow: 0 16px 32px rgba(20, 40, 80, 0.16);
}

.flc-valor-pill-icon--pink { background: var(--flc-pink); }
.flc-valor-pill-icon--orange { background: var(--flc-orange); }
.flc-valor-pill-icon--blue { background: var(--flc-blue); }
.flc-valor-pill-icon--green { background: var(--flc-green); }
.flc-valor-pill-icon--purple { background: var(--flc-purple); }

.flc-valor-pill h3 {
  margin: 0 0 0.45rem;
  color: var(--flc-navy);
  font-size: 0.98rem;
  font-weight: 800;
}

.flc-valor-pill p {
  margin: 0 auto;
  max-width: 11.5rem;
  color: var(--flc-text-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ---------- Cómo puedes ayudar ---------- */
.flc-help.flc-section {
  --flc-help-navy: #1c4999;
  --flc-help-green: #89bd2a;
  --flc-help-pink: #e3167b;
  --flc-help-gold: #fdc711;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 1.1rem 0 5.25rem;
}

.flc-activities + .flc-help.flc-section {
  padding-top: 0.35rem;
}

.flc-activities.flc-section {
  padding-bottom: 1.35rem;
}

.flc-help-watermark {
  position: absolute;
  right: -4%;
  top: 42%;
  width: min(34vw, 340px);
  color: rgba(28, 73, 153, 0.07);
  pointer-events: none;
  transform: translateY(-40%);
  animation: flc-help-float 8s ease-in-out infinite;
}

.flc-help-watermark svg {
  width: 100%;
  height: auto;
  display: block;
}

.flc-help-head {
  text-align: center;
  margin: 0 auto 2.75rem;
}

.flc-help-heading {
  margin: 0;
  color: var(--flc-help-navy);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.flc-help-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.95rem auto 0;
  width: 8.5rem;
}

.flc-help-rule-line {
  flex: 1;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--flc-help-gold), transparent);
}

.flc-help-rule-gem {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: var(--flc-help-gold);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 0 3px rgba(253, 199, 17, 0.2);
  animation: flc-prog-gem 2.8s ease-in-out infinite;
}

.flc-help-grid {
  display: grid;
  gap: 2rem 1.75rem;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .flc-help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

.flc-help-card {
  --flc-help-tone: var(--flc-help-navy);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.05rem 1.15rem;
  align-items: center;
  padding: 0.35rem 0.2rem;
}

.flc-help-card--navy { --flc-help-tone: var(--flc-help-navy); }
.flc-help-card--green { --flc-help-tone: var(--flc-help-green); }
.flc-help-card--pink { --flc-help-tone: var(--flc-help-pink); }

.flc-help-media {
  position: relative;
  width: 5.6rem;
  height: 5.6rem;
  flex-shrink: 0;
}

.flc-help-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from var(--flc-help-angle, 0deg), var(--flc-help-tone), transparent 42%, var(--flc-help-tone));
  animation: flc-help-spin 7s linear infinite;
  opacity: 0.55;
}

.flc-help-media img {
  position: relative;
  z-index: 1;
  width: 5.6rem;
  height: 5.6rem;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 6px color-mix(in srgb, var(--flc-help-tone) 35%, #fff),
    0 12px 24px rgba(18, 38, 82, 0.14);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.flc-help-badge {
  position: absolute;
  right: -0.15rem;
  bottom: -0.1rem;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--flc-help-tone);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--flc-help-tone) 40%, transparent);
  border: 2px solid #fff;
}

.flc-help-badge svg {
  width: 0.82rem;
  height: 0.82rem;
}

.flc-help-body {
  min-width: 0;
}

.flc-help-title {
  margin: 0 0 0.35rem;
  color: var(--flc-help-tone);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.flc-help-text {
  margin: 0 0 0.7rem;
  color: #5b6574;
  font-size: 0.92rem;
  line-height: 1.55;
}

.flc-help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--flc-help-navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.flc-help-link svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.flc-help-link:hover {
  color: var(--flc-help-tone);
  text-decoration: none;
}

.flc-help-card:hover .flc-help-media img {
  transform: scale(1.07);
}

.flc-help-card:hover .flc-help-link svg {
  transform: translateX(4px);
}

.flc-help-card:hover .flc-help-ring {
  opacity: 1;
  animation-duration: 3.2s;
}

@keyframes flc-help-spin {
  to { --flc-help-angle: 360deg; transform: rotate(360deg); }
}

@keyframes flc-help-float {
  0%, 100% { transform: translateY(-40%) translateX(0); }
  50% { transform: translateY(-46%) translateX(-8px); }
}

@property --flc-help-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (max-width: 899px) {
  .flc-help-watermark {
    width: 220px;
    right: -8%;
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flc-help-rule-gem,
  .flc-help-ring,
  .flc-help-watermark,
  .flc-help-media img,
  .flc-help-link svg {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- CTA (compact band styles in blocks/cta.css) ---------- */
.flc-cta-banner--home {
  /* legacy class; shared .flc-cta handles layout */
}

/* ---------- News + newsletter ---------- */
.flc-home-news {
  background: var(--flc-surface-muted);
  padding-bottom: 2.25rem;
}

.flc-home-news-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .flc-home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.flc-home-news-card {
  background: #fff;
  border-radius: calc(var(--flc-radius) + 6px);
  overflow: hidden;
  box-shadow: var(--flc-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flc-home-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--flc-shadow);
}

.flc-home-news-media {
  display: block;
  overflow: hidden;
}

.flc-home-news-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.flc-home-news-card:hover .flc-home-news-media img {
  transform: scale(1.06);
}

.flc-home-news-body {
  padding: 1rem 1.1rem 1.25rem;
}

.flc-home-news-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.flc-home-news-title a {
  color: var(--flc-navy);
  text-decoration: none;
}

.flc-home-news-title a:hover {
  color: var(--flc-pink);
}

/* ---------- Donación + boletín ---------- */
.flc-engage {
  background: var(--flc-surface-muted);
  padding: 0.5rem 0 0;
}

.flc-donate-panel {
  display: grid;
  background: #f3f7fb;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(18, 38, 82, 0.1);
  padding: 0;
}

@media (min-width: 860px) {
  .flc-donate-panel {
    grid-template-columns: minmax(280px, 0.48fr) 1fr;
    min-height: 318px;
  }
}

.flc-donate-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #e8eef6;
}

@media (min-width: 860px) {
  .flc-donate-visual {
    min-height: 318px;
    align-self: stretch;
  }
}

.flc-donate-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: 18% 42%;
  display: block;
  border-radius: 0;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 860px) {
  .flc-donate-visual img {
    position: absolute;
    inset: 0;
    min-height: 0;
    object-position: 18% 38%;
  }
}

.flc-donate-panel.is-in .flc-donate-visual img,
.flc-donate-panel:hover .flc-donate-visual img {
  transform: scale(1.08);
}

.flc-donate-curve {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: #f3f7fb;
}

@media (max-width: 859px) {
  .flc-donate-curve {
    left: -12%;
    right: -12%;
    bottom: -4.1rem;
    height: 6.2rem;
    border-radius: 50% 50% 0 0;
  }
}

@media (min-width: 860px) {
  .flc-donate-curve {
    top: -18%;
    right: -5.6rem;
    width: 7.2rem;
    height: 136%;
    border-radius: 50%;
  }
}

.flc-donate-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 1.6rem 1.5rem 1.85rem;
  background: #f3f7fb;
}

@media (min-width: 860px) {
  .flc-donate-copy {
    padding: 2.1rem 3.2rem 2.1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.flc-donate-copy > * {
  opacity: 0;
  transform: translateY(12px);
}

.flc-donate-panel.is-in .flc-donate-copy > * {
  animation: flc-donate-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flc-donate-panel.is-in .flc-donate-copy > *:nth-child(1) { animation-delay: 0.12s; }
.flc-donate-panel.is-in .flc-donate-copy > *:nth-child(2) { animation-delay: 0.22s; }
.flc-donate-panel.is-in .flc-donate-copy > *:nth-child(3) { animation-delay: 0.32s; }
.flc-donate-panel.is-in .flc-donate-copy > *:nth-child(4) { animation-delay: 0.42s; }
.flc-donate-panel.is-in .flc-donate-copy > *:nth-child(5) { animation-delay: 0.52s; }

.flc-donate-panel.is-in .flc-donate-copy > .flc-donate-heart {
  animation:
    flc-donate-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both,
    flc-donate-beat 1.8s ease-in-out 0.85s infinite;
  animation-delay: 0.12s, 0.85s;
}

.flc-donate-heart {
  position: relative;
  display: inline-flex;
  color: #e3167b;
  margin-bottom: 0.7rem;
}

.flc-donate-heart svg {
  width: 1.55rem;
  height: 1.55rem;
}

.flc-donate-sparkles {
  position: absolute;
  inset: -0.85rem -0.55rem auto;
  height: 1.1rem;
  pointer-events: none;
}

.flc-donate-sparkles i {
  position: absolute;
  top: 0;
  width: 2px;
  height: 8px;
  background: #fdc711;
  border-radius: 99px;
  transform-origin: bottom center;
  animation: flc-donate-spark 1.6s ease-in-out infinite;
}

.flc-donate-sparkles i:nth-child(1) {
  left: 50%;
  margin-left: -1px;
}

.flc-donate-sparkles i:nth-child(2) {
  left: 18%;
  transform: rotate(-34deg);
  animation-delay: 0.15s;
}

.flc-donate-sparkles i:nth-child(3) {
  right: 18%;
  transform: rotate(34deg);
  animation-delay: 0.28s;
}

.flc-donate-heading {
  margin: 0 0 0.55rem;
  color: #1c4999;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.flc-donate-text {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: #5b6574;
  font-size: 1.02rem;
  line-height: 1.55;
}

.flc-donate-btn {
  min-width: 13.5rem;
  border-radius: 14px;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.98rem;
  padding: 0.92rem 1.7rem;
  box-shadow: 0 10px 22px rgba(227, 22, 123, 0.28);
}

.flc-donate-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.flc-donate-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(227, 22, 123, 0.34);
}

.flc-donate-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  color: #8b95a5;
  font-size: 0.84rem;
}

.flc-donate-lock {
  color: #89bd2a;
  display: inline-flex;
}

.flc-donate-lock svg {
  width: 0.95rem;
  height: 0.95rem;
}

.flc-boletin {
  margin-top: 2.35rem;
  background: #1c4999;
  color: #fff;
  padding: 1.35rem 0;
}

.flc-boletin-inner {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

@media (min-width: 900px) {
  .flc-boletin-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
  }
}

.flc-boletin-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flc-boletin-icon {
  width: 3.1rem;
  height: 3.1rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: #1c4999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flc-boletin-copy h3 {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.flc-boletin-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.flc-boletin-form {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.flc-boletin-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
}

.flc-boletin-submit {
  background: #89bd2a;
  border-color: #89bd2a;
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
}

.flc-boletin-submit:hover {
  background: #76a624;
  border-color: #76a624;
  color: #fff;
}

.home .flc-footer-newsletter {
  display: none;
}

.home .flc-footer-wave {
  display: none;
}

@keyframes flc-donate-beat {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.14); }
}

@keyframes flc-donate-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flc-donate-spark {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .flc-donate-heart,
  .flc-donate-sparkles i,
  .flc-donate-visual img,
  .flc-donate-btn,
  .flc-donate-copy > * {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
