/* ======================================================
   HERO PHONE MOCK
====================================================== */

.hero-phone{
  display:flex;
  justify-content:center;
    transform: translateY(-20px); /* 👈 регулируешь тут */

}

/* PHONE */
.phone-mock{
  width:300px;
  border-radius:22px;
  background:#fff;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
  overflow:hidden;
  scale: 0.95;
}

/* COVER */
.phone-cover{
  height:180px;
  background-size:cover;
  background-position:center;
  position:relative;
}

.phone-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.15),
    rgba(0,0,0,0)
  );
}

/* SHARE */
.mock-share{
  position:absolute;
  top:14px;
  right:14px;
  background:rgba(255,255,255,.9);
  border:none;
  border-radius:14px;
  padding:6px 12px;
  font-size:13px;
  font-weight:600;
}

/* AVATAR */
.mock-avatar{
  position:absolute;
  bottom:-42px;
  left:50%;
  transform:translateX(-50%);
  width:84px;
  height:84px;
  border-radius:50%;
  overflow:hidden;
  border:5px solid #fff;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}

.mock-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* CARD */
.phone-card{
  text-align:center;
  padding:56px 16px 14px;
}

.mock-name{
  font-size:18px;
  font-weight:700;
}

.mock-role{
  font-size:14px;
  color:#555;
  margin-top:4px;
}

/* BLOCKS */
.mock-blocks{
  padding:12px;
}

.mock-block{
  background:#f7f7f9;
  border:1px solid #eee;
  border-radius:14px;
  padding:12px 14px;
  margin-bottom:10px;
  font-size:14px;
}

/* SAVE */
.mock-save{
  margin:12px;
  background:var(--brand);
  color:#fff;
  text-align:center;
  padding:14px;
  border-radius:22px;
  font-weight:600;
}
/* MOCK BLOCK WITH ARROW */
.mock-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.mock-block span{
  font-weight:500;
}

.mock-block .block-arrow{
  font-size:18px;
  color:#aaa;
}
/* CONTACTS ALIGN FIX */
.flow-wrap{
  align-items:flex-start;
}
/* =========================
   CONTACTS
========================= */

.contact-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:20px;
}

.contact-ico{
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(132,67,105,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.contact-item strong{
  display:block;
  font-weight:700;
  margin-bottom:2px;
}

.contact-item span{
  color:var(--muted);
  font-size:.95rem;
}

.contact-note{
  margin-top:28px;
  font-size:.9rem;
  color:#555;
  max-width:420px;
}

/* FORM CARD */

.contact-form-card{
  background:#fff;
  padding:36px;
  border-radius:24px;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  max-width:520px;
  width:100%;
}

.contact-form-card h4{
  font-weight:800;
  margin-bottom:24px;
}

.contact-form-card .form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}

.contact-form-card input,
.contact-form-card textarea{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  font-size:.95rem;
}

.contact-form-card textarea{
  margin:18px 0 26px;
  resize:none;
}

/* MOBILE */

@media(max-width:900px){
  .contact-form-card .form-row{
    grid-template-columns:1fr;
  }
}
/* === PROMO PREVIEW === */
.promo-preview {
  padding: 4rem 0;
  background: linear-gradient(180deg,#f9fafa,#ffffff);
}

.promo-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.promo-preview-left h2 {
  font-weight: 800;
  margin-bottom: .5rem;
}

.promo-preview-left .subtitle {
  color: #555;
  margin-bottom: 1.5rem;
}

.preview-controls label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
}

.preview-controls input[type="text"] {
  width: 100%;
  padding: .65rem .8rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
}

.preview-toggles label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  font-weight: 500;
}

.preview-hint {
  margin-top: 1rem;
  font-size: .9rem;
  color: #666;
}

/* === PHONE === */
.phone-safari {
  width: 280px;
  margin: auto;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.15);
  overflow: hidden;
  background: #fff;
}

.safari-bar {
  background: #f1f1f1;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
}

