﻿/* Home page – Funidea cinematic inicio */

/* ---------- Reveal / motion base ---------- */
[data-fi-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-fi-reveal="left"] { transform: translateX(-36px); }
[data-fi-reveal="right"] { transform: translateX(36px); }
[data-fi-reveal="scale"] { transform: scale(0.92) translateY(18px); }

[data-fi-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-fi-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Hero ---------- */
/* Header overlay: reglas globales en layout.css */

.fi-hero--home {
  position: relative;
  min-height: clamp(560px, 92vh, 820px);
  margin-top: 0;
  color: var(--fi-navy);
  background:
    radial-gradient(ellipse at 78% 28%, rgba(245, 130, 32, 0.1), transparent 42%),
    radial-gradient(ellipse at 12% 70%, rgba(59, 130, 246, 0.08), transparent 40%),
    linear-gradient(135deg, #f8fbff 0%, #eef4fb 52%, #f7fafc 100%);
  overflow: hidden;
  isolation: isolate;
}

.fi-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fi-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.55), transparent 35%);
}

.fi-hero__glow {
  position: absolute;
  left: -8%;
  top: 18%;
  width: 42%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(245, 130, 32, 0.14) 0%, transparent 70%);
  animation: fi-hero-glow 8s ease-in-out infinite alternate;
}

.fi-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.55;
  animation: fi-float 7s ease-in-out infinite;
}

.fi-hero__orb--a {
  width: 18px;
  height: 18px;
  left: 46%;
  top: 22%;
  background: var(--fi-orange);
  animation-delay: -1.5s;
}

.fi-hero__orb--b {
  width: 12px;
  height: 12px;
  left: 52%;
  bottom: 28%;
  background: #3b82f6;
  animation-delay: -3s;
}

.fi-hero__dots {
  position: absolute;
  left: 8%;
  bottom: 18%;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(rgba(26, 50, 96, 0.18) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.55;
}

.fi-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: calc(var(--fi-header-height) + clamp(1.25rem, 3vh, 2.5rem)) 0 clamp(5.5rem, 10vh, 7.5rem);
  min-height: inherit;
}

@media (min-width: 960px) {
  .fi-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 1.25rem 2rem;
  }
}

.fi-hero__copy {
  max-width: 36rem;
  padding-right: 0.5rem;
}

.fi-hero__title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--fi-navy);
  letter-spacing: -0.02em;
}

.fi-hero__title-script {
  display: block;
  font-family: var(--fi-font-script);
  font-weight: 700;
  font-size: 0.78em;
  color: var(--fi-orange);
  line-height: 1.15;
  margin-bottom: 0.15em;
  animation: fi-script-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fi-hero__title-main {
  display: inline;
}

.fi-hero__heart {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.2em;
  color: var(--fi-orange);
  animation: fi-pulse-heart 1.8s ease-in-out infinite;
}

.fi-hero__heart svg {
  width: 0.55em;
  height: 0.55em;
  fill: currentColor;
  stroke: none;
}

.fi-hero__text {
  margin: 0 0 1.85rem;
  max-width: 34rem;
  color: var(--fi-text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.fi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.fi-hero__btn-primary {
  box-shadow: 0 10px 28px rgba(245, 130, 32, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.fi-hero__btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(245, 130, 32, 0.42);
}

.fi-hero__btn-secondary {
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.fi-hero__btn-secondary:hover {
  transform: translateY(-2px);
}

.fi-btn-play {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero collage (derecha) ---------- */
.fi-hero__stage {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 58vh, 560px);
  justify-self: stretch;
}

.fi-hero__portrait {
  position: absolute;
  left: 0;
  top: 6%;
  width: 62%;
  height: 88%;
  z-index: 1;
  border-radius: 42% 48% 36% 54% / 38% 42% 48% 40%;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(18, 38, 72, 0.22);
  animation: fi-float-card 7s ease-in-out infinite;
}

.fi-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% 28%;
  display: block;
  transform: scale(1.08);
}

.fi-hero__mosaic {
  position: absolute;
  right: 0;
  top: 10%;
  width: min(58%, 300px);
  aspect-ratio: 1;
  z-index: 2;
  animation: fi-float 8s ease-in-out infinite;
}

.fi-hero__mosaic-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 7px solid var(--fi-orange);
  box-shadow:
    0 0 0 3px rgba(245, 130, 32, 0.18),
    0 16px 36px rgba(245, 130, 32, 0.25);
  pointer-events: none;
}

.fi-hero__mosaic-photo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.fi-hero__mosaic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.6s ease;
}

.fi-hero__mosaic:hover .fi-hero__mosaic-photo img {
  transform: scale(1.06);
}

.fi-hero__spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fi-orange);
  z-index: 3;
  animation: fi-float 4.5s ease-in-out infinite;
}

