:root {
  --primary: #2563eb;
  --secondary: #93c5fd;
  --bg-light: #f0f7ff;
  --bg-mid: #e0efff;
  --text-main: #1e293b;
  --text-soft: #64748b;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(37, 99, 235, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 10% 20%, #f8fafc, var(--bg-light) 58%);
  min-height: 100vh;
  overflow-x: hidden;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

#bg-canvas {
  display: none;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(37, 99, 235, 0.14), rgba(147, 197, 253, 0.12)),
    url("Images/microchip.png") center / 130% auto no-repeat;
  opacity: 0.05;
  animation: chipDrift 15s ease-in-out infinite alternate;
}

.tech-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  display: block;
}

.tech-decor .tech-shape {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.34;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.16));
}

.tech-decor .ring {
  background-image: url("Images/cogwheel.png");
}

.tech-decor .cube,
.tech-decor .line {
  background-image: url("Images/cogwheel2.png");
}

.tech-decor .ring-a {
  width: 120px;
  height: 120px;
  left: 36%;
  top: 8%;
  animation: gearSpinClockwise 12s linear infinite;
}

.tech-decor .ring-b {
  width: 150px;
  height: 150px;
  right: 12%;
  top: 36%;
  animation: gearSpinCounter 15s linear infinite;
}

.tech-decor .cube-a {
  width: 95px;
  height: 95px;
  left: 64%;
  bottom: 12%;
  animation: gearSpinClockwise 9s linear infinite;
}

.tech-decor .cube-b {
  width: 110px;
  height: 110px;
  left: 12%;
  bottom: 24%;
  animation: gearSpinCounter 13s linear infinite;
}

.tech-decor .line-a {
  width: 88px;
  height: 88px;
  right: 32%;
  top: 20%;
  animation: gearSpinClockwise 8s linear infinite;
}

.tech-decor .line-b {
  width: 102px;
  height: 102px;
  right: 4%;
  bottom: 8%;
  animation: gearSpinCounter 10s linear infinite;
}

body::before,
body::after,
.bg-overlay::before,
.bg-overlay::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.45;
  filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.2));
}

body::before {
  width: 170px;
  height: 170px;
  left: 3%;
  top: 14%;
  background-image: url("Images/cogwheel.png");
  animation: gearSpinClockwise 16s linear infinite;
}

body::after {
  width: 210px;
  height: 210px;
  right: 5%;
  top: 60%;
  background-image: url("Images/cogwheel2.png");
  opacity: 0.52;
  animation: gearSpinCounter 21s linear infinite;
}

.bg-overlay::before {
  width: 110px;
  height: 110px;
  left: 20%;
  bottom: 6%;
  background-image: url("Images/cogwheel2.png");
  opacity: 0.36;
  animation: gearSpinClockwise 11s linear infinite;
}

.bg-overlay::after {
  width: 145px;
  height: 145px;
  right: 28%;
  top: 10%;
  background-image: url("Images/cogwheel.png");
  opacity: 0.35;
  animation: gearSpinCounter 14s linear infinite;
}

@keyframes chipDrift {
  0% { background-position: center, 40% 44%; }
  100% { background-position: center, 60% 56%; }
}

@keyframes gearSpinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gearSpinCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes campGridShift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-52px, -52px);
  }
}

@keyframes campFrameGlow {
  from {
    box-shadow:
      0 12px 28px rgba(37, 99, 235, 0.12),
      inset 0 0 52px transparent;
  }
  to {
    box-shadow:
      0 22px 48px rgba(37, 99, 235, 0.2),
      0 0 56px rgba(96, 165, 250, 0.1),
      inset 0 0 70px rgba(37, 99, 235, 0.04);
  }
}

@keyframes campHeroGlow {
  from {
    text-shadow:
      0 0 0 transparent,
      0 0 0 transparent;
    filter: drop-shadow(0 0 0 transparent);
  }
  to {
    text-shadow:
      0 0 28px rgba(37, 99, 235, 0.12),
      0 4px 20px rgba(147, 197, 253, 0.2);
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.11));
  }
}

