@charset "UTF-8";
   /* Mejoras avanzadas: Hero partículas 3D, glow y neon en texto, cards hover dinámico, roadmap neon, fondos geométricos interactivos */

/* Mejoras tecnológicas: glow, neón azul/cyan/violeta, animaciones 3D y hover dinámico */

    :root {
      --ink: #0d1321;
      --ink-2: #151c2e;
      --paper: #f7f2ea;
      --paper-2: #fffaf3;
      --text: #121826;
      --muted: #54596a;
      --line: rgba(18, 24, 38, 0.13);
      --line-dark: rgba(255, 255, 255, 0.14);
      --blue: #3457ff;
      --cyan: #27d9ff;
      --green: #20d498;
      --orange: #ff7a30;
      --violet: #8d5cff;
      --rose: #ff4d8d;
      /* Variantes "safe": mismo tono pero oscurecidas para garantizar 4.5:1
         con texto blanco encima (botones, círculos roadmap, service-code). */
      --blue-safe: #3457ff;
      --cyan-safe: #0a7689;
      --green-safe: #0a7354;
      --orange-safe: #b8470a;
      --violet-safe: #7a4be0;
      --rose-safe: #d6336b;
      --shadow: 0 28px 90px rgba(13, 19, 33, 0.16);
      --radius: 30px;
      --container: 1180px;
    }

    /* Respeta la preferencia del sistema de reducir animaciones (WCAG 2.3.3) */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--paper);
      color: var(--text);
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    button, input, textarea, select { font: inherit; }

    .container {
      width: min(var(--container), calc(100% - 40px));
      margin: 0 auto;
    }

    .ambient {
      position: fixed;
      inset: 0;
      z-index: -3;
      pointer-events: none;
      background:
        radial-gradient(circle at 12% 12%, rgba(52, 87, 255, 0.17), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(32, 212, 152, 0.14), transparent 25%),
        radial-gradient(circle at 78% 74%, rgba(255, 77, 141, 0.10), transparent 30%);
    }

    .grain {
      position: fixed;
      inset: 0;
      z-index: -2;
      pointer-events: none;
      opacity: 0.11;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    }

    .site-header {
      position: fixed;
      inset: 18px 0 auto;
      z-index: 999;
      pointer-events: none;
    }

    .nav {
      pointer-events: auto;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 24px;
      align-items: center;
      min-height: 72px;
      padding: 0 14px 0 20px;
      border-radius: 999px;
      background: rgba(255, 250, 243, 0.84);
      border: 1px solid rgba(18, 24, 38, 0.10);
      backdrop-filter: blur(22px);
      box-shadow: 0 18px 54px rgba(13, 19, 33, 0.10);
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 24px;
      font-weight: 900;
      letter-spacing: -0.055em;
      color: var(--ink);
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      border-radius: 18px;
      background: linear-gradient(135deg, var(--blue), var(--green));
      position: relative;
      box-shadow: 0 16px 34px rgba(52,87,255,0.22);
    }

    .logo-mark::before {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      right: 7px;
      top: 7px;
      border-radius: 50%;
      background: var(--paper-2);
    }

    .nav-links {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 7px;
    }

    .nav-links a {
      padding: 10px 13px;
      border-radius: 999px;
      color: #535b6c;
      font-size: 13px;
      font-weight: 850;
      transition: all 0.22s ease;
    }

    .nav-links a:hover {
      color: var(--ink);
      background: rgba(52, 87, 255, 0.08);
    }
    
    .nav-links a.cwp-active {
      color: var(--ink);
      background: rgba(52, 87, 255, 0.12);
      font-weight: 900;
    }

    .btn {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      min-height: 52px;
      padding: 0 22px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
      transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
    }

    .btn:hover { transform: translateY(-3px); }
    .btn-dark { background: var(--ink); color: #fff; box-shadow: 0 18px 44px rgba(13, 19, 33, 0.24); }
    .btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
    .btn-blue { color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 18px 44px rgba(52, 87, 255, 0.24); }

    .menu-toggle {
      display: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--ink);
      font-size: 22px;
    }

    .hero {
      position: relative;
      min-height: 100vh;
      padding: 150px 0 80px;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 0.78fr;
      gap: 54px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 13px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line);
      color: var(--blue);
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 12px 32px rgba(13, 19, 33, 0.06);
    }

    .eyebrow::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 18px rgba(32, 212, 152, 0.75);
    }

    .hero h1 {
      margin-top: 24px;
      max-width: 860px;
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(58px, 8vw, 118px);
      line-height: 0.86;
      letter-spacing: -0.055em;
      color: var(--ink);
    }

    .hero h1 span { 
      color: var(--blue);
      position: relative;
      z-index: 0;
      display: inline-block;
    }
    .hero h1 span::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 8px;
      height: 18px;
      background: rgba(32, 212, 152, 0.28);
      z-index: -1;
      border-radius: 999px;
    }

    .hero p {
      max-width: 690px;
      margin-top: 28px;
      color: var(--muted);
      font-size: 20px;
      line-height: 1.75;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 36px;
    }

    .hero-note {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 46px;
      max-width: 800px;
    }

    .hero-note span {
      padding: 14px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      color: #475467;
      font-size: 13px;
      font-weight: 850;
      box-shadow: 0 12px 30px rgba(13, 19, 33, 0.05);
    }

    .hero-visual {
      position: relative;
      min-height: 620px;
    }

    .stack-card {
      position: absolute;
      width: 330px;
      min-height: 190px;
      padding: 26px;
      border-radius: 30px;
      color: #fff;
      overflow: hidden;
      box-shadow: var(--shadow);
      transform: rotate(var(--rot));
      transition: transform 0.32s ease;
    }

    /* Capa oscura para que el texto blanco cumpla 4.5:1 sobre los degradados */
    .stack-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(13, 19, 33, 0.55);
      z-index: 0;
    }

    .stack-card small,
    .stack-card strong,
    .stack-card p {
      position: relative;
      z-index: 1;
    }

    .stack-card:hover {
      transform: rotate(0deg) translateY(-10px) scale(1.02);
      z-index: 5;
    }

    .stack-card small {
      display: block;
      color: rgba(255,255,255,0.92);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .stack-card strong {
      display: block;
      margin-top: 22px;
      font-size: 36px;
      line-height: 0.95;
      letter-spacing: -0.065em;
    }

    .stack-card p {
      margin-top: 14px;
      color: rgba(255,255,255,0.92);
      font-size: 14px;
      line-height: 1.55;
    }

    .stack-card.web { --rot: -6deg; left: 0; top: 32px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
    .stack-card.bi { --rot: 5deg; right: 12px; top: 150px; background: linear-gradient(135deg, var(--violet), var(--blue)); }
    .stack-card.soft { --rot: -4deg; left: 40px; bottom: 120px; background: linear-gradient(135deg, var(--green), #0f9d74); }
    .stack-card.ai { --rot: 7deg; right: 0; bottom: 12px; background: linear-gradient(135deg, var(--orange), var(--rose)); }

    .section {
      position: relative;
      padding: 112px 0;
    }

    .section-head {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 56px;
      align-items: end;
      margin-bottom: 54px;
    }

    .section-head-wide {
      grid-template-columns: 1fr;
      gap: 22px;
      align-items: start;
    }

    .section-head-wide .section-title {
      max-width: 100%;
    }

    .section-head-wide .section-lead {
      max-width: 820px;
    }

    @media (min-width: 1180px) {
      .section-head-wide .section-title.single-line {
        font-size: clamp(40px, 5.15vw, 70px);
      }
    }

    .section-kicker {
      display: block;
      color: var(--blue);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .section-title {
      margin-top: 16px;
      max-width: 870px;
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(42px, 6vw, 82px);
      line-height: 0.94;
      letter-spacing: -0.045em;
      color: var(--ink);
    }

    .section-lead {
      color: var(--muted);
      font-size: 18px;
      line-height: 1.75;
    }

    .services-showcase {
      display: grid;
      gap: 18px;
    }

    .service-line {
      display: grid;
      grid-template-columns: 190px 1fr 280px;
      gap: 24px;
      align-items: stretch;
      min-height: 210px;
      border-radius: 34px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 18px 50px rgba(13, 19, 33, 0.08);
      overflow: hidden;
      transition: transform 0.28s ease, box-shadow 0.28s ease;
    }

    .service-line:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow);
    }

    .service-code {
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      font-size: 26px;
      font-weight: 900;
      letter-spacing: -0.06em;
    }

    .service-copy {
      padding: 32px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .service-copy h3 {
      font-size: clamp(30px, 4vw, 54px);
      line-height: 0.95;
      letter-spacing: -0.075em;
      color: var(--ink);
    }

    .service-copy p {
      max-width: 680px;
      margin-top: 14px;
      color: var(--muted);
      line-height: 1.68;
    }

    .service-tags {
      padding: 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      align-content: center;
      border-left: 1px solid var(--line);
    }

    .service-tags span {
      padding: 8px 10px;
      border-radius: 999px;
      background: var(--paper);
      color: #475467;
      font-size: 12px;
      font-weight: 900;
    }

    .service-line.web { --accent: var(--blue); }
    .service-line.bi { --accent: var(--violet); }
    .service-line.soft { --accent: var(--green-safe); }
    .service-line.ai { --accent: var(--orange-safe); }

    .dark-section {
      color: #fff;
      background: var(--ink);
      overflow: hidden;
    }

    .dark-section .section-title { color: #fff; }
    .dark-section .section-kicker { color: var(--cyan); }
    .dark-section .section-lead { color: rgba(255,255,255,0.66); }

    .before-after {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .ba-card {
      min-height: 580px;
      padding: 36px;
      border-radius: 34px;
      border: 1px solid var(--line-dark);
      background: rgba(255,255,255,0.18);
      backdrop-filter: blur(12px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .ba-card.after {
      background: #fff;
      color: var(--ink);
    }

    .ba-card h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(42px, 5vw, 72px);
      line-height: 0.9;
      letter-spacing: -0.045em;
    }

    .ba-list {
      display: grid;
      gap: 12px;
      margin-top: 34px;
    }

    .ba-list span {
      display: block;
      padding: 18px;
      border-radius: 18px;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.22);
      color: rgba(255,255,255,0.92);
      line-height: 1.5;
      font-weight: 750;
    }

    .after .ba-list span {
      background: var(--paper);
      border-color: var(--line);
      color: var(--muted);
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .process-card {
      min-height: 340px;
      padding: 28px;
      border-radius: 30px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 18px 50px rgba(13, 19, 33, 0.08);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.28s ease, box-shadow 0.28s ease;
    }

    .process-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow);
    }

    .process-card small {
      color: var(--blue);
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .process-card h3 {
      margin-top: 24px;
      font-size: 30px;
      line-height: 0.98;
      letter-spacing: -0.065em;
    }

    .process-card p {
      color: var(--muted);
      line-height: 1.65;
    }

    .cases-board {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-auto-rows: minmax(420px, auto);
      gap: 18px;
    }

    .case-card {
      padding: 40px;
      border-radius: 32px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 18px 50px rgba(13, 19, 33, 0.08);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      position: relative;
    }

    .case-card.large {
      grid-column: span 2;
      grid-auto-rows: minmax(280px, auto);
    }

    .case-card::after {
      content: '';
      position: absolute;
      right: -80px;
      bottom: -80px;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      background: var(--accent, var(--blue));
      opacity: 0.14;
    }

    .case-card:nth-child(1) { --accent: var(--blue); }
    .case-card:nth-child(2) { --accent: var(--green); }
    .case-card:nth-child(3) { --accent: var(--orange); }
    .case-card:nth-child(4) { --accent: var(--violet); }
    .case-card:nth-child(5) { --accent: var(--rose); }

    .case-card small {
      color: var(--muted);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .case-card h3 {
      margin-top: 18px;
      max-width: 620px;
      font-size: clamp(28px, 3.5vw, 50px);
      line-height: 0.96;
      letter-spacing: -0.065em;
      position: relative;
      z-index: 1;
    }

    .case-card p {
      color: var(--muted);
      line-height: 1.65;
      position: relative;
      z-index: 1;
    }

    .contact-section {
      padding: 112px 0;
      background: linear-gradient(135deg, var(--blue), var(--violet));
      color: #fff;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 0.82fr;
      gap: 24px;
      align-items: stretch;
    }

    .contact-copy,
    .contact-form {
      padding: 40px;
      border-radius: 40px;
      border: 1px solid rgba(255,255,255,0.30);
      background: rgba(13,19,33,0.40);
      backdrop-filter: blur(24px);
    }

    .contact-copy h2 {
      max-width: 800px;
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(46px, 7vw, 92px);
      line-height: 0.88;
      letter-spacing: -0.045em;
    }

    .contact-copy p {
      max-width: 660px;
      margin-top: 24px;
      color: rgba(255,255,255,0.92);
      font-size: 18px;
      line-height: 1.75;
    }

    .form-grid { display: grid; gap: 14px; }
    .field { display: grid; gap: 8px; }

    .field label {
      color: rgba(255,255,255,0.92);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .field input,
    .field textarea,
    .field select {
      width: 100%;
      border: 1px solid rgba(255,255,255,0.35);
      border-radius: 18px;
      background: rgba(255,255,255,0.18);
      color: #fff;
      padding: 15px 16px;
    }

    .field input:focus-visible,
    .field textarea:focus-visible,
    .field select:focus-visible {
      outline: 3px solid #fff;
      outline-offset: 2px;
    }

    /* Foco visible consistente en toda la web (2.4.7) */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
      outline: 3px solid var(--blue);
      outline-offset: 3px;
      border-radius: 6px;
    }

    .skip-link {
      position: absolute;
      left: 16px;
      top: -60px;
      z-index: 2000;
      padding: 12px 20px;
      border-radius: 12px;
      background: var(--ink);
      color: #fff;
      font-weight: 800;
      transition: top 0.2s ease;
    }

    .skip-link:focus-visible {
      top: 16px;
      outline: 3px solid #fff;
      outline-offset: 3px;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .field input::placeholder,
    .field textarea::placeholder { color: rgba(255,255,255,0.72); }
    .field select option { color: var(--ink); }
    .field textarea { min-height: 140px; resize: vertical; }

    .site-footer {
      position: relative;
      overflow: hidden;
      padding: 58px 0;
      background: var(--ink);
      color: #fff;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 34px;
    }

    .footer-grid p,
    .footer-grid a {
      color: rgba(255,255,255,0.64);
      line-height: 1.8;
      font-size: 14px;
    }

    .footer-grid h4 {
      margin-bottom: 14px;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.13em;
    }

    .footer-grid .logo { color: #fff; }

    .footer-nav-block ul li { margin-bottom: 10px; }

    .reveal {
      opacity: 0;
      transform: translateY(34px);
      transition: opacity 0.82s ease, transform 0.82s ease;
    }

    .reveal.visible { opacity: 1; transform: translateY(0); }

    .client-roadmap {
      position: relative;
      display: grid;
      gap: 18px;
      margin-top: 16px;
    }

    .roadmap-line {
      position: absolute;
      left: 38px;
      top: 38px;
      bottom: 38px;
      width: 3px;
      border-radius: 999px;
      background: rgba(18, 24, 38, 0.10);
      overflow: hidden;
    }

    .roadmap-progress {
      display: block;
      width: 100%;
      height: 0%;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--blue), var(--green), var(--orange));
      transition: height 0.25s ease;
    }

    .roadmap-step {
      position: relative;
      display: grid;
      grid-template-columns: 80px 1fr 240px;
      gap: 24px;
      align-items: center;
      min-height: 132px;
      padding: 24px;
      border-radius: 32px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 18px 50px rgba(13, 19, 33, 0.07);
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
      overflow: hidden;
    }

    .roadmap-step::after {
      content: '';
      position: absolute;
      right: -90px;
      top: -90px;
      width: 210px;
      height: 210px;
      border-radius: 50%;
      background: var(--step-color, var(--blue));
      opacity: 0.09;
      transition: transform 0.28s ease, opacity 0.28s ease;
    }

    .roadmap-step:hover,
    .roadmap-step.active {
      transform: translateX(10px);
      box-shadow: var(--shadow);
      border-color: rgba(52, 87, 255, 0.25);
    }

    .roadmap-step:hover::after,
    .roadmap-step.active::after {
      transform: scale(1.25);
      opacity: 0.16;
    }

    .roadmap-number {
      position: relative;
      z-index: 2;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 20px;
      color: #fff;
      background: var(--step-color, var(--blue));
      font-weight: 900;
    }

    .roadmap-copy {
      position: relative;
      z-index: 1;
    }

    .roadmap-copy h3 {
      font-size: clamp(25px, 3vw, 40px);
      line-height: 0.98;
      letter-spacing: -0.065em;
      color: var(--ink);
    }

    .roadmap-copy p {
      max-width: 660px;
      margin-top: 10px;
      color: var(--muted);
      line-height: 1.65;
    }

    .roadmap-tag {
      position: relative;
      z-index: 1;
      justify-self: end;
      padding: 11px 13px;
      border-radius: 999px;
      color: var(--ink);
      background: var(--paper);
      border: 2px solid var(--step-color, var(--blue));
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .roadmap-step:nth-child(2) { --step-color: var(--blue-safe); }
    .roadmap-step:nth-child(3) { --step-color: var(--violet-safe); }
    .roadmap-step:nth-child(4) { --step-color: var(--green-safe); }
    .roadmap-step:nth-child(5) { --step-color: var(--orange-safe); }
    .roadmap-step:nth-child(6) { --step-color: var(--rose-safe); }
    .roadmap-step:nth-child(7) { --step-color: var(--cyan-safe); }
    

    @media (max-width: 980px) {
      .roadmap-step {
        grid-template-columns: 72px 1fr;
      }

      .roadmap-tag {
        grid-column: 2;
        justify-self: start;
      }
      .nav { grid-template-columns: auto auto; }
      .nav-links {
        position: fixed;
        inset: 100px 20px auto 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border-radius: 26px;
        background: rgba(255,250,243,0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
      }
      .nav-links.active { display: flex; }
      .nav-links a { padding: 15px; }
      .nav > .btn { display: none; }
      .menu-toggle { display: block; }
      .hero-grid, .section-head, .contact-grid { grid-template-columns: 1fr; }
      .hero-visual { min-height: 520px; }
      .hero-note, .process-grid { grid-template-columns: 1fr 1fr; }
      .service-line { grid-template-columns: 140px 1fr; }
      .service-tags { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
      .before-after { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 585px) {
      .container { width: min(100% - 28px, var(--container)); }
      .hero { padding-top: 126px; }
      .hero h1 { font-size: 56px; }
      .hero-actions { flex-direction: column; }
      .btn { width: 100%; }
      .hero-note, .process-grid, .cases-board { grid-template-columns: 1fr; }
      .hero-visual { min-height: auto; display: grid; gap: 14px; margin-top: 20px; }
      .stack-card { position: relative; inset: auto !important; width: 100%; min-height: 180px; transform: none !important; }
      .section, .contact-section { padding: 82px 0; }
      .service-line { grid-template-columns: 1fr; }
      .service-code { min-height: 90px; }
      .service-copy { padding: 24px; }
      .case-card.large { grid-column: auto; }
      .contact-copy, .contact-form { padding: 26px; }
      .roadmap-line {
        left: 32px;
      }

      .roadmap-step {
        grid-template-columns: 58px 1fr;
        gap: 16px;
        padding: 20px;
      }

      .roadmap-number {
        width: 48px;
        height: 48px;
        border-radius: 16px;
      }

      .roadmap-tag {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 64px;
        white-space: normal;
      }
    }

    /* ── Sección fondo geométrico animado ── */
    .geo-section {
      position: relative;
      padding: 140px 0;
      background: var(--ink-2);
      overflow: hidden;
      color: #fff;
    }

    .geo-canvas {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 0;
    }

    .geo-section .geo-content,
    .dark-section .container {
      position: relative;
      z-index: 2;
    }

    .geo-shape {
      position: relative;
      opacity: 0;
      animation: geoFloat linear infinite;
    }

    /* Hexágonos */
    .geo-shape.hex {
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    }

    /* Triángulos */
    .geo-shape.tri {
      clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    }

    /* Rombos */
    .geo-shape.diamond {
      clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }

    /* Cuadrados */
    .geo-shape.square {
      border-radius: 6px;
    }

    @keyframes geoFloat {
      0%   { transform: translateY(0px)   rotate(0deg);   opacity: 0; }
      8%   { opacity: 1; }
      50%  { transform: translateY(-40px) rotate(180deg); opacity: 1; }
      92%  { opacity: 1; }
      100% { transform: translateY(-90px) rotate(360deg); opacity: 0; }
    }



    .geo-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 820px;
      margin: 0 auto;
    }

    .geo-content .section-kicker { color: var(--cyan); }

    .geo-content .section-title {
      color: #fff;
      margin-bottom: 28px;
    }

    .geo-content p {
      color: rgba(255,255,255,0.68);
      font-size: 19px;
      line-height: 1.8;
      margin-bottom: 44px;
    }

    .geo-stats {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 24px;
      margin-top: 56px;
    }

    .geo-stat {
      text-align: center;
      padding: 36px 20px;
      border-radius: 24px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.20);
      backdrop-filter: blur(12px);
    }

    .geo-stat strong {
      display: block;
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(54px, 7vw, 96px);
      line-height: 1;
      letter-spacing: -0.055em;
      background: linear-gradient(135deg, var(--cyan), var(--green));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .geo-stat span {
      display: block;
      margin-top: 12px;
      color: rgba(255,255,255,0.55);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    @media (max-width: 768px) {
      .geo-stats { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 585px) {
      .geo-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    }
    /* ── Formas geométricas sección contacto ── */
    .contact-section {
      position: relative;
      overflow: hidden;
    }

    .contact-section .geo-canvas {
      z-index: 0;
    }

    .contact-section .container {
      position: relative;
      z-index: 1;
    }

  
@media (max-width: 768px) {
  .geo-stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
  
h1, h2, h3, h4 { line-height:1.2em; margin-bottom:0.75rem; }
p { line-height:1.4em; margin-top:0.5rem; margin-bottom:0.75rem; }
  
.case-card, .process-card, .stack-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
}
h1, h2, h3, h4 { line-height:1.2em; margin-bottom:0.75rem; }
p { line-height:1.4em; margin-top:0.5rem; margin-bottom:0.75rem; }
  
@keyframes bounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.button-bounce {
  display: inline-block;
  transition: transform 0.2s;
}