/* Estilos propios de la página: Inicio */

/* CONTENEDOR GENERAL */
  .coindesocol-botones{
    text-align:center;
    margin:20px 0;
    font-family:Arial, Helvetica, sans-serif;
  }

  /* ESTILO BASE DE TODOS LOS BOTONES */
  .coindesocol-boton{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    max-width:100%;
    padding:12px 20px;
    color:#ffffff !important;
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height:1.3;
    text-align:center;
    border-radius:6px;
    text-decoration:none !important;
    box-shadow:0 3px 8px rgba(0,0,0,0.2);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background 0.3s ease;
    cursor:pointer;
    box-sizing:border-box;
    vertical-align:middle;
  }

  /* QUITAR SUBRAYADO EN TODOS LOS ESTADOS */
  .coindesocol-boton:hover,
  .coindesocol-boton:focus,
  .coindesocol-boton:active,
  .coindesocol-boton:visited{
    color:#ffffff !important;
    text-decoration:none !important;
  }

  /* ICONOS SVG */
  .coindesocol-boton svg{
    width:20px;
    height:20px;
    min-width:20px;
    flex-shrink:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  /* SEPARACIÓN ENTRE BOTONES */
  .coindesocol-fila{
    text-align:center;
    margin-bottom:12px;
  }

  /* BOTÓN VERDE */
  .boton-verde{
    background:linear-gradient(145deg, #2e7d32, #4caf50);
  }

  .boton-verde:hover{
    transform:scale(1.05);
    box-shadow:0 5px 12px rgba(0,0,0,0.3);
    background:linear-gradient(145deg, #4caf50, #2e7d32);
  }

  /* BOTÓN GRIS */
  .boton-gris{
    background:linear-gradient(145deg, #6c757d, #adb5bd);
  }

  .boton-gris:hover{
    transform:scale(1.05);
    box-shadow:0 5px 12px rgba(0,0,0,0.3);
    background:linear-gradient(145deg, #adb5bd, #6c757d);
  }

  /* BOTÓN NEGRO */
  .boton-negro{
    background:linear-gradient(145deg, #000000, #434343);
  }

  .boton-negro:hover{
    transform:scale(1.05);
    box-shadow:0 5px 12px rgba(0,0,0,0.3);
    background:linear-gradient(145deg, #434343, #000000);
  }

  /* RESPONSIVE */
  @media (max-width:600px){
    .coindesocol-botones{
      width:100%;
      margin:20px auto;
      padding:0 10px;
      box-sizing:border-box;
    }

    .coindesocol-boton{
      max-width:100%;
      padding:12px 16px;
      font-size:15px;
      gap:7px;
    }

    .coindesocol-boton svg{
      width:19px;
      height:19px;
      min-width:19px;
    }
  }

  @media (max-width:380px){
    .coindesocol-boton{
      padding:11px 12px;
      font-size:14px;
      gap:6px;
    }

    .coindesocol-boton svg{
      width:18px;
      height:18px;
      min-width:18px;
    }
  }

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 4px 12px rgba(0,0,0,0.3);}
  50% { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.4);}
  100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0,0,0,0.3);}
}

@keyframes spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.slider-banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 25px 45px rgba(0,0,0,0.25),
    0 10px 20px rgba(0,0,0,0.15),
    inset 0 0 25px rgba(0,0,0,0.08);
  touch-action: pan-y;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slider-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex: 0 0 100%;
  padding: 6px 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
}

.slider-banner::before,
.slider-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.slider-banner::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent 30%),
              linear-gradient(to top, rgba(0,0,0,0.15), transparent 30%);
}

.slider-banner::after {
  background: linear-gradient(to right, rgba(0,0,0,0.15), transparent 25%),
              linear-gradient(to left, rgba(0,0,0,0.15), transparent 25%);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 3;
  transition: all 0.3s ease;
}

.slider-btn:hover { transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Tablet */
@media (max-width: 992px) {
  .slider-banner { height: 120px; border-radius: 16px; }
}

/* Móvil */
@media (max-width: 768px) {
  .slider-banner { height: 105px; border-radius: 14px; }
  .slider-btn { width: 32px; height: 32px; font-size: 15px; }
  .slider-btn.prev { left: 6px; }
  .slider-btn.next { right: 6px; }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .slider-banner { height: 90px; border-radius: 12px; }
  .slider-btn { width: 28px; height: 28px; font-size: 13px; }
}

.cindesocol-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
  font-family: 'Inter', Arial, sans-serif;
}

