.icon-well {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.icon-well svg {
  width: 26px;
  height: 26px;
}

.icon-well.green { background: #e8f6ea; color: var(--green); }
.icon-well.teal { background: #e6f5f7; color: var(--teal); }
.icon-well.ai { background: #e6f7f5; color: var(--ai); }
.icon-well.gold { background: #fbf4dc; color: var(--gold); }
.icon-well.warn { background: #fef4e6; color: var(--warn); }
.icon-well.danger { background: #fdecec; color: var(--danger); }

.card.problem {
  background: #fff8f7;
  border-color: #f2c2c0;
}

.card.photo-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-photo {
  height: 150px;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card.photo-card .card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.problem-slide .kicker {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--danger);
  text-transform: none;
  letter-spacing: 0.02em;
}

.problem-slide .kicker::before {
  background: var(--danger);
}

.problem-slide .slide-title {
  font-weight: 500;
}

.problem-slide strong {
  font-weight: 800;
  color: var(--navy);
}

.problem-slide .slide-title strong,
.problem-slide .card h3 {
  color: var(--danger);
}

.solution-slide .kicker {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  text-transform: none;
  letter-spacing: 0.02em;
}

.solution-slide .kicker::before {
  background: var(--green);
}

.solution-slide .slide-title {
  font-weight: 500;
}

.solution-slide strong {
  font-weight: 800;
  color: var(--navy);
}

.solution-slide .slide-title strong,
.solution-slide .card h3 {
  color: var(--green);
}

.solution-slide .card.benefit {
  background: #f4fbf7;
  border-color: #cde8d4;
}

.slide:has(.req-slide) {
  justify-content: center;
  padding: 3.2rem 5.5rem 4.75rem;
}

.req-slide .kicker {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  text-transform: none;
  letter-spacing: 0.02em;
}

.req-slide .kicker::before {
  background: var(--green);
}

.req-slide .slide-title {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.req-slide .slide-lead {
  margin-bottom: 1rem;
}

.req-slide strong {
  font-weight: 800;
  color: var(--navy);
}

.req-slide .slide-title strong,
.req-slide .req-card h3 {
  color: var(--green);
}

.card.benefit {
  background: linear-gradient(180deg, #f4fbf7 0%, #fff 70%);
  border-color: #cde8d4;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.card .stat {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}

.welcome-photo {
  width: 100%;
  max-width: 820px;
  height: 240px;
  margin: 0.55rem auto 0.85rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.welcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.welcome-note {
  margin: 0.2rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}

.about-slide,
.welcome-slide {
  align-items: center;
  text-align: center;
}

.about-slide .slide-title {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
}

.about-slide .slide-title strong {
  color: var(--ai);
  font-weight: 800;
}

.about-slide .slide-title,
.welcome-slide .slide-title,
.about-slide .slide-lead,
.welcome-slide .slide-lead {
  max-width: 40rem;
}

.welcome-slide .slide-title {
  font-weight: 500;
}

.welcome-slide strong {
  font-weight: 800;
  color: var(--navy);
}

.about-slide .kicker {
  text-transform: none;
  letter-spacing: 0.03em;
}

.about-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 1.1rem;
}

.welcome-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  width: 100%;
  text-align: left;
}

.grad-card {
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  min-height: 188px;
}

.grad-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.grad-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.grad-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.7);
}

.grad-icon svg {
  width: 28px;
  height: 28px;
}

.g-gap {
  background: linear-gradient(165deg, #e8f6ea 0%, #f7fffb 58%, #fff 100%);
  border-color: #cde8d4;
  color: var(--green);
}

.g-expert {
  background: linear-gradient(165deg, #e4f4f7 0%, #f4fbfc 58%, #fff 100%);
  border-color: #bfe3ea;
  color: var(--teal);
}

.g-eng {
  background: linear-gradient(165deg, #fbf4dc 0%, #fffaf0 58%, #fff 100%);
  border-color: #ead7a0;
  color: var(--gold);
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.25rem;
  text-align: left;
}

.pillar.big {
  text-align: center;
  padding: 1.6rem 1rem 1.4rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pillar.big .icon-well {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin-bottom: 1rem;
}

.pillar.big .icon-well svg {
  width: 38px;
  height: 38px;
}

.pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.pillar.big h3 {
  margin: 0;
  font-size: 1.35rem;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.req-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.1rem;
  align-items: stretch;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-content: start;
}

.req-card {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: #f4fbf7;
  border: 1px solid #cde8d4;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.75rem 0.85rem;
}

.req-card .icon-well {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin: 0;
}

.req-card .icon-well svg {
  width: 22px;
  height: 22px;
}

.req-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.req-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.4;
}

.req-card:last-child {
  grid-column: 1 / -1;
}

.uniform-panel {
  background: linear-gradient(180deg, #e8f6ea 0%, #fff 55%);
  border: 1px solid #cde8d4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.75rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.uniform-photo {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
}

.uniform-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.uniform-panel h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--green);
}

.uniform-panel p {
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.queries {
  text-align: center;
  align-items: center;
}

.queries .slide-title {
  margin-bottom: 1.15rem;
}

.query-visual {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #e6f7f5, #e8f6ea);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.query-visual svg {
  width: 44px;
  height: 44px;
}

.query-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.query-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.query-contacts a:hover {
  border-color: var(--ai);
}

.thanks-slide {
  text-align: center;
  align-items: center;
}

.thanks-slide .thanks-logo {
  height: 96px;
  width: auto;
  margin: 0 auto 1.4rem;
  animation: none;
}

.thanks-slide .slide-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--navy);
}

.thanks-slide .accent-line {
  margin: 1rem auto 1.15rem;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.thanks-slide .thanks-lead {
  margin: 0;
  max-width: 28rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.mini {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.tag-bad { color: var(--danger); }
.tag-good { color: var(--green); }

@media (max-width: 900px) {
  .about-grid,
  .req-layout,
  .req-grid {
    grid-template-columns: 1fr;
  }

  .welcome-photo {
    height: 180px;
  }

  .card-photo {
    height: 140px;
  }

  .uniform-photo {
    min-height: 180px;
    height: 220px;
    flex: none;
  }
}
