/* ============================================
   MIPSS 2026 — Modern Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --lilac: #E3D1E4;
  --blue: #567AB8;
  --brown: #5C4033;
  --beige-border: #E8DCC8;
  --disabled-text: #C4A991;

  /* Light theme */
  --bg-light: #FAF8F6;
  --text-light: #2C2C2C;
  --card-light: #FFFFFF;
  --link-light: #567AB8;
  --title-light: #5C4033;
  --border-light: #E8DCC8;
  --card-accent-light: #567AB8;

  /* Dark theme */
  --bg-dark: #2C2C2C;
  --text-dark: #FFFFFF;
  --card-dark: #3A3A3A;
  --link-dark: #E3D1E4;
  --title-dark: #FFFFFF;
  --border-dark: #E3D1E4;
  --card-accent-dark: #567AB8;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background-color: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--link-light);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--title-light);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Section --- */
.section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--title-dark);
}

.section--dark a {
  color: var(--link-dark);
}

.section--lilac {
  background-color: var(--lilac);
  color: var(--text-light);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section--dark .section-title::after {
  background: var(--lilac);
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--blue);
  color: #FFFFFF;
  border-color: var(--blue);
}

.btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--lilac);
  color: var(--text-light);
  border-color: var(--lilac);
}

.btn--secondary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background-color: var(--blue);
  color: #FFFFFF;
}

.btn--outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn--outline-light:hover {
  background-color: #FFFFFF;
  color: var(--text-light);
}

.btn--disabled {
  background-color: var(--beige-border);
  color: var(--disabled-text);
  cursor: not-allowed;
  pointer-events: none;
}

.btn--sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 246, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}

.navbar__logo img {
  height: 48px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.navbar__menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--blue);
  background: rgba(86, 122, 184, 0.08);
  opacity: 1;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(86, 122, 184, 0.08);
  border-radius: var(--radius-xl);
  padding: 3px;
}

.lang-switch button {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-xl);
  color: var(--text-light);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.lang-switch button.active {
  background: var(--blue);
  color: #FFFFFF;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 44, 0.45) 0%,
    rgba(44, 44, 44, 0.65) 50%,
    rgba(44, 44, 44, 0.85) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 800px;
  padding: var(--space-lg);
}

.hero__badge {
  display: inline-block;
  background: rgba(227, 209, 228, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 209, 228, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--lilac);
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__dates {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  margin-bottom: var(--space-xs);
  color: var(--lilac);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--lilac);
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Countdown --- */
.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.countdown__item {
  text-align: center;
  min-width: 80px;
}

.countdown__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  display: block;
}

.section--dark .countdown__number {
  color: var(--lilac);
}

.countdown__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 0.3rem;
  opacity: 0.7;
}

/* --- Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--lilac);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(86, 122, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.card__text {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.section--dark .card {
  background: var(--card-dark);
  border-color: var(--border-dark);
}

.section--dark .card::before {
  background: var(--blue);
}

.section--dark .card__title {
  color: #FFFFFF;
}

/* --- Committee --- */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.committee-member {
  text-align: center;
}

.committee-member__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  border: 4px solid var(--lilac);
  box-shadow: var(--shadow-md);
}

.committee-member__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title-light);
}

.committee-member__role {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 500;
}

.section--dark .committee-member__name {
  color: #FFFFFF;
}

/* --- Venue Cards --- */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.venue-card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.venue-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--beige-border);
}

.venue-card__body {
  padding: var(--space-md);
}

.venue-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title-light);
  margin-bottom: 0.3rem;
}

