/* c9-mobile.css — v20 FULL REWRITE */

/* ═══ DESKTOP SAFETY ═══ */
@media (min-width: 640px) {
  .m-slider-wrap       { display: none !important; }
  .proc-steps-rebuilt  { display: none !important; }
  .footer-cols-rebuilt { display: none !important; }
  .svc-grid     { display: grid !important; }
  .events-grid  { display: grid !important; }
  .testi-grid   { display: grid !important; }
  .feat-grid    { display: grid !important; }
  .process-steps{ display: grid !important; }
  .m-hero-btns-sticky { display: none !important; }
}
@media (min-width: 900px) {
  .menu-overlay { display: none !important; }
  .nav-hbg      { display: none !important; }
}

/* ═══ TABLET ═══ */
@media (min-width: 640px) and (max-width: 899px) {
  .svc-grid      { grid-template-columns: repeat(2, 1fr) !important; }
  .events-grid   { grid-template-columns: repeat(2, 1fr) !important; }
  .testi-grid    { grid-template-columns: repeat(2, 1fr) !important; }
  .feat-grid     { grid-template-columns: repeat(2, 1fr) !important; }
  .process-steps { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-top    { grid-template-columns: 1fr 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE ONLY — max-width: 639px
═══════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {

/* ── Global ───────────────────────────────────────────────────── */
.section { padding-block: clamp(2.5rem, 7vw, 3.5rem); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
}
.hero-inner {
  padding-top: calc(var(--nav-h, 66px) + 1.5rem);
  padding-bottom: 0;
  flex: 1;
}
.hero-h1 {
  font-size: clamp(3rem, 13vw, 6rem) !important;
  line-height: 0.9;
  margin-bottom: 0.85rem;
}
.hero-sub {
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 100%;
  margin-bottom: 1.25rem;
}
.hero-eyebrow { font-size: 0.6rem; margin-bottom: 0.85rem; }
.live-badge  { display: none; }
.scroll-hint { display: none; }
.beam-2, .beam-4, .beam-6 { display: none; }

/* ── HERO BUTTONS — sticky at bottom of first viewport ───────── */
/* Hide inline hero buttons on mobile */
.hero-btns { display: none !important; }

/* Sticky pill bar at bottom of hero */
.m-hero-btns-sticky {
  position: absolute;
  bottom: 2rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  display: flex !important;
  flex-direction: column;
  gap: 0.6rem;
  animation: fadeUp 0.9s 1.1s var(--ease-out, cubic-bezier(.16,1,.3,1)) both;
}
.m-hero-btns-sticky .btn-solid {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  letter-spacing: 0.03em;
}
.m-hero-btns-row {
  display: flex;
  gap: 0.5rem;
}
.m-hero-btns-row .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.78rem;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
}

/* ── Ticker ───────────────────────────────────────────────────── */
.t-item { font-size: 0.8rem; }
.ticker-track { gap: 1.5rem; }

/* ── Stats 2×2 ────────────────────────────────────────────────── */
.stats-band { padding-block: 0 !important; }
.stats-band .wrap { padding-inline: 0; max-width: 100%; }
.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat-cell {
  padding: 1.4rem 1rem;
  border-right: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  text-align: center;
}
.stat-cell:nth-child(2n) { border-right: none; }
.stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: none; }
.stat-n     { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.72rem; }

/* ── Intro split ──────────────────────────────────────────────── */
.split { gap: 0; align-items: start; }
.vis-box, .vis-box-2d { display: none; }
.intro-h { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 0.9rem; }
.intro-p  { font-size: 0.95rem; margin-bottom: 0.75rem; }

/* ── Section headings ─────────────────────────────────────────── */
.sec-title { font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 0.94; }
.sec-sub   { max-width: 100%; font-size: 0.975rem; }

/* ── CTA section ──────────────────────────────────────────────── */
.cta-section--split { grid-template-columns: 1fr !important; padding: 0 !important; }
.cta-canvas-col { display: none; }
.cta-text-col { padding: 2.5rem 1.25rem !important; }
.cta-inner { padding: 1.75rem 1.25rem !important; border-radius: 12px; }
.cta-h   { font-size: clamp(2rem, 9vw, 3rem); }
.cta-sub { font-size: 0.9rem; max-width: 100%; }
.cta-btns { flex-direction: column; gap: 0.6rem; align-items: stretch; }
.cta-btns .btn { width: 100%; justify-content: center; }
.cta-phones { flex-direction: column; gap: 0.5rem; align-items: center; }
.ring { display: none; }

/* ── CTA band (service pages) ─────────────────────────────────── */
.cta-band { padding-block: 2.5rem; }
.cta-band-h { font-size: clamp(1.9rem, 8vw, 3rem); }
.cta-band-btns { flex-direction: column; gap: 0.6rem; align-items: stretch; }
.cta-band-btns .btn { width: 100%; justify-content: center; }

/* ── Include list ─────────────────────────────────────────────── */
.inc-list { grid-template-columns: 1fr; gap: 6px; }
.inc-item { padding: 0.75rem 0.9rem; }

/* ── Gallery ──────────────────────────────────────────────────── */
.filter-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 1.25rem; gap: 0.35rem; }
.filter-tabs::-webkit-scrollbar { display: none; }
.f-tab { flex-shrink: 0; font-size: 0.65rem; padding: 0.45rem 0.9rem; white-space: nowrap; }
.gallery-grid { columns: 1; column-gap: 0; }
.gal-card     { margin-bottom: 6px; }
.gal-h1, .gal-h2 { height: 220px; }
.gal-h3 { height: 255px; }
.gal-h4 { height: 290px; }
.gal-overlay { opacity: 1; }
.gal-info    { transform: translateY(0); }

/* ── Page hero (interior) ─────────────────────────────────────── */
.page-hero { min-height: 40vh; }
.ph-h1 { font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 0.92; }
.ph-sub { display: none; }
.ph-icon-bg { display: none; }
.ph-inner { padding-block: 2rem 2.5rem; }
.ph-btns .btn { font-size: 0.78rem; padding: 0.55rem 0.9rem; }

/* ── Contact ──────────────────────────────────────────────────── */
.form-row.two { grid-template-columns: 1fr; }
.contact-form { padding: 1.25rem; }
.contact-channels { grid-template-columns: 1fr 1fr; }
.map-section { display: none; }

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL — Base track & dots
═══════════════════════════════════════════════════════════════ */

.m-slider-wrap {
  position: relative;
  margin-inline: calc(var(--sp, 1.25rem) * -1);
  padding-bottom: 0.5rem;
}

.m-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 0;
  padding-inline: 0;
}
.m-slider::-webkit-scrollbar { display: none; }

