/* MEJOR DIAGNOSIS - ESTILOS GLOBALES B2B */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');

:root {
    --color-accent: #fcc200;
    --color-black: #000000;
    --color-gray-dark: #1a1a1a;
    --color-gray-light: #f1f3f6;
}

@layer base {
  body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    color: black;
  }
  h1 {
    font-size: clamp(60px, 8vw, 70px);
    font-weight: 800;
    line-height: 1.1em;
  }
  h2 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 800;
    line-height: 1.2em;
  }
  h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
  }
}

/* Animaciones */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
    display: flex;
    width: max-content;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Animación Reviews - Paginated Slider */
#reviews-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.review-page {
    flex: 0 0 100%;
}

@keyframes blink {
    from, to { color: transparent }
    50% { color: white }
}

.typewriter-cursor::after {
    content: "|";
    animation: blink 1s step-end infinite;
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 500px; /* Suficiente para el contenido */
    padding-bottom: 2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* Utils Clase para sombras B2B */
.shadow-premium {
    shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Header & Nav */
header nav a.active {
    color: var(--color-accent);
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}
