/* ==========================================================================
   HALONG PARTY / 360p.vn — Partner Presentations & 9:16 Mobile Slide Reader
   Version: 1.0 (Commercial Partnership Deck Suite)
   ========================================================================== */

:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(30, 41, 59, 0.95);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(0, 240, 255, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-gold: #f59e0b;
  --accent-cyan: #00f0ff;
  --accent-magenta: #ec4899;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', var(--font-main);
  
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. CATALOG VIEW STYLING
   ========================================================================== */

.catalog-body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 60px;
}

/* Ambient glow backgrounds */
.catalog-bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00f0ff 0%, transparent 70%);
  bottom: 10%;
  left: -200px;
}

.catalog-bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.catalog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Top Navigation */
.catalog-top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-badge {
  background: linear-gradient(135deg, var(--accent-gold), #ea580c);
  color: #000;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 4px 9px;
  border-radius: 7px;
  letter-spacing: 0.5px;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-back-caller, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-back-caller:hover, .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* Hero */
.catalog-hero {
  text-align: center;
  padding: 40px 10px 30px;
  max-width: 800px;
  margin: 0 auto;
}
.catalog-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.catalog-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.catalog-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}
.catalog-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}
.stat-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.gold { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold); }
.dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.dot.magenta { background: var(--accent-magenta); box-shadow: 0 0 8px var(--accent-magenta); }

/* 10 Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.presentation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.presentation-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-accent, var(--accent-cyan));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.15);
  background: var(--bg-card-hover);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f172a;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.presentation-card:hover .card-img {
  transform: scale(1.05);
}

/* Fallback SVG badge if image not loaded */
.card-fallback-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: var(--accent-cyan);
  font-size: 3rem;
}

.card-num-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.card-cat-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 240, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.card-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(10, 15, 30, 0.95) 100%);
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.card-slides-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.card-open-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}
.presentation-card:hover .card-open-link {
  color: var(--accent-gold);
}

/* Partnership Info Card */
.partnership-info-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.p-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.p-card-icon {
  font-size: 1.8rem;
}
.p-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
}
.p-card-text {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.p-formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px 18px;
}
.p-format-item {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.p-format-bullet {
  color: var(--accent-gold);
  font-weight: 900;
}

/* Footer */
.catalog-footer {
  border-top: 1px solid var(--border-card);
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-contact-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   2. SLIDE READER (9:16 VERTICAL ERGONOMICS)
   ========================================================================== */

.reader-body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.reader-bg-blur {
  position: fixed;
  inset: -50px;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.25);
  z-index: 0;
  transition: background-image 0.5s ease;
}
.reader-bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.85) 100%);
  z-index: 1;
}

.reader-stage-container {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 9:16 Frame: Exactly safe for mobile, frame-centered for desktop */
.reader-frame-9-16 {
  width: 100%;
  height: 100%;
  max-width: 440px;
  max-height: 860px;
  background: linear-gradient(180deg, #090e1a 0%, #030712 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (min-width: 480px) {
  .reader-frame-9-16 {
    border-radius: 28px;
    height: 94vh;
  }
}

/* Reader Top Header */
.reader-header {
  padding: calc(var(--safe-top) + 10px) 14px 10px;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.95) 0%, rgba(7, 10, 18, 0.5) 85%, transparent 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

/* Stories segmented progress bar */
.story-progress-bar {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-bottom: 10px;
}
.progress-segment {
  flex: 1;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.segment-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.progress-segment.is-active .segment-fill {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}
.progress-segment.is-passed .segment-fill {
  width: 100%;
  background: var(--accent-gold);
}

.reader-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-reader-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-reader-back:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--accent-cyan);
}

.reader-title-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 58%;
}
.reader-cat-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reader-pres-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.reader-slide-counter {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Slide Viewport */
.slide-viewport {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 22px 64px;
  outline: none;
  overflow: hidden;
}

/* Tap zones for Instagram/TikTok stories flipping */
.tap-zone {
  position: absolute;
  top: 70px;
  bottom: 64px;
  width: 25%;
  z-index: 20;
  cursor: pointer;
}
.tap-left { left: 0; }
.tap-right { right: 0; }

/* Slide Card Content */
.slide-content-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  animation: slideFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-badge-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.slide-title-main {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}
.slide-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.slide-text-body {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 18px;
  white-space: pre-line;
}

/* Bullets List */
.slide-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.slide-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #e2e8f0;
}
.slide-bullet-icon {
  color: var(--accent-cyan);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Highlight Box / Final note */
.slide-note-box {
  background: rgba(15, 23, 42, 0.75);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #f1f5f9;
  line-height: 1.5;
  margin-top: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Slide 6 Action Card */
.slide-action-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-top: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.slide-action-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}
.slide-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-slide-action {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.btn-slide-action.primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ea580c 100%);
  color: #000;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.btn-slide-action.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.6);
}
.btn-slide-action.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-slide-action.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-cyan);
}

