/* Visual refresh for the active homepage only. The existing Hero is intentionally untouched. */
body.home-refresh {
  --home-bg: #090b10;
  --home-surface: rgba(20, 24, 32, 0.78);
  --home-surface-strong: #141820;
  --home-line: rgba(238, 241, 246, 0.11);
  --home-copy: #f4f5f6;
  --home-muted: #aab1bc;
  --home-gold: #ffd000;
  --home-teal: #6bd2c5;
  color: var(--home-copy);
  background:
    radial-gradient(ellipse at 10% 16%, rgba(255, 208, 0, 0.09), transparent 34rem),
    radial-gradient(ellipse at 92% 55%, rgba(72, 183, 174, 0.08), transparent 36rem),
    var(--home-bg);
}

body.home-refresh #particles-js {
  opacity: 0.12;
  pointer-events: none;
}

body.home-refresh #header {
  background: rgba(9, 11, 16, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.home-refresh #header.header-scrolled {
  background: rgba(9, 11, 16, 0.96);
  border-bottom-color: rgba(255, 208, 0, 0.18);
}

body.home-refresh .navbar a,
body.home-refresh .navbar a:focus {
  transition: color 0.25s ease;
}

body.home-refresh #playradio {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: var(--home-surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.home-refresh #radio-player {
  width: auto;
  background: transparent;
  box-shadow: none;
}

body.home-refresh #play-pause-btn {
  border: 1px solid rgba(255, 208, 0, 0.65);
  box-shadow: 0 0 0 5px rgba(255, 208, 0, 0.08) !important;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

body.home-refresh #play-pause-btn:hover {
  transform: translateY(-2px);
  background: #ffe15a;
  box-shadow: 0 0 0 8px rgba(255, 208, 0, 0.12) !important;
}

body.home-refresh .body-icons ul {
  gap: 0.5rem;
}

body.home-refresh .body-icons ul li a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  color: var(--home-copy);
  background: rgba(255, 255, 255, 0.035);
  font-size: 19px;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.home-refresh .body-icons ul li a:hover {
  transform: translateY(-3px);
  color: #111;
  background: var(--home-gold);
  border-color: var(--home-gold);
}

body.home-refresh #main.home-refresh-main {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse at 4% 9%, rgba(255, 208, 0, 0.075), transparent 31rem),
    radial-gradient(ellipse at 96% 45%, rgba(72, 183, 174, 0.075), transparent 33rem),
    linear-gradient(180deg, #0b0d12 0%, #0a0c11 52%, #090b10 100%);
}

body.home-refresh #main.home-refresh-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='190' viewBox='0 0 280 190'%3E%3Cg fill='%23ffd000' fill-opacity='.24'%3E%3Crect x='8' y='78' width='3' height='34' rx='1.5'/%3E%3Crect x='20' y='61' width='3' height='68' rx='1.5'/%3E%3Crect x='32' y='43' width='3' height='104' rx='1.5'/%3E%3Crect x='44' y='68' width='3' height='54' rx='1.5'/%3E%3Crect x='56' y='30' width='3' height='130' rx='1.5'/%3E%3Crect x='68' y='53' width='3' height='84' rx='1.5'/%3E%3Crect x='80' y='73' width='3' height='44' rx='1.5'/%3E%3Crect x='92' y='39' width='3' height='112' rx='1.5'/%3E%3Crect x='104' y='59' width='3' height='72' rx='1.5'/%3E%3Crect x='116' y='24' width='3' height='142' rx='1.5'/%3E%3Crect x='128' y='48' width='3' height='94' rx='1.5'/%3E%3Crect x='140' y='69' width='3' height='52' rx='1.5'/%3E%3Crect x='152' y='37' width='3' height='116' rx='1.5'/%3E%3Crect x='164' y='57' width='3' height='76' rx='1.5'/%3E%3Crect x='176' y='28' width='3' height='134' rx='1.5'/%3E%3Crect x='188' y='65' width='3' height='60' rx='1.5'/%3E%3Crect x='200' y='46' width='3' height='98' rx='1.5'/%3E%3Crect x='212' y='72' width='3' height='46' rx='1.5'/%3E%3Crect x='224' y='40' width='3' height='110' rx='1.5'/%3E%3Crect x='236' y='59' width='3' height='72' rx='1.5'/%3E%3Crect x='248' y='78' width='3' height='34' rx='1.5'/%3E%3C/g%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.012) 6px 7px);
  background-size: 280px 190px, auto;
  background-repeat: repeat, repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  opacity: 0.34;
}

body.home-refresh #main.home-refresh-main > * {
  position: relative;
  z-index: 1;
}