@keyframes campScanSweep {
  from {
    transform: translateY(-35%);
    opacity: 0.15;
  }
  50% {
    opacity: 0.45;
  }
  to {
    transform: translateY(340%);
    opacity: 0.12;
  }
}

@keyframes campCornerPulse {
  0% {
    opacity: 0.5;
    box-shadow: 0 0 8px transparent;
  }
  45% {
    opacity: 0.95;
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.45);
  }
  100% {
    opacity: 0.6;
    box-shadow: 0 0 6px transparent;
  }
}

@keyframes campIconHud {
  from {
    box-shadow:
      inset 0 0 0 0 transparent,
      0 0 0 transparent;
    filter: saturate(1);
  }
  50% {
    box-shadow:
      inset 0 0 22px rgba(147, 197, 253, 0.18),
      0 8px 22px rgba(37, 99, 235, 0.1);
    filter: saturate(1.06);
  }
  to {
    box-shadow:
      inset 0 0 0 0 transparent,
      0 0 0 transparent;
    filter: saturate(1);
  }
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
}

.logo {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  text-decoration: none;
}

/* Header brand: robot icon always visible; wordmark slides out on hover/focus */
.logo.logo-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-brand-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-mark {
  width: clamp(36px, 9vw, 44px);
  height: clamp(36px, 9vw, 44px);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.logo-name-track {
  overflow: hidden;
  max-width: 0;
  opacity: 1;
  transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1), margin 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  margin-left: 0;
}

.logo-brand:hover .logo-name-track,
.logo-brand:focus-visible .logo-name-track {
  max-width: min(260px, 55vw);
  margin-left: 0.4rem;
}

.logo-name-img {
  height: clamp(20px, 5.5vw, 30px);
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  transform: translateY(2px);
}

@media (prefers-reduced-motion: reduce) {
  .logo-name-track {
    transition-duration: 0.01ms;
  }
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #1e40af;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
  text-decoration: none;
  color: #475569;
  transition: color 200ms ease;
}

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

.nav-links a.is-active {
  color: var(--primary);
  font-weight: 800;
}

main section {
  margin-top: 6rem;
}

.hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.5rem 0.5rem;
}

.hero-content {
  display: grid;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(37, 99, 235, 0.22));
}

.eyebrow {
  color: #1d4ed8;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1,
h2,
h3 {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.3rem);
  color: var(--primary);
  text-shadow: 0 0 24px rgba(37, 99, 235, 0.4);
}

.tagline {
  max-width: 60ch;
  color: #334155;
  line-height: 1.6;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: #334155;
  font-weight: 600;
  font-size: 1.05rem;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-highlights li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}

.btn {
  width: fit-content;
  text-decoration: none;
  border: 0;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.4px;
  cursor: pointer;
  border-radius: 12px;
  padding: 0.85rem 1.3rem;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.primary-btn,
.submit-btn {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #f8fafc;
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.35), 0 12px 28px rgba(37, 99, 235, 0.35);
}

/* Robotic hover effect with slight mechanical snap. */
.btn:hover {
  transform: translateY(-3px) skewX(-2deg);
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.55), 0 18px 28px rgba(37, 99, 235, 0.45);
  filter: saturate(1.1);
}

.about p,
.contact p {
  max-width: 70ch;
  color: var(--text-soft);
  line-height: 1.7;
}

.about,
.workshops,
.gallery,
.contact {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

/* „Kas mes?“: tekstas | paveikslėlis iki sekcijos kraštų (be tarpo dešinėje / viršuje / apačioje) */
.about.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0;
  padding: 0;
  align-items: stretch;
  overflow: hidden;
}

