/* camp.css — уникальные стили страницы летнего лагеря
   (hero, доверие/гарантии, карта смен, режим дня, педагоги, галерея,
   тарифы, форма — всё, чего нет в base.css) */

.logo-img {
  height: 72px;
}

/* hero */
.hero {
  padding: 74px 0 42px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(45px, 6.2vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 22px 0 18px;
  color: var(--navy);
}
.hero h1 span {
  color: var(--blue);
}
.lead {
  font-size: 20px;
  max-width: 650px;
}
.hero-actions {
  margin: 28px 0;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.mini {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--soft);
}
.mini b {
  display: block;
  font-size: 29px;
  color: var(--navy);
}
.mini span {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 900;
  font-size: 13px;
  color: var(--navy);
  box-shadow: var(--soft);
}
.photo-board {
  position: relative;
  min-height: 565px;
}
.big-photo {
  position: absolute;
  inset: 38px 28px 36px 36px;
  border-radius: 42px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d3f9f, #0a7ddb 45%, #f7c95c);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.big-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/tild3063-3730-4534-a630-373364653537__photo_2026-02-06_13-.jpg")
    center/cover no-repeat;
}
.sticker {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(7, 29, 73, 0.08);
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-weight: 900;
}
.sticker.one {
  right: 0;
  top: 55px;
  transform: rotate(5deg);
}
.sticker.two {
  left: 0;
  bottom: 96px;
  transform: rotate(-5deg);
  background: var(--gold2);
}
.sticker.three {
  right: 52px;
  bottom: 8px;
  background: var(--navy);
  color: #fff;
}
.sun {
  position: absolute;
  left: 22px;
  top: 18px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 20px rgba(247, 201, 92, 0.22);
  display: grid;
  place-items: center;
  font-size: 46px;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

/* intro features */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 25px;
  box-shadow: var(--soft);
  position: relative;
  overflow: hidden;
}
.feature:before {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gold2);
}
.feature .ico {
  font-size: 44px;
  position: relative;
}
.feature h3 {
  font-size: 23px;
  margin: 14px 0 8px;
  color: var(--navy);
}
.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

/* doc links (trust section) */
.doc-links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.doc-link {
  font-size: 13px;
}
.doc-link:hover {
  text-decoration: underline;
}

/* trust band */
.trust-band {
  background: linear-gradient(135deg, #eafaf3, #eef8ff);
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.trust-band:before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(17, 87, 217, 0.06);
}
.trust-head {
  max-width: 640px;
  margin-bottom: 22px;
  position: relative;
}
.trust-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  margin: 14px 0 8px;
  letter-spacing: -0.02em;
}
.trust-head p {
  color: #3b4666;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}
.trust-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(7, 29, 73, 0.08);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--soft);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-item .ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: var(--soft);
  flex: none;
}
.trust-item h3 {
  font-size: 15px;
  margin: 0 0 3px;
  color: var(--navy);
}
.trust-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
  font-size: 13px;
}

