@media (max-width: 640px) {
  .section {
    padding: 4.2rem 0;
  }

  .topbar {
    display: none;
  }

  .header {
    background: rgba(245, 250, 255, 0.94);
  }

  .header__content {
    min-height: 74px;
  }

  .topbar__content,
  .topbar__actions,
  .hero__actions,
  .contact-actions,
  .footer__bottom {
    display: grid;
  }

  .hero__actions,
  .contact-actions,
  .detail-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0;
  }

  .hero__grid,
  .hero-card,
  .hero-media,
  .hero-media__asset {
    min-height: 380px;
  }

  .hero__copy {
    padding: 1.25rem 0 1.8rem;
  }

  .hero__metrics,
  .benefit-strip,
  .about-grid,
  .services-grid,
  .coverage-grid,
  .detail-grid,
  .brands-grid,
  .form-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy h1 {
    max-width: none;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-tabs,
  .service-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-tab,
  .service-filter {
    width: 100%;
  }

  .hero__lead,
  .section-heading p,
  .contact-copy p,
  .value-copy p {
    font-size: 1rem;
  }

  .hero__metrics {
    gap: 0.85rem;
  }

  .hero__metrics div {
    min-width: 0;
  }

  .brand {
    gap: 0.75rem;
    min-width: 0;
  }

  .brand__logo {
    width: 50px;
    height: 50px;
  }

  .brand__text strong {
    font-size: 1.35rem;
  }

  .brand__text small {
    font-size: 0.8rem;
  }

  .hero-card,
  .benefit-item,
  .info-card,
  .service-card,
  .value-item,
  .form-card {
    border-radius: 24px;
  }

  .benefit-item,
  .info-card,
  .service-card,
  .value-item,
  .form-card,
  .contact-card {
    padding: 1.2rem;
  }

  .service-card__media {
    height: 170px;
    width: calc(100% + 2.4rem);
    margin: -1.2rem -1.2rem 1rem;
  }

  .detail-card__media {
    height: 210px;
  }

  .detail-card__body {
    padding: 1.2rem;
  }

  .contact-card {
    gap: 0.8rem;
    align-items: flex-start;
  }

  .form-card {
    padding: 1.35rem;
  }

  .footer {
    padding-bottom: 5rem;
  }

  .footer__links a,
  .footer__links span,
  .footer__links small,
  .footer__bottom p {
    word-break: break-word;
  }

  .footer__bottom {
    gap: 0.4rem;
    text-align: center;
  }

  .hero-diagram {
    height: 220px;
  }

  .hero-media,
  .hero-media__asset {
    min-height: 380px;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 1.1rem, 1180px);
  }

  .section {
    padding: 3.6rem 0;
  }

  .header__content {
    gap: 0.75rem;
  }

  .brand__text small {
    display: none;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .nav {
    left: 0.55rem;
    right: 0.55rem;
    top: calc(var(--header-height) + 10px);
    padding: 1rem;
    border-radius: 20px;
  }

  .hero__copy h1,
  .section-heading h2,
  .value-copy h2,
  .contact-copy h2 {
    line-height: 1;
    letter-spacing: -0.025em;
  }

  .hero-card h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .service-card__tags {
    gap: 0.45rem;
  }

  .service-card__tags span {
    min-height: 30px;
    padding: 0.32rem 0.65rem;
    font-size: 0.84rem;
  }

  .contact-card {
    flex-direction: column;
  }

  .icon-wrap--small {
    width: 42px;
    height: 42px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .media-gallery--service {
    width: calc(100% + 2.4rem);
    margin: -1.2rem -1.2rem 1rem;
  }

  .media-gallery__image--service {
    height: 170px;
  }

  .media-gallery__image--detail {
    height: 300px;
    object-position: center;
  }

  .media-gallery__caption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.8rem;
    border-radius: 18px;
  }

  .media-gallery__control {
    width: 38px;
    height: 38px;
  }

  .media-gallery__dots {
    top: 0.75rem;
    right: 0.75rem;
    max-width: calc(100% - 5.5rem);
  }

  .media-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .media-gallery__thumb img {
    height: 88px;
  }
}

@media (max-width: 640px) {
  .detail-carousel__tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .detail-carousel__shell {
    padding: 0 2.15rem;
  }

  .detail-carousel__control {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 900px) {
  .catalog-grid,
  .video-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .catalog-card__actions {
    flex-direction: column;
  }

  .catalog-card__actions .btn,
  .video-card__body .text-link {
    width: 100%;
    justify-content: center;
  }

  .video-card__body {
    padding: 1.1rem 1rem 1.2rem;
  }
}
