/* =========================
   HERO COMPONENTS
========================= */

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg::before {
content: '';
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.5) 25%,
    rgba(0,0,0,0) 50%
  );

  z-index: 1;
  pointer-events: none;
}

.hero-video {
  z-index: 0;
  transform: scale(1.02);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /*opacity: 0.5;*/
}

/* Desktop */
.hero-video-wide {
  display: block;
}

.hero-video-vertical {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-video-wide {
    display: none;
  }

  .hero-video-vertical {
    display: block;
  }
}

.hero-ticker {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  overflow: hidden;
  opacity: 0.04;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker 18s linear infinite;
  font-family: var(--font-heading);
  font-size: 200px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.ticker-inner span { padding-right: 80px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 40px;
}
.hero-title .accent { color: var(--red); }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
#VIDEO .hero-bottom{justify-content: end;}

.hero-desc {
  font-size: var(--fs-md);;
  line-height: 1.7;
  color: var(--gray);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 6px;
  transition: gap 0.3s;
}
.hero-cta:hover { gap: 20px; }
.hero-cta .arrow {
  width: 20px; height: 1px;
  background: var(--red);
  position: relative;
}
.hero-cta .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  border: 3px solid transparent;
  border-left: 6px solid var(--red);
}

/* =========================
   SERVICIOS (#serv)
========================= */

#serv { background: var(--black); }

.serv-header {
  /*display: flex;
  justify-content: space-between;
  align-items: flex-end;*/
  margin-bottom: var(--space-xxxl);
}
.serv-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.serv-intro {
  max-width: 280px;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--gray);
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.serv-card {
  background: var(--black);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}
.serv-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.serv-card:hover                { background: #0d1e2e; }
.serv-card:hover::before        { transform: scaleX(1); }

.serv-num {
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
  transition: opacity 0.4s;
}
.serv-card:hover .serv-num      { opacity: 0.3; }

.serv-card-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  font-family: var(--font-body);
}
.serv-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  flex: 1;
}

/* =========================
   POR QUÉ ELEGIRNOS (#eleg)
========================= */

#eleg { background: var(--dark2); }

.eleg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.eleg-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  line-height: 0.95;
  margin-bottom: var(--space-lg);
}
.eleg-subtitle {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--gray);
  max-width: 360px;
}

.eleg-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}
.eleg-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.eleg-item:first-child { border-top: 1px solid var(--border); }
.eleg-item:hover       { opacity: 1; }

.eleg-item-num {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.eleg-item-content h4 {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 6px;
  font-family: var(--font-body);
}
.eleg-item-content p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

/* =========================
   CLIENTES (#confian)
========================= */

#confian { background: var(--black); overflow: hidden; }

.confian-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xxxl);
}

.logos-track {
  overflow: hidden;
  margin: 0 -48px;
}
.logos-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
}
.logos-row.row1 { animation: slideLeft  25s linear infinite; }
.logos-row.row2 { animation: slideRight 30s linear infinite; margin-top: 1px; }

@keyframes slideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes slideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.logo-item {
  padding: 32px 64px;
  border-right: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--gray);
  white-space: nowrap;
  transition: color 0.3s;
  position: relative; /* necesario para apilar las imágenes */
}
.logo-item:hover { color: var(--white); }

.logo-item img {
  display: block;
  transition: opacity 0.3s ease;
}

.logo-hover {
  position: absolute;
  top: 32px;
  left: 64px;
  opacity: 0;
}

.logo-item:hover .logo-default {
  opacity: 0;
}

.logo-item:hover .logo-hover {
  opacity: 1;
}

/* =========================
   EQUIPO (#quien)
========================= */

#quien { background: var(--black); }

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xxxl);
}
.team-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  line-height: 0.95;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
}
.team-card {
  background: var(--black);
  padding: 40px 28px;
  text-align: center;
  transition: background 0.3s;
}
.team-card:hover { background: #0e1e30; }

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--border);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(77, 184, 232, 0.2);
    transition: border-color 0.3s;
    overflow: hidden; /* ← clave para que la foto respete el círculo */
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-card:hover .team-avatar { border-color: var(--red); }

.team-name {
  font-size: var(--fs-base);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--white);
}
.team-role {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}
.team-email {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  color: var(--red);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.team-card:hover .team-email { opacity: 1; }

/* =========================
   CONTACTO (#contacto)
========================= */

#contacto {
  background: var(--dark2);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.contact-inner { width: 100%; }

.contact-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  line-height: 0.9;
  margin-bottom: var(--space-xxl);
}
.contact-title .red { color: var(--red); }