.slide-contacts-footnote {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Bottom Reader Bar */
.reader-bottom-bar {
  padding: 12px 14px calc(var(--safe-bottom) + 12px);
  background: linear-gradient(0deg, rgba(7, 10, 18, 0.95) 0%, rgba(7, 10, 18, 0.75) 85%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

.btn-nav-slide {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nav-slide:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--accent-cyan);
}
.btn-nav-slide:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-switcher-drawer {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-switcher-drawer:hover {
  background: rgba(0, 240, 255, 0.2);
}

/* ==========================================================================
   3. MODAL AND DRAWER STYLING
   ========================================================================== */

.pres-drawer-overlay, .contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact-modal-card {
  background: #0f172a;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.2);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.c-modal-header {
  padding: 16px 20px;
  background: rgba(30, 41, 59, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.c-modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-brand-badge {
  background: var(--accent-gold);
  color: #000;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 3px 7px;
  border-radius: 5px;
}
.c-modal-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.c-modal-close, .pres-drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}
.c-modal-close:hover, .pres-drawer-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--accent-magenta);
}

.c-modal-body {
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}
.c-modal-intro {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Messengers list */
.c-direct-messengers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.c-messenger-btn {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}
.c-messenger-btn:hover {
  background: rgba(30, 41, 59, 1);
  border-color: var(--accent-cyan);
  transform: translateX(3px);
}
.m-icon {
  font-size: 1.6rem;
  margin-right: 12px;
}
.m-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.m-info strong {
  font-size: 0.92rem;
  color: #fff;
}
.m-info small {
  font-size: 0.76rem;
  color: #94a3b8;
}
.m-arrow {
  color: var(--accent-cyan);
  font-weight: 900;
}

.c-modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #64748b;
  font-size: 0.78rem;
}
.c-modal-divider::before, .c-modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.c-modal-divider span {
  padding: 0 10px;
}

/* Quick form */
.c-quick-form .form-row {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.form-label .req {
  color: var(--accent-magenta);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-submit-contact {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284c7 100%);
  color: #000;
  font-weight: 800;
  font-size: 0.94rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  transition: all 0.2s;
}
.btn-submit-contact:hover {
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.c-form-success {
  text-align: center;
  padding: 20px 10px;
}
.success-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}
.c-form-success h4 {
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.c-form-success p {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Presentations Switcher Drawer */
.pres-drawer {
  background: #0f172a;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pres-drawer-header {
  padding: 16px 20px;
  background: rgba(30, 41, 59, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pres-drawer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
}
.pres-drawer-list {
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: #e2e8f0;
  transition: all 0.2s;
}
.drawer-item-link:hover, .drawer-item-link.is-current {
  background: rgba(30, 41, 59, 1);
  border-color: var(--accent-cyan);
  color: #fff;
}
.drawer-item-link.is-current {
  border-color: var(--accent-gold);
}
.drawer-item-num {
  background: rgba(0, 0, 0, 0.5);
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 7px;
  border-radius: 5px;
}
.drawer-item-title {
  font-weight: 700;
  font-size: 0.88rem;
  flex: 1;
}

/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 768px) {
  .catalog-title {
    font-size: 1.7rem;
  }
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
  }
  .card-title {
    font-size: 1rem;
  }
  .p-formats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .slide-viewport {
    padding: 68px 18px 60px;
  }
  .slide-title-main {
    font-size: 1.45rem;
  }
  .slide-text-body {
    font-size: 0.92rem;
  }
}
