/* ============================================================
   Franchise Inquiry page — page-specific styles only.
   Fully decoupled from the store-panel rules in style2.css —
   this page uses its own .inquiry-panel instead.
   Still relies on style2.css for: navbar, video-wrap, .app
   shell, CSS variables (colors/easing/timing), and the shared
   panelSlideUp keyframes.
   ============================================================ */

/* ================= INQUIRY PANEL (replaces store-panel) ================= */

.inquiry-panel {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  background: #f4f5f7;
  border-top-left-radius: var(--panel-radius);
  border-top-right-radius: var(--panel-radius);
  z-index: 2;
  padding: 22px 20px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
  overflow: visible;

  transform: translateY(100%);
  animation: panelSlideUp var(--panel-reveal-duration) var(--ease-bounce) var(--panel-reveal-delay) forwards;
  opacity: 0;
}

/* ================= CONTENT ================= */

.inquiry-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;

  opacity: 0;
  transform: translateY(16px);
  animation: inquiryRise var(--card-reveal-duration) var(--ease-bounce) forwards;
  animation-delay: var(--card-reveal-base-delay);
}

@keyframes inquiryRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inquiry-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--green-3), var(--green-1));
  box-shadow: 0 6px 18px rgba(45, 181, 78, .35);
  margin-bottom: 10px;
}

.inquiry-title {
  font-size: 17px;
  font-weight: 800;
  color: #111318;
  line-height: 1.25;
}

.inquiry-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #6a6f78;
  margin-top: 4px;
  margin-bottom: 16px;
  max-width: 320px;
}

/* ---- full-width Apply button ---- */

.inquiry-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 16px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;

  background: linear-gradient(135deg, var(--green-3), var(--green-1));
  box-shadow: 0 8px 24px rgba(45, 181, 78, .35);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}

.inquiry-cta:active {
  transform: scale(.98);
}

.inquiry-cta .arrow {
  font-size: 18px;
  transition: transform .25s var(--ease-out);
}

.inquiry-cta:hover .arrow {
  transform: translateX(4px);
}

/* glossy sweep, reuses the same visual language as the store CTAs */
.inquiry-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      transparent 34%,
      rgba(255, 255, 255, .18) 45%,
      rgba(255, 255, 255, .55) 50%,
      rgba(255, 255, 255, .18) 55%,
      transparent 66%);
  transform: translateX(-170%);
  pointer-events: none;
}

.inquiry-panel.attention .inquiry-cta::after {
  animation: buttonSweep 6s ease-in-out infinite;
}

.inquiry-note {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #8a8f98;
  letter-spacing: .2px;
}

/* ================= DESKTOP ================= */

@media (min-width: 900px) {
  .inquiry-panel {
    background: transparent;
    padding: 0 24px 40px;
    display: flex;
    justify-content: center;
  }

  .inquiry-content {
    width: 380px;
    background: #f4f5f7;
    border-radius: 22px;
    padding: 28px 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  }
}




.inquiry-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.inquiry-cta-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    padding-left: 24px;
}

.inquiry-cta-main-text {
    font-size: 1rem;
    font-weight: 700;
}

.inquiry-cta-sub-text {
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

.inquiry-cta-arrow {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 700;
    padding-right: 24px;
}