.about-split .about-text-wrap {
  padding: clamp(1.1rem, 3vw, 1.55rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.about-split .about-text-wrap h2 {
  font-size: clamp(1.65rem, 4vw, 2.05rem);
  color: var(--primary);
}

.about-split .about-text-wrap p {
  max-width: none;
  margin: 0;
}

.about-split .about-visual {
  min-height: clamp(500px, 32vw, 340px);
  position: relative;
}

.about-split .about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

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

  .about-split .about-visual {
    min-height: 200px;
  }
}

.card-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.2rem;
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.glass-card p {
  color: var(--text-soft);
  line-height: 1.55;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.55);
  background: rgba(255, 255, 255, 0.92);
}

.gallery-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.45);
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.gallery-slider {
  margin-top: 1.2rem;
  position: relative;
}

.gallery-track {
  display: flex;
  transition: transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  border-radius: 16px;
}

.gallery-viewport {
  min-height: 300px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.14);
}

.gallery-slide {
  flex: 0 0 calc(100% / 3);
  margin: 0;
  padding: 0.2rem;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.9);
  color: #1e40af;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.gallery-arrow-prev { left: 0.7rem; }
.gallery-arrow-next { right: 0.7rem; }

.gallery-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(37, 99, 235, 0.28);
  cursor: pointer;
}

.gallery-dot.is-active {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.38);
}

.services-page {
  margin-top: 5rem;
  background:
    radial-gradient(circle at 8% 10%, rgba(37, 99, 235, 0.14), transparent 30%),
    radial-gradient(circle at 92% 90%, rgba(147, 197, 253, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  position: relative;
  overflow: hidden;
}

.services-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
  opacity: 0.35;
}

.services-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.services-kicker {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1.3px;
  font-size: 0.8rem;
}

.services-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569;
  border: 1px solid rgba(37, 99, 235, 0.4);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.12);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 rgba(37, 99, 235, 0.6);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.services-stats {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stat-chip {
  min-width: 120px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.stat-chip strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
}

.stat-chip span {
  color: #64748b;
  font-size: 0.84rem;
}

.services-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
}

.services-subtitle {
  margin-top: 0.6rem;
  color: var(--text-soft);
  max-width: 62ch;
}

.service-grid {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.96));
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
}

.service-card:has(.service-card-hit) {
  cursor: pointer;
}

/* Visa kortelė paspaudžiama (užsiėmimai.html) */
.service-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.service-card-hit:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 16px 26px rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.55);
}

.service-card:hover::after {
  border-color: rgba(37, 99, 235, 0.36);
}

.service-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  pointer-events: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1e3a5f;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(37, 99, 235, 0.35);
  backdrop-filter: blur(5px);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.service-card-body {
  padding: 1rem;
}

.service-status {
  margin: 0 0 0.35rem;
  color: #1e40af;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card-body p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
}

.service-link {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  pointer-events: none;
}

.service-link::after {
  content: ">";
  transition: transform 180ms ease;
}

.service-card:hover .service-link::after {
  transform: translateX(3px);
}

.service-card-robotics {
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.13);
}

.service-card-steam {
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.14);
}

.service-card-math {
  box-shadow: 0 8px 16px rgba(147, 197, 253, 0.22);
}

.robotics-page {
  margin-top: 5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.robotics-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

/* Vasaros stovykla — layered grid, glow, HUD corners, sweep */
.robotics-page.camp-page {
  position: relative;
  isolation: isolate;
  animation: campFrameGlow 14s ease-in-out infinite alternate;
}

.robotics-page.camp-page::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(37, 99, 235, 0.055) 0 1px,
      transparent 1px 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(147, 197, 253, 0.045) 0 1px,
      transparent 1px 44px
    );
  opacity: 0.55;
  animation: campGridShift 42s linear infinite;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.robotics-page.camp-page > *:not(.camp-fx-scan):not(.camp-fx-corner) {
  position: relative;
  z-index: 3;
}

.camp-page .camp-fx-corner,
.camp-page .camp-fx-scan {
  pointer-events: none;
}

.camp-page .camp-fx-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
}

