/* === FLUXEN Main Styles (migrados desde index.html) === */
:root {
  --primary-blue: #3ca1f6;
  --secondary-blue: #5d7bf2;
  --dark: #0d101f;
  --gray-light: #f8fafc;
  --gray-medium: #64748b;
  --gray-dark: #334155;
  --white: #ffffff;
  --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #faf5ff 100%);
  --c-white: #D8D8D8;
    --c-gray: #919191;
    --c-bg: #0D0D1E;
    --c-green: #00657C;
    --s-green: rgba(0, 101, 124, 0.35);
    --c-dgreen: #004251;
    --s-dgreen: rgba(0, 66, 81, 0.35);
    --c-purple: #7069FF;
    --s-purple: rgba(112, 105, 255, 0.35);
    --c-cyan: #19C3FF;
    --s-cyan: rgba(6, 218, 203, 0.35);
    --m-width: 80%;

}
body, html {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--c-white);
    font-weight: normal;
    font-family: 'SF Pro Display';
    background-color: #0d0d1e;
}

header {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 19999999999;
    background: radial-gradient(at 50% 0%, #161630 0%, #0D0D1E 80%);
}
.nav-link {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--c-gray);
}

.ripple-wrap {
    position: absolute;
    top: 0;
    /* top: -110px; */
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ripple-3 {
    transform: scale(1.25);
    opacity: 0;
    transition: all 0.9s ease-in-out 0.4s;
}
.ripple-2 {
    transform: scale(1);
    opacity: 0;
    transition: all 0.7s ease-in-out 0.2s;
}
.ripple-1 {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.6s ease-in-out;
}
.animate-header .ripple-1 {
    transform: scale(1);
    opacity: 0.25;
}


.ripple {
    position: absolute;
    border-radius: 100%;
    background: radial-gradient(circle, #0D0D1E 10%, rgba(13, 13, 30, 0) 55%, rgba(112, 105, 255, 0.3) 100%);
    border: solid 1px var(--c-purple);
    height: 70vw;
    width: 70vw;
    top: -50vw;
    left: calc(50% - 35vw);
}

.animate-header .ripple-2 {
    transform: scale(1.25);
    opacity: 0.2;
}


.animate-header .ripple-3 {
    transform: scale(1.5);
    opacity: 0.1;
}


.carousel-logos {
  display: flex;
  overflow-x: auto;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}
.carousel-logos::-webkit-scrollbar {
  display: none;
}
.logo-item {
  min-width: 190px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 10px;
  /* box-shadow: 0 2px 8px #e5e7eb70; */
  transition: transform 0.2s;
}
.logo-item img {
  height: 100px;
  max-width: 190px;
  object-fit: contain;
  /* filter: grayscale(30%) contrast(1.1); */
  transition: filter 0.2s, transform 0.2s;
  filter: invert(100%);
  -webkit-filter: invert(100%);
}
.logo-item:hover img {
  filter:invert(100%) grayscale(100%) contrast(0.1) drop-shadow(0 2px 8px #091656aa);
  transform: scale(1.08);
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  /* background: #fff; */
  border: none;
  border-radius: 50%;
  /* box-shadow: 0 2px 8px #e5e7eb70; */
  width: 40px;
  height: 40px;
  font-size: 2rem;
  color: var(--primary-blue);
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.2s, color 0.2s;
}
.carousel-nav:hover {
  background: var(--primary-blue);
  color: #fff;
}
.carousel-nav-left {
  left: 0;
}
.carousel-nav-right {
  right: 0;
}

.white{
  color: var(--c-white);
}

.hero .h2.gradient-text {
    font-size:1.5rem;
    color:var(--gray-light);
    margin:1.5rem 0 0.5rem;
    -webkit-text-fill-color: var(--c-white);
}
.hero .p.gradient-text {
    font-size:1.25rem;
    color:var(--gray-light);
    margin-bottom:2rem;
    -webkit-text-fill-color: var(--c-white);
}

.position-relative {
    position:relative;
}

#colaboradores {
  padding-bottom: 8rem;
  padding-top: 8rem;
}

.servicio-item h3 {
  color: #3F9DF6 !important;
}

.carousel-logos .logo-item {
  min-width: 250px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #f1f5f9;
  border-radius: 10px;
  /* box-shadow: 0 2px 8px #e5e7eb70; */
  background-color: transparent;
  transition: transform 0.2s;
}
@media (max-width: 600px) {
  .carousel-logos .logo-item {
    justify-content: flex-start;
    min-width: 100%;
    text-align: center;
    background-color: transparent;
    justify-content: center;
  }
  .logo-item {
    min-width: 80px;
    height: 120px;
  }
  .logo-item img {
    height: 120px;
    max-width: 200px;
    filter: invert(100%);
    -webkit-filter: invert(100%);
  }
  /* que solo se vea una imagen a la vez */
  .carousel-logos {
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    justify-content: flex-start;
  }
  .carousel-logos::-webkit-scrollbar {
    display: none;
  }
  .carousel-nav {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
  .servicios-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin: 0 auto 2.5rem auto;
  max-width: 1100px;
}
.servicio-item {
  background: #18192b;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px #0002;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.servicio-item:hover {
  box-shadow: 0 6px 32px #3ca1f655;
  transform: translateY(-2px) scale(1.025);
}
.servicio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px #e5e7eb33;
}
.servicio-item h4 {
  margin: 0 0 0.7rem 0;
  font-size: 1.2rem;
  color: var(--c-white);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.servicio-item p {
  color: #ffffff !important;;
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  /* background: var(--white);
  border-bottom: 1px solid #e2e8f0; */
  position: sticky;
  top: 0;
  z-index: 999999999;
}
.column1 {
  width: 50%;
}
.column2 {
  width: 50%;
}

.faq-question.white {
    color:var(--c-white);
  }
  
  .faq-answer.white {
    color:var(--c-white);
  }

.faq-item {
  background: #181f2a;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px #0003;
  margin-bottom: 1.2rem;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: 0 4px 24px #0005;
}
.faq-question {
  color: var(--c-white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.1rem 2.2rem 1.1rem 1.5rem;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: color 0.2s;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--c-white);
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}
.faq-answer {
  color: #e5e7eb;
  font-size: 1rem;
  padding: 0 1.5rem 1.2rem 1.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 1.2rem;
}
.bloque-casos {
  display: flex;
  gap: 2rem;
}
@media (max-width: 600px) {
  .bloque-casos {
    flex-direction: column;
  }
  .column2,.column1 {
    width: 100%;
  }
  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.5rem 1rem 1rem;
  }
  .faq-answer {
    font-size: 0.98rem;
    padding: 0 1rem 1rem 1rem;
  }
}

.logo img {
  max-width: 160px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-dark);
  text-decoration: none;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-blue);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  margin-right: 0.5rem;
}

