@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Outfit:wght@400;500;600;700;800&family=Lora:wght@500;600;700&display=swap');

/* --- NÚCLEO DE COLORES INSTITUCIONALES (Estilo Verde-Naranja Oficial) --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-brand: 'Lora', serif;

  --color-primary: #1b4332;       /* Verde Selva Profundo */
  --color-secondary: #40916c;     /* Verde Claro Brillante */
  --color-accent: #f97316;        /* Naranja Vibrante / Acentos y CTA */
  --color-dark: #081c15;          /* Verde Oscuro (reemplaza azul/slate) */
  --color-light: #f4faf7;         /* Blanco con tinte verde suave */
  --color-card-bg: rgba(255, 255, 255, 0.95);
  --border-color: rgba(27, 67, 50, 0.08);
  --border-focus: rgba(27, 67, 50, 0.4);
  
  --shadow-sm: 0 2px 4px rgba(8, 28, 21, 0.04);
  --shadow-md: 0 8px 24px rgba(8, 28, 21, 0.06);
  --shadow-lg: 0 16px 36px rgba(8, 28, 21, 0.1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE & SEGURIDAD RESPONSIVA --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-body);
  background-color: var(--color-light);
  color: #334155;
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
  scroll-behavior: smooth;
  animation: pageFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- BARRA UTILDAD SUPERIOR (Estilo Perspektiva) --- */
.top-utility-bar {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 2rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 101;
  position: relative;
}

.utility-info {
  display: flex;
  gap: 2rem;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.utility-item i {
  color: var(--color-secondary);
}

.utility-socials {
  display: flex;
  gap: 1rem;
}

.utility-socials a:hover {
  color: var(--color-secondary);
  transform: scale(1.1);
}

/* --- NAVEGACIÓN PRINCIPAL --- */
.main-navigation {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  transform: scale(1.08) rotate(1deg);
  filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.2));
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-smooth);
  letter-spacing: -0.01em;
}

.brand-name:hover {
  transform: scale(1.02);
}

/* Menú de Enlaces */
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu-item {
  position: relative;
}

.nav-menu-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.nav-menu-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-menu-link:hover::after, .nav-menu-link.active::after {
  width: 80%;
}

.nav-menu-link:hover, .nav-menu-link.active {
  color: var(--color-primary);
}

/* Dropdowns Flotantes Premium */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 250px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  list-style: none;
}

.nav-menu-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
}

.dropdown-link:hover {
  background: rgba(27, 67, 50, 0.05);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

/* Call to Action en el menú */
.nav-callout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
}

.callout-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.callout-info h5 {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.callout-info a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.menu-toggler {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* --- HERO SECTION (SLIDER DINÁMICO) --- */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

/* Slideshow Container */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

/* Filtro/Overlay más suave y tenue (deja ver las fotos) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 38, 28, 0.5) 0%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out;
}

/* Separador Ripped Paper SVG (Perspektiva Style) */
.ripped-paper-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  fill: var(--color-light);
  transform: scaleY(-1);
  z-index: 5;
}

.hero-inner {
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 3px rgba(8, 28, 21, 0.3);
}

.hero-title {
  font-size: 3.65rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(8, 28, 21, 0.45);
}

.hero-lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(8, 28, 21, 0.35);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* --- BOTONES GENERALES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #ea580c;
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --- SECCIÓN PUBLIC: ESTRUCTURA --- */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-alt {
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 0.75rem auto 0 auto;
}

/* --- QUIÉNES SOMOS --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-bullets {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-bullet {
  display: flex;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.about-bullet:hover {
  transform: translateX(4px);
}

.about-bullet i {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 0.2rem;
  transition: var(--transition-smooth);
}

.about-bullet:hover i {
  color: var(--color-accent);
  transform: scale(1.2) rotate(10deg);
}

.about-bullet-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-bullet-info p {
  font-size: 0.85rem;
  color: #64748b;
}

.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.about-premium-logo-wrapper {
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.about-premium-logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.about-premium-logo-wrapper img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: logoPulse 6s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06) rotate(1deg); }
}

.about-experience-card {
  background: var(--color-primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
  max-width: 200px;
  border: 1px solid transparent;
}

.about-experience-card h4 {
  font-size: 1.75rem;
  color: var(--color-accent);
  font-weight: 800;
  margin-bottom: 0.25rem;
  transition: var(--transition-smooth);
}

.about-experience-card p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Estado Expandido al Hacer Clic */
.about-experience-card.expanded {
  transform: scale(1.25) translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--color-dark);
  border-color: var(--color-accent);
}
.about-experience-card.expanded h4 {
  font-size: 2.25rem;
}