.header {
  text-align: center;
  margin-bottom: 60px;
}

.header-leaf {
  font-size: 48px;
  color: #0a7a4a;
}

.grid-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 80px;
}

.card,
.info-grid div,
.impact-card {
  background: rgba(220,220,220,0.8);
  padding: 22px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover,
.info-grid div:hover,
.impact-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  background: rgba(210,210,210,0.9);
}

.icon-group i,
.impact-card i,
.info-grid i {
  font-size: 32px;
  color: #0a7a4a;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.card:hover i,
.info-grid div:hover i,
.impact-card:hover i {
  transform: scale(1.2);
}

.section {
  margin-bottom: 80px;
  text-align: center;
}

.section.alt {
  background: #f5f5f5;
  padding: 45px 20px;
  border-radius: 26px;
}

.section.highlight {
  background: #eef7f1;
  padding: 45px 20px;
  border-radius: 26px;
}

.info-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 35px;
}


<div class="coin-wrapper">
  <div class="coin-500">
    <div class="coin-front">500</div>
    <div class="coin-back">$ COP</div>
  </div>
</div>

<style>
.coin-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  perspective: 1000px;
}

.coin-500 {
  width: 90px;
  height: 90px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCoin 4s linear infinite;
}

.coin-front,
.coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5f5f5, #bdbdbd, #9e9e9e);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #424242;
  font-size: 22px;
  backface-visibility: hidden;
  box-shadow:
    inset -4px -4px 8px rgba(0,0,0,0.25),
    inset 4px 4px 8px rgba(255,255,255,0.7),
    0 8px 15px rgba(0,0,0,0.25);
  border: 3px solid #e0e0e0;
}

.coin-front {
  transform: rotateY(0deg);
}

.coin-back {
  transform: rotateY(180deg);
}

@keyframes spinCoin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}


/* =========================================================
   CARRUSEL PREMIUM COINDESOCOL
========================================================= */

.promo-carousel-section {
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
}

.promo-carousel {
  position: relative;
  width: 100%;
  padding: 20px 0 30px;
  overflow: hidden;
}

/* DIFUMINADO LATERAL */
.promo-carousel::before,
.promo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.promo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.promo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* TRACK */
.promo-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: slideCards 40s linear infinite;
}

/* PAUSA AL PASAR EL MOUSE */
.promo-carousel:hover .promo-track {
  animation-play-state: paused;
}

/* TARJETAS */
.promo-card {
  flex: 0 0 320px;
  height: 430px;
  background: linear-gradient(145deg, #ffffff, #f4f4f4);
  border-radius: 28px;
  padding: 14px;

  border: 1px solid rgba(10,122,74,0.15);

  box-shadow:
    0 12px 28px rgba(0,0,0,0.10),
    0 5px 15px rgba(10,122,74,0.10);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* EFECTO HOVER */
.promo-card:hover {
  transform: translateY(-10px) scale(1.03);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.18),
    0 10px 25px rgba(10,122,74,0.18);
}

/* IMÁGENES */
.promo-card img {
  width: 100%;
  height: 100%;

  /* IMPORTANTE */
  object-fit: contain;
  object-position: center;

  display: block;
  border-radius: 22px;

  background: #ffffff;
}

/* ANIMACIÓN */
@keyframes slideCards {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .promo-track {
    gap: 20px;
    animation-duration: 34s;
  }

  .promo-card {
    flex-basis: 270px;
    height: 370px;
    border-radius: 24px;
  }

}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

  .promo-carousel-section {
    margin-bottom: 45px;
  }

  .promo-carousel {
    padding: 12px 0 20px;
  }

  .promo-track {
    gap: 16px;
    animation-duration: 28s;
  }

  .promo-card {
    flex-basis: 220px;
    height: 310px;

    padding: 10px;
    border-radius: 22px;
  }

  .promo-card img {
    border-radius: 16px;
  }

  .promo-carousel::before,
  .promo-carousel::after {
    width: 40px;
  }

}

/* =========================================================
   CARRUSEL ENTRE LA COOPERATIVA E IMPACTO COMUNITARIO
========================================================= */
.community-gallery {
  position: relative;
  width: 100%;
  margin: 0 auto 80px;
  padding: 38px 28px 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #f7fbf8 0%, #ffffff 55%, #eef7f1 100%);
  border: 1px solid rgba(10, 122, 74, 0.13);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.11), 0 8px 22px rgba(10, 122, 74, 0.08);
}

.community-gallery__heading {
  text-align: center;
  margin-bottom: 25px;
}