.camp-page .camp-fx-scan::after {
  content: "";
  position: absolute;
  left: -38%;
  right: -38%;
  height: min(120px, 22%);
  top: -25%;
  background: linear-gradient(
    172deg,
    transparent 15%,
    rgba(147, 197, 253, 0.08) 48%,
    rgba(96, 165, 250, 0.1) 50%,
    rgba(147, 197, 253, 0.08) 52%,
    transparent 85%
  );
  animation: campScanSweep 16s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.camp-page .camp-fx-corner {
  position: absolute;
  width: clamp(26px, 5vw, 38px);
  height: clamp(26px, 5vw, 38px);
  border: 2px solid rgba(37, 99, 235, 0.45);
  border-radius: 4px;
  z-index: 2;
  animation: campCornerPulse 12s ease-in-out infinite alternate;
}

.camp-page .camp-fx-corner--tl {
  top: 0.72rem;
  left: 0.72rem;
  border-right: none;
  border-bottom: none;
}

.camp-page .camp-fx-corner--tr {
  top: 0.72rem;
  right: 0.72rem;
  border-left: none;
  border-bottom: none;
  animation-delay: 1s;
}

.camp-page .camp-fx-corner--bl {
  bottom: 0.72rem;
  left: 0.72rem;
  border-right: none;
  border-top: none;
  animation-delay: 2.2s;
}

.camp-page .camp-fx-corner--br {
  bottom: 0.72rem;
  right: 0.72rem;
  border-left: none;
  border-top: none;
  animation-delay: 3.6s;
}

.camp-pamainos-heading {
  margin: 1.25rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.camp-page .camp-hero-title {
  line-height: 1.28;
  animation: campHeroGlow 9s ease-in-out infinite alternate;
}

.camp-heading-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(147, 197, 253, 0.42), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.28);
  color: var(--primary);
}

.camp-heading-icon svg {
  width: 22px;
  height: 22px;
}

.camp-page .camp-heading-icon {
  transition:
    transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 380ms ease,
    border-color 280ms ease;
}

.camp-page .camp-heading-icon:hover {
  transform: rotate(-6deg) scale(1.08);
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.2),
    0 0 18px rgba(147, 197, 253, 0.45);
}

.camp-page .camp-city-head-icon,
.camp-page .camp-meta-icon svg {
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 300ms ease;
}

.camp-page .camp-city-card:hover .camp-city-head-icon svg {
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.5));
}

.camp-page .camp-city-head:hover .camp-meta-icon svg {
  transform: scale(1.05);
}

.camp-page .camp-city-head:focus-within .camp-city-head-icon svg {
  transform: scale(1.08);
}

.camp-heading-icon-rocket {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.35), rgba(37, 99, 235, 0.12));
}

.camp-cities-grid {
  margin-top: 0.85rem;
}

.camp-city-card {
  margin-top: 0;
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    transform 340ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 340ms ease,
    border-color 320ms ease;
}

.camp-page .camp-city-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow:
    0 22px 48px rgba(37, 99, 235, 0.16),
    0 0 0 1px rgba(147, 197, 253, 0.38),
    0 0 32px rgba(96, 165, 250, 0.14);
}

.camp-page .camp-city-card:active {
  transform: translateY(-2px);
}

.camp-city-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.camp-city-head-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(147, 197, 253, 0.45), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.26);
}

.camp-city-head-icon svg {
  width: 24px;
  height: 24px;
}

.camp-city-head-text {
  min-width: 0;
}

.camp-city-head-text h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: #1e40af;
}

.camp-meta-row {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}

.camp-meta-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-soft);
}

.camp-meta-icon {
  display: grid;
  place-items: center;
  color: var(--primary);
}

.camp-meta-icon svg {
  width: 16px;
  height: 16px;
}

.camp-table-wrap {
  overflow-x: auto;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  -webkit-overflow-scrolling: touch;
}

.camp-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.camp-data-table thead th {
  text-align: left;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(147, 197, 253, 0.2));
  color: #1e3a5f;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(37, 99, 235, 0.22);
}

.camp-data-table tbody td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--text-main);
  font-weight: 600;
}

.camp-data-table tbody tr:nth-child(even) td {
  background: rgba(239, 246, 255, 0.45);
}

