/* ==========================================================================
   OFERTASYNEGOCIOS.ORG — BESPOKE MICE CONGRESS, TRADE EXPO & B2B SUMMIT UI
   Palette: Deep Congress Emerald (#0D2B22), Warm Limestone Cream (#F4F1EA),
   Terracotta Accreditation Stamp (#C84B31), Burnished Bronze (#8C6239)
   Typography: 'Fraunces' (Display Serif) + 'DM Sans' + 'IBM Plex Mono'
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-limestone: #f4f1ea;
  --bg-ivory: #fbf9f5;
  --bg-sand: #e8e2d5;
  --emerald: #0d2b22;
  --emerald-mid: #164034;
  --terracotta: #c84b31;
  --terracotta-hover: #a63820;
  --bronze: #8c6239;
  --accent-gold: #c84b31;
  --text-dark: #13201b;
  --text-body: #374741;
  --text-muted: #5e6f68;
  --border-stone: #cfc8b8;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-limestone);
  color: var(--text-dark);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-limestone);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .hero-title, .section-title, .card-title, .legal-title {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.16;
  color: var(--emerald);
}

p, li, dd, figcaption, td, th {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.form-input:user-valid {
  border-color: #15803d;
}
.form-input:user-invalid {
  border-color: #b91c1c;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.section-alt, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BESPOKE HEADER: SPLIT CENTERED CONGRESS ACCREDITATION MASTHEAD
   ========================================================================== */
.ono-top-bulletin {
  background: var(--emerald);
  color: #dce5e1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--bronze);
}

.ono-top-bulletin-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ono-congress-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--emerald);
}

.ono-header-wings {
  max-width: 1340px;
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.ono-wing-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.ono-wing-nav.right-wing {
  justify-content: flex-end;
}

.ono-wing-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 6px;
}

.ono-wing-nav a:hover {
  background: var(--bg-sand);
  color: var(--terracotta);
}

.ono-center-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 24px;
  border-left: 1px solid var(--border-stone);
  border-right: 1px solid var(--border-stone);
}

.ono-crest-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

.ono-crest-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: -0.01em;
}

.ono-crest-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

.header-cta, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  background: var(--terracotta);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--emerald);
  border-radius: 4px;
  cursor: pointer;
}

.header-cta:hover, .btn-primary:hover {
  background: var(--terracotta-hover);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  background: var(--bg-ivory);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--emerald);
  border-radius: 4px;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--emerald);
  color: #ffffff;
}

#mobileMenuToggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 43, 34, 0.65);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--bg-ivory);
  border-left: 3px solid var(--emerald);
  z-index: 200;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--emerald);
}
.mobile-drawer-close {
  min-width: 46px;
  min-height: 46px;
  background: var(--emerald);
  color: #ffffff;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-stone);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   BESPOKE HERO: PANORAMIC CONGRESS PAVILION + OVERLAPPING EXHIBITOR PASS
   ========================================================================== */
.ono-pavilion-hero {
  padding: 36px 0 56px;
  border-bottom: 2px solid var(--emerald);
}

.ono-hero-stage {
  background: var(--emerald);
  color: #f4f1ea;
  border: 2px solid var(--emerald);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
}

.ono-stage-badge {
  display: inline-block;
  background: rgba(200, 75, 49, 0.24);
  border: 1px solid #f2846b;
  color: #ffd7ce;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 5px 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.ono-hero-h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  margin-bottom: 18px;
}

.ono-hero-lead {
  color: #d5e0dc;
  font-size: 1.04rem;
  margin-bottom: 26px;
  max-width: 62ch;
}

.ono-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ono-visual-collage {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.ono-lcp-frame {
  border: 2px solid var(--bronze);
  overflow: hidden;
  min-height: 350px;
  position: relative;
}

.ono-lcp-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ono-side-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ono-secondary-frame {
  border: 2px solid var(--bronze);
  overflow: hidden;
  height: 185px;
}

.ono-secondary-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Exhibitor Credential Pass Card */
.ono-exhibitor-pass {
  background: var(--bg-ivory);
  color: var(--text-dark);
  border: 2px solid var(--terracotta);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.ono-pass-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--terracotta);
  font-weight: 700;
  border-bottom: 1px dashed var(--border-stone);
  padding-bottom: 6px;
}

.ono-barcode {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  background: var(--bg-sand);
  padding: 5px 8px;
  text-align: center;
  margin-top: 8px;
}

/* Bottom 4-Pavilion Ribbon Strip */
.ono-hall-strip {
  margin-top: -18px;
  margin-left: 28px;
  margin-right: 28px;
  position: relative;
  z-index: 5;
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 24px rgba(13, 43, 34, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ono-hall-box {
  padding: 18px 20px;
  border-right: 1px solid var(--border-stone);
}

.ono-hall-box:last-child {
  border-right: none;
}

.ono-hall-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  font-weight: 700;
  text-transform: uppercase;
}

.ono-hall-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--emerald);
  margin: 4px 0;
}

