/* Портфолио беті — негізгі сайттың navy/amber жүйесіне сүйенеді (../css/style.css) */

.nav a.is-active {
  color: var(--amber-soft);
}

.portfolio {
  padding: 56px 0 40px;
}

.portfolio__intro h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.25;
  max-width: 22ch;
}

.portfolio__lead {
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(237, 234, 227, 0.78);
  max-width: 62ch;
}

.portfolio__showcase {
  margin-top: 48px;
}

/* Браузер-макет: демо бетті клиент жобасы ретінде "рамкамен" көрсетеді */
.device {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  background: #0a0d12;
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #12161f;
  border-bottom: 1px solid var(--panel-line);
}

.device__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(237, 234, 227, 0.18);
}

.device__url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(237, 234, 227, 0.45);
  letter-spacing: 0.02em;
}

.device__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.device__screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.portfolio__caption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(237, 234, 227, 0.5);
}

.portfolio__cta {
  margin-top: 64px;
  text-align: center;
  padding: 44px 20px;
  border-radius: 24px;
  background: var(--navy-soft);
  border: 1px solid var(--panel-line);
}

.portfolio__cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}

.portfolio__cta p {
  margin: 14px auto 26px;
  max-width: 46ch;
  color: rgba(237, 234, 227, 0.75);
}

@media (max-width: 600px) {
  .device__url { display: none; }
}
