/* ─── TABLET 900px ─── */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    cursor: auto;
  }

  a,
  button,
  .logo-img-link,
  .btn-primary,
  .btn-outline,
  .pkg-tab,
  .pkg-cta,
  .footer-col ul li a,
  .social-link {
    cursor: pointer;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  /* LOGO IMAGE */
  .logo-img-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.25rem;
    min-width: 0;
    max-width: calc(100vw - 6rem);
  }
  .nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
  }
  .nav-logo-img-escrito {
    height: 38px;
    width: auto;
    max-width: min(44vw, 150px);
    object-fit: contain;
  }
  .footer-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
  }

  /* NAV */
  nav {
    z-index: 220;
  }
  nav .nav-links,
  nav .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: flex;
    z-index: 180;
    padding: 5.5rem 5vw 2.5rem;
  }

  /* HERO */
  #hero {
    padding: 6.5rem 6vw 5rem;
    min-height: 100svh;
  }
  .hero-title {
    font-size: clamp(4rem, 13vw, 7rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-badge {
    margin-bottom: 1.5rem;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }
  .hero-desc {
    max-width: 100%;
    font-size: 0.9rem;
  }
  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }
  .hero-stat-num {
    font-size: 2.2rem;
  }
  .hero-cta-group {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .hero-float-1,
  .hero-float-2,
  .hero-float-3 {
    display: none;
  }

  /* SECTIONS */
  section {
    padding: 5.5rem 6vw;
  }
  .section-title {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  /* SERVICES */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 2.5rem 2rem;
    min-width: 0;
  }

  /* WHY */
  #why .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* PACKAGES */
  .pkg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .pkg-grid {
    grid-template-columns: 1fr;
  }
  .pkg-card {
    padding: 2.2rem 1.8rem;
    min-width: 0;
  }
  .pkg-card.featured {
    outline-offset: 0;
  }

  /* LP PACKAGES */
  .lp-grid {
    grid-template-columns: 1fr;
  }
  .lp-main {
    grid-template-columns: 1fr;
  }
  .lp-card.full-width {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .lp-sidebar {
    padding: 2.5rem 2rem;
  }
  .lp-card,
  .lp-card.full-width {
    min-width: 0;
  }

  /* PROCESS */
  .process-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .process-intro-right {
    border-left: none;
    border-top: 1px solid var(--gray-700);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .process-h-line {
    display: none;
  }
  .process-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--gray-700);
  }
  .proc-card {
    padding: 0;
  }
  .proc-card-inner {
    background: var(--gray-900);
    padding: 2rem 1.6rem;
    border-top: none;
    border-left: 2px solid transparent;
    transition: border-color 0.3s;
    min-width: 0;
  }
  .proc-card:hover .proc-card-inner {
    border-left-color: var(--cyan);
    border-top-color: transparent;
  }
  .proc-node {
    display: none;
  }
  .proc-num {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
  }
  .process-bottom {
    grid-template-columns: 1fr;
  }
  .process-metric {
    padding: 2rem;
    min-width: 0;
  }
  .pm-num {
    font-size: 2.8rem;
  }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ─── MOBILE 600px ─── */
@media (max-width: 600px) {
  section {
    padding: 4rem 5vw;
  }

  /* LOGO IMAGE */
  .logo-img-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-width: calc(100vw - 5rem);
  }
  .nav-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
  }
  .nav-logo-img-escrito {
    height: 32px;
    max-width: 46vw;
  }
  .footer-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
  }

  /* NAV */
  nav {
    padding: 0.85rem 5vw;
  }
  nav.scrolled {
    padding: 0.75rem 5vw;
  }
  .nav-hamburger {
    width: 38px;
    height: 38px;
  }
  .nav-hamburger i {
    font-size: 1.25rem;
  }
  .mobile-drawer {
    padding-top: 5.25rem;
  }

  /* HERO */
  #hero {
    justify-content: center;
    padding: 6rem 5vw 3.5rem;
  }
  .hero-title {
    font-size: clamp(3.15rem, 15.5vw, 5rem);
    line-height: 0.88;
  }
  .hero-badge {
    font-size: 0.62rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    letter-spacing: 0.11em;
  }
  .hero-bottom {
    gap: 2rem;
    margin-top: 2rem;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
  }
  .hero-stat-num {
    font-size: 2rem;
  }
  .hero-stat-label {
    font-size: 0.62rem;
    line-height: 1.35;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 0.8rem;
    min-height: 3.25rem;
    text-align: center;
    letter-spacing: 0.07em;
  }

  /* MARQUEE */
  .marquee-track {
    animation-duration: 18s;
  }
  .marquee-item {
    font-size: 0.65rem;
    gap: 0.8rem;
    padding: 0 1.35rem;
  }

  /* SECTION TITLE */
  .section-title {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
    margin-bottom: 1rem;
    overflow-wrap: break-word;
  }
  .section-tag {
    font-size: 0.62rem;
    gap: 0.65rem;
    letter-spacing: 0.14em;
  }
  .section-tag::before {
    width: 18px;
    flex-shrink: 0;
  }

  /* SERVICES */
  .service-card {
    padding: 2rem 1.5rem;
  }
  .service-icon {
    font-size: 3.25rem;
    margin-bottom: 1.2rem;
  }
  .service-name {
    font-size: 1.95rem;
    line-height: 1.05;
  }
  .service-desc {
    font-size: 0.85rem;
  }

  /* WHY */
  #why .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-card {
    padding: 2rem 1.5rem;
  }
  .why-num {
    font-size: 4rem;
  }

  /* PACKAGES — horizontal scroll on mobile */
  .pkg-tabs {
    width: 100%;
  }
  .pkg-tab {
    flex: 1;
    text-align: center;
    font-size: 0.62rem;
    padding: 0.6rem 0.8rem;
    min-width: 0;
  }
  .pkg-grid {
    grid-template-columns: 1fr;
  }
  .pkg-card {
    padding: 2rem 1.5rem;
  }
  .pkg-price {
    font-size: 2.65rem;
  }
  .pkg-badge {
    left: 1.5rem;
  }

  /* LP PACKAGES */
  .lp-grid {
    background: none;
    gap: 0;
  }
  .lp-sidebar {
    padding: 2rem 1.5rem;
    background: var(--gray-900);
    margin-bottom: 2px;
  }
  .lp-main {
    background: var(--gray-700);
    gap: 2px;
  }
  .lp-card {
    padding: 2rem 1.5rem;
  }
  .lp-card.full-width {
    padding: 2rem 1.5rem;
    gap: 1.6rem;
  }
  .lp-card-price {
    font-size: 2.2rem;
  }
  .lp-card.full-width .lp-card-price {
    font-size: 2.45rem !important;
  }
  .lp-card.full-width .lp-card-name {
    font-size: 1.8rem !important;
  }
  .lp-card-name {
    font-size: 1.5rem;
  }
  .pkg-features li,
  .lp-feature-list li {
    gap: 0.6rem;
    min-width: 0;
  }
  .pkg-features li > i,
  .lp-feature-list li > i {
    flex: 0 0 auto;
  }

  /* PROCESS */
  .process-cards {
    grid-template-columns: 1fr;
  }
  .proc-card-inner {
    padding: 1.8rem 1.4rem;
  }
  .proc-num {
    font-size: 3rem;
  }
  .proc-title {
    font-size: 0.88rem;
  }
  .proc-desc {
    font-size: 0.76rem;
  }
  .process-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.8rem 1.5rem;
  }
  .pm-num {
    font-size: 2.4rem;
  }

  /* CTA */
  #cta {
    padding: 4.5rem 5vw;
  }
  #cta .section-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  .cta-subtitle {
    font-size: 0.88rem;
    margin-bottom: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline {
    justify-content: center;
    padding: 1rem;
  }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  footer {
    padding: 3rem 5vw 2rem;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .social-links {
    gap: 1.2rem;
  }

  /* MOBILE DRAWER */
  .mobile-drawer a {
    width: min(84vw, 22rem);
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1.05;
  }
  .mobile-drawer .drawer-cta {
    width: min(84vw, 22rem);
    font-size: 0.78rem;
    line-height: 1.3;
  }

  #backToTop {
    right: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ─── TINY 380px ─── */
@media (max-width: 380px) {
  .nav-logo-img {
    height: 32px;
  }
  .nav-logo-img-escrito {
    height: 29px;
    max-width: 42vw;
  }
  .hero-badge {
    font-size: 0.56rem;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .hero-stats {
    gap: 0.75rem;
  }
  .hero-stat-num {
    font-size: 1.75rem;
  }
  .hero-stat-label {
    font-size: 0.58rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .pkg-price {
    font-size: 2.4rem;
  }
  .pkg-tab {
    font-size: 0.56rem;
    padding-inline: 0.5rem;
  }
  .pkg-card,
  .lp-card,
  .lp-card.full-width,
  .service-card,
  .why-card,
  .proc-card-inner,
  .process-metric {
    padding-inline: 1.2rem;
  }
  .mobile-drawer a {
    font-size: 1.9rem;
  }
}
