/* ============================================
   QUỲNH TRANG — Mobile CSS
   Toàn bộ nằm trong @media (max-width: 768px)
   để không ảnh hưởng desktop
   ============================================ */

@media (max-width: 768px) {

/* ── NAVBAR ─────────────────────────────── */
.navbar { padding: 1rem 6vw; }
.navbar.scrolled { padding: 0.75rem 6vw; }
.navbar-nav { display: none !important; }
.navbar-cta .btn-outline { display: none !important; }
.menu-toggle { display: flex; }
.navbar-logo img { width: 38px; height: 38px; }
.navbar-logo .logo-name { font-size: 1.15rem; }

/* ── SIDEBAR BACKDROP ───────────────────── */
.sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.22);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  z-index: 2999;
}
.sidebar-backdrop.open { opacity: 1; pointer-events: all; }

/* ── SIDEBAR PANEL ──────────────────────── */
.sidebar {
  position: fixed;
  top: 0; right: 0;
  height: 100svh;
  width: min(320px, 88vw);
  background: rgba(254,252,248,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: -18px 0 60px rgba(0,0,0,0.14);
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.2,0.9,0.2,1);
  z-index: 3000;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.sidebar.open { transform: translateX(0); }

.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.sidebar-brand { display: flex; align-items: center; gap: 0.75rem; }
.sidebar-brand-img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--green-main);
}
.sidebar-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; color: var(--green-deep);
}
.sidebar-brand-name .accent { color: var(--green-main); }

.sidebar-close {
  width: 36px; height: 36px; border: none; background: transparent;
  color: var(--text-mid); cursor: pointer; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0; font-size: 1rem;
  position: relative; z-index: 9999; pointer-events: auto;
}
.sidebar-close:hover { background: rgba(0,0,0,0.06); }

.sidebar-nav-links {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.5rem; gap: 0;
  flex: 1; overflow-y: auto;
}
.sidebar-nav-links a {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 500; color: var(--green-deep);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s; display: block;
}
.sidebar-nav-links a:last-child { border-bottom: none; }
.sidebar-nav-links a:hover { color: var(--green-main); padding-left: 0.5rem; }

.sidebar-cta-wrap { padding: 1rem 1.5rem 2rem; flex-shrink: 0; }
.sidebar-cta-wrap .btn { width: 100%; justify-content: center; }

/* ── HERO SLIDER — full background mobile ─ */
#slider-section { padding: 4.75rem 0 0; }

.slider-inner { height: 78svh; min-height: 520px; }

.slide {
  border-radius: 20px;
  overflow: hidden;
}

