﻿    /* ==========================================================================
       VARIABLES Y PALETA DE COLORES (Azul marino, Blanco, Amarillo, Naranja)
       ========================================================================== */
    :root {
      /* Paleta institucional */
      --navy-950: #060d1a;
      --navy-900: #0b192c;
      --navy-800: #102a4d;
      --navy-700: #183e70;
      --navy-600: #255799;
      --blue-electric: #0066ff;
      --cyan-brand: #00c0b5;
      --cyan-light: #38bdf8;

      --yellow-400: #facc15;
      --yellow-500: #eab308;
      --yellow-600: #ca8a04;
      --yellow-glow: rgba(250, 204, 21, 0.35);

      --orange-400: #fb923c;
      --orange-500: #f97316;
      --orange-600: #ea580c;
      --orange-glow: rgba(249, 115, 22, 0.35);

      --whatsapp-green: #25D366;
      --whatsapp-dark: #128C7E;

      /* Modo Claro (Default) */
      --bg-body: #f4f7fb;
      --bg-surface: #ffffff;
      --bg-surface-elevated: #ffffff;
      --bg-card: #ffffff;
      --bg-card-hover: #f8fafc;
      --border-color: #e2e8f0;
      --border-subtle: #edf2f7;

      --text-title: #0b192c;
      --text-body: #334155;
      --text-muted: #64748b;
      --text-white: #ffffff;

      --header-bg: rgba(255, 255, 255, 0.94);
      --header-border: rgba(226, 232, 240, 0.85);
      --footer-bg: #0b192c;
      --footer-text: #e2e8f0;

      --shadow-sm: 0 2px 4px rgba(11, 25, 44, 0.05);
      --shadow-md: 0 8px 24px rgba(11, 25, 44, 0.08);
      --shadow-lg: 0 16px 36px rgba(11, 25, 44, 0.12);
      --shadow-card-hover: 0 20px 40px -10px rgba(11, 25, 44, 0.16);

      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-full: 9999px;

      --transition-base: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Modo Oscuro */
    [data-theme="dark"] {
      --bg-body: #060d1a;
      --bg-surface: #0b192c;
      --bg-surface-elevated: #11233e;
      --bg-card: #0e203a;
      --bg-card-hover: #142a4d;
      --border-color: #1e3558;
      --border-subtle: #172a45;

      --text-title: #f8fafc;
      --text-body: #cbd5e1;
      --text-muted: #94a3b8;

      --header-bg: rgba(11, 25, 44, 0.94);
      --header-border: rgba(30, 53, 88, 0.85);
      --footer-bg: #040912;
      --footer-text: #cbd5e1;

      --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
      --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
      --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);
      --shadow-card-hover: 0 20px 40px -10px rgba(0, 102, 255, 0.25);
    }

    /* ==========================================================================
       RESET Y ESTILOS BASE
       ========================================================================== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-body);
      color: var(--text-body);
      line-height: 1.6;
      transition: background-color 0.3s ease, color 0.3s ease;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      color: var(--text-title);
      font-weight: 800;
      line-height: 1.2;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition-base);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
      outline: none;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* ==========================================================================
       BARRA SUPERIOR (TOP-BAR) CON RECONOCIMIENTO A ELVIS AYUQUE ESPINOZA
       ========================================================================== */
    .top-bar {
      background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
      color: #e2e8f0;
      font-size: 0.85rem;
      padding: 0.55rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .top-bar-badges-group {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .top-bar-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(250, 204, 21, 0.2);
      color: var(--yellow-400);
      font-weight: 700;
      padding: 0.2rem 0.65rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      border: 1px solid rgba(250, 204, 21, 0.4);
    }

    .top-bar-author-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(249, 115, 22, 0.2);
      color: #fed7aa;
      font-size: 0.76rem;
      font-weight: 600;
      padding: 0.2rem 0.65rem;
      border-radius: var(--radius-full);
      border: 1px solid rgba(249, 115, 22, 0.35);
    }

    .top-bar-author-pill strong {
      color: var(--yellow-400);
      font-weight: 800;
    }

    .top-bar-info {
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }

    .top-bar-wa-link {
      color: #86efac;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .top-bar-wa-link:hover {
      color: #ffffff;
      text-decoration: underline;
    }

    /* ==========================================================================
       HEADER & NAVEGACIÓN
       ========================================================================== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: var(--header-bg);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--header-border);
      transition: var(--transition-base);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 78px;
    }

    /* Logo Brand */
    .brand {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      text-decoration: none;
    }

    .brand-logo-img {
      height: 50px;
      width: auto;
      object-fit: contain;
      border-radius: var(--radius-sm);
      transition: transform 0.3s ease;
    }

    .brand:hover .brand-logo-img {
      transform: scale(1.04);
    }

    .brand-text {
      display: flex;
      flex-direction: column;
    }

    .brand-title {
      font-size: 1.35rem;
      font-weight: 900;
      color: var(--navy-900);
      letter-spacing: -0.02em;
      line-height: 1;
    }

    [data-theme="dark"] .brand-title {
      color: #ffffff;
    }

    .brand-subtitle {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--orange-500);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* Desktop Nav */
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 1.75rem;
      list-style: none;
    }

    .nav-link {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-body);
      padding: 0.4rem 0.2rem;
      position: relative;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background: linear-gradient(90deg, var(--orange-500), var(--yellow-400));
      border-radius: var(--radius-full);
      transition: width 0.25s ease;
    }

    .nav-link:hover {
      color: var(--navy-900);
    }

    [data-theme="dark"] .nav-link:hover {
      color: #ffffff;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    /* Header Actions (Theme Toggle, WhatsApp Link & Mobile Menu) */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .header-wa-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      background: var(--whatsapp-green);
      color: #ffffff;
      padding: 0.5rem 1rem;
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      font-weight: 700;
      box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
      transition: var(--transition-base);
    }

    .header-wa-btn:hover {
      background: #20ba5a;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
      color: #ffffff;
    }

    .theme-toggle-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: var(--radius-full);
      background-color: var(--bg-surface);
      border: 1px solid var(--border-color);
      color: var(--text-title);
      box-shadow: var(--shadow-sm);
      transition: var(--transition-base);
    }

    .theme-toggle-btn:hover {
      background-color: var(--bg-card-hover);
      border-color: var(--orange-500);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .theme-icon-sun {
      display: none;
      color: var(--yellow-400);
    }

    .theme-icon-moon {
      display: block;
      color: var(--navy-700);
    }

    [data-theme="dark"] .theme-icon-sun {
      display: block;
    }

    [data-theme="dark"] .theme-icon-moon {
      display: none;
    }

    .mobile-menu-btn {
      display: none;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: var(--radius-md);
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      color: var(--text-title);
      cursor: pointer;
      transition: var(--transition-base);
    }

    .mobile-menu-btn:hover {
      border-color: var(--orange-500);
      background: var(--bg-card-hover);
    }

    .mobile-menu-btn .burger-icon-close {
      display: none;
    }

    .mobile-menu-btn.is-active {
      border-color: var(--orange-500);
      background: rgba(249, 115, 22, 0.12);
    }

    .mobile-menu-btn.is-active .burger-icon-open {
      display: none;
    }

    .mobile-menu-btn.is-active .burger-icon-close {
      display: block;
      color: var(--orange-500);
    }

    /* ==========================================================================
       MENÚ MÓVIL OPTIMIZADO Y ADAPTABLE (DRAWER & BACKDROP)
       ========================================================================== */

    /* Fondo oscurecido con desenfoque para cerrar al tocar fuera */
    .mobile-drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(4, 9, 18, 0.72);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    }

    .mobile-drawer-backdrop.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    /* Menú Móvil a pantalla completa (100% de ancho) */
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      max-width: 100%;
      height: 100%;
      height: 100dvh;
      background: var(--bg-surface);
      z-index: 999;
      display: flex;
      flex-direction: column;
      box-shadow: none;
      transform: translateX(100%);
      visibility: hidden;
      transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
      overflow: hidden;
    }

    .mobile-drawer.open {
      transform: translateX(0);
      visibility: visible;
    }

    /* Cabecera del Drawer */
    .mobile-drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.15rem 1.25rem;
      border-bottom: 1px solid var(--border-color);
      background: var(--bg-surface-elevated);
      min-height: 68px;
    }

    .mobile-drawer-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .mobile-drawer-logo {
      height: 32px;
      width: auto;
      border-radius: var(--radius-sm);
    }

    .mobile-drawer-title-wrap {
      display: flex;
      flex-direction: column;
    }

    .mobile-drawer-title {
      font-family: 'Outfit', sans-serif;
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--text-title);
      line-height: 1.2;
    }

    .mobile-drawer-sub {
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    .mobile-drawer-close {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: var(--radius-sm);
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-title);
      cursor: pointer;
      transition: var(--transition-base);
    }

    .mobile-drawer-close:hover,
    .mobile-drawer-close:active {
      background: rgba(249, 115, 22, 0.15);
      border-color: var(--orange-500);
      color: var(--orange-500);
    }

    /* Cuerpo con scroll suave para teléfonos */
    .mobile-drawer-body {
      flex: 1;
      padding: 1.25rem;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .mobile-nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
    }

    .mobile-drawer .nav-link {
      font-size: 1.02rem;
      font-weight: 700;
      padding: 0.9rem 1.1rem;
      border-radius: var(--radius-md);
      background: var(--bg-surface-elevated);
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--text-title);
      text-decoration: none;
      transition: all 0.22s ease;
      box-shadow: var(--shadow-sm);
      touch-action: manipulation;
    }

    .mobile-link-left {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .mobile-link-left svg {
      color: var(--cyan-brand);
      transition: transform 0.22s ease, color 0.22s ease;
    }

    .mobile-drawer .nav-link:hover,
    .mobile-drawer .nav-link:active {
      border-color: var(--orange-500);
      background: var(--bg-card-hover);
      color: var(--orange-500);
      transform: translateX(4px);
    }

    .mobile-drawer .nav-link:hover .mobile-link-left svg,
    .mobile-drawer .nav-link:active .mobile-link-left svg {
      color: var(--orange-500);
      transform: scale(1.1);
    }

    .mobile-drawer .nav-link svg:last-child {
      color: var(--text-muted);
      transition: transform 0.22s ease, color 0.22s ease;
    }

    .mobile-drawer .nav-link:hover svg:last-child,
    .mobile-drawer .nav-link:active svg:last-child {
      color: var(--orange-500);
      transform: translateX(3px);
    }



    /* Tarjeta del Creador en el menú móvil */
    .mobile-drawer-author {
      margin-top: auto;
      padding-top: 1.15rem;
      border-top: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .mobile-drawer-author-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      object-position: center 12%;
      border: 2px solid var(--yellow-400);
      box-shadow: 0 0 10px var(--yellow-glow);
    }

    .mobile-drawer-author-info {
      display: flex;
      flex-direction: column;
    }

    .mobile-drawer-author-role {
      font-size: 0.68rem;
      text-transform: uppercase;
      color: var(--cyan-light);
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .mobile-drawer-author-name {
      font-size: 0.92rem;
      color: var(--text-title);
      font-weight: 800;
    }

    .mobile-drawer-author-loc {
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    /* Margen de desplazamiento para que el header pegajoso no tape los títulos */
    #inicio,
    #servicios,
    #contacto,
    section[id],
    footer[id] {
      scroll-margin-top: 85px;
    }

    /* ==========================================================================
       HERO PORTADA (PORTAL PRINCIPAL)
       ========================================================================== */
    .hero-section {
      position: relative;
      background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
      color: #ffffff;
      padding: 3.5rem 0 4.5rem;
      overflow: hidden;
      border-bottom: 4px solid var(--orange-500);
    }

    /* Elementos decorativos de fondo */
    .hero-bg-shapes {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 1;
    }

    .shape-circle-1 {
      position: absolute;
      top: -15%;
      right: -10%;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, transparent 70%);
      filter: blur(40px);
    }

    .shape-circle-2 {
      position: absolute;
      bottom: -20%;
      left: -5%;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
      filter: blur(50px);
    }

    .shape-grid-pattern {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
      background-size: 28px 28px;
      opacity: 0.4;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      align-items: center;
      gap: 3rem;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .hero-badges-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.6rem;
    }

    .hero-badge-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(250, 204, 21, 0.35);
      color: var(--yellow-400);
      font-size: 0.82rem;
      font-weight: 700;
      padding: 0.35rem 0.95rem;
      border-radius: var(--radius-full);
      box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
    }

    .hero-badge-location {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      background: rgba(249, 115, 22, 0.18);
      border: 1px solid rgba(249, 115, 22, 0.4);
      color: #fed7aa;
      font-size: 0.82rem;
      font-weight: 700;
      padding: 0.35rem 0.95rem;
      border-radius: var(--radius-full);
    }

    .hero-title {
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      font-weight: 900;
      color: #ffffff;
      line-height: 1.08;
      letter-spacing: -0.02em;
    }

    .hero-title span.highlight-orange {
      color: var(--orange-400);
      text-shadow: 0 0 25px rgba(249, 115, 22, 0.4);
    }

    .hero-title span.highlight-yellow {
      color: var(--yellow-400);
      text-shadow: 0 0 25px rgba(250, 204, 21, 0.4);
    }

    .hero-institution-highlight {
      background: rgba(255, 255, 255, 0.08);
      border-left: 4px solid var(--yellow-400);
      padding: 0.75rem 1.25rem;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      backdrop-filter: blur(8px);
    }

    .hero-institution-highlight p {
      font-size: 0.92rem;
      color: #e2e8f0;
      margin: 0;
      line-height: 1.5;
    }

    .hero-institution-highlight strong {
      color: var(--yellow-400);
    }

    .hero-description {
      font-size: clamp(1rem, 1.8vw, 1.15rem);
      color: #cbd5e1;
      max-width: 620px;
      line-height: 1.65;
    }

    .hero-cta-group {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 0.5rem;
    }

    /* Botones primarios y secundarios */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      padding: 0.85rem 1.75rem;
      font-size: 0.98rem;
      font-weight: 700;
      border-radius: var(--radius-md);
      transition: var(--transition-base);
      text-align: center;
      white-space: nowrap;
    }

    .btn-orange {
      background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
      color: #ffffff;
      box-shadow: 0 8px 20px var(--orange-glow);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-orange:hover {
      background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%);
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(249, 115, 22, 0.5);
    }

    .btn-whatsapp-hero {
      background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
      color: #ffffff;
      box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .btn-whatsapp-hero:hover {
      background: linear-gradient(135deg, #2ecc71 0%, #25D366 100%);
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
      color: #ffffff;
    }

    .btn-outline-white {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(8px);
    }

    .btn-outline-white:hover {
      background: rgba(255, 255, 255, 0.18);
      border-color: #ffffff;
      transform: translateY(-3px);
    }

    /* Hero Card / Visual Preview */
    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-card-display {
      background: rgba(16, 42, 77, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: var(--radius-lg);
      padding: 2rem;
      backdrop-filter: blur(16px);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
      text-align: center;
      width: 100%;
      max-width: 440px;
      position: relative;
    }

    .hero-card-display::before {
      content: '';
      position: absolute;
      top: -2px;
      left: 15%;
      right: 15%;
      height: 3px;
      background: linear-gradient(90deg, var(--yellow-400), var(--orange-500), var(--cyan-brand));
      border-radius: var(--radius-full);
    }

    .hero-logo-wrapper {
      background: #ffffff;
      padding: 1.25rem;
      border-radius: var(--radius-md);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
      margin-bottom: 1.25rem;
      display: inline-block;
      width: 100%;
      max-width: 320px;
    }

    .hero-logo-img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .hero-creator-badge {
      background: rgba(250, 204, 21, 0.15);
      border: 1px solid rgba(250, 204, 21, 0.35);
      border-radius: var(--radius-md);
      padding: 0.65rem 0.85rem;
      margin-bottom: 1rem;
    }

    .hero-creator-label {
      display: block;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #cbd5e1;
    }

    .hero-creator-name {
      display: block;
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--yellow-400);
      margin-top: 2px;
    }

    .hero-quick-badges {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.6rem;
    }

    .quick-stat {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-sm);
      padding: 0.65rem 0.4rem;
    }

    .quick-stat-num {
      display: block;
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--orange-400);
      line-height: 1;
    }

    .quick-stat-label {
      font-size: 0.68rem;
      color: #cbd5e1;
      text-transform: uppercase;
      font-weight: 600;
      margin-top: 0.25rem;
    }

    /* ==========================================================================
       BARRA DE COMUNICADOS / ANUNCIOS
       ========================================================================== */
    .announcement-banner {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-color);
      padding: 0.85rem 0;
      box-shadow: var(--shadow-sm);
    }

    .announcement-inner {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .announcement-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: var(--orange-500);
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 0.25rem 0.75rem;
      border-radius: var(--radius-full);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      flex-shrink: 0;
    }

    .announcement-text {
      font-size: 0.92rem;
      color: var(--text-body);
      font-weight: 500;
      flex: 1;
      min-width: 260px;
    }

    .announcement-edit-tip {
      font-size: 0.78rem;
      color: var(--text-muted);
      background: var(--bg-body);
      padding: 0.25rem 0.6rem;
      border-radius: var(--radius-sm);
      border: 1px dashed var(--border-color);
      flex-shrink: 0;
    }

    /* ==========================================================================
       SECCIÓN DE MÓDULOS DE CONTENIDO (LOS 6 CONTENIDOS REQUERIDOS)
       ========================================================================== */
    .services-section {
      padding: 4.5rem 0 5.5rem;
    }

    .section-header {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 3.5rem;
    }

    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.82rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--orange-500);
      background: rgba(249, 115, 22, 0.1);
      padding: 0.3rem 0.9rem;
      border-radius: var(--radius-full);
      margin-bottom: 0.75rem;
      border: 1px solid rgba(249, 115, 22, 0.25);
    }

    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      margin-bottom: 0.85rem;
      letter-spacing: -0.02em;
    }

    .section-subtitle {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Barra de búsqueda / filtrado de módulos */
    .filter-bar-wrapper {
      max-width: 600px;
      margin: 2rem auto 0;
      position: relative;
    }

    .filter-input {
      width: 100%;
      padding: 0.85rem 1.25rem 0.85rem 3rem;
      font-size: 0.95rem;
      border-radius: var(--radius-full);
      border: 2px solid var(--border-color);
      background-color: var(--bg-surface);
      color: var(--text-title);
      transition: var(--transition-base);
      outline: none;
      box-shadow: var(--shadow-sm);
    }

    .filter-input:focus {
      border-color: var(--orange-500);
      box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
    }

    .filter-icon {
      position: absolute;
      left: 1.15rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }

    /* Grid de las 6 tarjetas de módulos */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    /* Tarjeta individual */
    .service-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      transition: var(--transition-base);
      box-shadow: var(--shadow-md);
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--card-accent, var(--navy-600));
      transition: height 0.25s ease;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-card-hover);
      border-color: var(--card-border-hover, var(--orange-500));
      background-color: var(--bg-card-hover);
    }

    .service-card:hover::before {
      height: 6px;
    }

    /* Colores temáticos específicos por tarjeta */
    .card-sitio-web {
      --card-accent: linear-gradient(90deg, #0b192c, #0066ff);
      --card-border-hover: #0066ff;
      --icon-bg: rgba(0, 102, 255, 0.12);
      --icon-color: #0066ff;
    }

    .card-biblioteca {
      --card-accent: linear-gradient(90deg, #f97316, #ea580c);
      --card-border-hover: #f97316;
      --icon-bg: rgba(249, 115, 22, 0.12);
      --icon-color: #f97316;
    }

    .card-gamificacion {
      --card-accent: linear-gradient(90deg, #facc15, #f97316);
      --card-border-hover: #facc15;
      --icon-bg: rgba(250, 204, 21, 0.16);
      --icon-color: #d97706;
    }

    .card-votacion {
      --card-accent: linear-gradient(90deg, #0b192c, #f97316);
      --card-border-hover: #f97316;
      --icon-bg: rgba(249, 115, 22, 0.12);
      --icon-color: #ea580c;
    }

    .card-notas {
      --card-accent: linear-gradient(90deg, #00c0b5, #0066ff);
      --card-border-hover: #00c0b5;
      --icon-bg: rgba(0, 192, 181, 0.12);
      --icon-color: #0d9488;
    }

    .card-videoteca {
      --card-accent: linear-gradient(90deg, #e11d48, #f97316);
      --card-border-hover: #f97316;
      --icon-bg: rgba(225, 29, 72, 0.12);
      --icon-color: #e11d48;
    }

    /* Contenido de la tarjeta */
    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 1.25rem;
    }

    .card-icon-box {
      width: 58px;
      height: 58px;
      border-radius: var(--radius-md);
      background-color: var(--icon-bg);
      color: var(--icon-color);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition-base);
    }

    .service-card:hover .card-icon-box {
      transform: scale(1.1) rotate(2deg);
    }

    .card-badge {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-full);
      background: var(--bg-body);
      color: var(--text-muted);
      border: 1px solid var(--border-color);
    }

    .card-body {
      margin-bottom: 1.75rem;
    }

    .card-title {
      font-size: 1.35rem;
      margin-bottom: 0.65rem;
      color: var(--text-title);
      letter-spacing: -0.01em;
    }

    .card-description {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.55;
      margin-bottom: 1rem;
    }

    /* Lista de características o contenido adaptable */
    .card-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      border-top: 1px dashed var(--border-color);
      padding-top: 0.85rem;
    }

    .card-features li {
      font-size: 0.82rem;
      color: var(--text-body);
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }

    .card-features li svg {
      color: var(--yellow-500);
      flex-shrink: 0;
    }

    /* Footer de la tarjeta con acción */
    .card-footer {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .card-action-btn {
      width: 100%;
      padding: 0.75rem 1rem;
      border-radius: var(--radius-md);
      font-size: 0.92rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--navy-900);
      color: #ffffff;
      border: 1px solid transparent;
      transition: var(--transition-base);
      text-decoration: none;
    }

    [data-theme="dark"] .card-action-btn {
      background: var(--navy-800);
      border-color: var(--navy-700);
    }

    .service-card:hover .card-action-btn {
      background: var(--orange-500);
      color: #ffffff;
      box-shadow: 0 6px 16px var(--orange-glow);
    }

    .card-edit-note {
      font-size: 0.72rem;
      color: var(--text-muted);
      text-align: center;
      opacity: 0.85;
    }

    /* ==========================================================================
       SECCIÓN DE PRESENTACIÓN DE AUTOR Y RECURSOS (SEO INTENSIVO)
       ========================================================================== */
    .author-highlight-section {
      background: linear-gradient(135deg, rgba(11, 25, 44, 0.04) 0%, rgba(250, 204, 21, 0.08) 100%);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 3.5rem 0;
    }

    .author-box {
      background: var(--bg-surface);
      border: 2px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 2.25rem;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 2rem;
      box-shadow: var(--shadow-md);
    }

    .author-avatar {
      width: 80px;
      height: 80px;
      border-radius: var(--radius-full);
      background: linear-gradient(135deg, var(--navy-900) 0%, var(--orange-500) 100%);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 900;
      border: 3px solid var(--yellow-400);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      flex-shrink: 0;
    }

    .author-details h3 {
      font-size: 1.45rem;
      color: var(--text-title);
      margin-bottom: 0.35rem;
    }

    .author-details h3 span {
      color: var(--orange-500);
    }

    .author-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.6rem;
    }

    .author-tag-pill {
      font-size: 0.78rem;
      font-weight: 700;
      padding: 0.2rem 0.65rem;
      border-radius: var(--radius-full);
      background: var(--bg-body);
      border: 1px solid var(--border-color);
      color: var(--text-body);
    }

    .author-tag-pill.highlight {
      background: rgba(250, 204, 21, 0.2);
      border-color: var(--yellow-500);
      color: var(--navy-900);
    }

    [data-theme="dark"] .author-tag-pill.highlight {
      color: var(--yellow-400);
    }

    .author-cta-col {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      align-items: flex-end;
    }

    /* ==========================================================================
       SECCIÓN GUÍA PARA PUBLICAR CONTENIDO MANUALMENTE
       ========================================================================== */
    .manual-guide-section {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-color);
      padding: 4rem 0;
    }

    .guide-card-box {
      background: linear-gradient(135deg, rgba(11, 25, 44, 0.03) 0%, rgba(249, 115, 22, 0.05) 100%);
      border: 2px dashed var(--border-color);
      border-radius: var(--radius-lg);
      padding: 2.5rem 2rem;
    }

    [data-theme="dark"] .guide-card-box {
      background: rgba(16, 42, 77, 0.3);
      border-color: var(--border-color);
    }

    .guide-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .guide-icon-pill {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-full);
      background: var(--yellow-400);
      color: var(--navy-950);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      font-weight: 900;
      flex-shrink: 0;
    }

    .guide-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 1.5rem;
    }

    .guide-step {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 1.25rem;
    }

    .guide-step-num {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 800;
      color: var(--orange-500);
      background: rgba(249, 115, 22, 0.12);
      padding: 0.2rem 0.55rem;
      border-radius: var(--radius-sm);
      margin-bottom: 0.5rem;
    }

    .guide-step-title {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.35rem;
      color: var(--text-title);
    }

    .guide-step-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ==========================================================================
       FOOTER INSTITUCIONAL - CON REQUERIMIENTO: POWERED BY ELVIS AYUQUE ESPINOZA
       ========================================================================== */
    .site-footer {
      background-color: var(--footer-bg);
      color: var(--footer-text);
      padding: 4rem 0 2rem;
      margin-top: auto;
      border-top: 4px solid var(--yellow-400);
    }

    .footer-grid {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 2.5rem;
      margin-bottom: 2.5rem;
      width: 100%;
    }

    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      flex: 1 1 360px;
      max-width: 640px;
    }

    .footer-contact-col {
      display: flex;
      flex-direction: column;
      flex: 0 1 auto;
      min-width: 220px;
    }

    .footer-brand-logo {
      background: #ffffff;
      padding: 0.5rem 0.85rem;
      border-radius: var(--radius-md);
      width: fit-content;
      max-width: 240px;
    }

    .footer-brand-desc {
      font-size: 0.88rem;
      color: #94a3b8;
      line-height: 1.6;
    }

    .footer-col-title {
      font-size: 1.05rem;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 1.25rem;
      position: relative;
    }

    .footer-col-title::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 28px;
      height: 3px;
      background: var(--orange-500);
      border-radius: var(--radius-full);
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .footer-link {
      font-size: 0.88rem;
      color: #cbd5e1;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .footer-link:hover {
      color: var(--yellow-400);
      transform: translateX(4px);
    }

    .footer-contact-item {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      font-size: 0.88rem;
      color: #cbd5e1;
      margin-bottom: 0.85rem;
    }

    .footer-contact-item svg {
      color: var(--orange-400);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .footer-wa-card {
      background: rgba(37, 211, 102, 0.12);
      border: 1px solid rgba(37, 211, 102, 0.35);
      border-radius: var(--radius-md);
      padding: 0.85rem 1rem;
      margin-top: 0.75rem;
    }

    .footer-wa-card a {
      color: #86efac;
      font-weight: 700;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .footer-wa-card a:hover {
      color: #ffffff;
      text-decoration: underline;
    }

    /* Banner "Powered by: ELVIS AYUQUE ESPINOZA" */
    .powered-by-banner {
      background: linear-gradient(90deg, rgba(250, 204, 21, 0.12) 0%, rgba(249, 115, 22, 0.18) 50%, rgba(250, 204, 21, 0.12) 100%);
      border: 1px solid rgba(250, 204, 21, 0.3);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      text-align: center;
      margin-bottom: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.35rem;
    }

    .powered-by-title {
      font-size: 0.88rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #cbd5e1;
      font-weight: 600;
    }

    .powered-by-name {
      font-family: 'Outfit', sans-serif;
      font-size: 1.6rem;
      font-weight: 900;
      color: var(--yellow-400);
      letter-spacing: 0.02em;
      text-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
    }

    .powered-by-sub {
      font-size: 0.85rem;
      color: #e2e8f0;
      font-weight: 500;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 1.75rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.82rem;
      color: #94a3b8;
    }

    /* ==========================================================================
       BOTÓN FLOTANTE PERMANENTE DE WHATSAPP (FORMA CIRCULAR PERFECTA)
       ========================================================================== */
    .whatsapp-floating-btn {
      position: fixed;
      bottom: 26px;
      right: 26px;
      z-index: 999;
      width: 62px;
      height: 62px;
      min-width: 62px;
      min-height: 62px;
      max-width: 62px;
      max-height: 62px;
      border-radius: 50% !important;
      aspect-ratio: 1 / 1;
      padding: 0;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--whatsapp-green);
      color: #ffffff;
      box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
      border: 3px solid #ffffff;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      animation: pulse-green 2.5s infinite;
      box-sizing: border-box;
      overflow: hidden;
    }

    .whatsapp-floating-btn:hover {
      transform: translateY(-4px) scale(1.08);
      box-shadow: 0 14px 32px rgba(37, 211, 102, 0.65);
      background: #20ba5a;
      color: #ffffff;
    }

    .whatsapp-floating-icon {
      width: 34px;
      height: 34px;
      display: block;
      margin: auto;
      flex-shrink: 0;
    }

    @keyframes pulse-green {
      0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
      }

      70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
      }
    }

    /* ==========================================================================
       BOTÓN VOLVER ARRIBA (SCROLL TO TOP) CON FLECHA
       ========================================================================== */
    .scroll-top-btn {
      position: fixed;
      bottom: 102px;
      right: 32px;
      z-index: 998;
      width: 50px;
      height: 50px;
      min-width: 50px;
      min-height: 50px;
      border-radius: 50% !important;
      aspect-ratio: 1 / 1;
      background: var(--bg-surface-elevated);
      color: var(--yellow-400);
      border: 2px solid var(--border-color);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transform: translateY(16px);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
    }

    .scroll-top-btn.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .scroll-top-btn:hover {
      background: var(--orange-500);
      color: #ffffff;
      border-color: var(--orange-400);
      transform: translateY(-4px) scale(1.06);
      box-shadow: 0 12px 26px rgba(249, 115, 22, 0.45);
    }

    .scroll-top-btn svg {
      transition: transform 0.25s ease;
    }

    .scroll-top-btn:hover svg {
      transform: translateY(-2px);
    }

    /* ==========================================================================
       MODAL DE INFORMACIÓN Y ENLACE DE CONTENIDO MANUAL
       ========================================================================== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(6, 13, 26, 0.75);
      backdrop-filter: blur(6px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .modal-overlay.active .modal-card {
      transform: translateY(0);
    }

    .modal-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 520px;
      padding: 2rem;
      box-shadow: var(--shadow-lg);
      transform: translateY(20px);
      transition: transform 0.25s ease;
      position: relative;
    }

    .modal-close-btn {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      width: 36px;
      height: 36px;
      border-radius: var(--radius-full);
      background: var(--bg-body);
      color: var(--text-title);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border-color);
      cursor: pointer;
    }

    .modal-header-icon {
      width: 54px;
      height: 54px;
      border-radius: var(--radius-md);
      background: rgba(249, 115, 22, 0.15);
      color: var(--orange-500);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
    }

    .modal-title {
      font-size: 1.35rem;
      margin-bottom: 0.5rem;
      color: var(--text-title);
    }

    .modal-text {
      font-size: 0.92rem;
      color: var(--text-body);
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    .modal-code-box {
      background: var(--navy-950);
      color: #38bdf8;
      padding: 0.85rem 1rem;
      border-radius: var(--radius-sm);
      font-family: monospace;
      font-size: 0.85rem;
      margin-bottom: 1.25rem;
      word-break: break-all;
    }

    /* ==========================================================================
       MEDIA QUERIES - RESPONSIVE (CELULARES, TABLETS Y PANTALLAS GRANDES)
       ========================================================================== */

    /* Pantallas grandes y Laptops (1024px - 1440px) */
    @media (max-width: 1100px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }

      .footer-grid {
        gap: 2rem;
      }

      .author-box {
        grid-template-columns: auto 1fr;
      }

      .author-cta-col {
        grid-column: 1 / -1;
        align-items: flex-start;
      }
    }

    /* Tablets (768px - 1023px) */
    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
      }

      .hero-content {
        align-items: center;
      }

      .hero-badges-container {
        justify-content: center;
      }

      .hero-cta-group {
        justify-content: center;
      }

      .hero-card-display {
        max-width: 480px;
      }

      .guide-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
    }

    /* Tablets y Celulares (Hasta 768px) */
    @media (max-width: 768px) {
      .header-inner {
        height: 68px;
      }

      .nav-menu {
        display: none;
      }

      .header-wa-btn {
        display: none;
      }

      .mobile-menu-btn {
        display: inline-flex;
      }

      .top-bar-info {
        display: none;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        flex-direction: column;
        gap: 2rem;
      }

      .author-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
      }

      .author-tags {
        justify-content: center;
      }

      .author-cta-col {
        align-items: center;
      }

      .announcement-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .whatsapp-floating-btn {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
        max-width: 54px;
        max-height: 54px;
        bottom: 20px;
        right: 20px;
        border-radius: 50% !important;
      }

      .whatsapp-floating-icon {
        width: 30px;
        height: 30px;
      }

      /* Botón Scroll to Top en Móviles (alineado encima de WhatsApp) */
      .scroll-top-btn {
        bottom: 84px;
        right: 24px;
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
      }

      .scroll-top-btn svg {
        width: 20px;
        height: 20px;
      }
    }

    /* Celulares pequeños (Menores a 480px) */
    @media (max-width: 480px) {
      .container {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      .brand-title {
        font-size: 1.15rem;
      }

      .brand-logo-img {
        height: 38px;
      }

      .btn {
        width: 100%;
      }

      .hero-cta-group {
        width: 100%;
        flex-direction: column;
      }

      .hero-quick-badges {
        grid-template-columns: 1fr;
      }

      .service-card {
        padding: 1.5rem 1.25rem;
      }
    }

/* ==========================================================================
   PERFIL Y FOTO CIRCULAR DESTACADA - ELVIS AYUQUE ESPINOZA
   Efectos de sombras multicapa, resplandor de neón, halos animados y badges
   ========================================================================== */

.hero-creator-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.4rem;
  width: 100%;
}

