/* =========================================================
   MTÜ Noortealgatuste Tugi — CLEAN STYLE.CSS
   Värvipalett:
   #E9F1CB - hele taust
   #0E3B03 - väga tume roheline
   #5CE413 - ere aktsent
   #254B10 - keskmine roheline
   ========================================================= */

/* =========================================================
   1. RESET + VARIABLES
   Üldised värvid, fondid ja vaikimisi seaded
   ========================================================= */

:root {
  --bg: #e9f1cb;
  --dark: #0e3b03;
  --green: #254b10;
  --accent: #5ce413;
  --white: #ffffff;

  --text: #0e3b03;
  --text-soft: rgba(14, 59, 3, 0.74);
  --text-light: rgba(255, 255, 255, 0.84);

  --border: rgba(14, 59, 3, 0.14);
  --card-bg: rgba(255, 255, 255, 0.76);
  --soft-green: rgba(233, 241, 203, 0.82);

  --shadow: 0 18px 45px rgba(14, 59, 3, 0.10);
  --shadow-strong: 0 25px 60px rgba(14, 59, 3, 0.20);

  --radius-small: 14px;
  --radius-medium: 22px;
  --radius-large: 30px;

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--green);
}

a:hover {
  color: var(--dark);
}

/* =========================================================
   2. HEADER / ÜLEMINE MENÜÜ
   Logo, nimi ja navigatsioon
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(233, 241, 203, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(14, 59, 3, 0.08);
  backdrop-filter: blur(10px);
  padding: 0;
}

/* Kasutus juhul, kui headeris on .header-inner */
.header-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