/* shifts map */
.map {
  background: linear-gradient(135deg, #fff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.map:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(17, 87, 217, 0.16);
  border-radius: 34px;
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  position: relative;
}
.shift {
  min-height: 300px;
  border-radius: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--soft);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.shift:hover {
  transform: translateY(-8px) scale(1.02) rotate(0.6deg);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.shift:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -38px;
  bottom: -46px;
  background: var(--accent, #eaf6ff);
  transition: transform 0.3s ease;
}
.shift:hover:after {
  transform: scale(1.15);
}
.shift .date {
  width: max-content;
  max-width: 100%;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}
.shift h3 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  line-height: 1.05;
  margin: 18px 0 10px;
  color: var(--navy);
}
.shift p {
  color: #566481;
  line-height: 1.45;
  font-weight: 700;
  margin: 0;
}
.shift .final {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  border-radius: 18px;
  background: rgba(17, 87, 217, 0.08);
  padding: 12px;
  padding-right: 56px;
  color: var(--navy);
  font-weight: 900;
}
.shift .symbol {
  position: absolute;
  right: 10px;
  bottom: 2px;
  font-size: 52px;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(7, 29, 73, 0.12));
  transition: transform 0.35s ease;
}
.shift:hover .symbol {
  transform: scale(1.18) rotate(-8deg);
}
.shift[data-desc] {
  cursor: pointer;
}
.shift-hint {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
  margin-top: 10px;
  padding-right: 56px;
}
.shift-passed .shift-hint {
  color: #4a5570;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 73, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal.show {
  display: flex;
}
.modal-card {
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  max-width: 560px;
  max-height: 80vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.modal-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 28px;
  margin: 0 0 14px;
  padding-right: 30px;
}
.modal-card p {
  color: #3b4666;
  line-height: 1.65;
  font-weight: 600;
  margin: 0;
  font-size: 15px;
}
.shift:nth-child(1) {
  --accent: #ddebff;
}
.shift:nth-child(2) {
  --accent: #fff0bf;
}
.shift:nth-child(3) {
  --accent: #ffe1d9;
}
.shift:nth-child(4) {
  --accent: #dff6ee;
}
.shift:nth-child(5) {
  --accent: #eae4ff;
}
.shift:nth-child(6) {
  --accent: #dff5ff;
}
.shift:nth-child(7) {
  --accent: #d9f0ff;
}
.shift:nth-child(8) {
  --accent: #f4e2ff;
}
.shift:nth-child(9) {
  --accent: #ffe4c7;
}
.shift:nth-child(10) {
  --accent: #e5ecff;
}
.past-wrap {
  margin-top: 30px;
}
.past-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}
.past-label:before {
  content: "✓";
  color: #8a94a8;
  font-size: 17px;
}
.shift-passed {
  --accent: #eceef2;
  background: #f4f5f7;
  min-height: 230px;
  filter: saturate(0.5);
  opacity: 0.85;
}
.shift-passed:hover {
  transform: none;
  box-shadow: var(--soft);
  border-color: var(--line);
}
.shift-passed:hover:after {
  transform: none;
}
.shift-passed:hover .symbol {
  transform: none;
}
.shift-passed .date {
  background: #8a94a8;
}
.shift-passed h3 {
  font-size: 24px;
  color: #4a5570;
}
.shift-passed .symbol {
  font-size: 44px;
  opacity: 0.18;
}
.shift-passed .final {
  background: rgba(90, 100, 130, 0.1);
  color: #4a5570;
}

/* day / route */
.day-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
}
.route-card {
  position: sticky;
  top: 104px;
  background: var(--navy);
  color: #fff;
  border-radius: 42px;
  padding: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.route-card:after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(247, 201, 92, 0.25);
}
.route-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  line-height: 1;
  margin: 18px 0;
}
.route-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-weight: 700;
}
.route-art {
  aspect-ratio: 3/4;
  max-height: 640px;
  border-radius: 30px;
  background: url("/assets/img/tild3635-3364-4039-b838-373130356132__photo_2025-09-08_11-.jpg")
    center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.timeline {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.time-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.time-row:last-child {
  border-bottom: 0;
}
.time {
  font-weight: 900;
  color: var(--blue);
}
.time-row b {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 4px;
}
.time-row span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--soft);
  text-align: center;
}
.tcard .ph {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  box-shadow: var(--soft);
}
.tcard b {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.3;
}
.tcard span {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

/* photo gallery (static grid, not a scroll strip) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.g {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--soft);
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: zoom-in;
  text-align: left;
  transition: transform 0.2s ease;
}
.g:hover {
  transform: scale(1.015);
}

/* pricing */
.price-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price.featured {
  background: linear-gradient(145deg, var(--navy), #0d3f9f);
  color: #fff;
}
.price .tag {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: var(--soft);
}
.price h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin: 0 0 8px;
}
.price p {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  min-height: 40px;
}
.price.featured p {
  color: rgba(255, 255, 255, 0.74);
}
.cost {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 16px 0;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.price li {
  margin: 10px 0;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  gap: 8px;
}
.price li:before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
}
.price.featured li:before {
  color: var(--gold);
}
.price .btn {
  width: 100%;
  font-size: 14px;
  padding: 14px 16px;
  margin-top: auto;
}

/* faq (camp uses a 2-column grid, unlike the single-column base .faq) */
.faq {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: none;
  margin: 0;
}

/* form (two-column card, unlike the centered .form-single on other pages) */
.form-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  background: linear-gradient(135deg, #fff, #fff7db);
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 50px;
  line-height: 1;
  margin: 18px 0;
  color: var(--navy);
}
.form-card p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero-grid,
  .day-grid,
  .form-card {
    grid-template-columns: 1fr;
  }
  .photo-board {
    min-height: 450px;
  }
  .map-grid,
  .features,
  .team,
  .price-wrap,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .route-card {
    position: relative;
    top: auto;
  }
}
@media (max-width: 680px) {
  .mini-stats,
  .map-grid,
  .features,
  .price-wrap,
  .faq,
  .gallery,
  .team,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 46px;
  }
  .photo-board {
    min-height: 380px;
  }
  .sticker {
    font-size: 13px;
  }
  .time-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .form-card {
    padding: 22px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .route-card h2,
  .form-card h2 {
    font-size: 38px;
  }
  .trust-band {
    padding: 26px;
  }
}