/* Contenedor exterior del avatar con animación de levitación suave */
.profile-avatar-outer {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0.6rem auto 1.3rem auto;
  border-radius: 50%;
  animation: avatarFloat 4.5s ease-in-out infinite;
  cursor: pointer;
  perspective: 1000px;
}

/* Aura exterior luminosa en rotación continua (Efecto neón 360°) */
.profile-avatar-aura {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--cyan-brand),
    var(--blue-electric),
    var(--orange-500),
    var(--yellow-400),
    var(--cyan-brand)
  );
  filter: blur(14px);
  opacity: 0.8;
  z-index: 1;
  animation: rotateAura 9s linear infinite;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Marco circular con borde degradado brillante y sombras de profundidad */
.profile-avatar-ring {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--cyan-brand) 0%, #ffffff 40%, var(--orange-500) 80%, var(--yellow-400) 100%);
  box-shadow: 
    0 0 0 3px rgba(255, 255, 255, 0.45),
    0 15px 35px -5px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(0, 192, 181, 0.55),
    0 0 50px rgba(249, 115, 22, 0.35);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

/* Reflejo / Destello de brillo sobre la foto (Sheen Effect) */
.profile-avatar-ring::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: rotate(30deg) translateY(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 3;
}

/* Foto circular con recorte perfecto centrado en rostro */
.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  background-color: var(--navy-900);
  transition: transform 0.5s ease, filter 0.4s ease;
}