/* Fallback juhul, kui headeris EI ole .header-inner */
.header:not(:has(.header-inner)) {
  padding: 22px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.logo,
.logo a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.logo-img {
  width: 130px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  flex-shrink: 0;
}

.logo span {
  color: var(--dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav a {
  margin-left: 0;
  color: var(--dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--green);
}

/* =========================================================
   3. HERO / AVALEHE ESIMENE BLOKK
   Pealkiri, kirjeldus ja põhikutse
   ========================================================= */

.hero {
  padding: 105px 8%;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(92, 228, 19, 0.28), transparent 32%),
    linear-gradient(135deg, #e9f1cb 0%, #ffffff 100%);
  color: var(--dark);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  color: var(--dark);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.65;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-small);
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  transition: 0.25s ease;
}

.button:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.gala-button {
  background: #FFF6D0;
  color: #071833;
  border: 2px solid #071833;
}

.gala-button:hover {
  background: #f3e4a5;
  color: #071833;
}

.gala-buttons .gala-primary-button {
  background: #FFF6D0;
  color: #071833;
  border: 1px solid #FFF6D0;
}

.gala-buttons .gala-primary-button:hover {
  background: #f3e6ad;
  color: #071833;
}

/* =========================================================
   4. GENERAL SECTIONS
   Tavalised lehe osad ja üldised pealkirjad
   ========================================================= */

.section {
  padding: 75px 8%;
  background: rgba(255, 255, 255, 0.72);
  margin: 20px auto;
}

.section h2 {
  color: var(--dark);
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(92, 228, 19, 0.16);
  color: var(--green);
  border: 1px solid rgba(92, 228, 19, 0.32);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================================
   5. ABOUT + TEAM / MEIST JA MEESKOND
   Organisatsiooni kirjeldus, juhtkond ja tiimikaardid
   ========================================================= */

.about-section {
  background: rgba(255, 255, 255, 0.76);
}

.about-content {
  max-width: 850px;
  margin-bottom: 38px;
}

.about-intro {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

/* Juhtkond */
.leadership-block {
  width: 100%;
  margin-top: 48px;
  margin-bottom: 54px;
}

.team-subtitle {
  margin-bottom: 24px;
}

.team-subtitle span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(92, 228, 19, 0.16);
  color: var(--dark);
  border: 1px solid rgba(92, 228, 19, 0.35);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.team-subtitle h3 {
  margin: 0;
  color: var(--dark);
  font-size: 30px;
  line-height: 1.2;
}

.team-subtitle-small {
  margin-top: 20px;
  margin-bottom: 24px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 24px;
  max-width: 1100px;
}

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

/* Tiimikaart */
.team-card {
  min-height: 145px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-medium);
  background: var(--soft-green);
  border: 1px solid var(--border);
  color: var(--dark);
  transition: 0.25s ease;
}

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

.leader-card {
  gap: 24px;
  min-height: 170px;
  padding: 28px;
}

.team-photo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 10px 22px rgba(14, 59, 3, 0.18);
}

.leader-card .team-photo {
  width: 92px;
  height: 92px;
  border-radius: 20px;
}

.team-info h3 {
  margin-bottom: 4px;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.2;
}

.leader-card .team-info h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.team-role {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.leader-card .team-role {
  font-size: 15px;
  margin-bottom: 10px;
}

.team-text {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.leader-card .team-text {
  font-size: 15px;
}

.team-contact {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.team-contact:hover {
  text-decoration: underline;
}

/* =========================================================
   6. PROJECTS / PROJEKTID
   Projektikaardid avalehel
   ========================================================= */

.projects-section {
  background: rgba(255, 255, 255, 0.76);
}

.projects-header {
  max-width: 850px;
  margin-bottom: 34px;
}

.projects-header h2 {
  color: var(--dark);
  font-size: 38px;
  margin-bottom: 14px;
}

.projects-header p {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

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

.card {
  padding: 28px;
  border-radius: var(--radius-medium);
  background: var(--soft-green);
  border: 1px solid var(--border);
  color: var(--dark);
  box-shadow: 0 14px 34px rgba(14, 59, 3, 0.08);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(14, 59, 3, 0.13);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.25;
}

.card p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* =========================================================
   7. CONTACT SECTION
   Kontaktiplokk avalehel
   ========================================================= */

.contact {
  background: rgba(233, 241, 203, 0.9);
}

.contact p {
  color: var(--text-soft);
  font-size: 17px;
}

/* =========================================================
   8. NEWSLETTER POPUP
   Hüpikaken infokirjaga liitumiseks
   ========================================================= */

.newsletter-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 59, 3, 0.64);
  backdrop-filter: blur(6px);
}

.newsletter-overlay.active {
  display: flex;
}

.newsletter-popup {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 36px;
  border-radius: 24px;
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 24px 70px rgba(14, 59, 3, 0.26);
  animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.newsletter-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.newsletter-close:hover {
  background: rgba(92, 228, 19, 0.18);
}

.newsletter-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(92, 228, 19, 0.16);
  color: var(--green);
  border: 1px solid rgba(92, 228, 19, 0.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.newsletter-popup h2 {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: 32px;
  line-height: 1.15;
}

.newsletter-popup p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form label {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(92, 228, 19, 0.22);
}

.newsletter-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  color: var(--text-soft);
  line-height: 1.5;
}

.newsletter-consent input {
  margin-top: 4px;
  min-width: 16px;
  min-height: 16px;
}

.newsletter-consent span {
  color: var(--text-soft);
  font-size: 13px;
}

.newsletter-consent a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
}

.newsletter-error {
  display: none;
  margin: 0;
  color: #c62828;
  font-size: 14px;
  line-height: 1.4;
}

.newsletter-error.active {
  display: block;
}

.newsletter-submit {
  margin-top: 8px;
  padding: 15px 18px;
  border: none;
  border-radius: 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.newsletter-submit:hover {
  background: var(--green);
  transform: translateY(-1px);
}

/* =========================================================
   9. BOTTOM NEWSLETTER / ALUMINE INFOKIRI
   Suur infokirja plokk avalehel ja privaatsuspoliitikas
   ========================================================= */

.bottom-newsletter,
.newsletter-section {
  padding: 80px 8%;
  background:
    radial-gradient(circle at top left, rgba(92, 228, 19, 0.18), transparent 35%),
    linear-gradient(180deg, #e9f1cb 0%, #f8fbef 100%);
}

.bottom-newsletter-card,
.newsletter-content {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top right, rgba(92, 228, 19, 0.28), transparent 28%),
    linear-gradient(135deg, var(--dark) 0%, var(--green) 100%);
  color: var(--white);
  box-shadow: var(--shadow-strong);
}

.bottom-newsletter-content,
.bottom-newsletter-form,
.newsletter-text,
.newsletter-form {
  position: relative;
  z-index: 1;
}

.bottom-newsletter-label,
.newsletter-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e9f1cb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.bottom-newsletter h2,
.newsletter-text h2 {
  margin: 0 0 16px;
  max-width: 560px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.bottom-newsletter-content p,
.newsletter-text p {
  max-width: 560px;
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.7;
}

.bottom-newsletter-form,
.newsletter-content .newsletter-form {
  align-self: center;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.bottom-newsletter-row,
.newsletter-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.bottom-newsletter-row input,
.newsletter-input-row input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(14, 59, 3, 0.14);
  border-radius: 14px;
  outline: none;
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
}

.bottom-newsletter-row input:focus,
.newsletter-input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(92, 228, 19, 0.22);
}

.bottom-newsletter-row button,
.newsletter-input-row button {
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.bottom-newsletter-row button:hover,
.newsletter-input-row button:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-1px);
}

.bottom-newsletter-consent,
.newsletter-content .newsletter-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
  line-height: 1.5;
}

.bottom-newsletter-consent input,
.newsletter-content .newsletter-consent input {
  margin-top: 4px;
  min-width: 16px;
  min-height: 16px;
}

.bottom-newsletter-consent span,
.newsletter-content .newsletter-consent span {
  color: rgba(255, 255, 255, 0.90);
}

.bottom-newsletter-consent a,
.newsletter-content .newsletter-consent a {
  color: var(--white);
  font-weight: 900;
}

.bottom-newsletter-note,
.newsletter-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.bottom-newsletter-message {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 900;
}

/* =========================================================
   10. PRIVACY PAGE / PRIVAATSUSPOLIITIKA
   Uus roheline loetav privaatsuspoliitika disain
   ========================================================= */

.privacy-new-hero {
  padding: 90px 8% 70px;
  background:
    radial-gradient(circle at top right, rgba(92, 228, 19, 0.22), transparent 34%),
    linear-gradient(135deg, var(--dark) 0%, var(--green) 100%);
  color: var(--white);
}

.privacy-new-container {
  max-width: 1180px;
  margin: 0 auto;
}

.privacy-new-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(233, 241, 203, 0.14);
  border: 1px solid rgba(233, 241, 203, 0.28);
  color: var(--bg);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.privacy-new-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.privacy-new-hero p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.6;
}

.privacy-new-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.privacy-new-meta div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(233, 241, 203, 0.1);
  border: 1px solid rgba(233, 241, 203, 0.2);
}

.privacy-new-meta span {
  display: block;
  margin-bottom: 8px;
  color: rgba(233, 241, 203, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.privacy-new-meta strong {
  color: var(--white);
  font-size: 18px;
}

.privacy-new-page {
  padding: 70px 8%;
  background:
    radial-gradient(circle at top left, rgba(92, 228, 19, 0.12), transparent 30%),
    var(--bg);
}

.privacy-new-intro {
  max-width: 1180px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
}

.privacy-intro-card,
.privacy-side-card,
.privacy-new-card,
.privacy-contact-panel {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.privacy-intro-card,
.privacy-side-card,
.privacy-new-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

.privacy-intro-card {
  padding: 40px;
}

.privacy-side-card {
  padding: 34px;
}

.privacy-intro-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.privacy-intro-card h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--dark);
  font-size: 38px;
  line-height: 1.15;
}

.privacy-intro-card p,
.privacy-side-card ul {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.privacy-side-card h3 {
  margin: 0 0 18px;
  color: var(--dark);
  font-size: 24px;
}

.privacy-side-card ul {
  margin: 0;
  padding-left: 20px;
}

.privacy-new-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.privacy-new-card {
  position: relative;
  padding: 34px;
  transition: 0.25s ease;
}

.privacy-new-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(14, 59, 3, 0.12);
}

.privacy-card-number {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
}

.privacy-new-card h3 {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: 25px;
  line-height: 1.2;
}

.privacy-new-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.75;
}

.privacy-new-card a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
}

