/* ============================================================
   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 — ACTIVOS
    ========================================== */
    #testimonios {
      display: block;
    }

    /* ==========================================
       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);
}

/* ==========================================
   BOTÓN VER EN GOOGLE
========================================== */
.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid rgba(10,22,40,0.12);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: box-shadow 0.3s, transform 0.2s, border-color 0.3s;
  align-self: flex-start;
}
.btn-google-reviews:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: rgba(66,133,244,0.3);
}

/* ==========================================
   MINI CARRUSEL RESEÑAS — sección contacto
========================================== */
.mini-resenas {
  margin-top: 24px;
  position: relative;
  min-height: 100px;
}

.mini-resena {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(10,22,40,0.04);
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(10,22,40,0.07);
  animation: miniFade 0.5s ease;
}
.mini-resena.active { display: flex; }

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

.mini-resena-stars { display: flex; gap: 2px; }

.mini-resena-texto {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
  margin: 0;
}

.mini-resena-autor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--grey-mid);
}

.mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.mini-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--grey-mid);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.mini-google-btn:hover { color: var(--sky); }

/* ============================================================
   TESTIMONIOS PREMIUM — estilo editorial Awwwards
============================================================ */
#testimonios {
  position: relative;
  padding: 70px 5%;
  overflow: hidden;
  background: var(--navy);
}

@media (max-width: 768px) {
  #testimonios {
    padding: 50px 5%;
  }
}

/* Fondo dinámico */
.t-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(45,111,163,0.12) 0%, transparent 60%);
  transition: background 1.2s ease;
  pointer-events: none;
}

.t-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Columna izquierda */
.t-left { display: flex; flex-direction: column; gap: 20px; }

.t-counter-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.t-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: all 0.5s ease;
}

.t-total {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: rgba(247,249,252,0.25);
  letter-spacing: 0.1em;
}

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

.t-progress-bar {
  width: 100%;
  height: 1px;
  background: rgba(247,249,252,0.1);
  border-radius: 1px;
  overflow: hidden;
}

.t-progress-fill {
  height: 100%;
  background: var(--sky);
  border-radius: 1px;
  transition: width 4s linear;
  width: 0%;
}

.t-google-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,249,252,0.25);
  transition: color 0.3s;
}
.t-google-link:hover { color: rgba(247,249,252,0.6); }

/* Columna central */
.t-center { display: flex; flex-direction: column; gap: 28px; }

.t-stars { display: flex; gap: 4px; opacity: 0.9; }

.t-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0;
  font-style: normal;
  position: relative;
  will-change: opacity, transform;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
  will-change: opacity, transform;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), #1a3a5c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.t-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

.t-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(247,249,252,0.35);
  margin-top: 2px;
}

