/* Shared responsive layer — loaded after each page stylesheet. */
:root { scroll-padding-top: 96px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { max-width: 100%; line-height: 1.65; }
img, video, iframe, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.container > *, .organizer-grid > *, .cta-inner > *, .guide-grid > *, .attend-grid > *, .venue-grid > *, .sectors-layout > *, .contact-layout > *, .conference-layout > *, .attendees-grid > *, .vision-grid > * { min-width: 0; }
p, li, h1, h2, h3, .tag, .package-item { overflow-wrap: anywhere; }
.nav-links { align-items: center; }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.nav-contact { margin-right: 0; }
.brand-logo { top: 0; }
.brand-logo img { display: block; height: auto; }
.why-structure { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); }
.why-center { position: relative; transform: none; min-width: 0; }
.vision-image img, .cta-visual img, .gold-frame img { height: auto; }
.cta-buttons, .venue-actions, .vision-keywords { flex-wrap: wrap; }
.cta-btn, .btn { max-width: 100%; text-align: center; }
.sector-card-overlay { z-index: 5000; padding: 16px; }
.sector-card { width: min(100%, 760px); max-height: calc(100dvh - 32px); overflow-y: auto; }
.sector-card-close { width: 44px; height: 44px; background: #141210; border-radius: 50%; }
.sector-card-examples li { line-height: 1.7; }
.form-control, .contact-form-card input, .contact-form-card textarea, .contact-form-card select { width: 100%; min-width: 0; }
.contact-form-card .btn-primary { width: 100%; min-height: 44px; }
.location-card, .contact-info { overflow-wrap: anywhere; }
.section-header .section-accent { max-width: 100%; }
.faq-item summary { gap: 16px; }
.faq-item summary::after { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold, #d4af37); outline-offset: 4px; }

/* Desktop navigation */
.mobile-menu-toggle { display: none; }

@media (max-width: 1100px) {
  .brand-logo { left: 50%; transform: translateX(-50%); z-index: 4000; }
  .brand-logo img { width: auto; max-height: 90px; }
  .floating-nav { top: 102px; left: 16px; right: 16px; width: auto; z-index: 3500; }
  .nav-links { justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px; }
  .nav-links a { padding-inline: 10px; font-size: 14px; line-height: 1.25; }
  .nav-contact { padding: 6px 12px; }
  .hero { padding: 220px 32px 80px; }
  .about-hero { padding: 220px 0 70px; }
  .why-structure { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .why-center { grid-column: 1; grid-row: 1; }
  .why-item.left, .why-item.right { grid-column: 1; justify-self: stretch; max-width: none; text-align: left; }
  .why-item.top, .why-item.bottom { grid-row: auto; }
  .who-card:nth-child(n) { transform: none; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* Tablet and mobile: collapsible accessible navigation */
@media (max-width: 900px) {
  :root { scroll-padding-top: 90px; }
  .brand-logo { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 4100; }
  .brand-logo img { width: auto; height: auto; max-height: 72px; max-width: min(38vw, 145px); object-fit: contain; }
  .floating-nav { position: fixed; top: 78px; left: 12px; right: 12px; width: auto; z-index: 4200; border: 0; background: transparent; backdrop-filter: none; }
  .mobile-menu-toggle { position: absolute; display: flex; top: -64px; right: 0; width: 46px; height: 46px; padding: 11px; border: 1px solid rgba(212,175,55,.55); border-radius: 12px; background: rgba(11,10,9,.92); color: var(--gold, #d4af37); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.2); }
  .mobile-menu-toggle span { display: block; width: 21px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; width: 100%; max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border: 1px solid rgba(212,175,55,.32); border-radius: 16px; background: rgba(11,10,9,.97); box-shadow: 0 16px 44px rgba(0,0,0,.42); backdrop-filter: blur(18px); }
  .floating-nav.is-open .nav-links { display: flex; }
  .nav-links a { width: 100%; min-height: 46px; justify-content: flex-start; padding: 10px 14px; border-radius: 10px; font-size: 15px; }
  .nav-links a:hover, .nav-links a:focus-visible { background: rgba(212,175,55,.1); }
  .nav-links .nav-contact { margin: 0; }
  .gtranslate_wrapper { width: 100%; display: flex; justify-content: flex-start; padding: 8px 12px 2px; }
  .gtranslate_wrapper select { max-width: 100%; min-height: 40px; font-size: 16px; }
  .hero { min-height: 100svh; padding: 165px 24px 64px; }
  .hero-inner { width: 100%; max-width: 760px; }
  .hero h1, .about-hero h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.15; }
  .about-hero { min-height: auto; padding: 165px 0 64px; }
  .container, .experience .container, .who-attend .container, .exhibit-packages .container, .exhibit-cta .container { padding-inline: 22px; }
  .organizer-grid, .cta-inner { padding-inline: 0; }
  .guide-grid { padding-inline: 0; gap: 32px; }
  .venue-grid { padding: 28px 0; gap: 32px; }
  .about-expo-inner { width: calc(100% - 40px); padding: 28px 20px; }
  .why-expo, .who-attend, .expo-sectors, .expo-vision, .about-organizer, .about-expo, .expo-delivers, .culture-section, .cta-why-now, .visitor-guide, .venue, .faq, .why-exhibit, .exhibit-why, .exhibit-sectors, .exhibit-packages, .exhibit-cta, .contact-page-main, .locations-section { padding-block: 64px; }
  .why-expo h2, .sectors-header h2, .vision-content h2, .organizer-text h2, .expo-delivers h2, .culture-content h2, .cta-text h2, .section-head h2, .exhibit-who h2, .sectors-text h2, .exhibit-cta h2, .why-exhibit .section-head h2, .conference-themes .section-head h2, .conference-cta h2, .attendees-text h2 { font-size: clamp(26px, 5.5vw, 36px); }
  .who-header, .sectors-header { margin-bottom: 32px; }
  .who-card { width: 100%; max-width: 480px; min-height: 0; }
  .honeycomb { gap: 16px; }
  .hex, .honeycomb .hex:nth-child(even) { width: min(160px, 42vw); height: 100px; margin: 40px 0; }
  .hex::before, .hex::after { border-left-width: min(80px, 21vw); border-right-width: min(80px, 21vw); }
  .hex::before { border-bottom-width: 40px; }
  .hex::after { border-top-width: 40px; }
  .hex-btn { min-height: 44px; font-size: 13px; }
  .float { display: none; }
  .cta-buttons, .venue-actions { gap: 12px; }
  .cta-buttons a, .venue-actions .btn { flex: 1 1 180px; padding: 14px 20px; }
  .themes-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
  .themes-table { width: 100%; }
  .form-control, .contact-form-card input, .contact-form-card textarea, .contact-form-card select { font-size: 16px; }
  .sector-card-content { padding: 20px; }
  .site-footer { padding: 32px 0; }
}

@media (max-width: 480px) {
  .brand-logo img { max-height: 64px; max-width: 36vw; }
  .floating-nav { top: 72px; left: 10px; right: 10px; }
  .mobile-menu-toggle { top: -58px; width: 42px; height: 42px; }
  .hero { padding: 145px 18px 52px; }
  .hero-description { font-size: 15px; line-height: 1.7; }
  .hero-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; }
  .about-hero { padding-top: 145px; }
  .container, .experience .container, .who-attend .container, .exhibit-packages .container, .exhibit-cta .container { padding-inline: 18px; }
  .why-expo, .who-attend, .expo-sectors, .expo-vision, .about-organizer, .about-expo, .expo-delivers, .culture-section, .cta-why-now, .visitor-guide, .venue, .faq, .why-exhibit, .exhibit-why, .exhibit-sectors, .exhibit-packages, .exhibit-cta, .contact-page-main, .locations-section { padding-block: 48px; }
  .contact-form-card { padding: 22px 16px; }
  .sector-card-overlay { padding: 10px; }
  .sector-card { max-height: calc(100dvh - 20px); }
}

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


/* Logo/navigation collision fix — October 2026 */
@media (min-width: 1101px) {
  .brand-logo {
    left: clamp(20px, 5.2vw, 80px);
    top: 0;
    z-index: 3000;
    max-width: min(27vw, 340px);
  }
  .brand-logo img {
    width: auto;
    height: 170px;
    max-width: 100%;
    object-fit: contain;
    object-position: top left;
  }
  .floating-nav {
    right: clamp(16px, 5.2vw, 80px);
    max-width: calc(100vw - min(30vw, 390px) - 48px);
  }
  .nav-links {
    gap: clamp(10px, 1.5vw, 26px);
    padding-inline: clamp(12px, 1.5vw, 22px);
    flex-wrap: wrap;
  }
  .hero {
    padding-top: 250px;
  }
}
@media (min-width: 901px) and (max-width: 1250px) {
  .brand-logo {
    left: 24px;
    max-width: 180px;
  }
  .brand-logo img {
    max-height: 150px;
  }
  .floating-nav {
    right: 20px;
    max-width: calc(100vw - 230px);
  }
  .nav-links {
    gap: 8px;
    padding: 10px 12px;
  }
  .nav-links a {
    font-size: 13px;
    padding-inline: 7px;
  }
  .hero {
    padding-top: 245px;
  }
}


/* Final logo top spacing fix */
.brand-logo {
  top: 18px !important;
}
.brand-logo img {
  display: block;
}
@media (max-width: 768px) {
  .brand-logo {
    top: 12px !important;
  }
}


/* ================= FOOTER SOCIAL ICONS ================= */
.site-footer .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 12px;
}
.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 50%;
  color: #d4af37;
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
  color: #0b0a09;
  background: #d4af37;
  border-color: #d4af37;
  transform: translateY(-2px);
  outline: none;
}
.site-footer .social-links a:focus-visible {
  outline: 2px solid #f4d77b;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .site-footer .social-links { gap: 18px; }
  .site-footer .social-links a { width: 40px; height: 40px; font-size: 21px; }
}