.m-slide {
  flex: 0 0 88vw;           /* peek card: shows next card edge */
  width: 88vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
  padding-inline: 0.625rem;
  box-sizing: border-box;
}
/* First and last slide need edge padding */
.m-slide:first-child { padding-left: var(--sp, 1.25rem); }
.m-slide:last-child  { padding-right: var(--sp, 1.25rem); }

/* Dots */
.m-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 1.1rem;
  padding-bottom: 0.25rem;
}
.m-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(245,158,11,0.18);
  border: 1px solid rgba(245,158,11,0.28);
  padding: 0; cursor: pointer;
  transition: width .32s cubic-bezier(.16,1,.3,1), border-radius .32s, background .28s, box-shadow .28s;
  flex-shrink: 0;
}
.m-dot.is-active {
  width: 26px;
  border-radius: 4px;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}
[data-theme="light"] .m-dot { background: rgba(217,119,6,0.15); border-color: rgba(217,119,6,0.25); }
[data-theme="light"] .m-dot.is-active { box-shadow: 0 0 8px rgba(217,119,6,0.40); }

/* Swipe hint */
.m-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono, monospace);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 0.75rem;
  opacity: 1;
  transition: opacity 0.5s;
}
.m-hint.fade { opacity: 0; pointer-events: none; }
.m-hint i { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════
   SERVICE CARDS — Rich media cards, taller, proper carousel feel
═══════════════════════════════════════════════════════════════ */

.m-slide .svc-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: clamp(380px, 72vw, 500px);   /* taller than before */
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(245,158,11,0.10);
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

/* Full-bleed image overlay for readability */
.m-slide .svc-card .svc-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.60) 40%,
    rgba(0,0,0,0.20) 75%,
    rgba(0,0,0,0.08) 100%
  );
  z-index: 1;
}