/* Columna derecha */
.t-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.t-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247,249,252,0.12);
  background: transparent;
  color: rgba(247,249,252,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.t-nav-btn:hover {
  border-color: var(--sky);
  color: var(--white);
  background: rgba(45,111,163,0.15);
  transform: scale(1.08);
}

.t-dots {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.t-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(247,249,252,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.t-dot.active {
  background: var(--sky);
  transform: scale(1.5);
}

/* Responsive */
@media (max-width: 768px) {
  .t-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .t-left { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
  .t-num { font-size: 2.5rem; }
  .t-right { flex-direction: row; justify-content: center; }
  .t-nav { flex-direction: row; }
  .t-dots { flex-direction: row; }
  .t-quote { font-size: 1.3rem; }
}

/* ============================================================
   PRECIOS PREMIUM — microinteracciones Awwwards
============================================================ */
.precio-card {
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.45s cubic-bezier(0.23,1,0.32,1),
              border-color 0.45s ease !important;
  position: relative;
  overflow: hidden;
}

.precio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, rgba(45,111,163,0.5), rgba(168,200,232,0.1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.precio-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 32px 64px rgba(0,0,0,0.18), 0 8px 24px rgba(45,111,163,0.1) !important;
}

.precio-card:hover::after { opacity: 1; }

.precio-card:hover .precio-numero {
  transform: translateY(-2px) scale(1.03);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}

.precio-card:hover .precio-nombre {
  letter-spacing: 0.01em;
  transition: letter-spacing 0.4s ease;
}

/* FAQ fix — cierre suave sin salto (height manejado por JS) */
.faq-answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
  /* transition set by JS */
}
.faq-answer.open {
  opacity: 1;
}
.faq-answer p {
  padding-bottom: 20px;
}

/* =====================================================
   COVERFLOW — PROYECTOS (Swiper)
   ===================================================== */

/* Override: quitamos el padding lateral de la sección
   para que el swiper vaya edge-to-edge, pero
   compensamos el header con padding propio */
#proyectos {
  padding: 100px 0 100px;
  overflow: hidden;
}

.proyectos-header {
  padding: 0 5%;
}

.proyectos-swiper {
  width: 100%;
  padding: 60px 0 80px !important;
  overflow: visible !important;
}

/* Slide base */
.proyecto-slide {
  width: 420px;
  max-width: 90vw;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.proyecto-slide-inner {
  background: rgba(13, 27, 51, 0.6);
  border: 1px solid rgba(168, 200, 232, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Slide activo — centrado */
.swiper-slide-active .proyecto-slide-inner {
  border-color: rgba(168, 200, 232, 0.3);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(168, 200, 232, 0.15);
}

/* Slides laterales — atenuados */
.swiper-slide:not(.swiper-slide-active) .proyecto-slide-inner {
  opacity: 0.55;
}

/* Mockup dentro del slide */
.proyecto-slide .proyecto-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.proyecto-slide .mockup-browser {
  width: 100%;
  height: 100%;
  background: #0a1628;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.proyecto-slide .mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(168,200,232,0.08);
  flex-shrink: 0;
}

.proyecto-slide .mockup-dots {
  display: flex;
  gap: 5px;
}
.proyecto-slide .mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(168,200,232,0.2);
}

.proyecto-slide .mockup-url {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: rgba(168,200,232,0.4);
  flex: 1;
  text-align: center;
}

.proyecto-slide .mockup-screen {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.proyecto-slide .mockup-screen-img,
.proyecto-slide .mockup-screen-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proyecto-slide .mockup-screen-video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.swiper-slide-active .proyecto-slide .mockup-screen:hover .mockup-screen-video {
  opacity: 1;
}

/* Overlay hover con botón */
.proyecto-slide .proyecto-mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.7) 0%, transparent 50%);
  pointer-events: none;
}

.proyecto-slide .proyecto-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-slide-active .proyecto-slide .proyecto-mockup:hover .proyecto-hover-overlay {
  opacity: 1;
}

/* Body del slide */
.proyecto-slide-body {
  padding: 24px 28px 28px;
}

.proyecto-slide-body .proyecto-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: #2D6FA3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.proyecto-slide-body .proyecto-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #F7F9FC;
  margin: 0 0 10px;
  line-height: 1.2;
}

.proyecto-slide-body .proyecto-desc {
  font-size: 0.88rem;
  color: rgba(168,200,232,0.7);
  line-height: 1.6;
  margin: 0 0 16px;
}

.proyecto-slide-body .proyecto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

/* Slide "próximo proyecto" */
.proyecto-slide-next .proyecto-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: rgba(13, 27, 51, 0.4);
  border-style: dashed;
  border-color: rgba(168,200,232,0.15);
}

.proyecto-next-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Navegación Swiper personalizada */
.proyectos-prev,
.proyectos-next {
  width: 44px !important;
  height: 44px !important;
  background: rgba(13, 27, 51, 0.8) !important;
  border: 1px solid rgba(168,200,232,0.2) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
  top: 38% !important;
}

.proyectos-prev:hover,
.proyectos-next:hover {
  background: rgba(45,111,163,0.3) !important;
  border-color: rgba(168,200,232,0.5) !important;
}

.proyectos-prev::after,
.proyectos-next::after {
  font-size: 14px !important;
  color: #A8C8E8 !important;
  font-weight: 700;
}

/* Paginación dots */
.proyectos-pagination {
  bottom: 20px !important;
}

.proyectos-pagination .swiper-pagination-bullet {
  background: rgba(168,200,232,0.3) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  transition: all 0.3s ease;
}

.proyectos-pagination .swiper-pagination-bullet-active {
  background: #2D6FA3 !important;
  width: 20px !important;
  border-radius: 3px !important;
}

