  /* --- ESTILOS GENERALES Y VARIABLES --- */
  :root {
      --azul-principal: #0b2f9f;
      --azul-claro: #0846d8;
      --amarillo-ngs: #f4c400;
      --gris-fondo: #f3f2ec;
      --texto-oscuro: #171923;
      --blanco: #ffffff;
      --borde: #deded7;
      --whatsapp-color: #25D366;
  }

  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  html {
      scroll-behavior: smooth;
  }

  body {
      background-color: var(--gris-fondo);
      color: var(--texto-oscuro);
      line-height: 1.6;
      overflow-x: hidden;
  }

  body.intro-lock {
      overflow: hidden;
  }

  .intro-screen {
      --intro-logo-x: 50.2%;
      --intro-logo-y: 47%;
      --intro-logo-size: clamp(360px, 48vw, 640px);
      --intro-logo-offset-x: -1.5vw;
      --intro-logo-offset-y: 0vh;
      position: fixed;
      inset: 0;
      z-index: 5000;
      display: block;
      overflow: hidden;
      background: #f5f2ea;
      opacity: 1;
      visibility: visible;
      transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .intro-screen:not(.intro-ready) .intro-bg img,
  .intro-screen:not(.intro-ready)::before,
  .intro-screen:not(.intro-ready)::after,
  .intro-screen:not(.intro-ready) .intro-orbit,
  .intro-screen:not(.intro-ready) .intro-sparkles,
  .intro-screen:not(.intro-ready) .intro-logo-mark,
  .intro-screen:not(.intro-ready) .intro-sink,
  .intro-screen:not(.intro-ready) .intro-copy {
      animation-play-state: paused;
      opacity: 0;
  }

  .intro-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
  }

  .intro-bg img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center center;
      transform: scale(1.02);
      filter: saturate(1.05) contrast(1.02);
      animation: introBgReveal 5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .intro-screen::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
          radial-gradient(ellipse at var(--intro-logo-x) var(--intro-logo-y), rgba(68, 56, 40, 0.28), transparent 17%),
          radial-gradient(ellipse at var(--intro-logo-x) calc(var(--intro-logo-y) - 2%), rgba(255, 255, 255, 0.58), transparent 24%);
      opacity: 0;
      z-index: 1;
      filter: blur(0.6px);
      transform: scale(0.97) translateX(-2%);
      animation: introBackdrop 4.8s ease forwards;
  }

  .intro-screen.is-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
  }

  .intro-logo-mark {
      position: absolute;
      z-index: 4;
      left: var(--intro-logo-x);
      top: var(--intro-logo-y);
      width: var(--intro-logo-size);
      max-width: 76vw;
      height: auto;
      object-fit: contain;
      transform-origin: center;
      will-change: transform;
      animation: introLogoPress 4.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .ink-drop-container {
      position: absolute;
      left: var(--intro-logo-x);
      top: var(--intro-logo-y);
      width: calc(var(--intro-logo-size) * 0.95);
      height: calc(var(--intro-logo-size) * 0.95);
      transform: translate(calc(-50% + var(--intro-logo-offset-x)), calc(-50% + var(--intro-logo-offset-y)));
      z-index: 2; /* behind logo (4) and copy (5), but in front of background photo */
      pointer-events: none;
      filter: blur(24px);
      mix-blend-mode: normal;
      overflow: visible;
  }

  .ink-blob {
      position: absolute;
      border-radius: 50%;
      width: 100%;
      height: 100%;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(0.6);
      opacity: 0;
      transform-origin: center;
      will-change: transform, opacity;
  }

  .blob-yellow-1 {
      background: radial-gradient(circle at center, rgba(244, 196, 0, 0.65) 0%, rgba(253, 224, 71, 0.22) 45%, transparent 85%);
      animation: smokeHalo1 4.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .blob-yellow-2 {
      background: radial-gradient(circle at center, rgba(234, 179, 8, 0.58) 0%, rgba(254, 240, 138, 0.2) 45%, transparent 85%);
      animation: smokeHalo2 4.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .blob-yellow-3 {
      background: radial-gradient(circle at center, rgba(250, 204, 21, 0.68) 0%, rgba(253, 224, 71, 0.22) 45%, transparent 85%);
      animation: smokeHalo3 4.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .intro-copy {
      position: absolute;
      left: 50%;
      bottom: clamp(34px, 8vh, 70px);
      z-index: 5;
      width: min(90vw, 760px);
      text-align: center;
      letter-spacing: 0.08em;
      opacity: 0;
      transform: translate(-50%, 18px) scale(0.96);
      animation: introCopyReveal 4.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .intro-copy p {
      margin: 0 0 10px;
      color: #22252c;
      font-size: clamp(1.1rem, 2.5vw, 1.6rem);
      font-weight: 500;
      line-height: 1.2;
      text-shadow: 0 10px 24px rgba(20, 24, 32, 0.18);
  }

  .intro-copy strong {
      font-style: italic;
      font-weight: 950;
  }

  .intro-copy .cursive-quote {
      display: inline-flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.25em;
      font-family: 'Great Vibes', cursive;
      font-size: clamp(1.4rem, 3vw, 2.2rem);
      font-weight: 400;
      line-height: 1.2;
      text-shadow: 0 8px 20px rgba(20, 24, 32, 0.2);
  }

  .intro-copy b {
      font: inherit;
  }

  .quote-gold {
      color: #b87900;
  }

  .quote-blue {
      color: #063fa8;
  }

  .quote-red {
      color: #a91019;
  }

  @media (orientation: portrait) {
      .intro-screen {
          --intro-logo-x: 57%;
          --intro-logo-y: 55%;
          --intro-logo-size: min(85vw, 450px);
          --intro-logo-offset-x: -4vw;
          --intro-logo-offset-y: 0vh;
      }

      .intro-bg img {
          object-position: center center;
          transform: scale(1.01);
          filter: saturate(1.08) contrast(1.04);
      }

      /* intro-orbit removed */

      .intro-copy {
          bottom: clamp(44px, 8vh, 84px);
          width: min(94vw, 560px);
          letter-spacing: 0.02em;
      }

      .intro-copy p {
          font-size: clamp(0.86rem, 3.85vw, 1.16rem);
      }

      .intro-copy .cursive-quote {
          gap: 0.26em;
          font-size: clamp(1.4rem, 5vw, 1.8rem);
      }

  }

    /* intro-sink removed */

  @keyframes introBgReveal {
      0% {
          opacity: 0;
          transform: scale(1.035);
          filter: blur(3px) saturate(0.98) contrast(1);
      }
      28%,
      78% {
          opacity: 1;
          transform: scale(1);
          filter: blur(0) saturate(1.05) contrast(1.02);
      }
      96%,
      100% {
          opacity: 0;
          transform: scale(0.98);
          filter: blur(5px) saturate(0.98) contrast(1);
      }
  }

  @keyframes introLogoPress {
      0% {
          opacity: 0;
          filter: blur(20px);
          transform: translate(calc(-50% + var(--intro-logo-offset-x)), calc(-50% + var(--intro-logo-offset-y))) scale(0.62) translateY(18px) rotate(-4deg);
      }

      32% {
          opacity: 1;
          filter: blur(0px);
          transform: translate(calc(-50% + var(--intro-logo-offset-x)), calc(-50% + var(--intro-logo-offset-y))) scale(1.08) translateY(-3px) rotate(0deg);
      }

      64%,
      80% {
          opacity: 1;
          filter: blur(0px);
          transform: translate(calc(-50% + var(--intro-logo-offset-x)), calc(-50% + var(--intro-logo-offset-y))) scale(1) translateY(0);
      }

      100% {
          opacity: 0;
          filter: blur(15px);
          transform: translate(calc(-50% + var(--intro-logo-offset-x)), calc(-50% + var(--intro-logo-offset-y))) scale(0.92) translateY(-15px);
      }
  }

  @keyframes introBackdrop {
      0% {
          opacity: 0;
          transform: scale(0.97) translateX(-2%);
      }
      38%,
      78% {
          opacity: 1;
          transform: scale(1) translateX(0);
      }
      96%,
      100% {
          opacity: 0;
          transform: scale(1.02) translateX(0);
      }
  }

  @keyframes smokeHalo1 {
      0% {
          transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
          opacity: 0;
      }
      30% {
          opacity: 0.52;
          transform: translate(-46%, -54%) scale(1.1) rotate(60deg);
      }
      78% {
          opacity: 0.52;
          transform: translate(-52%, -48%) scale(1.35) rotate(140deg);
      }
      96%, 100% {
          opacity: 0;
          transform: translate(-52%, -48%) scale(1.1) rotate(180deg);
      }
  }

  @keyframes smokeHalo2 {
      0% {
          transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
          opacity: 0;
      }
      35% {
          opacity: 0.45;
          transform: translate(-54%, -46%) scale(1.2) rotate(-60deg);
      }
      78% {
          opacity: 0.45;
          transform: translate(-48%, -52%) scale(1.4) rotate(-130deg);
      }
      96%, 100% {
          opacity: 0;
          transform: translate(-48%, -52%) scale(1.15) rotate(-160deg);
      }
  }

  @keyframes smokeHalo3 {
      0% {
          transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
          opacity: 0;
      }
      40% {
          opacity: 0.5;
          transform: translate(-50%, -50%) scale(1.15) rotate(90deg);
      }
      78% {
          opacity: 0.5;
          transform: translate(-52%, -52%) scale(1.35) rotate(180deg);
      }
      96%, 100% {
          opacity: 0;
          transform: translate(-52%, -52%) scale(1.1) rotate(220deg);
      }
  }

  @keyframes introCopyReveal {
      0%,
      28% {
          opacity: 0;
          filter: blur(10px);
          transform: translate(-50%, 18px) scale(0.96);
      }

      45% {
          opacity: 1;
          filter: blur(0px);
          transform: translate(-50%, -2px) scale(1.02);
      }

      78% {
          opacity: 1;
          filter: blur(0px);
          transform: translate(-50%, 0) scale(1);
      }

      100% {
          opacity: 0;
          filter: blur(8px);
          transform: translate(-50%, -10px) scale(0.96);
      }
  }



  /* sparklesLayer and sparkleDrift removed */

  @media (prefers-reduced-motion: reduce) {
      .intro-screen,
      .intro-screen::before,
      .intro-bg img,
      .ink-drop-container,
      .ink-blob,
      .intro-copy,
      .intro-logo-mark {
          animation: none;
          transition-duration: 0.2s;
      }

      .intro-screen {
          display: none;
      }

      body.intro-lock {
          overflow-x: hidden;
          overflow-y: auto;
      }
  }

  /* --- NAVBAR --- */
  .navbar {
      position: fixed;
      top: 16px;
      left: 50%;
      width: 85%;
      transform: translateX(-50%);
      background-color: rgba(255, 255, 255, 0.97);
      border: 1px solid rgba(20, 24, 32, 0.1);
      border-radius: 18px;
      box-shadow: 0 10px 28px rgba(20, 24, 32, 0.12);
      backdrop-filter: blur(10px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 24px;
      z-index: 1000;
  }

  .logo-container {
      display: flex;
      align-items: center;
      gap: .6rem;
      flex: 0 0 auto;
      text-decoration: none;
      transition: transform 0.2s ease, opacity 0.2s ease;
      height: 100%;
  }

  .logo-container:hover {
      opacity: 0.95;
      transform: translateY(-1px);
  }

  .brand-logo {
      display: block;
      height: clamp(50px, 5.5vh, 70px);
      width: auto;
      object-fit: contain;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  }

  .logo-text {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 0.8rem;
      font-family: 'Inter', sans-serif;
  }

  .text-left-side {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .text-main {
      font-size: clamp(1rem, 1.4vw, 1.2rem);
      font-weight: 600;
      text-transform: uppercase;
      text-align: center;
      letter-spacing: -0.02em;
      display: flex;
      gap: 0.25em;
      font-family: 'Montserrat', sans-serif;
      text-shadow: 1.5px 1.5px 0px rgba(0, 0, 0, 0.15);
      line-height: 1;
  }

  .text-main span:nth-child(1),
  .text-main span:nth-child(2) {
      color: #111827;
  }

  .double-lines {
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, var(--azul-principal) 0%, #da252a 100%);
      border: none;
      margin: 0.2rem 0;
      border-radius: 2px;
      display: block;
      position: relative;
      overflow: hidden;
  }

  .double-lines::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 60%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
      transform: translateX(-200%);
      animation: shineSweep 2.5s ease-in-out infinite alternate;
  }

  @keyframes shineSweep {
      0%, 10% {
          transform: translateX(-200%);
      }
      90%, 100% {
          transform: translateX(300%);
      }
  }

  .text-sub {
      color: #334155;
      font-size: clamp(0.75rem, 1vw, 0.9rem);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      line-height: 1;
      text-align: center;
  }

  .text-brand {
      color: #0A4B9B;
      font-size: clamp(1.5rem, 2.2vw, 2rem);
      font-weight: 800;
      letter-spacing: 0.02em;
      line-height: 1;
  }

  @media (max-width: 480px) {
      .logo-text {
          gap: 0.4rem;
      }

      .text-brand {
          font-size: clamp(1.2rem, 1.8vw, 1.5rem);
      }
  }

  .nav-menu {
      display: flex;
      list-style: none;
      gap: 6px;
  }

  .menu-toggle {
      display: none;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(26, 54, 93, 0.12);
      border-radius: 10px;
      background-color: #f8fafc;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      transition: background-color 0.25s, border-color 0.25s;
  }

  .menu-toggle:hover,
  .menu-toggle.active {
      background-color: #edf2f7;
      border-color: rgba(26, 54, 93, 0.22);
  }

  .menu-toggle span {
      width: 22px;
      height: 2px;
      background-color: var(--azul-principal);
      border-radius: 999px;
      transition: transform 0.25s, opacity 0.25s;
  }

  .menu-toggle.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
      opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu a {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      text-decoration: none;
      color: #171923;
      font-weight: 600;
      font-size: 0.92rem;
      padding: 8px 12px 12px;
      border-radius: 8px;
      transition: color 0.3s, background-color 0.3s;
      white-space: nowrap;
  }

  .nav-menu a::after {
      content: "";
      position: absolute;
      left: 12px;
      right: 12px;
      bottom: 3px;
      height: 2px;
      background-color: var(--azul-claro);
      border-radius: 999px;
      transform: scaleX(0);
      transform-origin: center;
      opacity: 0;
      transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
      background-color: transparent;
      color: var(--azul-claro);
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
      opacity: 1;
      transform: scaleX(1);
  }

  .icon-symbols {
      display: none;
  }

  .icon {
      width: 1em;
      height: 1em;
      flex: 0 0 auto;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
  }

  .nav-menu .icon {
      width: 16px;
      height: 16px;
  }

  @media (max-width: 1250px) {
      .navbar {
          width: 95%;
      }

      .nav-menu {
          gap: 2px;
      }

      .nav-menu a {
          gap: 5px;
          padding: 8px 8px 11px;
          font-size: 0.82rem;
      }

      .nav-menu .icon {
          width: 14px;
          height: 14px;
      }
  }

  /* --- LAYOUT SECCIÓNES --- */
  section {
      padding: 100px 50px 60px 50px;
      min-height: 80vh;
      scroll-margin-top: 98px;
  }

  h2 {
      font-size: 2.2rem;
      color: var(--azul-principal);
      margin-bottom: 10px;
  }

  .section-subtitle {
      color: #718096;
      margin-bottom: 30px;
      font-size: 1.1rem;
  }

  /* --- SECCIÓN INICIO (HERO) --- */
  #inicio {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      min-height: 92vh;
  }

  .hero-bg-video-wrapper {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
  }

  .hero-bg-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.35);
  }

  .hero-bg-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(243, 242, 236, 0.4) 0%, rgba(243, 242, 236, 0.25) 43%, rgba(243, 242, 236, 0.01) 82%);
      z-index: 1;
  }

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

  .hero-content h1 {
      font-size: clamp(3.2rem, 8.6vw, 6.5rem);
      color: #111318;
      font-weight: 800;
      margin-bottom: 20px;
      line-height: 1.05;
  }

  .hero-content h1 span {
      color: var(--azul-principal);
      font-family: inherit;
  }

  .hero-content h1 span.red {
      color: #830000;
  }

  .hero-content p {
      max-width: 580px;
      font-size: 1.15rem;
      font-weight: 600;
      margin-bottom: 30px;
      color: #252936;
  }


  .btn-container {
      display: flex;
      gap: 15px;
  }

  .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 28px;
      border-radius: 3px;
      text-decoration: none;
      font-weight: bold;
      transition: transform 0.2s, background-color 0.2s;
  }

  .btn:hover {
      transform: translateY(-2px);
  }

  .btn .icon {
      width: 18px;
      height: 18px;
  }

  .btn-primary {
      position: relative;
      overflow: hidden;
      background: #ffb10a;
      color: var(--texto-oscuro);
      box-shadow: 0 8px 18px rgba(237, 163, 4, 0.32);
      transition:
          transform 0.25s ease,
          box-shadow 0.25s ease,
          background 0.3s ease;
  }

  .btn-primary::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg,
              transparent 0%,
              rgba(255, 255, 255, 0.42) 45%,
              transparent 70%);
      transform: translateX(-120%) skewX(-18deg);
      transition: transform 0.55s ease;
  }

  .btn-primary:hover {
      transform: translateY(-3px) scale(1.02);
      background: linear-gradient(135deg, #ffbf16 0%, #eda304 45%, #d98200 100%);
      box-shadow:
          0 16px 30px rgba(237, 163, 4, 0.45),
          0 0 24px rgba(255, 191, 22, 0.38),
          inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }

  .btn-primary:hover::before {
      transform: translateX(135%) skewX(-18deg);
  }

  .btn-primary:active {
      transform: translateY(-1px) scale(0.99);
  }

  .btn-secondary {
      background-color: rgba(255, 255, 255, 0.88);
      border: 1px solid rgba(20, 24, 32, 0.08);
      color: #171923;
      box-shadow: 0 8px 18px rgba(20, 24, 32, 0.08);
  }

  /* --- SECCIÓN EMPRESA --- */
  #empresa {
      background:
          linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border-top: 1px solid #ebe9e2;
      min-height: auto;
      padding-top: 96px;
      padding-bottom: 96px;
  }

  .trayectoria-showcase {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
      gap: clamp(28px, 5vw, 58px);
      width: 95%;
      margin: 0 auto;
      align-items: center;
  }

  .trayectoria-copy {
      max-width: 720px;
  }

  .section-kicker {
      display: inline-flex;
      margin-bottom: 12px;
      color: var(--azul-claro);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
  }

  .trayectoria-copy h2 {
      margin-bottom: 18px;
      color: var(--azul-principal);
      font-size: clamp(2.1rem, 3.7vw, 3.4rem);
      line-height: 1.02;
  }

  .trayectoria-copy p {
      max-width: 680px;
      color: #263244;
      font-size: 1rem;
      line-height: 1.75;
  }

  .trayectoria-copy p+p {
      margin-top: 14px;
  }

  .trayectoria-photo {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      background-color: var(--blanco);
      box-shadow: 0 18px 42px rgba(20, 24, 32, 0.12);
      aspect-ratio: 1.28 / 1;
  }

  .trayectoria-photo img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
  }

  .trayectoria-photo figcaption {
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 14px;
      padding: 10px 12px;
      border-radius: 6px;
      background-color: rgba(255, 255, 255, 0.9);
      color: #111318;
      font-size: 0.86rem;
      font-weight: 800;
      text-align: center;
  }

  .features-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(150px, 1fr));
      gap: 18px;
      width: 95%;
      margin: 34px auto 0;
  }

  .mv-parallax {
      position: relative;
      width: 95%;
      background-image: url('./assets/carrusel-1.jpeg');
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      margin: 68px auto 0;
  }

  .mv-split {
      display: flex;
      flex-direction: column;
      min-height: 240px;
  }

  @media (min-width: 800px) {
      .mv-split {
          flex-direction: row;
          height: 280px;
      }
  }

  .mv-panel {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
      overflow: hidden;
      padding: 20px;
      color: var(--blanco);
  }

  .panel-mision {
      background: rgba(8, 70, 216, 0.88);
  }

  .panel-vision {
      background: rgba(45, 55, 72, 0.90);
  }

  @media (min-width: 800px) {
      .mv-panel:hover,
      .mv-panel.active {
          flex: 1.6;
      }
  }

  .mv-panel-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      transition: transform 0.5s ease;
  }

  .mv-panel:hover .mv-panel-header,
  .mv-panel.active .mv-panel-header {
      transform: translateY(-5px);
  }

  .mv-panel-header .icon {
      width: 42px;
      height: 42px;
      color: var(--blanco);
      fill: none;
  }

  .mv-panel-header h3 {
      font-size: 1.6rem;
      font-weight: 800;
      margin: 0;
  }

  .mv-panel-content {
      max-height: 0;
      opacity: 0;
      transition: max-height 0.6s ease, opacity 0.5s ease, margin-top 0.5s ease;
      text-align: center;
      max-width: 480px;
      overflow: hidden;
  }

  .mv-panel:hover .mv-panel-content,
  .mv-panel.active .mv-panel-content {
      max-height: 180px;
      opacity: 1;
      margin-top: 15px;
  }

  .mv-modern-split {
      display: flex;
      flex-direction: column;
      width: 95%;
      margin: 80px auto 0;
      min-height: 240px;
      position: relative;
      overflow: hidden;
  }

  .mv-modern-split::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /* Parallax background */
      background-image: url('./assets/fondo3-horizontal.png');
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      filter: saturate(0.6) brightness(0.85); /* Slightly desaturates and dims the background photo */
      z-index: 1;
      pointer-events: none;
  }

  @media (min-width: 800px) {
      .mv-modern-split {
          flex-direction: row;
          height: 280px;
      }
  }

  .mv-modern-item {
      flex: 1;
      padding: 120px 40px 40px; /* Centered top padding when collapsed on desktop */
      position: relative;
      z-index: 2; /* Position above the background pseudo-element */
      display: flex;
      flex-direction: column; /* Stack contents vertically */
      justify-content: flex-start; /* Align contents to the top to allow smooth padding-based alignment */
      align-items: center; /* Center contents horizontally */
      transition: 
          flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
          padding-top 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
      cursor: pointer;
  }
 
  @media (min-width: 800px) {
      .mv-modern-item.active {
          flex: 1.8;
          padding-top: 40px; /* Smoothly slide the title to the top when active */
      }
  }
 
  @media (max-width: 799px) {
      .mv-modern-item.active {
          flex: 1.6;
      }
  }
 
  @media (hover: hover) and (min-width: 800px) {
      .mv-modern-item:hover {
          flex: 1.8;
          padding-top: 40px; /* Smoothly slide the title to the top on hover */
      }
  }

  .mv-blue {
      background:
          linear-gradient(rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)),
          rgba(11, 47, 159, 0.16); /* Light white veil, softer than the vision panel */
      -webkit-backdrop-filter: saturate(0.9) brightness(0.96);
      backdrop-filter: saturate(0.9) brightness(0.96);
      color: var(--blanco);
  }

  .mv-light {
      background: rgba(255, 255, 255, 0.48); /* Whitish and transparent, without blur */
      color: #1e293b;
  }

  .mv-content-box {
      position: relative;
      z-index: 2;
      width: 100%;
  }

  .mv-content-box h4 {
      font-size: 2.2rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center; /* Center the title horizontally */
      gap: 15px;
      margin: 0;
      transition: transform 0.5s ease;
  }

  .mv-modern-item.active .mv-content-box h4 {
      transform: translateY(-5px);
  }

  .mv-content-box h4 .icon {
      width: 40px;
      height: 40px;
      fill: none;
      color: currentColor;
  }

  .mv-content-box p {
      font-size: 1.25rem; /* Increased from 1.15rem for desktop readability */
      line-height: 1.7;
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      margin: 0;
      text-align: center; /* Center the paragraph */
      transition: max-height 0.6s ease, opacity 0.5s ease, margin-top 0.5s ease;
  }

  .mv-modern-item.active .mv-content-box p {
      max-height: 500px; /* Increased from 200px to prevent cutoff on narrow screens */
      opacity: 0.95;
      margin-top: 15px;
  }

  @media (hover: hover) {
      .mv-modern-item:hover .mv-content-box h4 {
          transform: translateY(-5px);
      }
      .mv-modern-item:hover .mv-content-box p {
          max-height: 500px; /* Increased from 200px */
          opacity: 0.95;
          margin-top: 15px;
      }
  }
  
  .mv-panel-content p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.95);
  }

  .feature-card {
      min-height: 128px;
      padding: 22px 18px;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      background-color: var(--blanco);
      color: var(--texto-oscuro);
      box-shadow: 0 10px 28px rgba(20, 24, 32, 0.06);
      transform: translateY(10px) scale(0.98);
      transition:
          transform 0.38s ease,
          box-shadow 0.38s ease,
          border-color 0.38s ease,
          background-color 0.38s ease;
      overflow: hidden;
  }

  .feature-card:hover {
      transform: translateY(-4px);
  }

  .feature-card.active {
      border-color: rgba(8, 70, 216, 0.2);
      box-shadow: 0 20px 42px rgba(8, 70, 216, 0.14);
      transform: translateY(-6px) scale(1.01);
  }

  .feature-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;
  }

  .feature-header h4 {
      font-size: 0.98rem;
      font-weight: 700;
  }

  .feature-description {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition:
          max-height 0.42s ease,
          opacity 0.3s ease,
          margin-top 0.36s ease;
  }

  .feature-description p {
      text-align: center;
      color: #4a5568;
      font-size: 0.95rem;
      line-height: 1.5;
  }

  .feature-card.active .feature-description {
      max-height: 120px;
      opacity: 1;
      margin-top: 16px;
  }

  .icon-badge {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      margin-bottom: 0;
      border-radius: 8px;
      background-color: transparent;
      color: var(--azul-claro);
  }

  .icon-badge .icon {
      width: 22px;
      height: 22px;
  }

  .f-rojo,
  .f-azul,
  .f-amarillo,
  .f-verde {
      background-color: var(--blanco);
  }

  /* --- SECCIÓN INFRAESTRUCTURA (SLIDER HORIZONTAL CON CENTRO RESALTADO) --- */
  #infraestructura {
      width: 95%;
      margin: 68px auto 0;
      background:
          linear-gradient(180deg, rgba(10, 75, 155, 0.035) 0%, rgba(255, 255, 255, 0) 72%),
          linear-gradient(90deg, rgba(255, 177, 10, 0.06) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 72%, rgba(0, 122, 92, 0.05) 100%);
      border-radius: 0;
      min-height: auto;
      padding: 60px 0 64px;
      text-align: center;
      overflow: hidden;
      position: relative;
  }

  #infraestructura::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 34px;
      width: min(1040px, 92%);
      height: 1px;
      transform: translateX(-50%);
      background:
          linear-gradient(90deg, transparent, rgba(10, 75, 155, 0.16), transparent);
      pointer-events: none;
  }

  #infraestructura>* {
      position: relative;
      z-index: 1;
  }

  #infraestructura .section-subtitle {
      margin-left: auto;
      margin-right: auto;
      max-width: 700px;
      padding: 0 20px;
  }

  .carousel-container {
      position: relative;
      width: 100%;
      margin: 48px auto 0;
      padding: 24px 0;
  }

  .carousel-viewport {
      width: 100%;
      overflow: visible;
  }

  .carousel-track {
      display: flex;
      transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
      will-change: transform;
      cursor: grab;
      touch-action: pan-y;
  }

  .carousel-track:active {
      cursor: grabbing;
  }

  .carousel-item {
      flex: 0 0 420px;
      margin: 0 15px;
      aspect-ratio: 4 / 3;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
      cursor: pointer;
      border: 1px solid rgba(20, 24, 32, 0.06);
      opacity: 0.4;
      transform: scale(0.9);
      filter: grayscale(40%) blur(1px);
      position: relative;
      z-index: 1;
      transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                  opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                  filter 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                  box-shadow 0.6s ease;
  }

  .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      pointer-events: none;
      transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .carousel-item.active {
      opacity: 1;
      transform: scale(1.06);
      filter: grayscale(0%) blur(0);
      box-shadow: 0 20px 48px rgba(10, 75, 155, 0.18);
      border-color: rgba(10, 75, 155, 0.15);
      z-index: 2;
  }

  .carousel-item.active:hover img {
      transform: scale(1.06);
  }

  .carousel-item-info {
      position: absolute;
      inset: auto 0 0 0;
      background: linear-gradient(to top, rgba(17, 19, 24, 0.92) 0%, rgba(17, 19, 24, 0.4) 75%, rgba(17, 19, 24, 0) 100%);
      color: #ffffff;
      padding: 32px 24px 20px;
      text-align: center;
      opacity: 0;
      transform: translateY(15px);
      transition: opacity 0.4s ease, transform 0.4s ease;
      pointer-events: none;
  }

  .carousel-item:hover .carousel-item-info {
      opacity: 1;
      transform: translateY(0);
  }

  .carousel-item.active .carousel-item-info {
      opacity: 1;
      transform: translateY(0);
  }

  .carousel-item-info h3 {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 6px;
      color: #ffffff;
  }

  .carousel-item-info p {
      font-size: 0.88rem;
      color: rgba(255, 255, 255, 0.8);
      margin: 0;
  }

  .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.85);
      border: 1px solid rgba(20, 24, 32, 0.08);
      color: #111318;
      font-size: 20px;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      cursor: pointer;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
      transition: background-color 0.25s, transform 0.25s, color 0.25s, box-shadow 0.25s;
      z-index: 10;
  }

  .carousel-btn:hover {
      background-color: var(--azul-principal);
      color: #ffffff;
      transform: translateY(-50%) scale(1.06);
      box-shadow: 0 12px 28px rgba(10, 75, 155, 0.25);
  }

  .carousel-btn.prev {
      left: 40px;
  }

  .carousel-btn.next {
      right: 40px;
  }

  @media (max-width: 1024px) {
      .carousel-btn.prev {
          left: 20px;
      }
      .carousel-btn.next {
          right: 20px;
      }
  }

  @media (max-width: 1024px) {
      #infraestructura {
          padding-top: 64px;
          padding-bottom: 64px;
      }
      .carousel-container {
          margin-top: 32px;
          padding-bottom: 68px;
      }
      .carousel-item {
          flex: 0 0 280px;
          margin: 0 8px;
          border-radius: 14px;
      }
      .carousel-btn {
          width: 44px;
          height: 44px;
          font-size: 16px;
          top: auto;
          bottom: 8px;
          transform: none;
      }
      .carousel-btn:hover {
          transform: scale(1.06);
      }
      .carousel-btn.prev {
          left: calc(50% - 54px);
      }
      .carousel-btn.next {
          right: calc(50% - 54px);
      }
      .carousel-item-info {
          padding: 20px 16px 12px;
          opacity: 1;
          transform: translateY(0);
          background: linear-gradient(to top, rgba(17, 19, 24, 0.85) 0%, rgba(17, 19, 24, 0.4) 80%, rgba(17, 19, 24, 0) 100%);
      }
  }

  @media (max-width: 800px) {
      /* Misión y Visión responsive adjustments */
      .mv-modern-split {
          margin: 24px auto 0; /* Reduced margin to bring closer to the carousel section */
          min-height: auto; /* Remove min-height to prevent stretching on mobile */
          height: auto;
      }

      .mv-modern-split::before {
          background-attachment: scroll; /* Fix for mobile parallax zoom bug */
      }

      .mv-modern-item {
          flex: none; /* Disable flex stretching on mobile */
          width: 100%;
          height: 64px; /* Fixed collapsed height on mobile to ensure they match perfectly */
          padding: 0 24px; /* Horizontal padding, no vertical padding to allow flex centering */
          justify-content: center; /* Center content vertically on mobile when collapsed or expanded */
          transition: height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth height transition */
      }

      .mv-modern-item.active {
          flex: none; /* Override flex growth on mobile */
          height: 165px; /* Equal active height for both on mobile to keep them identical */
      }

      .mv-content-box h4 {
          font-size: 1.45rem; /* Reduced font size on mobile */
          gap: 10px;
      }

      .mv-content-box h4 .icon {
          width: 28px; /* Smaller icon on mobile */
          height: 28px;
      }

      .mv-content-box p {
          font-size: 0.80rem; /* Made description text smaller as requested */
          line-height: 1.4;
      }

      /* Infraestructura (Carousel) responsive spacing adjustments */
      #infraestructura {
          padding-bottom: 24px; /* Reduced from 64px to reduce gap between carousel and mission/vision */
      }

      .carousel-container {
          padding-bottom: 56px; /* Slightly reduced bottom padding */
      }
  }

  /* --- SECCIÓN PRODUCTOS (BUSCADOR Y FILTROS INTERACTIVOS) --- */
  #productos {
      background-color: #f7fafc;
  }

  .search-filter-container {
      background-color: var(--blanco);
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      margin-bottom: 40px;
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .search-box {
      position: relative;
      width: 100%;
  }

  .search-box input {
      width: 100%;
      padding: 15px 54px 15px 20px;
      font-size: 1.1rem;
      border: 2px solid var(--borde);
      border-radius: 8px;
      outline: none;
      transition: border-color 0.3s;
  }

  .search-box input:focus {
      border-color: var(--azul-claro);
  }

  .search-clear-button {
      position: absolute;
      top: 50%;
      right: 12px;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(8, 70, 216, 0.14);
      border-radius: 999px;
      background-color: rgba(237, 242, 247, 0.9);
      color: #526071;
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-50%) scale(0.88);
      transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  }

  .search-clear-button.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(-50%) scale(1);
  }

  .search-clear-button .icon {
      width: 16px;
      height: 16px;
  }

  .search-clear-button:hover {
      background-color: rgba(8, 70, 216, 0.1);
      color: var(--azul-claro);
  }

  .filter-tabs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
  }

  .filter-btn {
      padding: 10px 18px;
      background-color: #edf2f7;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.9rem;
      color: #4a5568;
      transition: all 0.3s;
  }

  .filter-btn.active,
  .filter-btn:hover {
      background-color: var(--azul-claro);
      color: var(--blanco);
  }

  /* Contenedor de las tarjetas de productos */
  .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 25px;
  }

  .product-card {
      position: relative;
      background-color: var(--blanco);
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
      border: 1px solid var(--borde);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.3s, box-shadow 0.3s;
  }

  .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  }

  .product-card.selected {
      border-color: rgba(8, 70, 216, 0.58);
      background:
          linear-gradient(180deg, rgba(235, 243, 255, 0.95), rgba(255, 255, 255, 0.98));
      box-shadow:
          0 18px 34px rgba(8, 70, 216, 0.16),
          inset 0 0 0 1px rgba(8, 70, 216, 0.08);
  }

  .product-card.has-process-tag {
      padding-top: 56px;
  }

  .product-process-tag {
      position: absolute;
      top: 14px;
      right: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(8, 70, 216, 0.16);
      background-color: rgba(235, 243, 255, 0.95);
      color: var(--azul-principal);
      font-size: 0.76rem;
      font-weight: 900;
      line-height: 1;
      letter-spacing: 0;
      box-shadow: 0 10px 20px rgba(8, 70, 216, 0.08);
  }

  .product-process-mono {
      border-color: rgba(244, 196, 0, 0.42);
      background-color: rgba(255, 249, 219, 0.96);
      color: #6d5100;
  }

  .product-process-bi {
      border-color: rgba(8, 70, 216, 0.2);
      background-color: rgba(235, 243, 255, 0.98);
      color: var(--azul-principal);
  }

  .product-selected-mark {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: linear-gradient(135deg, #031a63, #0f5cff);
      color: #ffffff;
      font-size: 0.9rem;
      font-weight: 900;
      opacity: 0;
      transform: scale(0.7);
      transition: opacity 0.2s ease, transform 0.2s ease;
      box-shadow: 0 10px 18px rgba(8, 70, 216, 0.28);
  }

  .product-card.has-process-tag .product-selected-mark {
      right: auto;
      left: 14px;
  }

  .product-card.selected .product-selected-mark {
      opacity: 1;
      transform: scale(1);
  }

  .badge-category {
      font-size: 0.75rem;
      text-transform: uppercase;
      font-weight: bold;
      padding: 4px 8px;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 10px;
      width: fit-content;
  }

  /* Colores dinámicos por categoría principal */
  .badge-algodon {
      background-color: #ebf8ff;
      color: #2b6cb0;
  }

  .badge-poliester {
      background-color: #faf5ff;
      color: #6b46c1;
  }

  .badge-acidos {
      background-color: #fff5f5;
      color: #c53030;
  }

  .badge-solventes {
      background-color: #feebc8;
      color: #c05621;
  }

  .badge-pigmentos {
      background-color: #e6fffa;
      color: #234e52;
  }

  .badge-glitters {
      background-color: #edf2f7;
      color: #4a5568;
  }

  .badge-auxiliares {
      background-color: #f0fff4;
      color: #2f855a;
  }

  .badge-blancos {
      background-color: #fffaf0;
      color: #9c4221;
  }

  .product-name {
      font-size: 1.2rem;
      color: var(--azul-principal);
      font-weight: bold;
      margin-bottom: 8px;
  }

  .product-subcategory {
      font-size: 0.85rem;
      color: #718096;
      margin-bottom: 20px;
      font-style: italic;
  }

  .product-color-code {
      width: 100%;
      height: 12px;
      margin-bottom: 18px;
      border-radius: 999px;
      background-color: #edf2f7;
      box-shadow: inset 0 0 0 1px rgba(20, 24, 32, 0.08);
  }

  .color-swatch {
      width: 100%;
      height: 100%;
      display: block;
      border-radius: 999px;
  }

  .btn-card-quote {
      background-color: #f7fafc;
      border: 1px solid var(--azul-claro);
      color: var(--azul-claro);
      text-align: center;
      padding: 10px;
      border-radius: 6px;
      font-weight: bold;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s;
  }

  .btn-card-quote:active {
      background-color: rgba(8, 70, 216, 0.1);
      color: var(--azul-claro);
  }

  @media (hover: hover) and (pointer: fine) {
      .btn-card-quote:hover {
          background-color: var(--azul-claro);
          color: var(--blanco);
      }
  }

  .product-card.selected .btn-card-quote {
      background:
          linear-gradient(135deg, #031a63 0%, #0846d8 54%, #0f5cff 100%);
      color: #ffffff;
      border-color: transparent;
      box-shadow: 0 12px 22px rgba(8, 70, 216, 0.24);
  }

  .quote-selection-bar {
      position: fixed;
      left: 50%;
      bottom: 22px;
      z-index: 1200;
      width: min(760px, calc(100% - 32px));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 16px;
      border: 1px solid rgba(8, 70, 216, 0.18);
      border-radius: 10px;
      background-color: rgba(255, 255, 255, 0.96);
      box-shadow: 0 22px 46px rgba(20, 24, 32, 0.18);
      backdrop-filter: blur(14px);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 18px);
      transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .quote-selection-bar.show {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, 0);
  }

  .quote-selection-copy {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
  }

  .quote-selection-copy strong {
      color: var(--azul-principal);
      font-size: 0.98rem;
  }

  .quote-selection-copy span {
      color: #526071;
      font-size: 0.86rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .quote-selection-actions {
      display: flex;
      gap: 10px;
      flex: 0 0 auto;
  }

  .quote-selection-actions button {
      border: 0;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 800;
      padding: 10px 13px;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .quote-selection-clear {
      background-color: #edf2f7;
      color: #334155;
  }

  .quote-selection-submit {
      background:
          linear-gradient(135deg, #031a63 0%, #0846d8 48%, #0f5cff 100%);
      color: #ffffff;
      box-shadow: 0 12px 22px rgba(8, 70, 216, 0.26);
  }

  .quote-selection-actions button:hover {
      transform: translateY(-2px);
  }

  .no-results {
      grid-column: 1 / -1;
      text-align: center;
      padding: 40px;
      color: #a0aec0;
      font-size: 1.2rem;
  }

  /* --- SECCIÓN SERVICIOS --- */
  #servicios {
      position: relative;
      overflow: hidden;
      min-height: auto;
      background:
          linear-gradient(110deg, rgba(237, 241, 245, 0.98) 0%, rgba(237, 241, 245, 0.9) 48%, rgba(237, 241, 245, 0.74) 100%),
          #edf1f5;
      color: var(--texto-oscuro);
      padding-top: 92px;
      padding-bottom: 92px;
  }

  #servicios::before {
      content: "";
      position: absolute;
      top: -22%;
      left: -8%;
      width: min(58vw, 760px);
      height: 150%;
      background: url("./assets/fondo2-horizontal.jpg") center / cover no-repeat;
      opacity: 0.22;
      transform: rotate(-8deg);
      filter: saturate(1.2) contrast(1.05);
      pointer-events: none;
  }

  #servicios::after {
      content: "";
      position: absolute;
      right: -10%;
      bottom: -42%;
      width: 62%;
      height: 72%;
      background: linear-gradient(135deg, rgba(8, 70, 216, 0.18), rgba(244, 196, 0, 0.14) 46%, rgba(229, 62, 62, 0.14));
      transform: rotate(-10deg);
      pointer-events: none;
  }

  .value-services {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
      gap: clamp(34px, 6vw, 74px);
      width: min(100%, 1120px);
      margin: 0 auto;
      align-items: start;
  }

  .value-title {
      position: relative;
      max-width: 430px;
      margin-bottom: 0;
      color: #20242d;
      background: linear-gradient(135deg, #031a63 0%, #0846d8 46%, #0f5cff 72%, #04267f 100%);
      background-size: 220% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: clamp(2.3rem, 3.3vw, 3.2rem);
      font-weight: 900;
      line-height: 1.05;
      animation: titleColorFlow 7s ease-in-out infinite;
  }

  .value-title::after {
      content: "";
      display: block;
      width: min(220px, 72%);
      height: 8px;
      margin-top: 18px;
      border-radius: 999px;
      background: linear-gradient(90deg, #031a63 0%, #0846d8 46%, #0f5cff 72%, #04267f 100%);
      box-shadow: 0 12px 28px rgba(8, 70, 216, 0.18);
      animation: titleUnderlinePulse 3.6s ease-in-out infinite;
  }

  .value-list {
      display: grid;
      gap: 20px;
  }

  .value-item {
      position: relative;
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 18px;
      align-items: center;
      overflow: hidden;
      padding: 22px 24px;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      background:
          linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
      box-shadow: 0 18px 44px rgba(20, 24, 32, 0.08);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
      opacity: 0;
      transform: translateY(24px);
  }

  .value-item.active {
      opacity: 1;
      transform: translateY(0);
  }

  .value-item::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 5px;
      background: linear-gradient(180deg, #031a63 0%, #0846d8 46%, #0f5cff 72%, #04267f 100%);
  }

  .value-item:hover {
      border-color: rgba(8, 70, 216, 0.22);
      box-shadow: 0 22px 54px rgba(8, 70, 216, 0.12);
      transform: translateY(-3px);
  }

  .value-icon {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background-color: rgba(8, 70, 216, 0.1);
      color: var(--azul-claro);
  }

  .value-icon .icon {
      width: 22px;
      height: 22px;
  }

  .value-content h3 {
      margin-bottom: 6px;
      color: #111318;
      font-size: 1.02rem;
      font-weight: 800;
  }

  .value-content p {
      max-width: 560px;
      color: #344258;
      font-size: 0.95rem;
      line-height: 1.55;
  }

  /* --- SECCIÓN POR QUÉ ELEGIRNOS --- */
  #por-que-elegirnos {
      position: relative;
      overflow: hidden;
      min-height: auto;
      padding-top: 96px;
      padding-bottom: 96px;
      background:
          radial-gradient(circle at 10% 12%, rgba(244, 196, 0, 0.14), transparent 28%),
          radial-gradient(circle at 92% 18%, rgba(8, 70, 216, 0.1), transparent 25%),
          linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
      color: var(--texto-oscuro);
  }

  #por-que-elegirnos::before {
      content: "";
      position: absolute;
      inset: -18% auto auto -10%;
      width: min(56vw, 680px);
      height: 130%;
      background: url("./assets/fondo2-horizontal.jpg") center / cover no-repeat;
      opacity: 0.08;
      transform: rotate(8deg);
      pointer-events: none;
  }

  #por-que-elegirnos::after {
      content: "";
      position: absolute;
      right: -14%;
      bottom: -34%;
      width: min(52vw, 620px);
      height: 68%;
      background: linear-gradient(135deg, rgba(244, 196, 0, 0.16), rgba(229, 62, 62, 0.09) 52%, rgba(8, 70, 216, 0.1));
      transform: rotate(-12deg);
      pointer-events: none;
  }

  .why-choose {
      position: relative;
      z-index: 1;
      width: min(100%, 1120px);
      margin: 0 auto;
  }

  .why-choose-heading {
      max-width: 760px;
      margin-bottom: 30px;
  }

  .why-choose-heading .section-kicker {
      color: var(--azul-claro);
  }

  .why-choose-heading h2 {
      color: var(--azul-principal);
      font-size: clamp(2.2rem, 3.6vw, 3.35rem);
      font-weight: 900;
      line-height: 1.05;
  }

  .why-choose-panel {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
      gap: clamp(28px, 5vw, 62px);
      align-items: stretch;
      padding: 0;
      border: 0;
      border-radius: 10px;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
  }

  .why-choose-copy {
      display: grid;
      gap: 18px;
  }

  .why-choose-copy p {
      color: #344258;
      font-size: clamp(1rem, 1.45vw, 1.1rem);
      line-height: 1.75;
  }

  .why-reviews {
      display: grid;
      align-content: start;
      gap: 18px;
      min-width: 0;
      padding: 6px 0 0;
      border: 0;
      border-radius: 0;
      background-color: transparent;
      box-shadow: none;
  }

  .why-reviews-heading {
      display: grid;
      gap: 6px;
  }

  .why-reviews-heading span {
      color: #647084;
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
  }

  .why-reviews-heading strong {
      color: #20242d;
      font-size: clamp(1rem, 1.45vw, 1.18rem);
      line-height: 1.2;
  }

  .reviews-carousel {
      display: grid;
      grid-template-columns: 32px minmax(0, 1fr) 32px;
      gap: 12px;
      align-items: center;
  }

  .reviews-viewport {
      overflow: hidden;
      border-radius: 8px;
  }

  .reviews-track {
      display: flex;
      touch-action: pan-y;
      transition: transform 0.42s ease;
      will-change: transform;
  }

  .review-card {
      flex: 0 0 100%;
      min-height: 188px;
      display: grid;
      align-content: space-between;
      gap: 18px;
      padding: clamp(18px, 2.4vw, 24px);
      border: 1px solid rgba(20, 24, 32, 0.07);
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.74);
      box-shadow: none;
  }

  .review-topline {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
  }

  .review-topline h3 {
      margin-bottom: 4px;
      color: #111318;
      font-size: clamp(0.94rem, 1.25vw, 1.04rem);
      font-weight: 900;
      line-height: 1.18;
  }

  .review-topline span:not(.review-rating) {
      display: block;
      color: #718096;
      font-size: 0.82rem;
      font-weight: 600;
  }

  .review-rating {
      color: #c48b00;
      font-size: 0.88rem;
      letter-spacing: 0;
      white-space: nowrap;
      text-shadow: none;
  }

  .review-card p {
      max-width: 820px;
      color: #344258;
      font-size: clamp(0.96rem, 1.35vw, 1.08rem);
      font-weight: 500;
      line-height: 1.55;
  }

  .review-card p::before,
  .review-card p::after {
      content: none;
  }

  .reviews-arrow {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      background-color: transparent;
      color: #718096;
      box-shadow: none;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease;
  }

  .reviews-arrow:hover {
      background-color: rgba(8, 70, 216, 0.08);
      color: var(--azul-claro);
  }

  .reviews-arrow .icon {
      width: 17px;
      height: 17px;
  }

  .reviews-footer {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 12px;
      margin-top: 2px;
  }

  .reviews-dots {
      display: flex;
      gap: 7px;
      align-items: center;
  }

  .reviews-dots button {
      width: 6px;
      height: 6px;
      border: 0;
      border-radius: 999px;
      background-color: #cbd5e0;
      cursor: pointer;
      transition: width 0.25s ease, background-color 0.25s ease;
  }

  .reviews-dots button.active {
      width: 20px;
      background-color: var(--azul-claro);
  }

  .reviews-google-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 8px 13px;
      border: 1px solid rgba(8, 70, 216, 0.16);
      border-radius: 8px;
      background: transparent;
      color: var(--azul-claro);
      font-weight: 800;
      font-size: 0.84rem;
      text-decoration: none;
      box-shadow: none;
      transition: background-color 0.2s ease, color 0.2s ease;
  }

  .reviews-google-link:hover {
      background-color: var(--azul-claro);
      color: #ffffff;
  }

  @keyframes titleColorFlow {

      0%,
      100% {
          background-position: 0% 50%;
      }

      50% {
          background-position: 100% 50%;
      }
  }

  @keyframes titleUnderlinePulse {

      0%,
      100% {
          transform: scaleX(0.82);
          transform-origin: left;
          opacity: 0.72;
      }

      50% {
          transform: scaleX(1);
          opacity: 1;
      }
  }

  @media (prefers-reduced-motion: reduce) {

      .value-title,
      .value-title::after {
          animation: none;
      }
  }

  /* --- SECCIÓN CONTACTO --- */
  #contacto {
      background-color: var(--blanco);
  }

  .contacto-wrapper {
      max-width: 1080px;
      margin: 0 auto;
  }

  .contacto-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
      gap: 32px;
      align-items: stretch;
  }

  .map-container {
      min-height: 450px;
      overflow: hidden;
      border: 1px solid var(--borde);
      border-radius: 10px;
      box-shadow: 0 12px 30px rgba(26, 54, 93, 0.08);
      background-color: #edf2f7;
  }

  .map-container iframe {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 450px;
      border: 0;
  }

  .form-group {
      margin-bottom: 20px;
  }

  .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
  }

  .form-group input,
  .form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #cbd5e0;
      border-radius: 5px;
      font-size: 1rem;
  }

  .btn-wpp {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background-color: var(--whatsapp-color);
      color: white;
      border: none;
      width: 100%;
      cursor: pointer;
      font-size: 1.1rem;
      padding: 15px;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s;
  }

  .btn-wpp .icon {
      width: 20px;
      height: 20px;
  }

  .btn-wpp:hover {
      background-color: #1ebd54;
  }

  /* --- FOOTER --- */
  footer {
      background-color: #1a202c;
      color: #a0aec0;
      text-align: center;
      padding: 20px;
      font-size: 0.9rem;
  }

  @media (max-width: 1400px) {
      .navbar {
          width: 93%;
      }
  }

  /* --- RESPONSIVE --- */
  @media (max-width: 1024px) {
      .navbar {
          width: calc(100% - 32px);
          padding: 16px 20px;
      }

      section {
          padding: 120px 32px 56px;
      }

      .trayectoria-showcase {
          grid-template-columns: 1fr;
      }

      .trayectoria-photo {
          max-width: 560px;
      }

      #inicio {
          justify-content: center;
      }

      .hero-content {
          text-align: center;
          margin: 0 auto;
      }

      .hero-content p {
          margin-left: auto;
          margin-right: auto;
      }

      .features-grid {
          grid-template-columns: repeat(3, 1fr);
      }

      .value-services {
          grid-template-columns: 1fr;
          width: min(100%, 760px);
          gap: 28px;
      }

      .value-title {
          margin-bottom: 0;
      }

      .why-choose {
          width: min(100%, 760px);
      }

      .why-choose-panel {
          grid-template-columns: 1fr;
      }

      .contacto-layout {
          grid-template-columns: 1fr;
      }

      .contacto-directo {
          grid-template-columns: 1fr;
      }
  }

  @media (max-width: 1024px) {
      .quote-selection-bar {
          align-items: stretch;
          flex-direction: column;
          bottom: 14px;
      }

      .quote-selection-actions {
          width: 100%;
      }

      .quote-selection-actions button {
          flex: 1;
      }

      .navbar {
          align-items: center;
          flex-direction: row;
          flex-wrap: wrap;
          gap: 10px;
          top: 10px;
          width: calc(100% - 24px);
          padding: 14px 16px;
          border-radius: 12px;
      }

      .logo-container {
          width: calc(100% - 54px);
          gap: 0.7rem;
      }

      .brand-logo {
          height: 46px;
      }

      .logo-text {
          gap: 0;
      }

      .text-left-side {
          align-items: flex-start;
      }

      .text-main {
          display: flex;
          flex-direction: column;
          color: #0A4B9B;
          max-width: 120px;
          font-size: 0.72rem;
          line-height: 1.1;
          letter-spacing: 0;
          text-align: left;
      }

      .double-lines {
          display: block;
          width: 100%;
          height: 1px;
          margin-top: 4px;
          border: 0;
          background-color: rgba(10, 75, 155, 0.38);
      }

      .menu-toggle {
          display: flex;
      }

      .nav-menu {
          display: none;
          flex-direction: column;
          position: absolute;
          top: calc(100% + 8px);
          right: 0;
          width: min(280px, calc(100vw - 32px));
          gap: 2px;
          overflow-x: visible;
          padding: 8px;
          background-color: rgba(255, 255, 255, 0.98);
          border: 1px solid rgba(226, 232, 240, 0.95);
          border-radius: 12px;
          box-shadow: 0 18px 36px rgba(26, 54, 93, 0.14);
          backdrop-filter: blur(14px);
      }

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

      .nav-menu a {
          display: flex;
          align-items: center;
          gap: 8px;
          width: 100%;
          padding: 11px 12px;
          border-radius: 8px;
          background-color: transparent;
          font-size: 0.9rem;
          justify-content: flex-start;
          white-space: nowrap;
      }

      .nav-menu a::after {
          left: auto;
          right: auto;
          width: 50%;
          bottom: 6px;
      }

      section {
          min-height: auto;
          padding: 20px 30px;
          scroll-margin-top: 112px;
      }

      #inicio {
          min-height: 100vh;
          padding-top: 112px;
          padding-bottom: 34px;
          display: flex;
          align-items: center;
          justify-content: center;
      }

      .hero-bg-overlay {
          background: linear-gradient(180deg, rgba(243, 242, 236, 0.68) 0%, rgba(243, 242, 236, 0.42) 62%, rgba(243, 242, 236, 0.08) 100%);
      }

      .hero-content h1 {
          font-size: clamp(2.45rem, 10.5vw, 3.7rem);
      }

      #empresa,
      #servicios,
      #por-que-elegirnos {
          padding-top: 44px;
          padding-bottom: 52px;
      }

      .features-grid {
          width: 90%;
          gap: 24px;
      }


      .trayectoria-showcase {
          width: 100%;
          gap: 24px;
      }

      .trayectoria-photo {
          width: 100%;
          max-width: none;
      }

      .value-services {
          width: 100%;
      }

      .why-choose {
          width: 100%;
      }

      .why-choose-panel {
          grid-template-columns: 1fr;
      }

      .reviews-carousel {
          grid-template-columns: 1fr;
      }

      .reviews-arrow {
          display: none;
      }

      .review-card {
          min-height: 210px;
      }

      .review-topline {
          flex-direction: column;
      }

      .reviews-footer {
          flex-direction: column;
          align-items: center;
      }

      .reviews-dots {
          justify-content: center;
      }

      .reviews-google-link {
          width: auto;
      }

      .hero-content p,
      .section-subtitle {
          font-size: 1rem;
      }

      .hero-content p{
        font-weight: 500;
        margin-bottom: 20px;
      }

      h2 {
          font-size: 1.8rem;
          line-height: 1.2;
      }

      .btn-container {
          flex-direction: row;
          width: 100%;
          gap: 10px;
      }

      .btn {
          flex: 1 1 0;
          width: 100%;
          min-width: 0;
          padding: 10px 12px;
          gap: 7px;
          font-size: 0.9rem;
          text-align: center;
      }

      .btn .icon {
          width: 15px;
          height: 15px;
      }

      .btn-primary {
          box-shadow: 0 5px 12px rgba(237, 163, 4, 0.18);
      }

      .btn-secondary {
          box-shadow: 0 5px 12px rgba(20, 24, 32, 0.06);
      }

      .search-filter-container {
          padding: 18px;
      }

      .search-box input {
          font-size: 1rem;
          padding: 13px 14px;
      }

      .filter-tabs {
          flex-wrap: nowrap;
          overflow-x: auto;
          padding-bottom: 6px;
          scrollbar-width: thin;
      }

      .filter-btn {
          flex: 0 0 auto;
          white-space: nowrap;
      }

      .products-grid,
      .features-grid,
      .mision-vision-grid {
          grid-template-columns: 1fr;
      }

      .product-card {
          padding: 20px;
      }
  }

  @media (max-width: 420px) {
      .navbar {
          width: calc(100% - 18px);
          padding: 12px 12px;
      }

      .text-main {
          font-size: 10px;
      }

      section {
          padding: 40px 16px 42px;
      }

      .hero-content h1 {
          font-size: clamp(2.15rem, 10vw, 2.9rem);
      }

      h2 {
          font-size: 1.55rem;
      }

      .trayectoria-photo,
      .feature-card {
          border-radius: 8px;
      }

      .feature-card {
          padding: 18px;
      }
  }

  /* --- CONTACTO Y FOOTER: DISEÑO REFORZADO --- */
  #contacto {
      position: relative;
      overflow: hidden;
      min-height: auto;
      padding-top: 96px;
      padding-bottom: 86px;
      background:
          radial-gradient(circle at 12% 18%, rgba(8, 70, 216, 0.11), transparent 28%),
          radial-gradient(circle at 92% 20%, rgba(244, 196, 0, 0.14), transparent 24%),
          linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  }

  #contacto::before {
      content: "";
      position: absolute;
      left: -18%;
      bottom: -44%;
      width: 58%;
      height: 68%;
      background: linear-gradient(135deg, rgba(8, 70, 216, 0.11), rgba(229, 62, 62, 0.1), rgba(244, 196, 0, 0.12));
      transform: rotate(-9deg);
      pointer-events: none;
  }

  .contacto-wrapper {
      position: relative;
      z-index: 1;
  }

  .contacto-intro {
      max-width: 720px;
      margin-bottom: 30px;
  }

  .contacto-column,
  .ubicacion-column {
      display: flex;
      flex-direction: column;
      align-self: stretch;
      height: 100%;
  }

  .contacto-form,
  .map-container {
      flex: 0 0 auto;
      height: 450px;
      min-height: 450px;
  }

  .contacto-intro,
  .ubicacion-intro {
      min-height: 104px;
  }

  .contacto-intro h2,
  .ubicacion-intro h2 {
      margin-bottom: 12px;
      color: var(--azul-principal);
      font-size: clamp(2rem, 3.4vw, 3rem);
      line-height: 1.05;
  }

  .contacto-intro .section-subtitle {
      margin-bottom: 0;
      color: #526071;
  }

  .contacto-directo {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin: 24px 0 0;
  }

  .contacto-method {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px;
      border: 1px solid rgba(8, 70, 216, 0.12);
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.82);
      color: #1f2a44;
      text-decoration: none;
      box-shadow: 0 14px 30px rgba(20, 24, 32, 0.06);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .contacto-method:hover {
      border-color: rgba(8, 70, 216, 0.28);
      box-shadow: 0 18px 36px rgba(8, 70, 216, 0.12);
      transform: translateY(-2px);
  }

  .contacto-method .icon {
      width: 20px;
      height: 20px;
      color: var(--azul-claro);
  }

  .contacto-method strong {
      display: block;
      color: var(--azul-principal);
      font-size: 0.92rem;
      font-weight: 900;
      line-height: 1.2;
  }

  .contacto-method small {
      display: block;
      margin-top: 3px;
      color: #526071;
      font-size: 0.92rem;
      line-height: 1.35;
      overflow-wrap: anywhere;
  }

  .contacto-phone-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 9px;
  }

  .contacto-phone-list a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 9px;
      border-radius: 999px;
      background-color: rgba(8, 70, 216, 0.08);
      color: var(--azul-claro);
      font-size: 0.88rem;
      font-weight: 900;
      text-decoration: none;
      transition: background-color 0.2s ease, color 0.2s ease;
  }

  .contacto-phone-list a:hover {
      background-color: var(--azul-claro);
      color: #ffffff;
  }

  .contact-toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      z-index: 1400;
      width: min(420px, calc(100% - 32px));
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border: 1px solid rgba(8, 70, 216, 0.18);
      border-radius: 10px;
      background-color: rgba(255, 255, 255, 0.97);
      color: #1f2a44;
      box-shadow: 0 22px 46px rgba(20, 24, 32, 0.18);
      backdrop-filter: blur(14px);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 16px);
      transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .contact-toast.show {
      opacity: 1;
      transform: translate(-50%, 0);
  }

  .contact-toast::before {
      content: "";
      width: 10px;
      height: 10px;
      flex: 0 0 auto;
      border-radius: 999px;
      background: linear-gradient(135deg, #031a63, #0f5cff);
      box-shadow: 0 0 0 5px rgba(8, 70, 216, 0.1);
  }

  .contact-toast strong {
      display: block;
      color: var(--azul-principal);
      font-size: 0.92rem;
      line-height: 1.2;
  }

  .contact-toast span {
      display: block;
      margin-top: 2px;
      color: #526071;
      font-size: 0.86rem;
      overflow-wrap: anywhere;
  }

  .contacto-form {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 450px;
      padding: 28px;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
      box-shadow: 0 20px 48px rgba(20, 24, 32, 0.09);
      backdrop-filter: blur(12px);
  }

  .contacto-form::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 5px;
      border-radius: 8px 8px 0 0;
      background: linear-gradient(90deg, #031a63 0%, #0846d8 46%, #0f5cff 72%, #04267f 100%);
  }

  .map-container {
      position: relative;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      box-shadow: 0 20px 48px rgba(20, 24, 32, 0.11);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .map-container:hover {
      transform: translateY(-3px);
      box-shadow: 0 26px 62px rgba(8, 70, 216, 0.14);
  }

  .form-group label {
      margin-bottom: 7px;
  }

  .form-group input,
  .form-group textarea {
      padding: 13px 14px;
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.9);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
      outline: none;
      border-color: var(--azul-claro);
      box-shadow: 0 0 0 4px rgba(8, 70, 216, 0.12);
      transform: translateY(-1px);
  }

  .btn-wpp {
      background:
          linear-gradient(135deg, #17a34a 0%, #25d366 44%, #45f083 72%, #0c8f3a 100%);
      border: 1px solid rgba(255, 255, 255, 0.36);
      border-radius: 8px;
      background-size: 170% 170%;
  }

  .btn-wpp:hover {
      background-position: 100% 50%;
      box-shadow:
          0 22px 44px rgba(37, 211, 102, 0.44),
          0 0 34px rgba(37, 211, 102, 0.38),
          inset 0 1px 0 rgba(255, 255, 255, 0.34);
      transform: translateY(-2px);
  }

  @keyframes whatsappGlow {

      0%,
      100% {
          box-shadow:
              0 18px 34px rgba(37, 211, 102, 0.34),
              0 0 24px rgba(37, 211, 102, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.28);
      }

      50% {
          box-shadow:
              0 22px 42px rgba(37, 211, 102, 0.42),
              0 0 36px rgba(37, 211, 102, 0.34),
              inset 0 1px 0 rgba(255, 255, 255, 0.32);
      }
  }

  footer {
      position: relative;
      overflow: hidden;
      padding: 28px 20px;
  }

  footer::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, #031a63 0%, #0846d8 46%, #0f5cff 72%, #04267f 100%);
      background-size: 220% 100%;
      animation: footerColorFlow 8s ease-in-out infinite;
  }

  .footer-inner {
      display: flex;
      width: min(100%, 1080px);
      margin: 0 auto;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
  }

  .footer-brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #ffffff;
      font-weight: 800;
  }

  .footer-brand img {
      width: 42px;
      height: 42px;
      object-fit: contain;
      filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.22));
  }

  .footer-inner p {
      margin: 0;
      color: #cbd5e0;
  }

  @keyframes footerColorFlow {

      0%,
      100% {
          background-position: 0% 50%;
      }

      50% {
          background-position: 100% 50%;
      }
  }

  @media (max-width: 1024px) {
      #contacto {
          padding: 44px 20px 58px;
      }

      .contacto-form {
          min-height: auto;
          height: auto;
          padding: 22px;
      }

      .contacto-directo {
          grid-template-columns: 1fr;
      }

      .map-container {
          height: 360px;
          min-height: 360px;
      }

      .map-container iframe {
          min-height: 360px;
      }

      .contacto-intro,
      .ubicacion-intro {
          min-height: auto;
      }

      .footer-inner {
          flex-direction: column;
          text-align: center;
      }
  }

  @media (prefers-reduced-motion: reduce) {
      footer::before {
          animation: none;
      }
  }

  /* --- CATALOGO COMPACTO --- */
  #productos {
      position: relative;
      overflow: hidden;
      background:
          radial-gradient(circle at 8% 12%, rgba(8, 70, 216, 0.1), transparent 28%),
          linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
  }

  #productos::before {
      content: "";
      position: absolute;
      top: -18%;
      right: -16%;
      width: 44%;
      height: 42%;
      background: linear-gradient(135deg, rgba(244, 196, 0, 0.16), rgba(229, 62, 62, 0.12), rgba(8, 70, 216, 0.14));
      transform: rotate(-12deg);
      pointer-events: none;
  }

  #productos>h2,
  #productos>.section-subtitle,
  #productos>.catalog-spotlight,
  #productos>.category-cards,
  #productos>.search-filter-container,
  #productos>.catalog-results-bar,
  #productos>.products-grid,
  #productos>.load-more-products {
      position: relative;
      z-index: 1;
  }

  .catalog-spotlight {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
      gap: 24px;
      align-items: center;
      margin: 28px 0 22px;
      padding: 24px;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      background:
          linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
      box-shadow: 0 18px 44px rgba(20, 24, 32, 0.08);
  }

  .catalog-spotlight h3 {
      margin-bottom: 8px;
      color: #171923;
      font-size: clamp(1.35rem, 2.4vw, 2rem);
      line-height: 1.1;
  }

  .catalog-spotlight p {
      max-width: 720px;
      color: #526071;
  }

  .catalog-total {
      display: grid;
      place-items: center;
      min-height: 130px;
      border-radius: 8px;
      background:
          linear-gradient(135deg, rgba(8, 70, 216, 0.1), rgba(244, 196, 0, 0.12));
      text-align: center;
  }

  .catalog-total strong {
      color: var(--azul-claro);
      font-size: 3rem;
      line-height: 0.95;
  }

  .catalog-total span {
      max-width: 120px;
      color: #344258;
      font-size: 0.86rem;
      font-weight: 800;
      text-transform: uppercase;
  }

  .category-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 14px;
      margin-bottom: 20px;
  }

  .category-card {
      position: relative;
      min-height: 118px;
      display: grid;
      align-content: center;
      gap: 5px;
      overflow: hidden;
      padding: 16px;
      border: 1px solid rgba(20, 24, 32, 0.08);
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.82);
      color: #171923;
      cursor: pointer;
      text-align: left;
      box-shadow: 0 10px 26px rgba(20, 24, 32, 0.06);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .category-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 5px;
      background: linear-gradient(90deg, var(--azul-claro), #000820);
      opacity: 0.72;
  }

  .category-card:hover,
  .category-card.active {
      border-color: rgba(8, 70, 216, 0.24);
      box-shadow: 0 18px 42px rgba(8, 70, 216, 0.12);
      transform: translateY(-3px);
  }

  .category-card span {
      font-size: 0.92rem;
      font-weight: 900;
  }

  .category-card strong {
      color: var(--azul-claro);
      font-size: 2rem;
      line-height: 1;
  }

  .category-card small {
      color: #687486;
      font-weight: 700;
      text-transform: uppercase;
  }

  .catalog-results-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin: 0 0 18px;
      color: #526071;
      font-weight: 800;
  }

  .catalog-results-bar button,
  .load-more-products {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(8, 70, 216, 0.22);
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.82);
      color: var(--azul-claro);
      cursor: pointer;
      font-weight: 900;
      transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .catalog-results-bar button {
      padding: 9px 12px;
  }

  .load-more-products {
      margin: 28px auto 0;
      padding: 13px 22px;
  }

  .catalog-results-bar button:hover,
  .load-more-products:hover {
      background-color: var(--azul-claro);
      color: #ffffff;
      transform: translateY(-2px);
  }

  .catalog-filter-jump {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 1150;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 10px 14px;
      border: 1px solid rgba(8, 70, 216, 0.2);
      border-radius: 999px;
      background-color: rgba(255, 255, 255, 0.9);
      color: var(--azul-claro);
      box-shadow: 0 16px 34px rgba(8, 70, 216, 0.14);
      backdrop-filter: blur(12px);
      cursor: pointer;
      font-size: 0.88rem;
      font-weight: 900;
      opacity: 0;
      pointer-events: none;
      transform: translateY(12px);
      transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
  }

  body.has-quote-selection .catalog-filter-jump {
      bottom: 104px;
  }

  .catalog-filter-jump.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
  }

  .catalog-filter-jump .icon {
      width: 17px;
      height: 17px;
  }

  .catalog-filter-jump:active {
      background-color: rgba(8, 70, 216, 0.12);
      color: var(--azul-claro);
  }

  @media (hover: hover) and (pointer: fine) {
      .catalog-filter-jump:hover {
          background-color: rgba(8, 70, 216, 0.92);
          color: #ffffff;
          transform: translateY(-2px);
      }
  }

  @media (max-width: 1024px) {
      .catalog-spotlight {
          grid-template-columns: 1fr;
          padding: 20px;
      }

      .catalog-total {
          min-height: 108px;
      }

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

      .catalog-results-bar {
          align-items: flex-start;
          flex-direction: column;
      }

      .catalog-filter-jump {
          right: 16px;
          bottom: 18px;
          padding: 10px 12px;
      }

      body.has-quote-selection .catalog-filter-jump {
          bottom: 158px;
      }
  }

  /* --- SECCIÓN PREGUNTAS FRECUENTES (FAQ) --- */
  #faq {
      position: relative;
      overflow: hidden;
      padding-top: 96px;
      padding-bottom: 86px;
      background-color: #f7f9fc;
  }

  .faq-ambient-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
  }

  .faq-bg-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
  }

  .faq-bg-overlay {
      position: absolute;
      inset: 0;
      background-color: rgba(247, 249, 252, 0.75);
      z-index: 1;
  }

  .faq-wrapper {
      max-width: 960px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      background: rgba(255, 255, 255, 0.62);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.45);
      border-radius: 24px;
      padding: 50px;
      box-shadow: 0 24px 60px rgba(8, 70, 216, 0.05), 0 8px 16px rgba(0, 0, 0, 0.02);
  }

  .faq-container {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
  }

  .faq-item {
      border: 1px solid rgba(8, 70, 216, 0.1);
      border-radius: 12px;
      background-color: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 8px 20px rgba(20, 24, 32, 0.03);
      transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
      overflow: hidden;
  }

  .faq-item:hover {
      border-color: rgba(8, 70, 216, 0.22);
      box-shadow: 0 12px 28px rgba(8, 70, 216, 0.06);
      background-color: rgba(255, 255, 255, 0.95);
      transform: translateY(-1px);
  }

  .faq-item.active {
      border-color: rgba(8, 70, 216, 0.34);
      box-shadow: 0 16px 36px rgba(8, 70, 216, 0.1);
      background-color: #ffffff;
  }

  .faq-question {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 22px 28px;
      background: none;
      border: none;
      text-align: left;
      font-size: 1.12rem;
      font-weight: 700;
      color: var(--azul-principal);
      cursor: pointer;
      gap: 16px;
  }

  .faq-question span {
      line-height: 1.3;
  }

  .faq-question .faq-trigger-icon {
      width: 20px;
      height: 20px;
      color: var(--azul-claro);
      transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
      flex-shrink: 0;
  }

  .faq-item.active .faq-question .faq-trigger-icon {
      transform: rotate(180deg);
  }

  .faq-answer-wrapper {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .faq-item.active .faq-answer-wrapper {
      grid-template-rows: 1fr;
  }

  .faq-answer-content {
      overflow: hidden;
  }

  .faq-answer {
      padding: 0 28px 28px 28px;
      color: #4a5568;
      font-size: 0.98rem;
      line-height: 1.6;
  }

  .faq-answer p {
      margin: 0;
  }

  @media (max-width: 1024px) {
      #faq {
          padding: 44px 20px 58px;
      }
      .faq-wrapper {
          padding: 30px 20px;
          border-radius: 16px;
      }
      .faq-question {
          padding: 16px 20px;
          font-size: 1.02rem;
      }
      .faq-answer {
          padding: 0 20px 20px 20px;
          font-size: 0.92rem;
      }
  }
