/* Рассрочка 0% — в стилистике about.css */

.breadcrumb {
  background: #f8f9fa;
  padding: 1rem 0;
  margin-top: 70px;
  border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb-nav a {
  color: #6a6a6a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover { color: #1a1a1a; }

.current { color: #1a1a1a; font-weight: 500; }

.inst-hero{
  background: #fff;
  padding: 3.25rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

.inst-hero-inner h1{
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  margin: 0.75rem 0 0.75rem;
}

.inst-hero-inner p{
  font-size: 1.4rem;
  color: #6a6a6a;
  margin-bottom: 1.25rem;
}

.inst-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid #e5e5e5;
  background: #f8f9fa;
  color: #4a4a4a;
}

.inst-hero__btn{
  margin-top: 1.2rem;
}

.inst-quick{
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.inst-quick__item{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.15rem 1rem;
}

.inst-quick__num{
  font-size: 1.7rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.inst-quick__txt{
  color: #6a6a6a;
  font-weight: 700;
}

.inst-content{
  padding: 2rem 0 3rem;
  background: #fafafa;
}

.inst-title{
  text-align: center;
  font-size: 2.25rem;
  color: #1a1a1a;
  margin: 2.75rem 0 1.75rem;
  font-weight: 900;
}

.inst-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.inst-card{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
}

.inst-card h3{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 0.9rem;
}

.inst-card p{
  margin: 0;
  color: #2d2d2d;
  line-height: 1.55;
}

.inst-icon{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inst-icon svg{
  width: 22px;
  height: 22px;
  fill: #1a1a1a;
}

/* Example */
.inst-example{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 1.25rem;
}

.inst-example__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.inst-steps{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.inst-steps li{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.inst-step__n{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #1a1a1a;     /* было белым */
  border: 1px solid #1a1a1a;/* можно и #e5e5e5, но так контрастнее */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;             /* было темным */
}


.inst-step__body{
  color: #2d2d2d;
  line-height: 1.55;
}

.inst-calc{
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 1rem;
}

.inst-calc__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.inst-calc__head h3{
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a1a1a;
}

.inst-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.75rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  color: #1a1a1a;
  flex-shrink: 0;
}

.inst-calc__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.6rem 0.15rem;
  border-bottom: 1px dashed #e5e5e5;
  color: #2d2d2d;
}

.inst-calc__row--accent strong{
  font-weight: 900;
}

.inst-calc__total{
  margin-top: 0.9rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  color: #1a1a1a;
}

.inst-calc__note{
  margin: 0.9rem 0 0;
  color: #6a6a6a;
  line-height: 1.5;
}

/* Advantages */
.inst-advantages{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.inst-adv{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.25rem;
}

.inst-adv h3{
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a1a1a;
}

.inst-adv p{
  margin: 0;
  color: #2d2d2d;
  line-height: 1.55;
}

/* FAQ */
.inst-faq{
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 1.05rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  color: #1a1a1a;
  text-align: left;
}

.faq-ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #f8f9fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.faq-a{
  padding: 0 1.05rem 1rem;
  color: #2d2d2d;
  line-height: 1.6;
}

/* FAQ — нормальный шрифт и аккуратный вид */
.inst-faq, .inst-faq *{
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

.faq-q{
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 1.05rem 1.1rem;
}

.faq-item{
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.faq-item:hover{
  border-color: #dcdcdc;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

.faq-a{
  font-size: 1rem;
  line-height: 1.65;
  color: #2d2d2d;
  padding: 0 1.1rem 1.05rem;
}


/* CTA — как в about.css */
.cta-section{
  margin-top: 3rem;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  border: 1px solid #333;
}

.cta-inner{
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title{
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.cta-text{
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

/* Кнопка — повтор стиля */
.btn-white{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.10), 0 1px 0 rgba(255,255,255,.9) inset;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn-white::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.035) 0%, rgba(0,0,0,0) 40%, rgba(255,255,255,.55) 65%, rgba(255,255,255,0) 100%);
  opacity: .45;
}

.btn-white::before{
  content:"";
  position:absolute;
  top:-70%;
  left:-60%;
  width: 70%;
  height: 260%;
  pointer-events:none;
  z-index: 0;
  background: linear-gradient(115deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,.06) 49%, rgba(255,255,255,.95) 52%, rgba(0,0,0,.05) 56%, rgba(0,0,0,0) 68%, rgba(0,0,0,0) 100%);
  filter: blur(6px);
  opacity: 0;
  transform: translateX(-160%) rotate(14deg);
  transition: transform .85s cubic-bezier(.2,.85,.2,1), opacity .22s ease;
}

.btn-white .shine-line{
  position:absolute;
  inset:-80% auto -80% -60%;
  width: 34%;
  pointer-events:none;
  z-index: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 100%);
  filter: blur(0.8px);
  opacity: 0;
  transform: translateX(-160%) rotate(14deg);
  transition: transform .78s cubic-bezier(.2,.85,.2,1), opacity .18s ease;
}

.btn-white > *{ position: relative; z-index: 1; }

.button{
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce){
  .btn-white::before,
  .btn-white .shine-line{ display:none; }
}

/* Responsive */
@media (max-width: 1024px){
  .inst-cards{ grid-template-columns: 1fr; }
  .inst-example__grid{ grid-template-columns: 1fr; }
  .inst-advantages{ grid-template-columns: 1fr; }
  .inst-quick{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .inst-hero-inner h1{ font-size: 2rem; }
  .inst-hero-inner p{ font-size: 1.15rem; }
  .inst-title{ font-size: 1.8rem; }
}