.contact-links {
  display: flex;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-link-label {
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
.contact-link-value {
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-link-value:hover { color: var(--red); }

/* =========================
   RESPONSIVE COMPONENTS
========================= */

@media (max-width: 900px) {
  .serv-grid   { grid-template-columns: 1fr 1fr; }
  .eleg-grid   { grid-template-columns: 1fr; gap: 40px; }
  .team-grid   { grid-template-columns: 1fr 1fr; }
  .serv-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-links { flex-direction: column; gap: 28px; align-items: flex-start; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 768px) {
  .serv-grid { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  h2 br{display:none;}
}



/* =========================
   NEWS HOME (#novedades)
========================= */

#novedades {
  background: var(--dark2);
}

.news-home-header {
  margin-bottom: var(--space-xxxl);
  max-width: 900px;
}

.news-home-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

.news-home-intro {
  max-width: 520px;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--gray);
}



/* =========================
   GRID
========================= */

.news-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}



/* =========================
   CARD
========================= */

.news-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card::before {
  content: '';

  position: absolute;
  left: 0;
  bottom: -12px;

  width: 0;
  height: 2px;

  background: var(--red);

  transition: width 0.45s ease;
}

.news-card:hover::before {
  width: 100%;
}



.news-card-image {
  display: block;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  background: var(--dark2);
}



.news-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;

  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
}



.news-card:hover img {
  transform: scale(1.04);
}



/* =========================
   CONTENT
========================= */

.news-card-date {
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}



.news-card-title {
  margin-bottom: var(--space-md);
}



.news-card-title a {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.01em;

  color: var(--white);
  text-decoration: none;

  transition: color 0.3s ease;
}



.news-card:hover .news-card-title a {
  color: var(--red);
}



.news-card-desc {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--gray);

  margin-bottom: var(--space-lg);
}



.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  width: fit-content;

  font-size: var(--fs-xs);
  font-weight: 500;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--white);
  text-decoration: none;

  padding-bottom: 6px;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}



.news-card-link::after {
  content: '';

  width: 18px;
  height: 1px;

  background: var(--red);

  position: relative;
}



.news-card-link:hover {
  gap: 18px;
}



/* =========================
   BUTTON
========================= */

.news-home-bottom {
  margin-top: var(--space-xxxl);
  text-align: center;
}



.news-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  min-height: 56px;

  padding: 0 var(--space-xl);

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: var(--fs-xs);
  font-weight: 500;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--white);
  text-decoration: none;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}



.news-home-button:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}



/* =========================
   EMPTY STATE
========================= */

.news-home-empty {
  max-width: 640px;
}

.news-home-empty p {
  color: var(--gray);
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

  .news-home-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .news-card-title a {
    font-size: 42px;
  }

}



@media (max-width: 768px) {

  .news-card-title a {
    font-size: 34px;
  }

}



/* =========================
NEWS SINGLE
========================= */

#news-single {
  background: var(--black);
  padding: 120px 0;
}

.news-single-container {
  width: min(1600px, calc(100% - 96px));
  margin: 0 auto;
}

/* Header de la nota */

.news-single-header {
  width: min(1280px, 100%);
  margin:0 auto var(--space-xxxl);
}

#news-single .section-label {
  font-size: 14px;
  margin-bottom: var(--space-xl);
}

.news-single-date {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.news-single-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 1100px;
  margin-bottom: var(--space-lg);
}

.news-single-excerpt {
  font-size: var(--fs-md);
  color: var(--gray);
  max-width: 760px;
  line-height: 1.7;
  margin: 0;
}

/* Imagen destacada */

.news-single-cover {
  width: 100%;
  margin-bottom: var(--space-xxxl);
  background: var(--dark2);
}

.news-single-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Contenido */

/* Cuerpo de nota */

.news-single-body {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.news-single-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-md);

  font-size: 18px;
  line-height: 1.75;
  color: var(--white);
}

.news-single-content > * {
  margin-bottom: var(--space-md);
}

.news-single-content p {
  color: var(--light);
}

.news-single-content p:last-child {
  margin-bottom: 0;
}

.news-single-content ul {
  display: grid;
  gap: var(--space-sm);

  margin: var(--space-lg) 0;
}

.news-single-content li {
  position: relative;

  padding: 18px 22px 18px 46px;

  background: rgba(77, 184, 232, 0.06);
  border-left: 2px solid var(--red);

  color: var(--light);
  line-height: 1.65;
}

.news-single-content li::before {
  content: '';

  position: absolute;
  left: 22px;
  top: 29px;

  width: 6px;
  height: 6px;

  background: var(--red);
  border-radius: 50%;
}

.news-single-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.news-single-content h2,
.news-single-content h3 {
  font-family: var(--font-heading);
  line-height: 1;
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-md);
}

.news-single-content h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.news-single-content h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.news-single-content a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}


/* Video YouTube */