.privacy-contact-panel {
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(circle at top right, rgba(92, 228, 19, 0.24), transparent 32%),
    linear-gradient(135deg, var(--dark), var(--green));
  color: var(--white);
}

.privacy-contact-panel span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--bg);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.privacy-contact-panel h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 34px;
}

.privacy-contact-panel p {
  max-width: 720px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.65;
}

.privacy-contact-button {
  flex-shrink: 0;
  display: inline-block;
  padding: 15px 24px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 900;
  text-decoration: none;
}

.privacy-contact-button:hover {
  background: var(--bg);
  color: var(--dark);
}

/* =========================================================
   11. FOOTER / ALUMINE OSA
   Kontaktid, lingid ja sotsiaalmeedia
   ========================================================= */

.site-footer,
.footer {
  padding: 70px 8% 28px;
  background:
    radial-gradient(circle at top right, rgba(92, 228, 19, 0.18), transparent 28%),
    linear-gradient(135deg, var(--dark) 0%, var(--green) 100%);
  color: var(--white);
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-brand h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 26px;
}

.footer-brand p {
  max-width: 390px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-socials a svg,
.footer-socials a img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-column h4 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  line-height: 1.5;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--container);
  margin: 55px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Vana lihtne footer, kui mõnel lehel on .footer-container */