/* Mobile */
@media (max-width: 768px) {
  #proyectos {
    padding: 80px 0 70px;
  }

  .proyectos-header {
    padding: 0 6%;
  }

  .proyecto-slide {
    width: 300px;
  }

  .proyectos-swiper {
    padding: 40px 0 70px !important;
  }

  .proyectos-prev,
  .proyectos-next {
    display: none !important;
  }
}

/* =====================================================
   PRECIOS — EXPANDIBLE EN MÓVIL
   ===================================================== */

/* Desktop: los planes extra siempre visibles, botón oculto */
.precios-extra {
  display: contents; /* se comportan como hijos directos del grid */
}

.precios-ver-mas-wrap {
  display: none;
}

/* Móvil: ocultar planes extra y mostrar botón */
@media (max-width: 768px) {

  .precios-extra {
    display: block; /* sale de contents para poder animarse */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
  }

  .precios-extra.expanded {
    max-height: 2000px; /* suficiente para 3 cards */
    opacity: 1;
  }

  /* Las cards dentro de extra mantienen el mismo estilo */
  .precios-extra .precio-card {
    margin-bottom: 16px;
  }
  .precios-extra .precio-card:last-child {
    margin-bottom: 0;
  }

  /* Botón Ver más */
  .precios-ver-mas-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  .precios-ver-mas-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(168, 200, 232, 0.25);
    border-radius: 100px;
    color: #A8C8E8;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
  }

  .precios-ver-mas-btn:hover {
    border-color: rgba(45, 111, 163, 0.6);
    background: rgba(45, 111, 163, 0.1);
    color: #F7F9FC;
  }

  .precios-ver-mas-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
  }

  .precios-ver-mas-btn[aria-expanded="true"] .precios-ver-mas-icon {
    transform: rotate(180deg);
  }

  .precios-ver-mas-btn[aria-expanded="true"] .precios-ver-mas-texto {
    /* texto cambia a "Ver menos" via JS */
  }
}

/* =====================================================
   HERO — DOS COLUMNAS + LISTA + IG
   ===================================================== */

/* Hero: position relative para anclar elementos absolutos */
#hero {
  position: relative;
}

/* Contenedor principal: flex row, espacio entre columnas */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  gap: 40px;
}

/* Columna izquierda — texto principal */
.hero-left {
  flex: 1;
  max-width: 600px;
}

/* Columna derecha — pegada al borde derecho */
.hero-right {
  flex-shrink: 0;
  width: 210px;
  padding-left: 24px;
  border-left: 1px solid rgba(45, 111, 163, 0.15);
  align-self: center;
}

/* Label */
.hero-for-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(45, 111, 163, 0.45);
  margin-bottom: 16px;
  display: block;
}

/* Lista */
.hero-for-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ítem — empieza invisible, GSAP lo anima */
.hero-for-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(45, 111, 163, 0.07);
  opacity: 0;
  transform: translateX(-10px);
  filter: blur(3px);
  transition: color 0.3s ease;
}
.hero-for-item:last-child { border-bottom: none; }

.hero-for-item svg {
  flex-shrink: 0;
  color: rgba(45, 111, 163, 0.3);
  transition: color 0.3s ease, transform 0.3s ease;
}
.hero-for-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(10, 22, 40, 0.5);
  transition: color 0.3s ease;
}
.hero-for-item:hover svg  { color: #2D6FA3; transform: translateX(3px); }
.hero-for-item:hover span { color: #0A1628; }

/* Instagram abajo izquierda */
.hero-ig-link {
  position: absolute;
  bottom: 36px;
  left: 5%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(10, 22, 40, 0.3);
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
  transition: color 0.3s ease;
  z-index: 2;
}
.hero-ig-link:hover { color: #2D6FA3; }

/* ── MÓVIL ── */
@media (max-width: 768px) {

  /* Quitar espacio excesivo */
  #hero {
    padding-top: 90px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }

  /* Columnas apiladas */
  .hero-content {
    flex-direction: column !important;
    gap: 32px !important;
    align-items: flex-start !important;
  }

  .hero-left {
    max-width: 100% !important;
  }

  /* Lista visible en móvil — sin borde izquierdo, ancho completo */
  .hero-right {
    width: 100% !important;
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 1px solid rgba(45, 111, 163, 0.12) !important;
    padding-top: 20px !important;
  }

  /* Items más compactos en móvil */
  .hero-for-item {
    padding: 8px 0 !important;
  }

  .hero-ig-link {
    bottom: 20px;
    left: 4%;
    font-size: 0.6rem;
  }
}

/* =====================================================
   PROYECTOS — IMAGEN FONDO CHIMBORAZO + PARALLAX
   ===================================================== */

/* Imagen de fondo — parallax via transform en JS */
.proyectos-bg-img {
  position: absolute;
  inset: -20% 0;          /* extra alto para que el parallax no corte */
  background-image: url('../chimborazo.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;  /* GPU hint para el parallax */
}

/* Overlay navy — deja ver la imagen sutilmente */
.proyectos-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.78) 50%,
    rgba(10, 22, 40, 0.92) 100%
  );
  z-index: 0;
}