/* Number + icon float on top */
.m-slide .svc-card .svc-num {
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  z-index: 3;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
}
.m-slide .svc-card .svc-icon {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 3;
  font-size: 2rem;
  color: var(--c, var(--cyan));
  filter: drop-shadow(0 0 8px var(--c, var(--cyan)));
  margin-bottom: 0;
}

/* Text content at bottom */
.m-slide .svc-card .svc-title,
.m-slide .svc-card .svc-desc,
.m-slide .svc-card .svc-arrow {
  position: relative;
  z-index: 3;
}
.m-slide .svc-card .svc-title {
  margin-top: auto;
  font-size: 1.3rem;
  color: #fff;
  padding: 0 1.25rem 0.35rem;
}
.m-slide .svc-card .svc-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  padding: 0 1.25rem 0.75rem;
}
.m-slide .svc-card .svc-arrow {
  opacity: 1 !important;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c, var(--cyan));
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  margin-top: 0;
}

/* NEW badge in mobile cards */
.m-slide .svc-new-badge {
  background: var(--cyan);
  color: #1C1206;
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 2px 5px;
  border-radius: 2px;
  font-family: var(--f-mono);
}

/* ═══════════════════════════════════════════════════════════════
   EVENT CARDS — Big immersive cinema-style slides
═══════════════════════════════════════════════════════════════ */

.m-slide.m-slide-ev {
  flex: 0 0 92vw;
  width: 92vw;
  padding-inline: 0.5rem;
}
.m-slide.m-slide-ev:first-child { padding-left: var(--sp, 1.25rem); }
.m-slide.m-slide-ev:last-child  { padding-right: var(--sp, 1.25rem); }

.m-slide.m-slide-ev .ev-card {
  height: min(72vh, 560px);
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  width: 100%;
  position: relative;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.60),
    0 0 0 1px rgba(255,255,255,0.06);
  background-size: cover;
  background-position: center;
}

/* Top color accent bar */
.m-slide.m-slide-ev .ev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 4;
  opacity: 1 !important;
}

.m-slide.m-slide-ev .ev-card-bg {
  position: absolute;
  inset: 0;
}
.m-slide.m-slide-ev .ev-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
}

/* Watermark icon */
.m-slide.m-slide-ev .ev-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9rem;
  opacity: 0.07;
  color: #fff;
  transition: none !important;
  pointer-events: none;
}

/* Scrim gradient */
.m-slide.m-slide-ev .ev-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 1.75rem 1.75rem;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.97) 0%,
    rgba(0,0,0,0.80) 40%,
    rgba(0,0,0,0.30) 72%,
    transparent 100%
  );
  z-index: 3;
}