body.home-refresh #main .section-headline {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

body.home-refresh #main .section-headline h1 {
  display: inline-block;
  margin-bottom: 1.15rem;
  color: var(--home-copy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

body.home-refresh #main .section-headline h1::after {
  bottom: -0.55rem;
  width: 58px;
  border: 0;
  height: 3px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--home-gold), var(--home-teal));
}

body.home-refresh #main p {
  color: var(--home-muted);
}

body.home-refresh #main #about,
body.home-refresh #main #services,
body.home-refresh #main #team,
body.home-refresh #main #contact {
  padding-top: clamp(3.8rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.8rem, 7vw, 6.5rem);
}

body.home-refresh #main #about {
  scroll-margin-top: 70px;
}

body.home-refresh #main .about-container {
  max-width: 1320px;
  margin-inline: auto;
}

body.home-refresh #main .styled-video,
body.home-refresh #main .about-container iframe {
  border: 1px solid rgba(255, 208, 0, 0.42);
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
}

body.home-refresh #main .about-container h2 {
  color: var(--home-gold);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

body.home-refresh #main .about-container h3 {
  color: var(--home-copy);
  font-family: 'Dubai Regular', sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.7;
}

body.home-refresh #main #services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

body.home-refresh #main .about-move {
  height: 100%;
  padding-bottom: 1rem;
}

body.home-refresh #main .services-details {
  height: 100%;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(26, 31, 41, 0.92), rgba(16, 19, 26, 0.88));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.home-refresh #main .services-details:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 208, 0, 0.48);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

body.home-refresh #main .services-icon {
  color: var(--home-gold);
  transition: transform 0.3s ease, color 0.3s ease;
}

body.home-refresh #main .services-details:hover .services-icon {
  transform: translateY(-3px) scale(1.06);
  color: #ffe15a;
}

body.home-refresh #main .single-services > h4 {
  color: var(--home-copy);
  font-size: 1.35rem;
}

body.home-refresh #main .single-services > p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.65;
}

body.home-refresh #main .noticias-recientes {
  margin-top: clamp(3rem, 6vw, 5.5rem) !important;
  margin-bottom: clamp(3rem, 6vw, 5.5rem) !important;
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

body.home-refresh #main .noticias-recientes .section-title {
  color: var(--home-copy);
  font-family: 'Coolvetica Condensed Regular', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
}

body.home-refresh #main .noticia-card.card {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 30, 39, 0.97), rgba(16, 19, 26, 0.97));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

body.home-refresh #main .noticia-card.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 208, 0, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.33);
}

body.home-refresh #main .noticia-card .noticia-imagen {
  width: 100%;
  height: 205px;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

body.home-refresh #main .noticia-card:hover .noticia-imagen {
  transform: scale(1.045);
  filter: saturate(1.08);
}

body.home-refresh #main .noticia-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.2rem;
}

body.home-refresh #main .noticia-card .card-title {
  color: var(--home-copy);
  font-size: 1.12rem;
  line-height: 1.3;
}

body.home-refresh #main .noticia-card .card-text {
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

body.home-refresh #main .noticia-ver-mas {
  margin-top: auto;
  border: 1px solid rgba(255, 208, 0, 0.5);
  border-radius: 999px;
  color: var(--home-gold);
  background: rgba(255, 208, 0, 0.08);
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

body.home-refresh #main .noticia-ver-mas:hover {
  transform: translateY(-2px);
  color: #111;
  background: var(--home-gold);
}

body.home-refresh #main .carousel-control-prev-icon,
body.home-refresh #main .carousel-control-next-icon {
  background-color: rgba(7, 9, 13, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background-size: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.home-refresh #main .carousel-control-prev:hover .carousel-control-prev-icon,
body.home-refresh #main .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.08);
  background-color: rgba(255, 208, 0, 0.9);
  border-color: var(--home-gold);
}

body.home-refresh #main .pyramid {
  gap: 1rem;
}

body.home-refresh #main .pyramid-row {
  gap: 1rem;
}

body.home-refresh #main .pyramid-item,
body.home-refresh #main .pyramid-top {
  min-height: 130px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  color: var(--home-copy);
  background: linear-gradient(145deg, rgba(25, 30, 39, 0.96), rgba(16, 19, 26, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.19);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.home-refresh #main .pyramid-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 208, 0, 0.52);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
}

body.home-refresh #main .pyramid-top .song-title,
body.home-refresh #main .pyramid-top .song-artist,
body.home-refresh #main .pyramid-top .top-number,
body.home-refresh #main .top-number {
  color: var(--home-gold);
}