.ono-hall-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BESPOKE SECTION 1: INTERACTIVE STAND & ROUNDTABLE MODULE SIMULATOR
   ========================================================================== */
.ono-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-stone);
}

.ono-section-sand {
  background: var(--bg-sand);
  padding: 72px 0;
  border-bottom: 1px solid var(--border-stone);
}

.ono-sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--emerald);
}

.ono-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  display: block;
  margin-bottom: 6px;
}

.ono-booth-sim {
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  display: grid;
  grid-template-columns: 300px 1fr;
}

.ono-booth-menu {
  background: var(--emerald);
  display: flex;
  flex-direction: column;
}

.ono-booth-btn {
  min-height: 64px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #dce5e1;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ono-booth-btn.active {
  background: var(--terracotta);
  color: #ffffff;
}

.ono-booth-btn .b-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.85;
  margin-top: 2px;
}

.ono-booth-display {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.ono-booth-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ono-spec-box {
  background: var(--bg-limestone);
  border: 1.5px solid var(--border-stone);
  padding: 14px;
}

.ono-spec-lbl {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ono-spec-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald);
  margin-top: 4px;
}

/* ==========================================================================
   BESPOKE SECTION 2: 2026 CABA INDUSTRIAL FAIR & B2B ROUNDTABLE SCHEDULE
   ========================================================================== */
.ono-agenda-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ono-agenda-row {
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 170px 1.4fr 1fr auto;
  align-items: center;
  gap: 20px;
}

.ono-agenda-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--terracotta);
  background: #fae5e0;
  padding: 10px 12px;
  border-left: 4px solid var(--terracotta);
}

/* ==========================================================================
   BESPOKE SECTION 3: 12 PERFORATED CREDENTIAL PASS CARDS (`ono-pass-card`)
   ========================================================================== */
.ono-passes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ono-pass-card {
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ono-pass-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--emerald);
}

.ono-pass-top-bar {
  background: var(--emerald);
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.ono-pass-img {
  height: 195px;
  overflow: hidden;
  border-bottom: 2px dashed var(--border-stone);
}

.ono-pass-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ono-pass-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.ono-pass-hall {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--terracotta);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.ono-pass-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ono-pass-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

.ono-pass-stub {
  padding-top: 12px;
  border-top: 2px dotted var(--border-stone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--emerald);
}

.ono-pass-stub:hover {
  color: var(--terracotta);
}

/* ==========================================================================
   INTERNAL PAGES, FORMS, ACCORDIONS & FOOTER
   ========================================================================== */
.page-hero-internal {
  background: var(--emerald);
  color: #ffffff;
  padding: 48px 0;
  border-bottom: 4px solid var(--terracotta);
}

.breadcrumb-nav {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #b7ccc4;
  margin-bottom: 12px;
}

.breadcrumb-nav a {
  color: #ffb4a2;
}

.internal-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 30px;
  padding: 54px 0;
}

.tech-card {
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  padding: 28px;
  box-shadow: 6px 6px 0 rgba(13, 43, 34, 0.1);
}

.spec-dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.spec-row {
  border-bottom: 1px dashed var(--border-stone);
  padding-bottom: 10px;
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--terracotta);
  font-weight: 700;
  text-transform: uppercase;
}

.spec-row dd {
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-top: 3px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--emerald);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: #ffffff;
  border: 2px solid var(--emerald);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.accordion-item {
  background: var(--bg-ivory);
  border: 2px solid var(--emerald);
  margin-bottom: 14px;
}

.accordion-header {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--emerald);
  cursor: pointer;
}

.accordion-body {
  padding: 14px 20px 18px;
  color: var(--text-body);
  font-size: 0.94rem;
  display: none;
  border-top: 1px dashed var(--border-stone);
}

.accordion-item.active .accordion-body {
  display: block;
}

