/* ==========================================================================
   СПlove — Modern Rafting & Kayaking Community Styling
   ========================================================================== */

:root {
  --bg-dark: #070D18;
  --bg-card: rgba(18, 28, 45, 0.75);
  --bg-card-hover: rgba(26, 40, 64, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 229, 255, 0.3);

  --accent-cyan: #00E5FF;
  --accent-teal: #00B4D8;
  --accent-orange: #FF7E36;
  --accent-amber: #FFAA00;
  --accent-green: #10B981;

  --text-main: #F8FAFC;
  --text-sub: #94A3B8;
  --text-muted: #64748B;

  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 126, 54, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Badges & Buttons --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge--open {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.badge--done {
  background: rgba(148, 163, 184, 0.15);
  color: #CBD5E1;
  border: 1px solid rgba(203, 213, 225, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: #070D18;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
  filter: brightness(1.1);
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
  color: #070D18;
  box-shadow: 0 4px 20px rgba(255, 126, 54, 0.35);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 126, 54, 0.5);
  filter: brightness(1.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-normal);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo__sp {
  color: var(--text-main);
}

.logo__love {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--accent-cyan);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

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

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0.42;
  filter: brightness(0.78) contrast(1.12) saturate(1.05);
  transform: scale(1.05);
  animation: heroPulse 15s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  top: -100px;
  left: 10%;
  background: rgba(0, 229, 255, 0.15);
}

.hero__glow--2 {
  bottom: 0;
  right: 10%;
  background: rgba(255, 126, 54, 0.12);
}

.hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
}

.hero__wave {
  width: 100%;
  height: 100%;
  fill: var(--bg-dark);
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero__title-sp {
  color: #FFFFFF;
}

.hero__title-love {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--text-sub);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  margin-bottom: 44px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.stat-divider {
  color: var(--border-color);
}

/* --- Countdown Timer --- */
.countdown {
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.28), rgba(7, 13, 24, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  max-width: 680px;
  margin: 0 auto 40px;
  backdrop-filter: blur(7px) saturate(1.1);
}

.countdown__header {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-weight: 700;
}

.countdown__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.timer-val {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timer-lbl {
  font-size: 0.8rem;
  color: var(--text-sub);
  text-transform: lowercase;
  margin-top: 4px;
}

.timer-colon {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: -16px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Section Layout --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 600px;
  margin-bottom: 48px;
}

/* --- Featured Event Section --- */
.featured-card {
  background: linear-gradient(135deg, rgba(22, 35, 56, 0.9), rgba(14, 23, 38, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.featured-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.featured-subtitle {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.featured-meta {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.team-sub {
  font-size: 0.9rem;
  color: var(--accent-orange);
}

/* --- Flotilia Meme Card --- */
.flotilia-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 32, 54, 0.9), rgba(11, 20, 36, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.15);
}

.flotilia-img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.flotilia-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flotilia-card:hover .flotilia-img-wrap img {
  transform: scale(1.06);
}

.flotilia-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  border: 1px solid var(--border-glow);
}

.flotilia-content {
  padding: 32px 32px 32px 0;
}

.flotilia-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.flotilia-text {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --- Location Alert Box --- */
.location-alert {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255, 126, 54, 0.12), rgba(255, 170, 0, 0.08));
  border: 1px solid rgba(255, 126, 54, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.alert-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.alert-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.alert-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* --- Yandex Map Section --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: var(--bg-card);
}

.map-wrapper {
  width: 100%;
  height: 450px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) saturate(1.1);
}

.map-info {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(11, 19, 31, 0.95);
}

.info-item h4 {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.info-item p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* --- Protected Participants Section --- */
.participants-box {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow: hidden;
  min-height: 420px;
}

.participants-blur {
  filter: blur(12px) opacity(0.35);
  pointer-events: none;
  user-select: none;
}

.participants-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(7, 13, 24, 0.8);
  backdrop-filter: blur(10px);
  padding: 32px;
  text-align: center;
  z-index: 10;
}

.lock-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.participants-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.participants-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.participants-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 24px;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.participants-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.participants-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.participants-sheet {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #0b1320;
}

.participants-box.unlocked .participants-sheet {
  min-height: 720px;
}

/* --- Packing Checklist Section --- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.checklist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.checklist-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.1);
}

.checklist-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.checklist-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-sub);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast);
}

.checklist-list label:hover {
  color: var(--text-main);
}

.checklist-list input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
}

.kit-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.kit-box:last-child {
  margin-bottom: 0;
}

.kit-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.kit-box p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* --- History Cards --- */
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.history-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.history-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-year {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(10px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  border: 1px solid var(--border-glow);
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
}

/* --- Photo Gallery --- */
.gallery-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-cyan);
  color: #070D18;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

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

.gallery-status {
  color: var(--text-sub);
  margin-bottom: 18px;
}

#gallery-more {
  display: flex;
  margin: 28px auto 0;
}

#gallery-more[hidden] {
  display: none;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  transition: all var(--transition-normal);
}

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

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* --- FAQ Accordion --- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

/* --- Modals & Lightbox --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #111A2A;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.input-field {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  border-color: var(--accent-cyan);
}

/* Lightbox Modal */
.lightbox-img-wrap {
  max-width: min(92vw, 1200px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  background: #05080f;
}

.lightbox-img-wrap img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin: 0;
  padding: 12px 16px 16px;
  color: var(--text-sub);
  text-align: center;
}

#lightbox-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #FFFFFF;
  font-size: 2rem;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(7, 13, 24, 0.7);
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  z-index: 2;
}

.lightbox-nav--prev { left: 24px; }
.lightbox-nav--next { right: 24px; }

.lightbox-nav:hover,
#lightbox-modal .modal-close:hover {
  color: var(--accent-cyan);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-color);
  background: rgba(5, 9, 16, 0.95);
  padding: 60px 0 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: #FFFFFF;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-stack .btn {
  width: 100%;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.sponsor-link {
  font-weight: 800;
  color: var(--accent-cyan);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .header__inner { height: 64px; gap: 12px; }
  .nav { display: none; }
  .logo { font-size: 1.45rem; }
  #header-cta {
    padding: 10px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 56px;
  }

  .hero__title { font-size: clamp(2.4rem, 14vw, 3.4rem); }
  .hero__subtitle {
    font-size: 1.05rem;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .hero__badge .badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    max-width: 100%;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 12px 6px;
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .stat-divider { display: none; }

  .stat-item {
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: center;
  }

  .stat-num { font-size: 1.25rem; }
  .stat-label {
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: normal;
  }

  .countdown {
    width: 100%;
    padding: 16px 12px;
    margin-bottom: 24px;
  }

  .countdown__header {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
  }

  .countdown__grid { gap: 4px; }

  .timer-box {
    min-width: 0;
    flex: 1;
  }

  .timer-val { font-size: 1.7rem; }
  .timer-lbl { font-size: 0.68rem; }
  .timer-colon {
    font-size: 1.3rem;
    margin-top: -10px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn,
  .featured-header .btn {
    width: 100%;
  }

  .section { padding: 72px 0; }
  .section-subtitle { margin-bottom: 28px; }

  .featured-card { padding: 24px 18px; }
  .featured-title { font-size: 1.7rem; }
  .featured-subtitle { font-size: 1.05rem; }
  .featured-meta { gap: 10px; }
  .meta-item {
    width: 100%;
    font-size: 0.95rem;
  }

  .map-wrapper { height: 280px; }
  .map-info { padding: 20px; }

  .flotilia-card { grid-template-columns: 1fr; }
  .flotilia-content { padding: 24px; }
  .flotilia-img-wrap { height: 220px; }

  .location-alert { padding: 18px; flex-direction: column; }
  .checklist-grid { grid-template-columns: 1fr; }
  .checklist-card { padding: 22px 18px; }

  .gallery-filters { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 0.8rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-item { height: 140px; }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .lightbox-nav--prev { left: 8px; }
  .lightbox-nav--next { right: 8px; }
  #lightbox-modal .modal-close { top: 12px; right: 16px; }

  .footer__inner { gap: 20px; }
}

@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .timer-val { font-size: 1.45rem; }
  .stat-label { font-size: 0.66rem; }
  #header-cta { padding: 8px 12px; font-size: 0.82rem; }
}