/* Ảnh: reset GSAP, trải full */
.slide-img-wrap {
  position: absolute !important;
  top: 0 !important; right: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  transform: none !important;
  opacity: 1 !important;
  z-index: 0;
}
.slide-bg-img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Gradient overlay */
.slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,58,46,0.82) 0%,
    rgba(26,58,46,0.45) 45%,
    rgba(26,58,46,0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

/* Content xuống dưới */
.slide-content {
  position: absolute !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important; top: auto !important;
  width: 100% !important; max-width: 100% !important;
  padding: 0 1.5rem 4rem !important;
  z-index: 2 !important;
}

.slide-tag { font-size: 0.65rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.75); }
.slide-title { font-size: clamp(2.8rem, 13vw, 4.2rem); line-height: 0.88; }
.slide-title-main   { color: #fff !important; }
.slide-title-accent { color: var(--green-pale) !important; }
.slide-desc { display: none; }
.slide-cta  { margin-top: 1.25rem; font-size: 0.7rem; padding: 0.8rem 1.75rem; }

/* Dots trắng trên nền tối */
.slider-ui { bottom: 1rem; }
.slider-dot { width: 22px; height: 22px; border-color: rgba(255,255,255,0.35); }
.slider-dot::after { width: 6px; height: 6px; background: rgba(255,255,255,0.4); }
.slider-dot.is-active { border-color: #fff; }
.slider-dot.is-active::after { background: #fff; }

/* ── TRUST BAR ──────────────────────────── */
.trust-bar { padding: 1rem 4vw; }
.trust-inner { gap: 0.5rem 1rem; justify-content: center; flex-wrap: wrap; }
.trust-sep { display: none; }
.trust-item { font-size: 0.78rem; }

/* ── ABOUT ──────────────────────────────── */
.about-section { padding: 3.5rem 6vw; }
.about-grid {
  grid-template-columns: 1fr !important;
  gap: 2rem;
  display: flex !important;
  flex-direction: column;
}
.about-text  { order: 1; padding-top: 0; } /* text lên trên */
.about-media {
  order: 2;                                 /* ảnh xuống dưới */
  display: block !important;
  max-width: 280px; margin: 0 auto; padding-bottom: 2rem;
}
.about-badge-stat { right: 0; bottom: 0.75rem; padding: 0.9rem 1.1rem; }
.stat-circle-num { font-size: 1.7rem; }
.stat-circle-label { font-size: 0.65rem; }
.about-name { font-size: 1.6rem; }
.about-features { gap: 0.55rem; }
.about-feature { font-size: 0.84rem; }

/* ── STORIES ────────────────────────────── */
.stories-section {
  padding: 3.5rem 6vw;
  margin: .75rem 4vw 0;
  width: auto;
  border-radius: 24px;
}
.stories-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.stories-header .btn { align-self: flex-start; }
.stories-intro { margin-bottom: 2rem; }
.stories-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
.stories-grid .blog-fb-embed {
  height: auto;
  min-height: 495px !important;
}
.stories-grid .blog-fb-embed iframe {
  height: 524px !important;
}
.stories-more { margin-top: 1.75rem; }
 .story-img-single { height: auto; }
 .story-img-single img { width: 100%; height: auto; display: block; object-fit: cover; }
.story-body { padding: 1.25rem; }
.story-num { font-size: 1.9rem; }
.story-metrics { gap: 0.5rem; padding: 0.6rem; }
.metric-val { font-size: 1.05rem; }
.story-quote { font-size: 0.92rem; }

/* ── BLOG PREVIEW ───────────────────────── */
.blog-preview-section { padding: 3.5rem 6vw; }
.blog-preview-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.blog-preview-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
.blog-card-body { padding: 1.25rem; }
.blog-card-title { font-size: 1.25rem; }
.blog-excerpt { font-size: 0.84rem; }

/* ── CONTACT ────────────────────────────── */
.contact-section { padding: 3.5rem 6vw; }
.contact-grid { grid-template-columns: 1fr !important; gap: 2.25rem; }
.contact-h2 { font-size: clamp(2rem, 9vw, 3rem); }
.contact-links { margin-top: 1.25rem; gap: 0.5rem; }
.contact-link-item { padding: 0.85rem 1rem; }
.contact-link-val { font-size: 0.84rem; }
.contact-form-panel { padding: 1.5rem; }
.f-input { padding: 0.75rem 0.875rem; font-size: 0.875rem; }
.f-submit { padding: 0.9rem; font-size: 0.82rem; }
.contact-bg-orb { display: none; }

/* ── FOOTER ─────────────────────────────── */
.footer { padding: 1.5rem 6vw 1rem; }
.footer-inner { flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-nav { flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.25rem; margin-left: 0; }
.footer-copy { font-size: 0.72rem; }

/* ── TYPOGRAPHY & UTILS ─────────────────── */
.section { padding: 3.5rem 6vw; }
.display-xl { font-size: clamp(2.4rem, 9vw, 4rem); }
.display-lg { font-size: clamp(1.9rem, 7vw, 3rem); }
.display-md { font-size: clamp(1.4rem, 5vw, 2rem); }
.body-lg { font-size: 1rem; }
.btn { padding: 0.75rem 1.6rem; font-size: 0.82rem; }
.card:hover, .blog-card:hover,
.contact-link-item:hover, .story-card:hover { transform: none; }

}