.community-gallery__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: #0a7a4a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.community-gallery__heading h2 {
  margin: 0;
  color: #173f2d;
  font-size: clamp(25px, 4vw, 35px);
  line-height: 1.2;
}

.community-gallery__heading h2 i {
  color: #0a7a4a;
  margin-right: 8px;
}

.community-gallery__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 23px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.17);
  background: #e8eee9;
}

.community-gallery__track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.community-gallery__slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #edf4ef, #f8fbf9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-gallery__card {
  width: min(100%, 720px);
  height: auto;
  padding: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(10, 122, 74, 0.14);
  border-radius: 24px;
  box-shadow:
    0 22px 46px rgba(15, 42, 29, 0.18),
    0 8px 18px rgba(10, 122, 74, 0.10);
}

.community-gallery__slide img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: center center;
  border-radius: 17px;
  transform: none !important;
  transition: none !important;
}

.community-gallery__slide.is-active img {
  transform: none !important;
}

/* La imagen se muestra completa: sin recorte superior, inferior ni lateral */
.community-gallery__card,
.community-gallery__slide img {
  box-sizing: border-box;
}

.community-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(10, 122, 74, 0.88);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.community-gallery__arrow:hover {
  background: #08643d;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
}

.community-gallery__arrow--prev { left: 17px; }
.community-gallery__arrow--next { right: 17px; }

.community-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.community-gallery__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7c9bf;
  cursor: pointer;
  transition: width .3s ease, border-radius .3s ease, background .3s ease;
}

.community-gallery__dots button.is-active {
  width: 30px;
  border-radius: 10px;
  background: #0a7a4a;
}

@media (max-width: 768px) {
  .community-gallery {
    margin-bottom: 60px;
    padding: 28px 15px 24px;
    border-radius: 23px;
  }

  .community-gallery__heading { margin-bottom: 19px; }
  .community-gallery__viewport { border-radius: 18px; }
  .community-gallery__slide {
    min-height: 0;
    padding: 14px;
  }

  .community-gallery__card {
    width: min(100%, 620px);
    height: auto;
    padding: 10px;
    border-radius: 20px;
  }

  .community-gallery__slide img {
    border-radius: 14px;
  }

  .community-gallery__arrow {
    width: 40px;
    height: 40px;
  }

  .community-gallery__arrow--prev { left: 10px; }
  .community-gallery__arrow--next { right: 10px; }
}

@media (max-width: 480px) {
  .community-gallery {
    margin-left: 0;
    margin-right: 0;
    padding: 23px 10px 20px;
    border-radius: 20px;
  }

  .community-gallery__eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .community-gallery__slide {
    min-height: 0;
    padding: 9px;
  }

  .community-gallery__card {
    width: 100%;
    height: auto;
    padding: 8px;
    border-radius: 17px;
    box-shadow:
      0 14px 30px rgba(15, 42, 29, 0.17),
      0 6px 14px rgba(10, 122, 74, 0.09);
  }

  .community-gallery__slide img {
    border-radius: 12px;
    object-position: center center;
  }
  .community-gallery__arrow {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-gallery__track {
    transition: none;
  }
}


/* =========================================================
   GALERÍA CUADRADA + CARRUSEL REDONDO DESPUÉS DE FONDOS
========================================================= */
.round-gallery-section {
  position: relative;
  width: 100%;
  margin: 0 auto 80px;
  padding: 42px 30px 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 48%, #edf7f1 100%);
  border: 1px solid rgba(10, 122, 74, 0.14);
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(19, 55, 37, 0.12), 0 8px 20px rgba(10, 122, 74, 0.08);
}

.round-gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #0a7a4a, #35a86f, #d5b25a, #0a7a4a);
}

.round-gallery-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: rgba(10, 122, 74, 0.06);
  pointer-events: none;
}

.round-gallery-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 30px;
}

.round-gallery-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: #0a7a4a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.round-gallery-heading h2 {
  margin: 0;
  color: #173f2d;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.round-gallery-heading h2 i {
  color: #0a7a4a;
  margin-right: 9px;
}

.round-gallery-heading p {
  max-width: 700px;
  margin: 10px auto 0;
  color: #617067;
  font-size: 15px;
  line-height: 1.6;
}

.round-gallery-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.round-gallery-featured {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(10, 122, 74, 0.14);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(21, 52, 36, 0.18), 0 7px 18px rgba(10, 122, 74, 0.10);
}

.round-gallery-featured__image {
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: linear-gradient(145deg, #f2f7f4, #ffffff);
}

.round-gallery-featured__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 19px;
  background: #ffffff;
}

