/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 85% 55% at 0% 0%, rgba(0, 180, 255, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 75% 50% at 100% 8%, rgba(16, 185, 129, 0.07) 0%, transparent 50%);
}

.hero__inner {
  position: relative;
}

.hero__content-wrap {
  padding-top: var(--section-y);
  padding-bottom: 1.5rem;
}

.hero__content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__inner {
    min-height: min(720px, 92vh);
    padding-bottom: var(--section-y);
  }

  .hero .hero__content-wrap.container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: max(var(--gutter), calc((100vw - min(1140px, 100vw - 2 * var(--gutter))) / 2));
  }

  .hero__content-wrap {
    position: relative;
    z-index: 2;
    padding-top: clamp(2.5rem, 6vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
    text-align: left;
  }

  .hero__content {
    max-width: 36rem;
    text-align: left;
  }
}

/* Мобильный аватар основателя (на десктопе — большое фото справа) */
.hero__mobile-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

@media (min-width: 1024px) {
  .hero__mobile-avatar {
    display: none;
  }
}

.hero__mobile-avatar-wrap {
  position: relative;
  display: inline-block;
}

.hero__mobile-avatar-img {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(0, 180, 255, 0.3);
  display: block;
}

@media (min-width: 640px) {
  .hero__mobile-avatar-img {
    width: 9rem;
    height: 9rem;
  }
}

.hero__mobile-avatar-badge {
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: calc(100vw - 2 * var(--gutter));
  white-space: normal;
  text-align: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.hero__mobile-avatar-badge svg {
  flex-shrink: 0;
}

.hero__title {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero__title-line--gradient {
  font-size: clamp(1.2rem, 5.2vw, 2.75rem);
  font-weight: 700;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-primary-glow) 45%,
    var(--color-secondary-green) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title-line--solid {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: clamp(1rem, 3.4vw, 1.875rem);
  font-weight: 700;
  color: var(--color-text);
}

/* Мобильные: одна строка, иконка и текст по центру, выравнивание по высоте */
.hero__license-badge {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 180, 255, 0.2);
  background: linear-gradient(
    90deg,
    rgba(0, 180, 255, 0.12) 0%,
    rgba(16, 185, 129, 0.12) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 0;
  margin-top: 0.25rem;
}

@media (min-width: 1024px) {
  .hero__license-badge {
    margin-inline: 0;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
  }
}

.hero__license-badge-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  align-self: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-secondary-green);
}

.hero__license-badge-text {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  display: flex;
  align-items: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .hero__license-badge-text {
    text-align: left;
  }
}

@media (max-width: 1023px) {
  .hero__license-badge {
    margin-inline: auto;
    max-width: 100%;
  }
}

.hero__visual {
  position: relative;
  width: calc(100% - 2 * var(--gutter));
  max-width: 36rem;
  margin: 0 auto 2rem;
  min-height: min(420px, 65vh);
  min-height: min(420px, 58dvh);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    max-width: none;
    height: 100%;
    min-height: min(720px, 92vh);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__grad {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.hero__grad--left {
  top: 0;
  left: 0;
  bottom: 0;
  width: clamp(5rem, 18vw, 8rem);
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 35%, transparent 100%);
}

.hero__grad--bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(6rem, 20vw, 8rem);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 45%, transparent 100%);
}

@media (min-width: 1024px) {
  .hero__grad--bottom {
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 40%, transparent 100%);
  }
}

.hero__card {
  position: absolute;
  z-index: 20;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  max-width: 24rem;
  margin-inline: auto;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.18);
}

@media (min-width: 1024px) {
  .hero__card {
    left: auto;
    right: 2rem;
    bottom: 2rem;
    margin-inline: 0;
    max-width: min(24rem, calc(50vw - 4rem));
  }
}

.hero__card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hero__card-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: rgba(0, 180, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.hero__card-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.2;
}

.hero__card-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.hero__card-list--checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero__card-list--checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero__check-lucide {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-secondary-green);
}

.hero__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .hero__cta-wrap {
    justify-content: flex-start;
  }
}

/* Section backgrounds */
.section--muted {
  background: var(--color-bg-muted);
  padding: var(--section-y) var(--gutter);
}