.camp-data-table tbody tr:last-child td {
  border-bottom: none;
}

.camp-page .camp-data-table tbody td {
  transition: background 230ms ease, color 230ms ease;
}

.camp-page .camp-data-table tbody tr:hover td {
  background: rgba(191, 219, 254, 0.55);
  color: #0f172a;
}

.camp-page .camp-data-table thead th {
  transition: filter 260ms ease, box-shadow 260ms ease;
}

.camp-page .camp-table-wrap:hover .camp-data-table thead th {
  filter: saturate(1.08);
  box-shadow: inset 0 -2px 0 rgba(96, 165, 250, 0.35);
}

.camp-th-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.camp-th-label svg {
  width: 17px;
  height: 17px;
}

.camp-address-block {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.camp-address-block p {
  margin: 0;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.camp-address-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}

.camp-inline-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.camp-inline-icon svg {
  width: 20px;
  height: 20px;
}

.camp-price-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(147, 197, 253, 0.22));
}

.camp-price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.camp-price-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1e3a5f;
  font-variant-numeric: tabular-nums;
}

.camp-includes {
  margin: 0;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.45;
  font-weight: 600;
}

.camp-price-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.camp-price-summary-title {
  justify-content: center;
  width: 100%;
}

.camp-price-block-standalone {
  width: 100%;
  max-width: 20rem;
  justify-content: center;
  padding: 1rem 1.2rem;
  text-align: center;
}

.camp-price-block-standalone .camp-price-value {
  font-size: 1.75rem;
}

.camp-includes-summary {
  width: 100%;
  max-width: 38rem;
  margin-top: 0.9rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.camp-includes-summary .camp-inline-icon {
  margin-top: 0;
}

.camp-section-card {
  margin-top: 1.1rem;
}

.camp-page .robotics-panel.camp-section-card {
  transition:
    transform 320ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 340ms ease,
    border-color 300ms ease;
}

.camp-page .robotics-panel.camp-section-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow:
    0 20px 42px rgba(37, 99, 235, 0.14),
    0 0 28px rgba(96, 165, 250, 0.1);
}

.camp-page .camp-price-summary.robotics-panel {
  transition:
    transform 300ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 320ms ease,
    border-color 280ms ease;
}

.camp-page .camp-price-summary.robotics-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.camp-page .camp-price-block {
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.camp-page .camp-price-block-standalone:hover {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow:
    inset 0 0 28px rgba(147, 197, 253, 0.12),
    0 0 18px rgba(37, 99, 235, 0.08);
}

.camp-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  line-height: 1.25;
}

.camp-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.camp-schedule-table thead th {
  text-align: left;
  padding: 0.7rem 0.85rem;
  background: rgba(37, 99, 235, 0.1);
  color: #1e3a5f;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.camp-schedule-table thead th:first-child {
  width: 34%;
}

.camp-schedule-table tbody td {
  padding: 0.62rem 0.85rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.camp-schedule-table tbody td:first-child {
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.camp-schedule-table tbody td:last-child {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
}

.camp-schedule-table tbody tr:nth-child(even) td {
  background: rgba(247, 250, 255, 0.75);
}

.camp-schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.camp-page .camp-schedule-table tbody td {
  transition: background 220ms ease, color 220ms ease;
}

.camp-page .camp-schedule-table tbody tr:hover td {
  background: rgba(219, 234, 254, 0.65);
}

.camp-page .camp-schedule-table tbody tr:hover td:first-child {
  color: #1e40af;
}

.camp-lead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.55;
}

.camp-feature-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0.55rem;
}

.camp-feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  transition:
    transform 285ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 285ms ease,
    border-color 285ms ease,
    background 285ms ease;
}

.camp-page .camp-feature-grid li:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 14px 32px rgba(37, 99, 235, 0.12),
    0 0 20px rgba(147, 197, 253, 0.2);
}

.camp-page .camp-feature-grid li:hover .camp-feature-icon {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.12);
}

