/* Y2B Event Website - Main Stylesheet */
/* Color system: gradient #268c8a -> #75bc86 */

:root {
  --color-teal: #268c8a;
  --color-mint: #75bc86;
  --color-teal-dark: #1a6f6d;
  --gradient-primary: linear-gradient(135deg, #268c8a 0%, #75bc86 100%);
  --gradient-hero: linear-gradient(135deg, #268c8a 0%, #4ba89e 50%, #75bc86 100%);
  --bg-page: #f7f9fb;
  --bg-white: #ffffff;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
}
.preloader-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}
.preloader-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  max-width: 65ch;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-outline:hover {
  background: rgba(38, 140, 138, 0.08);
  text-decoration: none;
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Why Attend – benefit cards (no emojis, design-only icons) */
.benefit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.benefit-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
  box-shadow: 0 8px 24px rgba(38, 140, 138, 0.12);
  border-color: rgba(38, 140, 138, 0.2);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.benefit-card__icon svg {
  flex-shrink: 0;
}

.benefit-card__icon--teal {
  background: #268c8a;
  box-shadow: 0 4px 12px rgba(38, 140, 138, 0.35);
}

.benefit-card__icon--mint {
  background: #75bc86;
  box-shadow: 0 4px 12px rgba(117, 188, 134, 0.4);
}

.benefit-card__icon--teal-dark {
  background: #1a6f6d;
  box-shadow: 0 4px 12px rgba(26, 111, 109, 0.4);
}

.benefit-card__icon--cyan {
  background: #3da89e;
  box-shadow: 0 4px 12px rgba(61, 168, 158, 0.35);
}

.benefit-card__icon--mint-light {
  background: #5ab896;
  box-shadow: 0 4px 12px rgba(90, 184, 150, 0.35);
}

.benefit-card__icon--gradient {
  background: linear-gradient(135deg, #268c8a 0%, #75bc86 100%);
  box-shadow: 0 4px 12px rgba(38, 140, 138, 0.3);
}

.benefit-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.benefit-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Header – sticky so it stays at top when scrolling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-teal-dark);
  border-bottom: 2px solid rgba(117, 188, 134, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

/* Home page: fixed so navbar always visible after hero, clear then solid */
.site-header-over-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header-over-hero.is-scrolled {
  background: var(--color-teal-dark);
  border-bottom-color: rgba(117, 188, 134, 0.45);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  min-width: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

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

.logo-img-nav {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}

.logo-img-footer {
  height: 36px;
  filter: brightness(0) invert(1);
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.nav-desktop a:hover {
  color: #ffffff;
  text-decoration: none;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-ctas .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.site-header .btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.site-header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
}

.site-header .btn-primary {
  background: #ffffff;
  color: var(--color-teal-dark);
}

.site-header .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-teal-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 56px;
    height: 56px;
    gap: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .header-center {
    display: none;
  }

  .header-ctas {
    display: none;
  }

  .header-right {
    gap: 0;
  }

  .logo-img-nav {
    height: 32px;
    max-width: 100px;
  }
}

/* Mobile nav */
.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header .nav-mobile-toggle span,
.site-header .nav-mobile-toggle span::before,
.site-header .nav-mobile-toggle span::after {
  background: #ffffff;
}

@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
}

.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
}

.nav-mobile-toggle span::before { top: -7px; }
.nav-mobile-toggle span::after { top: 7px; }

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-mobile a {
  color: var(--text-primary);
}

.nav-mobile a:hover {
  background: var(--bg-page);
}

/* Main content */
main {
  min-height: calc(100vh - var(--header-height) - 200px);
  padding-bottom: 3rem;
}

/* Footer */
.site-footer {
  background: var(--text-primary);
  color: var(--bg-page);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
}

/* Section spacing */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-white);
}

/* Tracks section: gradient background, white tiles */
#tracks {
  background: var(--gradient-primary);
  color: rgba(255, 255, 255, 0.95);
}
#tracks .section-title h2 {
  color: #fff;
}
#tracks .section-title p {
  color: rgba(255, 255, 255, 0.9);
}
#tracks .track-card {
  background: var(--bg-white);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}
#tracks .track-card:hover {
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.15), 0 6px 12px -6px rgba(0, 0, 0, 0.1);
}
#tracks .track-card h3 {
  color: var(--text-primary);
}
#tracks .track-card p {
  color: var(--text-secondary);
}

