/* ==========================================================================
   ESPACIO COLINAS - RESPONSIVE STYLES (EDITORIAL AWWWARDS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HAMBURGER BUTTON
   -------------------------------------------------------------------------- */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   TABLET (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .schedule-grid-ribbon {
    grid-template-columns: 1fr;
  }

  .schedule-col {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-lg);
  }

  .schedule-col:last-child {
    border-bottom: none;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .services-sticky-col {
    position: static;
  }

  .concierge-card {
    display: none; /* In tablet & mobile, the active selection is handled by the floating dock or clean rows */
  }

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

  .concept-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border-dark);
    padding: var(--space-xl);
  }

  .concept-card:last-child {
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-item {
    height: 340px;
    border-right: none;
    border-bottom: 1px solid var(--color-border-dark);
  }

  .gallery-item:last-child {
    border-bottom: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* --------------------------------------------------------------------------
   MOBILE (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-bottom: var(--mobile-cta-height);
  }

  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-main);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transform: translateY(-100%);
    transition: transform var(--transition);
    z-index: 105;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-item-link {
    font-size: 1.65rem;
    letter-spacing: 0.12em;
  }

  .desktop-only {
    display: none;
  }

  .hero-section {
    min-height: 82vh;
    padding-top: calc(var(--header-height) + var(--space-lg));
  }

  .hero-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .hero-brand-lockup {
    gap: 1rem;
    margin-bottom: var(--space-lg);
  }

  .hero-brand-emblem-left {
    width: clamp(72px, 19vw, 98px);
    height: clamp(72px, 19vw, 98px);
  }

  .hero-headline {
    font-size: clamp(1.65rem, 6.4vw, 2.5rem);
    white-space: nowrap;
    line-height: 1.05;
  }

  .hero-subhead {
    font-size: clamp(0.95rem, 3.8vw, 1.25rem);
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .hero-location-link {
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-secondary-link {
    justify-content: center;
    border-bottom: none;
    font-size: 1.05rem;
  }

  .hero-scroll-cue {
    display: none;
  }

  .service-card {
    padding: 1.25rem 1rem;
  }

  .service-title {
    font-size: 1.22rem;
  }

  .service-desc {
    font-size: 0.82rem;
  }

  .service-cost {
    font-size: 1.65rem;
  }

  .service-index {
    font-size: 1.15rem;
    width: 22px;
  }

  .gallery-item {
    height: 250px;
  }

  .gallery-caption {
    font-size: 0.76rem;
    bottom: var(--space-sm);
    left: var(--space-sm);
    padding: 0.35rem 0.75rem;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}