/* Quitar el grid puntual anterior — ya no hace falta con la imagen */
#proyectos::before {
  display: none;
}

/* Asegurar que el contenido esté por encima */
#proyectos .proyectos-header,
#proyectos .proyectos-swiper,
#proyectos .precios-nota {
  position: relative;
  z-index: 1;
}

/* =====================================================
   PROCESO — SCROLL SNAP MÓVIL
   ===================================================== */
@media (max-width: 768px) {
  .proceso-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 12px 5% 24px !important;
    /* Ocultar scrollbar pero mantener funcionalidad */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .proceso-grid::-webkit-scrollbar {
    display: none;
  }

  .proceso-step {
    flex: 0 0 80vw !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    /* Desactivar tilt en móvil */
    transform: none !important;
  }

  /* Indicador visual de que hay más cards */
  .proceso-grid::after {
    content: '';
    flex: 0 0 5%;
  }
}

/* =====================================================
   PROCESO MÓVIL — PEEK + DOTS + FIX TILT TOUCH
   ===================================================== */

/* Peek effect — se asoma la siguiente card */
@media (max-width: 768px) {
  .proceso-grid {
    padding-right: 15% !important; /* deja ver el borde de la siguiente */
  }

  .proceso-step {
    flex: 0 0 78vw !important;
    max-width: 300px !important;
    /* Fix lag táctil — deshabilitar tilt completamente en touch */
    transform: none !important;
    transition: box-shadow 0.3s ease !important;
    box-shadow: 0 2px 16px rgba(10,22,40,0.06);
  }

  /* Sombra sutil al card activo visible */
  .proceso-step:first-child {
    margin-left: 5%;
  }
}

/* Dots — ocultos en desktop */
.proceso-dots {
  display: none;
}

@media (max-width: 768px) {
  .proceso-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
  }

  .proceso-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(45, 111, 163, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .proceso-dot.active {
    background: #2D6FA3;
    width: 20px;
    border-radius: 3px;
  }
}

/* =====================================================
   PRECIOS — MEJORAS: ESPACIO PC + BOTÓN MÓVIL PREMIUM
   ===================================================== */

/* Más espacio entre cards en desktop */
@media (min-width: 769px) {
  .precios-grid {
    gap: 32px !important;
  }
  .precio-card {
    padding: 44px 36px !important;
  }
}

/* ── BOTÓN VER MÁS — PREMIUM MÓVIL ── */
@media (max-width: 768px) {

  /* Fix bug: cards no saltan hacia arriba al expandir */
  .precios-extra {
    display: block !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.45s ease;
    /* Anclar al flujo del documento */
    transform: translateZ(0);
  }

  .precios-extra.expanded {
    max-height: 2400px;
    opacity: 1;
  }

  /* Botón sólido navy premium */
  .precios-ver-mas-btn {
    background: #0A1628 !important;
    border: 1px solid rgba(168, 200, 232, 0.2) !important;
    border-radius: 100px !important;
    color: #F7F9FC !important;
    padding: 14px 32px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.25) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }

  .precios-ver-mas-btn:hover,
  .precios-ver-mas-btn:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.35) !important;
  }

  /* Ícono flecha rebotando */
  .precios-ver-mas-icon {
    animation: arrowBounce 1.4s ease-in-out infinite !important;
  }

  .precios-ver-mas-btn[aria-expanded="true"] .precios-ver-mas-icon {
    animation: none !important;
    transform: rotate(180deg) !important;
  }

  @keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(4px); }
  }
}

/* =====================================================
   PRECIOS — SEPARADOR PREMIUM + FIX BUG MÓVIL REAL
   ===================================================== */