.safari-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red{background:#ff5f57}
.dot.yellow{background:#febc2e}
.dot.green{background:#28c840}

.safari-bar .url {
  margin-left: 8px;
  color: #555;
  white-space: nowrap;
}

.phone-content {
  padding: 1.2rem;
  text-align: center;
}

.phone-content .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg,#844369,#b46a95);
  margin: 0 auto 10px;
}

.phone-content .name {
  font-weight: 700;
}

.phone-content .role {
  font-size: .85rem;
  color: #666;
  margin-bottom: 1rem;
}

.card-block {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: .6rem;
  margin-bottom: .5rem;
  font-size: .9rem;
}

.save-btn {
  margin-top: 1rem;
  background: #844369;
  color: #fff;
  padding: .6rem;
  border-radius: 12px;
  font-weight: 600;
}
.promo-center{
  padding:6rem 0;
  background:linear-gradient(180deg,#f9fafa,#ffffff);
}

.promo-badge{
  display:inline-block;
  background:#844369;
  color:#fff;
  padding:.35rem .9rem;
  border-radius:999px;
  font-weight:700;
  margin-bottom:1rem;
}

.promo-title{
  font-weight:800;
  margin-bottom:1rem;
}

.promo-text{
  max-width:640px;
  margin:0 auto 2rem;
  color:#555;
  font-size:1.05rem;
}

.promo-cta{
  padding:.8rem 2rem;
}

.promo-note{
  margin-top:1rem;
  font-size:.85rem;
  color:#777;
}
.promo-actions{
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom:1rem;
}

.promo-note{
  font-size:.85rem;
  color:#777;
}
/* === SAFARI BAR === */
.safari-bar{
  background:#f1f1f1;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:14px 14px 0 0;
  margin-bottom:-10px;
  font-size:.75rem;
}
.safari-bar .dot{
  width:10px;height:10px;border-radius:50%;
}
.safari-bar .red{background:#ff5f57}
.safari-bar .yellow{background:#febc2e}
.safari-bar .green{background:#28c840}
.safari-url{
  margin-left:8px;
  color:#555;
}

/* === DEMO EDITOR === */
.demo-phone-editor{
  max-width:340px;
  margin:auto;
}

.demo-editor{
  margin-top:1rem;
  display:flex;
  flex-direction:column;
  gap:.5rem;
}

.demo-editor input{
  padding:.55rem .65rem;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:.9rem;
}

.editor-toggles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.4rem;
  font-size:.85rem;
}
.demo-preview{
  padding:4rem 0;
  background:#f9fafb;
}

.demo-preview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:flex-start;
}

/* Editor */
.demo-preview-editor input{
  width:100%;
  padding:.6rem .7rem;
  border-radius:10px;
  border:1px solid #ddd;
  margin-bottom:.6rem;
}

.editor-toggles{
  margin-top:1rem;
  display:grid;
  gap:.6rem;
}

/* Toggle switch */
.toggle{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-size:.9rem;
}
.toggle input{display:none}
.toggle span{
  width:36px;height:20px;
  background:#ccc;
  border-radius:999px;
  position:relative;
  cursor:pointer;
}
.toggle span::after{
  content:"";
  width:16px;height:16px;
  background:#fff;
  border-radius:50%;
  position:absolute;
  top:2px;left:2px;
  transition:.2s;
}
.toggle input:checked + span{
  background:#844369;
}
.toggle input:checked + span::after{
  transform:translateX(16px);
}
.demo-hero-center{
  padding:4rem 0 2.5rem;
}
.demo-points-center{
  display:inline-block;
  text-align:left;
}
.hero-subtitle{
  max-width:680px;
  margin:0 auto 1.5rem;
}
.editor-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.6rem .8rem;
  margin-bottom:1.2rem;
}

.demo-preview-editor input{
  padding:.45rem .6rem;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:.85rem;
}
.mock-slogan{
  font-size:.75rem;
  color:#777;
  margin-top:2px;
}
.big-toggles .toggle span{
  width:44px;
  height:24px;
}
.big-toggles .toggle span::after{
  width:20px;
  height:20px;
  top:2px;
  left:2px;
}
.big-toggles .toggle input:checked + span::after{
  transform:translateX(20px);
}
.big-toggles .toggle{
  font-size:.95rem;
}
.mock-tabs{
  display:flex;
  gap:6px;
  margin-top:.6rem;
  justify-content:center;
}
.mock-tab{
  padding:.3rem .6rem;
  border-radius:8px;
  font-size:.7rem;
  background:#f1f1f1;
  cursor:pointer;
}
.mock-tab.active{
  background:#844369;
  color:#fff;
}
/* === iOS TABS === */
.ios-tabs{
  display:flex;
  background:#f2f2f7;
  border-radius:14px;
  padding:4px;
  margin-top:.6rem;
  gap:4px;
}

.ios-tab{
  flex:1;
  border:none;
  background:transparent;
  border-radius:10px;
  padding:.35rem 0;
  font-size:.72rem;
  font-weight:600;
  color:#555;
  cursor:pointer;
}

.ios-tab.active{
  background:#fff;
  color:#000;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
}

/* === TAB CONTENT === */
.pv-tab-content{
  display:none;
}
.pv-tab-content.active{
  display:block;
}
.demo-final-cta{
  padding:5rem 0;
  background:linear-gradient(180deg,#ffffff,#f9fafb);
}

.demo-final-cta h2{
  font-weight:800;
  margin-bottom:1rem;
}

.cta-subtitle{
  max-width:720px;
  margin:0 auto 2rem;
  color:#555;
  font-size:1.05rem;
}

.cta-actions{
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}

.cta-note{
  font-size:.85rem;
  color:#777;
}
/* === SERVICES === */
.service-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:.6rem;
}
.service-card{
  background:#f2f2f7;
  border-radius:12px;
  padding:.45rem;
  font-size:.75rem;
  text-align:center;
}

.service-cta{
  background:#844369;
  color:#fff;
  border-radius:12px;
  padding:.45rem;
  text-align:center;
  font-size:.8rem;
  font-weight:600;
  margin-top: 20px;
}

/* === WORKS === */
.works-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}

.work-thumb{
  border-radius:10px;
  overflow:hidden;
  cursor:pointer;
  border:1px solid #eee;
}
.work-thumb img{
  width:100%;
  display:block;
}

/* === ZOOM OVERLAY === */
.pv-zoom{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.pv-zoom-frame{
  background:#fff;
  border-radius:26px;
  padding:10px;
  max-width:320px;
}
.pv-zoom-frame img{
  width:100%;
  border-radius:18px;
}
.service-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.service-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.45rem .6rem;
  border-radius:10px;
  background:#f2f2f7;
  font-size:.8rem;
}
.service-row strong{
  font-weight:700;
}
.ios-tabs-bottom{
  position:sticky;
  bottom:0;
  margin-top:.6rem;
  background:#f2f2f7;
  border-radius:14px;
  padding:4px;
  display:flex;
  gap:4px;
}
.ios-tabs-bottom .ios-tab{
  flex:1;
  font-size:.75rem;
}
.pv-inner-preview{
  position:absolute;
  inset:0;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:20;
}
.pv-inner-preview img{
  width:100%;
  height:auto;
}
/* === iOS BOTTOM SHEET === */
.ios-sheet{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}

.ios-sheet.active{
  display:block;
}

.ios-sheet-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.4);
}

