    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #05080f;
      --bg2: #080d18;
      --surface: #0d1426;
      --surface2: #111b33;
      --accent: #00e5ff;
      --accent2: #7c5cfc;
      --accent3: #00ff9d;
      --text: #e8edf8;
      --text-dim: #7a8aaa;
      --border: rgba(0,229,255,0.12);
      --glow: rgba(0,229,255,0.18);
      --font-head: 'Bebas Neue', cursive;
      --font-sub: 'Outfit', sans-serif;
      --font-body: 'Outfit', sans-serif;
    }

    .project-thumb{
      position: relative;
      width: 100%;
      height: 190px;
      overflow: hidden;
      border-radius: 12px 12px 0 0;
    }

    .project-image{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }


    .carousel-apce{
      position: relative;
    }

    .carousel-apce .project-image{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity .6s ease;
    }

    .carousel-apce .project-image.active{
      opacity: 1;
    }


    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.65;
      overflow-x: hidden;
    }

    /* Bebas Neue display headings — wide tracking */
    h1, h2, .section-title, .hero-title, .nav-logo {
      font-family: var(--font-head) !important;
      letter-spacing: .04em !important;
    }
    /* Outfit for subheadings / cards */
    h3, h4, .service-card h3, .project-body h3, .about-card h4,
    .section-label, .nav-links a, .btn-primary, .btn-secondary {
      font-family: var(--font-sub) !important;
    }

    /* ── NOISE OVERLAY ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: .4;
    }

    /* ── SCROLLBAR ── */
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 10px; }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.2rem 5vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(5,8,15,0.75);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      transition: padding .3s;
    }
    nav.scrolled { padding: .8rem 5vw; }

    .nav-logo {
      font-family: var(--font-head);
      font-weight: 800;
      font-size: 1.3rem;
      letter-spacing: -.01em;
      color: var(--accent);
      text-decoration: none;
    }
    .nav-logo span { color: var(--text); }

    .nav-links {
      display: flex;
      gap: 2.2rem;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-dim);
      text-decoration: none;
      font-size: .875rem;
      font-weight: 500;
      letter-spacing: .04em;
      text-transform: uppercase;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--accent); }

    .nav-cta {
      background: var(--accent);
      color: var(--bg) !important;
      padding: .5rem 1.3rem;
      border-radius: 40px;
      font-weight: 600 !important;
      color: #05080f !important;
      transition: box-shadow .25s, transform .2s !important;
    }
    .nav-cta:hover { box-shadow: 0 0 22px var(--glow); transform: translateY(-1px); color: #05080f !important; }

    .nav-hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--accent);
      border-radius: 4px;
      transition: all .3s;
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-hamburger { display: flex; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(5,8,15,0.97);
        padding: 1.5rem 5vw;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border);
      }
    }

    /* ── SECTIONS ── */
    section { padding: 7rem 5vw; }
    .container { max-width: 1180px; margin: 0 auto; }

    .section-label {
      font-family: var(--font-head);
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: .8rem;
    }
    .section-title {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -.02em;
      color: var(--text);
    }
    .section-title em { font-style: normal; color: var(--accent); }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 7rem;
      padding-bottom: 4rem;
      position: relative;
      overflow: hidden;
    }

    #hero .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 3rem;
      width: 100%;
    }

    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
    }
    .hero-orb-1 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(0,229,255,.14) 0%, transparent 70%);
      top: -100px; right: -100px;
    }
    .hero-orb-2 {
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(124,92,252,.18) 0%, transparent 70%);
      bottom: 0; left: -80px;
    }

    .hero-content {
      position: relative;
      max-width: 580px;  /* limita el ancho del texto */
      width: 100%;
      text-align: left;
      margin-left: 0;   /* quita cualquier margin-left previo */
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: rgba(0,229,255,.08);
      border: 1px solid rgba(0,229,255,.2);
      border-radius: 40px;
      padding: .35rem 1rem;
      font-size: .8rem;
      font-weight: 500;
      color: var(--accent);
      letter-spacing: .04em;
      margin-bottom: 1.8rem;
      animation: fadeUp .7s ease both;
    }
    .hero-badge-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--accent3);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(0,255,157,.5); }
      50% { box-shadow: 0 0 0 5px rgba(0,255,157,0); }
    }

    .hero-title {
      font-size: clamp(2.6rem, 5vw, 5rem);  /* un poco más pequeño */
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .05em;
      margin-bottom: 1.5rem;
      animation: fadeUp .7s .1s ease both;
    }
    .hero-title .accent { color: var(--accent); }
    .hero-title .accent2 { color: var(--accent2); }

    .hero-sub {
      font-size: 1.12rem;
      color: var(--text-dim);
      max-width: 540px;
      margin-bottom: 2.5rem;
      font-weight: 300;
      animation: fadeUp .7s .2s ease both;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      animation: fadeUp .7s .3s ease both;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: var(--accent);
      color: var(--bg);
      font-family: var(--font-head);
      font-weight: 700;
      font-size: .95rem;
      padding: .85rem 2rem;
      border-radius: 50px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: box-shadow .25s, transform .2s;
    }
    .btn-primary:hover { box-shadow: 0 0 30px rgba(0,229,255,.4); transform: translateY(-2px); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: transparent;
      color: var(--text);
      font-family: var(--font-head);
      font-weight: 600;
      font-size: .95rem;
      padding: .85rem 2rem;
      border-radius: 50px;
      text-decoration: none;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: border-color .25s, background .25s;
    }
    .btn-secondary:hover { border-color: var(--accent2); background: rgba(124,92,252,.08); }

    .hero-stats {
      display: flex;
      gap: 3rem;
      margin-top: 4rem;
      padding-top: 2.5rem;
      border-top: 1px solid var(--border);
      animation: fadeUp .7s .4s ease both;
    }
    .hero-stat-num {
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
    }
    .hero-stat-label { font-size: .8rem; color: var(--text-dim); margin-top: .3rem; text-transform: uppercase; letter-spacing: .08em; }

    /* floating code card */
    .hero-visual {
      position: relative;   /* ya no absolute */
      right: auto;
      top: auto;
      transform: none;
      display: block;
      flex-shrink: 0;
    }
    @media (min-width: 1100px) { .hero-visual { display: block; } }

    .code-card {
      width: 340px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(0,229,255,.05);
      animation: float 6s ease-in-out infinite;
    }
    @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

    .code-card-header {
      background: var(--surface2);
      padding: .7rem 1rem;
      display: flex;
      align-items: center;
      gap: .5rem;
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; }
    .dot-y { background: #febc2e; }
    .dot-g { background: #28c840; }
    .code-filename { font-size: .72rem; color: var(--text-dim); margin-left: .5rem; }

    .code-body {
      padding: 1.2rem 1.4rem;
      font-size: .78rem;
      line-height: 1.8;
      font-family: 'Courier New', monospace;
    }
    .c-keyword { color: #c792ea; }
    .c-fn { color: #82aaff; }
    .c-str { color: #c3e88d; }
    .c-num { color: #f78c6c; }
    .c-comment { color: #546e7a; }
    .c-var { color: var(--accent); }

    /* ── SOBRE NOSOTROS ── */
    #about { background: var(--bg2); }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    @media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

    .about-text p {
      color: var(--text-dim);
      margin-top: 1.2rem;
      font-size: 1rem;
    }

    .about-pills {
      display: flex;
      flex-wrap: wrap;
      gap: .6rem;
      margin-top: 2rem;
    }
    .pill {
      background: rgba(0,229,255,.07);
      border: 1px solid rgba(0,229,255,.18);
      border-radius: 40px;
      padding: .35rem 1rem;
      font-size: .8rem;
      color: var(--accent);
      font-weight: 500;
    }

    .about-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .about-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.5rem;
      transition: border-color .3s, transform .3s;
    }
    .about-card:hover { border-color: var(--accent2); transform: translateY(-4px); }
    .about-card-icon {
      font-size: 1.8rem;
      margin-bottom: .7rem;
      display: block;
    }
    .about-card h4 {
      font-family: var(--font-head);
      font-size: .95rem;
      font-weight: 700;
      margin-bottom: .4rem;
    }
    .about-card p { font-size: .82rem; color: var(--text-dim); }

    /* ── SERVICIOS ── */
    #services { background: var(--bg); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      gap: 1.5rem;
      margin-top: 3.5rem;
    }

    .service-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2rem;
      position: relative;
      overflow: hidden;
      transition: border-color .3s, transform .3s, box-shadow .3s;
    }
    .service-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--glow) 0%, transparent 60%);
      opacity: 0;
      transition: opacity .3s;
    }
    .service-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
    .service-card:hover::before { opacity: 1; }

    .service-icon {
      width: 50px; height: 50px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1.2rem;
      position: relative;
    }
    .service-icon.cyan { background: rgba(0,229,255,.1); border: 1px solid rgba(0,229,255,.2); }
    .service-icon.purple { background: rgba(124,92,252,.12); border: 1px solid rgba(124,92,252,.25); }
    .service-icon.green { background: rgba(0,255,157,.1); border: 1px solid rgba(0,255,157,.2); }
    .service-icon.orange { background: rgba(255,165,0,.1); border: 1px solid rgba(255,165,0,.2); }

    .service-card h3 {
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: .7rem;
    }
    .service-card p { font-size: .87rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1rem; }
    .service-list { list-style: none; }
    .service-list li {
      font-size: .82rem;
      color: var(--text-dim);
      padding: .2rem 0;
      display: flex;
      gap: .5rem;
    }
    .service-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; }

    /* ── PORTAFOLIO ── */
    #portfolio { background: var(--bg2); }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
      gap: 1.8rem;
      margin-top: 3.5rem;
    }

    .project-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      transition: transform .3s, box-shadow .3s, border-color .3s;
    }
    .project-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0,0,0,.45); border-color: rgba(124,92,252,.4); }

    .project-thumb {
      height: 190px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .project-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }

    .project-thumb-label {
      position: relative;
      z-index: 1;
      font-family: var(--font-head);
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: -.02em;
      opacity: .9;
    }

    .project-body { padding: 1.5rem; }
    .project-body h3 {
      font-family: var(--font-head);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: .5rem;
    }
    .project-body p { font-size: .83rem; color: var(--text-dim); margin-bottom: 1rem; }

    .tech-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
    .tech-tag {
      background: rgba(124,92,252,.1);
      border: 1px solid rgba(124,92,252,.2);
      border-radius: 30px;
      padding: .2rem .7rem;
      font-size: .72rem;
      color: #a78bfa;
      font-weight: 500;
    }

    /* ── TECNOLOGÍAS ── */
    #tech { background: var(--bg); }

    .tech-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 3rem;
      justify-content: center;
    }
    .tech-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.2rem 1.8rem;
      text-align: center;
      transition: border-color .3s, transform .3s;
      min-width: 110px;
    }
    .tech-item:hover { border-color: var(--accent); transform: translateY(-4px); }
    .tech-item-icon { font-size: 1.8rem; margin-bottom: .5rem; display: block; }
    .tech-item-name { font-size: .8rem; font-weight: 600; font-family: var(--font-head); color: var(--text-dim); }

    /* ── TESTIMONIOS ── */
    #testimonials { background: var(--bg2); }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 3.5rem;
    }
    .testimonial-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 1.8rem;
      position: relative;
    }
    .testimonial-card::before {
      content: '"';
      position: absolute;
      top: 1rem;
      right: 1.5rem;
      font-size: 4rem;
      color: var(--accent2);
      opacity: .25;
      font-family: serif;
      line-height: 1;
    }
    .stars { color: #fbbf24; font-size: .9rem; margin-bottom: 1rem; letter-spacing: .1em; }
    .testimonial-text { font-size: .9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.3rem; }
    .testimonial-author {
      display: flex;
      align-items: center;
      gap: .8rem;
    }
    .author-avatar {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-head);
      font-weight: 800;
      font-size: .95rem;
      flex-shrink: 0;
    }
    .author-name { font-weight: 600; font-size: .88rem; }
    .author-role { font-size: .75rem; color: var(--text-dim); }

    /* ── CONTACTO ── */
    #contact { background: var(--bg); }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 5rem;
      align-items: start;
      margin-top: 3.5rem;
    }
    @media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

    .contact-info h3 {
      font-family: var(--font-head);
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }
    .contact-info p { color: var(--text-dim); font-size: .92rem; margin-bottom: 2rem; }

    .contact-links { display: flex; flex-direction: column; gap: .8rem; }
    .contact-link {
      display: flex;
      align-items: center;
      gap: 1rem;
      color: var(--text-dim);
      text-decoration: none;
      font-size: .9rem;
      padding: .9rem 1.2rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface);
      transition: border-color .25s, color .25s, transform .2s;
    }
    .contact-link:hover { border-color: var(--accent); color: var(--text); transform: translateX(4px); }
    .contact-link-icon { font-size: 1.3rem; }

    .contact-form {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2.5rem;
    }
    .form-group { margin-bottom: 1.2rem; }
    .form-group label {
      display: block;
      font-size: .8rem;
      font-weight: 600;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: .5rem;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: .85rem 1rem;
      color: var(--text);
      font-family: var(--font-body);
      font-size: .93rem;
      outline: none;
      transition: border-color .25s;
    }
    .form-group input:focus,
    .form-group textarea:focus { border-color: var(--accent); }
    .form-group textarea { resize: vertical; min-height: 120px; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    @media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

    /* ── FOOTER ── */
    footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 3rem 5vw;
    }
    .footer-inner {
      max-width: 1180px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .footer-logo {
      font-family: var(--font-head);
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--accent);
      text-decoration: none;
    }
    .footer-copy { font-size: .8rem; color: var(--text-dim); }
    .footer-social { display: flex; gap: 1rem; }
    .footer-social a {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem;
      color: var(--text-dim);
      text-decoration: none;
      transition: border-color .25s, transform .2s, color .2s;
    }
    .footer-social a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--accent); }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
    .reveal-delay-4 { transition-delay: .4s; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: none; }
    }

    /* ── SECTION DIVIDER ── */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
      max-width: 1180px;
      margin: 0 auto;
    }

    /* ── WHATSAPP FAB ── */
    .whatsapp-fab {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 58px; height: 58px;
      background: #25d366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.7rem;
      text-decoration: none;
      z-index: 999;
      box-shadow: 0 6px 25px rgba(37,211,102,.4);
      transition: transform .25s, box-shadow .25s;
    }
    .whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 10px 35px rgba(37,211,102,.55); }




    /* ── CERTIFICACIÓN MOODLE ── */
    #certificacion { background: var(--bg2); }

    .cert-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 5rem;
      align-items: center;
    }

    .cert-title {
      font-family: var(--font-head) !important;
      font-size: clamp(2.6rem, 5vw, 4.5rem);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: .05em;
      color: var(--text);
      margin-top: 1rem;
      margin-bottom: 1.5rem;
    }
    .cert-accent  { color: var(--accent); }
    .cert-accent2 { color: var(--accent2); }

    .cert-text p {
      color: var(--text-dim);
      font-size: .97rem;
      line-height: 1.75;
    }

    .cert-image-wrap {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
    }

    .moodle-logo {
      width: 100%;
      max-width: 650px;
      position: relative;
      z-index: 1;
      filter: drop-shadow(0 0 40px rgba(124,92,252,.3));
      transition: transform .3s, filter .3s;
    }
    .moodle-logo:hover {
      transform: scale(1.03);
      filter: drop-shadow(0 0 60px rgba(124,92,252,.5));
    }

    .cert-glow {
      position: absolute;
      width: 350px;
      height: 350px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(124,92,252,.2) 0%, transparent 70%);
      filter: blur(40px);
      z-index: 0;
    }

    @media (max-width: 768px) {
      .cert-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
      }
      .moodle-logo { max-width: 280px; }
    }





    /* ── BOTÓN VER PROYECTO ── */
.project-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  padding: .55rem 1.3rem;
  border-radius: 40px;
  border: 1px solid rgba(124,92,252,.35);
  background: rgba(124,92,252,.08);
  color: #a78bfa;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .2s;
}
.project-btn:hover {
  background: rgba(124,92,252,.2);
  border-color: #a78bfa;
  transform: translateX(3px);
}
.project-btn span {
  transition: transform .2s;
}
.project-btn:hover span {
  transform: translateX(3px);
}








    /* ── Esconder la card flotante en el hero ── */

@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }

  #hero .container {
    flex-direction: column;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    justify-content: center;
  }
}
