/* Aircon Expo 2026 — Brand: navy #1a2555, red #e31e24, accent #3d6cb9 */

:root {
  --navy: #1a2555;
  --navy-dark: #121b3d;
  --red: #e31e24;
  --red-dark: #c4191f;
  --blue: #3d6cb9;
  --blue-light: #e8f0fc;
  --white: #ffffff;
  --gray-50: #f6f8fc;
  --gray-100: #eef1f7;
  --gray-600: #5a6478;
  --gray-900: #1c2333;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --section-y: 3rem;
  --container: min(1140px, 100% - 2rem);
  --header-h: 85px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26, 37, 85, 0.08);
  --transition: 0.25s ease;
  --text-base: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }

.container { width: var(--container); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid rgba(26, 37, 85, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 100%;
}

@media (min-width: 992px) {
  .site-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 1.5rem;
    min-width: 0;
  }

  .site-nav .nav-drawer-head {
    display: none;
  }

  .site-nav .nav-list {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav .nav-list > li:not(.nav-cta-item) {
    border-bottom: none;
  }

  .site-nav .nav-list > li {
    width: auto;
  }

  .nav-cta-item {
    margin-top: 0;
    padding-top: 0;
  }
}

.brand {
  display: flex;
  align-items: center;
  min-width: 140px;
  min-height: 75px;
}

.brand img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.4rem 0.65rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
  border-radius: 6px;
}

.site-nav a:hover { color: var(--red); background: var(--blue-light); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  margin-left: 0.35rem;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 22px;
  height: 18px;
}

.nav-toggle-box span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease, background 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--gray-100);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop,
.nav-drawer-head {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18, 27, 61, 0.94) 0%,
    rgba(26, 37, 85, 0.82) 45%,
    rgba(26, 37, 85, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-block: 2.5rem 3rem;
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
}

.text-blue { color: #7eb3ff; }
.text-red { color: #ff6b6f; }

.hero-tagline {
  margin-top: 0.65rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--white);
  max-width: 28rem;
}

.hero-tagline::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--red);
  margin-right: 0.5rem;
  vertical-align: -2px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
}

.meta-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* Hero — interactive stall map teaser */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.stall-teaser {
  width: min(320px, 100%);
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stall-teaser__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(227, 30, 36, 0.1);
  border-radius: 999px;
}

.stall-teaser__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: stall-pulse 1.6s ease-in-out infinite;
}

@keyframes stall-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.stall-teaser__head {
  margin-bottom: 0.75rem;
}

.stall-teaser__hall {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.stall-teaser__venue {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--text-xs);
  color: var(--gray-600);
}

.stall-teaser__map-wrap {
  position: relative;
}

.stall-teaser__map {
  width: 100%;
  height: auto;
  display: block;
}

.stall-hall-bg {
  fill: var(--gray-50);
  stroke: rgba(26, 37, 85, 0.12);
  stroke-width: 1;
}

.stall-map-label,
.stall-map-entrance {
  font-family: var(--font-body);
  font-size: 9px;
  fill: var(--gray-600);
  letter-spacing: 0.04em;
}

.stall-map-entrance {
  font-weight: 600;
  text-transform: uppercase;
}

.stall-zone {
  fill: #c5d9f5;
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  transition: fill 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.stall-zone[data-status="few"] {
  fill: #fcd9a0;
}

.stall-zone[data-status="booked"] {
  fill: #c8ced8;
  cursor: not-allowed;
}

.stall-zone-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  fill: var(--navy);
  pointer-events: none;
  user-select: none;
}

.stall-zone[data-status="booked"] + .stall-zone-label {
  fill: var(--gray-600);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .stall-teaser__badge-dot {
    animation: none;
  }
}

.stall-zone:not([data-status="booked"]):hover,
.stall-zone:not([data-status="booked"]):focus-visible,
.stall-zone.is-active:not([data-status="booked"]) {
  filter: brightness(1.05);
  stroke: var(--navy);
  stroke-width: 2.5;
}

.stall-zone[data-status="available"]:hover,
.stall-zone[data-status="available"].is-active {
  fill: #7eb3ff;
}