.venue-card__desc {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.venue-card__info {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.8;
}

.venue-card__info a {
  color: var(--blue);
  font-weight: 500;
}

/* --- Program Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--lilac);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--card-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg-light);
}

.timeline__item--highlight {
  border-left: 4px solid var(--blue);
}

.timeline__time {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline__desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

.timeline__list {
  list-style: none;
  margin-top: 0.5rem;
}

.timeline__list li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}

.timeline__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lilac);
}

.section--dark .timeline::before {
  background: rgba(227, 209, 228, 0.3);
}

.section--dark .timeline__item {
  background: var(--card-dark);
  border-color: rgba(227, 209, 228, 0.15);
}

.section--dark .timeline__item::before {
  background: var(--lilac);
  border-color: var(--bg-dark);
}

.section--dark .timeline__time {
  color: var(--lilac);
}

.section--dark .timeline__title {
  color: #FFFFFF;
}

/* --- Workshop pricing --- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.pricing-card {
  background: var(--card-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition);
}

.pricing-card--featured {
  border-color: var(--blue);
  position: relative;
}

.pricing-card--featured::after {
  content: 'EARLY BIRD';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #FFFFFF;
  padding: 0.2rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-xs);
}

.pricing-card__desc {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--title-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  background: #FFFFFF;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(86, 122, 184, 0.15);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-message {
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-message--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message--error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.section--dark .form-group label {
  color: #FFFFFF;
}

.section--dark .form-group input,
.section--dark .form-group textarea {
  background: var(--card-dark);
  border-color: rgba(227, 209, 228, 0.2);
  color: #FFFFFF;
}

.section--dark .form-group input:focus,
.section--dark .form-group textarea:focus {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(227, 209, 228, 0.15);
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-sm);
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* --- Video Embed --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-md);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-dark);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.footer__col p,
.footer__col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}

.footer__col a:hover {
  color: var(--lilac);
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer__links a:hover {
  color: var(--lilac);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  color: var(--text-dark);
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  border-top: 3px solid var(--lilac);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.cookie-banner__text {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.cookie-banner__text a {
  color: var(--lilac);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Cookie Config Modal */
.cookie-config {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
}

.cookie-config.show {
  display: flex;
}

.cookie-config__panel {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.cookie-config__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.cookie-option {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-option__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.cookie-option__desc {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.3rem;
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle__slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle input:checked + .toggle__slider {
  background: var(--blue);
}

.toggle input:checked + .toggle__slider::before {
  transform: translateX(20px);
}

.toggle input:disabled + .toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-config__actions {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(70px + var(--space-xl)) 0 var(--space-xl);
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(86, 122, 184, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(227, 209, 228, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--lilac);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--brown);
  transform: translateY(-3px);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-light);
    flex-direction: column;
    padding: 80px var(--space-md) var(--space-md);
    gap: 0;
    transition: right var(--transition);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__menu a {
    font-size: 0.95rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 768px) {
  .hero__content {
    padding: var(--space-md);
  }

  .countdown {
    gap: var(--space-sm);
  }

  .countdown__item {
    min-width: 60px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .committee-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.hidden { display: none !important; }

/* --- Endorsed logos --- */
.endorsed-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.endorsed-logos img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
  filter: grayscale(30%);
}

.endorsed-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Sponsors grid --- */
.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.sponsors-grid img {
  max-height: 80px;
  width: auto;
  opacity: 0.8;
  transition: all var(--transition);
  filter: grayscale(20%);
}

.sponsors-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* --- Two column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.two-col img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* --- Data protection collapsible --- */
.collapsible {
  margin-top: var(--space-sm);
}

.collapsible__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.collapsible__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.collapsible__content.open {
  max-height: 2000px;
}

.collapsible__inner {
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- Mobile overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* --- Registration form specific --- */
.registration-form {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Faculty grid --- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.faculty-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--card-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.faculty-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  border: 3px solid var(--lilac);
  background: var(--beige-border);
}

.faculty-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--title-light);
  margin-bottom: 0.2rem;
}

.faculty-card__specialty {
  font-size: 0.8rem;
  color: var(--blue);
}

/* --- Marbella page image --- */
.marbella-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

/* --- Legal pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

/* --- Program day tabs --- */
.day-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.day-tab {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-light);
}

.day-tab.active,
.day-tab:hover {
  background: var(--blue);
  color: #FFFFFF;
  border-color: var(--blue);
}

.section--dark .day-tab {
  border-color: rgba(227, 209, 228, 0.3);
  color: var(--text-dark);
}

.section--dark .day-tab.active,
.section--dark .day-tab:hover {
  background: var(--lilac);
  color: var(--text-light);
  border-color: var(--lilac);
}

.day-content {
  display: none;
}

.day-content.active {
  display: block;
}

/* --- Video Modal (Autoplay on homepage load) --- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal.show {
  display: flex;
}

.video-modal__inner {
  position: relative;
  width: 90%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal__inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* --- Page Hero (Internal pages) --- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 44, 0.35) 0%,
    rgba(44, 44, 44, 0.55) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: var(--space-lg);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: var(--lilac);
}

/* --- Vimeo Embed Responsive --- */
.vimeo-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}

.vimeo-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Video Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .video-modal__inner {
    width: 85%;
    max-width: 340px;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}