/* Interacción al pasar el mouse por la tarjeta o avatar */
.profile-avatar-outer:hover .profile-avatar-ring,
.hero-card-display:hover .profile-avatar-ring {
  transform: scale(1.045);
  box-shadow: 
    0 0 0 4px #ffffff,
    0 22px 45px -5px rgba(0, 0, 0, 0.75),
    0 0 45px rgba(0, 192, 181, 0.75),
    0 0 65px rgba(249, 115, 22, 0.55);
}

.profile-avatar-outer:hover .profile-avatar-img,
.hero-card-display:hover .profile-avatar-img {
  transform: scale(1.03);
}

.profile-avatar-outer:hover .profile-avatar-aura,
.hero-card-display:hover .profile-avatar-aura {
  opacity: 1;
  filter: blur(18px);
}

.profile-avatar-outer:hover .profile-avatar-ring::after,
.hero-card-display:hover .profile-avatar-ring::after {
  transform: rotate(30deg) translateY(120%);
}

/* Insignia de verificación con checkmark */
.profile-verified-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-brand), var(--blue-electric));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.55);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-avatar-outer:hover .profile-verified-badge {
  transform: scale(1.18) rotate(12deg);
}

/* Textos de Presentación del Creador */
.hero-creator-meta {
  text-align: center;
}