/* --- ÁREAS DE TRABAJO (Rejilla de Cartas - 2 columnas en PC) --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.area-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

/* Imagen de la tarjeta: altura fija uniforme */
.area-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-smooth);
  display: block;
}

.area-card:hover .area-card-img img {
  transform: scale(1.06);
}

/* Contenido de la tarjeta debajo de la imagen */
.area-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.area-card-header {
  margin-bottom: 1rem;
}

.area-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(27, 67, 50, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.area-card:hover .area-icon-box {
  background: var(--color-primary);
  color: #ffffff;
}

.area-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--color-dark);
}

.area-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.area-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.area-link:hover {
  color: var(--color-accent);
  gap: 0.65rem;
}


/* --- PROYECTOS DESTACADOS --- */
.projects-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-card-body {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* --- IMPACT STATISTICS (LOGROS) --- */
.stats-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #112d21 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

/* --- BANCO DE PROYECTOS ("Tus Ideas Valen") --- */
.banco-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.95) 100%);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.banco-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.banco-steps {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.banco-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step-text p {
  font-size: 0.85rem;
  color: #64748b;
}

/* --- FORMULARIOS PREMIUM --- */
.premium-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  background-color: var(--color-light);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* --- RECURSOS DESCARGABLES --- */
.resources-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.resource-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.resource-item:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.resource-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.resource-info p {
  font-size: 0.85rem;
  color: #64748b;
}

.resource-info span {
  font-size: 0.75rem;
  color: var(--color-secondary);
  font-weight: 600;
}

/* --- PARTICIPA & DONACIONES --- */
.participa-tabs {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.donation-card {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.donation-card h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.donation-types {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.donation-type-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.donation-type-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

/* --- FOOTER GENERAL --- */
.main-footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 2rem 2rem 2rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 0.5rem;
}

.footer-col p {
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.8rem;
}

/* --- MODAL DETALLES ÁREAS (PUBLIC POPUP) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 700px;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.show .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--color-danger);
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVIDAD (ZERO OVERFLOW) --- */
@media (max-width: 992px) {
  .main-navigation {
    padding: 1rem;
    position: relative; /* contexto para el menú desplegable */
  }

  /* Ocultar menú en desktop, mostrar solo cuando JS agrega .mobile-open */
  .nav-menu-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 0.5rem 0 1rem 0;
    box-shadow: 0 10px 30px rgba(8, 28, 21, 0.15);
    z-index: 1001;
    border-top: 2px solid var(--color-primary);
    gap: 0;
  }

  .nav-menu-list.mobile-open {
    display: flex;
  }

  .menu-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 8px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
  }

  .menu-toggler:hover {
    background: var(--color-secondary);
  }

  /* Ítems de nivel 1 en móvil */
  .nav-menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(27, 67, 50, 0.06);
  }

  .nav-menu-link {
    padding: 0.85rem 1.5rem;
    width: 100%;
    justify-content: space-between;
    font-size: 0.95rem;
  }

  .nav-menu-link::after {
    display: none; /* Quitar subrayado animado en móvil */
  }

  /* Dropdown en móvil: oculto por defecto, visible al expandir */
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(27, 67, 50, 0.04);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s ease;
  }

  .nav-menu-item.expanded .nav-dropdown {
    visibility: visible;
    max-height: 400px;
    padding: 0.5rem 0;
  }

  .dropdown-link {
    padding: 0.65rem 2.25rem;
    font-size: 0.88rem;
    border-bottom: none;
  }

  /* Botón Donar en móvil */
  .nav-menu-item:last-child {
    border-bottom: none;
    padding: 1rem 1.5rem;
  }

  .nav-menu-item:last-child .btn {
    width: 100%;
    justify-content: center;
  }

  .about-grid, .banco-container, .participa-tabs {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .areas-grid, .projects-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .top-utility-bar {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .areas-grid, .projects-slider, .stats-container, .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .modal-box {
    padding: 1.5rem;
  }
  /* Widgets flotantes más pequeños en móvil */
  .floating-social-bar {
    display: none; /* Ocultar en móvil pequeño para no bloquear contenido */
  }
  .back-to-top-btn {
    bottom: 5.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .whatsapp-widget {
    bottom: 1rem;
    left: 1rem;
  }
  .whatsapp-trigger-btn {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  .whatsapp-bubble {
    width: 260px;
  }
}


/* --- SECCIÓN DE ALIANZAS Y MARCAS (Premium Brand Showcase) --- */
.alianzas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.alianza-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  width: 240px; /* Tamaño base incrementado */
  height: 120px;
  cursor: pointer;
}

.alianza-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.alianza-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.alianza-card:hover img {
  transform: scale(1.05);
}

/* Animación de Entrada Suave de la Página */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast Notification Styles */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.error {
  background: #ef4444;
}

.toast-notification.info {
  background: var(--color-accent);
}

.footer-logo-premium:hover {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* --- BARRA FLOTANTE DE REDES SOCIALES (Derecha) --- */
.floating-social-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.floating-social-link {
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 4px 12px rgba(8, 28, 21, 0.15);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  border-right: none;
}

.floating-social-link:hover {
  width: 60px;
  padding-right: 12px;
  color: #ffffff;
}

.floating-social-link.fb:hover { background: #1877f2; }
.floating-social-link.ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #cc2366); }
.floating-social-link.tt:hover { background: #000000; }
.floating-social-link.gg:hover { background: #ea4335; }

/* --- BOTÓN VOLVER AL INICIO --- */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  border: 2px solid #ffffff;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* --- WIDGET DE WHATSAPP (Tipo Chat Bot) --- */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  font-family: var(--font-body);
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: pulseWa 2s infinite;
  border: 2px solid #ffffff;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08) rotate(5deg);
  background: #20ba5a;
}

.whatsapp-bubble {
  position: absolute;
  bottom: 75px;
  left: 0;
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.whatsapp-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-bubble-header {
  background: #25d366;
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.whatsapp-bubble-status h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin: 0;
}

.whatsapp-bubble-status span {
  font-size: 0.75rem;
  opacity: 0.85;
  display: block;
}

.whatsapp-bubble-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.8;
}

.whatsapp-bubble-close:hover {
  opacity: 1;
}

.whatsapp-bubble-body {
  padding: 1.25rem;
  background: #f4faf7;
}

.whatsapp-bubble-body p {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px 12px 12px 0;
  box-shadow: 0 2px 4px rgba(8, 28, 21, 0.03);
}

.whatsapp-bubble-footer {
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.whatsapp-bubble-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.whatsapp-bubble-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Acceso Premium Portal de Galería */
.gallery-premium-portal {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  max-width: 320px;
  width: 100%;
}

.gallery-premium-portal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.gallery-premium-portal:hover .gallery-brand-img {
  transform: scale(1.06);
}

/* --- OPTIMIZACIÓN DE IMPRESIÓN (PDF) PARA REPORTES --- */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  
  .crm-sidebar, 
  .crm-header, 
  .top-utility-bar,
  .main-navigation,
  .floating-social-bar,
  .back-to-top-btn,
  .whatsapp-widget,
  .btn,
  .premium-form .btn,
  a[href^="api.php?action=export_visits_csv"] {
    display: none !important;
    visibility: hidden !important;
  }
  
  .crm-main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  .crm-tab-view {
    display: none !important;
  }
  
  /* Solo mostrar el dashboard cuando se imprime */
  #view-dashboard {
    display: block !important;
    width: 100% !important;
  }
  
  .stats-container {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .stats-container .area-card {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 1rem !important;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }
  
  .premium-form {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 1.5rem !important;
  }
  
  canvas {
    max-height: 180px !important;
  }
}

  .kw-variables {
    --teal-900: var(--color-primary);
    --teal-700: var(--color-secondary);
    --teal-600: var(--color-secondary);
    --teal-500: var(--color-secondary);
    --teal-100: rgba(27, 67, 50, 0.08);
    --clay-600: var(--color-accent);
    --clay-500: rgba(249, 115, 22, 0.8);
    --clay-100: rgba(249, 115, 22, 0.1);
    --amber-600: var(--color-accent);
    --amber-100: rgba(249, 115, 22, 0.15);
    --stone-200: var(--border-color);
    --stone-100: rgba(27, 67, 50, 0.04);
    --cream-50: var(--color-light);
    --ink-800: var(--color-dark);
    --ink-500: #64748b;
    --radius: 12px;
  }

  .kw {
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-light);
    padding: 72px 24px 80px;
    position: relative;
    overflow: hidden;
  }

  .contours {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .35;
  }

  .kw-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
  }

  .kw-header {
    margin-bottom: 48px;
    max-width: 680px;
  }

  .kw-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .kw-eyebrow::before {
    content: '';
    width: 24px;
    height: 3px;
    background: var(--color-accent);
    display: inline-block;
    border-radius: 4px;
  }

  .kw-header h1 {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 44px);
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--color-primary);
  }

  .kw-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #475569;
  }

  .kw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
  }

  .kw-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }

  .kw-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 67, 50, 0.15);
  }

  .kw-card:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
  }

  .kw-visual {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .kw-visual svg {
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 1;
  }

  .kw-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .kw-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
  }

  .badge-formulacion {
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-accent);
  }

  .badge-formulacion::before {
    background: var(--color-accent);
  }

  .badge-ejecucion {
    background: rgba(64, 145, 108, 0.15);
    color: var(--color-secondary);
  }

  .badge-ejecucion::before {
    background: var(--color-secondary);
  }

  .badge-finalizado {
    background: #f1f5f9;
    color: #475569;
  }

  .badge-finalizado::before {
    background: #475569;
  }

  .kw-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
  }

  .kw-tag {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-accent);
  }

  .kw-body h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 0;
    color: var(--color-dark);
  }

  .kw-objective {
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
  }

  .kw-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }

  .kw-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
  }

  .kw-stat svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-secondary);
  }

  .kw-cta {
    margin-top: auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    background: none;
    border: none;
    padding: 8px 0 0;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
  }

  .kw-cta:hover {
    color: var(--color-accent);
  }

  .kw-cta svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
  }

  .kw-card:hover .kw-cta svg {
    transform: translateX(4px);
  }

  .kw-note {
    margin-top: 36px;
    font-size: 13.5px;
    color: #64748b;
    font-style: italic;
    max-width: 680px;
  }

  /* --- Modal / ficha técnica web --- */
  .kw-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 21, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 16px;
    z-index: 1000;
    overflow-y: auto;
  }

  .kw-overlay.open {
    display: flex;
  }

  .kw-modal {
    background: #fff;
    max-width: 720px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: kw-rise .35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes kw-rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .kw-modal-head {
    background: var(--color-primary);
    color: #fff;
    padding: 36px 36px 30px;
    position: relative;
  }

  .kw-modal-head .kw-tag {
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: inline-block;
  }

  .kw-modal-head h2 {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 28px;
    margin: 8px 0 0;
    line-height: 1.25;
    color: #ffffff;
  }

  .kw-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 16px;
  }

  .kw-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
  }

  .kw-modal-body {
    padding: 32px 36px 40px;
    max-height: 75vh;
    overflow-y: auto;
  }

  .kw-section {
    margin-bottom: 28px;
  }

  .kw-section:last-child {
    margin-bottom: 0;
  }

  .kw-section h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin: 0 0 10px;
    border-bottom: 2px solid rgba(64, 145, 108, 0.1);
    padding-bottom: 6px;
    display: inline-block;
  }

  .kw-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
  }

  .kw-section ul {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
  }

  .kw-section li {
    margin-bottom: 6px;
  }

  .kw-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 28px;
  }

  .kw-metric {
    background: rgba(27, 67, 50, 0.04);
    border: 1px solid rgba(27, 67, 50, 0.08);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }

  .kw-metric strong {
    display: block;
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
  }

  .kw-metric span {
    font-family: var(--font-heading);
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  .kw-partners {
    font-size: 14px;
    color: #475569;
    margin: 0;
  }

  .kw-partners b {
    color: var(--color-dark);
  }

  @media (max-width: 600px) {
    .kw-metrics {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .kw-modal-body {
      max-height: none;
      padding: 24px;
    }
    .kw-modal-head {
      padding: 24px;
    }
  }

  /* === PROJECT MINI SLIDER === */
  .has-slider {
    position: relative;
    overflow: hidden;
  }

  .bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  @keyframes fadeSlider {
    0%, 100% {
      opacity: 1;
    }
    45%, 55% {
      opacity: 0;
    }
  }
