/* Reset global de servicios */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    /* Añade padding al body para navbar fijo */
    body {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      padding-top: 70px; /* ESSENCIAL para navbar fijo */
      overflow-x: hidden;
      background-color: #070846;
    }

    /* NAVBAR */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      width: 100%;
      height: 70px;
      background-color: rgba(7, 8, 70, 0.9);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 5%;
    }

    .menu {
      display: flex;
      list-style: none;
      gap: 30px;
    }

    .menu li a {
      text-decoration: none;
      color: white;
      font-family: 'Cinzel', serif;
      white-space: nowrap;
      font-size: 1.1rem;
      transition: color 0.3s;
    }

    .menu li a:hover {
      color: #ccc;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 2rem;
      height: 2rem;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1001;
    }

    .hamburger span {
      width: 2rem;
      height: 0.25rem;
      background: white;
      border-radius: 10px;
      transition: all 0.3s linear;
      position: relative;
      transform-origin: 1px;
    }

    /* Estilos del menú hamburguesa activo */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    /* HERO - MODIFICADO */
    .hero {
      padding: 100px 20px 60px;
      background-color: #070846;
      max-width: 1920px;
      height: auto;
      min-height: 720px;
      margin: 0 auto;
      color: white;
      font-family: 'Cinzel', serif;
      position: relative;
    }

    /* Slider de Servicios - MODIFICADO */
    .services-slider {
      width: 100%;
      max-width: 1920px;
      height: 720px;
      position: absolute;
      top: 0;
      left: 0;
      overflow: hidden;
      margin: 0 auto;
    }

    .slider-container {
      position: relative;
      width: 100%;
      height: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
    }

    .slider-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s ease;
    }

    .slide {
      min-width: 100%;
      height: 100%;
      position: relative;
    }

    .slide-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0.8;
    }

    .slide-content {
      position: absolute;
      bottom: 20%;
      left: 10%;
      color: white;
      max-width: 600px;
      background-color: rgba(7, 8, 70, 0.7);
      padding: 30px;
      border-left: 4px solid #05fcfe;
      font-family: 'Cinzel', serif;
    }

    .slide-content h3 {
      font-size: 2rem;
      margin-bottom: 15px;
      color: #05fcfe;
    }

    .slide-content p {
      font-size: 1.2rem;
      line-height: 1.6;
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 60px;
      height: 60px;
      background-color: rgba(7, 8, 70, 0.7);
      color: white;
      border: none;
      border-radius: 50%;
      font-size: 2rem;
      cursor: pointer;
      z-index: 10;
      transition: all 0.3s ease;
    }

    .slider-arrow:hover {
      background-color: #05fcfe;
      transform: translateY(-50%) scale(1.1);
    }

    .prev-arrow {
      left: 30px;
    }

    .next-arrow {
      right: 30px;
    }

    .slider-dots {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 10;
    }

    .dot {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .dot.active {
      background-color: #05fcfe;
      transform: scale(1.2);
    }

    /* Efecto de slide activo */
    .slide {
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .slide.active {
      opacity: 1;
    }

    .pilula-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
    }

    .pilula-content {
      display: flex;
      align-items: flex-start;
      gap: 50px;
      margin-top: 30px;
    }

    .pilula-img {
      flex: 1;
      min-width: 300px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .pilula-img img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.9s ease;
    }

    .pilula-img:hover img {
      transform: scale(1.03);
    }

    .pilula-text {
      flex: 1;
      padding: 20px;
    }

    .pilula-text h3 {
      font-size: 1.8rem;
      margin-bottom: 20px;
      color: #acacac;
    }

    .pilula-text p {
      margin-bottom: 20px;
      font-size: 1.1rem;
      line-height: 1.8;
      color: #ffffff;
      max-width: 900px;
      white-space: normal;
    }

    /* WhatsApp */
    .link-whatsapp {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 999;
    }

    .link-whatsapp img {
      height: 60px;
      width: auto;
      transition: transform 0.3s ease;
    }

    .link-whatsapp img:hover {
      transform: scale(1.1);
    }

    /* FOOTER */
    footer {
      background-color: #070846;
      color: white;
      text-align: center;
      padding: 20px 0;
      margin: 0;
      margin-top: 50px;
    }

    /* CTA */
    .cta2 {
      background: #acacac;
      color: white;
      text-align: center;
      padding: 2.5rem 1rem;
      font-family: 'Cinzel', serif;
      margin-top: 750px; /* Ajuste para el slider */
    }

    .cta2 h2 {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
    }

    .btn {
      background-color: #070846;
      color: #ffffff;
      padding: 0.8rem 1.5rem;
      margin-top: 1.5rem;
      display: inline-block;
      text-decoration: none;
      font-weight: bold;
      border-radius: 15px;
      font-size: 1.1rem;
      transition: all 0.3s ease;
    }

    .btn:hover {
      background-color: #0a0a63;
      transform: translateY(-2px);
    }

    /* Formulario */
    .formulario-fale-conosco {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      display: flex;
      gap: 1.2rem;
      flex-direction: column;
      position: fixed;
      left: -400px;
      top: 50%;
      transform: translateY(-50%);
      padding: 2.5rem 1.8rem;
      border-radius: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
      z-index: 1000;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      width: 380px;
      max-width: 90vw;
    }

    .formulario-fale-conosco.visible {
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .formulario-fale-conosco input,
    .formulario-fale-conosco textarea {
      padding: 1rem 1.2rem;
      border: 1px solid #e0e0e0;
      border-radius: 0.8rem;
      font-size: 1rem;
      font-family: 'Montserrat', sans-serif;
      transition: all 0.3s ease;
      background: rgba(255, 255, 255, 0.8);
      color: #333;
    }

    .formulario-fale-conosco input:focus,
    .formulario-fale-conosco textarea:focus {
      outline: none;
      border-color: #3a7bd5;
      box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.1);
      transform: translateY(-1px);
    }

    .formulario-fale-conosco textarea {
      resize: vertical;
      min-height: 100px;
      line-height: 1.5;
    }

    .formulario-fale-conosco button[type="submit"] {
      background: linear-gradient(135deg, #3a7bd5, #00d2ff);
      color: white;
      border: none;
      padding: 1rem 1.5rem;
      border-radius: 0.8rem;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 0.6rem;
    }

    .formulario-fale-conosco button[type="submit"]:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(58, 123, 213, 0.3);
    }

    .mascara-formulario {
      visibility: hidden;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(5px);
      z-index: 999;
      transition: all 0.4s ease;
      opacity: 0;
    }

    .mascara-formulario.visible {
      visibility: visible;
      opacity: 1;
    }

    /* ========== RESPONSIVIDAD ========== */
    @media (max-width: 1200px) {
      .navbar {
        padding: 0 3%;
      }
      
      .menu li a {
        font-size: 1rem;
      }
      
      .slide-content {
        left: 5%;
        max-width: 500px;
      }
      
      .slide-content h3 {
        font-size: 1.8rem;
      }
      
      .slide-content p {
        font-size: 1.1rem;
      }
    }

    @media (max-width: 992px) {
      .services-slider {
        height: 600px;
      }
      
      .slide-content {
        bottom: 15%;
        max-width: 400px;
        padding: 20px;
      }
      
      .slide-content h3 {
        font-size: 1.6rem;
      }
      
      .pilula-content {
        flex-direction: column;
        gap: 30px;
      }
      
      .pilula-img {
        min-width: 100%;
        margin-bottom: 0;
      }
      
      .cta2 {
        margin-top: 630px;
      }
    }

    @media (max-width: 768px) {
      /* Menú hamburguesa */
      .hamburger {
        display: flex;
        z-index: 1001;
      }
      
      .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 220px;
        background: rgba(7, 8, 70, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
        gap: 4rem;
        z-index: 1000;
      }
      
      .menu.active {
        right: 0;
      }
      
      /* Slider */
      .services-slider {
        height: 500px;
      }
      
      .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
      }
      
      .prev-arrow {
        left: 15px;
      }
      
      .next-arrow {
        right: 15px;
      }
      
      .slide-content {
        bottom: 10%;
        left: 5%;
        max-width: 300px;
        padding: 15px;
      }
      
      .slide-content h3 {
        font-size: 1.4rem;
      }
      
      .slide-content p {
        font-size: 1rem;
      }
      
      .slider-dots {
        bottom: 20px;
      }
      
      .cta2 {
        margin-top: 530px;
        padding: 2rem 1rem;
      }
      
      .cta2 h2 {
        font-size: 1.5rem;
      }
      
      .btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
      }
      
      .pilula-text h3 {
        font-size: 1.5rem;
      }
      
      .pilula-text p {
        font-size: 1rem;
      }
    }

    @media (max-width: 576px) {
      .navbar {
        padding: 0 4%;
      }
      
      .logo img {
        height: 40px;
      }
      
      .services-slider {
        height: 400px;
      }
      
      .slide-content {
        bottom: 5%;
        max-width: 250px;
        padding: 10px;
      }
      
      .slide-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
      }
      
      .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
      }
      
      .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }
      
      .dot {
        width: 12px;
        height: 12px;
      }
      
      .cta2 {
        margin-top: 430px;
        padding: 1.5rem 1rem;
      }
      
      .cta2 h2 {
        font-size: 1.3rem;
      }
      
      .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
      }
      
      .pilula-container {
        padding: 15px;
      }
      
      .pilula-text h3 {
        font-size: 1.3rem;
      }
      
      .pilula-text p {
        font-size: 0.9rem;
      }
      
      .link-whatsapp img {
        height: 50px;
      }
    }

    @media (max-width: 400px) {
      .services-slider {
        height: 350px;
      }
      
      .slide-content {
        max-width: 200px;
      }
      
      .slide-content h3 {
        font-size: 1.1rem;
      }
      
      .slide-content p {
        font-size: 0.8rem;
      }
      
      .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
      }
      
      .prev-arrow {
        left: 10px;
      }
      
      .next-arrow {
        right: 10px;
      }
      
      .cta2 {
        margin-top: 380px;
      }
      
      .cta2 h2 {
        font-size: 1.2rem;
      }
      
      .formulario-fale-conosco {
        width: 95%;
        padding: 1.5rem;
      }
      
      .formulario-fale-conosco input,
      .formulario-fale-conosco textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
      }
      
      .link-whatsapp img {
        height: 45px;
      }
    }

  /* SOLUCIÓN ALTERNATIVA CON PORCENTAJES */
.cta2 {
    background: #acacac;
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
    font-family: 'Cinzel', serif;
    margin-top: 50px; /* Ajuste principal */
}

@media (max-width: 992px) {
    .cta2 {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .cta2 {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .cta2 {
        margin-top: 10px;
    }
}

@media (max-width: 400px) {
    .cta2 {
        margin-top: 10px;
    }
}  