.news-single-video {
  width: min(900px, 100%);
  margin: var(--space-xxxl) auto 0;
}

.news-single-video .section-label {
  margin-bottom: var(--space-xl);
}

.news-single-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;

  background: var(--dark2);
  overflow: hidden;
}

.news-single-video-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* Galeria */

.news-single-gallery {
  margin-top: var(--space-xxl);
}

.news-gallery-slider .splide__arrow {
  width: 40px;
  height: 40px;
}

/* Responsive */

@media (max-width: 1024px) {

  #news-single {
    padding: 90px 0;
  }

  .news-single-container {
    width: calc(100% - 48px);
  }

  .news-single-header {
    margin-bottom: var(--space-xxl);
  }

  .news-single-cover {
    margin-bottom: var(--space-xxl);
  }

  .news-single-body {
    width: 100%;
  }

  .news-single-content {
    max-width: 100%;
    padding: 0;
    font-size: 16px;
  }
  .news-single-video {
    margin-top: var(--space-xxl);
  }
  .news-single-actions {
    margin-top: var(--space-xxl);
  }

}

@media (max-width: 640px) {

  #news-single .section-label,
  .news-single-date {
    font-size: 12px;
  }

  .news-single-title {
    font-size: clamp(38px, 12vw, 56px);
  }

  .news-single-excerpt {
    font-size: 17px;
  }

}

/* Acciones final nota */

.news-single-actions {
  width: min(1280px, 100%);
  margin: var(--space-xxxl) auto 0;
  padding-top: var(--space-xl);

  border-top: 1px solid var(--border);

  text-align: center;
}

.news-single-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  min-height: 56px;

  padding: 0 var(--space-xl);

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: var(--fs-xs);
  font-weight: 500;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--white);
  text-decoration: none;

  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.news-single-back:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}


/* =========================
   NEWS LISTING (#news-listing)
========================= */

#news-listing {
  background: var(--black);
}

.news-listing-inner {
  width: min(1600px, calc(100% - 96px));
  margin: 0 auto;
}

.news-listing-header {
  max-width: 1280px;
  margin-bottom: var(--space-xxxl);
}

.news-listing-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

.news-listing-intro {
  max-width: 560px;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.news-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.news-listing-empty {
  max-width: 640px;
}

.news-listing-empty h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  line-height: 0.95;
  margin-bottom: var(--space-lg);
}

.news-listing-empty p {
  color: var(--gray);
  font-size: var(--fs-md);
}

/* Pagination */

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);

  margin-top: var(--space-xxxl);
  padding-top: var(--space-xl);

  border-top: 1px solid var(--border);
}

.news-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 140px;
  min-height: 48px;

  padding: 0 var(--space-lg);

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--white);
  text-decoration: none;

  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.news-pagination-link:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.news-pagination-link.is-disabled {
  opacity: 0.25;
  pointer-events: none;
}

.news-pagination-current {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Responsive */

@media (max-width: 1280px) {

  .news-listing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 1024px) {

  .news-listing-inner {
    width: calc(100% - 48px);
  }

  .news-listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {

  .news-listing-grid {
    grid-template-columns: 1fr;
  }

  .news-pagination {
    flex-direction: column;
    gap: var(--space-md);
  }

  .news-pagination-link {
    width: 100%;
  }

}

/* Galería */

.news-single-gallery {
  width: min(1280px, 100%);
  margin: var(--space-xxxl) auto 0;
}

.news-single-gallery .section-label {
  margin-bottom: var(--space-xl);
}

.news-gallery-slider {
  position: relative;
}

.news-gallery-slide {
  width: 100%;
  aspect-ratio: 16 / 9;

  background: var(--dark2);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.news-gallery-slide img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}

/* Flechas Splide */

.news-gallery-slider .splide__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;

  width: 48px;
  height: 48px;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(6, 16, 31, 0.8);
  color: var(--white);

  transform: translateY(-50%);

  cursor: pointer;

  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.news-gallery-slider .splide__arrow:hover {
  border-color: var(--red);
  background: var(--black);
}

.news-gallery-slider .splide__arrow--prev {
  left: var(--space-md);
}

.news-gallery-slider .splide__arrow--next {
  right: var(--space-md);
}

.news-gallery-slider .splide__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Paginación Splide */

.news-gallery-slider .splide__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;

  margin-top: var(--space-md);
}

.news-gallery-slider .splide__pagination__page {
  width: 8px;
  height: 8px;

  border: 0;
  border-radius: 50%;

  background: var(--gray);
  opacity: 0.35;

  cursor: pointer;

  transition:
    opacity 0.3s ease,
    background 0.3s ease;
}

.news-gallery-slider .splide__pagination__page.is-active {
  background: var(--red);
  opacity: 1;
}