/* Accordion (FAQ) */
.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-white);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
}

.accordion-trigger:hover {
  background: var(--bg-page);
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: -2px;
}

.accordion-trigger::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item.is-open .accordion-trigger::after {
  content: '−';
}

.accordion-panel {
  display: none;
  padding: 0 1.25rem 1rem;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel p {
  margin: 0;
  padding-top: 0.25rem;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.form-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 100%;
}

.form-hint strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Registration form (home) */
.registration-form {
  padding: 1.75rem 1.5rem;
}

.registration-form--compact {
  padding: 1.25rem 1.25rem;
}

.registration-form--compact .form-group {
  margin-bottom: 0.65rem;
}

.registration-form--compact .form-row {
  gap: 0.65rem 1rem;
}

.registration-form--compact .form-group label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.registration-form--compact .form-group input,
.registration-form--compact .form-group select {
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
}

.registration-form--compact .form-group--file input[type="file"] {
  padding: 0.35rem 0;
  font-size: 0.8125rem;
}

.registration-form--compact .form-group--file input[type="file"]::file-selector-button {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

.form-hint--compact {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--text-secondary);
  max-width: 100%;
}

.registration-form__intro {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 100%;
}

.registration-form__req {
  color: var(--color-teal);
  font-weight: 700;
}

.form-label-optional {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.form-section {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  min-width: 0;
}

.registration-form .form-section + .form-section {
  padding-top: 1.25rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border-light);
}

.form-section:last-of-type {
  margin-bottom: 1.5rem;
}

.form-section__title {
  padding: 0;
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.form-section__hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 100%;
}

.registration-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.registration-form--compact .registration-form__submit {
  margin-top: 0.15rem;
}

.form-group--file input[type="file"] {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  cursor: pointer;
  border-style: dashed;
  background: var(--bg-page);
}

.form-group--file input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-teal);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.form-group--file input[type="file"]::file-selector-button:hover {
  background: rgba(38, 140, 138, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(38, 140, 138, 0.15);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.partner-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.partner-form-wrap .card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem;
  background: var(--bg-white);
}

/* Ticket + registration layout */
.ticket-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: none;
  margin: 0;
}
.ticket-visual img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}
.ticket-form .card {
  border-radius: var(--radius-lg);
}
@media (min-width: 900px) {
  .ticket-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .ticket-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.form-message-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
}

.page-hero__badge {
  display: inline-block;
  margin: 0 auto 0.75rem;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.page-hero__sub {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Partner logo */
.partner-logo {
  width: 100%;
  height: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-logo:hover {
  border-color: rgba(38, 140, 138, 0.4);
  box-shadow: 0 2px 8px rgba(38, 140, 138, 0.08);
}

.partner-logo span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.partner-logo img {
  max-height: 48px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Message (form success) */
.message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: none;
}

.message.is-visible {
  display: block;
}

.message-success {
  background: rgba(117, 188, 134, 0.2);
  border: 1px solid var(--color-mint);
  color: #166534;
}

/* Hero (home) – 100vh, padding-top so content clears fixed navbar */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  padding-top: var(--header-height);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--color-teal-dark);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 111, 109, 0.72) 0%, rgba(38, 140, 138, 0.68) 50%, rgba(117, 188, 134, 0.62) 100%);
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 3rem;
  text-align: center;
}

.hero .hero-inner .container {
  max-width: 680px;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* High-contrast text shadows for readability over hero image */
.hero-content .hero-badge {
  margin: 0 0 0.75rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content .hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.25);
}

.hero-content .hero-date-location {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero-content .hero-promise {
  margin: 0 0 1.75rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.98);
  max-width: 28em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-ctas .btn {
  min-width: 140px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9375rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
  .hero {
    padding-top: 56px;
  }

  .hero .hero-inner {
    padding: 1rem 0 2rem;
    align-items: center;
  }

  .hero .hero-inner .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.5rem;
  }

  .hero-content .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.35rem;
  }

  .hero-content .hero-date-location {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-content .hero-promise {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-ctas .btn {
    min-width: 0;
    width: 100%;
    padding: 0.75rem 1.25rem;
  }

  .hero-stats {
    font-size: 0.8125rem;
    padding: 0.6rem 1rem;
    gap: 0.35rem 0.75rem;
  }
}

.hero-stat {
  font-weight: 500;
}

.hero-stat strong {
  font-weight: 700;
  margin-right: 0.15em;
}

.hero-stat-sep {
  opacity: 0.7;
  font-weight: 600;
  user-select: none;
}

.hero-visual {
  display: none;
}

/* Stats strip */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  padding: 1rem 0;
}

