/* =========================================================
   Campus Living Lab 2026 — стилі
   ========================================================= */

/* ---- Fonts ---- */
@font-face {
  font-family: "Panchang";
  src: url("../fonts/Panchang-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Panchang";
  src: url("../fonts/Panchang-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Panchang";
  src: url("../fonts/Panchang-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
.cll-page {
  /* colors */
  --ink: #302d3e;
  --ink-soft: #625e72;
  --accent: #695da2;
  --accent-dark: #524a7c;
  --accent-light: #bfb0ff;
  --lavender: #dcd7ef;
  --white: #ffffff;
  --bg-a: #fcfcff;
  --bg-b: #f8f7fc;
  --bg-tag: #f4f1ff;
  --bg-box: #f2f0fa;
  --blue: #9edbff;
  --pink: #ffb1d2;
  --dark: #302d3e;

  /* fonts */
  --font-display: "Panchang", "Panchang Placeholder", sans-serif;
  --font-body: "Inter", "Inter Placeholder", sans-serif;

  /* section spacing */
  --py: 84px;
  --px: 64px;
  --content-max: 1120px;
  --gap-row: 48px;
  --label-w: 200px;
}

@media (max-width: 1024px) {
  .cll-page {
    --py: 64px;
    --px: 40px;
  }
}

@media (max-width: 640px) {
  .cll-page {
    --py: 48px;
    --px: 24px;
  }
}

/* ---- Reset ---- */
.cll-page *,
.cll-page *::before,
.cll-page *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.cll-page {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.cll-page h1,
.cll-page h2,
.cll-page h3,
.cll-page p {
  margin: 0;
}
.cll-page a {
  color: inherit;
  text-decoration: none;
}
.cll-page .sprite {
  display: none;
}
.cll-page img {
  width: 100%;
}
.cll-page .hero__illustration__tablet {
  display: none;
}
.cll-page main {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---- Section shell ---- */
.cll-page .section {
  position: relative;
  padding: var(--py) var(--px);
  display: flex;
  flex-direction: column;
}
.cll-page .bg-a {
  background: var(--bg-a);
}
.cll-page .bg-b {
  background: var(--bg-b);
}
.cll-page .section--row {
  flex-direction: row;
  gap: var(--gap-row);
}
.cll-page .section__label {
  flex: 0 0 var(--label-w);
}
.cll-page .section__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 900px) {
  .cll-page .section--row {
    flex-direction: column;
    gap: 16px;
  }
  .cll-page .section__label {
    flex-basis: auto;
  }
}
.cll-page .section--stack {
  gap: 28px;
}

/* ---- Typography ---- */
.cll-page .eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.cll-page .eyebrow--light {
  color: var(--accent-light);
}
.cll-page .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 18ch;
}
.cll-page .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(31px, 3.8vw, 41px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 26ch;
}
.cll-page .h2--stats {
  font-size: clamp(31px, 4.8vw, 46px);
  color: var(--white);
  text-align: center;
  max-width: 20ch;
  margin: 0 auto;
}
.cll-page .body-lg {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  max-width: 46ch;
}
.cll-page .body-md {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  max-width: 70ch;
}
.cll-page .body-md--light {
  color: var(--lavender);
  text-align: center;
  max-width: 62ch;
  margin: 0 auto;
}
.cll-page .meta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.cll-page .quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 62ch;
}
.cll-page .label-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.cll-page .label-tag--light {
  color: var(--accent-light);
}

/* ---- Hero ---- */
.cll-page .hero {
  flex-direction: row;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 88px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(135deg, #f4f8ff 0%, #fbf8ff 52%, #fff4f8 100%);
  overflow: hidden;
}
.cll-page .hero__text {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cll-page .hero .h1 {
  margin-top: 10px;
}
.cll-page .hero .body-lg {
  margin-top: 6px;
}
.cll-page .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .cll-page .hero {
    flex-direction: column;
  }
}

/* ---- Hero illustration ---- */
.cll-page .hero__illustration {
  position: relative;
  flex: 1 1 420px;
  max-width: 476px;
  aspect-ratio: 476 / 440;
  align-self: stretch;
}
.cll-page .illo-shape {
  position: absolute;
  display: block;
}
.cll-page .illo-shape--card {
  left: 44.7%;
  top: 29.9%;
  width: 30.2%;
  height: 19.1%;
  background: var(--blue);
  opacity: 0.85;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(16deg);
}
.cll-page .illo-shape--blob {
  left: 50.3%;
  top: 51.1%;
  width: 23.1%;
  height: 25%;
  background: #ff9fcd;
  opacity: 0.82;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cll-page .illo-shape--bar {
  left: 54%;
  top: 65.1%;
  width: 40.8%;
  height: 4.1%;
  background: var(--accent-light);
  opacity: 0.9;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-64deg);
}
.cll-page .illo-shape--dot {
  left: 56.1%;
  top: 73.2%;
  width: 11.8%;
  height: 12.7%;
  background: var(--dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cll-page .illo-accent {
  position: absolute;
  top: -64px;
  right: 4%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  opacity: 0.75;
}
.cll-page .illo-accent__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(-50%, -50%);
}
@media (max-width: 900px) {
  .cll-page .hero__illustration {
    display: none;
  }
  .cll-page .hero__illustration__tablet {
    display: block;
  }
}
.cll-page .btn {
  margin-top: 22px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.cll-page .btn:hover {
  background: #45415a;
  transform: translateY(-1px);
}
.cll-page .btn__icon {
  width: 20px;
  height: 20px;
}

/* ---- Buttons / tags ---- */
.cll-page .tag-pill {
  display: inline-flex;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-tag);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

/* ---- Quote banner ---- */
.cll-page .section--quote {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 46px;
  padding-bottom: 46px;
}
.cll-page .section--quote .quote {
  flex: 1 1 480px;
}
.cll-page .quote__aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
@media (max-width: 700px) {
  .cll-page .section--quote {
    flex-direction: column;
    align-items: flex-start;
  }
  .cll-page .quote__aside {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.cll-page .chart-card {
  flex: 0 0 auto;
  width: 210px;
  padding: 15px;
  background: var(--dark);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cll-page .chart-card__frame {
  position: relative;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  overflow: hidden;
}
.cll-page .chart-card__line {
  position: absolute;
  left: 4%;
  bottom: 32%;
  width: 72%;
  height: 2px;
  background: var(--accent-light);
  border-radius: 999px;
  transform-origin: left center;
  transform: rotate(-8deg);
}
.cll-page .chart-card__point {
  position: absolute;
  border-radius: 50%;
}
.cll-page .chart-card__point--blue {
  right: 10%;
  top: 24%;
  width: 24px;
  height: 24px;
  background: var(--blue);
}
.cll-page .chart-card__point--pink {
  right: 4%;
  top: 30%;
  width: 14px;
  height: 14px;
  background: var(--pink);
}
.cll-page .chart-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
}

/* ---- Grids ---- */
.cll-page .grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  grid-template-columns: repeat(2, 1fr);
}
.cll-page .grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.cll-page .grid--meta {
  gap: 12px 24px;
  margin-top: 4px;
}
.cll-page .grid--results {
  gap: 20px 16px;
}

@media (max-width: 720px) {
  .cll-page .grid,
  .cll-page .grid--3 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 721px) and (max-width: 980px) {
  .cll-page .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cll-page .card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cll-page .card__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.cll-page .card__title--lg {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.cll-page .card__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-soft);
}
.cll-page .card__text--base {
  font-size: 19px;
  line-height: 1.5;
}
.cll-page .meta-strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}
.cll-page .result-item {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}
.cll-page .result-item strong {
  font-weight: 700;
  text-transform: uppercase;
}
.cll-page .partner-item {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.cll-page .partner-item strong {
  text-transform: uppercase;
}

/* ---- Info box ---- */
.cll-page .info-box {
  margin-top: 24px;
  background: var(--bg-box);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.cll-page .info-box__label {
  flex: 0 0 180px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.cll-page .info-box__text {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .cll-page .info-box {
    flex-direction: column;
    gap: 12px;
  }
  .cll-page .info-box__label {
    flex-basis: auto;
  }
}

/* ---- Logo gallery ---- */
.cll-page .logo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cll-page .logo-gallery__item {
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.4;
}
.cll-page .logo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .cll-page .logo-gallery__item {
    padding: 8px 12px;
    aspect-ratio: 2;
  }
}

/* ---- Dark sections ---- */
.cll-page .section--pilots {
  background: var(--dark);
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 42px;
}
.cll-page .pilots__text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--white);
}
.cll-page .pilots__divider {
  flex: 0 0 161px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent-light);
  transform: rotate(-8deg);
}
@media (max-width: 700px) {
  .cll-page .section--pilots {
    flex-direction: column;
    align-items: center;
  }
  .cll-page .pilots__divider {
    flex: 20 20 200px;
    height: 12px;
    width: 6%;
    transform: rotate(-98deg);
  }
}
.cll-page .icon-circle {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cll-page .icon-circle--pink {
  background: var(--pink);
  color: var(--dark);
}
.cll-page .icon-circle__svg {
  width: 28px;
  height: 28px;
}
.cll-page .section--stats {
  background: var(--dark);
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-top: 100px;
  padding-bottom: 100px;
}
.cll-page .section--footer {
  background: var(--dark);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.cll-page .footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cll-page .footer__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.cll-page .footer__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--lavender);
}
.cll-page .footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cll-page .footer__icon {
  width: 22px;
  height: 22px;
  color: var(--lavender);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.cll-page .footer__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cll-page .footer__icon:hover {
  color: var(--white);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .cll-page .section--footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cll-page .hero__illustration__tablet {
    display: none;
  }
  .cll-page .section--quote .quote {
    flex: 1 1;
  }
  .cll-page .chart-card {
    display: none;
  }
}

/* ---- Decorative shapes ---- */
.cll-page .shape {
  position: absolute;
  pointer-events: none;
  display: block;
}
.cll-page .shape--pill {
  border-radius: 999px;
}
.cll-page .shape--ring {
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  background: transparent;
}
.cll-page .shape--dot {
  border-radius: 50%;
}
.cll-page .shape--square {
  border-radius: 8px;
}
.cll-page .shape--line {
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 999px;
}
.cll-page .shape--hero {
  width: 160px;
  height: 24px;
  right: 6%;
  bottom: 12%;
  background: var(--blue);
  opacity: 0.72;
  transform: rotate(-12deg);
}
.cll-page .shape--02-ring {
  width: 96px;
  height: 96px;
  left: 0;
  top: 4px;
  opacity: 0.55;
}
.cll-page .shape--02-pill {
  width: 120px;
  height: 16px;
  right: 10%;
  top: 6px;
  background: var(--accent-light);
  opacity: 0.8;
  transform: rotate(-10deg);
}
.cll-page .shape--02-dot {
  width: 30px;
  height: 30px;
  right: 4%;
  bottom: 4%;
  background: var(--pink);
}
.cll-page .shape--04-square {
  width: 60px;
  height: 60px;
  right: 4%;
  top: 4%;
  background: var(--blue);
  opacity: 0.7;
  transform: rotate(18deg);
}
.cll-page .shape--04-line {
  width: 140px;
  left: -24px;
  bottom: 12%;
  transform: rotate(-8deg);
}
.cll-page .shape--05-dot {
  width: 64px;
  height: 64px;
  right: 6%;
  top: 4%;
  background: var(--pink);
  opacity: 0.7;
}
.cll-page .shape--stats-ring {
  width: 126px;
  height: 126px;
  opacity: 0.65;
  left: 24px;
  bottom: 24px;
}
.cll-page .shape--stats-dot {
  width: 16px;
  height: 16px;
  background: var(--blue);
  left: 102px;
  top: 16px;
}

@media (max-width: 900px) {
}

/* ---- Scroll reveal ---- */
.cll-page .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.cll-page .reveal--visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cll-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