.nav {
  display: flex;
  gap: 2rem;

}

.nav a {
  text-decoration: none;
  transition: color 0.3s;
  color: var(--c-white);
  font-size: larger;
}

.nav a:hover {
  color: var(--gray-dark);
}

.btn {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

.btn-gradient {
  background: var(--gradient-blue);
  box-shadow: 0 4px 15px rgba(60, 161, 246, 0.3);
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #2563eb, #4338ca);
  box-shadow: 0 8px 25px rgba(60, 161, 246, 0.4);
}

.btn-white {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-white:hover {
  background: #f8fafc;
}

.hero {
  /* background: var(--gradient-hero); */
  padding: 5rem 0;
  position: relative;

  text-align: center;
}

.hero h2 {
  font-size: 1.125rem;
  color: var(--gray-medium);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #3F9DF6 !important;
  -webkit-text-fill-color: var(--c-white6);
}

.gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 5rem 0;
}

.section-gray {
  /* background: var(--gray-light); */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-dark);
}

.section-title.white {
  color: #3F9DF6 !important;
}

.section-subtitle.white {
    text-align:center;
    font-weight:400;
    margin-bottom:2.5rem;
    color:var(--c-white);
    -webkit-text-fill-color: var(--c-white);

}
.carousel-logos {
  /* Carrusel de logos empresas colaboradoras */
}

.logo-item {
  /* Estilos individuales para cada logo en el carrusel */
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 0 auto 2.5rem auto;
  max-width: 1100px;
}
.plan-card {
  /* background: var(--white); */
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px #ffffff;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.plan-card:hover {
  box-shadow: 0 6px 32px #ffffff;
  transform: translateY(-2px) scale(1.025);
}
.plan-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 4px #e6e6e7;
  border: 1px solid #e6e6e7;
}
.gradient {
  cursor: pointer;
  text-decoration: none;
  padding: 10px 30px;
  box-shadow: 0 10px 50px 0 var(--s-cyan);
  color:var(--c-white);
  background: linear-gradient(45deg, var(--c-cyan), var(--c-purple));
}
.rounded {
  border-radius: 2rem;
}

.btn-large {
  padding: 1rem 2rem;
}

.plan-card h4 {
  margin: 0 0 0.7rem 0;
  font-size: 1.2rem;
  color: #3F9DF6 !important;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.plan-card p {
  color: var(--c-white);
  font-size: 1rem;
  margin: 0 0 1.2rem 0;
  line-height: 1.6;
}
.plan-card ul {
  color: var(--c-white);
  font-size: 0.98rem;
  text-align: left;
  margin: 0.5rem 0 0 0;
  padding-left: 1.2em;
  list-style: disc inside;
}

p.p-text-plan {
   font-size:14px;
   font-weight:400;
   color: var(--c-white);
   margin-bottom:5px;
   min-height:70px;
}   
.li-text-plan {
   font-size:12px;
   color: var(--c-white);
   margin-bottom:0.1rem;
}   
@media (max-width: 700px) {
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .logo img {
    max-width: 120px;
  }
}

.faq-container {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-question {
  font-weight: 600;
  color: var(--gray-dark);
}

.faq-answer {
  color: var(--gray-medium);
}

.footer {
  background: var(--dark);
  padding: 3rem 0 1rem 0;
  color: var(--white);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.li-text {
    background:#f1f5f9;padding:1rem 2rem;border-radius:1rem;font-weight:600;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-copyright {
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .header-content {
    padding: 0.75rem 0;
  }
  .hero {
    padding: 3rem 0;
  }
  .section {
    padding: 3rem 0;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  /* carousel el logo que se vea 1 por vista */
  .carousel-logos {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 1rem;
    display: flex;
    justify-content: center;
  }
  .contact-buttons a {
    margin:0!important;
  }
}
  

@media (max-width: 480px) {
  .container, .container-wide {
    padding: 0 0.75rem;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
}