/* Separador "El siguiente nivel" */
.precios-separador {
  grid-column: 1 / -1;  /* ocupa todo el ancho del grid */
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0 8px;
}

.precios-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,111,163,0.2), transparent);
}

.precios-sep-texto {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(45, 111, 163, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── FIX BUG MÓVIL REAL ──
   El problema: precios-extra tiene display:contents en desktop
   y al cambiar a display:block en móvil para animar,
   el contenido empuja las cards de arriba.
   Solución: usar un wrapper con altura 0 que crece hacia abajo
   sin afectar nada de lo que está arriba */
@media (max-width: 768px) {

  /* Separador visible en móvil también */
  .precios-separador {
    display: flex !important;
    grid-column: unset !important;
    margin: 8px 0 !important;
  }

  .precios-extra {
    display: block !important;
    overflow: hidden !important;
    max-height: 0 !important;
    opacity: 0 !important;
    /* Clave: no usar margin/padding que cause reflow */
    transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease !important;
    /* Anclar al GPU — evita el salto */
    will-change: max-height, opacity !important;
    transform: translateZ(0) !important;
    /* Importante: separar del flujo para que no empuje arriba */
    margin-top: 0 !important;
  }

  .precios-extra.expanded {
    max-height: 2600px !important;
    opacity: 1 !important;
    margin-top: 16px !important;
  }

  /* Cards dentro del extra — sin margin que cause salto */
  .precios-extra .precio-card {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
  }

  .precios-extra .precio-card:first-child {
    margin-top: 0 !important;
  }

  .precios-extra .precio-card:last-child {
    margin-bottom: 0 !important;
  }

  /* El separador dentro de precios-extra también */
  .precios-extra .precios-separador {
    display: none !important;
  }
}

/* =====================================================
   TESTIMONIOS — BADGE GOOGLE + MEJORAS VISUALES
   ===================================================== */

/* Badge Google rating centrado arriba */
.t-google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.t-badge-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-badge-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #F7F9FC;
  line-height: 1;
}

.t-badge-stars {
  color: #F9B200;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.t-badge-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 200, 232, 0.5);
}

/* Comillas decorativas en la cita */
.t-quote::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: rgba(45, 111, 163, 0.25);
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
}

/* Mobile */
@media (max-width: 768px) {
  .t-google-badge {
    margin-bottom: 28px;
    gap: 8px;
  }
  .t-badge-score {
    font-size: 1.1rem;
  }
}

/* =====================================================
   FAQ — NÚMEROS EDITORIALES
   ===================================================== */
.faq-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0.08em;
  min-width: 28px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.faq-question:hover .faq-num,
.faq-question[aria-expanded="true"] .faq-num {
  opacity: 1;
}

/* Ajustar layout del botón para acomodar el número */
.faq-question {
  gap: 12px !important;
}

/* =====================================================
   FAQ — FIX ALINEACIÓN MÓVIL
   ===================================================== */
@media (max-width: 768px) {
  .faq-question {
    text-align: left !important;
    align-items: flex-start !important;
    padding: 18px 0 !important;
  }

  .faq-num {
    margin-top: 2px;
    min-width: 24px !important;
  }

  /* El texto de la pregunta ocupa el espacio disponible */
  .faq-question span:not(.faq-num) {
    flex: 1;
  }
}

/* Texto de pregunta ocupa espacio disponible */
.faq-question-text {
  flex: 1;
  text-align: left;
}

/* =====================================================
   CONTACTO — LAYOUT FINAL + STATS + LOTTIE
   ===================================================== */

/* Reset layout nuevo */
.contacto-inner {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr !important;
  gap: 56px !important;
  align-items: start !important;
}

.contacto-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

/* Stats CountUp */
.contacto-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.contacto-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.contacto-stat .stat-suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sky);
  margin-left: 2px;
}

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

/* Lottie */
.contacto-lottie {
  width: 100%;
}

