/* --- DIRECTORY VIEW & CONTROLS --- */
.directory-controls {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs, 0 1px 3px rgba(15,23,42,0.06));
  margin-bottom: 36px;
  border: 1px solid var(--border-subtle, rgba(47, 180, 229, 0.08));
}

.search-bar-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.search-bar-wrapper input {
  width: 100%;
  padding: 14px 20px 14px 52px;
  border: 1.5px solid var(--border-subtle, rgba(47, 180, 229, 0.08));
  border-radius: var(--radius-md);
  outline: none;
  background: var(--bg-cream);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.search-bar-wrapper input:focus {
  border-color: var(--border-focus, rgba(47, 180, 229, 0.5));
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(47, 180, 229, 0.10);
}

.search-icon-svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 20px;
  height: 20px;
}

/* Category Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(47, 180, 229, 0.04);
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  gap: 10px;
}

.filter-pill:hover {
  background: rgba(47, 180, 229, 0.08);
  color: var(--primary-wine-dark);
  border-color: var(--border-medium, rgba(47, 180, 229, 0.14));
}

/* Icono de la pill: color de la categoría cuando NO está activa */
.filter-pill .icon-svg,
.filter-pill .categoria-icon-img {
  color: var(--cat-color, var(--primary-wine));
}

.filter-pill.active {
  background: var(--cat-color, var(--primary-wine));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

/* Icono blanco cuando la pill está activa (para que se vea sobre el color) */
.filter-pill.active .icon-svg,
.filter-pill.active .categoria-icon-img {
  color: #ffffff;
}

.filter-results-info {
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Directory Cards Grid (Fixed uniform distribution) */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

@media (max-width: 991px) {
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Association Card component */
.association-card-wrapper {
  min-width: 0;
  width: 100%;
}

.association-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs, 0 1px 3px rgba(15,23,42,0.06));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-subtle, rgba(47, 180, 229, 0.08));
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  min-width: 0;
  width: 100%;
}

.association-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium, rgba(47, 180, 229, 0.14));
}

/* Card Layout Redesign */
.asoc-card-image-wrapper {
  height: 150px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(47, 180, 229, 0.08) 100%);
}

.asoc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.association-card:hover .asoc-card-img {
  transform: scale(1.05);
}

.asoc-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(47, 180, 229, 0.25);
  background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(47, 180, 229, 0.05) 100%);
}

