:root {
  --shell-green-dark: #0f5132;
  --shell-green: #1d7c47;
  --shell-green-soft: #eef7f1;
  --shell-gold: #f0c14b;
  --shell-white: #ffffff;
  --shell-text: #17382a;
  --shell-muted: #517264;
  --shell-border: rgba(15, 81, 50, 0.12);
  --shell-shadow: 0 20px 45px rgba(15, 81, 50, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--shell-text);
  background:
    radial-gradient(circle at top, rgba(240, 193, 75, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fcf8 0%, #edf6f0 100%);
  font-family: Poppins, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.site-hero {
  min-height: clamp(460px, 78vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 56px;
  background-color: whitesmoke;
  position: relative;
  overflow: hidden;
}

.site-hero::before,
.site-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.site-hero::before {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -90px;
  background: rgba(29, 124, 71, 0.08);
}

.site-hero::after {
  width: 460px;
  height: 460px;
  right: -140px;
  bottom: -160px;
  background: rgba(240, 193, 75, 0.16);
}

.hero-shell {
  width: min(1560px, 100%);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(520px, 1.25fr) minmax(240px, 1fr);
  align-items: stretch;
  gap: 20px;
  min-height: 320px;
}

.hero-countdown-row {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 81, 50, 0.08);
}

.hero-brand {
  min-height: 280px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
}

.hero-brand img {
  width: min(100%, 280px);
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.12));
}

.hero-brand-left img,
.hero-brand-right img {
  width: min(100%, 300px);
  max-height: 225px;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  text-align: center;
  color: var(--shell-text);
  padding-bottom: 50px;
}

.hero-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(23, 56, 42, 0.72);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 0;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 0.45em 0.95em 0.55em;
  line-height: 1;
  font-weight: 900;
  color: var(--shell-green-dark);
  text-shadow: 0 8px 18px rgba(255, 255, 255, 0.55);
  animation: heartbeat 2s infinite;
  z-index: 1;
}

.hero-title::before {
  content: "";
  position: absolute;
  inset: auto 8% 0.18em 8%;
  height: 0.42em;
  border-radius: 999px 999px 999px 999px;
  background: linear-gradient(90deg, rgba(240, 193, 75, 0.95), rgba(44, 164, 92, 0.9), rgba(240, 193, 75, 0.95));
  background-size: 220% 100%;
  opacity: 0.88;
  z-index: -1;
  animation: title-shimmer 4s linear infinite;
}

.hero-title::after {
  content: "";
  position: absolute;
  inset: -10% -2%;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 247, 239, 0.82));
  box-shadow: var(--shell-shadow);
  z-index: -2;
}

.hero-title-top {
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  letter-spacing: 0.18em;
  color: #2f8f55;
  text-transform: none;
}

.hero-title-bottom {
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-title-edition {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.08);
  border: 1px solid rgba(15, 81, 50, 0.12);
  color: #145c3a;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  letter-spacing: 0.16em;
}

.hero-subtitle {
  margin: 0;
  max-width: 620px;
  font-size: clamp(0.98rem, 1.55vw, 1.08rem);
  color: rgba(23, 56, 42, 0.8);
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(29, 124, 71, 0.1);
  border: 1px solid rgba(29, 124, 71, 0.16);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.hero-countdown {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 81, 50, 0.1);
  box-shadow: 0 20px 40px rgba(15, 81, 50, 0.12);
  position: relative;
  z-index: 2;
}

.hero-countdown-label {
  margin: 0 0 12px;
  color: #145c3a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-countdown .timer {
  gap: 12px;
  margin: 0;
}

.hero-countdown .time-unit {
  min-width: 88px;
}

.hero-countdown .time-unit span {
  font-size: 1.7rem;
  background: rgba(20, 92, 58, 0.08);
  color: #145c3a;
}

.hero-countdown .time-unit p {
  margin-top: 6px;
  color: #365949;
  font-weight: 700;
  font-size: 0.85rem;
}

.sibio-ticker {
  background: #f3fbf5;
  border-top: 1px solid rgba(20, 92, 58, 0.08);
  border-bottom: 1px solid rgba(20, 92, 58, 0.08);
  overflow: hidden;
  white-space: nowrap;
}

.sibio-ticker-track {
  display: inline-block;
  min-width: 180%;
  padding: 12px 0;
  color: #145c3a;
  font-weight: 700;
  animation: sibio-ticker-scroll 24s linear infinite;
}

