/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  /* =============================================
   PAQUETES RESPONSIVE
   ============================================= */
  .paquetes-winlab__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* =============================================
   LABMOVIL RESPONSIVE
   ============================================= */
  /* =============================================
   CARACTERÍSTICAS RESPONSIVE
   ============================================= */
  .labmovil-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* =============================================
   MODAL TERMINOS Y CONDICIONES
   ============================================= */
  .modal__actions {
    flex-direction: column;
  }

  .modal__btn {
    width: 100%;
    text-align: center;
  }

  /* =============================================
   NAVBAR MOBILE
   ============================================= */
  .header {
    top: 20px;
    left: 0;
    transform: none;
    width: 100%;
    padding: 0 20px;
    justify-content: space-between;
  }

  .header__brand {
    width: 40px;
    z-index: 110;
  }

  /* Botón hamburguesa */
  .header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--color-white);
    cursor: pointer;
    z-index: 110;
    flex: 0 0 auto;
    transition: background 200ms ease;
  }

  .header__toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition:
      transform 250ms ease,
      opacity 250ms ease;
  }

  /* Animación X al abrir */
  .header--open .header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header--open .header__toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .header--open .header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Menú fullscreen */
  .header__nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 250ms ease,
      transform 250ms ease;
    z-index: 100;
  }

  .header--open .header__nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Logo dentro del menú mobile */
  .header__nav-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
  }

  .header__nav-logo img {
    width: 56px;
    height: auto;
  }

  /* Links verticales */
  .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 400;
    padding: 10px 32px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    min-width: 180px;
    text-align: center;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
  }

  /* =============================================
   HERO RESPONSIVE
   ============================================= */
  .hero__slide {
    gap: 20px;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
  }

  .hero__brand {
    align-items: center;
  }

  .hero__title {
    font-size: 3.2rem;
    text-align: center;
  }

  .hero__subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .hero__actions {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .hero__card {
    width: 100%;
    align-items: center;
  }

  .hero__card--right {
    align-items: center;
    order: -1;
  }

  .hero__card-text {
    font-size: 0.95rem;
    text-align: center;
  }

  .hero__hours {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    justify-content: center;
  }

  .hero__time {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .hero__sep {
    font-size: 1rem;
  }

  .hero__pill {
    min-height: 52px;
    font-size: 0.95rem;
  }

  .hero__pill-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero__arrow {
    display: none;
  }

  .header--scrolled {
    top: 20px;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 0 20px;
  }

  .hero__actions--movil {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .hero__card--movil {
    align-items: center;
    text-align: center;
    order: -1;
  }

  .hero__card--movil .hero__card-text--center {
    text-align: center;
  }

  .hero__title--slide2 {
    font-size: 2.5rem;
    white-space: normal;
  }

  .hero__slide--movil {
    justify-content: center;
    padding-bottom: 20px;
  }

  .hero__actions--info {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    align-items: center;
  }

  .hero__card--info-right {
    align-items: center;
    order: -2;
  }

  .hero__card--info-left {
    align-items: center;
    width: 100%;
    order: -1;
  }

  .hero__pill--slide3-btn {
    width: 100%;
    order: 1;
  }

  .hero__title--slide3 {
    font-size: 3rem;
    text-align: center;
  }

  .hero__title--years {
    font-size: 1.4rem;
    text-align: center;
    font-weight: 500;
  }

  .hero__card-text--right {
    font-size: 0.95rem;
    text-align: center;
    max-width: 100%;
  }

  .hero__brand--right {
    align-items: center;
  }

  .hero__info-block .hero__line {
    display: none;
  }

  /* =============================================
   CITAS RESPONSIVE
   ============================================= */
  .citas {
    padding: 80px 20px;
  }

  .citas__title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .citas__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .citas__intro {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .citas__desc {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .citas__card {
    width: 100%;
  }

  .porque {
    padding: 40px 20px;
  }

  .porque__title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .porque__item {
    font-size: 1.1rem;
  }

  .porque__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .porque__card {
    aspect-ratio: 4 / 3;
  }

  /* =============================================
   PAQUETES RESPONSIVE
   ============================================= */
  .paquetes {
    padding: 40px 20px;
  }

  .paquetes__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .paquetes__title {
    font-size: 2.2rem;
  }

  .paquetes__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .paquetes__card-body {
    min-height: 380px;
  }

  /* =============================================
   EQUIPO RESPONSIVE
   ============================================= */
  .equipo {
    min-height: 70svh;
    padding: 40px 20px;
    align-items: flex-end;
  }

  .equipo__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .equipo__right {
    width: 100%;
    min-width: unset;
    order: -1;
  }

  .equipo__pill--glass {
    width: 100%;
  }

  .equipo__line {
    display: none;
  }

  .equipo__title {
    font-size: 2rem;
  }

  /* =============================================
   FOOTER RESPONSIVE
   ============================================= */
  .footer {
    padding: 40px 20px;
    gap: 28px;
  }

  .footer__logo {
    font-size: 4rem;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer__col {
    align-items: center;
  }

  .footer__col--right {
    align-items: center;
  }

  /* =============================================
   NOSOTROS RESPONSIVE
   ============================================= */
  /* =============================================
   HERO NOSOTROS RESPONSIVE
   ============================================= */
  .nosotros-hero {
    padding: 20px 20px 40px;
    min-height: 100svh;
    align-items: stretch;
  }

  .nosotros-hero__content {
    grid-template-columns: 1fr;
    gap: 50px;
    height: 100%;
    padding-top: 150px;
  }

  .nosotros-hero__center {
    justify-content: center;
    order: -2;
  }

  .nosotros-hero__text {
    font-size: 1rem;
    max-width: 100%;
    text-align: center;
    order: 0;
  }

  .nosotros-hero__right {
    align-items: center;
    order: -1;
    margin-top: 50px;
  }

  .nosotros-hero__title {
    font-size: 3rem;
    margin-top: 50px;
  }

  .nosotros-hero__sub {
    text-align: center;
    max-width: 100%;
  }

  /* =============================================
   MISIÓN RESPONSIVE
   ============================================= */
  .mision {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 28px;
  }

  .mision__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .mision__features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mision__text {
    text-align: justify;
  }

  .mision__right {
    order: -1;
  }

  .mision__img {
    height: 280px;
  }

  /* =============================================
   VISIÓN RESPONSIVE
   ============================================= */
  .vision {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 28px;
  }

  .vision__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .vision__text {
    font-size: 1rem;
    text-align: justify;
  }

  .vision__img {
    height: 280px;
  }

  /* =============================================
   VALORES RESPONSIVE
   ============================================= */
  .valores {
    padding: 40px 20px;
    gap: 28px;
  }

  .valores__title {
    font-size: 2.5rem;
  }

  .valores__financieros {
    font-size: 0.95rem;
    padding: 24px 20px;
  }

  .valores__financieros i {
    font-size: 2rem;
  }

  /* =============================================
   CONTACTO RESPONSIVE
   ============================================= */
  .contacto {
    padding: 100px 20px 40px;
    gap: 20px;
  }

  .contacto__title {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .contacto__sub {
    font-size: 1.1rem;
  }

  .contacto__body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacto__map {
    min-height: 300px;
  }

  .contacto__map iframe {
    min-height: 300px;
  }

  /* =============================================
   CONTACTO INFO RESPONSIVE
   ============================================= */
  .contacto-info {
    padding: 40px 20px;
    gap: 40px;
  }

  .contacto-info__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacto-info__card--accent {
    transform: none;
  }

  .contacto-info__redes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacto-info__resultados-title {
    font-size: 1.1rem;
  }

  .contacto-info__resultados-sub {
    font-size: 0.85rem;
  }

  /* =============================================
   PAQUETES RESPONSIVE
   ============================================= */
  .paquetes-winlab {
    padding: 100px 20px 40px;
  }

  .paquetes-winlab__title {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .paquetes-winlab__grid {
    grid-template-columns: 1fr;
  }

  .paquetes-winlab__card-body {
    min-height: 480px;
  }

  /* =============================================
   LAB-MÓVIL RESPONSIVE
   ============================================= */
  /* =============================================
   HERO LAB-MÓVIL
   ============================================= */
  .labmovil-hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 40px;
    gap: 24px;
  }

  .labmovil-hero__right {
    order: -1;
  }

  .labmovil-hero__img {
    height: 280px;
  }

  .labmovil-hero__title {
    font-size: 2.2rem;
  }

  .labmovil-hero__text {
    max-width: 100%;
  }

  .labmovil-hero__btn {
    width: 100%;
    justify-content: center;
  }

  /* =============================================
   CARACTERÍSTICAS LAB-MÓVIL RESPONSIVE
   ============================================= */
  .labmovil-features {
    padding: 40px 20px;
    gap: 32px;
  }

  .labmovil-features__grid {
    grid-template-columns: 1fr;
  }

  .labmovil-cta__title {
    font-size: 1.6rem;
  }

  .labmovil-cta__btn {
    width: 100%;
    justify-content: center;
  }
}