.round-gallery-featured__content {
  padding: 18px 20px 21px;
  text-align: left;
  border-top: 1px solid rgba(10, 122, 74, 0.09);
}

.round-gallery-featured__label {
  display: block;
  margin-bottom: 6px;
  color: #0a7a4a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.round-gallery-featured h3 {
  margin: 0;
  color: #173f2d;
  font-size: 19px;
  line-height: 1.35;
}

.round-gallery-carousel {
  min-width: 0;
}

.round-gallery-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 4px 28px;
}

.round-gallery-window::before,
.round-gallery-window::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 75px;
  z-index: 3;
  pointer-events: none;
}

.round-gallery-window::before {
  left: 0;
  background: linear-gradient(to right, #f8fcf9 0%, rgba(248, 252, 249, 0) 100%);
}

.round-gallery-window::after {
  right: 0;
  background: linear-gradient(to left, #f4faf6 0%, rgba(244, 250, 246, 0) 100%);
}

.round-gallery-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: roundGalleryFlow 48s linear infinite;
  will-change: transform;
}

.round-gallery-window:hover .round-gallery-track,
.round-gallery-window:focus-within .round-gallery-track {
  animation-play-state: paused;
}

.round-gallery-item {
  flex: 0 0 178px;
  width: 178px;
  height: 178px;
  margin: 0;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #eef5f0);
  border: 2px solid rgba(10, 122, 74, 0.24);
  box-shadow: 0 14px 30px rgba(20, 50, 34, 0.17), 0 5px 13px rgba(10, 122, 74, 0.12);
}

.round-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 4px solid #ffffff;
}

.round-gallery-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  color: #66746c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
}

.round-gallery-note i {
  color: #0a7a4a;
}

