/* Страница студии: hero, факты, оборудование, галерея, цены, контакты.
   Базовые токены и типографика - в seo.css. */

.st-hero {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--panel);
}

.st-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.st-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 16px 0 4px;
  font-size: 14px;
  color: var(--muted);
}

.st-facts b {
  color: #ffffff;
  font-weight: 600;
}

.st-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 34px;
}

.st-cta .btn {
  margin-left: 0;
}

.st-cta .btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}

.st-cta .btn-ghost:hover {
  color: var(--text);
  background: var(--panel-2);
}

.st-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.st-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 20px;
}

.st-card h3 {
  margin: 0 0 10px;
}

.st-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.st-gear {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.st-gear-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 20px;
}

.st-gear-item h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--muted);
  font-family: inherit;
  letter-spacing: 0;
}

.st-gear-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.st-gear-item li {
  font-size: 15px;
  padding-left: 14px;
  position: relative;
}

.st-gear-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--inv-bg);
}

.st-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.st-price {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 22px;
}

.st-price h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.st-price-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.st-price-rows {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.st-price-rows li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.st-price-rows li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.st-price-name {
  font-size: 15px;
  font-weight: 500;
}

.st-price-value {
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.st-price-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.45;
}

.st-price-includes {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.st-price .btn {
  margin: auto 0 0;
  text-align: center;
}

.st-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.st-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--panel);
}

.st-shot-wide {
  grid-column: span 3;
}

.st-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.st-shot figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--dim);
}

.st-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.st-contacts > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 22px;
}

.st-addr {
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #ffffff !important;
}

.ct-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ct-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.ct-list a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}

.ct-list a:hover {
  border-bottom-color: var(--inv-bg);
}

.ct-label {
  color: var(--muted);
  font-size: 14px;
}

.st-note {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.st-legal {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim) !important;
}

.st-price .btn,
.st-contacts .btn {
  margin-left: 0;
}

@media (max-width: 900px) {
  .st-features,
  .st-prices,
  .st-contacts {
    grid-template-columns: 1fr;
  }

  .st-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-shot-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .st-gear {
    grid-template-columns: 1fr;
  }

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

  .st-shot-wide {
    grid-column: span 1;
  }

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

  .st-hero img {
    aspect-ratio: 4 / 3;
  }
}
