/******************
****GENERALES******
*******************/   
   
   @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

    :root{
        --blue:#3716E7;
        --secundary:#67FBB8;
        --green:#52FFB7;
        --grey:#EBF4F9;
        --white:#FFFFFF;
        --black:#000000;
        --hover: #8180805e;

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

    body {
      font-family: "Poppins", sans-serif;
      background: var(--grey);
      color: var(--black);
      overflow-x: hidden;
      min-height: 200vh;
    }

    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
      z-index: -1;
    }

    .separar{
      margin-bottom: 100px;
    }

     .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 40px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgb(255, 255, 255, 0.3);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      z-index: 100;
    }

   .logo-container {
      position: relative;
      display: inline-block;
    }

    .logo-container img {
      display: block;
      max-width: 150px;   /* Ajusta el tamaño máximo */
      height: auto;       /* Mantiene la proporción */
      transition: opacity 0.2s ease-in-out;
    }

    /* La imagen hover va encima */
    .logo-container img.hover {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
    }

    /* Al pasar el mouse aparece la hover */
    .logo-container:hover img.hover {
      opacity: 1;
    }

    .nav-center {
      display: flex;
      gap: 40px;
    }

    .nav-center a {
      color: var(--black);
      text-decoration: none;
      font-weight: 500;
      font-size: 16px;
      opacity: 0.8;
      transition: opacity 0.3s ease;
    }

    .nav-center a:hover {
        color:var(--blue);
        opacity: 1;
    }

    .btn-right {
      padding: 10px 20px;
      border-radius: 25px;
      background: var(--blue);
      color: var(--white);
      font-size: 14px;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-right:hover {
      background: var(--secundary);
      color: var(--black);
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .menu-toggle div {
      width: 25px;
      height: 3px;
      background: var(--blue);
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.8);
      position: fixed;
      top: 70px;
      right: 0;
      width: 100%;
      padding: 20px;
      gap: 20px;
      z-index: 99;
      text-align: center;
    }

    .mobile-menu a {
      color: var(--black);
      text-decoration: none;
      font-size: 18px;
    }

    .mobile-menu a:hover {
      color: var(--blue);
      opacity: 0.8;
    }

     .main-content {
      text-align: left;
      padding: 160px 20px 40px;
      position: relative;
      z-index: 10;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .main-content {
      text-align: center;
      padding: 160px 20px 40px;
      position: relative;
      z-index: 10;
    }

    .hero-title {
      font-size: clamp(48px, 8vw, 120px);
      font-weight: 600;
      line-height: 0.9;
      letter-spacing: -3px;
      margin-bottom: 30px;
      background: var(--black);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: 18px;
      opacity: 0.7;
      margin-bottom: 50px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 160px;
    }

    .btn-primary {
      padding: 15px 40px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 16px;
      font-weight: 600;
      transition: all 0.3s ease;
      background: var(--blue);
      color: var(--white);
    }

    .btn-primary:hover {
      background: var(--secundary);
      color: var(--black);
      transform: translateY(-2px);
    }

    /* Responsive */
    @media (max-width: 991px) {
      .nav-center,
      .btn-right {
        display: none;
      }

      .menu-toggle {
        display: flex;
      }

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

    /* SOCIALS */
    .social-row{
      display:flex; 
      align-items:center; 
      justify-content:center; 
      gap: 22px;
      margin: clamp(28px, 4vw, 48px) auto 0;
    }  

    .social-btn{
      width:44px; 
      height:44px; 
      border-radius:50%;
      display:grid; 
      place-items:center;
      color:#eee; 
      background:var(--blue);
      border:1px solid rgba(255,255,255,.08);
      transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s;
    }

    .social-btn:hover{ 
      transform: translateY(-2px); 
      background: var(--secundary); 
      border-color: rgba(255,255,255,.2); 
      color:var(--black); 
    }

    /* FOOTER */
    .site-footer{
      border-top:1px solid rgba(255,255,255,.1);
      margin-top: clamp(40px, 8vw, 80px);
      padding: 22px 20px 32px;
    }
    .footer-inner{ 
        max-width:1280px; 
        margin:0 auto; 
    }
    .footer-top{
      display:flex; 
      align-items:center; 
      justify-content:space-between; 
      gap: 16px; 
      flex-wrap: wrap;
    }
    .footer-brand{ 
        display:flex; 
        align-items:center; 
        gap:12px; 
        flex-wrap:wrap; 
    }

    .footer-brand .brand{
      color:#ff4d4d; 
      font-weight:900; 
      letter-spacing:.08em;
    }
    .footer-brand .copy{ 
        opacity:.7; 
        font-size:14px; 
    }

    .footer-nav{ 
        display:flex; 
        align-items:center; 
        gap:18px; 
        flex-wrap: wrap; 
    }
    .footer-nav a{
      color: var(--black); 
      opacity:.8; 
      text-decoration:none; 
      font-size:14px;
    }
    .footer-nav a:hover{ 
        opacity:1; 
        text-decoration:underline;
    }

/******************
****INDEX**********
*******************/  

    .bg-index{
      background-image: url(../img/FNuanz\ index.png);
    }

  /* SERVICIOS */
    .section-header {
            text-align: center;
            margin-bottom: 60px;
    }

    .section-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 600;
            color: var(--black);
            margin-bottom: 20px;
            line-height: 1.1;
    }

    .section-subtitle {
            font-size: 1.2rem;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
    }

    .services-section {
      margin-bottom: 40px;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .services-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: flex-start;
    }

    .services-left {
      flex: 1;
      min-width: 300px;
    }

    .services-video {
      position: relative;
      width: 100%;
    }

    .services-video img {
      width: 100%;
      aspect-ratio: 1 / 1.03;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.8);
      object-fit: cover;
      filter: brightness(0.7) saturate(1.2) hue-rotate(10deg);
    }

    .services-right {
      flex: 1;
      min-width: 300px;
    }

    .accordion-container {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 20px;
    }

    .accordion-item {
      background: var(--white);
      color: white;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1px solid var(--grey);
      box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    }

    .accordion-item:hover {
      background: var(--hover);
      border: 1px solid var(--hover);
    }

    .accordion-item.active .accordion-content {
      max-height: 800px; /* suficiente para que entre el contenido */
      opacity: 1;
      padding: 20px;
    }

    .accordion-header {
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .accordion-header h3 {
      display: flex;           /* convertimos h3 en flex */
      align-items: center;     /* centramos verticalmente */
      gap: 10px;               /* espacio entre la imagen y el texto */
      color: var(--black);
      margin: 0;
      font-size: 18px;
    }

    .accordion-header p {
      font-size: 14px;
      color: var(--black);
      margin-top: 4px;
    }

    .accordion-header span {
      color: var(--black);
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .accordion-content {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      padding: 0 20px;
      background: #1e293b;
      font-size: 15px;
      transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
    }

    .accordion-content ul {
      padding-left: 0;
      margin-top: 10px;
    }

    .accordion-content ul li {
      list-style: none;
      margin: 6px 0;
      padding-left: 20px;
    }

    .accordion-content ul li::before {
      content: '•';
      position: absolute;
      left: 0;
      color: #60a5fa;
    }

    .btn-consulta {
      display: inline-block;
      margin-top: 18px;
      padding: 12px 25px;
      background: var(--blue);
      color: white;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      transition: background 0.3s ease;
    }

    .btn-consulta:hover {
      background: var(--white);
      color: var(--black);
    }

    /* Responsive */
    @media (max-width: 900px) {
      .services-layout {
        flex-direction: column;
      }
      .services-video img{
        width: 100%;
        aspect-ratio: 2 / 1;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.8);
        object-fit: cover;
        filter: brightness(0.7) saturate(1.2) hue-rotate(10deg);
      }
    }

    /* CAROUSEL */
      .tech-carousel {
        background: var(--grey);
        overflow: hidden;
        padding: 40px 0;
        position: relative;
      }

      .carousel-track {
        display: flex;
        gap: 60px;
        animation: scroll infinite linear;
        animation-duration: 300s;
        width: max-content;
      }

      .carousel-track img {
        height: 30px;
        width: auto;
        filter: grayscale(100%) brightness(1.2);
        transition: transform 0.3s ease, filter 0.3s ease;
        pointer-events: auto;
      }

      .carousel-track img:hover {
        animation-play-state: paused !important;
        transform: scale(1.1);
        filter: grayscale(0%);
      }

      /* Keyframes para desplazamiento continuo */
      @keyframes scroll {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        }
      }

      /* CASOS DE EXITO */
      .casos-exito {
        padding: 80px 20px;
        max-width: 1200px;
        margin: 0 auto;
      }

      .section-header {
        text-align: center;
        margin-bottom: 60px;
      }

      .section-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 600;
        color: var(--black);
        margin-bottom: 20px;
        line-height: 1.1;
      }

      .section-subtitle {
        font-size: 1.2rem;
        color: #64748b;
        max-width: 600px;
        margin: 0 auto;
     }

     .casos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin-bottom: 60px;
     }

      .caso-card {
        background: white;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .caso-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--blue);
      }

      .caso-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
      }

      .caso-logo {
        width: 60px;
        height: 60px;
        background: var(--hover);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
        color: white;
        font-size: 24px;
        font-weight: bold;
      }

      .caso-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 12px;
      }

      .caso-industry {
        color: var(--blue);
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 5px;
      }

      .caso-description {
        color: #64748b;
        margin-bottom: 10px;
        line-height: 1.7;
      }

      .caso-metrics {
        display: flex;
        gap: 5px;
        margin-bottom: 0px;
        flex-wrap: wrap;
      }

      .metric {
        text-align: center;
        flex: 1;
        min-width: 50px;
      }

      .cta-section {
        text-align: center;
        background: var(--blue);
        padding: 60px 40px;
        border-radius: 20px;
        color: white;
        position: relative;
      }

      @keyframes float {
        0% { transform: translateX(0) translateY(0); }
        100% { transform: translateX(-60px) translateY(-60px); }
      }

      .cta-title {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 20px;
        position: relative;
        z-index: 2;
      }

      .cta-description {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 40px;
        position: relative;
        z-index: 2;
      }

      .cta-button {
        background: var(--secundary);
        color: var(--black);
        padding: 16px 40px;
        border: none;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
        text-decoration: none;
        display: inline-block;
      }

      .cta-button:hover {
        background: #059669;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
      }

      .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        margin: 60px 0;
        text-align: center;
      }

      .stat-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
      }

      .stat-item:nth-child(1) { 
        animation-delay: 0.1s; 
      }

      .stat-item:nth-child(2) { 
        animation-delay: 0.2s; 
      }
      
      .stat-item:nth-child(3) { 
        animation-delay: 0.3s; 
      }

      .stat-item:nth-child(4) { 
        animation-delay: 0.4s; 
      }

      .stat-number {
        font-size: 3rem;
        font-weight: 900;
        color: var(--blue);
        display: block;
        margin-bottom: 10px;
      }

      .stat-label {
        color: #64748b;
        font-size: 1rem;
        font-weight: 600;
      }

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

      @media (max-width: 768px) {
        .casos-exito {
          padding: 60px 20px;
        }

        .casos-grid {
          grid-template-columns: 1fr;
          gap: 20px;
        }

        .caso-card {
          padding: 30px;
        }

        .caso-metrics {
          justify-content: space-between;
        }

        .metric {
          min-width: 60px;
        }

        .metric-value {
          font-size: 1.5rem;
        }

        .stats-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 30px;
        }

        .stat-number {
          font-size: 2.5rem;
        }

        .cta-section {
          padding: 40px 30px;
        }

        .cta-title {
          font-size: 2rem;
        }
      }

      @media (max-width: 480px) {
        .stats-grid {
          grid-template-columns: 1fr;
        }
            
        .caso-metrics {
          flex-direction: column;
          gap: 15px;
        }

        .metric {
          display: flex;
          justify-content: space-between;
          align-items: center;
          min-width: auto;
        }

        .metric-value {
          font-size: 1.8rem;
        }
      }

