/* ==========================================
   CSS OPTIMIZADO PARA BOOTSTRAP 5
   Solo incluye estilos personalizados y necesarios
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables */
:root {
  --primary: #4b0082;
  --secondary: #b399d4;
  --light: #fff;
  --dark: #1a1a1a;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

/* .display-3 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.display-4 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .display-3 {
    font-size: 3.5rem;
  }
  .display-4 {
    font-size: 3rem;
  }
} */

ul {
  list-style-type: square;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #1a1a1a;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: url(#noise-filter);
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
   Loading Screen
   ========================================== */
#loader {
  position: fixed;
  inset: 0;
  background-color: #4b0082;
  z-index: 49;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
  opacity: 1;
  visibility: visible;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  width: 400px;
  height: 400px;
}

/* ==========================================
   Servicios
   ========================================== */
.service-item {
  background-color: var(--primary);
  color: var(--light);
  border-radius: 30px;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.service-item:hover {
  background-color: #5c00a3;
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(179, 153, 212, 0.4);
  transform: translateY(-5px);
}

.img-titulo {
  height: 10rem;
  width: auto;
}

@media (max-width: 920px) {
  .img-titulo {
    height: 8rem;
    width: auto;
  }

  .cta-card .img-titulo {
    max-width: 100%;
    height: auto;
  }
}

/* ==========================================
   Portafolios
   ========================================== */
.case-item {
  position: relative;
  overflow: hidden;
  border: 2px solid #4b0082;
  width: 500px;
  height: 360px;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 25px;
  text-align: center;
  transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.case-item:hover .service-bg {
  opacity: 0.55;
}

.case-item:hover {
  background: #4c0082;
  border-color: var(--secondary);
  transform: translateY(-5px);
  color: #fff;
  box-shadow: 0 0 15px rgba(179, 153, 212, 0.4);
}

.card-rest,
.card-hover {
  position: absolute;
  inset: 0;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.card-rest {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 225px;
  opacity: 1;
  transform: translateY(0);
}

.card-hover {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 25px 25px;
  opacity: 0;
  transform: translateY(12px);
}

.case-item:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.card-hover-top {
  position: relative;
  display: flex;
  justify-content: end;
}

.portfolio-item {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

.portfolio-card {
  background: linear-gradient(135deg, #4b0082, #6700b1);
  border: 2px solid #4b0082;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(75, 0, 130, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(75, 0, 130, 0.5);
  border-color: #b399d4;
}

.portfolio-card img {
  transition: all 0.5s ease;
  border-radius: 12px 12px 0 0;
}

.portfolio-card .card-body {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  height: auto;
  width: 100%;
}

/* ==========================================
   Clientes
   ========================================== */

.client-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.client-item:hover {
  transform: scale(1.05);
}

/* ==========================================
   Contacto
   ========================================== */

.contact-form {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form label {
  position: relative;
  display: block;
  width: 100%;
}

.form label .input {
  background-color: #333;
  color: #fff;
  width: 100%;
  padding: 20px 05px 05px 10px;
  outline: 0;
  border: 1px solid rgba(105, 105, 105, 0.397);
  border-radius: 10px;
}

.form label .input + span {
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 10px;
  top: 0px;
  font-size: 0.9em;
  cursor: text;
  transition: 0.3s ease;
}

.form label .input:placeholder-shown + span {
  top: 12.5px;
  font-size: 0.9em;
}

.form label .input:focus + span,
.form label .input:not(:placeholder-shown) + span {
  color: var(--secondary);
  top: 0px;
  font-size: 0.7em;
  font-weight: 600;
}

.input {
  font-size: medium;
}

/* ==========================================
   Headers y Banners
   ========================================== */

header {
  background: radial-gradient(ellipse at 50% 0%, #4b0082 0%, #1a1a1a 70%);
  background-blend-mode: overlay;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: url(#noise-texture);
  pointer-events: none;
}

/* Add this SVG to your HTML */

header .img-header {
  width: 100%;
  height: auto;
  padding: 20px;
}

.page-header,
.background-section {
  /* background:
    linear-gradient(to bottom, #8005d8 0%, #4b0082 80%, transparent 100%),
    url("../img/background.webp") center/cover no-repeat; */

  background: radial-gradient(ellipse at 0% 0%, #b399d4 0%, #4b0082 40%);
  background-blend-mode: overlay;
  min-height: 450px;
}

.background-section-light {
  /* background: linear-gradient(to bottom, #f5ede0, #ead9ff); */
  background: radial-gradient(
    ellipse at 30% 30%,
    #ffffff 0%,
    #b399d4 45%,
    #4b0082 100%
  );
}

/* ==========================================
   Navbar
   ========================================== */
.hamburger-menu {
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 20;
}

.hamburger-menu .navbar {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 0 28px;
  height: 60px;
  border-bottom: 0.5px solid var(--colo-background-primary);
  position: relative;
  z-index: 20;
}

.hamburger-menu .logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
}

.hamburger-menu .hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  position: relative;
  z-index: 25;
}

.hamburger-menu .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.4s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.3s,
    width 0.3s;
}

.hamburger-menu .hamburger.open .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger-menu .hamburger.open .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger-menu .hamburger.open .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hamburger-menu .curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 14;
  display: none;
  will-change: transform;
}

.hamburger-menu .curtain-inner {
  padding: 0 80px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.hamburger-menu .curtain-body {
  position: absolute;
  top: 120px;
  left: 40px;
  right: 80px;
  bottom: 80px;
  display: flex;
  align-items: center;
}

.hamburger-menu .curtain-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hamburger-menu .curtain-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
  margin-left: 60px;
}

.hamburger-menu .logo-placeholder img {
  width: 25rem;
  height: auto;
}

@media (max-width: 1200px) {
  .hamburger-menu .logo-placeholder img {
    width: 20rem;
  }
}

.hamburger-menu .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hamburger-menu .nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.hamburger-menu .nav-num {
  font-size: 13px;
  color: #555;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 8px;
}

.hamburger-menu .nav-link {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -2.5px;
  display: block;
  transition: color 0.15s;
}

.hamburger-menu .nav-link a {
  color: inherit;
  text-decoration: none;
}

.hamburger-menu .nav-item:hover .nav-link {
  color: rgba(255, 255, 255, 0.35);
}

.hamburger-menu .nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  margin-top: auto;
}

.hamburger-menu .social-links {
  display: flex;
  gap: 24px;
}

.hamburger-menu .social-link {
  font-size: 12px;
  color: #e9e9e9;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.hamburger-menu .social-link:hover {
  color: #fff;
}

.hamburger-menu .contact-hint {
  font-size: 12px;
  color: #d4d4d4;
  font-family: var(--font-mono);
}

.hamburger-menu .curtain-left {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-bottom: 40px;
}

.hamburger-menu .decorative-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: pre-line;
  user-select: none;
}

.controls-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.controls-panel .card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
}

.controls-panel .card p {
  font-size: 12px;
}

.controls-panel .card p:first-child {
  color: #888;
  margin: 0 0 6px;
}

.controls-panel .card p:last-child {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  margin: 0;
}

.controls-panel select {
  width: 100%;
  font-size: 12px;
}

.controls-panel input[type="range"] {
  width: 100%;
}

.color-opts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.color-opts button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger-menu .curtain-inner {
    padding: 100px 24px 24px;
  }

  .hamburger-menu .nav-link {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .hamburger-menu .curtain-body {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    flex: 1;
  }

  .hamburger-menu .curtain-right {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .hamburger-menu .logo-placeholder {
    font-size: 24px;
    letter-spacing: 4px;
  }
}

/* Botón hamburguesa */

/* Color del overlay del menú (curtain) */
.hamburger-menu .curtain {
  background: #111;
}

/* ==========================================
   ESTILOS ADICIONALES PARA LIBRERÍAS
   ========================================== */

/* Font Awesome */
.fa {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fab {
  font-family: "Font Awesome 5 Brands";
}

.fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Owl Carousel */
.owl-carousel .owl-item img {
  width: 100%;
  height: auto;
}

/* ==========================================
   ESTILOS ESPECÍFICOS DEL PROYECTO
   ========================================== */

#page-content {
  transition: filter 0.35s ease;
}

#page-content.menu-blur {
  filter: blur(6px);
}

.button-primary {
  background-color: var(--primary);
  color: var(--light);
  border-radius: 9999px;
  border: 1px solid rgba(179, 153, 212, 0.3);
  transition: all 0.3s ease;
}

.button-primary:hover {
  background-color: #5c00a3;
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(179, 153, 212, 0.4);
}

/* ==========================================
   MEDIA QUERIES ADICIONALES
   ========================================== */

@media (max-width: 767.98px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  header {
    padding-top: 20vh;
  }
}

@media (max-width: 575.98px) {
  .service-item {
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1140px;
  }
}

/* ==========================================
   Typewriter Effect
   ========================================== */

#typewriter-text {
  font-family: "Open Sans", sans-serif;
  font-size: 1.25rem;
  color: white;
  border-right: 2px solid white;
  white-space: normal;
  overflow: hidden;
  animation: blink-caret 1s step-end infinite;
  word-wrap: break-word;
}

.cursor {
  border-right: 2px solid white;
  animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

/* ==========================================
  Banner/Ventana
   ========================================== */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.cta-card {
  position: relative;
  z-index: 0;
  background: transparent;
  border-radius: 20px;

  padding: 0px 30px;
  box-shadow: 0 10px 40px rgba(73, 39, 82, 0.25);
}

/* Anillo degradado animado (borde) */
/* .cta-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--secondary) 0deg,
    var(--primary) 120deg,
    #1f1f1f 240deg,
    var(--secondary) 360deg
  );
  animation: rotar 3s linear infinite;
  z-index: -2;
}

@keyframes rotar {
  to {
    --angle: 360deg;
  }
} */

/* Fondo fijo de la card (cubre el centro, dejando solo 3px de borde visible) */
.cta-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 17px;
  background: url("../img/background-white.webp");
  z-index: -1;
}
/* ==========================================
  Footer Start
   ========================================== */
#footer-page {
  background: radial-gradient(
    ellipse at 50% 120%,
    #b399d4 0%,
    #4b0082 30%,
    #1a1a1a 80%
  );
}

.img-footer-logo {
  position: relative;
  overflow: hidden;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .img-footer-logo img {
    width: 20rem;
  }
}

.nav-link {
  font-size: 13px;
  color: #b399d4;
  cursor: pointer;
  transition: color 0.15s;
  text-decoration: none;
}

.nav-link:hover {
  color: #d4baee;
}

.soc-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 0.5px solid rgba(179, 153, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  color: #b399d4;
  font-size: 16px;
}

.soc-btn:hover {
  border-color: #b399d4;
  background: rgba(75, 0, 130, 0.3);
}

.cta-btn {
  padding: 9px 22px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: #4b0082;
  color: #b399d4;
  transition: opacity 0.15s;
}

.cta-btn:hover {
  opacity: 0.85;
}

h2.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Botón musical semanal */
.music-float {
  position: fixed;
  top: 10px;
  right: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.wa-float {
  position: fixed;
  bottom: 35px;
  right: 24px;
  z-index: 30;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  text-decoration: none;
  pointer-events: auto;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.wa-float i {
  font-size: 30px;
  color: #fff;
}

.music-float > * {
  pointer-events: auto;
}

.music-btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #111;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition:
    transform 0.25s,
    opacity 0.25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.music-btn:hover {
  transform: scale(1.08);
}

.music-btn i {
  font-size: 22px;
  color: #fff;
}

.music-btn.hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

/* Anillo animado del botón */
.music-btn-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    var(--secondary) 0deg,
    #534ab7 120deg,
    #ffffff 240deg,
    var(--secondary) 360deg
  );
  animation: musicSpin 3s linear infinite;
  pointer-events: none;
}

@keyframes musicSpin {
  to {
    transform: rotate(360deg);
  }
}

.music-btn-mask {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #111;
  pointer-events: none;
}

.music-btn-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

/* Fila que contiene pill + botón */
.music-row {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
}

/* Pill de texto */
.music-pill {
  background: #111;
  border-radius: 20px;
  padding: 5px 12px 5px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.3s ease;
  transform: translateX(6px);
}

.music-pill:hover {
  max-width: 220px;
  opacity: 1;
  transform: translateX(0);
}

.music-pill.show {
  max-width: 220px;
  opacity: 1;
  transform: translateX(0);
}

.music-pill-icon {
  font-size: 12px;
  color: #1d9e75;
  flex-shrink: 0;
}

.music-loading {
  font-size: 11px;
  color: #888;
  font-family: sans-serif;
  white-space: nowrap;
}

.music-loading span {
  display: inline-block;
  animation: musicDotBlink 1.2s infinite;
}

.music-loading span:nth-child(2) {
  animation-delay: 0.2s;
}
.music-loading span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes musicDotBlink {
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

.music-marquee-wrap {
  overflow: hidden;
  max-width: 140px;
}

.music-marquee-text {
  font-size: 11px;
  color: #fff;
  font-family: sans-serif;
  white-space: nowrap;
  display: inline-block;
}

.music-marquee-text.run {
  animation: musicMarquee 5s linear infinite;
}

@keyframes musicMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.music-card {
  width: 320px;
  background: #111;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s;
  visibility: hidden;
  margin-top: 8px;
}

.music-card.open {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.music-card .head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 0;
}

.music-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.music-card .info {
  flex: 1;
  min-width: 0;
}

.music-card .info .name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-card .info .role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.music-card .close-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.music-card .close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.music-card .msg {
  font-size: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin: 10px 16px 0;
  line-height: 1.4;
}

.music-card .spotify-wrap {
  padding: 10px 16px;
}

.music-card .spotify-wrap iframe {
  border-radius: 8px;
  width: 100%;
  height: 80px;
}

.music-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

.music-card .foot .week {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
}

.music-card .foot .countdown {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 480px) {
  .music-float {
    top: 4px;
    right: 16px;
  }

  .music-card {
    width: 290px;
  }

  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .wa-float i {
    font-size: 26px;
  }
}

/* About sections start */
.circle-section {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 100px auto;
  padding: 80px 40px;
  position: relative;
  z-index: 1;
}

.circle-container {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-svg {
  width: 400px;
  height: 400px;
  will-change: transform;
}

.circle-content {
  flex: 1;
}

.circle-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, #b399d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.circle-desc {
  font-size: 1.15rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.circle-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(179, 153, 212, 0.3);
  color: #b399d4;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.circle-badge:hover {
  background: rgba(75, 0, 130, 0.3);
  border-color: #b399d4;
}

@media (max-width: 768px) {
  .circle-section {
    flex-direction: column;
    gap: 40px;
    padding: 60px 24px;
    text-align: center;
  }

  .circle-container {
    flex: 0 0 220px;
  }

  .circle-svg {
    width: 220px;
    height: 220px;
  }

  .circle-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .carousel-texto-section {
    padding: 80px 0;
  }

  .carousel-texto-section.-tilt-left {
    transform: rotate(-1.5deg);
  }

  .carousel-texto-section.-tilt-right {
    transform: rotate(1.5deg);
  }

  .carousel-overlay-left,
  .carousel-overlay-right {
    width: 60px;
  }
}

/* Blog Start */
.img-blog img {
  width: 30em;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .img-blog img {
    width: 25em;
  }
}

.blog-hero {
  padding: 56px 0 0;
}

.blog-breadcrumb {
  font-size: 13px;
  color: #e6e6e6;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumb a:hover {
  color: var(--dark, #acacac);
}

.blog-category-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary, #534ab7);
  background: rgba(83, 74, 183, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.blog-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--light);
  margin: 0 0 22px;
  max-width: 760px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #f8f8f8;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.blog-meta-item i {
  font-size: 16px;
}

/* ── IMAGEN DE PORTADA ────────────────────────────────────────── */

.blog-cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.blog-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── MODO IMAGEN (reemplaza el degradado) ─────────────────────── */

/* .blog-hero.blog-hero--img-bg {
  background: none;
} */

.blog-hero--img-bg .blog-cover {
  z-index: 0;
  overflow: hidden;
}

.blog-hero--img-bg .blog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.blog-hero--img-bg .container {
  position: relative;
  z-index: 2;
}

.blog-hero--img-bg .blog-meta {
  color: #ffffff;
}

/* ── CUERPO DEL ARTÍCULO ──────────────────────────────────────── */

.blog-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.blog-lead {
  font-size: 19px;
  line-height: 1.65;
  color: #ffffff;
  margin: 0 0 32px;
  font-weight: 400;
}

.blog-body h2 {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin: 44px 0 18px;
  line-height: 1.3;
}

.blog-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  margin: 0 0 20px;
}

.blog-list {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  padding-left: 22px;
  margin: 0 0 24px;
}

.blog-list li {
  margin-bottom: 8px;
}

/* ── IMAGEN INTERCALADA ───────────────────────────────────────── */

.blog-figure {
  margin: 32px 0;
}

.blog-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.blog-figure figcaption {
  font-size: 13px;
  color: #d6d6d6;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ── CITA DESTACADA ───────────────────────────────────────────── */

.blog-quote {
  border-left: 3px solid var(--primary, #534ab7);
  padding-left: 22px;
  margin: 36px 0;
  font-size: 20px;
  font-style: italic;
  color: var(--dark, #1a1a1a);
  line-height: 1.6;
}

/* ── TAGS ─────────────────────────────────────────────────────── */

.blog-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.blog-tag {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f1efe8;
  color: #f8f8f8;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.blog-tag:hover {
  background: var(--primary, #534ab7);
  color: #fff;
}

/* ── AUTOR + COMPARTIR ────────────────────────────────────────── */

.blog-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin: 40px 0;
}

.blog-author-name {
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f5;
  margin: 0;
}

.blog-author-role {
  font-size: 13px;
  color: #e9e9e8;
  margin: 4px 0 0;
}

.blog-share {
  display: flex;
  gap: 10px;
}

.blog-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f5e5a;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.blog-share-btn:hover {
  border-color: var(--primary, #534ab7);
  color: var(--primary, #534ab7);
  transform: translateY(-2px);
}

.blog-share-btn i {
  font-size: 16px;
}

/* ── BLOGS RELACIONADOS ───────────────────────────────────────── */

.blog-related {
  background: #f9f8f5;
  padding: 56px 0 64px;
  margin-top: 24px;
}

.blog-related-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 28px;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}

.blog-related-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.blog-related-img {
  height: 160px;
  overflow: hidden;
}

.blog-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-related-card:hover .blog-related-img img {
  transform: scale(1.06);
}

.blog-related-content {
  padding: 16px 18px;
}

.blog-related-cat {
  font-size: 12px;
  color: #888780;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.blog-related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark, #1a1a1a);
  margin: 0;
  line-height: 1.4;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */

@media (max-width: 576px) {
  .blog-hero {
    padding: 36px 0 0;
  }

  .blog-hero--img-bg {
    padding: 100px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .blog-body {
    padding: 32px 16px 0;
  }

  .blog-meta {
    gap: 14px;
    font-size: 13px;
  }

  .blog-quote {
    font-size: 18px;
  }

  .blog-author-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