.camp-page .camp-feature-icon {
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.camp-feature-span-last-two {
  grid-column: -3 / -1;
  justify-content: center;
  text-align: center;
}

@media (max-width: 540px) {
  .camp-feature-span-last-two {
    grid-column: 1 / -1;
  }
}

.camp-feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(147, 197, 253, 0.28);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.camp-feature-icon svg {
  width: 18px;
  height: 18px;
}

.camp-mission-card > p:not(.camp-lead):not(.registration-note):not(.camp-foot-note) {
  margin-top: 0.75rem;
}

.camp-quick-facts {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.camp-quick-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  transition:
    transform 265ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 265ms ease,
    border-color 265ms ease;
}

.camp-page .camp-quick-facts li:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.1),
    0 0 14px rgba(147, 197, 253, 0.18);
}

.camp-page .camp-registration-callout {
  transition:
    transform 290ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 290ms ease,
    border-color 290ms ease;
}

.camp-page .camp-registration-callout:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.camp-page .camp-pamainos-heading .camp-heading-icon {
  animation: campIconHud 22s linear infinite;
}

.camp-registration-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(147, 197, 253, 0.22);
  border: 1px solid rgba(37, 99, 235, 0.28);
  line-height: 1.45;
}

.camp-foot-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-soft);
}

.camp-reg-section {
  margin-top: 1.5rem;
}

.camp-reg-title {
  margin-bottom: 0.35rem;
}

.robotics-panel h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #1e40af;
}

.robotics-intro {
  margin-top: 0.8rem;
  max-width: 75ch;
  line-height: 1.7;
  color: var(--text-soft);
}

.robotics-panel {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 16px;
  padding: 1rem;
}