/* Track card */
.track-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.track-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}
#tracks .track-card .card-icon {
  color: #fff;
}

/* Why partner (partners page) */
.why-partner {
  background: var(--bg-page);
}
.why-partner .section-title p {
  max-width: 640px;
}
.why-partner-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-partner-benefit {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-teal);
  transition: box-shadow 0.2s ease;
}
.why-partner-benefit:hover {
  box-shadow: var(--shadow-md);
}
.why-partner-benefit__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.why-partner-benefit__icon svg {
  flex-shrink: 0;
}
.why-partner-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.why-partner-benefit p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Benefits matrix (partner tiers) */
.benefits-matrix {
  max-width: 960px;
  margin: 0 auto;
}
.benefits-section {
  margin-bottom: 2.5rem;
}
.benefits-section:last-of-type {
  margin-bottom: 2rem;
}
.benefits-section__title {
  margin: 0 0 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  display: inline-block;
}
.benefits-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.benefits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-white);
}
.benefits-table th,
.benefits-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.benefits-table thead th {
  font-weight: 600;
  background: var(--bg-page);
  color: var(--text-primary);
  white-space: nowrap;
}
.benefits-table th:first-child,
.benefits-table td:first-child {
  min-width: 200px;
}
.benefits-table td:not(:first-child) {
  text-align: center;
  min-width: 70px;
}
.benefits-table tbody tr:hover {
  background: rgba(38, 140, 138, 0.04);
}
.benefits-table .check {
  color: var(--color-teal);
  font-weight: 700;
}

/* Partner strip */
.partners-strip {
  padding: 2rem 0;
}

.partners-strip h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-strip p {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

/* Partners section – clean showcase layout */
.partners-strip {
  background: var(--bg-page);
}
.partners-strip .container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal page */
.legal-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.legal-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .legal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.legal-card {
  height: 100%;
}
.legal-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.legal-card h3 {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  text-transform: none;
}
.legal-card p,
.legal-card ul {
  font-size: 0.9rem;
}
.legal-card ul {
  padding-left: 1.25rem;
}
.partners-strip .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.partners-group {
  margin-bottom: 2.5rem;
}
.partners-group:last-child {
  margin-bottom: 0;
}
.partners-category {
  display: block;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.partners-group:first-child .partners-category {
  margin-top: 0;
}
.partners-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: stretch;
}

.partners-row .partner-logo {
  width: 100%;
  max-width: 160px;
  justify-self: center;
}

.partners-strip .text-center,
.partners-strip .partners-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0;
}

/* Testimonial card */
.testimonial-card {
  padding: 1.5rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Last Y2B Video section */
#y2b-video .section-title {
  margin-bottom: 2rem;
}
#y2b-video .video-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
#y2b-video .teaser-video {
  width: 100%;
  display: block;
  background: var(--text-primary);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Final CTA strip */
.cta-strip {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta-strip h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.cta-strip .btn-primary {
  background: white;
  color: var(--color-teal);
}

.cta-strip .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Thank you (partner) page */
.thankyou-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.thankyou-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.thankyou-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(38, 140, 138, 0.35);
}

.thankyou-card__icon svg {
  flex-shrink: 0;
}

.thankyou-card__title {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.thankyou-card__text {
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

.thankyou-card__next {
  text-align: left;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-page);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-teal);
}

.thankyou-card__next-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  text-transform: none;
}

.thankyou-card__next-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.thankyou-card__next-list li {
  margin-bottom: 0.35rem;
}

.thankyou-card__next-list li:last-child {
  margin-bottom: 0;
}

.thankyou-card__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.thankyou-card__ctas .btn {
  min-width: 160px;
}

@media (max-width: 480px) {
  .thankyou-card {
    padding: 1.75rem 1.25rem;
  }

  .thankyou-card__ctas {
    flex-direction: column;
  }

  .thankyou-card__ctas .btn {
    width: 100%;
    min-width: 0;
  }
}