.fi-hero__spark--1 { top: 8%; right: 6%; }
.fi-hero__spark--2 { top: 42%; right: -4%; width: 6px; height: 6px; animation-delay: -1s; }
.fi-hero__spark--3 { bottom: 14%; right: 10%; width: 10px; height: 10px; background: #fbbf24; animation-delay: -2s; }

.fi-hero__bubble {
  position: absolute;
  z-index: 4;
  color: #fff;
  box-shadow: 0 18px 40px rgba(18, 38, 72, 0.28);
}

.fi-hero__bubble p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
}

.fi-hero__bubble .fi-script {
  color: var(--fi-orange);
  font-size: 1.15em;
}

.fi-hero__bubble--top {
  top: 2%;
  right: 2%;
  max-width: 230px;
  padding: 1rem 1.15rem 1.05rem;
  background: linear-gradient(135deg, #122648 0%, #1a3260 100%);
  border-radius: 28px 42px 34px 18px / 40px 28px 46px 22px;
  transform: rotate(-2deg);
  animation: fi-float-card 6s ease-in-out infinite;
}

.fi-hero__bubble-heart {
  display: inline-flex;
  color: #fff;
  margin-bottom: 0.35rem;
}

.fi-hero__bubble-heart svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.fi-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  color: #fff;
  line-height: 0;
  pointer-events: none;
}

.fi-hero__wave svg {
  width: 100%;
  height: clamp(56px, 8vw, 96px);
  display: block;
}

@keyframes fi-hero-glow {
  from { opacity: 0.65; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-12px); }
}

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

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

@keyframes fi-pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes fi-script-in {
  from { opacity: 0; transform: translateY(12px) rotate(-1deg); }
  to { opacity: 1; transform: none; }
}

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

  .fi-hero__inner {
    padding-top: calc(var(--fi-header-height) + 1.5rem);
    align-items: start;
  }

  .fi-hero__stage {
    min-height: 420px;
    order: -1;
    margin-top: 0.5rem;
  }

  .fi-hero__portrait {
    width: 58%;
    left: 2%;
  }

  .fi-hero__mosaic {
    width: min(52%, 220px);
    right: 2%;
  }

  .fi-hero__bubble--top {
    max-width: 190px;
    font-size: 0.9em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fi-hero__portrait,
  .fi-hero__mosaic,
  .fi-hero__bubble--top,
  .fi-hero__spark {
    animation: none;
  }
}

/* ---------- Impact bar ---------- */
.fi-impact--bar {
  position: relative;
  z-index: 4;
  margin-top: -3.25rem;
  padding: 0 0 1.5rem;
  background: transparent;
}

.fi-impact__panel {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-radius: 22px;
  box-shadow:
    0 18px 50px rgba(26, 50, 96, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  border: 1px solid rgba(219, 234, 254, 0.9);
}

@media (min-width: 768px) {
  .fi-impact__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    padding: 1.5rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .fi-impact__panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
  }

  .fi-impact__item + .fi-impact__item {
    border-left: 1px solid var(--fi-border);
    padding-left: 1.25rem;
  }
}

.fi-impact__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0.25rem;
  transition: transform 0.3s ease;
}

.fi-impact__item:hover {
  transform: translateY(-4px);
}

.fi-impact__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 50, 96, 0.12);
}