.service-preview-image {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.robotics-list,
.robotics-addresses,
.robotics-schedule {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.camp-day-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.contacts-page {
  margin-top: 5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.projects-page {
  margin-top: 5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.projects-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.projects-banner-image {
  margin-top: 1rem;
  width: min(100%, 760px);
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.projects-content {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 14px;
  padding: 1rem;
}

.projects-content h2 {
  color: var(--primary);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
}

.projects-content h3 {
  margin-top: 1rem;
  color: #1e40af;
}

.projects-content p {
  margin: 0.6rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.contacts-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contacts-intro {
  margin-top: 0.6rem;
  color: var(--text-soft);
}

.contacts-details {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 14px;
  padding: 1rem;
}

.contacts-details p {
  margin-top: 0.55rem;
}

.contacts-details h2 {
  margin-bottom: 0;
}

.contacts-channels {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.75rem;
}

.contacts-channel {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contacts-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.contacts-channel:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.contacts-channel-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(147, 197, 253, 0.45), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary);
}

.contacts-channel-icon {
  width: 24px;
  height: 24px;
}

.contacts-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contacts-channel-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.contacts-channel-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  word-break: break-word;
}

.map-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.map-tabs {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.map-tab-btn {
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.map-tab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(37, 99, 235, 0.14);
}

.map-tab-btn.is-active {
  color: #eff6ff;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.map-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.95));
  border: 1px solid rgba(37, 99, 235, 0.32);
  border-radius: 16px;
  overflow: hidden;
  padding: 0.85rem;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
}

.map-card-panel {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  transition: opacity 320ms ease, transform 380ms ease;
  pointer-events: none;
  display: none;
}

.map-card-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  display: block;
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.map-card h3 {
  margin-bottom: 0;
  color: var(--primary);
}

.map-card-head span {
  font-size: 0.8rem;
  color: #64748b;
  background: rgba(147, 197, 253, 0.28);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.map-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.18), transparent 42%),
    linear-gradient(330deg, rgba(147, 197, 253, 0.18), transparent 40%);
  mix-blend-mode: multiply;
}

.map-card iframe {
  width: 100%;
  height: 390px;
  border: 0;
  border-radius: 0;
}

.tinted-map {
  filter: saturate(1.08) hue-rotate(4deg) contrast(1.03);
}

.custom-map {
  width: 100%;
  height: 390px;
}

.project-map-theme .leaflet-tile-pane {
  filter: saturate(1.12) hue-rotate(6deg) contrast(1.04) brightness(1.02);
}

.project-map-theme .leaflet-control-zoom a {
  border-color: rgba(37, 99, 235, 0.35);
  color: #1e40af;
  background: rgba(239, 246, 255, 0.96);
}

.project-map-theme .leaflet-marker-icon {
  filter: saturate(1.1);
}

.robotics-list li::before {
  content: "○ ";
  color: var(--primary);
  font-weight: 800;
}

.robotics-addresses li::before,
.robotics-schedule li::before {
  content: "• ";
  color: var(--primary);
  font-weight: 800;
}

.robotics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.schedule-indent {
  margin-left: 1.1rem;
}

.registration-note {
  margin-top: 0.9rem;
  color: var(--primary);
  font-weight: 800;
}

.robotics-contact {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.robotics-contact.camp-reg-section {
  transition:
    transform 340ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 350ms ease,
    border-color 300ms ease;
}

.robotics-contact.camp-reg-section:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow:
    0 20px 48px rgba(37, 99, 235, 0.13),
    0 0 28px rgba(147, 197, 253, 0.12);
}

.robotics-contact.camp-reg-section .camp-section-title {
  transition: color 260ms ease, filter 260ms ease;
}

.robotics-contact.camp-reg-section:hover .camp-section-title {
  filter: saturate(1.12);
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.contact-form label {
  font-size: 0.92rem;
  color: #1e40af;
}

.form-status {
  margin: 0 0 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
}

.form-status.success {
  background: rgba(147, 197, 253, 0.32);
  border: 1px solid rgba(37, 99, 235, 0.5);
  color: #1e3a5f;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1.5px solid rgba(147, 197, 253, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  padding: 0.75rem 0.9rem;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35);
}

.simple-footer {
  margin: 3rem auto 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  text-align: center;
  display: grid;
  gap: 0.35rem;
}

.simple-footer-logo {
  margin: 0;
}

.simple-footer-logo img {
  height: clamp(22px, 5vw, 38px);
  width: auto;
  max-width: min(260px, 92vw);
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.simple-footer p {
  margin: 0;
}

.simple-footer a {
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}

.simple-footer a:hover {
  color: var(--primary);
}

.simple-footer-social {
  margin: 0.25rem 0 0;
  display: flex;
  justify-content: center;
}

.simple-footer a.simple-footer-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.simple-footer a.simple-footer-facebook:hover {
  transform: scale(1.06);
}

.simple-footer a.simple-footer-facebook:hover .simple-footer-facebook-icon path {
  fill: #0d65d9;
}

.simple-footer-facebook-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.simple-footer a.simple-footer-facebook:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 6px;
}


.legal-document {
  max-width: min(72ch, 100%);
}

.legal-document > h1 {
  margin-bottom: 0.35rem;
}

.legal-document > p:first-of-type {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.legal-document h2 {
  margin: 1.85rem 0 0;
  font-size: 1.22rem;
  color: var(--primary);
}

.legal-document > h2:first-of-type {
  margin-top: 1.15rem;
}

.legal-subheading {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.legal-document p,
.legal-document li {
  color: var(--text-soft);
  line-height: 1.65;
}

.legal-document p {
  margin: 0.65rem 0 0;
}

.legal-document ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-document li + li {
  margin-top: 0.35rem;
}

.legal-document a {
  color: var(--primary);
  font-weight: 700;
}

.legal-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(240, 249, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 0.95rem;
}

.legal-back {
  margin-top: 1.5rem;
}

/* Privacy consent bar (first visit) */
body.privacy-consent-active {
  padding-bottom: 5.5rem;
}

@media (max-width: 640px) {
  body.privacy-consent-active {
    padding-bottom: 8.5rem;
  }
}

.privacy-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(37, 99, 235, 0.1);
}

.privacy-consent-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.privacy-consent-text-wrap {
  flex: 1 1 280px;
  min-width: 0;
}

.privacy-consent-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-main);
}

.privacy-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.privacy-consent-policy-link {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.privacy-consent-policy-link:hover {
  text-decoration: underline;
}

.privacy-consent-accept {
  padding: 0.65rem 1.15rem;
  font-size: 0.95rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .robotics-page.camp-page,
  .robotics-page.camp-page::before,
  .camp-page .camp-fx-scan::after,
  .camp-page .camp-fx-corner,
  .camp-page .camp-hero-title,
  .camp-page .camp-pamainos-heading .camp-heading-icon {
    animation: none !important;
  }

  .robotics-page.camp-page {
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  }

  .camp-page .camp-city-card,
  .camp-page .camp-city-card:hover,
  .camp-page .camp-city-card:active,
  .camp-page .camp-feature-grid li,
  .camp-page .camp-feature-grid li:hover,
  .camp-page .robotics-panel.camp-section-card,
  .camp-page .robotics-panel.camp-section-card:hover,
  .camp-page .camp-price-summary.robotics-panel,
  .camp-page .camp-price-summary.robotics-panel:hover,
  .robotics-contact.camp-reg-section,
  .robotics-contact.camp-reg-section:hover,
  .camp-page .camp-registration-callout,
  .camp-page .camp-registration-callout:hover,
  .camp-page .camp-quick-facts li,
  .camp-page .camp-quick-facts li:hover {
    transition: none !important;
    transform: none !important;
  }

  .camp-page .camp-heading-icon:hover,
  .camp-page .camp-feature-grid li:hover .camp-feature-icon,
  .camp-page .camp-city-card:hover .camp-city-head-icon svg {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  main section {
    margin-top: 4rem;
  }

  .site-header {
    top: 0.6rem;
    padding: 0.8rem 1rem;
  }

  .nav-links {
    gap: 0.7rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 1rem 0.25rem;
  }

  .hero-image {
    width: min(100%, 300px);
  }

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

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

  .gallery-viewport { min-height: 260px; }
  .gallery-slide img { min-height: 260px; }

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

  .services-hero {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

@media (max-width: 640px) {
  body::before,
  body::after,
  .bg-overlay::before,
  .bg-overlay::after {
    width: 90px;
    height: 90px;
    opacity: 0.24;
  }

  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    position: sticky;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.12);
    padding: 0.6rem;
  }

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

  .nav-links a {
    padding: 0.5rem 0.45rem;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: rgba(239, 246, 255, 0.9);
  }

  .card-grid,
  .gallery-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-viewport { min-height: 210px; }
  .gallery-slide img { min-height: 210px; }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(1120px, 94%);
  }

  main section {
    margin-top: 3rem;
  }

  .site-header {
    top: 0.35rem;
    margin-top: 0.45rem;
    border-radius: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    padding-inline: 0;
  }

  .site-header .logo.logo-brand {
    align-self: flex-start;
  }

  .logo {
    font-size: 1.1rem;
  }

  .site-header .logo-mark {
    width: 55px;
    height: 55px;
  }

  .nav-links a {
    font-size: 0.96rem;
  }

  .hero-content,
  .about,
  .workshops,
  .gallery,
  .contact,
  .services-page,
  .robotics-page,
  .robotics-contact,
  .contacts-page,
  .projects-page,
  .projects-content,
  .legal-document,
  .map-card {
    padding: 1rem;
  }

  .services-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .services-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat-chip {
    min-width: 0;
  }

  .map-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-card-head span {
    width: fit-content;
  }

  .custom-map,
  .map-card iframe {
    height: 300px;
  }

  .contact-form .btn,
  .contact-form button {
    width: 100%;
    justify-content: center;
  }

  .privacy-consent {
    padding: 0.75rem;
  }

  .privacy-consent-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(1.9rem, 11vw, 2.4rem);
  }

  .services-stats {
    grid-template-columns: 1fr;
  }

  .custom-map,
  .map-card iframe {
    height: 250px;
  }

  .privacy-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-consent-accept {
    width: 100%;
  }
}