/* CONTACTANOS */
      .contact-form {
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .form-group input,
      .form-group textarea {
        width: 100%;
        padding: 14px 18px;
        background: var(--white);
        border: 1px solid #334155;
        border-radius: 8px;
        color: var(--black);
        font-size: 15px;
        transition: border 0.3s ease;
      }

      .form-group input:focus,
      .form-group textarea:focus {
        outline: none;
        border: 1px solid var(--blue);
      }

      .btn-enviar {
        background: var(--green);
        color: var(--black);
        padding: 14px 30px;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s ease;
      }

      .btn-enviar:hover {
        background: var(--white);
        color: var(--blue);
        transform: translateY(2px);
      }
/******************
****NOSOTROS*******
*******************/  

      .bg-nosotros{
      background-image: url(../img/FNuanz\ nosotros.png);
    }

    .equipo-section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    
    .miembro {
      display: flex;
      align-items: center;
      margin-bottom: 100px;
      gap: 60px;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .miembro-imagen {
      flex: 0 0 300px;
      position: relative;
    }

    .imagen-container {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      background: var(--blue);
      padding: 4px;
    }
    
    .foto-placeholder {
      width: 100%;
      height: 350px;
      background: var(--blue);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 4rem;
      font-weight: bold;
    }

    .miembro-foto {
      width: 100%;
      height: 350px;
      object-fit: cover;
      border-radius: 16px;
      transition: transform 0.5s ease;
    }

    .miembro-foto:hover {
      transform: scale(1.05);
    }

    .decoracion {
      position: absolute;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: rgba(99, 102, 241, 0.1);
      z-index: -1;
    }

    .decoracion-1 {
      top: -20px;
      right: -20px;
    }

    .decoracion-2 {
      bottom: -20px;
      left: -20px;
      background: rgba(16, 185, 129, 0.1);
    }

    .miembro-info {
      flex: 1;
      padding: 20px 0;
    }

    .miembro-nombre {
      font-size: 2.5rem;
      font-weight: 800;
      color: #1a1a1a;
      margin-bottom: 10px;
      line-height: 1.2;
    }

    .miembro-cargo {
      font-size: 1.2rem;
      color: var(--blue);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 20px;
    }

    .miembro-descripcion {
      font-size: 1.1rem;
      color: #64748b;
      line-height: 1.8;
      margin-bottom: 30px;
    }

    .miembro-skills {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 30px;
    }

    .skill-tag {
      background: rgba(99, 102, 241, 0.1);
      color: var(--blue);
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      border: 2px solid rgba(99, 102, 241, 0.2);
      transition: all 0.3s ease;
    }

    .skill-tag:hover {
      background: var(--green);
      color: var(--black);
      transform: translateY(-2px);
    }

    .miembro-social {
      display: flex;
      gap: 15px;
    }

    .social-link {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1.2rem;
    }

    .social-link.linkedin {
      background: rgba(0, 119, 181, 0.1);
      color: #0077b5;
    }

    .social-link.linkedin:hover {
      background: #0077b5;
      color: white;
      transform: translateY(-3px);
    }

    .miembro.reverse {
      flex-direction: row-reverse;
    }

    @media (max-width: 768px) {
      .equipo-section {
        padding: 60px 20px;
      }

      .miembro {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
        text-align: center;
      }
      
      .miembro-imagen {
        flex: none;
        width: 100%;
        max-width: 280px;
      }

      .imagen-container {
        margin: 0 auto;
      }

      .miembro-foto,
      .foto-placeholder {
        height: 320px;
      }

      .miembro-nombre {
        font-size: 2rem;
      }

      .miembro-cargo {
        font-size: 1rem;
      }

      .miembro-descripcion {
        font-size: 1rem;
      }

      .miembro-skills {
        justify-content: center;
      }

      .miembro-social {
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .miembro {
        gap: 20px;
      }

      .miembro-imagen {
        max-width: 250px;
      }

      .miembro-foto,
      .foto-placeholder {
        height: 280px;
      }

      .miembro-nombre {
        font-size: 1.8rem;
      }

      .skill-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
      }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }

    .decoracion {
      animation: float 6s ease-in-out infinite;
    }

    .decoracion-2 {
      animation-delay: 3s;
    }

        /* Efecto de entrada escalonado */
    .miembro:nth-child(2) { 
      transition-delay: 0.2s; 
    }

    .miembro:nth-child(3) {
      transition-delay: 0.4s; 
    }

    .miembro:nth-child(4) { 
      transition-delay: 0.6s; 
    }

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


    /************************/

/******************
****SOLUCIONES*****
*******************/  

    .bg-soluciones{
      background-image: url(../img/FNuanz\ sols.png);
    }

/******************
****ACLAREMOS******
*******************/  

    .bg-aclaremos{
      background-image: url(../img/FNuanz\ aclaremos.png);
    }

    /* FAQ Section */
    .faq-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: white;
      border-radius: 20px;
      margin-bottom: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .faq-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .faq-question {
      padding: 25px 30px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: white;
      border: none;
      width: 100%;
      text-align: left;
      font-size: 18px;
      font-weight: 600;
      color: #1a1a1a;
      transition: all 0.3s ease;
    }

    .faq-question:hover {
      background: #f8f9ff;
      color: var(--blue);
    }

    .faq-icon {
      width: 24px;
      height: 24px;
      border: 2px solid var(--blue);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      flex-shrink: 0;
      margin-left: 20px;
    }

    .faq-icon::before {
      content: '+';
      color: var(--blue);
      font-size: 18px;
      font-weight: 600;
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-icon {
      background: var(--green);
      transform: rotate(45deg);
    }

    .faq-item.active .faq-icon::before {
      color: var(--black);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: all 0.3s ease;
      background: var(--white);
    }

    .faq-answer-content {
      padding: 0 30px 25px 30px;
      color: #666;
      line-height: 1.6;
    }

    .faq-item.active .faq-answer {
      max-height: 250px;
    }

    /* Contact Section */
    .contact-section {
      text-align: center;
      margin-top: 80px;
      margin-left: 30px;
      margin-right: 30px;
      padding: 40px;
      background: white;
      border-radius: 25px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .contact-section h3 {
      font-size: 28px;
      color: #1a1a1a;
      margin-bottom: 15px;
      font-weight: 700;
    }

    .contact-section p {
      color: #666;
      margin-bottom: 25px;
      font-size: 16px;
    }

    .cta-btn {
      display: inline-block;
      background: var(--green);
      color: white;
      padding: 15px 35px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      font-size: 16px;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
    }

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

    /* Responsive */
      @media (max-width: 768px) {
        .nav-links {
          gap: 20px;
        }

        .nav-links a {
          font-size: 14px;
        }

        .contact-btn {
          padding: 10px 20px;
          font-size: 14px;
        }

        .faq-question {
          padding: 20px;
          font-size: 16px;
        }

        .faq-answer-content {
          padding: 0 20px 20px 20px;
        }

        .contact-section {
          margin: 40px 0;
          padding: 30px 20px;
        }
      }

      .cta-button {
        background: var(--green);
        color: var(--black);
        padding: 16px 40px;
        border: none;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
        text-decoration: none;
        display: inline-block;
      }

      .cta-button:hover {
        background: var(--blue);
        color: var(--white);
        transform: translateY(-2px);
      }

/******************
****CONTACTANOS****
*******************/ 

      .bg-contactanos{
      background-image: url(../img/FNuanz\ cont.png);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 40px;
      margin-bottom: 60px;
    }

    .contact-card {
      background: white;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .contact-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--blue);
    }

    .contact-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

    .contact-card h3 {
      font-size: 24px;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 15px;
    }

    .contact-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--blue), var(--green));
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      font-size: 35px;
      color: white;
    }
    
    .contact-link {
  display: block; /* Cambiado de inline-block a block */
  background: var(--secundary);
  color: var(--black);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 10px; /* Añadido margen inferior para el espaciado */
}