.asoc-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 2;
  /* Neutral fallback when the category has no custom color (overridden by inline style or .badge-*) */
  background: rgba(var(--primary-wine-rgb, 47, 180, 229), 0.9);
  color: var(--bg-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Category Specific Styles for Badges */
.badge-vecinal {
  background: rgba(47, 180, 229, 0.9);
  color: var(--bg-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.badge-social {
  background: rgba(239, 68, 68, 0.9);
  color: var(--bg-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.badge-cultural {
  background: rgba(126, 18, 87, 0.9);
  color: var(--bg-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.badge-deportiva,
.badge-deporte {
  background: rgba(16, 185, 129, 0.9);
  color: var(--bg-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.asoc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.asoc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.asoc-card-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid rgba(47, 180, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.asoc-card-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.asoc-card-title-area {
  flex-grow: 1;
  min-width: 0;
}

.asoc-card-title-area h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-wine-dark);
  margin: 0;
  line-height: 1.3;
}

.asoc-card-title-area h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.asoc-card-title-area h3 a:hover {
  color: var(--primary-wine);
}

.asoc-card-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.9rem;
  /* Fallback for clamp height */
}

.asoc-card-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(47, 180, 229, 0.05);
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.asoc-card-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.asoc-card-info-icon {
  display: flex;
  align-items: center;
  color: var(--primary-wine);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.asoc-card-info-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asoc-card-info-text a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.asoc-card-info-text a:hover {
  color: var(--primary-wine);
  text-decoration: underline;
}

.asoc-card-actions {
  margin-top: auto;
  display: flex;
  width: 100%;
}

/* Empty State Search */
.empty-results {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  grid-column: span 3;
}

.empty-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

/* --- SVG ICON UNIFIED STYLE RULES --- */
.icon-svg {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn .icon-svg,
h1 .icon-svg,
h2 .icon-svg,
h3 .icon-svg,
h4 .icon-svg {
  margin-right: 8px;
}

/* Custom category icon images (set per term in wp-admin).
   Rendered as a CSS mask so the icon takes the current text color (currentColor),
   which lets it inherit the category color or turn white when a pill is active.
   Nota: un icono multicolor se mostrará como silueta de un solo color al tintarse. */
.categoria-icon-img {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.category-icon .categoria-icon-img {
  width: 42px;
  height: 42px;
}

.filter-pill .categoria-icon-img {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

/* Icono de la tarjeta de categoría (home): color de la categoría, blanco en hover.
   El selector con .categories-grid asegura prioridad sobre el color base del tema. */
.categories-grid .category-icon {
  color: var(--cat-color, var(--primary-wine));
}

.categories-grid .category-card:hover .category-icon {
  color: #ffffff;
}


/* --- ASSOCIATION DETAIL VIEW STYLES --- */
/* Detail Page Profile Card Redesign */
.asoc-detail-profile-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(47, 180, 229, 0.05);
  border-top: 4px solid var(--primary-wine);
  /* Accent line at the top */
  margin-top: 0;
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
}

.asoc-detail-profile-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.asoc-detail-profile-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 500px;
}

.asoc-detail-profile-logo-container {
  flex-shrink: 0;
}

.asoc-detail-profile-logo {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid rgba(47, 180, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow-md);
  padding: 6px;
  overflow: hidden;
}

.asoc-detail-profile-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.asoc-detail-profile-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asoc-detail-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  /* Neutral fallback when the category has no custom color (overridden by inline style or .badge-*) */
  background: rgba(var(--primary-wine-rgb, 47, 180, 229), 0.12);
  color: var(--primary-wine-dark, #189fcf);
}

/* Modifier Badges for Detail Page (soft backgrounds) */
.asoc-detail-badge.badge-vecinal {
  background: rgba(47, 180, 229, 0.12);
  color: var(--primary-wine-dark);
}

.asoc-detail-badge.badge-social {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.asoc-detail-badge.badge-cultural {
  background: rgba(126, 18, 87, 0.08);
  color: var(--accent-gold-dark);
}

.asoc-detail-badge.badge-deportiva,
.asoc-detail-badge.badge-deporte {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.asoc-detail-title-main {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-wine-dark);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.asoc-detail-location-row {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.asoc-detail-location-row .icon-svg {
  color: var(--primary-wine);
  font-size: 1.1rem;
}

.asoc-detail-profile-right {
  flex-shrink: 0;
}

.asoc-detail-profile-image-card {
  width: 280px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(47, 180, 229, 0.08);
  transition: transform var(--transition-normal);
}

.asoc-detail-profile-image-card:hover {
  transform: translateY(-4px);
}

.asoc-detail-profile-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.association-detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  align-items: start;
}

.association-detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.asoc-detail-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(47, 180, 229, 0.03);
}

.asoc-detail-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-wine);
  margin: 0 0 20px 0;
  border-bottom: 2px solid rgba(47, 180, 229, 0.06);
  padding-bottom: 10px;
}

.asoc-detail-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
}

.association-detail-events-banner {
  background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(47, 180, 229, 0.05) 100%);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.association-detail-events-banner h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-wine);
  display: flex;
  align-items: center;
  gap: 8px;
}

.association-detail-events-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.association-detail-sidebar-new {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.asoc-detail-sidebar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-wine-dark);
  margin: 0 0 20px 0;
  border-bottom: 2px solid rgba(47, 180, 229, 0.06);
  padding-bottom: 10px;
}

.asoc-detail-meta-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.asoc-detail-meta-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.meta-icon-new {
  font-size: 1.1rem;
  background: rgba(47, 180, 229, 0.05);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--primary-wine);
  flex-shrink: 0;
}

.meta-text-new h5 {
  margin: 0 0 2px 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.meta-text-new p,
.meta-text-new a {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
}

.asoc-detail-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Horizontal social networks list redesign */
.asoc-detail-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Spacing if website button is present above */
.btn-primary+.asoc-detail-social-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(47, 180, 229, 0.08);
}

.asoc-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--bg-cream);
  color: var(--text-muted);
  border: 1px solid rgba(47, 180, 229, 0.08);
  transition: all var(--transition-fast);
}

.asoc-social-link:hover {
  transform: translateY(-2px);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.asoc-social-link.platform-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.asoc-social-link.platform-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aec 90%);
  border-color: transparent;
}

.asoc-social-link.platform-twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.asoc-social-link.platform-youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.asoc-social-link.platform-linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.asoc-social-link.platform-globe:hover {
  background: var(--primary-wine);
  border-color: var(--primary-wine);
}

@media (max-width: 900px) {
  .asoc-detail-profile-content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .asoc-detail-profile-right {
    display: flex;
    justify-content: center;
  }

  .asoc-detail-profile-image-card {
    width: 100%;
    max-width: 480px;
    height: 200px;
  }

  .association-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .association-detail-events-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .asoc-detail-profile-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .asoc-detail-profile-logo {
    width: 96px;
    height: 96px;
  }

  .asoc-detail-title-main {
    font-size: 1.8rem;
  }

  .asoc-detail-location-row {
    justify-content: center;
  }

  .asoc-detail-badge {
    margin: 0 auto;
  }
}

