    :root {
      --accent: #cabdb0;
      --bg-light: #f8f8f8;
      --text-dark: #333;
      --text-muted: #666;
      --text-red: #ca181d;
      --accent1: #cabdb0;
      --accent2: #E07C24;
      --accent3: #3399DD;
      --accent4: #8AB661;
      --accent5: #B3405E;
      --accent6: #5D60FF;
      --overlay: rgba(0, 0, 0, 0.8);

    }
    html, body {
      overflow-x: hidden;
      max-width: 100vw;
    }
    
    body {
      margin: 0;
      font-family: 'Open Sans', sans-serif;
      background-color: #030405;
      color: #fff;
        overflow-x: hidden !important;
    }
    h2, h5 {
      font-family: 'League Spartan', sans-serif;
      color: var(--accent);
    }

    /* Navbar */
    .navbar {
      background-color: transparent !important;
      position: absolute;
      width: 100%;
      z-index: 10;
      padding: 1.5rem 0;
    }
    .nav-link {
      color: #fff !important;
      font-weight: 400;
      font-size: 1rem;
      letter-spacing: 0.5px;
      margin-left: 1rem;
    }
    
    .nav-link:hover {
      color: #cabdb0 !important;
    }
    @media (max-width: 991px) {
        .navbar .navbar-nav { display: none !important; }
    }
    
    .btn-lang-toggle {
      background-color: var(--accent);
      color: #030405;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 0.45rem 0.9rem;
      border-radius: 30px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      border: none;
    }
    
    .btn-lang-toggle:hover {
      background-color: #fff;
      color: var(--accent);
    }
    
    .dot-nav {
      position: fixed;
      right: 2%;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      z-index: 1000;
    }
    .dot-nav .dot {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #6c757de0;
      transition: background 0.3s;
      position: relative;
    }
    .dot-nav .dot:hover,
    .dot-nav .dot.active {
      background: var(--accent);
    }
    
    /* Tooltip */
    .dot-nav .dot::after {
      content: attr(title);
      position: absolute;
      right: 22px;
      top: 50%;
      transform: translateY(-50%) scale(0);
      background: rgba(0,0,0,0.7);
      color: #fff;
      padding: 4px 8px;
      border-radius: 4px;
      white-space: nowrap;
      font-size: 0.85rem;
     transform-origin: right center;
      transition: transform 0.2s ease;
    }
    .dot-nav .dot:hover::after {
      transform: translateY(-50%) scale(1);
    }

    /* Hero */
    .hero {
      position: relative;
      background: url('img/INICIO.jpg') center/cover no-repeat;
      height: 100vh;
      display: flex;
      align-items: center;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, #030405 10%, rgba(3,4,5,0.2));
    }
    .hero-content {
      position: relative;
      z-index: 2;
      padding: 2rem;
      margin-left: 8%;
      max-width: 100%;
      padding-top: 4rem;
    }
    .hero-content h1 {
      font-family: 'League Spartan', sans-serif;
      font-weight: 500;
      font-size: 3.5rem;
      line-height: 1.3;
      color: #fff;
    }
    .hero-content h1 .text-accent {
      color: var(--accent);
    }
    .hero-content h1 .text-accent2 {
      color: var(--text-red);
    }
    .hero-content p {
      margin-top: 1.5rem;
      font-size: 1.2rem;
      font-weight: 300;
      color: #eee;
      line-height: 1.6;
    }
    .btn-custom {
      background-color: var(--accent);
      color: #030405;
      border-radius: 12px;
      padding: 0.9rem 1.8rem;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-top: 4rem;
      transition: opacity 0.3s;
    }
    .btn-custom:hover {
      opacity: 0.85;
    }

    /* Secciones */
    section {
      padding: 6rem 0;
    }
    #nosotros, #que-hacemos, #contacto {
      background-color: var(--bg-light);
      color: var(--text-dark);
    }
    .section-title {
      font-size: 3rem;
      letter-spacing: 1.5px;
      font-weight: 800;
      margin-bottom: 2.5rem;
      text-align: center;
      color: var(--accent);
      position: relative;
      z-index: 2;
    }
    .section-title::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -8px;
      width: 80px;
      height: 3px;
      border-radius: 3px;
      background: linear-gradient(90deg, var(--accent), rgba(0,0,0,0));
      transform: translateX(-50%);
    }

    #nosotros h5 {
      font-size: 1.75rem;
      font-weight: 500;
      margin-bottom: 1rem;
    }
    #nosotros p, #nosotros ul {
      font-size: 1rem;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.8;
    }
    #nosotros ul {
      padding-left: 1.2rem;
    }
    #nosotros ul li {
      margin-bottom: 0.75rem;
    }
    #nosotros ul li::before {
      content: "\2022 ";
      color: var(--accent);
      font-weight: 600;
    }
    #nosotros img {
      width: 100%;
      display: block;
    }

    #contacto {
        padding: 6rem 0 8rem 0
    }
    #contacto .form-control {
      border: 1px solid #ccc;
      border-radius: 0;
      box-shadow: none;
      font-weight: 300;
    }
    #contacto .form-label {
      font-weight: 500;
      color: var(--text-dark);
    }
    #contacto::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url('img/bg-worldmap-dots2.svg') center/contain no-repeat;
      opacity: 0.25;
      mix-blend-mode: multiply;
      pointer-events: none;
    }

    
    /* Timeline */
    .timeline {
      position: relative;
      padding-left: 32px;
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 12px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--accent);
    }
    .timeline-dot {
      position: absolute;
      left: 4px;
      top: 4px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--accent);
    }
    .timeline h5 {
      color: var(--text-dark);
    }
    .timeline p {
      color: var(--text-muted);
    }

    /* Misión / Visión */
    .mv-card {
      background: #fff;
      border-radius: 1.25rem;
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .mv-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }
    .mv-card i {
      font-size: 2.2rem;
      color: var(--accent);
    }
    .mv-card h5 {
      color: var(--text-dark);
    }
    .mv-card p {
      color: var(--text-muted);
    }
    
    /* Responsive */
    @media (max-width: 991px) {
      .timeline {
        padding-left: 0;
      }
      .timeline::before, .timeline-dot {
        display: none;
      }
    }
    @media (max-width: 768px) {
      .hero-content {
        margin-left: 3%;
      }
      .hero-content h1 {
        font-size: 2.5rem;
      }
      .btn-custom {
        padding: 0.8rem 1.5rem;
      }
      .nav-link {
        font-size: 0.9rem;
        margin-left: 0.5rem;
      }
      section {
        padding: 4rem 0;
      }
    }
    
    /* Section Servicios */
    #que-hacemos {
      position: relative;
      padding: 8rem 0 6rem;
      background: url('img/bg-services-3.jpg') center/cover no-repeat;
    }

    .services-logo {
      position: absolute;
      top: 2.5rem;
      left: 2.5rem;
      width: 120px;
      z-index: 1;
      cursor: pointer;
      transition: opacity 0.3s ease;
    }
    

    @media (max-width: 768px) {
      #que-hacemos .services-logo {
        top: 1rem;
        right: 1rem;
        width: 80px;
      }
    }




    .services-logo:hover {
      opacity: 0.8;
    }
    #que-hacemos::before {
      content: "";
      position: absolute; inset: 0;
      background: rgba(0, 0, 0, 0.6);
    }
    #que-hacemos .container {
      position: relative; z-index: 2;
    }
    #que-hacemos .section-title {
      margin-bottom: 4rem;
    }
    #que-hacemos .services-description {
      margin: 1rem 15% 5rem 15%;
    }
    #que-hacemos .services-description p {
      color: #fff;
      font-size: 1.125rem;
      font-weight: 300;
      line-height: 1.8;
    }
    .service-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2.5rem; 
      perspective: 1200px;
    }

    .service-card {
      position: relative;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      color: #111;
      border-top: 4px solid var(--accent1);
      border-radius: 1rem;
      padding: 4rem 1.5rem 2rem;
      overflow: visible;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }
    .icon-clip {
      position: absolute;
      top: -36px; left: 50%;
      transform: translateX(-50%);
      width: 80px; height: 80px;
      background: var(--accent);
      border-radius: 50%;
      display: flex; align-items:center; justify-content:center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      
    }
    .service-card:hover .icon-clip i {
      transform: scale(1.15);
    }
    .icon-clip i {
      font-size: 2.4rem;
      color: #fff;
      transition: transform 0.3s;

    }
        
    .service-card:nth-child(1) { border-top-color: var(--accent1); }
    .service-card:nth-child(2) { border-top-color: var(--accent2); }
    .service-card:nth-child(3) { border-top-color: var(--accent3); }
    .service-card:nth-child(4) { border-top-color: var(--accent4); }
    .service-card:nth-child(5) { border-top-color: var(--accent5); }
    .service-card:nth-child(6) { border-top-color: var(--accent6); }

    .service-card:nth-child(1) .icon-clip { background: var(--accent1); }
    .service-card:nth-child(2) .icon-clip { background: var(--accent2); }
    .service-card:nth-child(3) .icon-clip { background: var(--accent3); }
    .service-card:nth-child(4) .icon-clip { background: var(--accent4); }
    .service-card:nth-child(5) .icon-clip { background: var(--accent5); }
    .service-card:nth-child(6) .icon-clip { background: var(--accent6); }

    .service-card h5 {
      margin-top: 1.75rem;
      font-family: 'League Spartan', sans-serif;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 1.4rem;
      letter-spacing: 1px;
      color: #111;
      
    }
    .service-card p {
      margin-top: 0.75rem;
      color: rgba(34,34,34,0.85); 
      font-size: 1.1rem; 
      font-weight: 300;
      line-height: 1.6;
    }

    /* Bounce keyframes */
    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
      40% { transform: translateY(-12px) translateX(-50%); }
      60% { transform: translateY(-6px) translateX(-50%); }
    }

    /* Responsive tweaks */
    @media (max-width: 768px) {
      .service-card { padding: 3rem 1rem 1.5rem; }
      .icon-clip { width: 64px; height: 64px; top: -32px; }
      .icon-clip i { font-size: 2rem; }
    }

    #nosotros .mv-card {
        background: #fff;
        color: var(--text-dark);
    }
    /* Mantener stacking de columns en móvil */
    @media (max-width: 768px) {
        #nosotros .row {
          flex-direction: column !important;
        }
        #nosotros img, #nosotros .mv-card {
          max-height: none;
          margin-bottom: 2rem;
        }
    }

    #nosotros .nosotros-logo {
      position: absolute;
      top: 2.5rem;
      left: 2.5rem;
      width: 120px;
      z-index: 1;
      cursor: pointer;
      transition: opacity 0.3s ease;
    }
    #nosotros .nosotros-logo:hover {
      opacity: 0.8;
    }
    @media (max-width: 768px) {
      #nosotros .nosotros-logo {
        top: 1rem;
        right: 1rem;
        width: 80px;
      }
    }


    .footer {
      background-color: var(--bg-dark);
      color: var(--accent);
      position: relative;
      overflow: visible;
    }
    .footer p {
      margin: 1.2rem 0;
      font-size: .9rem;
    }
    
    @media (max-width: 767px) {
      .footer .row {
        flex-direction: column;
        text-align: center;
        padding-top: 5vh;
      }
      .footer .text-end {
        text-align: center !important;
      }
      .footer-logo {
        transform: translate(-50%, -40%);
      }
    }
    
    .footer-logo {
      position: absolute;
      left: 50%;
      transform: translate(-50%, 0%);
      width: 80px;
      height: 80px;
      z-index: 1;
      top: -40px;
    }
    
    .footer-logo::before {
      content: "";
      position: absolute;
      left: 50%;
      transform: translate(-50%, 0);
      bottom: 20%;
      width: 160px;
      height: 100px;
      background: url('img/gauss.svg') no-repeat center/contain;
      z-index: -1;
    }
    
    .navbar-brand img {
      width: 120px;
      transition: width 0.3s ease;
    }
    
    @media (max-width: 1296px) {
      .navbar-brand img {
        width: 100px;
      }
    }
    
    @media (max-width: 992px) {
      .navbar-brand img {
        width: 80px;
      }
    }
    
    #langIcon {
  display: inline-block;
  width: 1.25rem;
  height: auto;
}