.contact-link:last-child {
  margin-bottom: 0; /* Elimina el margen del último enlace */
}

.contact-link:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 217, 196, 0.3);
}

    .contact-info {
      font-size: 18px;
      color: #64748b;
      margin-bottom: 20px;
      font-weight: 500;
    }

    .form-section {
      background: var(--grey);
      padding: 60px 40px;
      border-radius: 20px;
      position: relative;
      overflow: hidden;
    }

    .form-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background-color: var(--grey);
    }

    .form-title {
      font-size: 36px;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 20px;
      text-align: center;
    }

    .form-subtitle {
      font-size: 18px;
      color: #64748b;
      text-align: center;
      margin-bottom: 40px;
    }

    .contact-form {
      display: grid;
      gap: 25px;
      max-width: 600px;
      margin: 0 auto;
    }

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

    .form-label {
      font-weight: 500;
      color: #374151;
      margin-bottom: 8px;
      font-size: 16px;
    }

    .form-input,
    .form-textarea {
      padding: 15px 20px;
      border: 2px solid #e5e7eb;
      border-radius: 12px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: #f9fafb;
    }

    .form-input:focus,
    .form-textarea:focus {
      outline: none;
      border-color: #6366f1;
      background: white;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

    .form-textarea {
      resize: vertical;
      min-height: 120px;
    }

    .submit-btn {
      background: var(--blue);
      color: white;
      padding: 18px 40px;
      border: none;
      border-radius: 25px;
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
            
      .contact-grid {
        grid-template-columns: 1fr;
      }
            
      .form-section {
        padding: 40px 20px;
      }
            
      .hero-title {
        font-size: 48px;
      }
    }