.site-footer {
  background: var(--emerald);
  color: #dce5e1;
  padding: 64px 0 36px;
  border-top: 4px solid var(--terracotta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffb4a2;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.88rem;
  color: #dce5e1;
}

.footer-links a:hover {
  color: #ffb4a2;
}

.afip-badge-box {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 680px;
  background: var(--emerald);
  color: #ffffff;
  border: 2px solid var(--terracotta);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 20px 24px;
  z-index: 300;
  display: none;
}

.cookie-banner.show {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 1080px) {
  .ono-wing-nav { display: none; }
  .ono-header-wings { grid-template-columns: 1fr auto; }
  .ono-center-crest { align-items: flex-start; text-align: left; border: none; padding: 0; }
  #mobileMenuToggle { display: inline-flex; }
  .ono-hero-stage { grid-template-columns: 1fr; padding: 28px; }
  .ono-visual-collage { grid-template-columns: 1fr; }
  .ono-hall-strip { grid-template-columns: repeat(2, 1fr); margin: 16px 0 0; }
  .ono-booth-sim { grid-template-columns: 1fr; }
  .ono-booth-specs { grid-template-columns: repeat(2, 1fr); }
  .ono-agenda-row { grid-template-columns: 1fr; }
  .ono-passes-grid { grid-template-columns: repeat(2, 1fr); }
  .internal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ono-hall-strip { grid-template-columns: 1fr; }
  .ono-booth-specs { grid-template-columns: 1fr; }
  .ono-passes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* === MACRO-ARCHITECTURE: DARK-MODE OBSIDIAN & CRIMSON MICE CONVENTION POSTER === */
/* === MACRO-ARCHITECTURE: DARK-MODE OBSIDIAN & CRIMSON MICE CONVENTION POSTER === */
body {
  background-color: #090D16 !important;
  color: #E2E8F0 !important;
}
.ono-congress-header {
  background: rgba(9, 13, 22, 0.95) !important;
  border-bottom: 2px solid #E11D48 !important;
}
.ono-center-crest {
  background: #111827 !important;
  border: 1px solid #E11D48 !important;
  padding: 0.65rem 1.5rem !important;
}
.ono-crest-title {
  color: #FFFFFF !important;
}
.ono-crest-kicker, .ono-crest-sub {
  color: #FB7185 !important;
}
.ono-wing-nav a {
  color: #E2E8F0 !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.ono-pavilion-hero {
  background: radial-gradient(circle at 50% 0%, #1E1B4B 0%, #090D16 70%) !important;
  padding: 3.5rem 0 4rem !important;
  border-bottom: 1px solid #1E293B !important;
}
.ono-hero-stage {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 2.25rem !important;
}
.ono-hero-stage > div:first-child {
  max-width: 920px !important;
  margin: 0 auto !important;
}
.ono-hero-h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem) !important;
  text-align: center !important;
}
.ono-hero-lead {
  color: #CBD5E1 !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ono-hero-cta-group {
  justify-content: center !important;
}
.ono-visual-collage {
  width: 100% !important;
}
.ono-hall-strip {
  margin-top: 2rem !important;
  background: #111827 !important;
  border: 1px solid #E11D48 !important;
}
.ono-hall-box {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border-right: 1px solid #1E293B !important;
}
.ono-hall-name {
  color: #FFFFFF !important;
}
.ono-section, .ono-section-sand {
  background: #0D1322 !important;
  color: #E2E8F0 !important;
}
.section-title, h2, h3 {
  color: #FFFFFF !important;
}


/* === MOBILE RESPONSIVENESS & ZERO-OVERFLOW ARCHITECTURE (<= 980px & <= 640px) === */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

div, section, article, aside, header, footer, main, nav, figure {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 980px) {
  /* 1. Clean single-row mobile header: Brand on Left, Hamburger on Right, hide desktop CTA & ribbons */
  .cf-telemetry-ribbon,
  .on-finder-bar,
  .on-phone-pill,
  .on-dept-ribbon,
  .ono-top-bar,
  .ono-wing-nav,
  .ono-header-wings > nav,
  .pd-canon-ribbon,
  .pd-folio-nav,
  .pc-cnv-compass-bar,
  .pc-organic-nav,
  .psg-safety-strip,
  .psg-track-nav,
  .sf-tuning-ribbon,
  .sf-stave-nav,
  .sfu-trl-ribbon,
  .sfu-nav,
  .ssl-meridian-strip,
  .ssl-nav,
  .vb-press-strip,
  .vb-nav,
  header .header-cta,
  .cf-header-actions .header-cta,
  .on-header-desk .header-cta,
  .ono-header-wings .header-cta,
  .pd-header-actions .header-cta,
  .pc-header-cta-group .header-cta,
  .psg-header-actions .header-cta,
  .sf-header-actions .header-cta,
  .sfu-header-actions .header-cta,
  .ssl-header-actions .header-cta,
  .vb-header-actions .header-cta {
    display: none !important;
  }

  /* Ensure mobile hamburger toggle is always visible and 46x46px */
  #mobileMenuToggle,
  .mobile-menu-toggle,
  .sfu-burger,
  .ssl-burger,
  .vb-burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 46px !important;
    min-height: 46px !important;
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Force header inner container into a single clean flex row */
  .cf-header-beam,
  .on-top-deck,
  .ono-header-wings,
  .pd-lectern-bar-inner,
  .pc-capsule-shell,
  .psg-gantry-inner,
  .sf-masthead-inner,
  .sfu-dock-inner,
  .ssl-veranda-inner,
  .vb-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.6rem 0.9rem !important;
    box-sizing: border-box !important;
  }

  .cf-formwork-header,
  .on-catalog-header,
  .ono-congress-header,
  .pd-athenaeum-header,
  .pc-circle-header,
  .psg-gantry-header,
  .sf-conservatory-header,
  .sfu-uvt-header,
  .ssl-archival-header,
  .vb-botanical-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .sfu-dock-bar,
  .pc-capsule-nav-row .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .pc-capsule-shell {
    border-radius: 0 !important;
  }

  /* Compact brand block on mobile so it never wraps into 5 lines */
  .cf-brand-plate,
  .on-brand-identity,
  .ono-center-crest,
  .pd-brand-crest,
  .pc-brand-link,
  .psg-brand-box,
  .sf-brand-mark,
  .sfu-brand,
  .ssl-brand,
  .vb-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem !important;
    max-width: calc(100% - 60px) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .ono-center-crest {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.1rem !important;
    background: transparent !important;
  }

  .cf-brand-title,
  .on-brand-name,
  .ono-crest-title,
  .pd-brand-name,
  .pc-brand-title,
  .psg-brand-name,
  .sf-brand-name,
  .sfu-brand-title,
  .ssl-brand-name,
  .vb-brand-name {
    font-size: 1.05rem !important;
    line-height: 1.15 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 220px !important;
    display: block !important;
  }

  .cf-brand-sub,
  .on-brand-tagline,
  .ono-crest-sub,
  .ono-crest-kicker,
  .pd-brand-sub,
  .pc-brand-tagline,
  .psg-brand-sub,
  .sf-brand-sub,
  .sfu-brand-sub,
  .ssl-brand-tag,
  .vb-brand-sub {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 215px !important;
    display: block !important;
  }

  /* 2. Containers & Hero Sections: Proper mobile padding & natural vertical order (Copy first, Image second) */
  .container,
  .sfu-container,
  .ssl-container,
  .vb-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  .cf-borehole-hero,
  .on-showroom-bento-hero,
  .ono-pavilion-hero,
  .pd-disputation-hero,
  .pc-venn-dialogue-hero,
  .psg-portal-frame-hero,
  .sf-blue-note-hero,
  .sfu-trl-blueprint-hero,
  .ssl-courtyard-folio-hero,
  .vb-apotheke-counter-hero {
    padding: 1.5rem 0 2.5rem !important;
  }

  /* Put H1/Copy BEFORE Hero Image on mobile screens */
  .on-bento-main-copy,
  .psg-hero-left,
  .vb-hero-story,
  .pd-manifesto-col {
    order: 1 !important;
  }
  .on-bento-lcp-stage,
  .psg-hero-right,
  .vb-hero-counter-stage,
  .pd-amphitheater-stage {
    order: 2 !important;
  }
  .pd-canon-index-col,
  .on-bento-tile {
    order: 3 !important;
  }

  /* Hero inner padding & single-column grids on mobile */
  .sfu-hero-dossier,
  .on-bento-main-copy,
  .ono-hero-stage,
  .cf-manifesto-slab,
  .psg-gantry-frame-box,
  .ssl-hero-courtyard-grid,
  .pd-manifesto-col,
  .pd-amphitheater-stage,
  .pd-canon-index-col {
    padding: 1.25rem !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .sfu-hero-dossier > *,
  .sfu-hero-lead {
    grid-column: 1 / -1 !important;
  }

  /* Prevent badges, kickers, and pills from overflowing 375px width */
  .cf-tie-holes,
  .cf-stamp-badge,
  .on-catalog-pill-row,
  .on-pin-badge,
  .ono-stage-badge,
  .pd-hero-folio-bar,
  .pc-eyebrow-pill,
  .psg-gantry-top-beam,
  .psg-kicker,
  .sf-kicker,
  .sfu-dossier-kicker,
  .ssl-masthead-kicker,
  .vb-batch-pill {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  .on-pin-badge {
    position: static !important;
    margin: 0.5rem !important;
    display: flex !important;
    width: calc(100% - 1rem) !important;
  }

  /* Responsive mobile H1 typography */
  h1,
  .hero-title,
  .cf-hero-h1,
  .on-hero-h1,
  .ono-hero-h1 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  /* Full-width stacked CTA buttons on mobile */
  .cf-hero-cta-bar,
  .on-hero-actions,
  .ono-hero-cta-group,
  .pd-hero-ctas,
  .pc-hero-actions,
  .psg-hero-ctas,
  .sf-hero-ctas,
  .sfu-hero-ctas,
  .ssl-hero-actions,
  .vb-hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .cf-hero-cta-bar a,
  .on-hero-actions a,
  .ono-hero-cta-group a,
  .pd-hero-ctas a,
  .pc-hero-actions a,
  .psg-hero-ctas a,
  .sf-hero-ctas a,
  .sfu-hero-ctas a,
  .ssl-hero-actions a,
  .vb-hero-ctas a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  .vb-hero-figure,
  .pc-arched-frame {
    border-radius: 28px !important;
    border-width: 4px !important;
  }

  /* 3. Sleek, non-intrusive mobile Cookie Banner at bottom */
  .cookie-banner,
  #cookieBanner {
    left: 0.5rem !important;
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    width: auto !important;
    max-width: calc(100vw - 1rem) !important;
    padding: 0.75rem 0.9rem !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    z-index: 999 !important;
  }

  .cookie-banner-inner,
  .sfu-cookie-inner,
  .ssl-cookie-inner,
  .vb-cookie-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    padding: 0 !important;
  }

  .cookie-banner p,
  #cookieBanner p {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }

  .cookie-banner button,
  #cookieBanner button,
  .cookie-actions button,
  .cookie-actions .btn-primary {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.78rem !important;
  }
}