body.home-refresh #main .pyramid-top .song-title {
  color: var(--home-copy);
}

body.home-refresh #main .song-title {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.2;
}

body.home-refresh #main .song-artist {
  color: var(--home-muted);
  font-size: 1rem;
}

body.home-refresh #main .album-cover {
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

body.home-refresh #main .sidebar-farandula {
  height: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--home-gold);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 30, 39, 0.94), rgba(16, 19, 26, 0.94));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

body.home-refresh #main .banda-titulo {
  color: var(--home-copy);
  font-size: 1.35rem;
}

body.home-refresh #main .banda-imagen {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

body.home-refresh #main .banda-cta {
  display: inline-block;
  margin-top: 0.3rem;
  color: #111;
  background: var(--home-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.home-refresh #main .sidebar-farandula a:hover .banda-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 208, 0, 0.24);
}

body.home-refresh #main #team {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

body.home-refresh #main .single-team-member {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.home-refresh #main .single-team-member:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 208, 0, 0.45);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
}

body.home-refresh #main .team-img img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: transform 0.55s ease;
}

body.home-refresh #main #logo-carousel {
  padding: 1rem 0 3rem;
}

body.home-refresh #main .logo-img {
  max-width: min(22vw, 180px);
  max-height: 76px;
  padding: 0.65rem 1rem;
  filter: grayscale(1) brightness(1.35);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

body.home-refresh #main .logo-img:hover {
  transform: translateY(-3px);
  filter: none;
  opacity: 1;
}

body.home-refresh #main #contact {
  border-top: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(7, 9, 13, 0.5));
}

body.home-refresh #main .contact-icon {
  height: calc(100% - 1rem);
  margin-bottom: 1rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface);
  transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

body.home-refresh #main .contact-icon:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 208, 0, 0.4);
  background: rgba(24, 29, 38, 0.92);
}

body.home-refresh #main .single-icon i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 208, 0, 0.3);
  border-radius: 16px;
  color: var(--home-gold);
  background: rgba(255, 208, 0, 0.07);
}

body.home-refresh #main .contact-area p,
body.home-refresh #main .contact-area span {
  color: var(--home-copy);
}

body.home-refresh #main .contact-area span {
  color: var(--home-muted);
}

body.home-refresh #main .maps {
  overflow: hidden;
  width: min(100%, 760px);
  margin: 0 auto;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

body.home-refresh #main .maps iframe {
  display: block;
  min-height: 320px;
}

body.home-refresh .footer-area,
body.home-refresh .footer-area-bottom {
  color: var(--home-copy);
  background: #080a0e;
}

body.home-refresh .footer-area {
  border-top: 1px solid var(--home-line);
}

body.home-refresh .footer-head p,
body.home-refresh .footer-head h4,
body.home-refresh .footer-area-bottom p,
body.home-refresh .footer-area-bottom .credits {
  color: var(--home-muted);
}

body.home-refresh .footer-icons ul li a {
  border-color: var(--home-line);
  border-radius: 12px;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

body.home-refresh .footer-icons ul li a:hover {
  transform: translateY(-3px);
  color: #111;
  background: var(--home-gold);
  border-color: var(--home-gold);
}

body.home-refresh.home-motion-ready #main .home-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--home-reveal-delay, 0ms);
}

body.home-refresh.home-motion-ready #main .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  body.home-refresh #playradio {
    width: calc(100% - 1.5rem);
    margin-top: 1rem;
    padding: 0.6rem 0.35rem;
    border-radius: 18px;
  }

  body.home-refresh #main #about,
  body.home-refresh #main #services,
  body.home-refresh #main #team,
  body.home-refresh #main #contact {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  body.home-refresh #main .about-container {
    padding-inline: 1.25rem;
  }

  body.home-refresh #main .pyramid-row {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  body.home-refresh #main .pyramid-item,
  body.home-refresh #main .pyramid-top {
    min-height: 0;
    flex-direction: row;
    text-align: left;
  }

  body.home-refresh #main .pyramid-item .album-cover {
    width: 70px;
    height: 70px;
    margin: 0 0.75rem 0 0;
  }

  body.home-refresh #main .pyramid-item .top-number {
    margin-right: 0.7rem;
  }

  body.home-refresh #main .space-farandula {
    padding: 1rem;
  }

  body.home-refresh #main .noticia-card .noticia-imagen {
    height: 190px;
  }

  body.home-refresh #main .maps {
    width: calc(100% - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-refresh *,
  body.home-refresh *::before,
  body.home-refresh *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.home-refresh.home-motion-ready #main .home-reveal {
    opacity: 1;
    transform: none;
  }
}
