:root {
      /* Colores principales - Paleta oscura y elegante */
      --primary-dark: #0f1419;
      --secondary-dark: #1a1f2e;
      --tertiary-dark: #2a2f3e;
      --accent-gold: #e6c068;
      --accent-light: #f4d073;
      --accent-dark: #b8860b;
      
      /* Textos */
      --text-light: #f5f5f5;
      --text-secondary: #b8b8b8;
      --text-muted: #888888;
      --text-dark: #2c2c2c;
      
      /* Fondos */
      --background-primary: #0f1419;
      --background-secondary: #1a1f2e;
      --background-card: #242938;
      
      /* Bordes y separadores */
      --border-dark: #333844;
      --border-light: #444954;
      
      /* Sombras elegantes */
      --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.4);
      --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.3);
      --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.5);
      --shadow-glow: 0 0 20px rgba(230, 192, 104, 0.2);
      
      /* TipografÃ­as */
      --font-serif: 'Playfair Display', Georgia, serif;
      --font-sans: 'Source Sans Pro', Arial, sans-serif;
      
      /* Transiciones */
      --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --transition-quick: all 0.3s ease;
      
      /* Gradientes comunes */
      --golden-gradient: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        rgba(230, 192, 104, 0.2) 40%,
        var(--accent-gold) 50%,
        rgba(230, 192, 104, 0.2) 60%,
        transparent 70%,
        transparent 100%
      );
      --card-shimmer: linear-gradient(90deg, transparent, rgba(230,192,104,0.05), transparent);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--background-primary);
      color: var(--text-light);
      line-height: 1.7;
      font-weight: 400;
      overflow-x: hidden;
    }

    /* === HEADER === */
    header {
      background: var(--background-secondary);
      box-shadow: var(--shadow-dark);
      padding: 1.2rem 0;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: var(--transition-smooth);
      border-bottom: 1px solid var(--border-dark);
    }

    header.scrolled {
      padding: 0.8rem 0;
      box-shadow: var(--shadow-medium);
      background: rgba(26, 31, 46, 0.15); /* MÃ¡s transparente */
      backdrop-filter: blur(20px); /* MÃ¡s blur */
      border-bottom: 1px solid rgba(230, 192, 104, 0.2); /* Borde dorado sutil */
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 1s ease-in-out;
    }

    /* Centrar el logo cuando se hace scroll - CON DELAY */
    header.scrolled .header-container {
      justify-content: center;
      transition: all 3s ease-in-out 3s; /* Delay de 0.3s */
    }

    /* Ocultar la balanza y el navbar al hacer scroll */
    header.scrolled .justice-scales {
        opacity: 0;
        transform: scale(0.8);
        visibility: hidden;
        width: 0;
        height: 0;
        margin: 0;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }

    header.scrolled nav {
        opacity: 0;
        transform: scale(0.8);
        visibility: hidden;
        width: 0;
        height: 0;
        margin: 0;
        pointer-events: none;
        transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .logo {
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s; /* Movimiento mÃ¡s sutil y suave */
    }

    .logo h1 {
      font-family: var(--font-serif);
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--accent-gold);
      margin-bottom: 0.2rem;
      letter-spacing: -0.5px;
      text-shadow: 0 0 10px rgba(230, 192, 104, 0.3);
    }

    .logo p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      font-weight: 400;
    }

    /* === BALANZA DE JUSTICIA ANIMADA === */
    .justice-scales {
      width: 100px;
      height: 100px;
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); /* Ya estaba bien */
      margin: 0 3rem;
    }

    .justice-scales:hover {
      transform: scale(1.2);
      filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    }

    /* Animaciones para las partes de la balanza */
    .scale-left {
      animation: balance-weight-left 4s ease-in-out infinite;
      transform-origin: 50% 20%;
    }

    .scale-right {
      animation: balance-weight-right 4s ease-in-out infinite;
      transform-origin: 50% 20%;
    }

    .balance-beam {
      animation: beam-tilt 4s ease-in-out infinite;
      transform-origin: center;
    }

    @keyframes balance-weight-left {
      0%, 100% { transform: translateY(0px) rotate(-1deg); }
      50% { transform: translateY(-1.5px) rotate(0.5deg); }
    }

    @keyframes balance-weight-right {
      0%, 100% { transform: translateY(0px) rotate(1deg); }
      50% { transform: translateY(3px) rotate(-1deg); }
    }

    @keyframes beam-tilt {
      0%, 100% { transform: rotate(0deg); }
      50% { transform: rotate(-1.2deg); }
    }

    .nav-menu {
      display: flex;
      gap: 2.5rem;
      list-style: none;
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); /* Cambiar de 0.6s a 0.8s */
    }

    .nav-menu a {
      text-decoration: none;
      color: var(--text-light);
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      transition: var(--transition-smooth);
      padding: 0.5rem 0;
    }

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent-gold);
      transition: var(--transition-smooth);
      transform: translateX(-50%);
      box-shadow: var(--shadow-glow);
    }

    .nav-menu a:hover {
      color: var(--accent-light);
      text-shadow: 0 0 8px rgba(230, 192, 104, 0.4);
    }

    .nav-menu a:hover::after {
      width: 100%;
    }

    /* === HERO SECTION === */
    .hero {
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
      color: var(--text-light);
      text-align: center;
      padding: 8rem 2rem 6rem;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--golden-gradient);
      background-size: 200% 100%;
      animation: golden-shimmer 4s ease-in-out infinite;
      box-shadow: var(--shadow-glow);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
      animation: fadeInUp 1.2s ease-out;
    }

    .hero h1 {
      font-family: var(--font-serif);
      font-size: 3.2rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      letter-spacing: -1px;
      line-height: 1.2;
      color: var(--text-light);
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero p {
      font-size: 1.3rem;
      font-weight: 300;
      margin-bottom: 3rem;
      opacity: 0.9;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      color: var(--text-secondary);
    }

    .hero-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* === BOTONES === */
    .btn {
      display: inline-block;
      padding: 1rem 2.5rem;
      text-decoration: none;
      font-weight: 500;
      border-radius: 6px;
      font-size: 1rem;
      transition: var(--transition-smooth);
      cursor: pointer;
      border: 2px solid transparent;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: var(--accent-gold);
      color: var(--text-dark);
      border-color: var(--accent-gold);
      font-weight: 600;
      box-shadow: var(--shadow-glow);
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.6s;
    }

    .btn-primary:hover::before {
      left: 100%;
    }

    .btn-primary:hover {
      background: var(--accent-light);
      color: var(--text-dark);
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(230, 192, 104, 0.4);
    }

    .btn-secondary {
      background: transparent;
      color: var(--text-light);
      border-color: var(--border-light);
    }

    .btn-secondary:hover {
      background: var(--background-card);
      border-color: var(--accent-gold);
      color: var(--accent-light);
      transform: translateY(-3px);
      box-shadow: var(--shadow-glow);
    }

    /* === SECCIONES === */
    .section {
      padding: 6rem 2rem;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
      animation: fadeInUp 0.8s ease-out;
    }

    .section-header h2 {
      font-family: var(--font-serif);
      font-size: 2.8rem;
      font-weight: 600;
      color: var(--accent-gold);
      margin-bottom: 1rem;
      letter-spacing: -0.5px;
      text-shadow: 0 0 15px rgba(230, 192, 104, 0.3);
    }

    .section-header p {
      font-size: 1.2rem;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
      font-weight: 300;
    }

    /* === SECCIÓN ABOUT === */
    .about {
      background: var(--background-secondary);
      position: relative;
    }

    .about::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: var(--golden-gradient);
      background-size: 200% 100%;
      animation: golden-shimmer 5s ease-in-out infinite;
      opacity: 0.5;
    }

    .about-content {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .about-text {
      font-size: 1.1rem;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 2rem;
    }

    .highlight-box {
      background: linear-gradient(135deg, var(--background-card) 0%, var(--tertiary-dark) 100%);
      padding: 2.5rem;
      border-radius: 12px;
      border-left: 4px solid var(--accent-gold);
      margin: 3rem 0;
      position: relative;
      overflow: hidden;
      transition: var(--transition-smooth);
      box-shadow: var(--shadow-dark);
    }

    .highlight-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: var(--card-shimmer);
      transition: left 0.8s;
    }

    .highlight-box:hover::before {
      left: 100%;
    }

    .highlight-box:hover {
      box-shadow: var(--shadow-medium);
      transform: translateY(-2px);
    }

    .highlight-box h3 {
      font-family: var(--font-serif);
      color: var(--accent-light);
      font-size: 1.4rem;
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .highlight-box p {
      color: var(--text-secondary);
    }

    /* === SERVICIOS === */
    .services {
      background: var(--background-primary);
      position: relative;
    }

    .services::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: var(--golden-gradient);
      background-size: 200% 100%;
      animation: golden-shimmer 4.5s ease-in-out infinite;
      opacity: 0.5;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2.5rem;
      margin-top: 3rem;
    }

    .service-card {
      background: var(--background-card);
      padding: 3rem 2.5rem;
      border-radius: 15px;
      box-shadow: var(--shadow-dark);
      transition: var(--transition-smooth);
      border: 1px solid var(--border-dark);
      position: relative;
      overflow: hidden;
      animation: fadeInUp 0.6s ease-out;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--accent-gold), var(--accent-light));
      box-shadow: var(--shadow-glow);
    }

    .service-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: var(--card-shimmer);
      transition: left 0.8s;
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-strong);
      border-color: var(--border-light);
    }

    .service-card:hover::after {
      left: 100%;
    }

    .service-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      font-size: 1.8rem;
      transition: var(--transition-smooth);
      box-shadow: var(--shadow-glow);
      position: relative;
      overflow: hidden;
    }

    /* Efecto de brillo que se mueve */
    .service-icon::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
      transform: rotate(45deg);
      transition: transform 0.6s ease;
      opacity: 0;
    }

    .service-card:hover .service-icon {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 8px 35px rgba(230, 192, 104, 0.6);
      background: linear-gradient(135deg, var(--accent-light), var(--accent-gold));
    }

    .service-card:hover .service-icon::before {
      opacity: 1;
      transform: rotate(45deg) translate(100%, 100%);
    }

    /* Animación de pulso sutil */
    .service-icon {
      animation: subtle-pulse 3s ease-in-out infinite;
    }

    @keyframes subtle-pulse {
      0%, 100% {
        box-shadow: var(--shadow-glow);
      }
      50% {
        box-shadow: 0 0 25px rgba(230, 192, 104, 0.4);
      }
    }

    .service-card h3 {
      font-family: var(--font-serif);
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--accent-light);
      margin-bottom: 1rem;
      line-height: 1.3;
    }

    .service-card p {
      color: var(--text-secondary);
      line-height: 1.7;
      font-size: 1rem;
    } 

    /* === CONTACTO === */
    .contact {
      background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--tertiary-dark) 100%);
      color: var(--text-light);
      position: relative;
      overflow: hidden;
    }

    .contact::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .contact::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--golden-gradient);
      background-size: 200% 100%;
      animation: golden-shimmer 3.5s ease-in-out infinite;
      box-shadow: var(--shadow-glow);
    }

    .contact-content {
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .contact h2 {
      font-family: var(--font-serif);
      font-size: 2.8rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      letter-spacing: -0.5px;
      color: var(--accent-gold);
      text-shadow: 0 0 20px rgba(230, 192, 104, 0.4);
    }

    .contact-subtitle {
      font-size: 1.3rem;
      margin-bottom: 3rem;
      opacity: 0.9;
      font-weight: 300;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      color: var(--text-secondary);
    }

    .contact-buttons {
      display: flex;
      gap: 2rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 4rem;
    }

    .contact-info {
      display: flex;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
      margin-top: 3rem;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-size: 1rem;
      opacity: 0.9;
      transition: var(--transition-smooth);
      color: var(--text-secondary);
    }

    .contact-item:hover {
      opacity: 1;
      transform: translateY(-2px);
      color: var(--text-light);
    }

    .contact-icon {
      font-size: 1.3rem;
      width: 40px;
      height: 40px;
      background: rgba(230, 192, 104, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition-smooth);
      border: 1px solid var(--border-dark);
    }

    .contact-item:hover .contact-icon {
      background: var(--accent-gold);
      color: var(--text-dark);
      transform: rotate(10deg) scale(1.1);
      box-shadow: var(--shadow-glow);
    }

    /* === FOOTER === */
    footer {
        background: var(--primary-dark);
        color: var(--text-muted);
        padding: 2.5rem 2rem;
        border-top: 1px solid var(--border-dark);
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .powered-by {
        display: flex;
        align-items: center;
        gap: 0.24rem;
        opacity: 0.8;
        transition: var(--transition-smooth);
        cursor: pointer;
    }

    .powered-by:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

    .powered-by span {
        font-size: 0.9rem;
        color: var(--text-muted);
        font-weight: 400;
        line-height: 45px; /* Misma altura que el logo para alineación perfecta */
    }

    .footer-logo {
        height: 45px;
        width: auto;
        opacity: 0.9;
        transition: var(--transition-smooth);
        filter: brightness(0.8);
        vertical-align: middle; /* Asegurar alineación vertical */
    }

    .footer-logo:hover {
        opacity: 1;
        filter: brightness(1);
        transform: scale(1.05);
    }

    .footer-text {
        text-align: center;
        flex: 1;
    }

    .footer-text p {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Responsive para footer */
    @media (max-width: 768px) {
        .footer-content {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }

        .footer-text {
            order: 1;
        }

        .powered-by {
            order: 2;
            justify-content: center;
        }
    }

    /* === WHATSAPP FLOTANTE === */
    .whatsapp-float {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #25d366, #20b358);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
      z-index: 1000;
      transition: var(--transition-smooth);
      animation: pulse-float 3s infinite ease-in-out;
    }

    .whatsapp-float:hover {
      transform: scale(1.15);
      box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
    }

    .whatsapp-float svg {
      width: 42px;
      height: 42px;
      fill: white;
    }

    /* === ANIMACIONES === */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes pulse-float {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
      }
      50% {
        transform: scale(1.05);
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
      }
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Animaciones de scroll */
    .animate-on-scroll {
      opacity: 0;
      transition: var(--transition-smooth);
    }

    .animate-on-scroll.animated {
      opacity: 1;
    }

    .slide-in-left {
      transform: translateX(-50px);
    }

    .slide-in-left.animated {
      transform: translateX(0);
    }

    .slide-in-right {
      transform: translateX(50px);
    }

    .slide-in-right.animated {
      transform: translateX(0);
    }

    .fade-in-up {
      transform: translateY(40px);
    }

    .fade-in-up.animated {
      transform: translateY(0);
    }    /* === RESPONSIVE === */
    @media (max-width: 768px) {
      .header-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
      }

      .justice-scales {
        width: 75px;
        height: 75px;
        margin: 0.5rem 0;
      }

      .nav-menu {
        gap: 2rem;
      }

      .hero {
        padding: 5rem 1.5rem 4rem;
      }

      .hero h1 {
        font-size: 2.5rem;
      }

      .hero p {
        font-size: 1.1rem;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
      }

      .section {
        padding: 4rem 1.5rem;
      }

      .section-header h2 {
        font-size: 2.2rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .service-card {
        padding: 2.5rem 2rem;
      }

      .contact h2 {
        font-size: 2.2rem;
      }

      .contact-subtitle {
        font-size: 1.1rem;
      }

      .contact-buttons {
        flex-direction: column;
        align-items: center;
      }

      .contact-info {
        flex-direction: column;
        gap: 1.5rem;
      }

      .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
      }

      .whatsapp-float svg {
        width: 38px;
        height: 38px;
      }
    }

    @media (max-width: 480px) {
      .logo h1 {
        font-size: 1.5rem;
      }

      .logo p {
        font-size: 0.8rem;
      }

      .justice-scales {
        width: 65px;
        height: 65px;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .section-header h2 {
        font-size: 1.8rem;
      }

      .section-header p {
        font-size: 1rem;
      }

      .service-card {
        padding: 2rem 1.5rem;
      }

      .service-card h3 {
        font-size: 1.2rem;
      }

      .nav-menu {
        gap: 1.5rem;
      }

      .nav-menu a {
        font-size: 0.9rem;
      }
    }

    /* === EFECTOS ADICIONALES === */
    .section:nth-child(even) {
      background: var(--background-secondary);
    }

    .section:nth-child(odd) {
      background: var(--background-primary);
    }

    /* Efecto parallax sutil para el hero */
    .hero {
      background-attachment: fixed;
    }

    @media (max-width: 768px) {
      .hero {
        background-attachment: scroll;
      }
    }

    /* Smooth scroll behavior mejorado */
    html {
      scroll-padding-top: 80px;
    }

    /* Loading animation para elementos */
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }

    /* Efectos de brillo adicionales */
    .accent-glow {
      box-shadow: var(--shadow-glow);
    }

    /* Scrollbar personalizada */
    ::-webkit-scrollbar {
      width: 8px;
    }

    ::-webkit-scrollbar-track {
      background: var(--background-primary);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--accent-gold);
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--accent-light);
    }

    /* === PARTÍCULAS ANIMADAS === */
    .particle {
      position: absolute;
      border-radius: 50%;
      background: rgba(230, 192, 104, 0.1);
      pointer-events: none;
      animation: float-particle linear infinite;
    }

    .particle.glow {
      background: rgba(230, 192, 104, 0.15);
      box-shadow: 0 0 10px rgba(230, 192, 104, 0.3);
    }

    .particle.small {
      width: 4px;
      height: 4px;
    }

    .particle.medium {
      width: 8px;
      height: 8px;
    }

    .particle.large {
      width: 12px;
      height: 12px;
    }

    @keyframes float-particle {
      0% {
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
      }
      10% {
        opacity: 1;
        transform: translateY(90vh) translateX(0px) scale(1);
      }
      90% {
        opacity: 1;
        transform: translateY(-10vh) translateX(var(--drift-x, 0px)) scale(1);
      }
      100% {
        transform: translateY(-20vh) translateX(var(--drift-x, 0px)) scale(0);
        opacity: 0;
      }
    }

    @keyframes golden-shimmer {
      0% {
        background-position: -200% center;
      }
      100% {
        background-position: 200% center;
      }
    }

    /* Partículas específicas para diferentes secciones - Optimizado */
    .hero .particle { background: rgba(230, 192, 104, 0.08); }
    .contact .particle { background: rgba(230, 192, 104, 0.06); }
    .about .particle { background: rgba(230, 192, 104, 0.04); }

    /* === LÍNEAS DORADAS ANIMADAS (Simplificado) === */
    .golden-line {
      background: var(--golden-gradient);
      background-size: 200% 100%;
      animation: golden-shimmer 4s ease-in-out infinite;
    }