/* ============================================================
   Andina Web Studio — styles.css
============================================================ */

    /* ==========================================
       VARIABLES Y RESET
    ========================================== */
    :root {
      --navy: #0A1628;
      --blue: #1A3A5C;
      --sky: #2D6FA3;
      --ice: #A8C8E8;
      --white: #F7F9FC;
      --grey-soft: #EDF1F7;
      --grey-mid: #8A9BB0;
      --grey-text: #4A5568;
      --accent: #3B8EC8;
      --gold: #C9A96E;

      --radius-sm: 6px;
      --radius-md: 14px;
      --radius-lg: 24px;

      --shadow-sm: 0 2px 12px rgba(10, 22, 40, 0.07);
      --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.12);
      --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.18);

      --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

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

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--white);
      color: var(--navy);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    img {
      display: block;
      width: 100%;
      object-fit: cover;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* ==========================================
       SCROLL ANIMATIONS
    ========================================== */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 {
      transition-delay: 0.1s;
    }

    .reveal-delay-2 {
      transition-delay: 0.2s;
    }

    .reveal-delay-3 {
      transition-delay: 0.3s;
    }

    .reveal-delay-4 {
      transition-delay: 0.4s;
    }

    /* ==========================================
       NAVIGATION
    ========================================== */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 0 5%;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background var(--transition), box-shadow var(--transition);
    }

    nav.scrolled {
      background: rgba(247, 249, 252, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-logo-icon {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
    }

    .nav-logo-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--navy);
      line-height: 1.1;
    }

    .nav-logo-text span {
      display: block;
      font-size: 0.6rem;
      font-family: 'DM Mono', monospace;
      font-weight: 300;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--sky);
      margin-top: 1px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--grey-text);
      transition: color 0.3s;
    }

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

    .nav-cta {
      background: var(--navy);
      color: var(--white) !important;
      padding: 10px 22px;
      border-radius: 40px;
      font-size: 0.78rem !important;
      letter-spacing: 0.08em !important;
      transition: background 0.3s, transform 0.2s !important;
    }

    .nav-cta:hover {
      background: var(--sky) !important;
      transform: translateY(-1px);
      color: var(--white) !important;
    }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
      background: none;
      border: none;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--navy);
      border-radius: 2px;
      transition: var(--transition);
    }

    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      inset: 72px 0 0 0;
      background: rgba(247, 249, 252, 0.97);
      backdrop-filter: blur(20px);
      z-index: 99;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 36px;
    }

    .mobile-menu.open {
      display: flex;
    }

    .mobile-menu a {
      font-size: 1.5rem;
      font-family: 'Cormorant Garamond', serif;
      font-weight: 500;
      color: var(--navy);
      letter-spacing: 0.04em;
      transition: color 0.3s;
    }

    .mobile-menu a:hover {
      color: var(--sky);
    }

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

    /* Fondo montañas SVG */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .hero-bg-gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #EDF2F8 0%, #F7F9FC 50%, #E8F0F8 100%);
    }

    .hero-mountain {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      opacity: 0.12;
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(45, 111, 163, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 111, 163, 0.05) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .hero-circle-1 {
      position: absolute;
      top: -100px;
      right: -100px;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(45, 111, 163, 0.08) 0%, transparent 70%);
    }

    .hero-circle-2 {
      position: absolute;
      bottom: -50px;
      left: -50px;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(168, 200, 232, 0.12) 0%, transparent 70%);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 760px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(45, 111, 163, 0.08);
      border: 1px solid rgba(45, 111, 163, 0.15);
      border-radius: 40px;
      padding: 6px 16px 6px 10px;
      margin-bottom: 32px;
      opacity: 0;
      animation: fadeUp 0.8s 0.2s forwards;
    }

    .hero-badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--sky);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(1.3);
      }
    }

    .hero-badge span {
      font-family: 'DM Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--sky);
      font-weight: 400;
    }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(3rem, 7vw, 6rem);
      font-weight: 300;
      line-height: 1.05;
      color: var(--navy);
      letter-spacing: -0.01em;
      margin-bottom: 12px;
      opacity: 0;
      animation: fadeUp 0.9s 0.4s forwards;
    }

    .hero-title strong {
      font-weight: 600;
      color: var(--sky);
    }

    .hero-subtitle {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      font-weight: 400;
      color: var(--grey-text);
      line-height: 1.5;
      margin-bottom: 24px;
      max-width: 580px;
      opacity: 0;
      animation: fadeUp 0.9s 0.55s forwards;
    }

    .hero-desc {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--grey-mid);
      line-height: 1.8;
      max-width: 480px;
      margin-bottom: 44px;
      opacity: 0;
      animation: fadeUp 0.9s 0.7s forwards;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp 0.9s 0.85s forwards;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--navy);
      color: var(--white);
      padding: 15px 32px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: background var(--transition), transform 0.2s, box-shadow 0.3s;
      cursor: pointer;
      border: none;
      box-shadow: 0 4px 20px rgba(10, 22, 40, 0.2);
    }

    .btn-primary:hover {
      background: var(--sky);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(45, 111, 163, 0.3);
    }

    .btn-primary svg {
      transition: transform 0.3s;
    }

    .btn-primary:hover svg {
      transform: translateX(4px);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      color: var(--navy);
      padding: 15px 32px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: 1.5px solid rgba(10, 22, 40, 0.18);
      transition: border-color 0.3s, color 0.3s, transform 0.2s;
      cursor: pointer;
    }

    .btn-secondary:hover {
      border-color: var(--sky);
      color: var(--sky);
      transform: translateY(-2px);
    }

    /* Scroll indicator */
    .scroll-indicator {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      opacity: 0;
      animation: fadeUp 1s 1.3s forwards;
    }

    .scroll-line {
      width: 1px;
      height: 48px;
      background: linear-gradient(to bottom, transparent, var(--sky));
      animation: scrollDown 2s infinite;
    }

    @keyframes scrollDown {
      0% {
        transform: scaleY(0);
        transform-origin: top;
      }

      50% {
        transform: scaleY(1);
        transform-origin: top;
      }

      51% {
        transform: scaleY(1);
        transform-origin: bottom;
      }

      100% {
        transform: scaleY(0);
        transform-origin: bottom;
      }
    }

    .scroll-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--grey-mid);
    }

    /* ==========================================
       SECTION SHARED
    ========================================== */
    section {
      padding: 100px 5%;
    }

    .section-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--sky);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-label::before {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--sky);
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 400;
      color: var(--navy);
      line-height: 1.15;
      letter-spacing: -0.01em;
    }

    .section-title strong {
      font-weight: 600;
      color: var(--sky);
    }

    .section-desc {
      font-size: 0.95rem;
      color: var(--grey-text);
      line-height: 1.8;
      max-width: 520px;
      margin-top: 16px;
      font-weight: 300;
    }

    /* ==========================================
       PROYECTOS
    ========================================== */
    #proyectos {
      background: var(--navy);
      position: relative;
      overflow: hidden;
    }

    #proyectos::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(168, 200, 232, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 200, 232, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    #proyectos .section-label {
      color: var(--ice);
    }

    #proyectos .section-label::before {
      background: var(--ice);
    }

    #proyectos .section-title {
      color: var(--white);
    }

    #proyectos .section-title strong {
      color: var(--ice);
    }

    #proyectos .section-desc {
      color: rgba(247, 249, 252, 0.5);
    }

    .proyectos-header {
      margin-bottom: 64px;
    }

    .proyectos-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }

    .proyecto-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(168, 200, 232, 0.1);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
      cursor: pointer;
      position: relative;
    }

    .proyecto-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
      border-color: rgba(168, 200, 232, 0.25);
    }

    .proyecto-img-wrap {
      position: relative;
      height: 240px;
      overflow: hidden;
      background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
    }

    .proyecto-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.5s ease, filter 0.4s;
      filter: brightness(0.9) saturate(0.95);
      display: block;
    }

    .proyecto-card:hover .proyecto-img-wrap img {
      transform: scale(1.04);
      filter: brightness(0.55) saturate(0.85);
    }

    /* Hover overlay centrado con botón Ver sitio */
    .proyecto-hover-overlay {
      position: absolute;
      inset: 0;
      background: rgba(5, 14, 28, 0.5);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
    }

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

    .btn-ver-sitio-overlay {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: var(--white);
      color: var(--navy);
      padding: 12px 26px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transform: translateY(10px) scale(0.94);
      opacity: 0;
      transition: transform 0.3s ease 0.05s, opacity 0.3s ease 0.05s, background 0.2s, color 0.2s;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      white-space: nowrap;
    }

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

    .btn-ver-sitio-overlay:hover {
      background: var(--sky);
      color: var(--white);
    }

    /* Número badge */
    .proyecto-number {
      position: absolute;
      top: 16px;
      left: 16px;
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.12em;
      color: rgba(255, 255, 255, 0.8);
      background: rgba(10, 22, 40, 0.5);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      padding: 5px 11px;
      border-radius: 40px;
      z-index: 2;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Degradado inferior de imagen */
    .proyecto-img-bottom-fade {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 70px;
      background: linear-gradient(to top, rgba(10, 22, 40, 0.6) 0%, transparent 100%);
      pointer-events: none;
      z-index: 1;
    }

    .proyecto-body {
      padding: 26px 28px 28px;
    }

    .proyecto-nombre {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 8px;
      letter-spacing: -0.01em;
      line-height: 1.2;
    }

    .proyecto-desc {
      font-size: 0.83rem;
      color: rgba(247, 249, 252, 0.5);
      line-height: 1.65;
      margin-bottom: 18px;
      font-weight: 300;
    }

    .proyecto-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 22px;
    }

    .tag {
      font-size: 0.7rem;
      font-weight: 400;
      letter-spacing: 0.02em;
      color: rgba(168, 200, 232, 0.85);
      background: rgba(168, 200, 232, 0.08);
      border: 1px solid rgba(168, 200, 232, 0.15);
      padding: 4px 11px;
      border-radius: 40px;
      font-family: 'DM Sans', sans-serif;
    }

    /* CTA row inferior */
    .proyecto-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .btn-demo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--navy);
      background: var(--ice);
      border: none;
      padding: 11px 22px;
      border-radius: 40px;
      transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
      box-shadow: 0 2px 12px rgba(168, 200, 232, 0.15);
    }

    .btn-demo:hover {
      background: var(--sky);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(45, 111, 163, 0.35);
    }

    .btn-demo svg {
      transition: transform 0.3s;
    }

    .btn-demo:hover svg {
      transform: translate(2px, -2px);
    }

    .proyecto-arrow-link {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(168, 200, 232, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(168, 200, 232, 0.5);
      transition: border-color 0.3s, color 0.3s, background 0.3s;
      flex-shrink: 0;
    }

    .proyecto-arrow-link:hover {
      border-color: var(--sky);
      color: var(--sky);
      background: rgba(45, 111, 163, 0.1);
    }

    /* Tool logos en footer */
    .footer-tools {
      margin-top: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer-tools-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(247, 249, 252, 0.2);
    }

    .footer-tools-icons {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .tool-logo {
      width: 20px;
      height: 20px;
      object-fit: contain;
      opacity: 0.3;
      transition: opacity 0.3s;
      display: inline-block;
    }

    .tool-logo:hover {
      opacity: 0.65;
    }

    /* ==========================================
       SOBRE NOSOTROS
    ========================================== */
    #sobre {
      background: var(--white);
      position: relative;
    }

    .sobre-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .sobre-visual {
      position: relative;
    }

    .sobre-img-main {
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 1/1;
      background: linear-gradient(135deg, #D4E5F5 0%, #A8C8E8 100%);
      box-shadow: var(--shadow-lg);
    }

    /* Composición visual Andes */
    .sobre-andes {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .sobre-card-float {
      position: absolute;
      bottom: -20px;
      right: -20px;
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      box-shadow: var(--shadow-md);
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 220px;
    }

    .sobre-card-float .icon-wrap {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(45, 111, 163, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .sobre-card-float .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1;
    }

    .sobre-card-float .stat-label {
      font-size: 0.72rem;
      color: var(--grey-mid);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .sobre-card-float-2 {
      position: absolute;
      top: 24px;
      left: -20px;
      background: var(--navy);
      border-radius: var(--radius-md);
      padding: 14px 18px;
      box-shadow: var(--shadow-md);
      min-width: 160px;
    }

    .sobre-card-float-2 .label {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ice);
      margin-bottom: 6px;
    }

    .sobre-card-float-2 .value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 500;
      color: var(--white);
    }

    .sobre-text {}

    .sobre-text .section-desc {
      max-width: 100%;
      margin-bottom: 32px;
    }

    .sobre-features {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .sobre-feature {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;
      border-radius: var(--radius-md);
      background: var(--grey-soft);
      transition: background var(--transition);
    }

    .sobre-feature:hover {
      background: rgba(45, 111, 163, 0.06);
    }

    .sobre-feature-icon {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background: rgba(45, 111, 163, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--sky);
    }

    .sobre-feature-title {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 4px;
    }

    .sobre-feature-desc {
      font-size: 0.82rem;
      color: var(--grey-mid);
      line-height: 1.6;
      font-weight: 300;
    }

    /* ==========================================
       PROCESO
    ========================================== */
    #proceso {
      background: var(--grey-soft);
      overflow: hidden;
      position: relative;
    }

    #proceso::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 5%;
      right: 5%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--ice), transparent);
      transform: translateY(-50%);
    }

    .proceso-header {
      text-align: center;
      margin-bottom: 64px;
    }

    .proceso-header .section-label {
      justify-content: center;
    }

    .proceso-header .section-label::before {
      display: none;
    }

    .proceso-header .section-label::after {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--sky);
    }

    .proceso-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
      z-index: 1;
    }

    .proceso-step {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      text-align: center;
      border: 1px solid rgba(10, 22, 40, 0.06);
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }

    .proceso-step:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: var(--ice);
    }

    .paso-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3rem;
      font-weight: 300;
      color: var(--ice);
      line-height: 1;
      margin-bottom: 16px;
    }

    .paso-icon {
      width: 52px;
      height: 52px;
      margin: 0 auto 20px;
      border-radius: 12px;
      background: rgba(45, 111, 163, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--sky);
    }

    .paso-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      font-weight: 500;
      color: var(--navy);
      margin-bottom: 10px;
    }

    .paso-desc {
      font-size: 0.8rem;
      color: var(--grey-mid);
      line-height: 1.7;
      font-weight: 300;
    }

    /* ==========================================
       CONTACTO
    ========================================== */
    #contacto {
      background: var(--white);
      position: relative;
      overflow: hidden;
    }

    #contacto::before {
      content: '';
      position: absolute;
      top: -200px;
      right: -200px;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(168, 200, 232, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .contacto-text .section-desc {
      margin-bottom: 32px;
    }

    .contacto-info {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 40px;
    }

    .contacto-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 20px;
      border-radius: var(--radius-md);
      background: var(--grey-soft);
      border: 1px solid transparent;
      transition: border-color 0.3s, background 0.3s;
    }

    .contacto-item:hover {
      border-color: var(--ice);
      background: white;
    }

    .contacto-item-icon {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--sky);
      background: rgba(45, 111, 163, 0.08);
    }

    .contacto-item-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--grey-mid);
      margin-bottom: 2px;
    }

    .contacto-item-value {
      font-size: 0.9rem;
      color: var(--navy);
      font-weight: 500;
    }

    .contacto-buttons {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .btn-email {
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--navy);
      color: var(--white);
      padding: 16px 28px;
      border-radius: 50px;
      font-size: 0.84rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
      justify-content: center;
    }

    .btn-email:hover {
      background: var(--sky);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(45, 111, 163, 0.3);
    }

    .btn-whatsapp {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #25D366;
      color: white;
      padding: 16px 28px;
      border-radius: 50px;
      font-size: 0.84rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
      justify-content: center;
    }

    .btn-whatsapp:hover {
      background: #1ebe5b;
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3);
    }

    /* Tarjeta decorativa contacto */
    .contacto-card {
      background: var(--navy);
      border-radius: var(--radius-lg);
      padding: 48px 40px;
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .contacto-card::before {
      content: '';
      position: absolute;
      bottom: -60px;
      right: -60px;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: rgba(45, 111, 163, 0.25);
    }

    .contacto-card::after {
      content: '';
      position: absolute;
      top: -40px;
      left: -40px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: rgba(168, 200, 232, 0.08);
    }

    .contacto-card-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ice);
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
    }

    .contacto-card-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      font-weight: 400;
      color: var(--white);
      line-height: 1.3;
      margin-bottom: 24px;
      position: relative;
      z-index: 1;
    }

    .contacto-card-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: relative;
      z-index: 1;
    }

    .contacto-card-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.84rem;
      color: rgba(247, 249, 252, 0.65);
      font-weight: 300;
    }

    .contacto-card-list li::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--sky);
      flex-shrink: 0;
    }

    /* ==========================================
       FOOTER
    ========================================== */
    footer {
      background: var(--navy);
      padding: 60px 5% 40px;
      position: relative;
      overflow: hidden;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(168, 200, 232, 0.2), transparent);
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(168, 200, 232, 0.08);
      margin-bottom: 40px;
    }

    .footer-brand .nav-logo-text {
      color: var(--white);
      font-size: 1.2rem;
    }

    .footer-brand .nav-logo-text span {
      color: var(--ice);
    }

    .footer-tagline {
      font-size: 0.84rem;
      color: rgba(247, 249, 252, 0.4);
      line-height: 1.8;
      font-weight: 300;
      margin-top: 16px;
      max-width: 260px;
    }

    .footer-col-title {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--ice);
      margin-bottom: 20px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer-links a {
      font-size: 0.84rem;
      color: rgba(247, 249, 252, 0.45);
      font-weight: 300;
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: var(--ice);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-copy {
      font-size: 0.76rem;
      color: rgba(247, 249, 252, 0.25);
      font-weight: 300;
      font-family: 'DM Mono', monospace;
    }

    .footer-credit {
      font-size: 0.76rem;
      color: rgba(247, 249, 252, 0.2);
      font-family: 'DM Mono', monospace;
    }

    .footer-credit span {
      color: rgba(168, 200, 232, 0.4);
    }

    /* ── Video hover en desktop ── */
    .mockup-screen-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }

    .proyecto-card:hover .mockup-screen-video {
      opacity: 1;
    }

    /* ==========================================
       RESPONSIVE
    ========================================== */
    @media (max-width: 1024px) {
      .proyectos-grid {
        grid-template-columns: 1fr !important;
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
      }

      .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .sobre-inner {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .sobre-visual {
        display: block;
      }

      .sobre-img-main {
        aspect-ratio: 4/3;
        max-width: 500px;
        margin: 0 auto;
      }

      .footer-inner {
        grid-template-columns: 1fr 1fr;
      }
    }

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

      .hamburger {
        display: flex;
      }

      section {
        padding: 72px 5%;
      }

      .proceso-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }

      .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }

      .proyectos-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: 100%;
      }

      .proyecto-card {
        transform: none !important;
        box-shadow: none !important;
      }

      .proyecto-card[data-tilt] {
        transform: none !important;
      }

      .mockup-screen {
        height: 200px;
      }

      .mockup-screen-video {
        display: none;
      }

      .sobre-img-main {
        aspect-ratio: 4/3;
        max-width: 100%;
      }

      #sobre-canvas {
        min-height: 280px;
      }
    }

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

      .hero-buttons {
        flex-direction: column;
      }

      .btn-primary,
      .btn-secondary {
        justify-content: center;
      }

      .proyectos-grid {
        grid-template-columns: 1fr !important;
      }

      .mockup-screen {
        height: 170px;
      }

      .mockup-bar {
        padding: 7px 10px;
      }

      .mockup-url {
        font-size: 0.52rem;
      }

      .precios-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
      }
    }

    /* ==========================================
       CURSOR PERSONALIZADO (desktop)
    ========================================== */
    @media (pointer: fine) {
      .cursor {
        width: 8px;
        height: 8px;
        background: var(--sky);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, background 0.2s;
        mix-blend-mode: multiply;
      }

      .cursor-ring {
        width: 36px;
        height: 36px;
        border: 1.5px solid rgba(45, 111, 163, 0.4);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: width 0.35s ease, height 0.35s ease, transform 0.08s linear;
      }

      body:has(a:hover) .cursor {
        width: 14px;
        height: 14px;
        background: var(--accent);
      }

      body:has(a:hover) .cursor-ring {
        width: 52px;
        height: 52px;
        border-color: var(--sky);
      }
    }

    /* ==========================================
       PRELOADER
    ========================================== */
    #preloader {
      position: fixed;
      inset: 0;
      background: var(--navy);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      transition: opacity 0.6s ease, visibility 0.6s;
    }

    #preloader.done {
      opacity: 0;
      visibility: hidden;
    }

    .preloader-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--white);
      letter-spacing: 0.1em;
      opacity: 0;
      animation: fadeUp 0.6s 0.3s forwards;
    }

    .preloader-bar-wrap {
      width: 160px;
      height: 1px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 1px;
      overflow: hidden;
      opacity: 0;
      animation: fadeUp 0.6s 0.5s forwards;
    }

    .preloader-bar {
      height: 100%;
      background: var(--sky);
      border-radius: 1px;
      animation: loadBar 1.2s ease forwards;
    }

    @keyframes loadBar {
      from {
        width: 0;
      }

      to {
        width: 100%;
      }
    }

    /* ==========================================
       HERO ROTATING TEXT
    ========================================== */
    .hero-rotating-text {
      display: inline-block;
      position: relative;
      height: 1.5em;
      min-width: 180px;
      overflow: hidden;
      vertical-align: bottom;
    }

    .hero-rotating-text span {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      color: var(--sky);
      font-weight: 500;
      white-space: nowrap;
      opacity: 0;
      transform: translateY(70%);
      animation: textRotate 16s infinite;
    }

    .hero-rotating-text span:nth-child(1) {
      animation-delay: 0s;
    }

    .hero-rotating-text span:nth-child(2) {
      animation-delay: 4s;
    }

    .hero-rotating-text span:nth-child(3) {
      animation-delay: 8s;
    }

    .hero-rotating-text span:nth-child(4) {
      animation-delay: 12s;
    }

    @keyframes textRotate {
      0% {
        opacity: 0;
        transform: translateY(70%);
      }

      8% {
        opacity: 1;
        transform: translateY(0%);
      }

      22% {
        opacity: 1;
        transform: translateY(0%);
      }

      30% {
        opacity: 0;
        transform: translateY(-70%);
      }

      100% {
        opacity: 0;
        transform: translateY(-70%);
      }
    }

    /* ==========================================
       PROYECTOS MOCKUP INTERACTIVO
    ========================================== */
    .proyectos-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }

    .proyecto-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(168, 200, 232, 0.1);
      border-radius: var(--radius-lg);
      overflow: visible;
      transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
      cursor: pointer;
      position: relative;
      transform-style: preserve-3d;
      perspective: 1000px;
    }

    .proyecto-card:hover {
      box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
      border-color: rgba(168, 200, 232, 0.3);
    }

    .proyecto-card-inner {
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    /* Mockup laptop */
    .proyecto-mockup {
      position: relative;
      padding: 20px 20px 0;
      background: rgba(10, 22, 40, 0.6);
      border-bottom: none;
    }

    .mockup-browser {
      background: #1a2a3a;
      border-radius: 8px 8px 0 0;
      overflow: hidden;
      box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    }

    .mockup-bar {
      background: #0f1e2e;
      padding: 9px 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .mockup-dots {
      display: flex;
      gap: 5px;
    }

    .mockup-dots span {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .mockup-dots span:nth-child(1) {
      background: #ff5f57;
    }

    .mockup-dots span:nth-child(2) {
      background: #febc2e;
    }

    .mockup-dots span:nth-child(3) {
      background: #28c840;
    }

    .mockup-url {
      flex: 1;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 4px;
      padding: 4px 10px;
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      color: rgba(255, 255, 255, 0.35);
      letter-spacing: 0.05em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Scroll container con clip */
    .mockup-screen {
      height: 220px;
      overflow: hidden;
      position: relative;
      cursor: ns-resize;
    }

    .mockup-screen-img {
      width: 100%;
      display: block;
      transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
      transform: translateY(0);
    }

    .proyecto-card:hover .mockup-screen-img {
      transform: translateY(calc(-100% + 220px));
    }

    /* Overlay hover encima del mockup */
    .proyecto-mockup-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent 60%, rgba(10, 22, 40, 0.5) 100%);
      pointer-events: none;
    }

    /* ==========================================
       THREE.JS SOBRE SECTION
    ========================================== */
    .sobre-canvas-wrap {
      width: 100%;
      height: 100%;
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    #sobre-canvas {
      width: 100% !important;
      height: 100% !important;
      display: block;
      border-radius: var(--radius-lg);
    }

    .sobre-canvas-label {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(168, 200, 232, 0.35);
      white-space: nowrap;
      pointer-events: none;
    }

    /* ==========================================
       HERO PARTICLES CANVAS
    ========================================== */
    #hero-particles {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    /* ==========================================
       SECCIÓN PRECIOS
    ========================================== */
    #precios {
      background: var(--white);
      position: relative;
      overflow: hidden;
    }

    #precios::before {
      content: '';
      position: absolute;
      bottom: -120px;
      left: -120px;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(168, 200, 232, 0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .precios-header {
      text-align: center;
      margin-bottom: 64px;
    }

    .precios-header .section-label {
      justify-content: center;
    }

    .precios-header .section-label::before {
      display: none;
    }

    .precios-header .section-label::after {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--sky);
    }

    .precios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }

    .precio-card {
      border-radius: var(--radius-lg);
      padding: 40px 32px;
      border: 1px solid rgba(10, 22, 40, 0.08);
      background: var(--white);
      position: relative;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }

    .precio-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: var(--ice);
    }

    .precio-card.featured {
      background: var(--navy);
      border-color: transparent;
      transform: scale(1.04);
    }

    .precio-card.featured:hover {
      transform: scale(1.04) translateY(-6px);
      box-shadow: 0 24px 60px rgba(10, 22, 40, 0.25);
    }

    .precio-badge {
      display: inline-block;
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--sky);
      background: rgba(45, 111, 163, 0.1);
      border: 1px solid rgba(45, 111, 163, 0.2);
      padding: 4px 12px;
      border-radius: 40px;
      margin-bottom: 24px;
    }

    .precio-card.featured .precio-badge {
      color: var(--ice);
      background: rgba(168, 200, 232, 0.1);
      border-color: rgba(168, 200, 232, 0.2);
    }

    .precio-badge.popular {
      color: var(--gold);
      background: rgba(201, 169, 110, 0.1);
      border-color: rgba(201, 169, 110, 0.25);
    }

    .precio-nombre {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 8px;
    }

    .precio-card.featured .precio-nombre {
      color: var(--white);
    }

    .precio-desc-short {
      font-size: 0.82rem;
      color: var(--grey-mid);
      line-height: 1.6;
      margin-bottom: 28px;
      font-weight: 300;
    }

    .precio-card.featured .precio-desc-short {
      color: rgba(247, 249, 252, 0.5);
    }

    .precio-monto {
      margin-bottom: 32px;
    }

    .precio-desde {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--grey-mid);
      display: block;
      margin-bottom: 4px;
    }

    .precio-card.featured .precio-desde {
      color: rgba(247, 249, 252, 0.4);
    }

    .precio-numero {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1;
    }

    .precio-card.featured .precio-numero {
      color: var(--white);
    }

    .precio-numero sup {
      font-size: 1.2rem;
      font-weight: 400;
      vertical-align: super;
      margin-right: 2px;
      color: var(--sky);
    }

    .precio-card.featured .precio-numero sup {
      color: var(--ice);
    }

    .precio-rango {
      font-size: 0.75rem;
      color: var(--grey-mid);
      margin-top: 4px;
      font-weight: 300;
    }

    .precio-card.featured .precio-rango {
      color: rgba(247, 249, 252, 0.4);
    }

    .precio-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px;
    }

    .precio-features li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.83rem;
      color: var(--grey-text);
      line-height: 1.5;
      font-weight: 300;
    }

    .precio-card.featured .precio-features li {
      color: rgba(247, 249, 252, 0.65);
    }

    .precio-features li::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--sky);
      flex-shrink: 0;
      margin-top: 6px;
    }

    .precio-card.featured .precio-features li::before {
      background: var(--ice);
    }

    .btn-precio {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 13px 24px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
    }

    .btn-precio.outline {
      border: 1.5px solid rgba(10, 22, 40, 0.15);
      color: var(--navy);
      background: transparent;
    }

    .btn-precio.outline:hover {
      border-color: var(--sky);
      color: var(--sky);
      transform: translateY(-2px);
    }

    .btn-precio.solid {
      background: var(--ice);
      color: var(--navy);
      border: none;
    }

    .btn-precio.solid:hover {
      background: var(--sky);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(45, 111, 163, 0.3);
    }

    .precios-nota {
      text-align: center;
      margin-top: 40px;
      font-size: 0.8rem;
      color: var(--grey-mid);
      font-weight: 300;
      line-height: 1.7;
    }

    .precios-nota strong {
      color: var(--grey-text);
      font-weight: 500;
    }

    @media (max-width: 900px) {
      .precios-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
      }

      .precio-card.featured {
        transform: scale(1);
      }

      .precio-card.featured:hover {
        transform: translateY(-6px);
      }
    }

    /* ==========================================
       BEHIND THE CODE — franja VS Code
    ========================================== */
    #behind {
      background: var(--navy);
      padding: 80px 5%;
      position: relative;
      overflow: hidden;
    }

    #behind::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(168, 200, 232, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 200, 232, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .behind-inner {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 64px;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .behind-text .section-label {
      color: var(--ice);
    }

    .behind-text .section-label::before {
      background: var(--ice);
    }

    .behind-text .section-title {
      color: var(--white);
    }

    .behind-text .section-title strong {
      color: var(--ice);
    }

    .behind-desc {
      font-size: 0.9rem;
      color: rgba(247, 249, 252, 0.5);
      line-height: 1.8;
      font-weight: 300;
      margin-top: 16px;
    }

    .behind-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 28px;
    }

    .behind-pill {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ice);
      background: rgba(168, 200, 232, 0.08);
      border: 1px solid rgba(168, 200, 232, 0.15);
      padding: 5px 12px;
      border-radius: 40px;
    }

    /* Mockup VS Code */
    .vscode-mockup {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(168, 200, 232, 0.08);
    }

    .vscode-titlebar {
      background: #1e1e1e;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .vscode-dots {
      display: flex;
      gap: 5px;
    }

    .vscode-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .vscode-dots span:nth-child(1) {
      background: #ff5f57;
    }

    .vscode-dots span:nth-child(2) {
      background: #febc2e;
    }

    .vscode-dots span:nth-child(3) {
      background: #28c840;
    }

    .vscode-filename {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      color: rgba(255, 255, 255, 0.35);
      letter-spacing: 0.06em;
    }

    .vscode-body {
      background: #1e1e1e;
      display: flex;
    }

    .vscode-sidebar {
      width: 36px;
      background: #252526;
      border-right: 1px solid rgba(255, 255, 255, 0.04);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 12px 0;
      gap: 16px;
      flex-shrink: 0;
    }

    .vscode-sidebar-icon {
      width: 18px;
      height: 18px;
      opacity: 0.35;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .vscode-linenums {
      background: #1e1e1e;
      padding: 14px 10px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      flex-shrink: 0;
    }

    .vscode-linenums span {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      color: rgba(255, 255, 255, 0.18);
      line-height: 1.7;
      text-align: right;
      display: block;
    }

    .vscode-code {
      padding: 14px 16px;
      overflow: hidden;
      flex: 1;
    }

    .vscode-code .cl {
      display: block;
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      line-height: 1.75;
      white-space: nowrap;
    }

    .c-grey {
      color: #6a9955;
    }

    /* comentario verde */
    .c-blue {
      color: #569cd6;
    }

    /* keyword azul */
    .c-orange {
      color: #ce9178;
    }

    /* string naranja */
    .c-yellow {
      color: #dcdcaa;
    }

    /* function amarillo */
    .c-white {
      color: #d4d4d4;
    }

    /* texto normal */
    .c-purple {
      color: #c586c0;
    }

    /* keyword morado */
    .c-teal {
      color: #4ec9b0;
    }

    /* type teal */

    @media (max-width: 900px) {
      .behind-inner {
        grid-template-columns: 1fr;
      }
    }

    /* ==========================================
       PROCESO — video / placeholder
    ========================================== */
    .proceso-video-wrap {
      max-width: 680px;
      margin: 40px auto 0;
    }

    .proceso-video {
      width: 100%;
      border-radius: var(--radius-md);
      display: block;
      box-shadow: var(--shadow-md);
    }

    /* Placeholder animado */
    .proceso-video-placeholder {
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      border: 1px solid rgba(10, 22, 40, 0.08);
    }

    .pvp-mockup {
      background: #1e1e1e;
    }

    .pvp-bar {
      background: #2d2d2d;
      padding: 9px 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .pvp-dots {
      display: flex;
      gap: 5px;
    }

    .pvp-dots span {
      width: 9px;
      height: 9px;
      border-radius: 50%;
    }

    .pvp-dots span:nth-child(1) {
      background: #ff5f57;
    }

    .pvp-dots span:nth-child(2) {
      background: #febc2e;
    }

    .pvp-dots span:nth-child(3) {
      background: #28c840;
    }

    .pvp-filename {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      color: rgba(255, 255, 255, 0.3);
      letter-spacing: 0.05em;
    }

    .pvp-screen {
      padding: 20px 24px 24px;
      min-height: 140px;
      display: flex;
      align-items: flex-start;
    }

    .pvp-typing {
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem;
      line-height: 1.9;
    }

    .pvp-line {
      display: block;
      opacity: 0;
      animation: lineAppear 0.3s forwards;
    }

    .pvp-line.l1 {
      animation-delay: 0.2s;
    }

    .pvp-line.l2 {
      animation-delay: 0.7s;
    }

    .pvp-line.l3 {
      animation-delay: 1.2s;
    }

    .pvp-line.l4 {
      animation-delay: 1.7s;
    }

    .pvp-line.l5 {
      animation-delay: 2.2s;
    }

    @keyframes lineAppear {
      from {
        opacity: 0;
        transform: translateX(-4px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .pvp-cursor {
      display: inline-block;
      width: 2px;
      height: 14px;
      background: var(--sky);
      vertical-align: middle;
      margin-left: 2px;
      animation: blink 1s infinite;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0;
      }
    }

    .pvp-label {
      background: var(--grey-soft);
      padding: 10px 16px;
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      color: var(--grey-mid);
      text-align: center;
      text-transform: uppercase;
    }

    /* ==========================================
       FOOTER — MÉTODOS DE PAGO
    ========================================== */
    .footer-payments {
      display: flex;
      align-items: center;
      gap: 14px;
      padding-top: 20px;
      border-top: 1px solid rgba(168, 200, 232, 0.06);
      margin-top: 16px;
      flex-wrap: wrap;
    }

    .footer-payments-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(247, 249, 252, 0.2);
      white-space: nowrap;
    }

    .footer-payments-icons {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .pay-icon-img {
      height: 22px;
      width: auto;
      max-width: 64px;
      object-fit: contain;
      opacity: 0.35;
      transition: opacity 0.3s, filter 0.3s;
      filter: brightness(10);
    }

    .pay-icon-img:hover {
      opacity: 0.75;
    }

    /* ==========================================
       TESTIMONIOS — OCULTOS (activar en el futuro)
       Para mostrar: cambiar display:none a display:block
       en la sección #testimonios en el HTML
    ========================================== */
    #testimonios {
      display: none;
    }

    /* ==========================================
       THREE.JS MOBILE FIX
    ========================================== */
    @media (max-width: 768px) {
      .sobre-img-main {
        aspect-ratio: 4/3;
      }

      #sobre-canvas {
        min-height: 280px;
      }
    }

    /* ==========================================
       FORMULARIO DE CONTACTO
    ========================================== */
    .contacto-inner {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 56px;
      align-items: start;
    }

    /* Columna derecha: tarjeta + formulario apilados */
    .contacto-right {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .contacto-form-wrap {
      background: var(--grey-soft);
      border-radius: var(--radius-lg);
      padding: 32px 28px;
      border: 1px solid rgba(10, 22, 40, 0.06);
    }

    .contacto-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--grey-mid);
    }

    .form-input {
      background: var(--white);
      border: 1.5px solid rgba(10, 22, 40, 0.1);
      border-radius: var(--radius-sm);
      padding: 11px 14px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.88rem;
      color: var(--navy);
      outline: none;
      transition: border-color 0.3s, box-shadow 0.3s;
      width: 100%;
    }

    .form-input::placeholder {
      color: var(--grey-mid);
      font-weight: 300;
    }

    .form-input:focus {
      border-color: var(--sky);
      box-shadow: 0 0 0 3px rgba(45, 111, 163, 0.08);
    }

    .form-select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A9BB0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      cursor: pointer;
    }

    .form-textarea {
      resize: vertical;
      min-height: 95px;
      line-height: 1.6;
    }

    .btn-form-submit {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--navy);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 13px 28px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
      margin-top: 4px;
    }

    .btn-form-submit:hover {
      background: var(--sky);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(45, 111, 163, 0.3);
    }

    .form-success {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(40, 200, 64, 0.08);
      border: 1px solid rgba(40, 200, 64, 0.2);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      font-size: 0.84rem;
      color: var(--navy);
      font-weight: 500;
      margin-top: 6px;
    }

    @media (max-width: 1024px) {
      .contacto-inner {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

    @media (max-width: 768px) {
      .contacto-form-wrap {
        padding: 22px 16px;
      }
    }
    /* ==========================================
       CARD — PRÓXIMO PROYECTO
    ========================================== */
    .proyecto-card-next {
      background: transparent !important;
      border: 1.5px dashed rgba(168,200,232,0.2) !important;
      cursor: default;
    }
    .proyecto-card-next:hover {
      transform: translateY(-4px) !important;
      box-shadow: 0 16px 40px rgba(0,0,0,0.2) !important;
      border-color: rgba(168,200,232,0.35) !important;
    }
    .proyecto-next-inner {
      height: 100%;
      min-height: 340px;
    }
    .proyecto-next-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 48px 32px;
      height: 100%;
      gap: 16px;
    }
    .proyecto-next-icon {
      margin-bottom: 4px;
      animation: spinSlow 12s linear infinite;
    }
    @keyframes spinSlow {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }
    .proyecto-next-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(168,200,232,0.4);
    }
    .proyecto-next-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 500;
      color: rgba(247,249,252,0.8);
      line-height: 1.1;
      margin: 0;
    }
    .proyecto-next-desc {
      font-size: 0.82rem;
      color: rgba(247,249,252,0.35);
      line-height: 1.7;
      font-weight: 300;
      max-width: 260px;
    }
    .proyecto-next-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
      padding: 10px 22px;
      border-radius: 50px;
      border: 1px solid rgba(168,200,232,0.25);
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--ice);
      transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
    }
    .proyecto-next-btn:hover {
      background: var(--sky);
      border-color: var(--sky);
      color: var(--white);
      transform: translateY(-2px);
    }

  
    /* ==========================================
       FAQ
    ========================================== */
    #faq {
      background: var(--grey-soft);
      padding: 100px 5%;
    }
    .faq-container {
      max-width: 680px;
      margin: 0 auto;
    }
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-bottom: 1px solid rgba(10,22,40,0.08); }
    .faq-item:first-child { border-top: 1px solid rgba(10,22,40,0.08); }
    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 22px 0;
      background: none;
      border: none;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--navy);
      text-align: left;
      transition: color 0.3s;
    }
    .faq-question:hover { color: var(--sky); }
    .faq-icon {
      flex-shrink: 0;
      transition: transform 0.3s ease;
      color: var(--grey-mid);
    }
    .faq-question[aria-expanded="true"] .faq-icon {
      transform: rotate(180deg);
      color: var(--sky);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
    }
    .faq-answer.open { max-height: 200px; padding-bottom: 20px; }
    .faq-answer p {
      font-size: 0.88rem;
      color: var(--grey-text);
      line-height: 1.8;
      font-weight: 300;
    }