@keyframes roundGalleryFlow {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

@media (max-width: 900px) {
  .round-gallery-section {
    padding: 36px 22px 30px;
  }

  .round-gallery-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 25px;
  }

  .round-gallery-item {
    flex-basis: 150px;
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 700px) {
  .round-gallery-section {
    margin-bottom: 60px;
    padding: 32px 15px 27px;
    border-radius: 24px;
  }

  .round-gallery-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .round-gallery-featured {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .round-gallery-window {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }

  .round-gallery-track {
    gap: 18px;
    animation-duration: 40s;
  }

  .round-gallery-item {
    flex-basis: 138px;
    width: 138px;
    height: 138px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .round-gallery-section {
    padding: 28px 10px 24px;
    border-radius: 20px;
  }

  .round-gallery-heading {
    margin-bottom: 22px;
  }

  .round-gallery-heading span {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .round-gallery-heading p {
    font-size: 13px;
  }

  .round-gallery-featured {
    width: 100%;
    border-radius: 21px;
  }

  .round-gallery-featured__image {
    padding: 9px;
  }

  .round-gallery-featured__image img {
    border-radius: 15px;
  }

  .round-gallery-featured__content {
    padding: 15px 16px 18px;
  }

  .round-gallery-window {
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);
  }

  .round-gallery-window::before,
  .round-gallery-window::after {
    width: 38px;
  }

  .round-gallery-track {
    gap: 14px;
    animation-duration: 36s;
  }

  .round-gallery-item {
    flex-basis: 118px;
    width: 118px;
    height: 118px;
    padding: 5px;
  }

  .round-gallery-item img {
    border-width: 3px;
  }

  .round-gallery-note {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .round-gallery-track {
    animation: none;
  }
}

.cs-team{
  --cs-green:#0a7a4a; --cs-dark:#173f2d; --cs-gold:#d5b25a; --cs-gap:46px;
  position:relative; width:100%; max-width:1200px; margin:0 auto 70px;
  padding:50px 0 40px; overflow:hidden; font-family:'Inter',Arial,sans-serif;
}
.cs-team__head{ text-align:center; padding:0 20px; margin-bottom:34px; }
.cs-team__head span{
  display:inline-block; margin-bottom:8px; color:var(--cs-green);
  font-size:12px; font-weight:800; letter-spacing:3px;
}
.cs-team__head h2{
  margin:0; color:var(--cs-dark); font-size:clamp(26px,4vw,38px); line-height:1.2;
}
.cs-team__head h2::after{
  content:""; display:block; width:70px; height:3px; margin:14px auto 0; border-radius:3px;
  background:linear-gradient(90deg,var(--cs-green),var(--cs-gold));
}
.cs-team__head p{ max-width:620px; margin:14px auto 0; color:#617067; font-size:15px; line-height:1.6; }

/* Ventana con desvanecido suave en los bordes (sin fichas ni fondos) */
.cs-team__window{
  position:relative; overflow:hidden; padding:16px 0 10px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
}
.cs-team__track{
  display:flex; gap:var(--cs-gap); width:max-content;
  animation:csTeamFlow 55s linear infinite; will-change:transform;
}
.cs-team__window:hover .cs-team__track,
.cs-team__window:focus-within .cs-team__track{ animation-play-state:paused; }

.cs-team__member{ flex:0 0 230px; width:230px; text-align:center; }

/* Círculo con aro degradado verde–dorado */
.cs-team__ring{
  width:190px; height:190px; margin:0 auto 18px; padding:5px; border-radius:50%;
  background:conic-gradient(from 210deg,var(--cs-green),#35a86f,var(--cs-gold),var(--cs-green));
  box-shadow:0 16px 34px rgba(20,50,34,.18);
  transition:transform .45s ease, box-shadow .45s ease;
}
.cs-team__photo{
  width:100%; height:100%; border-radius:50%; overflow:hidden;
  background:#fff; border:5px solid #fff;
}
.cs-team__photo img{
  width:100%; height:100%; display:block; object-fit:cover;
  object-position:var(--pos,50% 30%);
  transform:scale(var(--zoom,1)); transform-origin:var(--pos,50% 30%);
  transition:transform .6s ease;
}
.cs-team__member:hover .cs-team__ring{ transform:translateY(-6px); box-shadow:0 22px 44px rgba(10,122,74,.25); }
.cs-team__member:hover .cs-team__photo img{ transform:scale(calc(var(--zoom,1) * 1.06)); }

.cs-team__role{
  display:block; min-height:30px; color:var(--cs-green);
  font-size:11px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase; line-height:1.4;
}
.cs-team__name{ margin:6px 0 4px; color:var(--cs-dark); font-size:17px; font-weight:700; line-height:1.3; }
.cs-team__prof{ margin:0 0 8px; color:#66746c; font-size:13.5px; font-style:italic; line-height:1.4; }
.cs-team__mail{
  display:inline-flex; align-items:center; gap:6px; color:#4b5a51;
  font-size:12.5px; text-decoration:none; word-break:break-all;
  border-bottom:1px solid transparent; transition:color .3s, border-color .3s;
}
.cs-team__mail i{ color:var(--cs-gold); }
.cs-team__mail:hover{ color:var(--cs-green); border-color:var(--cs-green); }

@keyframes csTeamFlow{
  from{ transform:translateX(0); }
  to  { transform:translateX(calc(-50% - var(--cs-gap) / 2)); }
}

/* Tablet */
@media (max-width:900px){
  .cs-team{ --cs-gap:34px; }
  .cs-team__member{ flex-basis:210px; width:210px; }
  .cs-team__ring{ width:165px; height:165px; }
}
/* Móvil: más pequeño y movimiento lento */
@media (max-width:600px){
  .cs-team{ --cs-gap:26px; padding:40px 0 30px; margin-bottom:50px; }
  .cs-team__member{ flex-basis:190px; width:190px; }
  .cs-team__ring{ width:145px; height:145px; padding:4px; }
  .cs-team__photo{ border-width:4px; }
  .cs-team__name{ font-size:16px; }
  .cs-team__track{ animation-duration:45s; }
  .cs-team__window{
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
            mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
  }
}
/* Accesibilidad: si el usuario desactiva animaciones, se muestran en cuadrícula */
@media (prefers-reduced-motion:reduce){
  .cs-team__track{ animation:none; flex-wrap:wrap; justify-content:center; width:100%; }
  .cs-team__member[aria-hidden="true"]{ display:none; }
  .cs-team__window{ -webkit-mask-image:none; mask-image:none; }
}

.coin-500 {
  width: 85px;
  height: 85px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCoin 4s linear infinite;
}

.coin-front,
.coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5f5f5, #bdbdbd, #9e9e9e);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #424242;
  font-size: 20px;
  backface-visibility: hidden;
  box-shadow:
    inset -4px -4px 8px rgba(0,0,0,0.25),
    inset 4px 4px 8px rgba(255,255,255,0.7),
    0 8px 15px rgba(0,0,0,0.25);
  border: 3px solid #e0e0e0;
}

.coin-back {
  transform: rotateY(180deg);
}

@keyframes spinCoin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* ✅ Ajuste SOLO para móvil */
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-flex > div {
    text-align: center !important;
  }
}
