/* media queries */

@media (max-width: 1200px) {
  .section {
    padding: 4rem 5%;
  }
  .header {
    padding: 1rem 4%;
  }
  .header.scrolled {
    padding: 0.75rem 4%;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    gap: 4rem;
  }
  .stats__grid {
    gap: 1rem;
  }
  .cta-section {
    padding: 6rem 5%;
  }
}

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }
  .header__hamburger {
    display: flex;
  }
  .about-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-preview__image {
    height: 360px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__logo-col {
    grid-column: span 2;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
  .hero-sobre {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-sobre__image {
    min-height: 50vh;
  }
  .hero-sobre__title {
    padding-top: 0;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline__item {
    grid-template-columns: 40px 1fr;
  }
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 2;
  }
  .timeline__item:nth-child(even) .timeline__dot {
    grid-column: 1;
  }
  .timeline__item:nth-child(even) .timeline__empty {
    display: none;
  }
  .timeline__item:nth-child(odd) .timeline__empty {
    display: none;
  }
  .timeline__dot {
    margin: 0;
  }
  .gallery-asymmetric-fullwidth .g-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 200px);
  }
  .g-item-1 {
    grid-column: 1/3;
    grid-row: 1;
  }
  .g-item-2 {
    grid-column: 1;
    grid-row: 2;
  }
  .g-item-3 {
    grid-column: 2;
    grid-row: 2;
  }
  .g-item-4 {
    grid-column: 1/3;
    grid-row: 3;
  }
  .g-item-5 {
    grid-column: 1;
    grid-row: 4;
  }
  .g-item-6 {
    grid-column: 2;
    grid-row: 4;
  }
  .services-cards {
    grid-template-columns: 1fr;
  }
  .contact-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-hero__right {
    max-width: 100%;
  }
  .contact-hero__desc {
    border-left: none;
    padding-left: 0;
  }
  .contact-hero__number {
    display: none;
  }
}

@media (max-width: 768px) {
  .loader__logo {
    width: 100px;
  }
  .section {
    padding: 3rem 4%;
  }
  .header {
    padding: 0.5rem 4%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
  }
  .header.scrolled {
    padding: 0.5rem 4%;
  }
  .header__logo img {
    height: 70px;
  }
  .btn-contact {
    display: none;
  }
  .hero__content {
    padding: 0 4%;
    justify-content: center;
    padding-bottom: 120px;
  }
  .hero__title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  .hero__nav {
    left: 4%;
    bottom: 1rem;
  }
  .hero__scroll {
    display: none;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-fullwidth .gallery__grid {
    grid-template-columns: 1fr;
  }
  .gallery-fullwidth .gallery__item:nth-child(1),
  .gallery-fullwidth .gallery__item:nth-child(2),
  .gallery-fullwidth .gallery__item:nth-child(3),
  .gallery-fullwidth .gallery__item:nth-child(4),
  .gallery-fullwidth .gallery__item:nth-child(5),
  .gallery-fullwidth .gallery__item:nth-child(6),
  .gallery-fullwidth .gallery__item:nth-child(7) {
    grid-column: span 1;
    height: 260px;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 3rem 4% 1.5rem;
  }
  .footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__logo-col {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
  }
  .footer__logo img {
    height: 96px;
  }

  .footer__cols-row {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    gap: 2rem;
  }
  .footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__nav,
  .footer__contacts {
    align-items: center;
  }
  .footer__credits {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .cta-section {
    padding: 4rem 4%;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
  .hero-sobre__text {
    padding: 3rem 4%;
    margin-top: 0% !important;
  }
  .mission-section {
    padding: 4rem 4%;
  }
  .gallery-asymmetric-fullwidth .g-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
  .g-item-1,
  .g-item-2,
  .g-item-3,
  .g-item-4,
  .g-item-5,
  .g-item-6 {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .contact-hero {
    padding: 120px 4% 2rem;
  }
  .section__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .header__logo img {
    height: px;
  }
  .hero__content {
    padding: 0 3%;
    padding-bottom: 100px;
  }
  .section {
    padding: 2.5rem 3%;
  }
  .footer {
    padding: 2.5rem 3% 1rem;
  }
  .form__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .form__actions .btn,
  .form__actions .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
  .free-estimate {
    padding: 2rem 1rem;
  }
  .menu-overlay {
    padding: 3rem 1.5rem;
  }
  .lightbox__prev {
    left: 0.5rem;
  }
  .lightbox__next {
    right: 0.5rem;
  }
}