/* ==========================================
   CARRUSEL DE RESEÑAS (dentro de precios-grid)
========================================== */
.resenas-carousel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px !important;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.carousel-stars { display: flex; gap: 3px; }

.carousel-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.carousel-track {
  position: relative;
  flex: 1;
  min-height: 180px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-texto {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.carousel-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.carousel-nombre {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
}

.carousel-rol {
  font-size: 0.72rem;
  color: var(--grey-mid);
  margin-top: 2px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-shrink: 0;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(10,22,40,0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--sky);
  transform: scale(1.3);
}

/* Campo extra formulario */
.form-extra {
  animation: fadeInField 0.3s ease;
}
@keyframes fadeInField {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESEÑAS — 2 cards apiladas en precios-grid
========================================== */
.resenas-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resena-card-precio {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px !important;
}

.resena-texto-precio {
  font-size: 0.86rem;
  color: var(--grey-text);
  line-height: 1.75;
  font-weight: 300;
  font-style: italic;
  flex: 1;
}

@media (max-width: 768px) {
  .resenas-stack { flex-direction: column; }
}

/* ==========================================
   CARRUSEL RESEÑAS — 2 visibles, fade entre pares
========================================== */
.resenas-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.resenas-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.resenas-par {
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: resenFadeIn 0.6s ease;
}
.resenas-par.active { display: flex; }

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

.resena-card-precio {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px !important;
}

.resena-texto-precio {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.75;
  font-weight: 300;
  font-style: italic;
  flex: 1;
}

.resenas-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.resenas-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(10,22,40,0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.resenas-dot.active {
  background: var(--sky);
  transform: scale(1.3);
}

/* ==========================================
   CARRUSEL RESEÑAS — 2 por par, fade suave
========================================== */
.resenas-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resenas-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.resenas-par {
  display: none;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.resenas-par.active {
  display: flex;
  opacity: 1;
}

.resenas-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.resenas-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(10,22,40,0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.resenas-dot.active {
  background: var(--sky);
  transform: scale(1.3);
}