.m-slide.m-slide-ev .ev-tag {
  font-size: 0.65rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-slide.m-slide-ev .ev-name {
  font-family: var(--f-disp);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: #fff;
}
.m-slide.m-slide-ev .ev-link {
  opacity: 1 !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 3px;
}

/* Card-specific color themes */
.m-slide.m-slide-ev .ec-corp::before { background: linear-gradient(to right, #0046cc, var(--cyan)); }
.m-slide.m-slide-ev .ec-wed::before  { background: linear-gradient(to right, #f2007a, #f0a520); }
.m-slide.m-slide-ev .ec-mitz::before { background: linear-gradient(to right, #6244f5, #b388ff); }
.m-slide.m-slide-ev .ec-gala::before { background: linear-gradient(to right, var(--cyan), #ff5500); }

/* Atmospheric glow overlays */
.m-slide.m-slide-ev .ec-corp .ev-card-bg::before {
  background:
    radial-gradient(ellipse 80% 55% at 20% 70%, rgba(0,80,255,0.32), transparent 60%),
    radial-gradient(ellipse 60% 45% at 80% 20%, rgba(245,158,11,0.20), transparent 55%);
}
.m-slide.m-slide-ev .ec-wed .ev-card-bg::before {
  background:
    radial-gradient(ellipse 70% 55% at 55% 35%, rgba(232,0,122,0.30), transparent 60%),
    radial-gradient(ellipse 55% 50% at 15% 75%, rgba(245,158,11,0.20), transparent 55%);
}
.m-slide.m-slide-ev .ec-mitz .ev-card-bg::before {
  background:
    radial-gradient(ellipse 65% 60% at 35% 55%, rgba(98,68,245,0.38), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 18%, rgba(245,158,11,0.24), transparent 50%);
}
.m-slide.m-slide-ev .ec-gala .ev-card-bg::before {
  background:
    radial-gradient(ellipse 70% 55% at 60% 45%, rgba(245,158,11,0.32), transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 72%, rgba(232,80,0,0.24), transparent 55%);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
═══════════════════════════════════════════════════════════════ */
.m-slide .testi-card {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  min-height: clamp(260px, 55vw, 340px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}
.m-slide .testi-card::before,
.m-slide .testi-card::after { display: none; }
.m-slide .t-quote { font-size: 0.9rem; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   FEATURE CARDS (service pages)
═══════════════════════════════════════════════════════════════ */
.m-slide .feat-card {
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  background: var(--surf);
  min-height: clamp(240px, 55vw, 320px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}
.m-slide .feat-card::before {
  transform: scaleX(1) !important;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  content: '';
  background: var(--c, var(--cyan));
  border-radius: 16px 16px 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   ACCORDION (process steps & footer)
═══════════════════════════════════════════════════════════════ */
.m-acc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.m-acc-header:active { background: var(--surf2); }
.m-acc-chevron {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--t3);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.m-acc-item.is-open .m-acc-chevron { transform: rotate(180deg); }
.m-acc-body { overflow: hidden; max-height: 0; transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1); }
.m-acc-item.is-open .m-acc-body { max-height: 500px; }

.proc-steps-rebuilt { border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden; }
.proc-steps-rebuilt .m-acc-item { border-bottom: 1px solid var(--bdr); background: var(--surf); }
.proc-steps-rebuilt .m-acc-item:last-child { border-bottom: none; }
.proc-steps-rebuilt .proc-num-inline {
  font-family: var(--f-disp); font-weight: 900; font-size: 1.4rem;
  color: var(--cyan); opacity: 0.3; line-height: 1; min-width: 2rem; flex-shrink: 0;
}
.proc-steps-rebuilt .proc-title-inline {
  font-family: var(--f-disp); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--t1); flex: 1;
}
.proc-steps-rebuilt .m-acc-body { padding: 0; }
.proc-steps-rebuilt .proc-desc-inline {
  font-size: 0.875rem; color: var(--t2); line-height: 1.6;
  padding: 0 1.125rem 1rem 4rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer-inner { padding-block: 2rem 1.5rem; }
.footer-brand-block { padding-bottom: 1.5rem; border-bottom: 1px solid var(--bdr); }
.f-tagline  { font-size: 0.85rem; margin-bottom: 1rem; max-width: 100%; }
.f-social   { margin-bottom: 1rem; }
.f-soc      { width: 40px; height: 40px; font-size: 1rem; }
.f-badges   { gap: 0.3rem; }
.footer-cols-rebuilt { border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden; margin-top: 1.25rem; }
.footer-cols-rebuilt .m-acc-item { border-bottom: 1px solid var(--bdr); background: var(--surf); }
.footer-cols-rebuilt .m-acc-item:last-child { border-bottom: none; }
.footer-cols-rebuilt .m-acc-header { padding: 0.875rem 1rem; }
.footer-cols-rebuilt .f-col-h-inline {
  font-family: var(--f-mono); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); flex: 1;
}
.footer-cols-rebuilt .m-acc-body { padding: 0; }
.footer-cols-rebuilt .f-links-inner { padding: 0.75rem 1rem 1rem; }
.footer-cols-rebuilt .f-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem; flex-direction: unset; }
.footer-cols-rebuilt .f-links a { font-size: 0.82rem; min-height: 36px; padding: 0.1rem 0; }
.footer-cols-rebuilt .m-acc-item:last-child .f-links { grid-template-columns: 1fr; }
.footer-cols-rebuilt .f-contact { font-size: 0.85rem; margin-bottom: 0.6rem; }
.footer-bot { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding-top: 1rem; }
.f-copy    { font-size: 0.72rem; }
.f-bot-nav { gap: 1rem; }
.f-bot-nav a { font-size: 0.72rem; }

.m-slide .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

} /* end @media (max-width: 639px) */


@media (max-width: 639px) {
.hero-h1{

    font-size: clamp(3rem, 13vw, 6rem) !important;
  }
}