.fi-impact__icon--orange { background: linear-gradient(145deg, #f58220, #ff9a45); }
.fi-impact__icon--blue { background: linear-gradient(145deg, #2563eb, #3b82f6); }
.fi-impact__icon--green { background: linear-gradient(145deg, #16a34a, #22c55e); }
.fi-impact__icon--purple { background: linear-gradient(145deg, #7c3aed, #8b5cf6); }

.fi-impact__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.fi-impact__icon--orange svg {
  fill: currentColor;
  stroke: none;
}

.fi-impact__number {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--fi-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fi-impact__label {
  margin: 0.2rem 0 0;
  color: var(--fi-text-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

/* ---------- Programs ---------- */
.fi-programs--home {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(245, 130, 32, 0.06), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(59, 130, 246, 0.06), transparent 40%),
    #fff;
  padding-top: 2rem;
}

.fi-programs__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.fi-programs__kicker {
  margin: 0 0 0.65rem;
  color: var(--fi-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fi-programs__head .fi-heading-accent .fi-script {
  color: var(--fi-orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(245, 130, 32, 0.55);
}

.fi-programs-grid {
  display: grid;
  gap: 1.35rem;
}

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

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

.fi-programs-grid:has(> :nth-child(5):last-child) {
  justify-content: center;
}

@media (min-width: 1100px) {
  .fi-programs-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.fi-program-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(26, 50, 96, 0.07);
  border: 1px solid rgba(219, 234, 254, 0.8);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.fi-program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 48px rgba(26, 50, 96, 0.16);
}

.fi-program-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.fi-program-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fi-program-card:hover .fi-program-media img {
  transform: scale(1.08);
}

.fi-program-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin: -1.4rem 0 0 1rem;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 50, 96, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.fi-program-icon svg {
  width: 18px;
  height: 18px;
  overflow: visible;
}

.fi-program-card:hover .fi-program-icon {
  transform: scale(1.08) rotate(-6deg);
}

.fi-program-card--orange .fi-program-icon { background: linear-gradient(145deg, #f58220, #ff9a45); }
.fi-program-card--blue .fi-program-icon { background: linear-gradient(145deg, #2563eb, #3b82f6); }
.fi-program-card--green .fi-program-icon { background: linear-gradient(145deg, #16a34a, #22c55e); }
.fi-program-card--purple .fi-program-icon { background: linear-gradient(145deg, #7c3aed, #8b5cf6); }
.fi-program-card--teal .fi-program-icon { background: linear-gradient(145deg, #0d9488, #14b8a6); }

.fi-program-card--orange .fi-link-arrow { color: #f58220; }
.fi-program-card--blue .fi-link-arrow { color: #2563eb; }
.fi-program-card--green .fi-link-arrow { color: #16a34a; }
.fi-program-card--purple .fi-link-arrow { color: #7c3aed; }
.fi-program-card--teal .fi-link-arrow { color: #0d9488; }

.fi-program-body {
  padding: 0.85rem 1.2rem 1.35rem;
}

.fi-program-body h3 {
  margin: 0 0 0.55rem;
  color: var(--fi-navy);
  font-size: 1.05rem;
}

.fi-program-body p {
  margin: 0 0 1rem;
  color: var(--fi-text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.fi-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}

.fi-link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.fi-link-arrow:hover svg {
  transform: translateX(4px);
}

.fi-programs__footer {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.fi-programs__all {
  min-width: min(100%, 320px);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.fi-programs__all:hover {
  transform: translateY(-3px);
}

/* ---------- Purpose / about ---------- */
.fi-about--purpose {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(59, 130, 246, 0.07), transparent 50%),
    var(--fi-surface-muted);
  overflow: hidden;
  padding-top: 4rem;
}

.fi-about__wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  color: #fff;
  line-height: 0;
  pointer-events: none;
}

.fi-about__wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

.fi-about-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .fi-about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }
}

.fi-about__kicker {
  margin: 0 0 0.75rem;
  color: var(--fi-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fi-about-copy .fi-heading-accent {
  margin-bottom: 0.35rem;
}

.fi-about-copy .fi-heading-accent .fi-script {
  color: var(--fi-orange);
}

.fi-about__heart {
  display: inline-flex;
  color: var(--fi-orange);
  margin-bottom: 1rem;
  animation: fi-pulse-heart 1.8s ease-in-out infinite;
}

.fi-about__heart svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  stroke: none;
}

.fi-about-copy .fi-prose p {
  color: var(--fi-text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.fi-about__cta {
  margin-top: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 28px rgba(26, 50, 96, 0.22);
}

.fi-about__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 50, 96, 0.28);
}

.fi-about__features {
  display: grid;
  gap: 1rem;
}

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

.fi-about__feature {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 234, 254, 0.9);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.fi-about__feature:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(26, 50, 96, 0.1);
}

.fi-about__feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.fi-about__feature--orange .fi-about__feature-icon { background: linear-gradient(145deg, #f58220, #ff9a45); }
.fi-about__feature--blue .fi-about__feature-icon { background: linear-gradient(145deg, #2563eb, #3b82f6); }
.fi-about__feature--green .fi-about__feature-icon { background: linear-gradient(145deg, #16a34a, #22c55e); }
.fi-about__feature--purple .fi-about__feature-icon { background: linear-gradient(145deg, #7c3aed, #8b5cf6); }

.fi-about__feature h3 {
  margin: 0 0 0.3rem;
  color: var(--fi-navy);
  font-size: 0.98rem;
}

.fi-about__feature p {
  margin: 0;
  color: var(--fi-text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- Legacy home bits kept for other sections ---------- */
.fi-news { background: #fff; }

.fi-testimonials { background: var(--fi-surface-muted); }

.fi-section-lead {
  margin: .5rem 0 0;
  color: var(--fi-text-soft);
}

.fi-testimonials-grid {
  display: grid;
  gap: 1.25rem;
}

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

.fi-testimonial-card {
  background: #fff;
  border-radius: var(--fi-radius);
  padding: 1.5rem;
  box-shadow: var(--fi-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.fi-testimonial-photo img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fi-orange-soft);
}

.fi-testimonial-quote-mark {
  display: block;
  color: var(--fi-orange);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.fi-testimonial-body blockquote {
  margin: 0;
  font-style: italic;
  color: var(--fi-text-soft);
}

.fi-testimonial-author {
  margin: .75rem 0 0;
  font-weight: 700;
  color: var(--fi-navy);
}

.fi-testimonial-author span {
  font-weight: 500;
  color: var(--fi-text-soft);
}

/* Involúcrate */
.fi-involve {
  padding: 3rem 0;
  background: linear-gradient(160deg, var(--fi-primary) 0%, var(--fi-dark) 100%);
  color: var(--fi-white);
}

.fi-involve .fi-section-head {
  display: block;
  text-align: center;
  margin-bottom: 2.5rem;
}

.fi-involve .fi-section-head h2 {
  color: var(--fi-white);
  font-weight: 600;
}

.fi-involve .fi-section-head h2 .hl-yellow {
  color: var(--fi-orange);
}

.fi-involve .fi-section-head p {
  color: rgba(255, 255, 255, 0.78);
  margin-left: auto;
  margin-right: auto;
}

.fi-involve-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.fi-involve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}

.fi-involve-item {
  text-align: center;
  padding: 0.5rem;
}

.fi-involve-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.875rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fi-white);
  padding: 16px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fi-involve-icon--swal {
  padding: 0;
  border: 3px solid var(--fi-orange);
  background: var(--fi-secondary);
  color: var(--fi-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.fi-involve-icon--swal:hover,
.fi-involve-icon--swal:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 6px 16px rgba(245, 130, 32, 0.35);
}

.fi-involve-icon--swal:focus-visible {
  outline: 2px solid var(--fi-orange);
  outline-offset: 3px;
}

.fi-involve-icon--swal i {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--fi-white);
}

.fi-involve-item h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
  color: var(--fi-white);
}

.fi-involve-item p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.fi-involve-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: var(--fi-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.fi-involve-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--fi-radius);
}

.fi-involve-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 38, 72, 0.25);
  transition: background 0.25s;
  border-radius: var(--fi-radius);
}

.fi-involve-video:hover .fi-involve-video-play {
  background: rgba(18, 38, 72, 0.38);
}

.fi-involve-video-play span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.fi-involve-video:hover .fi-involve-video-play span {
  border-color: var(--fi-orange);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transform: scale(1.06);
}

.fi-involve-video-play span svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: var(--fi-secondary);
  stroke: none;
}

@media (min-width: 768px) {
  .fi-involve-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .fi-involve-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}