.hero-creator-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 192, 181, 0.16);
  border: 1px solid rgba(0, 192, 181, 0.45);
  color: #5eead4;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan-brand);
  box-shadow: 0 0 10px var(--cyan-brand);
  animation: pulseDot 2s infinite;
}

.hero-creator-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, #ffffff 50%, var(--yellow-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-creator-sub {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin: 0 0 0.9rem 0;
  font-weight: 500;
  line-height: 1.4;
}

/* Badge con avatar en la columna izquierda del Hero */
.hero-badge-author {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 102, 255, 0.18);
  border: 1px solid rgba(0, 192, 181, 0.45);
  color: #e0f2fe;
  font-size: 0.82rem;
  padding: 0.28rem 0.95rem 0.28rem 0.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(0, 192, 181, 0.2);
  transition: all 0.3s ease;
}

.hero-badge-author:hover {
  background: rgba(0, 102, 255, 0.3);
  border-color: var(--yellow-400);
  transform: translateY(-1px);
}

.hero-badge-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  border: 1.5px solid var(--yellow-400);
  box-shadow: 0 0 8px var(--yellow-glow);
}

/* Mini Card del Creador en el Footer */
.footer-creator-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.3rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  max-width: 380px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-creator-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.35);
}

.footer-creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  border: 2px solid var(--yellow-400);
  box-shadow: 0 0 14px var(--yellow-glow);
}