.stall-zone[data-status="few"]:hover,
.stall-zone[data-status="few"].is-active {
  fill: #f5b84a;
}

.stall-teaser__tooltip {
  min-height: 2.25rem;
  margin: 0.5rem 0 0;
  padding: 0.4rem 0.5rem;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  background: var(--blue-light);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.stall-teaser__tooltip.is-few {
  background: #fff4e0;
  color: #9a5b00;
}

.stall-teaser__tooltip.is-booked {
  background: var(--gray-100);
  color: var(--gray-600);
}

.stall-teaser__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
  color: var(--gray-600);
}

.stall-teaser__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-available { background: #c5d9f5; }
.legend-few { background: #fcd9a0; }
.legend-booked { background: #c8ced8; }

.stall-teaser__cta {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: var(--text-sm);
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

.hero-scroll span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(10px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background var(--transition), color var(--transition);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* Intro strip */
.intro-strip {
  background: var(--red);
  color: var(--white);
  padding: 1.25rem 0;
}

.intro-strip p {
  text-align: center;
  font-size: var(--text-base);
  font-weight: 500;
  max-width: 52rem;
  margin-inline: auto;
  line-height: 1.5;
}

/* Sections */
.section {
  padding-block: var(--section-y);
}

.section-alt { background: var(--gray-50); }

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .label { color: rgba(255, 255, 255, 0.6); }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.8); }

.section-contact {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--blue-light) 100%);
}

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.label-light { color: #ff9a9d; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.section-dark h2 { color: var(--white); }

.accent { color: var(--red); }

.section-sub {
  margin-top: 0.5rem;
  color: var(--gray-600);
  font-size: var(--text-base);
}

.section-head.center { text-align: center; margin-bottom: 1.5rem; }
.section-head.center .section-sub { max-width: 36rem; margin-inline: auto; }

.text-center { text-align: center; margin-top: 1.25rem; }

/* About */
.section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.organiser-logo {
  margin-top: 1rem;
  max-width: 180px;
}

.section-body p + p { margin-top: 0.75rem; }
.section-body { color: var(--gray-600); font-size: var(--text-base); }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(61, 108, 185, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--red);
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.card p { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.45; }

/* Split sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.highlight-list {
  list-style: none;
  margin-top: 0.75rem;
}

.highlight-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.highlight-list li:last-child { border-bottom: none; }

.highlight-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.highlight-list p { font-size: var(--text-sm); color: var(--gray-600); }

/* Participate */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1rem;
  list-style: none;
  max-width: 900px;
  margin-inline: auto;
}

.check-grid li {
  position: relative;
  padding-left: 1.35rem;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.92);
}

.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* Visitor list */
.visitor-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
  list-style: none;
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.visitor-list li::before {
  content: "› ";
  color: var(--red);
  font-weight: 700;
}

/* Promo grid */
.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 800px;
  margin-inline: auto;
}

.promo-grid span {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  color: var(--navy);
}

/* Stalls */
.hero-cta-text { font-weight: 600; color: var(--navy); }

.stall-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.stall-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.stall-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.stall-note {
  font-size: var(--text-xs);
  color: var(--gray-600);
  margin-bottom: 0.65rem;
}

.stall-box ul {
  list-style: none;
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.stall-box ul li {
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.stall-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
}

.stall-pricing table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.stall-pricing th,
.stall-pricing td {
  padding: 0.45rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.stall-pricing th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}

.stall-pricing td:last-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.stall-disclaimer {
  margin-top: 0.65rem;
  font-size: var(--text-xs);
  color: var(--gray-600);
  font-style: italic;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.contact-card a {
  display: block;
  font-size: var(--text-base);
  margin-bottom: 0.35rem;
  color: var(--gray-600);
}

.contact-card a:hover { color: var(--red); }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0 1rem;
  font-size: var(--text-sm);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  align-items: center;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 0.35rem;
  border-radius: 4px;
}

.footer-brand strong { color: var(--white); }

.footer-info {
  text-align: right;
}

.footer-info a { color: #7eb3ff; }
.footer-info a:hover { color: var(--white); }

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }

/* Past exhibition gallery */
.section-gallery {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.gallery-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.gallery-stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
}

.gallery-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.gallery-stat span {
  display: block;
  font-size: var(--text-xs);
  color: var(--gray-600);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.gallery-hint {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: 0.85rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-dark);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 37, 85, 0.45);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.lightbox-counter {
  margin-top: 0.65rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--red);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-prev { left: max(0.5rem, env(safe-area-inset-left)); }
.lightbox-next { right: max(0.5rem, env(safe-area-inset-right)); }

body.lightbox-open {
  overflow: hidden;
}

/* Fixed social icons — right side */
.social-fixed {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  pointer-events: none;
}

.social-fixed-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: auto;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-right: none;
  box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.22);
}