.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* =========================================================
   12. RESPONSIVE / TELEFON JA TAHVEL
   Väiksemate ekraanide jaoks
   ========================================================= */

@media (max-width: 1050px) {
  .header-inner,
  .header:not(:has(.header-inner)) {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 5%;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
    gap: 14px 20px;
  }

  .leadership-grid,
  .team-grid,
  .privacy-new-intro,
  .privacy-new-grid,
  .privacy-new-meta,
  .bottom-newsletter-card,
  .newsletter-content {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 6%;
  }

  .section,
  .bottom-newsletter,
  .newsletter-section,
  .privacy-new-page {
    padding: 50px 6%;
  }

  .privacy-new-hero {
    padding: 70px 6% 50px;
  }

  .hero h1,
  .privacy-new-hero h1 {
    font-size: 40px;
  }

  .hero p,
  .privacy-new-hero p {
    font-size: 18px;
  }

  .section h2,
  .projects-header h2,
  .about-section h2,
  .privacy-intro-card h2 {
    font-size: 30px;
  }

  .team-card,
  .leader-card {
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .team-photo,
  .leader-card .team-photo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

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

  .team-subtitle h3 {
    font-size: 24px;
  }

  .bottom-newsletter-card,
  .newsletter-content,
  .newsletter-popup,
  .privacy-intro-card,
  .privacy-side-card,
  .privacy-new-card,
  .privacy-contact-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .bottom-newsletter-row,
  .newsletter-input-row {
    flex-direction: column;
  }

  .bottom-newsletter-row button,
  .newsletter-input-row button,
  .privacy-contact-button {
    width: 100%;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom,
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }

  .logo,
  .logo a {
    font-size: 20px;
  }

  .logo-img {
    width: 95px;
    height: 52px;
  }
}
/* ========================= */
/* TUNNUSTUSGALA PAGE */
/* ========================= */

.gala-hero {
  padding: 110px 8%;
  background:
    linear-gradient(rgba(7, 24, 51, 0.72), rgba(7, 24, 51, 0.88)),
    linear-gradient(135deg, #1f5eff, #071833);
  color: #ffffff;
}

/* Этот код должен быть уже после закрывающей скобки */

body.gala-page {
  background-color: #FFF6D0 !important;
}

body.gala-page main {
  background-color: #FFF6D0 !important;
}

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

.gala-label {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #dbe7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.gala-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
}

.gala-hero p {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #dce6f7;
  font-size: 20px;
  line-height: 1.7;
}

.gala-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gala-secondary-button {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.gala-secondary-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Kiirinfo */

.gala-information {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: -45px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.gala-information-card {
  padding: 26px;
  border: 1px solid #dce4f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(7, 24, 51, 0.1);
}

.gala-information-card span {
  display: block;
  margin-bottom: 8px;
  color: #627089;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gala-information-card strong {
  color: #071833;
  font-size: 20px;
}

/* Üldised gala sektsioonid */

.gala-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 20px;
}

.gala-section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.gala-section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #1f5eff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.gala-section h2,
.gala-nomination h2 {
  margin-bottom: 18px;
  color: #071833;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.gala-section p {
  color: #4d5b71;
  font-size: 18px;
  line-height: 1.7;
}

/* Sündmusest */

.gala-about-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 30px;
  align-items: stretch;
}

.gala-about-text {
  padding: 34px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(7, 24, 51, 0.07);
}

.gala-about-text p + p {
  margin-top: 18px;
}

.gala-highlight-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  padding: 30px;
  border-radius: 22px;
  background: #1f5eff;
  color: #ffffff;
  text-align: center;
}

.gala-highlight-card strong {
  font-size: 72px;
  line-height: 1;
}

.gala-highlight-card span {
  margin-top: 12px;
  font-size: 18px;
}

/* Kategooriad */

.gala-categories-section {
  max-width: none;
  padding-left: 8%;
  padding-right: 8%;
  background: #eef4ff;
}

.gala-categories-section .gala-section-heading,
.gala-categories {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.gala-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gala-category-card {
  padding: 30px;
  border: 1px solid #d9e3f2;
  border-radius: 20px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gala-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(7, 24, 51, 0.1);
}

.gala-category-card > span {
  display: block;
  margin-bottom: 08px;
  color: #1f5eff;
  font-size: 50px;
  font-weight: 800;
}

.gala-category-card h3 {
  margin-bottom: 12px;
  color: #071833;
  font-size: 23px;
}

.gala-category-card p {
  color: #526177;
  font-size: 16px;
  line-height: 1.65;
}

/* Kandidaadi esitamine */

.gala-nomination {
  padding: 90px 20px;
  background: #071833;
  color: #ffffff;
}

.gala-nomination-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.gala-nomination h2 {
  color: #ffffff;
}

.gala-nomination p {
  margin-bottom: 28px;
  color: #d5e1f3;
  font-size: 18px;
  line-height: 1.7;
}

.gala-nomination small {
  display: block;
  margin-top: 18px;
  color: #9fb0ca;
}

/* Kontakt */

.gala-contact {
  text-align: center;
}

.gala-contact a {
  color: #1f5eff;
  font-weight: 700;
}

/* Projekti kaart avalehel */

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card-more {
  display: inline-block;
  margin-top: 18px;
  color: #1f5eff;
  font-weight: 700;
}

/* Telefon ja tahvel */

@media (max-width: 850px) {
  .gala-information {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .gala-about-grid {
    grid-template-columns: 1fr;
  }

  .gala-categories {
    grid-template-columns: 1fr;
  }

  .gala-hero {
    padding: 80px 20px;
  }
}
body.gala-page {
  background-color: #FFF6D0 !important;
}

body.gala-page main {
  background-color: #FFF6D0 !important;
}

body.gala-page .gala-section {
  background-color: transparent;
}
/* ========================= */
/* PROJEKTIKIRJUTAMISE LAAGER */
/* ========================= */

/* Laagri ülemine osa */

.camp-hero {
  position: relative;
  overflow: hidden;

  padding: 100px 8% 150px;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(46, 180, 138, 0.25),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(61, 126, 196, 0.22),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #082f27 0%,
      #0e493b 50%,
      #123d52 100%
    );

  color: #ffffff;
}

.camp-hero-content {
  position: relative;
  z-index: 1;

  max-width: 940px;
  margin: 0 auto;

  text-align: center;
}

.camp-label {
  display: inline-block;

  margin-bottom: 24px;
  padding: 9px 17px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
  color: #c8f4e5;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.camp-hero h1 {
  max-width: 920px;
  margin: 0 auto 24px;

  color: #ffffff;

  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.08;
}

.camp-hero p {
  max-width: 760px;
  margin: 0 auto 36px;

  color: #d9e9e5;

  font-size: 19px;
  line-height: 1.7;
}

/* Nupud */

.camp-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.camp-buttons .button {
  display: inline-block;

  padding: 15px 28px;

  border-radius: 12px;
  background: #2baa82;
  color: #ffffff;

  font-weight: 800;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.camp-buttons .button:hover {
  background: #238e6d;
  transform: translateY(-2px);
}

.camp-secondary-button {
  display: inline-block;

  padding: 14px 28px;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;

  font-weight: 800;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.camp-secondary-button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Kiirinfo */

.camp-information {
  position: relative;
  z-index: 5;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;

  max-width: 1180px;
  margin: -55px auto 0;
  padding: 0 20px;
}

.camp-information-card {
  min-height: 130px;
  padding: 26px;

  border: 1px solid #dce7e2;
  border-radius: 20px;

  background: #ffffff;
  box-shadow: 0 16px 38px rgba(8, 48, 37, 0.12);
}

.camp-information-card span {
  display: block;

  margin-bottom: 10px;

  color: #62756e;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.camp-information-card strong {
  color: #102d25;

  font-size: 19px;
  line-height: 1.4;
}

/* Üldised sektsioonid */

.camp-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 20px;
}

.camp-section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.camp-section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #168a70;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.camp-section h2,
.camp-audience h2,
.camp-program h2,
.camp-registration h2 {
  margin-bottom: 18px;
  color: #071833;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.camp-section p,
.camp-audience p,
.camp-program p {
  color: #4d5b71;
  font-size: 18px;
  line-height: 1.7;
}

/* Laagrist */

.camp-about-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 30px;
}

.camp-about-text {
  padding: 35px;
  border: 1px solid #e1e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(7, 24, 51, 0.06);
}

.camp-about-text p + p {
  margin-top: 18px;
}

.camp-highlight-card {
  display: flex;
  min-height: 250px;
  padding: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #168a70, #0c6755);
  color: #ffffff;
  text-align: center;
}

.camp-highlight-card strong {
  font-size: 76px;
  line-height: 1;
}

.camp-highlight-card span {
  max-width: 190px;
  margin-top: 13px;
  font-size: 18px;
  line-height: 1.4;
}

/* Kellele */

.camp-audience {
  padding: 90px 8%;
  background: #edf7f4;
}

.camp-audience-container {
  max-width: 1180px;
  margin: 0 auto;
}

.camp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.camp-audience-card {
  padding: 31px;
  border: 1px solid #d6e8e2;
  border-radius: 22px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.camp-audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 42px rgba(7, 24, 51, 0.09);
}

.camp-audience-card > span {
  display: block;
  margin-bottom: 22px;
  color: #168a70;
  font-size: 14px;
  font-weight: 900;
}

.camp-audience-card h3 {
  margin-bottom: 13px;
  color: #071833;
  font-size: 23px;
}

.camp-audience-card p {
  font-size: 16px;
  line-height: 1.65;
}

/* Oskused */

.camp-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.camp-skill-card {
  display: flex;
  gap: 20px;
  padding: 27px;
  border: 1px solid #e0e7ef;
  border-radius: 20px;
  background: #ffffff;
}

.camp-skill-icon {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e5f5f0;
  color: #168a70;
  font-weight: 900;
}

.camp-skill-card h3 {
  margin-bottom: 8px;
  color: #071833;
  font-size: 20px;
}

.camp-skill-card p {
  font-size: 16px;
  line-height: 1.6;
}

/* Programm */

.camp-program {
  padding: 90px 8%;
  background: #071833;
}

.camp-program-container {
  max-width: 1180px;
  margin: 0 auto;
}

.camp-program h2 {
  color: #ffffff;
}

.camp-program .camp-section-heading p {
  color: #c9d6e8;
}

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

.camp-day-card {
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.camp-day-number {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #168a70;
  font-size: 13px;
  font-weight: 900;
}

.camp-day-card h3 {
  margin-bottom: 20px;
  font-size: 25px;
}

.camp-day-card ul {
  padding-left: 20px;
  color: #d5e1f0;
  line-height: 1.9;
}

/* Registreerimine */

.camp-registration {
  padding: 95px 20px;
  background:
    radial-gradient(circle at right top, rgba(22, 138, 112, 0.18), transparent 34%),
    #f4f8fb;
}

.camp-registration-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.camp-registration p {
  margin-bottom: 29px;
  color: #526177;
  font-size: 18px;
  line-height: 1.7;
}

.camp-registration small {
  display: block;
  margin-top: 18px;
  color: #6d798b;
}

/* Kontakt */

.camp-contact {
  text-align: center;
}

.camp-contact a {
  color: #168a70;
  font-weight: 800;
}

/* Telefon ja tahvel */

@media (max-width: 950px) {
  .camp-information {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 25px;
  }

  .camp-about-grid {
    grid-template-columns: 1fr;
  }

  .camp-audience-grid {
    grid-template-columns: 1fr;
  }

  .camp-skills-grid {
    grid-template-columns: 1fr;
  }

  .camp-days {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .camp-hero {
    padding: 78px 20px;
  }

  .camp-information {
    grid-template-columns: 1fr;
  }

  .camp-information-card {
    padding: 21px;
  }

  .camp-section,
  .camp-audience,
  .camp-program,
  .camp-registration {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .camp-skill-card {
    flex-direction: column;
  }
}

/* ================================================= */
/* RESPONSIVE — töötab ainult väiksematel ekraanidel */
/* Tavalisel arvutil jääb olemasolev disain samaks */
/* ================================================= */

/* Pildid ei lähe ekraanist välja */

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

/* ================================================= */
/* TAHVEL — kuni 1000 px */
/* ================================================= */

@media (max-width: 1000px) {

  /* Päis */

  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  /* Gala ja laagri infokaardid */

  .gala-information,
  .camp-information {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 25px;
  }

  /* Kaheveerulised blokid muutuvad üheveeruliseks */

  .gala-about-grid,
  .camp-about-grid,
  .camp-days,
  .privacy-page,
  .bottom-newsletter-card {
    grid-template-columns: 1fr;
  }

  /* Footer */

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================= */
/* TELEFON — kuni 700 px */
/* ================================================= */

@media (max-width: 700px) {

  body {
    overflow-x: hidden;
  }

  /* Päis */

  .header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 18px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .nav {
    width: 100%;
    gap: 8px 14px;
  }

  .nav a {
    margin: 0;
    font-size: 13px;
    text-align: center;
  }

  /* Väike lehemenüü */

  .page-subnav {
    position: relative;
    top: 0;
  }

  .page-subnav-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  /* Avalehe ülaosa */

  .hero {
    padding: 65px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  /* Gala ja laagri ülaosa */

  .gala-hero,
  .camp-hero,
  .privacy-hero {
    padding: 65px 20px;
  }

  .gala-hero h1,
  .camp-hero h1,
  .privacy-hero h1 {
    font-size: 38px;
  }

  .gala-hero p,
  .camp-hero p,
  .privacy-hero p {
    font-size: 17px;
  }

  /* Sektsioonid */

  .section,
  .gala-section,
  .camp-section,
  .camp-audience,
  .camp-program,
  .camp-registration {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Kaardid üheks veeruks */

  .cards,
  .gala-categories,
  .camp-audience-grid,
  .camp-skills-grid,
  .gala-information,
  .camp-information {
    grid-template-columns: 1fr;
  }

  .gala-information,
  .camp-information {
    margin-top: 24px;
  }

  /* Nupud */

  .gala-buttons,
  .camp-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .gala-buttons a,
  .camp-buttons a {
    width: 100%;
    text-align: center;
  }

  /* Infokiri */

  .bottom-newsletter {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bottom-newsletter-card {
    padding: 30px 22px;
  }

  .bottom-newsletter-row {
    flex-direction: column;
  }

  .bottom-newsletter-row button {
    width: 100%;
  }

  /* Privaatsuspoliitika */

  .privacy-content {
    padding: 30px 22px;
  }

  /* Footer */

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================================= */
/* VÄGA VÄIKE TELEFON — kuni 430 px */
/* ================================================= */

@media (max-width: 430px) {

  .nav {
    flex-direction: column;
  }

  .nav a {
    width: 100%;
    padding: 4px 0;
  }

  .hero,
  .gala-hero,
  .camp-hero,
  .privacy-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .gala-section,
  .camp-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card,
  .gala-category-card,
  .camp-audience-card,
  .camp-information-card,
  .gala-information-card {
    padding: 22px;
  }
}

/* ========================= */
/* GALA COUNTDOWN */
/* ========================= */

.gala-countdown {
  margin-top: 34px;
  padding: 32px;

  border: 1px solid #d8e3ff;
  border-radius: 24px;

  background:
    radial-gradient(
      circle at right top,
      rgba(42, 99, 255, 0.17),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f1f5ff 100%
    );

  box-shadow: 0 16px 42px rgba(7, 24, 51, 0.08);
}

.gala-countdown-heading {
  margin-bottom: 25px;
  text-align: center;
}

.gala-countdown-heading span {
  display: block;
  margin-bottom: 8px;

  color: #2a63ff;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.gala-countdown-heading h3 {
  margin: 0;

  color: #071833;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.gala-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gala-countdown-item {
  display: flex;
  min-height: 125px;
  padding: 20px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid #dce5f7;
  border-radius: 18px;

  background: #ffffff;
  text-align: center;
}

.gala-countdown-item strong {
  color: #2a63ff;

  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  line-height: 1;

  font-variant-numeric: tabular-nums;
}

.gala-countdown-item span {
  margin-top: 10px;

  color: #526177;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gala-countdown-finished {
  margin: 22px 0 0;

  color: #2a63ff;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

/* Телефон */

@media (max-width: 700px) {
  .gala-countdown {
    padding: 24px 18px;
  }

  .gala-countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gala-countdown-item {
    min-height: 110px;
    padding: 16px 10px;
  }
}