.footer-creator-text {
  display: flex;
  flex-direction: column;
}

.footer-creator-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-light);
  font-weight: 700;
}

.footer-creator-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1px 0;
}

.footer-creator-place {
  font-size: 0.76rem;
  color: #94a3b8;
}

/* Animaciones de Levitar, Giro de Aura y Pulso */
@keyframes avatarFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes rotateAura {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 192, 181, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 7px rgba(0, 192, 181, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 192, 181, 0);
  }
}

/* Ajustes Responsivos para Pantallas Pequeñas */
@media (max-width: 576px) {
  .profile-avatar-outer {
    width: 138px;
    height: 138px;
    margin-bottom: 1.1rem;
  }
  .hero-creator-title {
    font-size: 1.25rem;
  }
  .profile-verified-badge {
    width: 30px;
    height: 30px;
    bottom: 4px;
    right: 4px;
  }
  .profile-verified-badge svg {
    width: 15px;
    height: 15px;
  }
}

/* ==========================================================================
   BARRA HORIZONTAL RESUMIDA DE SERVICIOS EDUCATIVOS (HERO)
   ========================================================================== */
.hero-horizontal-bar {
  margin-top: 2.75rem;
  position: relative;
  z-index: 3;
  background: rgba(11, 25, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55);
}

.hero-horizontal-bar::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow-400), var(--orange-500), var(--cyan-brand));
  border-radius: var(--radius-full);
}