.social-fixed-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), color var(--transition), transform 0.2s;
}

.social-fixed-list li:last-child a {
  border-bottom: none;
}

.social-fixed-list a:hover {
  background: var(--red);
  color: var(--white);
  border-bottom-color: var(--red);
  transform: translateX(-3px);
}

.social-fixed-list svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-fixed-list li:first-child a { border-radius: 8px 0 0 0; }
.social-fixed-list li:last-child a { border-radius: 0 0 0 8px; }

/* Responsive */
@media (max-width: 900px) {
  .gallery-highlights { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .section-grid { grid-template-columns: 1fr; }
  .split-section,
  .split-section.reverse { grid-template-columns: 1fr; direction: ltr; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .stall-teaser { margin-inline: auto; }
  .hero-meta { justify-content: center; }
  .hero-actions { justify-content: center; }
  .stall-grid { grid-template-columns: 1fr; }
}

/* Mobile / tablet navigation */
@media (max-width: 991px) {
  .header-inner {
    padding-right: 3.25rem;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    position: fixed;
    top: calc((var(--header-h) - 44px) / 2);
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 1003;
  }

  body.nav-open .nav-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    min-height: 86px;
    padding: 0.75rem 1rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    border-bottom: 1px solid var(--gray-100);
    background: var(--white);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .site-header {
    z-index: 1002;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100dvh;
    z-index: 1002;
    margin: 0;
    padding: 0;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(26, 37, 85, 0.15);
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  .site-nav.open {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .nav-drawer-title {
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    line-height: 1;
  }

  .nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--navy);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }

  .nav-drawer-close svg {
    width: 22px;
    height: 22px;
  }

  .nav-drawer-close:hover,
  .nav-drawer-close:focus-visible {
    background: var(--red);
    color: var(--white);
  }

  .site-nav .nav-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem 1rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  .site-nav .nav-list > li {
    width: 100%;
  }

  .site-nav .nav-list > li:not(.nav-cta-item) {
    border-bottom: 1px solid var(--gray-100);
  }

  .site-nav a {
    padding: 1rem 0.5rem;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--navy);
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a:active {
    background: var(--blue-light);
    color: var(--navy);
  }

  .nav-cta-item {
    margin-top: auto;
    padding-top: 0.75rem;
  }

  .nav-cta {
    display: block;
    margin-left: 0 !important;
    padding: 1rem 1rem !important;
    text-align: center;
    border-radius: var(--radius) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.28);
    font-weight: 600;
  }

  .brand img {
    height: 52px;
  }

  .brand {
    min-height: 52px;
    min-width: 100px;
    flex-shrink: 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  :root { --section-y: 2.25rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .gallery-highlights { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; width: 40px; height: 40px; }
  .visitor-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-info { text-align: center; }

  /* Social: compact on mobile, above scroll / safe area */
  .social-fixed {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    transform: none;
    right: 0;
  }

  .social-fixed-list {
    flex-direction: column;
    gap: 1px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 16px rgba(0, 0, 0, 0.2);
  }

  .social-fixed-list a {
    width: 40px;
    height: 40px;
  }

  .social-fixed-list svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 400px) {
  .social-fixed-list a {
    width: 36px;
    height: 36px;
  }

  .social-fixed-list svg {
    width: 16px;
    height: 16px;
  }
}
