/* Desktop First - General Responsive Styles */

/* Large screens (1200px and below) */
@media (max-width: 1200px) {

  .hero__title {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .features-list__container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.tutorials__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.tutorials__grid > *:nth-child(1),
.tutorials__grid > *:nth-child(2) {
  width: calc(50% - 1rem); /* dos columnas arriba */
}

.tutorials__grid > *:nth-child(3) {
  width: 100%;
  max-width: 50%; /* centrado debajo */
}

}

@media (max-width: 1024px) {
  .testimonials-slider {
    width: 95vw;
  }
}

/* Responsive styles for hero */
@media (max-width: 968px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding:  0;
  }
  .hero__login-header {
    margin-bottom: 1rem;
  }

  .hero__text h1 {
    font-size: 2.5rem;
  }

  .hero__features {
    justify-content: center;
  }

  .hero__feature {
    justify-content: left;
  }
  .hero__feature  span {
    text-align: left;
  }

  .hero__left {
    gap: 2rem;
    max-width: 100%;
  }

  .hero__right {
    width: 100%;
    max-width: 400px;
  }

  .hero__shape {
    opacity: 0.5;
  }

  
  .hero__left,
  .hero__right {
    flex: 0 1 auto;
    width: 100%;
  }

  .hero__image {
    max-width: 80%;
    transform: none;
  }

  .hero__image:hover {
    transform: translateY(-10px);
  }

  .hero__image {
    order: -1;
    max-width: 80%;
    margin: 0 auto;
  }

  .hero__title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .header__menu-toggle {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header__nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__nav-logo {
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .header__nav.active .header__nav-logo {
    transform: translateY(0);
    opacity: 1;
  }

  .header__nav-logo img {
    max-width: 200px;
    height: auto;
  }

  .header__menu {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
  }

  .header__menu li {
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .header__nav.active .header__menu li {
    transform: translateY(0);
    opacity: 1;
  }

  .header__menu a {
    display: block;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s ease;
  }

  .header__menu a:hover {
    color: var(--primary-color);
  }

  .header__nav .header__social {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.3s;
  }

  .header__nav.active .header__social {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav .header__social a {
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .header__nav .header__social a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
  }

  .header__menu-toggle {
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .header__menu-toggle i {
    font-size: 24px;
    line-height: 1;
    display: block;
    pointer-events: none;
  }

  .header__menu-toggle:focus {
    outline: none;
  }

  .header__menu-toggle:hover {
    color: var(--primary-color);
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__description {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .hero__description {
    margin-bottom: 1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .section__description {
    font-size: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card__title {
    font-size: 1.25rem;
  }

  .cta {
    padding: 3rem 0;
  }

  .cta__title {
    font-size: 2rem;
  }

  .faq__grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials responsive */
  .testimonials-slider {
    width: 95vw;
    padding: 0 2rem;
  }

  .testimonials__header h2 {
    font-size: 2rem;
  }

  .testimonials__header p {
    font-size: 1rem;
  }

  .testimonials-slider .swiper-button-next,
  .testimonials-slider .swiper-button-prev {
    width: 2.5rem;
    height: 2.5rem;
  }

  .testimonials-slider .swiper-button-next::after,
  .testimonials-slider .swiper-button-prev::after {
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card__header h3 {
    font-size: 1.1rem;
  }

  .testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .features-list__current,
  .features-list__roadmap {
      padding: 2rem;
  }

  .feature-item {
      padding: 1.5rem;
  }
  .press {
    padding: 3rem 0;
  }

  .press__container {
    padding: 0 1rem;
  }

  .press__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .press__contact {
    grid-template-columns: 1fr;
  }

  .press__text {
    text-align: center;
    margin-bottom: 2rem;
  }

  .press__title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .press__subtitle {
    font-size: 1.1rem;
  }

  .press__features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .press_feateure-cont {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .press__feature {
    padding: 1.5rem;
    text-align: center;
  }

  .press__feature-icon {
    margin: 0 auto 1rem;
  }

  .features-list{
    padding: 3rem 0;
  }
  .features-list__current .section__header 
  {
    margin-bottom: 1rem;
  }

  .features-list__grid {
    margin-top: 1rem;
  }
  .tutorials__grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .tutorials__grid > * {
    width: 100% !important;
    max-width: 100% !important;
  }
  .features-list__container {
    padding: 0 1rem;
  }
}
@media (min-width: 768px) {
  .press__features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (min-width: 1024px) {
  .press {
    padding: 4rem 0;
  }

  .press__features {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }

  .press__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }

  .press__text {
    text-align: left;
    margin-bottom: 0;
  }
}
/* Mobile (576px and below) */
@media (max-width: 576px) {
  .container,
  .header__container,
  .hero__container,
  .features__container,
  .tutorials__container,
  .cta__container,
  .footer__container {
    padding: 0 1rem;
  }s

  .hero__title {
    font-size: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero__button {
    width: 100%;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .testimonials-slider {
    width: 100%;
    padding: 0 1rem;
  }

  .testimonials-slider .swiper-button-next,
  .testimonials-slider .swiper-button-prev {
    width: 2rem;
    height: 2rem;
  }

  .testimonials-slider .swiper-button-next::after,
  .testimonials-slider .swiper-button-prev::after {
    font-size: 0.875rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-card__header h3 {
    font-size: 1rem;
  }

  .testimonial-card__text {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer__legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}


@media (max-width: 480px) {

  
  .hero__image {
    max-width: 100%;
  }
  .hero__container {
    padding: 0 1rem;
  }

  
  .hero__left {
    gap: 1rem;
  }

  .hero__text h1 {
    font-size: 2rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__features {
    grid-template-columns: 1fr;
  }

  .hero__right {
    padding: 2rem;
  }

  .hero__btn {
    padding: 0.4rem 1rem;
  }
}