.nav-menu .nav-shop {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.nav-menu .nav-shop:hover,
.nav-menu .nav-shop:focus-visible,
.nav-menu .nav-shop.is-active {
  background: linear-gradient(135deg, #159447, #0f7d3b);
  color: white;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shell-border);
  box-shadow: 0 10px 24px rgba(12, 47, 30, 0.08);
}

.nav-inner {
  width: min(1380px, calc(100% - 28px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--shell-border);
  border-radius: 12px;
  background: var(--shell-white);
  color: var(--shell-green-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 10px 22px rgba(12, 47, 30, 0.08);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--shell-green-dark);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: var(--shell-green);
  color: var(--shell-white);
  transform: translateY(-1px);
}

.nav-ticket-item {
  align-items: center;
  display: flex;
}

.nav-ticket-item .ticket-cta {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 0.78rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(255, 122, 24, 0.2), 0 0 0 3px rgba(250, 204, 21, 0.1);
  animation: nav-ticket-pulse 1.8s ease-in-out infinite;
}

.nav-ticket-item .ticket-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 122, 24, 0.28), 0 0 0 4px rgba(34, 197, 94, 0.12);
}

@media (min-width: 1180px) {
  .nav-menu {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .nav-menu a {
    padding-inline: 13px;
    font-size: 0.92rem;
  }

  .nav-ticket-item .ticket-cta {
    font-size: 0.74rem;
    padding-inline: 13px;
  }
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 80px;
}

.page-section,
.section {
  margin-bottom: 26px;
  padding: 32px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 81, 50, 0.08);
  box-shadow: var(--shell-shadow);
}

.section:nth-child(odd) {
  background: rgba(255, 255, 255, 0.92);
}

.section-alt {
  background: linear-gradient(180deg, #f5fbf6 0%, #ebf6ef 100%);
}

.section-dark {
  background: linear-gradient(180deg, #145c3a 0%, #0b3d2e 100%);
  color: var(--shell-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--shell-white);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 124, 71, 0.08);
  color: var(--shell-green-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section h2,
.page-section h2 {
  margin: 0 0 16px;
  color: var(--shell-green-dark);
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
}

.section h3,
.page-section h3 {
  color: var(--shell-green-dark);
}

.section p,
.page-section p,
.section li,
.page-section li {
  color: var(--shell-muted);
  line-height: 1.7;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 22px;
}

.seo-copy {
  max-width: 920px;
  color: var(--shell-muted);
  line-height: 1.8;
}

.seo-copy p {
  margin: 0 0 14px;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 81, 50, 0.08);
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.06);
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--shell-green-dark);
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.content-card,
.detail-card,
.programme-card,
.info-box,
.infos-card,
.sponsor-card,
.team-card,
.stat-card,
.person-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 81, 50, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 81, 50, 0.06);
}

.content-card,
.detail-card,
.person-card,
.sponsor-card,
.infos-card {
  padding: 22px;
}

.btn,
.sibio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary,
.sibio-btn,
.btn-secondary:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.btn-secondary {
  background: rgba(29, 124, 71, 0.12);
  color: var(--shell-green-dark);
}

.btn:hover,
.sibio-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.18);
}

.ticket-cta {
  position: relative;
  isolation: isolate;
  min-height: 58px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a18 0%, #facc15 45%, #22c55e 100%);
  color: #102619 !important;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(255, 122, 24, 0.28), 0 0 0 6px rgba(250, 204, 21, 0.14);
  animation: ticket-pulse 1.6s ease-in-out infinite;
  overflow: hidden;
}

.ticket-cta::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 34%;
  transform: rotate(16deg);
  background: rgba(255, 255, 255, 0.58);
  filter: blur(2px);
  animation: ticket-shine 2.6s ease-in-out infinite;
  z-index: -1;
}

.ticket-cta:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 46px rgba(255, 122, 24, 0.38), 0 0 0 8px rgba(34, 197, 94, 0.14);
}

.hero-ticket-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  position: relative;
  z-index: 3;
}

@keyframes ticket-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes ticket-shine {
  0% {
    left: -42%;
  }
  55%, 100% {
    left: 118%;
  }
}

@keyframes nav-ticket-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-cta,
  .ticket-cta::before {
    animation: none;
  }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.info-box {
  padding: 22px;
  text-align: center;
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.countdown {
  padding: 24px;
  border-left: 5px solid var(--shell-gold);
}

.timer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px 0;
}

.time-unit {
  min-width: 86px;
  text-align: center;
}

.time-unit span {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(240, 193, 75, 0.18);
  color: var(--shell-green-dark);
  font-size: 1.9rem;
  font-weight: 800;
}

.programme-grid,
.sponsors-grid,
.stats-grid,
.people-grid,
.gallery-grid,
.contact-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

.programme-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.programme-card {
  padding: 22px;
  border-left: 5px solid var(--shell-gold);
}

.time {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(240, 193, 75, 0.18);
  color: #b26825;
  font-weight: 700;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.stat-card {
  padding: 22px 16px;
  text-align: center;
}

.stat-number {
  color: var(--shell-green);
  font-size: 2rem;
  font-weight: 900;
}

.people-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.person-card {
  text-align: center;
}

.person-card img,
.team-card img {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 81, 50, 0.08);
  box-shadow: var(--shell-shadow);
}

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