.section {
  padding: var(--section-y) var(--gutter);
}

/* Icon cards grid */
.grid-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.icon-card {
  padding: 1.5rem;
  text-align: center;
}

.icon-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.icon-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.icon-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Case cards */
.cases-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.case-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.case-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(0, 180, 255, 0.25);
}

.case-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.case-card__avatar--1 {
  background: linear-gradient(135deg, #00b4ff, #6366f1);
}

.case-card__avatar--2 {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
}

.case-card__avatar--3 {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.case-card__avatar--4 {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.case-card__avatar--5 {
  background: linear-gradient(135deg, #14b8a6, #3b82f6);
}

.case-card__avatar--6 {
  background: linear-gradient(135deg, #64748b, #1e293b);
}

.case-card__avatar--7 {
  background: linear-gradient(135deg, #d946ef, #f97316);
}

.case-card__avatar--8 {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.case-card__avatar--9 {
  background: linear-gradient(135deg, #84cc16, #0d9488);
}

.case-card__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.case-card__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.case-card__text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.case-card__foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.case-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-secondary-green-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary-green);
}

.case-result-badge svg {
  flex-shrink: 0;
  color: var(--color-secondary-green);
}

.case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.case-card__more:hover {
  background: rgba(0, 180, 255, 0.08);
}

.case-card__more-arrow {
  margin-left: 0.25rem;
}

/* Why grid */
.why-grid {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  align-items: flex-start;
}

.why-card__num {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(0, 180, 255, 0.2);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

.step {
  text-align: center;
  position: relative;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.25rem;
    left: calc(50% + 2.5rem);
    width: calc(100% - 5rem);
    height: 2px;
    background: var(--color-primary);
    opacity: 0.45;
  }
}

.step__num {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 180, 255, 0.2);
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Calculator */
.calc-wrap {
  max-width: 520px;
  margin-inline: auto;
}

.calc-card {
  padding: clamp(1.15rem, 4vw, 1.75rem);
}

.calc-card h3:not(.sr-only) {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.calc-card__lead {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.calc-field {
  margin-bottom: 1.25rem;
}

.calc-field__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.calc-field__top span:last-child {
  color: var(--color-primary-dark);
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
}

.calc-field__ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.calc-results {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  margin-bottom: 1rem;
}

.calc-results__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  gap: 1rem;
}

.calc-results__row--accent {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.calc-results__row--green {
  font-size: 1.15rem;
  font-weight: 800;
  color: #16a34a;
}

.calc-cta {
  width: 100%;
  text-align: center;
}

/* Founder */
.founder {
  position: relative;
  overflow: hidden;
}

.founder__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(248, 250, 252, 0.5) 50%, var(--color-bg) 100%);
  pointer-events: none;
  z-index: 0;
}

.founder__blob {
  display: none;
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.founder__blob--tl {
  top: 20%;
  left: -5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 180, 255, 0.12);
}

.founder__blob--br {
  bottom: 0;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(16, 185, 129, 0.1);
}

@media (min-width: 768px) {
  .founder__blob {
    display: block;
  }
}

.founder__wrap {
  position: relative;
  z-index: 1;
}

.founder__title-block {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 48rem;
  margin-inline: auto;
}

.founder__title-block h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.founder__name-accent {
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.founder__role-line {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
}

.founder__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 72rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .founder__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.founder .carousel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

.founder .carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius-card);
}

.founder .carousel__viewport::-webkit-scrollbar {
  display: none;
}

.founder .carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.founder .carousel__frame {
  padding: 0.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.founder .carousel__slide img {
  width: 100%;
  height: clamp(220px, 52vh, 500px);
  height: clamp(220px, 52dvh, 500px);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  display: block;
}

.founder .carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--color-text);
}

.founder .carousel__btn:hover {
  background: var(--color-bg-muted);
}

.founder .carousel__btn--prev {
  left: 0.5rem;
}

.founder .carousel__btn--next {
  right: 0.5rem;
}

.founder .carousel__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.founder-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-fact {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.founder-fact:hover {
  border-color: rgba(0, 180, 255, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 180, 255, 0.15);
}

.founder-fact__icon {
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 255, 0.1);
  color: var(--color-primary);
  transition: background 0.2s ease;
}

.founder-fact:hover .founder-fact__icon {
  background: rgba(0, 180, 255, 0.18);
}

.founder-fact p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
  padding-top: 0.15rem;
}

.founder-fact a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.founder-fact a:hover {
  color: var(--color-primary-dark);
}

/* Instructors */
.instructors-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .instructors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.instructor-card {
  padding: 1.5rem;
  text-align: center;
}

.instructor-card img {
  width: 7rem;
  height: 7rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}

.instructor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.instructor-card ul {
  text-align: left;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.instructor-card li {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.instructor-card li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-primary);
}

/* License */
.license-card-shell {
  padding: clamp(1.15rem, 4vw, 2rem);
  max-width: 1000px;
  margin: 0 auto;
}

.license-section-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(0, 174, 239, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.license-section-title {
  font-size: clamp(1.2rem, 4.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--color-text);
}

.license-section-lead {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.license-qr-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.license-qr-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.license-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .license-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.license-legal {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.license-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.license-check svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: #22c55e;
  color: #fff;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.license-img-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.license-badge--float {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.license-img-frame {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  padding: 0.75rem 0.5rem;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.license-doc-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 920px);
  object-fit: contain;
  object-position: center top;
}

.license-qr {
  text-align: center;
  margin-top: 1rem;
}

.license-qr img {
  width: 7rem;
  height: 7rem;
  margin-inline: auto;
  border-radius: var(--radius-sm);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item__body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: var(--section-y) var(--gutter);
  padding-bottom: max(var(--section-y), env(safe-area-inset-bottom, 0px));
  background: var(--color-bg-muted);
}

.final-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.final-cta p {
  color: var(--color-text-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.final-cta__tg {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.final-cta__tg:hover {
  text-decoration: underline;
}

/* Страница «Спасибо» после отправки формы */
.thanks-page {
  min-height: min(70vh, calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px) - 8rem));
  min-height: min(70dvh, calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px) - 8rem));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 8vw, 4rem) var(--gutter);
}

.thanks-page__inner {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
}

.thanks-page__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--color-secondary-green-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-secondary-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-page__title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.thanks-page__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.thanks-page__hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  opacity: 0.9;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

.thanks-page__cta {
  min-width: min(100%, 14rem);
}

/* Сведения об образовательной организации (organization-info.html) */
.org-page {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--gutter) 3rem;
}

.org-page__hero {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.org-page__title {
  font-size: clamp(1.65rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-primary-glow) 45%,
    var(--color-secondary-green) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.org-page__subtitle {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  color: var(--color-text-muted);
  margin: 0;
}

.org-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.org-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.org-card__head {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(0, 180, 255, 0.04) 0%, transparent 100%);
}

.org-card__head h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
  line-height: 1.25;
}

.org-card__head svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}

.org-card__body {
  padding: 1.25rem 1.25rem 1.35rem;
}

.org-card__body > * + * {
  margin-top: 1rem;
}

.org-grid {
  display: grid;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .org-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.org-field-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0 0 0.35rem;
}

.org-field-value {
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.45;
  font-size: 0.95rem;
}

.org-license-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  line-height: 1.3;
}

.org-pill-muted {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-secondary-green-soft);
  color: var(--color-secondary-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.org-divider {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.org-contact-block {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .org-contact-block {
    grid-template-columns: repeat(3, 1fr);
  }
}

.org-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.org-contact-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--color-primary);
}

.org-link {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.org-link:hover {
  color: var(--color-primary-hover);
}

.org-link--block {
  display: block;
}

.org-list-disc {
  list-style: disc;
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.org-list-disc li + li {
  margin-top: 0.4rem;
}

.org-doc-block + .org-doc-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.org-stat {
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}

.org-back-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.org-back-wrap .btn {
  gap: 0.5rem;
}

.org-page .legal-doc__footer-links {
  margin-top: 2.5rem;
}

.org-inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}

.org-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

.org-text strong {
  color: var(--color-text);
}
