
    /* =============================================
       PALETA PRISMAXWEB — "CONFIANZA CALMADA"
       ─────────────────────────────────────────
       Investigación en psicología del color aplicada a CRO:
       • Navy profundo (#0F172A): evoca estabilidad bancaria y
         fiabilidad institucional — la misma razón por la que
         PayPal, Visa y los bancos usan azul oscuro.
       • Teal/aguamarina (#0EA5E9): reduce la respuesta cortisol
         (estrés) y activa la percepción de "seguridad activa".
         Funciona especialmente bien justo antes de un clic de compra.
       • Blancos fríos (#E5E7EB): comunican transparencia y honestidad.
       • Bordes con tinte azul: suavizan los contrastes duros.
       El resultado es "premium sin intimidar" — el objetivo exacto
       para que el visitante piense "me fío" antes de contactar.
    ============================================= */
    :root {
      /* ── Tipografías ── */
      --ff-disp:   'Playfair Display', Georgia, 'Times New Roman', serif;
      --ff-body:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

      /* ── Paleta clara (bone white) ── */
      --bg:         #F8F7F4;      /* fondo principal — blanco hueso */
      --bg-alt:     #F0EEE9;      /* fondo alterno ligeramente más cálido */
      --bg-blue:    #EEF3FD;      /* secciones con tinte azul muy suave */
      --navy:       #0F172A;      /* texto principal oscuro */
      --slate:      #334155;      /* texto secundario */
      --dark:       #1E3A5F;      /* secciones oscuras (proceso, footer) */
      --card:       #FFFFFF;      /* cards blancas */
      --accent:     #38BDF8;      /* azul principal */
      --accent-lt:  #7DD3FC;      /* azul hover */
      --accent-dim: rgba(56,189,248,0.12); /* fondo tenue de accent */
      --muted:      #64748B;      /* texto muted */
      --border:     #D1EAF8;      /* borde suave */
      --white:      #FFFFFF;
      --white-pure: #FFFFFF;
      --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; background: var(--black); }

    body {
      font-family: var(--ff-body);
      font-size: 16px;
      line-height: 1.6;
      color: var(--navy);
      background: var(--bg);
      overflow-x: hidden;
      cursor: auto;

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { font-family: var(--ff-body); cursor: pointer; }
    input, textarea, select { font-family: var(--ff-body); }

    /* ── Cursor personalizado ── */
    /* cursor personalizado eliminado — se usa el cursor nativo del sistema */

    /* Textura grain premium (muy sutil) */
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: 0.025; pointer-events: none; z-index: 8000;
    }

    /* ── Utilidades ── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

    .tag {
      display: inline-block;
      font-size: 0.72rem; letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      font-weight: 500; margin-bottom: 1.2rem;
    }

    .section-title {
      font-family: var(--ff-disp);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 300; line-height: 1.1;
      letter-spacing: -0.01em;
      color: var(--navy);
    }

    .section-title em { font-style: italic; color: var(--accent); }

    /* ── Reveal on scroll ── */
    /* reveal — el contenido es VISIBLE por defecto.
       El JS añade .will-animate antes de observar, lo que
       activa la transición. Así si el JS falla por cualquier
       motivo (script bloqueado, iframe, offline…) la página
       sigue siendo legible al 100%. */
    .reveal {
      transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }
    .reveal.will-animate { opacity: 0; transform: translateY(28px); }
    .reveal.will-animate.visible { opacity: 1; transform: translateY(0); }
    .reveal.d1 { transition-delay: 0.1s; }
    .reveal.d2 { transition-delay: 0.2s; }
    .reveal.d3 { transition-delay: 0.3s; }
    .reveal.d4 { transition-delay: 0.4s; }

    /* =============================================
       NAVBAR
    ============================================= */
    #navbar {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 100; padding: 1.4rem 0;
      transition: background 0.4s, border-bottom 0.4s, padding 0.3s;
    }

    #navbar.scrolled {
      background: rgba(248,247,244,0.97);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      padding: 1rem 0;
    }

    .nav-inner { display: flex; align-items: center; justify-content: space-between; }

    .nav-logo {
      font-family: var(--ff-disp);
      font-size: 1.5rem; font-weight: 600;
      letter-spacing: 0.02em; color: var(--navy);
    }

    .nav-logo span { color: var(--accent); }

    .nav-links { display: flex; gap: 2.2rem; list-style: none; }

    .nav-links a {
      font-size: 0.85rem; font-weight: 400;
      letter-spacing: 0.05em; color: var(--muted);
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--navy); }

    .nav-cta {
      background: var(--accent) !important;
      color: var(--black) !important;
      padding: 0.55rem 1.3rem;
      font-weight: 500 !important; font-size: 0.82rem !important;
      transition: background 0.2s, transform 0.2s !important;
    }

    .nav-cta:hover { background: #38BDF8 !important; transform: translateY(-1px); }

    .nav-ham {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; padding: 4px;
    }

    .nav-ham span {
      display: block; width: 22px; height: 1.5px;
      background: var(--white);
      transition: transform 0.3s, opacity 0.3s;
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-ham { display: flex; cursor: pointer; }
    }

    /* =============================================
       HERO
    ============================================= */
    #hero {
      min-height: 100vh;
      display: flex; align-items: center;
      position: relative; overflow: hidden;
      padding: 8rem 0 5rem;
    }

    /* Halo teal superior derecha */
    #hero::before {
      content: '';
      position: absolute; top: -20%; right: -10%;
      width: 65vw; height: 65vw;
      background: radial-gradient(circle at 60% 40%,
        rgba(56,189,248,0.12) 0%,
        rgba(30,100,160,0.04) 50%,
        transparent 70%);
      pointer-events: none;
    }

    /* Halo navy inferior izquierda */
    #hero .hero-glow-2 {
      position: absolute; bottom: -10%; left: -5%;
      width: 40vw; height: 40vw;
      background: radial-gradient(circle, rgba(20,80,130,0.08) 0%, transparent 65%);
      pointer-events: none;
    }

    .hero-divider {
      position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
    }

    .hero-inner {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 2.5rem; align-items: center;
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      border: 1px solid rgba(56,189,248,0.28);
      background: rgba(56,189,248,0.05);
      padding: 0.35rem 0.9rem;
      font-size: 0.75rem; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 1.8rem;
      animation: fadeInDown 0.7s var(--ease-out) 0.2s both;
    }

    .hero-badge::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--accent); border-radius: 50%;
      animation: pulse 2.5s infinite;
    }

    @keyframes pulse {
      0%,100% { opacity: 1; transform: scale(1); }
      50%      { opacity: 0.4; transform: scale(1.5); }
    }

    .hero-title {
      font-family: var(--ff-disp);
      font-size: clamp(2.8rem, 6vw, 5.2rem);
      font-weight: 300; line-height: 1.0;
      letter-spacing: -0.02em; margin-bottom: 1.6rem;
      color: var(--navy);
      animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
    }

    .hero-title em { font-style: italic; color: var(--accent); }
    .hero-title strong { font-weight: 600; }

    .hero-sub {
      font-size: 1.05rem; color: var(--muted);
      line-height: 1.75; max-width: 460px;
      margin-bottom: 2.4rem; font-weight: 300;
      animation: fadeInUp 0.8s var(--ease-out) 0.55s both;
    }

    .hero-actions {
      display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
      animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
    }

    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: var(--accent); color: var(--black);
      padding: 0.9rem 2rem; font-size: 0.9rem;
      font-weight: 500; letter-spacing: 0.04em;
      transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
      position: relative; overflow: hidden;
    }

    .btn-primary::after {
      content: ''; position: absolute; inset: 0;
      background: rgba(15,23,42,0.10);
      transform: translateX(-100%);
      transition: transform 0.35s var(--ease-out);
    }

    .btn-primary:hover::after { transform: translateX(0); }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 32px rgba(56,189,248,0.22);
    }

    .btn-primary svg { transition: transform 0.25s; }
    .btn-primary:hover svg { transform: translateX(3px); }

    .btn-ghost {
      display: inline-flex; align-items: center; gap: 0.5rem;
      color: var(--muted); font-size: 0.9rem; font-weight: 400;
      border-bottom: 1px solid transparent;
      transition: color 0.2s, border-color 0.2s; padding-bottom: 2px;
    }

    .btn-ghost:hover { color: var(--navy); border-color: rgba(56,189,248,0.5); }

    /* Browser mockup */
    .hero-visual {
      position: relative;
      animation: fadeInRight 1s var(--ease-out) 0.5s both;
    }

    .browser-frame {
      background: var(--card);
      border: 1px solid var(--border); border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(56,189,248,0.08);
      transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
      transition: transform 0.6s var(--ease-out);
    }

    .browser-frame:hover { transform: perspective(900px) rotateY(-2deg) rotateX(1deg); }

    .browser-bar {
      background: var(--bg); padding: 0.7rem 1rem;
      display: flex; align-items: center; gap: 1rem;
      border-bottom: 1px solid var(--border);
    }

    .browser-dots { display: flex; gap: 5px; }
    .browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
    .browser-dots span:nth-child(1) { background: #ff5f57; }
    .browser-dots span:nth-child(2) { background: #febc2e; }
    .browser-dots span:nth-child(3) { background: #28c840; }

    .browser-url {
      flex: 1; background: rgba(255,255,255,0.05);
      border-radius: 4px; padding: 0.28rem 0.8rem;
      font-size: 0.72rem; color: var(--muted); font-family: monospace;
    }

    .browser-content { background: #E8F4FD; height: 280px; overflow: hidden; }

    .mock-web { padding: 1.2rem; }

    .mock-nav {
      display: flex; justify-content: space-between;
      align-items: center; margin-bottom: 1.5rem;
    }

    .mock-logo { width: 70px; height: 8px; background: var(--accent); border-radius: 4px; opacity: 0.7; }
    .mock-nav-links { display: flex; gap: 0.6rem; }
    .mock-nav-links span { width: 30px; height: 6px; background: rgba(15,23,42,0.15); border-radius: 3px; }

    .mock-hero-mock {
      background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 60%, #0d2640 100%);
      border-radius: 6px; height: 120px;
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 1rem; margin-bottom: 1rem;
      position: relative; overflow: hidden;
    }

    .mock-hero-mock::before {
      content: ''; position: absolute; top: 20%; right: 15%;
      width: 70px; height: 70px;
      background: rgba(56,189,248,0.18); border-radius: 50%; filter: blur(22px);
    }

    .mock-h1 { width: 75%; height: 12px; background: rgba(255,255,255,0.9); border-radius: 3px; margin-bottom: 6px; }
    .mock-h2 { width: 50%; height: 8px; background: rgba(255,255,255,0.45); border-radius: 3px; margin-bottom: 12px; }
    .mock-btn { width: 70px; height: 20px; background: var(--accent); border-radius: 3px; opacity: 0.85; }

    .mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; }

    .mock-card {
      background: rgba(15,23,42,0.04);
      border-radius: 4px; padding: 0.5rem;
      border: 1px solid rgba(56,189,248,0.10);
    }

    .mock-card-img { height: 28px; background: linear-gradient(135deg,#0284C7,#38BDF8); border-radius: 3px; margin-bottom: 0.4rem; }
    .mock-card-line { height: 5px; background: rgba(15,23,42,0.12); border-radius: 3px; margin-bottom: 0.25rem; }
    .mock-card-line.short { width: 60%; }

    /* Stats del hero */
    .hero-stats {
      display: grid; grid-template-columns: repeat(3,1fr);
      margin-top: 1.5rem;
      border: 1px solid var(--border);
      background: rgba(248,247,244,0.75);
    }

    .stat-item {
      padding: 1.1rem 1.2rem;
      border-right: 1px solid var(--border);
      transition: background 0.2s;
    }

    .stat-item:last-child { border-right: none; }
    .stat-item:hover { background: rgba(56,189,248,0.06); }

    .stat-num {
      font-family: var(--ff-disp); font-size: 1.9rem;
      font-weight: 600; color: var(--accent);
      line-height: 1; margin-bottom: 0.2rem;
    }

    .stat-label { font-size: 0.73rem; color: var(--muted); letter-spacing: 0.05em; }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-12px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInRight {
      from { opacity: 0; transform: translateX(30px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    /* =============================================
       TRUST BAR
    ============================================= */
    #trust-bar {
      padding: 2.5rem 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .trust-inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }

    .trust-label {
      font-size: 0.75rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--muted); white-space: nowrap;
    }

    .trust-logos { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }

    .trust-logo {
      font-family: var(--ff-disp); font-size: 1.1rem; font-weight: 600;
      color: rgba(106,144,170,0.45); letter-spacing: 0.05em;
      transition: color 0.3s;
    }

    .trust-logo:hover { color: var(--muted); }

    /* =============================================
       BENEFICIOS
    ============================================= */
    #benefits { padding: 4.5rem 0; }

    .benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

    .benefit-lead { max-width: 480px; }
    .benefit-lead .section-title { margin-bottom: 1.4rem; }

    .benefit-lead p {
      color: var(--muted); font-size: 1rem;
      line-height: 1.75; font-weight: 300; margin-bottom: 2rem;
    }

    .benefit-items { display: flex; flex-direction: column; gap: 1.8rem; }

    .benefit-item {
      display: flex; gap: 1.2rem; align-items: flex-start;
      padding: 1.4rem; border: 1px solid var(--border);
      background: rgba(255,255,255,0.012);
      transition: border-color 0.3s, background 0.3s, transform 0.3s;
    }

    .benefit-item:hover {
      border-color: rgba(56,189,248,0.25);
      background: rgba(56,189,248,0.04);
      transform: translateX(4px);
    }

    .benefit-icon {
      width: 40px; height: 40px;
      background: var(--accent-dim);
      border: 1px solid rgba(56,189,248,0.2);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; color: var(--accent);
    }

    .benefit-text h4 {
      font-family: var(--ff-disp); font-size: 1.15rem; font-weight: 400;
      margin-bottom: 0.35rem; color: var(--navy);
    }

    .benefit-text p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

    /* =============================================
       SERVICIOS
    ============================================= */
    #services {
      padding: 4.5rem 0; background: var(--bg-alt);
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    }

    .services-header { text-align: center; margin-bottom: 2.5rem; }
    .services-header .section-title { margin-bottom: 1rem; }
    .services-header p { color: var(--muted); font-size: 1rem; font-weight: 300; max-width: 520px; margin: 0 auto; }

    .services-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); }

    .service-card {
      padding: 2.2rem 1.8rem; border-right: 1px solid var(--border);
      position: relative; transition: background 0.3s; overflow: hidden;
    }

    .service-card:last-child { border-right: none; }

    .service-card::before {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0;
      height: 2px; background: var(--accent);
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s var(--ease-out);
    }

    .service-card:hover::before { transform: scaleX(1); }
    .service-card:hover { background: rgba(56,189,248,0.04); }

    .service-num {
      font-family: var(--ff-disp); font-size: 3rem; font-weight: 300;
      color: rgba(15,23,42,0.10); line-height: 1; margin-bottom: 1.2rem;
      display: block; transition: color 0.3s;
    }

    .service-card:hover .service-num { color: rgba(15,23,42,0.75); }

    .service-card h3 {
      font-family: var(--ff-disp); font-size: 1.3rem; font-weight: 400;
      margin-bottom: 0.8rem; color: var(--navy);
    }

    .service-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

    /* =============================================
       TARIFAS — TABS INTERACTIVOS
       El "portfolio" se convierte ahora en el comparador
       de planes con pestañas navegables.
    ============================================= */
    #portfolio { padding: 4.5rem 0; }

    .portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
    .portfolio-header .section-title { max-width: 400px; }
    .portfolio-header p { color: var(--muted); font-size: 0.9rem; font-weight: 300; max-width: 280px; text-align: right; }

    /* Selector de pestañas */
    .pricing-tabs {
      display: flex; width: 100%;
      border: 1px solid var(--border);
      margin-bottom: 0;
      background: rgba(248,247,244,0.75);
    }

    .p-tab {
      flex: 1; display: flex; flex-direction: column; align-items: center;
      gap: 0.25rem; padding: 1rem 1.5rem;
      background: transparent; border: none; border-right: 1px solid var(--border);
      cursor: pointer; color: var(--muted);
      font-family: var(--ff-body); font-size: 0.85rem; font-weight: 400;
      letter-spacing: 0.03em;
      transition: background 0.25s, color 0.25s;
    }

    .p-tab:last-child { border-right: none; }

    .p-tab-price {
      font-family: var(--ff-disp); font-size: 1.05rem; font-weight: 600;
      color: var(--muted); letter-spacing: 0;
      transition: color 0.25s;
    }

    .p-tab.active {
      background: rgba(56,189,248,0.10);
      color: var(--navy);
      border-bottom: 2px solid var(--accent);
    }

    .p-tab.active .p-tab-price { color: var(--accent); }
    .p-tab:not(.active):hover { background: rgba(56,189,248,0.06); color: var(--navy); }

    /* Paneles de contenido */
    .pricing-panels { border: 1px solid var(--border); border-top: none; }

    .pricing-panel {
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      animation: panel-fade 0.35s var(--ease-out);
      background: var(--card);
      box-shadow: 0 4px 20px rgba(15,23,42,0.07);
    }

    .pricing-panel.active { display: grid; }

    @keyframes panel-fade {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Columna izquierda: detalles del plan */
    .pp-left {
      padding: 3rem;
      border-right: 1px solid var(--border);
      background: var(--card);
    }

    .pp-badge {
      display: inline-block; font-size: 0.68rem;
      letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
      background: rgba(56,189,248,0.1); color: var(--accent);
      padding: 0.25rem 0.75rem; margin-bottom: 1.2rem;
    }

    .pp-badge.popular { background: var(--accent); color: var(--black); }

    .pp-price {
      font-family: var(--ff-disp);
      font-size: clamp(3rem, 5vw, 4.5rem);
      font-weight: 300; line-height: 1; letter-spacing: -0.03em;
      color: var(--navy); margin-bottom: 0.4rem;
    }

    .pp-price sup { font-size: 1.4rem; vertical-align: super; margin-right: 2px; font-weight: 400; }

    .pp-desc {
      font-size: 0.9rem; color: var(--muted); font-weight: 300;
      line-height: 1.7; max-width: 340px; margin-bottom: 2rem;
    }

    /* Lista de características */
    .pp-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2.2rem; }

    .pp-features li {
      display: flex; align-items: flex-start; gap: 0.7rem;
      font-size: 0.87rem; color: var(--navy); font-weight: 300; line-height: 1.5;
    }

    .pp-check { color: var(--accent); flex-shrink: 0; font-size: 0.8rem; margin-top: 2px; }
    .pp-cross { color: rgba(106,144,170,0.4); flex-shrink: 0; font-size: 0.8rem; margin-top: 2px; }
    .pp-features li.dim { color: var(--muted); opacity: 0.55; text-decoration: line-through; text-decoration-color: rgba(100,116,139,0.4); }

    .pp-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.8rem; letter-spacing: 0.02em; }

    /* Columna derecha: mockup visual del tipo de web */
    .pp-right {
      padding: 3rem;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      background: rgba(15,23,42,0.4); position: relative; overflow: hidden;
    }

    .pp-right::before {
      content: ''; position: absolute; top: 20%; right: -10%;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 65%);
      pointer-events: none;
    }

    /* Browser mockup dentro del panel */
    .pp-browser {
      width: 100%; max-width: 380px;
      background: var(--card); border: 1px solid var(--border);
      border-radius: 8px; overflow: hidden;
      box-shadow: 0 30px 60px rgba(0,0,0,0.4);
      transition: transform 0.5s var(--ease-out);
    }

    .pp-browser:hover { transform: translateY(-6px); }

    .pp-browser-bar {
      background: var(--bg); padding: 0.55rem 0.8rem;
      display: flex; align-items: center; gap: 0.7rem;
      border-bottom: 1px solid var(--border);
    }

    .pp-dots { display: flex; gap: 4px; }
    .pp-dots span { width: 8px; height: 8px; border-radius: 50%; }
    .pp-dots span:nth-child(1) { background: #ff5f57; }
    .pp-dots span:nth-child(2) { background: #febc2e; }
    .pp-dots span:nth-child(3) { background: #28c840; }

    .pp-url {
      flex: 1; background: rgba(15,23,42,0.04);
      border-radius: 3px; padding: 0.2rem 0.6rem;
      font-size: 0.68rem; color: var(--muted); font-family: monospace;
    }

    .pp-screen { padding: 0.8rem; }

    /* Elementos de mockup reutilizables */
    .m-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; }
    .m-logo { width: 55px; height: 7px; border-radius: 3px; }
    .m-links { display: flex; gap: 5px; }
    .m-links span { width: 22px; height: 5px; border-radius: 2px; background: rgba(15,23,42,0.12); }
    .m-hero { border-radius: 4px; padding: 0.8rem; margin-bottom: 0.6rem; display: flex; flex-direction: column; gap: 0.35rem; }
    .m-h1 { height: 10px; border-radius: 2px; width: 65%; }
    .m-h2 { height: 7px; border-radius: 2px; width: 80%; opacity: 0.5; }
    .m-btn { height: 18px; width: 70px; border-radius: 2px; margin-top: 0.3rem; }
    .m-grid { display: grid; gap: 0.4rem; }
    .m-col { height: 30px; border-radius: 3px; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.15); }
    .m-shop { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; }
    .m-prod { display: flex; flex-direction: column; gap: 0.25rem; }
    .m-prod-img { height: 32px; border-radius: 3px; }
    .m-prod-line { height: 5px; border-radius: 2px; background: rgba(15,23,42,0.10); }
    .m-prod-price { height: 7px; width: 50%; border-radius: 2px; background: var(--accent); opacity: 0.6; }

    /* Nota al pie del comparador */
    .pricing-foot {
      margin-top: 1.5rem; text-align: center;
      font-size: 0.85rem; color: var(--muted); font-weight: 300;
    }

    .pricing-foot a { color: var(--accent); transition: opacity 0.2s; }
    .pricing-foot a:hover { opacity: 0.75; }

    /* =============================================
       PROCESO
    ============================================= */
    #proceso { padding: 4.5rem 0; background: #EEF3FD; border-top: 1px solid var(--border); }

    .proceso-header { text-align: center; margin-bottom: 2.5rem; }
    .proceso-header p { color: var(--slate); font-size: 1rem; font-weight: 300; max-width: 480px; margin: 1rem auto 0; }

    .proceso-steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }

    .proceso-steps::before {
      content: ''; position: absolute;
      top: 2.5rem; left: 15%; right: 15%; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
    }

    .step { padding: 0 2rem; text-align: center; position: relative; z-index: 1; }

    .step-num {
      width: 50px; height: 50px;
      border: 2px solid rgba(56,189,248,0.4); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.5rem; background: var(--bg-blue);
      font-family: var(--ff-disp); font-size: 1.2rem; font-weight: 300;
      color: var(--navy); transition: background 0.3s, border-color 0.3s;
    }

    .step:hover .step-num { background: rgba(15,23,42,0.10); border-color: var(--navy); color: var(--navy); }

    .step h3 { font-family: var(--ff-disp); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.6rem; color: var(--navy); }
    .step p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

    /* =============================================
       TESTIMONIOS — CARRUSEL INFINITO
    ============================================= */
    #testimonios { padding: 4.5rem 0; overflow: hidden; }

    .test-header { text-align: center; margin-bottom: 2rem; }

    /* El viewport aplica una máscara de degradado en los bordes
       para dar la ilusión de que el carrusel "desaparece" a los lados */
    .carousel-viewport {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
    }

    .carousel-track {
      display: flex;
      gap: 1.5rem;
      width: max-content;
      /* La animación y el offset se inyectan desde JS */
    }

    /* Pausa la animación CSS cuando el usuario hace hover */
    .carousel-track.paused { animation-play-state: paused !important; }

    @keyframes scroll-left {
      from { transform: translateX(0); }
      to   { transform: translateX(var(--carousel-offset, -50%)); }
    }

    .test-card {
      width: 340px; flex-shrink: 0;
      padding: 2rem; border: 1px solid var(--border);
      background: var(--card); position: relative;
      transition: border-color 0.3s, transform 0.3s;
    }

    .test-card:hover { border-color: rgba(56,189,248,0.2); transform: translateY(-4px); }

    .test-card::before {
      content: '\201C'; position: absolute; top: -0.5rem; left: 1.5rem;
      font-family: var(--ff-disp); font-size: 4rem;
      color: var(--accent); line-height: 1; opacity: 0.3;
    }

    .test-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
    .test-stars span { color: var(--accent); font-size: 0.85rem; }

    .test-text {
      font-size: 0.93rem; line-height: 1.75; color: var(--navy);
      font-weight: 300; font-style: italic; font-family: var(--ff-disp);
      margin-bottom: 1.5rem;
    }

    .test-author { display: flex; align-items: center; gap: 0.8rem; }

    .test-avatar {
      width: 38px; height: 38px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-disp); font-size: 1rem; font-weight: 600; flex-shrink: 0;
    }

    .test-name { font-size: 0.85rem; font-weight: 500; color: var(--navy); margin-bottom: 0.1rem; }
    .test-role { font-size: 0.75rem; color: var(--muted); }

    .test-result {
      margin-top: 1.2rem; padding: 0.7rem 0.9rem;
      background: rgba(56,189,248,0.07);
      border-left: 2px solid var(--accent);
      font-size: 0.82rem; color: var(--accent); font-weight: 500;
    }

    /* Puntos de navegación debajo del carrusel */
    .carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }

    .c-dot {
      width: 7px; height: 7px; border-radius: 50%;
      border: 1px solid rgba(56,189,248,0.35);
      background: transparent; cursor: pointer;
      transition: background 0.25s, transform 0.25s var(--ease-out);
      padding: 0;
    }

    .c-dot.active { background: var(--accent); transform: scale(1.4); border-color: var(--accent); }

    /* =============================================
       CTA BANNER INTERMEDIO
       Color: teal profundo degradado — incita a la acción
       con serenidad, sin la tensión del dorado/naranja.
    ============================================= */
    #cta-mid {
      padding: 4rem 0;
      background: #0F172A;
      position: relative; overflow: hidden;
    }

    #cta-mid::before {
      content: ''; position: absolute; inset: 0;
      background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 28px,
        rgba(56,189,248,0.03) 28px, rgba(56,189,248,0.03) 29px
      );
    }

    #cta-mid::after {
      content: ''; position: absolute;
      top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 50%; height: 200%;
      background: radial-gradient(ellipse, rgba(56,189,248,0.07) 0%, transparent 65%);
      pointer-events: none;
    }

    .cta-mid-inner { text-align: center; position: relative; z-index: 1; }

    .cta-mid-inner h2 {
      font-family: var(--ff-disp);
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 300; color: #F8F7F4;
      line-height: 1.1; margin-bottom: 1rem;
    }

    .cta-mid-inner p { color: rgba(248,247,244,0.6); font-size: 1rem; font-weight: 300; margin-bottom: 2rem; }

    .btn-dark {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: rgba(56,189,248,0.12); color: #F8F7F4;
      border: 1px solid rgba(56,189,248,0.3);
      padding: 0.9rem 2.2rem; font-size: 0.9rem;
      font-weight: 500; letter-spacing: 0.04em;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    }

    .btn-dark:hover { background: rgba(56,189,248,0.22); border-color: rgba(56,189,248,0.5); transform: translateY(-2px); }

    /* =============================================
       CONTACTO
    ============================================= */
    #contacto { padding: 4.5rem 0; background: var(--bg-blue); border-top: 1px solid var(--border); }

    .contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }

    .contact-info h2 {
      font-family: var(--ff-disp);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300; line-height: 1.15;
      margin-bottom: 1.2rem; color: var(--navy);
    }

    .contact-info h2 em { font-style: italic; color: var(--accent); }
    .contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; font-weight: 300; margin-bottom: 2.5rem; }

    .contact-details { display: flex; flex-direction: column; gap: 1rem; }

    .contact-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--navy); }
    .contact-item svg { color: var(--navy); flex-shrink: 0; }

    .form-wrap { background: var(--card); border: 1px solid var(--border); padding: 2.5rem; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-group.full { grid-column: span 2; }

    .form-group label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

    .form-group input,
    .form-group textarea,
    .form-group select {
      background: rgba(248,247,244,0.88);
      border: 1px solid var(--border);
      color: var(--navy); padding: 0.75rem 1rem;
      font-size: 0.9rem; font-weight: 300;
      transition: border-color 0.2s, background 0.2s;
      outline: none; resize: vertical; -webkit-appearance: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--accent);
      background: rgba(56,189,248,0.06);
    }

    .form-group select option { background: var(--card); }
    .form-group textarea { min-height: 120px; }

    .form-submit {
      margin-top: 1.5rem; width: 100%;
      display: flex; align-items: center; justify-content: center; gap: 0.6rem;
      background: var(--accent); color: var(--black);
      padding: 1rem 2rem; font-size: 0.95rem;
      font-weight: 500; letter-spacing: 0.04em;
      border: none; transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
      position: relative; overflow: hidden;
    }

    .form-submit::after {
      content: ''; position: absolute; inset: 0;
      background: rgba(15,23,42,0.10);
      transform: translateX(-100%);
      transition: transform 0.35s var(--ease-out);
    }

    .form-submit:hover::after { transform: translateX(0); }

    .form-submit:hover {
      background: #38BDF8;
      transform: translateY(-1px);
      box-shadow: 0 10px 28px rgba(56,189,248,0.2);
    }

    .form-note { margin-top: 0.8rem; font-size: 0.75rem; color: var(--muted); text-align: center; }

    .form-success { display: none; text-align: center; padding: 3rem 2rem; }

    .form-success .success-icon {
      width: 60px; height: 60px;
      border: 2px solid var(--accent); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.5rem; color: var(--accent); font-size: 1.5rem;
    }

    .form-success h3 { font-family: var(--ff-disp); font-size: 1.6rem; font-weight: 300; margin-bottom: 0.8rem; color: var(--navy); }
    .form-success p { color: var(--muted); font-size: 0.9rem; }

    .urgency-bar {
      background: rgba(56,189,248,0.08);
      border: 1px solid rgba(56,189,248,0.18);
      padding: 0.9rem 1.5rem;
      display: flex; align-items: center; justify-content: center;
      gap: 1rem; font-size: 0.85rem; margin-bottom: 2rem;
    }

    .urgency-bar strong { color: var(--accent); }

    .urgency-bar .urg-dot {
      width: 6px; height: 6px;
      background: var(--accent); border-radius: 50%;
      animation: pulse 2.5s infinite;
    }

    /* =============================================
       FOOTER
    ============================================= */
    footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg); }

    .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

    .footer-brand .nav-logo { margin-bottom: 1rem; display: block; }

    .footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; font-weight: 300; max-width: 250px; margin-bottom: 1.5rem; }

    .social-links { display: flex; gap: 0.8rem; }

    .social-link {
      width: 34px; height: 34px;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: 0.85rem;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }

    .social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(56,189,248,0.05); }

    .footer-col h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); font-weight: 500; margin-bottom: 1.2rem; }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 0.6rem; }
    .footer-col a { font-size: 0.87rem; color: var(--muted); font-weight: 300; transition: color 0.2s; }
    .footer-col a:hover { color: var(--accent); }

    .footer-bottom {
      padding-top: 2rem; border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
    }

    .footer-bottom p { font-size: 0.8rem; color: var(--muted); }
    .footer-bottom p span { color: var(--accent); }





    /* ---- Category pills ---- */
    .pricing-cats {
      display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem;
    }

    .p-cat {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.55rem 1.3rem;
      border: 1px solid var(--border);
      background: transparent; color: var(--muted);
      font-family: var(--ff-body); font-size: 0.78rem; font-weight: 500;
      letter-spacing: 0.06em; text-transform: uppercase;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
    }

    .p-cat-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: currentColor; opacity: 0.35; transition: opacity 0.2s;
    }

    .p-cat.active { background: var(--accent); color: var(--black); border-color: var(--accent); }
    .p-cat.active .p-cat-dot { opacity: 1; background: var(--black); }
    .p-cat:not(.active):hover { border-color: var(--accent); color: var(--navy); }

    .pricing-cat-group { display: none; }
    .pricing-cat-group.active { display: block; }

    /* Highlight for included extras */
    .pp-included {
      display: block; margin-top: 0.9rem;
      background: rgba(56,189,248,0.18);
      border: 1px solid rgba(56,189,248,0.35);
      color: var(--accent);
      font-family: var(--ff-body); font-size: 0.72rem; font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase;
      padding: 0.35rem 0.85rem;
    }

    .pricing-tabs {
      display: flex; width: 100%;
      border: 1px solid var(--border);
      margin-bottom: 0;
      background: rgba(248,247,244,0.75);
    }

    .p-tab {
      flex: 1; display: flex; flex-direction: column; align-items: center;
      gap: 0.25rem; padding: 1rem 1.5rem;
      background: transparent; border: none; border-right: 1px solid var(--border);
      cursor: pointer; color: var(--muted);
      font-family: var(--ff-body); font-size: 0.85rem; font-weight: 400;
      letter-spacing: 0.03em;
      transition: background 0.25s, color 0.25s;
    }

    .p-tab:last-child { border-right: none; }

    .p-tab-price {
      font-family: var(--ff-disp); font-size: 1.05rem; font-weight: 600;
      color: var(--muted); letter-spacing: 0;
      transition: color 0.25s;
    }

    .p-tab.active {
      background: rgba(56,189,248,0.10);
      color: var(--navy);
      border-bottom: 2px solid var(--accent);
    }

    .p-tab.active .p-tab-price { color: var(--accent); }
    .p-tab:not(.active):hover { background: rgba(56,189,248,0.06); color: var(--navy); }

    /* Paneles de contenido */
    .pricing-panels { border: 1px solid var(--border); border-top: none; }

    .pricing-panel {
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      animation: panel-fade 0.35s var(--ease-out);
      background: var(--card);
      box-shadow: 0 4px 20px rgba(15,23,42,0.07);
    }

    .pricing-panel.active { display: grid; }

    @keyframes panel-fade {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Columna izquierda: detalles del plan */
    .pp-left {
      padding: 3rem;
      border-right: 1px solid var(--border);
      background: var(--card);
    }

    .pp-badge {
      display: inline-block; font-size: 0.68rem;
      letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
      background: rgba(56,189,248,0.1); color: var(--accent);
      padding: 0.25rem 0.75rem; margin-bottom: 1.2rem;
    }

    .pp-badge.popular { background: var(--accent); color: var(--black); }

    .pp-price {
      font-family: var(--ff-disp);
      font-size: clamp(3rem, 5vw, 4.5rem);
      font-weight: 300; line-height: 1; letter-spacing: -0.03em;
      color: var(--navy); margin-bottom: 0.4rem;
    }

    .pp-price sup { font-size: 1.4rem; vertical-align: super; margin-right: 2px; font-weight: 400; }

    .pp-desc {
      font-size: 0.9rem; color: var(--muted); font-weight: 300;
      line-height: 1.7; max-width: 340px; margin-bottom: 2rem;
    }

    /* Lista de características */
    .pp-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2.2rem; }

    .pp-features li {
      display: flex; align-items: flex-start; gap: 0.7rem;
      font-size: 0.87rem; color: var(--navy); font-weight: 300; line-height: 1.5;
    }

    .pp-check { color: var(--accent); flex-shrink: 0; font-size: 0.8rem; margin-top: 2px; }
    .pp-cross { color: rgba(106,144,170,0.4); flex-shrink: 0; font-size: 0.8rem; margin-top: 2px; }
    .pp-features li.dim { color: var(--muted); opacity: 0.55; text-decoration: line-through; text-decoration-color: rgba(100,116,139,0.4); }

    .pp-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.8rem; letter-spacing: 0.02em; }

    /* Columna derecha: mockup visual del tipo de web */
    .pp-right {
      padding: 3rem;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      background: rgba(15,23,42,0.4); position: relative; overflow: hidden;
    }

    .pp-right::before {
      content: ''; position: absolute; top: 20%; right: -10%;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 65%);
      pointer-events: none;
    }

    /* Browser mockup dentro del panel */
    .pp-browser {
      width: 100%; max-width: 380px;
      background: var(--card); border: 1px solid var(--border);
      border-radius: 8px; overflow: hidden;
      box-shadow: 0 30px 60px rgba(0,0,0,0.4);
      transition: transform 0.5s var(--ease-out);
    }

    .pp-browser:hover { transform: translateY(-6px); }

    .pp-browser-bar {
      background: var(--bg); padding: 0.55rem 0.8rem;
      display: flex; align-items: center; gap: 0.7rem;
      border-bottom: 1px solid var(--border);
    }

    .pp-dots { display: flex; gap: 4px; }
    .pp-dots span { width: 8px; height: 8px; border-radius: 50%; }
    .pp-dots span:nth-child(1) { background: #ff5f57; }
    .pp-dots span:nth-child(2) { background: #febc2e; }
    .pp-dots span:nth-child(3) { background: #28c840; }

    .pp-url {
      flex: 1; background: rgba(15,23,42,0.04);
      border-radius: 3px; padding: 0.2rem 0.6rem;
      font-size: 0.68rem; color: var(--muted); font-family: monospace;
    }

    .pp-screen { padding: 0.8rem; }

    /* Elementos de mockup reutilizables */
    .m-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; }
    .m-logo { width: 55px; height: 7px; border-radius: 3px; }
    .m-links { display: flex; gap: 5px; }
    .m-links span { width: 22px; height: 5px; border-radius: 2px; background: rgba(15,23,42,0.12); }
    .m-hero { border-radius: 4px; padding: 0.8rem; margin-bottom: 0.6rem; display: flex; flex-direction: column; gap: 0.35rem; }
    .m-h1 { height: 10px; border-radius: 2px; width: 65%; }
    .m-h2 { height: 7px; border-radius: 2px; width: 80%; opacity: 0.5; }
    .m-btn { height: 18px; width: 70px; border-radius: 2px; margin-top: 0.3rem; }
    .m-grid { display: grid; gap: 0.4rem; }
    .m-col { height: 30px; border-radius: 3px; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.15); }
    .m-shop { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; }
    .m-prod { display: flex; flex-direction: column; gap: 0.25rem; }
    .m-prod-img { height: 32px; border-radius: 3px; }
    .m-prod-line { height: 5px; border-radius: 2px; background: rgba(15,23,42,0.10); }
    .m-prod-price { height: 7px; width: 50%; border-radius: 2px; background: var(--accent); opacity: 0.6; }

    /* Nota al pie del comparador */
    .pricing-foot {
      margin-top: 1.5rem; text-align: center;
      font-size: 0.85rem; color: var(--muted); font-weight: 300;
    }

    .pricing-foot a { color: var(--accent); transition: opacity 0.2s; }
    .pricing-foot a:hover { opacity: 0.75; }


    /* =============================================
       DEMO GRATUITA
    ============================================= */
    #demo {
      padding: 4.5rem 0;
      background: var(--bg-blue);
      border-top: 1px solid var(--border);
    }

    .demo-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .demo-text .tag { margin-bottom: 1rem; }

    .demo-text h2 {
      font-family: var(--ff-disp);
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 300; line-height: 1.1;
      margin-bottom: 1.2rem;
      color: var(--navy);
    }

    .demo-text h2 em { font-style: italic; color: var(--accent); }

    .demo-text p {
      color: var(--muted); font-size: 0.95rem;
      font-weight: 300; line-height: 1.7;
      margin-bottom: 2rem; max-width: 440px;
    }

    .demo-features {
      display: flex; flex-direction: column;
      gap: 0.8rem; margin-bottom: 2.2rem;
    }

    .demo-feature {
      display: flex; align-items: center; gap: 0.8rem;
      font-size: 0.9rem; color: var(--slate); font-weight: 300;
    }

    .demo-feature-icon {
      width: 22px; height: 22px; border-radius: 50%;
      background: rgba(56,189,248,0.25);
      border: 1px solid rgba(96,165,250,0.5);
      display: flex; align-items: center; justify-content: center;
      color: #93C5FD; font-size: 0.7rem; font-weight: 700;
      flex-shrink: 0;
    }

    .demo-cta-row {
      display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    }

    .demo-note {
      font-size: 0.78rem; color: var(--muted); font-weight: 300;
    }

    /* Browser mockup animado para demo */
    .demo-visual { position: relative; }

    .demo-browser {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0,0,0,0.4),
                  0 0 0 1px rgba(56,189,248,0.08);
      transform: perspective(900px) rotateY(4deg) rotateX(-1deg);
      transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
    }

    .demo-browser:hover {
      transform: perspective(900px) rotateY(1deg) rotateX(0deg);
    }

    .demo-browser-bar {
      background: #F0F2F5;
      padding: 0.65rem 1rem;
      display: flex; align-items: center; gap: 0.8rem;
      border-bottom: 1px solid var(--border);
    }

    .demo-browser-dots { display: flex; gap: 5px; }
    .demo-browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
    .demo-browser-dots span:nth-child(1) { background: #ff5f57; }
    .demo-browser-dots span:nth-child(2) { background: #febc2e; }
    .demo-browser-dots span:nth-child(3) { background: #28c840; }

    .demo-browser-url {
      flex: 1; background: rgba(255,255,255,0.6);
      border-radius: 4px; padding: 0.25rem 0.7rem;
      font-size: 0.72rem; color: var(--muted); font-family: monospace;
    }

    .demo-screen { padding: 1rem; }

    .demo-screen-hero {
      background: linear-gradient(135deg, #1E3A5F 0%, #1E3A5F 100%);
      border-radius: 5px;
      padding: 1.2rem;
      margin-bottom: 0.8rem;
      position: relative; overflow: hidden;
    }

    .demo-screen-hero::before {
      content: '';
      position: absolute; top: -20%; right: -10%;
      width: 120px; height: 120px;
      background: rgba(56,189,248,0.2);
      border-radius: 50%; filter: blur(30px);
    }

    .demo-screen-hero .dsh1 {
      height: 12px; width: 70%; border-radius: 3px;
      background: rgba(15,23,42,0.85);
      margin-bottom: 6px;
    }

    .demo-screen-hero .dsh2 {
      height: 8px; width: 50%; border-radius: 3px;
      background: rgba(15,23,42,0.25);
      margin-bottom: 12px;
    }

    .demo-screen-hero .dsbtn {
      height: 22px; width: 90px; border-radius: 3px;
      background: var(--accent);
    }

    .demo-screen-cards {
      display: grid; grid-template-columns: 1fr 1fr 1fr;
      gap: 0.5rem;
    }

    .demo-screen-card {
      background: rgba(15,23,42,0.03);
      border: 1px solid rgba(56,189,248,0.1);
      border-radius: 4px; padding: 0.5rem;
    }

    .demo-screen-card .dsc-img {
      height: 28px; border-radius: 3px; margin-bottom: 0.4rem;
    }

    .demo-screen-card .dsc-line {
      height: 5px; border-radius: 2px;
      background: rgba(15,23,42,0.07);
    }

    .demo-screen-card .dsc-line.short {
      width: 60%; margin-top: 0.25rem;
    }

    /* Pulse animation on demo CTA */
    @keyframes demo-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0.4); }
      50%       { box-shadow: 0 0 0 8px rgba(56,189,248,0); }
    }

    .btn-demo-pulse { animation: demo-pulse 2.5s infinite; }

    @media (max-width: 1024px) {
      .demo-inner { grid-template-columns: 1fr; gap: 3rem; }
      .demo-browser { transform: none !important; }
    }

    /* =============================================
       PROCESO
    ============================================= */
    #proceso { padding: 4.5rem 0; background: #EEF3FD; border-top: 1px solid var(--border); }

    .proceso-header { text-align: center; margin-bottom: 2.5rem; }
    .proceso-header p { color: var(--slate); font-size: 1rem; font-weight: 300; max-width: 480px; margin: 1rem auto 0; }

    .proceso-steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }

    .proceso-steps::before {
      content: ''; position: absolute;
      top: 2.5rem; left: 15%; right: 15%; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
    }

    .step { padding: 0 2rem; text-align: center; position: relative; z-index: 1; }

    .step-num {
      width: 50px; height: 50px;
      border: 2px solid rgba(56,189,248,0.4); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.5rem; background: var(--bg-blue);
      font-family: var(--ff-disp); font-size: 1.2rem; font-weight: 300;
      color: var(--navy); transition: background 0.3s, border-color 0.3s;
    }

    .step:hover .step-num { background: rgba(15,23,42,0.10); border-color: var(--navy); color: var(--navy); }

    .step h3 { font-family: var(--ff-disp); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.6rem; color: var(--navy); }
    .step p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

    /* =============================================
       TESTIMONIOS — CARRUSEL INFINITO
    ============================================= */
    #testimonios { padding: 4.5rem 0; overflow: hidden; }

    .test-header { text-align: center; margin-bottom: 2rem; }

    /* El viewport aplica una máscara de degradado en los bordes
       para dar la ilusión de que el carrusel "desaparece" a los lados */
    .carousel-viewport {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
    }

    .carousel-track {
      display: flex;
      gap: 1.5rem;
      width: max-content;
      /* La animación y el offset se inyectan desde JS */
    }

    /* Pausa la animación CSS cuando el usuario hace hover */
    .carousel-track.paused { animation-play-state: paused !important; }

    @keyframes scroll-left {
      from { transform: translateX(0); }
      to   { transform: translateX(var(--carousel-offset, -50%)); }
    }

    .test-card {
      width: 340px; flex-shrink: 0;
      padding: 2rem; border: 1px solid var(--border);
      background: var(--card); position: relative;
      transition: border-color 0.3s, transform 0.3s;
    }

    .test-card:hover { border-color: rgba(56,189,248,0.2); transform: translateY(-4px); }

    .test-card::before {
      content: '\201C'; position: absolute; top: -0.5rem; left: 1.5rem;
      font-family: var(--ff-disp); font-size: 4rem;
      color: var(--accent); line-height: 1; opacity: 0.3;
    }

    .test-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
    .test-stars span { color: var(--accent); font-size: 0.85rem; }

    .test-text {
      font-size: 0.93rem; line-height: 1.75; color: var(--navy);
      font-weight: 300; font-style: italic; font-family: var(--ff-disp);
      margin-bottom: 1.5rem;
    }

    .test-author { display: flex; align-items: center; gap: 0.8rem; }

    .test-avatar {
      width: 38px; height: 38px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-disp); font-size: 1rem; font-weight: 600; flex-shrink: 0;
    }

    .test-name { font-size: 0.85rem; font-weight: 500; color: var(--navy); margin-bottom: 0.1rem; }
    .test-role { font-size: 0.75rem; color: var(--muted); }

    .test-result {
      margin-top: 1.2rem; padding: 0.7rem 0.9rem;
      background: rgba(56,189,248,0.07);
      border-left: 2px solid var(--accent);
      font-size: 0.82rem; color: var(--accent); font-weight: 500;
    }

    /* Puntos de navegación debajo del carrusel */
    .carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }

    .c-dot {
      width: 7px; height: 7px; border-radius: 50%;
      border: 1px solid rgba(56,189,248,0.35);
      background: transparent; cursor: pointer;
      transition: background 0.25s, transform 0.25s var(--ease-out);
      padding: 0;
    }

    .c-dot.active { background: var(--accent); transform: scale(1.4); border-color: var(--accent); }

    /* =============================================
       CTA BANNER INTERMEDIO
       Color: teal profundo degradado — incita a la acción
       con serenidad, sin la tensión del dorado/naranja.
    ============================================= */
    #cta-mid {
      padding: 4rem 0;
      background: #0F172A;
      position: relative; overflow: hidden;
    }

    #cta-mid::before {
      content: ''; position: absolute; inset: 0;
      background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 28px,
        rgba(56,189,248,0.03) 28px, rgba(56,189,248,0.03) 29px
      );
    }

    #cta-mid::after {
      content: ''; position: absolute;
      top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 50%; height: 200%;
      background: radial-gradient(ellipse, rgba(56,189,248,0.07) 0%, transparent 65%);
      pointer-events: none;
    }

    .cta-mid-inner { text-align: center; position: relative; z-index: 1; }

    .cta-mid-inner h2 {
      font-family: var(--ff-disp);
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 300; color: #F8F7F4;
      line-height: 1.1; margin-bottom: 1rem;
    }

    .cta-mid-inner p { color: rgba(248,247,244,0.6); font-size: 1rem; font-weight: 300; margin-bottom: 2rem; }

    .btn-dark {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: rgba(56,189,248,0.12); color: #F8F7F4;
      border: 1px solid rgba(56,189,248,0.3);
      padding: 0.9rem 2.2rem; font-size: 0.9rem;
      font-weight: 500; letter-spacing: 0.04em;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    }

    .btn-dark:hover { background: rgba(56,189,248,0.22); border-color: rgba(56,189,248,0.5); transform: translateY(-2px); }

    /* =============================================
       CONTACTO
    ============================================= */
    #contacto { padding: 4.5rem 0; background: var(--bg-blue); border-top: 1px solid var(--border); }

    .contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }

    .contact-info h2 {
      font-family: var(--ff-disp);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300; line-height: 1.15;
      margin-bottom: 1.2rem; color: var(--navy);
    }

    .contact-info h2 em { font-style: italic; color: var(--accent); }
    .contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; font-weight: 300; margin-bottom: 2.5rem; }

    .contact-details { display: flex; flex-direction: column; gap: 1rem; }

    .contact-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--navy); }
    .contact-item svg { color: var(--navy); flex-shrink: 0; }

    .form-wrap { background: var(--card); border: 1px solid var(--border); padding: 2.5rem; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-group.full { grid-column: span 2; }

    .form-group label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

    .form-group input,
    .form-group textarea,
    .form-group select {
      background: rgba(248,247,244,0.88);
      border: 1px solid var(--border);
      color: var(--navy); padding: 0.75rem 1rem;
      font-size: 0.9rem; font-weight: 300;
      transition: border-color 0.2s, background 0.2s;
      outline: none; resize: vertical; -webkit-appearance: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--accent);
      background: rgba(56,189,248,0.06);
    }

    .form-group select option { background: var(--card); }
    .form-group textarea { min-height: 120px; }

    .form-submit {
      margin-top: 1.5rem; width: 100%;
      display: flex; align-items: center; justify-content: center; gap: 0.6rem;
      background: var(--accent); color: var(--black);
      padding: 1rem 2rem; font-size: 0.95rem;
      font-weight: 500; letter-spacing: 0.04em;
      border: none; transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
      position: relative; overflow: hidden;
    }

    .form-submit::after {
      content: ''; position: absolute; inset: 0;
      background: rgba(15,23,42,0.10);
      transform: translateX(-100%);
      transition: transform 0.35s var(--ease-out);
    }

    .form-submit:hover::after { transform: translateX(0); }

    .form-submit:hover {
      background: #38BDF8;
      transform: translateY(-1px);
      box-shadow: 0 10px 28px rgba(56,189,248,0.2);
    }

    .form-note { margin-top: 0.8rem; font-size: 0.75rem; color: var(--muted); text-align: center; }

    .form-success { display: none; text-align: center; padding: 3rem 2rem; }

    .form-success .success-icon {
      width: 60px; height: 60px;
      border: 2px solid var(--accent); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.5rem; color: var(--accent); font-size: 1.5rem;
    }

    .form-success h3 { font-family: var(--ff-disp); font-size: 1.6rem; font-weight: 300; margin-bottom: 0.8rem; color: var(--navy); }
    .form-success p { color: var(--muted); font-size: 0.9rem; }

    .urgency-bar {
      background: rgba(56,189,248,0.08);
      border: 1px solid rgba(56,189,248,0.18);
      padding: 0.9rem 1.5rem;
      display: flex; align-items: center; justify-content: center;
      gap: 1rem; font-size: 0.85rem; margin-bottom: 2rem;
    }

    .urgency-bar strong { color: var(--accent); }

    .urgency-bar .urg-dot {
      width: 6px; height: 6px;
      background: var(--accent); border-radius: 50%;
      animation: pulse 2.5s infinite;
    }

    /* =============================================
       FOOTER
    ============================================= */
    footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg); }

    .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

    .footer-brand .nav-logo { margin-bottom: 1rem; display: block; }

    .footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; font-weight: 300; max-width: 250px; margin-bottom: 1.5rem; }

    .social-links { display: flex; gap: 0.8rem; }

    .social-link {
      width: 34px; height: 34px;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: 0.85rem;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }

    .social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(56,189,248,0.05); }

    .footer-col h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); font-weight: 500; margin-bottom: 1.2rem; }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 0.6rem; }
    .footer-col a { font-size: 0.87rem; color: var(--muted); font-weight: 300; transition: color 0.2s; }
    .footer-col a:hover { color: var(--accent); }

    .footer-bottom {
      padding-top: 2rem; border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
    }

    .footer-bottom p { font-size: 0.8rem; color: var(--muted); }
    .footer-bottom p span { color: var(--accent); }


    /* ── Quiénes somos ── */
    #about { padding: 4rem 0; border-bottom: 1px solid var(--border); background: var(--card); }

    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 3rem; align-items: center;
    }

    .about-text .tag { margin-bottom: 1rem; }

    .about-text h2 {
      font-family: var(--ff-disp);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300; line-height: 1.15;
      margin-bottom: 1.2rem; color: var(--navy);
    }

    .about-text h2 em { font-style: italic; color: var(--accent); }

    .about-text p {
      color: var(--muted); font-size: 0.95rem;
      font-weight: 300; line-height: 1.75; margin-bottom: 1rem;
    }

    .about-values {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 1.2rem; margin-top: 2rem;
    }

    .about-value {
      padding: 1.2rem;
      border: 1px solid var(--border);
      background: rgba(15,23,42,0.03);
      transition: border-color 0.3s;
    }

    .about-value:hover { border-color: rgba(56,189,248,0.5); }

    .about-value-num {
      font-family: var(--ff-disp); font-size: 1.8rem;
      font-weight: 600; color: var(--accent); line-height: 1;
      margin-bottom: 0.3rem;
    }

    .about-value p {
      font-size: 0.8rem; color: var(--muted);
      margin: 0; line-height: 1.4;
    }

    .about-card {
      background: var(--card);
      border: 1px solid var(--border);
      padding: 2.5rem;
      box-shadow: 0 4px 24px rgba(15,23,42,0.07);
    }

    .about-card-title {
      font-family: var(--ff-disp); font-size: 1.1rem;
      font-weight: 400; color: var(--navy);
      margin-bottom: 1.5rem;
    }

    .about-card-item {
      display: flex; align-items: flex-start;
      gap: 0.8rem; margin-bottom: 1.2rem;
    }

    .about-card-icon {
      width: 36px; height: 36px; flex-shrink: 0;
      background: rgba(56,189,248,0.10);
      border: 1px solid rgba(56,189,248,0.18);
      display: flex; align-items: center;
      justify-content: center; color: var(--accent);
      border-radius: 6px;
    }

    .about-card-text strong {
      display: block; font-family: var(--ff-disp);
      font-size: 0.9rem; font-weight: 400;
      color: var(--navy); margin-bottom: 0.2rem;
    }

    .about-card-text span {
      font-size: 0.8rem; color: var(--muted);
      font-weight: 300; line-height: 1.5;
    }

    @media (max-width: 1024px) {
      .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    }


    /* ── Hero demo note ── */
    .hero-demo-note {
      display: flex; align-items: center; gap: 0.4rem;
      font-size: 0.8rem; color: var(--muted);
      margin-top: 1rem; font-weight: 400;
    }
    .hero-demo-note svg { color: #22c55e; flex-shrink: 0; }

    /* ── Testimonials ── */
    #testimonios {
      padding: 4.5rem 0;
      background: var(--bg-alt);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .test-header { text-align: center; margin-bottom: 3rem; }
    .test-header .section-title { margin-bottom: 0.6rem; }
    .test-subtext {
      color: var(--muted); font-size: 0.9rem; font-weight: 300;
      max-width: 440px; margin: 0.5rem auto 0;
    }

    .test-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }  /* fallback - carousel replaces this */

    .test-card {
      background: var(--card);
      border: 1px solid var(--border);
      padding: 2rem;
      position: relative;
      box-shadow: 0 2px 8px rgba(15,23,42,0.05);
      transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    }

    .test-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(15,23,42,0.1);
      border-color: rgba(56,189,248,0.35);
    }

    .test-quote {
      font-family: var(--ff-disp);
      font-size: 4rem; line-height: 0.8;
      color: rgba(56,189,248,0.3);
      margin-bottom: 0.8rem;
      font-weight: 700;
      letter-spacing: -0.05em;
      user-select: none;
    }

    .test-text {
      font-size: 0.9rem; color: var(--slate);
      line-height: 1.7; font-weight: 300;
      margin-bottom: 1.5rem;
      font-style: italic;
    }

    .test-author {
      display: flex; align-items: center; gap: 0.8rem;
      margin-bottom: 1rem;
    }

    .test-avatar {
      width: 38px; height: 38px;
      background: rgba(56,189,248,0.12);
      border: 1px solid rgba(56,189,248,0.25);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.72rem; font-weight: 600;
      color: var(--accent); flex-shrink: 0;
    }

    .test-author strong {
      display: block; font-size: 0.88rem;
      font-weight: 600; color: var(--navy);
    }

    .test-author span {
      font-size: 0.78rem; color: var(--muted); font-weight: 300;
    }

    .test-result {
      font-size: 0.75rem; font-weight: 600;
      color: var(--accent); letter-spacing: 0.04em;
      text-transform: uppercase;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
    }

    @media (max-width: 1024px) {
      .test-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .test-grid { grid-template-columns: 1fr; }
    }


    /* ── Testimonials Carousel ── */
    .test-carousel-wrap {
      position: relative;
      overflow: hidden;
    }

    .test-carousel {
      display: flex;
      gap: 1.5rem;
      transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* 3 visible at once on desktop — each card = 1/3 minus gap */
    .test-carousel .test-card {
      min-width: calc((100% - 3rem) / 3);
      max-width: calc((100% - 3rem) / 3);
      flex-shrink: 0;
      box-sizing: border-box;
      margin: 0;
    }

    @media (max-width: 900px) {
      .test-carousel .test-card {
        min-width: calc(100% - 1.5rem);
        max-width: calc(100% - 1.5rem);
      }
    }

    .test-carousel-nav {
      display: flex; align-items: center; justify-content: center;
      gap: 1rem; margin-top: 2rem;
    }

    .tc-prev, .tc-next {
      width: 40px; height: 40px;
      border: 1px solid var(--border);
      background: var(--card);
      color: var(--slate);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      border-radius: 50%;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }

    .tc-prev:hover, .tc-next:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .tc-dots {
      display: flex; gap: 0.5rem; align-items: center;
    }

    .tc-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--border);
      border: none; cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      padding: 0;
    }

    .tc-dot.active {
      background: var(--accent);
      transform: scale(1.3);
    }

    /* Override grid CSS for carousel context */
    .test-grid { display: none; } /* replaced by carousel */


    /* =============================================
       NUESTROS PROYECTOS
    ============================================= */
    #proyectos {
      padding: 4.5rem 0;
      background: var(--card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .proyectos-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .proyectos-header .section-title { margin-bottom: 0.6rem; }

    .proyectos-sub {
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 300;
      max-width: 480px;
      margin: 0.5rem auto 0;
      line-height: 1.65;
    }

    .proyectos-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.8rem;
      align-items: stretch;
    }

    .proyecto-card {
      position: relative;
      height: 100%;
      background:
        radial-gradient(circle at top right, rgba(56,189,248,0.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,250,252,1) 100%);
      border: 1px solid rgba(148,163,184,0.18);
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 18px 45px rgba(15,23,42,0.08);
      transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
    }

    .proyecto-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 26px 60px rgba(15,23,42,0.14);
      border-color: rgba(56,189,248,0.35);
    }

    /* Imagen de portada */
    .proyecto-img-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: var(--bg-blue);
    }

    .proyecto-img-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, transparent 42%);
      opacity: 0;
      transition: opacity 0.35s var(--ease-out);
      z-index: 1;
      pointer-events: none;
    }

    .proyecto-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
      transition: transform 0.5s var(--ease-out);
    }

    .proyecto-card:hover .proyecto-img-wrap img {
      transform: scale(1.04);
    }

    .proyecto-card:hover .proyecto-img-wrap::before {
      opacity: 1;
    }

    /* Overlay al hacer hover */
    .proyecto-img-wrap::after {
      content: '';
      position: absolute; inset: 0;
      background: rgba(15,23,42,0);
      transition: background 0.3s;
    }

    .proyecto-card:hover .proyecto-img-wrap::after {
      background: rgba(15,23,42,0.08);
    }

    /* Placeholder mientras no hay imagen */
    .proyecto-placeholder {
      width: 100%; height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 0.8rem;
      color: rgba(56,189,248,0.4);
      font-size: 0.8rem;
      font-weight: 400;
      letter-spacing: 0.04em;
      background: linear-gradient(135deg, var(--bg-blue) 0%, #EEF7FD 100%);
    }

    .proyecto-placeholder span {
      color: var(--muted);
      font-size: 0.78rem;
    }

    /* Info debajo de la imagen */
    .proyecto-info {
      padding: 1.15rem 1.2rem 1.3rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
      flex: 1;
    }

    .proyecto-copy {
      display: grid;
      gap: 0.55rem;
    }

    .proyecto-info h3 {
      font-family: var(--ff-body);
      font-size: 1.05rem;
      font-weight: 600;
      line-height: 1.25;
      color: var(--navy);
      margin: 0;
    }

    .proyecto-info p {
      margin: 0;
      color: var(--muted);
      font-size: 0.88rem;
      font-weight: 300;
      line-height: 1.65;
    }

    .proyecto-tag {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      background: rgba(56,189,248,0.1);
      border: 1px solid rgba(56,189,248,0.18);
      border-radius: 999px;
      padding: 0.35rem 0.75rem;
      width: fit-content;
    }

    .proyecto-link {
      display: flex;
      flex-direction: column;
      height: 100%;
      text-decoration: none;
      color: inherit;
    }

    .proyecto-link:not([href]) {
      cursor: default;
    }

    /* Overlay en hover */
    .proyecto-overlay {
      position: absolute; inset: 0;
      background: rgba(15,23,42,0);
      display: flex; align-items: center; justify-content: center;
      transition: background 0.35s var(--ease-out);
      z-index: 2;
    }

    .proyecto-card:hover .proyecto-overlay {
      background: rgba(15,23,42,0.45);
    }

    .proyecto-ver {
      color: #fff;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1.5px solid rgba(255,255,255,0.8);
      border-radius: 999px;
      padding: 0.6rem 1.4rem;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    }

    .proyecto-card:hover .proyecto-ver {
      opacity: 1;
      transform: translateY(0);
    }

    .proyecto-action {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      width: fit-content;
      font-size: 0.76rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--navy);
      padding-bottom: 0.15rem;
      border-bottom: 1px solid rgba(15,23,42,0.18);
      transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    }

    .proyecto-card:hover .proyecto-action {
      color: var(--accent);
      border-color: rgba(56,189,248,0.45);
      transform: translateX(4px);
    }


    /* Responsive */
    @media (max-width: 900px) {
      .proyectos-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 580px) {
      .proyectos-grid { grid-template-columns: 1fr; }
    }


    /* =============================================
       NUESTROS PROYECTOS
    ============================================= */
    #proyectos {
      padding: 4.5rem 0;
      background: var(--card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .proj-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .proj-subtext {
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 300;
      max-width: 480px;
      margin: 0.5rem auto 0;
      line-height: 1.65;
    }

    /* Grid 3 columnas */
    .proj-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-bottom: 3rem;
    }

    /* Tarjeta de proyecto */
    .proj-card {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--bg);
      box-shadow: 0 2px 8px rgba(15,23,42,0.06);
      transition: transform 0.3s var(--ease-out),
                  box-shadow 0.3s var(--ease-out),
                  border-color 0.3s;
      cursor: pointer;
      aspect-ratio: 16 / 10;
    }

    .proj-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(15,23,42,0.12);
      border-color: rgba(56,189,248,0.4);
    }

    /* Imagen de portada */
    .proj-thumb {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
      transition: transform 0.5s var(--ease-out);
    }

    .proj-card:hover .proj-thumb {
      transform: scale(1.03);
    }

    /* Overlay con info del proyecto */
    .proj-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(15,23,42,0.88) 0%,
        rgba(15,23,42,0.3) 50%,
        transparent 100%
      );
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.2rem 1.4rem;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .proj-card:hover .proj-overlay {
      opacity: 1;
    }

    .proj-overlay-title {
      font-family: var(--ff-disp);
      font-size: 1.05rem;
      font-weight: 400;
      color: #fff;
      margin-bottom: 0.2rem;
      line-height: 1.2;
    }

    .proj-overlay-type {
      font-size: 0.75rem;
      color: rgba(56,189,248,0.85);
      font-weight: 500;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    /* Badge "Ver proyecto" on hover */
    .proj-overlay-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin-top: 0.8rem;
      font-size: 0.78rem;
      font-weight: 600;
      color: #fff;
      background: rgba(56,189,248,0.2);
      border: 1px solid rgba(56,189,248,0.4);
      padding: 0.35rem 0.8rem;
      width: fit-content;
      transition: background 0.2s;
    }

    .proj-overlay-btn:hover {
      background: rgba(56,189,248,0.4);
    }

    /* Placeholder vacío */
    .proj-placeholder {
      background: var(--bg-alt);
      border: 2px dashed var(--border);
      cursor: default;
      box-shadow: none;
    }

    .proj-placeholder:hover {
      transform: none;
      box-shadow: none;
      border-color: var(--border);
    }

    .proj-placeholder-inner {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      color: var(--muted);
      font-size: 0.85rem;
      font-weight: 300;
    }

    .proj-placeholder-inner svg {
      opacity: 0.4;
    }

    /* CTA debajo del grid */
    .proj-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
    }

    .proj-cta p {
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 300;
      margin: 0;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .proj-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 640px) {
      .proj-grid { grid-template-columns: 1fr; }
    }

    /* =============================================
       RESPONSIVE
    ============================================= */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2,1fr); }
      .service-card:nth-child(2) { border-right: none; }
      .service-card:nth-child(1), .service-card:nth-child(2) { border-bottom: 1px solid var(--border); }
      .pricing-panel { grid-template-columns: 1fr; }
      .pp-left { border-right: none; border-bottom: 1px solid var(--border); }
      .pp-right { display: none; }
      .pricing-tabs { flex-wrap: wrap; }
      .p-tab { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--border); }
      .proceso-steps { grid-template-columns: repeat(2,1fr); gap: 2rem; }
      .proceso-steps::before { display: none; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .hero-inner { grid-template-columns: 1fr; padding-top: 3rem; }
      .hero-visual { display: none; }
      .benefits-grid { grid-template-columns: 1fr; gap: 3rem; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card { border-right: none; border-bottom: 1px solid var(--border); }
      .service-card:last-child { border-bottom: none; }
      .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
      .form-row { grid-template-columns: 1fr; }
      .form-group.full { grid-column: span 1; }
      .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
      .portfolio-header { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
      .portfolio-header p { text-align: left; }
      .proceso-steps { grid-template-columns: 1fr; }
      .hero-stats { grid-template-columns: 1fr; }
      .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
      .test-card { width: 280px; }

    @media (max-width: 768px) {
      #hero { min-height: 100svh; justify-content: flex-start; }
      .hero-inner { padding-top: 4.5rem !important; padding-bottom: 2rem; }
    }
    }

    /* ── Cookie Banner ── */
    #cookie-banner {
      position: fixed; bottom: 0; left: 0; right: 0;
      background: #EEF3FD;
      border-top: 1px solid var(--border);
      box-shadow: 0 -4px 20px rgba(15,23,42,0.1);
      padding: 1.2rem 2rem;
      display: flex; align-items: center; justify-content: space-between;
      gap: 1.5rem; flex-wrap: wrap;
      z-index: 9999;
      box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
    }
    #cookie-banner p {
      font-size: 0.82rem; color: var(--muted);
      font-family: var(--ff-body); line-height: 1.5;
      margin: 0; flex: 1; min-width: 240px;
    }
    #cookie-banner a { color: var(--accent); text-decoration: underline; }
    .cookie-btns { display: flex; gap: 0.6rem; flex-shrink: 0; }
    .btn-cookie-accept {
      background: var(--accent); color: #fff;
      border: none; padding: 0.55rem 1.4rem;
      font-family: var(--ff-body); font-size: 0.82rem;
      font-weight: 500; cursor: pointer;
      transition: background 0.2s;
    }
    .btn-cookie-accept:hover { background: #0284C7; }
    .btn-cookie-reject {
      background: transparent; color: var(--muted);
      border: 1px solid rgba(100,116,139,0.4);
      padding: 0.55rem 1.1rem;
      font-family: var(--ff-body); font-size: 0.82rem;
      cursor: pointer; transition: border-color 0.2s, color 0.2s;
    }
    .btn-cookie-reject:hover { border-color: var(--muted); color: var(--navy); }
  
    /* Shake animation (form validation) */

    @keyframes shake {
      0%,100% { transform: translateX(0); }
      20%  { transform: translateX(-6px); }
      40%  { transform: translateX(6px); }
      60%  { transform: translateX(-4px); }
      80%  { transform: translateX(4px); }
    }