/* Columna derecha */
.contacto-right {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

/* Móvil */
@media (max-width: 768px) {
  .contacto-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contacto-left {
    order: 2;
  }
  .contacto-right {
    order: 1;
  }
  .contacto-stats {
    justify-content: space-between;
    gap: 16px;
  }
}

/* =====================================================
   CONTACTO — MICRO-INTERACCIONES FORMULARIO
   ===================================================== */
.form-input:focus {
  outline: none !important;
  border-color: #2D6FA3 !important;
  box-shadow: 0 0 0 3px rgba(45, 111, 163, 0.1) !important;
}

/* ── Footer disponibilidad ── */
.footer-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.footer-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c840;
  flex-shrink: 0;
  animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40,200,64,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(40,200,64,0); }
}

.footer-avail-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,249,252,0.45);
}

/* ── Footer identidad geográfica ── */
.footer-geo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}
.footer-geo span {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,249,252,0.25);
}

/* ── Footer geo items con dot ── */
.footer-geo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.footer-geo-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-geo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #28c840;
  flex-shrink: 0;
  animation: availPulse 2s ease-in-out infinite;
}

.footer-geo-item:nth-child(2) .footer-geo-dot { animation-delay: 0.6s; }
.footer-geo-item:nth-child(3) .footer-geo-dot { animation-delay: 1.2s; }

.footer-geo-item span:last-child {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(247,249,252,0.3);
}

/* =====================================================
   REPRODUCTOR VINILO
   ===================================================== */
.vinyl-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Disco */
.vinyl-disc {
  width: 56px;
  height: 56px;
  cursor: pointer;
  position: relative;
}

.vinyl-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a2e 0%, #0d0d1a 40%, #111 60%, #0a0a0a 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Girar cuando está playing — controlado por JS */
  animation: none;
  transition: box-shadow 0.3s ease;
}

.vinyl-disc:hover .vinyl-outer {
  box-shadow: 0 6px 28px rgba(45,111,163,0.4), inset 0 0 0 1px rgba(168,200,232,0.15);
}

.vinyl-outer.spinning {
  animation: vinylSpin 3s linear infinite;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Surcos */
.vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}
.g1 { width: 80%; height: 80%; }
.g2 { width: 62%; height: 62%; }
.g3 { width: 44%; height: 44%; }

/* Etiqueta central */
.vinyl-center {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A3A5C, #2D6FA3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.vinyl-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.38rem;
  font-weight: 700;
  color: #A8C8E8;
  letter-spacing: 0.05em;
}

/* Info canción — aparece y desaparece */
.vinyl-info {
  background: rgba(10,22,40,0.88);
  border: 1px solid rgba(168,200,232,0.12);
  border-radius: 20px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

.vinyl-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.vinyl-track-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  color: rgba(247,249,252,0.75);
  letter-spacing: 0.04em;
}

/* Botón aleatorio */
.vinyl-shuffle {
  background: rgba(10,22,40,0.7);
  border: 1px solid rgba(168,200,232,0.12);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(168,200,232,0.5);
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.vinyl-shuffle:hover {
  color: #A8C8E8;
  border-color: rgba(168,200,232,0.3);
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .vinyl-player { bottom: 20px; right: 16px; }
  .vinyl-disc   { width: 48px; height: 48px; }
}




/* ── Vinilo fix estático ── */
/* El contenedor no cambia de tamaño nunca */
.vinyl-player {
  display: block !important; /* no flex — evita que los hijos lo muevan */
  position: fixed !important;
}

.vinyl-disc {
  position: relative; /* necesario para el shuffle absoluto */
}

/* Shuffle pegado esquina inferior izquierda del disco */
.vinyl-shuffle {
  position: absolute !important;
  bottom: -2px !important;
  left: -2px !important;
  width: 18px !important;
  height: 18px !important;
}

/* Info canción — posición absoluta respecto al player, no empuja el disco */
.vinyl-info {
  position: absolute !important;
  bottom: 100% !important;
  right: 0 !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
}

/* ── Vinilo posición final ── */
.vinyl-player {
  bottom: 20px !important;
  right: 16px !important;
}

@media (max-width: 768px) {
  .vinyl-player {
    bottom: 80px !important;
    right: 14px !important;
  }
}
/* =====================================================
   TESTIMONIOS — FIX ALTURA FIJA (evita salto al cambiar reseña)
   ===================================================== */
.t-center {
  min-height: 200px !important;
  position: relative !important;
}

.t-quote {
  min-height: 120px !important;
}

@media (max-width: 768px) {
  .t-center {
    min-height: 240px !important;
  }
  .t-quote {
    min-height: 150px !important;
  }
}
