/**
 * Vudavi For Business — mobile-only layout (max-width: 768px).
 * Scoped to .v-page--business; desktop (769px+) unchanged.
 */

@media (min-width: 769px) {
  .v-page--business .btn-get-started__icon {
    display: none;
  }
}

@media (max-width: 768px) {
  .v-page--business {
    --biz-section-space: 48px;
  }

  .v-page--business::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../assets/mobile%20background.png") center top / cover no-repeat;
    opacity: 0.4;
  }

  .v-page--business > .skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    z-index: 1001;
  }

  .v-page--business > .skip-link:focus {
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: normal;
    inset: 12px auto auto 12px;
    padding: 10px 14px;
    background: #005f3b;
    color: #fff;
    border-radius: 8px;
  }

  .v-page--business > main,
  .v-page--business > footer {
    position: relative;
    z-index: 1;
  }

  /* Header: compact Get Started icon (same route /onboarding) */
  .v-page--business .header--customer > .v-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .v-page--business .header__inner--customer {
    height: 64px;
    align-items: center;
    gap: 10px;
  }

  .v-page--business .header--customer .logo {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .v-page--business .header-actions--customer {
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
  }

  .v-page--business .header-actions--customer .btn-get-started {
    display: inline-flex !important;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 12px;
  }

  .v-page--business .header-actions--customer .btn-get-started__label,
  .v-page--business .header-actions--customer .btn-get-started__arrow {
    display: none !important;
  }

  .v-page--business .header-actions--customer .btn-get-started__icon {
    display: block;
  }

  .v-page--business .header--customer .menu-btn {
    width: 40px;
    height: 40px;
  }

  .v-page--business .v-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Hero — mobile business mockup layout */
  .v-page--business .hero--business {
    padding: 24px 0 44px;
    text-align: center;
  }

  .v-page--business .hero--business .hero-bg-botanical {
    background-image: url("../assets/business-botanical-bg.png");
    background-size: cover;
    background-position: center top;
    opacity: 0.24;
  }

  .v-page--business .hero-grid--biz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  .v-page--business .hero-biz-left {
    display: contents;
    max-width: none;
    margin: 0;
  }

  .v-page--business .hero-biz-left .biz-eyebrow {
    order: 1;
    margin: 0 auto 10px;
  }

  .v-page--business .hero-biz-title {
    order: 2;
    font-size: clamp(1.85rem, 8.5vw, 2.2rem);
    text-align: center;
    margin: 0 0 12px;
  }

  .v-page--business .hero-biz-desc {
    order: 3;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    text-align: center;
    max-width: 36em;
  }

  .v-page--business .hero-biz-right {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
  }

  .v-page--business .biz-hero-mockup-mobile {
    display: block;
    width: 112%;
    max-width: none;
    height: auto;
    margin: 0 0 0 -6%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    /* Crop outer mint frame baked into the PNG */
    clip-path: inset(7.5% 5.5% 9% 5.5%);
    transform: translateY(-2%);
  }

  .v-page--business .hero-biz-right .dashboard-stage-wrapper {
    display: none !important;
  }

  .v-page--business .hero-biz-benefits {
    order: 5;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0;
    padding: 0;
    border-top: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .v-page--business .hero-biz-benefits::-webkit-scrollbar {
    display: none;
  }

  .v-page--business .hero-biz-benefits .benefit-item {
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 600;
    gap: 5px;
    white-space: nowrap;
  }

  .v-page--business .hero-biz-benefits .benefit-item svg {
    width: 15px;
    height: 15px;
    padding: 2px;
  }

  .v-page--business .hero-biz-ctas {
    order: 6;
    justify-content: center;
    width: 100%;
    margin: 10px 0 0;
  }

  .v-page--business .hero-biz-ctas .btn-biz-primary {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 14px 24px;
  }

  /* Features — 2-column mobile grid */
  .v-page--business .section-features--biz {
    background: rgba(255, 255, 255, 0.92);
  }

  .v-page--business .section-head--center {
    margin-bottom: 28px;
  }

  .v-page--business .section-title--biz {
    font-size: clamp(1.55rem, 7vw, 1.85rem);
  }

  .v-page--business .section-lead--biz {
    font-size: 15px;
  }

  .v-page--business .features-grid--biz {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .v-page--business .feature-card--biz {
    padding: 18px 14px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(7, 59, 45, 0.07);
  }

  .v-page--business .feature-icon-circle {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .v-page--business .feature-card-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .v-page--business .feature-card-desc {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.55;
  }

  .v-page--business .feature-card-link {
    font-size: 13px;
  }

  /* Business types — horizontal swipe row */
  .v-page--business .section-categories--biz {
    background: transparent;
    overflow-x: clip;
  }

  .v-page--business .categories-grid--biz {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .v-page--business .categories-grid--biz::-webkit-scrollbar {
    display: none;
  }

  .v-page--business .category-card--biz {
    flex: 0 0 min(44%, 168px);
    scroll-snap-align: start;
    padding: 22px 14px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(7, 59, 45, 0.08);
  }

  .v-page--business .category-icon-badge {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
  }

  .v-page--business .category-card-label {
    font-size: 13px;
  }

  /* Testimonials — flow spacing only (styles unchanged in business-testimonials.css) */
  .v-page--business .section-testimonials--biz {
    padding-top: var(--biz-section-space);
    padding-bottom: var(--biz-section-space);
  }

  /* Steps */
  .v-page--business .section-steps--biz {
    background: rgba(255, 255, 255, 0.92);
  }

  .v-page--business .steps-grid--biz {
    gap: 16px;
  }

  .v-page--business .step-card--biz {
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(7, 59, 45, 0.06);
  }

  /* Why Vudavi — premium visual block (reference-style) */
  .v-page--business .section-why--biz {
    background: transparent;
    padding-bottom: 40px;
  }

  .v-page--business .why-grid--biz {
    gap: 36px;
  }

  .v-page--business .why-content-left {
    text-align: left;
  }

  .v-page--business .why-content-left .section-title--biz,
  .v-page--business .why-content-left .section-lead--biz {
    text-align: left;
  }

  .v-page--business .why-visual-container {
    width: 100%;
    margin-top: 4px;
  }

  .v-page--business .why-visual-backdrop {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 24px 18px 0;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 95, 59, 0.1);
    background:
      linear-gradient(165deg, rgba(235, 246, 240, 0.95) 0%, rgba(255, 255, 255, 0.92) 42%, #faf8f4 100%);
    box-shadow: 0 18px 44px rgba(7, 59, 45, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    isolation: isolate;
  }

  .v-page--business .why-visual-backdrop::before {
    content: "";
    position: absolute;
    inset: 6% 8% 38%;
    background:
      radial-gradient(circle at 22% 18%, rgba(197, 230, 212, 0.55) 0%, transparent 52%),
      radial-gradient(circle at 78% 32%, rgba(248, 236, 209, 0.5) 0%, transparent 48%);
    border-radius: 48% 52% 50% 50%;
    z-index: 0;
    pointer-events: none;
  }

  .v-page--business .why-visual-backdrop::after {
    content: "";
    position: absolute;
    width: min(70%, 250px);
    aspect-ratio: 1;
    left: 50%;
    top: 42%;
    transform: translate(-54%, -52%);
    border: 2px solid rgba(213, 165, 46, 0.45);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
  }

  .v-page--business .leaf-accent--why {
    display: block !important;
    top: 8px;
    right: -6px;
    width: 76px;
    opacity: 0.9;
    z-index: 4;
  }

  .v-page--business .leaf-accent--why-mobile {
    display: block;
    position: absolute;
    bottom: 118px;
    right: 10px;
    width: 64px;
    height: auto;
    opacity: 0.55;
    z-index: 4;
    pointer-events: none;
  }

  .v-page--business .floating-stat-pill {
    position: relative;
    top: auto;
    left: auto;
    z-index: 5;
    margin: 0 auto 14px;
    width: fit-content;
    max-width: calc(100% - 8px);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(7, 59, 45, 0.1);
  }

  .v-page--business .floating-brand-pill .brand-pill-label {
    max-width: none;
    font-size: 12.5px;
    white-space: normal;
    text-align: left;
  }

  .v-page--business .why-woman-img {
    position: relative;
    z-index: 3;
    width: min(88%, 320px);
    max-width: 320px;
    margin: 4px auto 0;
    object-fit: contain;
    object-position: center top;
  }

  .v-page--business .floating-quote-card {
    position: relative;
    bottom: auto;
    right: auto;
    z-index: 6;
    width: calc(100% + 4px);
    max-width: none;
    margin: -18px -2px 0;
    align-self: stretch;
    background: #ffffff;
    border-radius: 22px 22px 16px 16px;
    padding: 20px 18px 18px;
    border: 1px solid rgba(0, 95, 59, 0.08);
    box-shadow: 0 14px 36px rgba(7, 59, 45, 0.12);
    backdrop-filter: none;
  }

  .v-page--business .floating-quote-accent {
    width: 42px;
    height: 4px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #d5a52e 0%, #005f3b 100%);
  }

  .v-page--business .floating-brand-quote-card .floating-quote-text {
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
    color: #073b2d;
    margin-bottom: 14px;
  }

  .v-page--business .floating-quote-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #fdf9ee;
    border-radius: 999px;
    border: 1px solid rgba(213, 165, 46, 0.35);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: #b8860b;
  }

  /* Final CTA */
  .v-page--business .section-cta--biz {
    padding-bottom: 48px;
  }

  .v-page--business .cta-banner--biz {
    padding: 36px 20px;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(7, 59, 45, 0.14);
  }

  .v-page--business .cta-title--biz {
    font-size: clamp(1.45rem, 6.5vw, 1.75rem);
  }

  .v-page--business .btn-biz-gold {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
  }
}

@media (max-width: 360px) {
  .v-page--business .features-grid--biz {
    grid-template-columns: 1fr;
  }
}
