/* ==========================================================================
   ARDEN GROUP - ULTRA-RESPONSIVE ADAPTIVE LAYOUT
   ========================================================================== */

/* Large Displays (1440px+) */
@media (min-width: 1440px) {
  .ag-hero-wrapper {
    min-height: 92vh;
  }
}

/* Laptops & Desktops (1024px - 1280px) */
@media (max-width: 1280px) {
  :root {
    --ag-container-max: 1140px;
  }
  .ag-nav-menu {
    gap: 24px;
  }
  .ag-header-actions {
    margin-left: 20px;
    gap: 12px;
  }
}

/* Tablet Landscape & Small Laptops (992px - 1023px) */
@media (max-width: 1023px) {
  .ag-nav-menu {
    gap: 18px;
  }
  .ag-nav-link {
    font-size: 0.86rem;
  }
  .ag-header-cta-btn {
    padding: 11px 18px;
    font-size: 0.82rem;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  :root {
    --ag-header-height: 80px;
    --ag-topbar-height: 0px;
  }

  .ag-section {
    padding: 75px 0;
  }

  /* Hero on Tablet */
  .ag-hero-wrapper {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .ag-hero-title-main {
    font-size: 3.2rem;
  }

  .ag-hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .ag-pillar-card {
    padding: 34px 28px;
  }

  .ag-pillar-title {
    font-size: 1.6rem;
  }

  .ag-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767px) {
  :root {
    --ag-header-height: 72px;
  }

  .ag-section {
    padding: 60px 0;
  }

  /* Full Screen Hero on Mobile */
  .ag-hero-wrapper {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .ag-hero-title-main {
    font-size: 2.35rem;
    line-height: 1.18;
  }

  .ag-highlight-box {
    padding: 2px 14px 4px;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .ag-hero-subtext {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 26px;
  }

  .ag-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ag-btn-circle-pill,
  .ag-hero-actions .ag-btn {
    width: 100%;
    justify-content: center;
  }

  .ag-hero-bottom-bar {
    display: none;
  }

  /* Ticker on Mobile */
  .ag-ticker-item {
    font-size: 0.85rem;
    gap: 10px;
  }

  /* Pillar Cards */
  .ag-pillar-card {
    padding: 28px 20px;
  }

  .ag-pillar-title {
    font-size: 1.4rem;
  }

  /* Modern Service Cards */
  .ag-card-service-modern .ag-card-img-wrap {
    height: 190px;
  }

  .ag-card-service-modern .ag-card-body {
    padding: 22px 18px;
  }

  /* Branch Cards */
  .ag-branch-img {
    height: 170px;
  }

  .ag-branch-body {
    padding: 20px;
  }

  /* Footer */
  .ag-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ag-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Small Phones (< 480px) */
@media (max-width: 480px) {
  .ag-hero-title-main {
    font-size: 2rem;
  }

  .ag-btn {
    padding: 13px 22px;
    font-size: 0.88rem;
  }

  .ag-container,
  .ag-container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ag-header-logo-img {
    height: 38px;
    max-width: 165px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