.gallery-item figcaption {
  padding: 14px 16px 18px;
  color: var(--shell-muted);
  font-size: 0.95rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.image-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.image-slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.image-slide {
  min-width: 100%;
}

.image-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--shell-green-dark);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 81, 50, 0.16);
}

.slider-control.prev {
  left: 14px;
}

.slider-control.next {
  right: 14px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form,
.exposant-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.exposant-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 81, 50, 0.14);
  font: inherit;
}

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

.social-follow {
  margin-top: 24px;
}

.social-follow-box {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 81, 50, 0.1);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.social-follow-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.social-follow-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-follow-links a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--shell-green-dark);
  background: var(--shell-green-soft);
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.team-hierarchy-section {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.team-title-block {
  text-align: center;
  margin-bottom: 28px;
}

.team-level {
  margin-bottom: 28px;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  padding: 22px;
}

.team-featured {
  max-width: 560px;
  margin: 0 auto;
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-link,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 124, 71, 0.1);
  color: var(--shell-green-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.tag.highlight {
  background: rgba(240, 193, 75, 0.24);
}

.site-footer {
  padding: 56px 20px 28px;
  background: linear-gradient(135deg, #ebf7ee, #dbeee2);
  color: #1f3b2f;
  border-top: 1px solid rgba(15, 81, 50, 0.08);
}

.footer-container {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-box h3 {
  margin-top: 0;
  color: #1f6b40;
}

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

.footer-links a {
  text-decoration: none;
  color: #365949;
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 81, 50, 0.1);
  text-align: center;
  color: #365949;
  font-size: 0.92rem;
}

@keyframes title-shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
    color: #145c3a;
    text-shadow: 0 0 5px rgba(20, 92, 58, 0.3);
  }

  25% {
    transform: scale(1.1);
    color: #0b3d2e;
    text-shadow: 0 0 20px #4caf50, 0 0 30px rgba(76, 175, 80, 0.8);
  }

  50% {
    transform: scale(1.05);
    color: #145c3a;
    text-shadow: 0 0 10px rgba(20, 92, 58, 0.5);
  }

  75% {
    transform: scale(1.1);
    color: #0b3d2e;
    text-shadow: 0 0 20px #4caf50, 0 0 30px rgba(76, 175, 80, 0.8);
  }

  100% {
    transform: scale(1);
    color: #145c3a;
    text-shadow: 0 0 5px rgba(20, 92, 58, 0.3);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes sibio-ticker-scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 960px) {
  .site-hero {
    min-height: auto;
    padding: 28px 18px 40px;
  }

  .hero-row,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-row {
    gap: 12px;
    min-height: 0;
  }

  .hero-title-block {
    order: 1;
    padding-bottom: 20px;
  }

  .hero-brand {
    min-height: 0;
    padding-top: 0;
  }

  .hero-brand-left {
    order: 0;
  }

  .hero-brand-right {
    order: 2;
  }

  .hero-brand img {
    width: min(190px, 48vw);
    max-height: 140px;
  }

  .hero-brand-left img,
  .hero-brand-right img {
    width: min(200px, 50vw);
    max-height: 145px;
  }

  .site-nav {
    position: sticky;
    top: 0;
  }

  .nav-inner {
    min-height: auto;
    padding: 12px 0;
  }

  .nav-ticket-item {
    width: 100%;
    justify-content: center;
    order: 10;
  }
}

@media (max-width: 640px) {
  .site-hero {
    padding-inline: 18px;
  }

  .site-nav {
    position: static;
  }

  .hero-title {
    padding: 0.55em 0.7em;
  }

  .hero-title-bottom {
    font-size: clamp(2rem, 12vw, 3.1rem);
    letter-spacing: 0;
  }

  .hero-title-middle,
  .hero-title-top {
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .hero-countdown {
    width: 100%;
    padding: 14px;
  }

  .nav-inner,
  main {
    width: min(100% - 20px, 1180px);
  }

  .nav-inner {
    justify-content: flex-end;
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--shell-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(12, 47, 30, 0.16);
  }

  .site-nav.is-open .nav-menu {
    display: flex;
  }

  .page-section,
  .section {
    padding: 22px;
  }

  .nav-menu a {
    width: 100%;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .sibio-btn,
  .ticket-cta {
    width: 100%;
    text-align: center;
  }

  .timer {
    justify-content: stretch;
  }

  .time-unit {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  .time-unit span {
    font-size: 1.45rem;
    padding-inline: 8px;
  }

  .gallery-grid,
  .programme-grid,
  .sponsors-grid,
  .stats-grid,
  .people-grid,
  .team-grid,
  .cards-grid,
  .info-section {
    grid-template-columns: 1fr;
  }

  .slider-control {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .page-section,
  .section {
    border-radius: 18px;
    padding: 18px;
  }

  .hero-brand img,
  .hero-brand-left img,
  .hero-brand-right img {
    width: min(160px, 58vw);
    max-height: 115px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-menu a {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.9rem;
  }
}