.hero-horizontal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.h-badge-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fde047;
  font-weight: 700;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
}

.h-badge-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--yellow-400);
  letter-spacing: 0.04em;
}

.hero-horizontal-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.h-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.h-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4), 0 0 16px rgba(249, 115, 22, 0.25);
}

.h-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 192, 181, 0.16);
  color: var(--cyan-brand);
  transition: all 0.25s ease;
}

.h-item:hover .h-item-icon {
  background: var(--orange-500);
  color: #ffffff;
  transform: scale(1.1);
}

.h-item-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.h-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
}

.h-item-sub {
  font-size: 0.73rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Destello animado cuando se enfoca una tarjeta */
@keyframes highlightCardPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.8);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.4), 0 20px 40px rgba(249, 115, 22, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-card-hover);
  }
}

.service-card-highlighted {
  animation: highlightCardPulse 1.2s ease-in-out !important;
  border-color: var(--orange-500) !important;
}

/* Responsive para la barra horizontal */
@media (max-width: 1080px) {
  .hero-horizontal-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero-horizontal-bar {
    margin-top: 2rem;
    padding: 1.1rem 1rem;
  }
  .hero-horizontal-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .h-item {
    padding: 0.65rem 0.7rem;
    gap: 0.55rem;
  }
  .h-item-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .h-item-title {
    font-size: 0.88rem;
  }
  .h-item-sub {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .hero-horizontal-items {
    grid-template-columns: 1fr;
  }
}