/* === STRICT 375PX MOBILE VIEWPORT & TABLE/DRAWER SAFETY === */
@media (max-width: 980px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main, .site-footer, footer {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Tables: always scroll horizontally inside their own container, never expanding body */
  table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-collapse: collapse !important;
  }

  /* Ensure all multi-column grids collapse to 1 column on <= 768px */
  @media (max-width: 768px) {
    [class*="grid"],
    [class*="split"],
    [class*="trio"],
    [class*="row"],
    [class*="strip"],
    [class*="bento"],
    [class*="triptych"],
    [class*="collage"],
    [class*="console"],
    [class*="panel"],
    [class*="board"],
    [class*="stage"] {
      grid-template-columns: 1fr !important;
    }

    /* Keep header inner row horizontal (Logo Left + Burger Right) */
    .cf-header-beam,
    .on-top-deck,
    .ono-header-wings,
    .pd-lectern-bar-inner,
    .pc-capsule-shell,
    .psg-gantry-inner,
    .sf-masthead-inner,
    .sfu-dock-inner,
    .ssl-veranda-inner,
    .vb-bar-inner {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
      max-width: 100% !important;
      padding: 0.6rem 0.85rem !important;
    }

    /* Mobile drawer full-width clean overlay */
    #mobileDrawer,
    .mobile-drawer,
    .sfu-mobile-drawer,
    .ssl-mobile-drawer,
    .vb-mobile-drawer {
      max-width: 100vw !important;
      box-sizing: border-box !important;
    }
  }
}


/* === FINAL MOBILE POLISH: COMPACT COOKIE BAR & TOP RIBBON CLEANUP === */
.ono-hero-stage {
  background: #111827 !important;
  border: 1px solid #E11D48 !important;
}
@media (max-width: 980px) {
  .ono-top-ribbon,
  .ono-norm-strip,
  body > div:first-child:not(.drawer-backdrop):not(.cookie-banner) {
    display: none !important;
  }
  .cookie-banner,
  #cookieBanner {
    padding: 0.55rem 0.75rem !important;
  }
  .cookie-title,
  .cookie-banner h3,
  .cookie-banner h4 {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    margin: 0 0 0.2rem 0 !important;
  }
  .cookie-banner p,
  #cookieBanner p {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    margin: 0 0 0.4rem 0 !important;
  }
}