.ios-sheet-panel{
  position:absolute;
  left:0; right:0; bottom:0;
  background:#fff;
  border-radius:18px 18px 0 0;
  padding:1.2rem;
  animation:sheetUp .25s ease;
}

@keyframes sheetUp{
  from{transform:translateY(100%)}
  to{transform:translateY(0)}
}

.ios-sheet-handle{
  width:40px;
  height:4px;
  background:#ccc;
  border-radius:999px;
  margin:0 auto .8rem;
}

.sheet-price{
  font-weight:700;
  margin-bottom:.8rem;
}

.sheet-form input,
.sheet-form textarea{
  width:100%;
  padding:.6rem;
  border-radius:10px;
  border:1px solid #ddd;
  margin-bottom:.6rem;
}

.sheet-form button{
  width:100%;
  padding:.7rem;
  border-radius:12px;
  background:#844369;
  color:#fff;
  font-weight:600;
  border:none;
}
.editor-services{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.editor-service-row{
  display:grid;
  grid-template-columns:1fr 90px;
  gap:8px;
}

.editor-service-row input{
  padding:.45rem .6rem;
  font-size:.85rem;
}
.phone-mock{
  position:relative;
}

/* SHEET WRAPPER */
.phone-sheet{
  position:absolute;
  inset:0;
  z-index:30;
  display:none;
}

.phone-sheet.active{
  display:block;
}

/* BACKDROP */
.phone-sheet-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
}

/* PANEL */
.phone-sheet-panel{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  background:#fff;
  border-radius:18px 18px 0 0;
  padding:.9rem;
  animation:phoneSheetUp .25s ease;
}

@keyframes phoneSheetUp{
  from{transform:translateY(100%)}
  to{transform:translateY(0)}
}

.sheet-handle{
  width:36px;
  height:4px;
  background:#ccc;
  border-radius:999px;
  margin:0 auto .6rem;
}

.sheet-price{
  font-weight:700;
  margin-bottom:.6rem;
}

.sheet-form input,
.sheet-form textarea{
  width:100%;
  padding:.45rem .55rem;
  font-size:.85rem;
  border-radius:10px;
  border:1px solid #ddd;
  margin-bottom:.45rem;
}

.sheet-form button{
  width:100%;
  padding:.55rem;
  border-radius:12px;
  background:#844369;
  color:#fff;
  font-weight:600;
  border:none;
}
@media (min-width: 992px){
    .hero-phone{
        transform: translateY(-30px);
    }
}