/* ==========================================================================
   FADE IN UP ENTRY ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  will-change: transform, opacity;
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.delay-4 {
  animation-delay: 0.32s;
}

.delay-5 {
  animation-delay: 0.4s;
}

/* ==========================================================================
   GEOMETRIC BACKGROUND PARALLAX
   ========================================================================== */
.geometric-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-cream);
}

.geo-shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.035;
  /* Subtle */
  will-change: transform;
}

/* Ambient radial glow in top right */
.geo-shape.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(47, 180, 229, 0.25) 0%, rgba(126, 18, 87, 0.06) 70%, transparent 100%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
  transform: translate3d(calc(var(--scroll-y, 0) * -0.06px),
      calc(var(--scroll-y, 0) * 0.04px),
      0);
  animation: floatSlowly 24s infinite ease-in-out;
}

/* Dashed rounded square in mid left */
.geo-shape.shape-2 {
  width: 320px;
  height: 320px;
  border: 2px dashed var(--primary-wine);
  border-radius: 40px;
  top: 35%;
  left: -80px;
  transform: translate3d(0,
      calc(var(--scroll-y, 0) * -0.12px),
      0) rotate(calc(45deg + var(--scroll-y, 0) * 0.04deg));
  animation: spinSlowly 45s infinite linear;
}

/* Concentric circular lines in bottom right */
.geo-shape.shape-3 {
  width: 480px;
  height: 480px;
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  bottom: -100px;
  right: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(calc(var(--scroll-y, 0) * -0.05px),
      calc(var(--scroll-y, 0) * -0.08px),
      0);
}

.geo-shape.shape-3::before {
  content: '';
  width: 320px;
  height: 320px;
  border: 1px dashed var(--primary-wine-light);
  border-radius: 50%;
  position: absolute;
  animation: spinSlowlyReverse 55s infinite linear;
}

/* Modern dots grid pattern in top left */
.geo-shape.shape-4 {
  width: 260px;
  height: 260px;
  background-image: radial-gradient(var(--primary-wine-dark) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  top: 12%;
  left: 10%;
  opacity: 0.05;
  transform: translate3d(0,
      calc(var(--scroll-y, 0) * -0.18px),
      0);
}

/* Continuous background animations */
@keyframes floatSlowly {

  0%,
  100% {
    transform: translate3d(calc(var(--scroll-y, 0) * -0.06px), calc(var(--scroll-y, 0) * 0.04px), 0) scale(1);
  }

  50% {
    transform: translate3d(calc(var(--scroll-y, 0) * -0.06px - 25px), calc(var(--scroll-y, 0) * 0.04px + 15px), 0) scale(1.06);
  }
}

@keyframes spinSlowly {
  0% {
    transform: translate3d(0, calc(var(--scroll-y, 0) * -0.12px), 0) rotate(calc(var(--scroll-y, 0) * 0.04deg));
  }

  100% {
    transform: translate3d(0, calc(var(--scroll-y, 0) * -0.12px), 0) rotate(calc(360deg + var(--scroll-y, 0) * 0.04deg));
  }
}

@keyframes spinSlowlyReverse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

/* Scroll-driven animations overrides (Modern Browsers) */
@supports (animation-timeline: scroll()) {
  .geo-shape {
    transform: none !important;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root);
  }

  .geo-shape.shape-1 {
    animation-name: parallax-native-shape-1;
  }

  .geo-shape.shape-2 {
    animation-name: parallax-native-shape-2;
  }

  .geo-shape.shape-3 {
    animation-name: parallax-native-shape-3;
  }

  .geo-shape.shape-3::before {
    animation: spinSlowlyReverse 55s infinite linear;
  }

  .geo-shape.shape-4 {
    animation-name: parallax-native-shape-4;
  }

  @keyframes parallax-native-shape-1 {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(-100px, 120px, 0);
    }
  }

  @keyframes parallax-native-shape-2 {
    from {
      transform: translate3d(0, 0, 0) rotate(45deg);
    }

    to {
      transform: translate3d(0, -320px, 0) rotate(165deg);
    }
  }

  @keyframes parallax-native-shape-3 {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(-100px, -220px, 0);
    }
  }

  @keyframes parallax-native-shape-4 {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(0, -420px, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-shape {
    animation: none !important;
    transform: none !important;
  }

  .fade-in-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}