.about-section {
  background: var(--white);
  color: var(--black);
  padding: var(--section-padding-y) 0;
}

.about-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  text-align: center;
  margin-bottom: 125px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}

.feature-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.feature h4 {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.feature p {
  max-width: 300px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.about-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-image {
  height: 420px;
  overflow: hidden;
  background: #ddd;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js .about-image.reveal-zoom img {
  transform: scale(1.18);
  opacity: 0;
  transition: transform 1.25s cubic-bezier(.19,1,.22,1), opacity 0.8s ease;
}

.js .about-image.reveal-zoom.is-visible img {
  transform: scale(1);
  opacity: 1;
}

.about-text {
  min-height: 510px;
  padding: clamp(42px, 5vw, 76px);
  background: var(--soft);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin-bottom: var(--space-title);
}

.about-text p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: var(--space-copy);
}

.about-text strong {
  color: var(--black);
}

.rotating-badge {
  position: absolute;
  right: -8px;
  bottom: -58px;
  width: 140px;
  height: 140px;

  display: grid;
  place-items: center;
}

.rotating-svg {
  position: absolute;
  inset: 0;
  width: 140px;
  height: 140px;
  animation: spinClockwise 10s linear infinite;
}

.rotating-svg {
  position: absolute;
  inset: 0;
  width: 140px;
  height: 140px;
  animation: spinClockwise 10s linear infinite;
}

.rotating-svg text {
  fill: var(--black);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* La flecha gira en la misma dirección pero más despacio */
.badge-arrow-img {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  object-fit: contain;
  animation: spinClockwise 18s linear infinite;
}

@keyframes spinClockwise {
  to {
    transform: rotate(360deg);
  }
}

.about-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 115px;
}

.bottom-item {
  position: relative;
  padding-left: 30px;
}

.bottom-number {
  position: absolute;
  top: -38px;
  left: 0;

  font-size: 64px;
  line-height: 1;
  font-weight: 900;

  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.08);
}

.bottom-item h5 {
  position: relative;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.bottom-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .about-top {
    gap: 40px;
  }

  .about-main {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: clamp(280px, 48vw, 500px);
  }

  .about-text {
    min-height: auto;
  }

  .rotating-badge {
    right: 24px;
    bottom: -70px;
  }

  .about-bottom {
    grid-template-columns: 1fr;
    gap: 64px;
    margin-top: 130px;
  }
}

@media (max-width: 760px) {
  .about-section {
    padding: 100px 0;
  }

  .about-top {
    grid-template-columns: 1fr;
    gap: 54px;
    margin-bottom: 90px;
  }

  .about-text {
    padding: 38px 28px;
  }

  .rotating-badge {
    display: none;
  }
}
/* =========================
   DARK MODE — Sección About
========================= */

/* El bloque de texto al lado de la imagen:
   fondo blanco forzado, texto oscuro */
[data-theme="dark"] .about-text {
  background: #f5f5f5;
}

[data-theme="dark"] .about-text h2 {
  color: #050505;
}

[data-theme="dark"] .about-text p {
  color: #4a4a4a;
}

[data-theme="dark"] .about-text strong {
  color: #050505;
}

/* Botón dentro del bloque de texto: texto negro */
[data-theme="dark"] .about-text .btn-primary {
  color: #0d0d0d;
}

/* Números fantasma en about-bottom: verde accent */
[data-theme="dark"] .bottom-number {
  color: transparent;
  font-family: var(--font-number);
  -webkit-text-stroke: 1px rgba(180, 180, 180, 0.35);
}

[data-theme="dark"] .bottom-item h5 {
  color: #f0f0f0;
}

[data-theme="dark"] .bottom-item p {
  color: rgba(255,255,255,0.6);
}
