:root {
  --bg: #0b0d10;
  --card: #10141a;
  --card2: #0f1318;
  --text: #e9eef5;
  --muted: #aab4c0;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #e27c7c; /* розовый */
  --accent2: #ffb3b3; /* светлее */
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --r: 18px;
  --w: 1120px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      1000px 600px at 20% -10%,
      rgba(226, 124, 124, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 85% 10%,
      rgba(255, 179, 179, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #07090c 0%, var(--bg) 45%, #07090c 100%);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 18px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 13, 16, 0.55);
  border-bottom: 1px solid var(--line);
}
.topbar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.avatar{
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.brand b {
  display: block;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
nav a {
  color: var(--muted);
  font-size: 13px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: 0.2s;
}
nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  transition: 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}
.btn.primary {
  border-color: rgba(226, 124, 124, 0.35);
  background: linear-gradient(
    135deg,
    rgba(226, 124, 124, 0.95),
    rgba(255, 179, 179, 0.85)
  );
  color: #1a0f12;
  box-shadow: 0 18px 55px rgba(226, 124, 124, 0.22);
}
.btn.primary:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
}
.btn.small {
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
}
.hero {
  padding: 44px 0 18px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}
.card {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-main {
  padding: 26px;
}
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(226, 124, 124, 0.12);
}
h1 {
  margin: 14px 0 10px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.6px;
}
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 12px;
  border-radius: 999px;
}
.hero-side {
  display: grid;
  grid-template-rows: 1fr auto;
}
.side-photo{
  min-height: 210px;
  background-image:
    radial-gradient(800px 260px at 20% 20%, rgba(226,124,124,.18), transparent 55%),
    linear-gradient(0deg, rgba(11,13,16,.62), rgba(11,13,16,.20)),
    url("image/IMG_1236.JPG");
  background-size: cover;
  background-position: 50% 30%; /* ← двигаем кадр к лицу */
  position: relative;
  display: grid;
  place-items: end;
  padding: 18px;
}

.side-photo::before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(
      circle at 25% 30%,
      rgba(255, 179, 179, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 35%,
      rgba(226, 124, 124, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at 60% 80%,
      rgba(255, 255, 255, 0.05),
      transparent 55%
    );
  filter: blur(0px);
}
.mini {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.6);
  border-radius: 16px;
  padding: 14px;
  width: 100%;
}
.mini b {
  display: block;
  font-size: 13px;
}
.mini span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.side-contacts {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 20;
}

section {
  padding: 34px 0;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.3px;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service {
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.2s;
}
.service:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(226, 124, 124, 0.35);
  background: rgba(226, 124, 124, 0.12);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent2);
}
.service h3 {
  margin: 0;
  font-size: 16px;
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.service ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.shot {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  min-height: 190px;
  grid-column: span 4;
  display: block;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: 0.35s;
  filter: saturate(1.02) contrast(1.02);
  object-position: 80% 40%;
}
.shot:hover img {
  transform: scale(1.06);
}
.shot .cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(11, 13, 16, 0.72);
  border: 1px solid var(--line);
  color: var(--text);
}

.prices {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
.price-card {
  padding: 18px;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.item b {
  font-size: 13px;
}
.item span {
  color: var(--muted);
  font-size: 12px;
}
.item em {
  font-style: normal;
  font-weight: 800;
}
.note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 14px;
}
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 13px;
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer {
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 12px;
}
.footer .row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .shot {
    grid-column: span 6;
  }
  .prices {
    grid-template-columns: 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 30px;
  }
  .shot {
    grid-column: span 12;
  }
  .brand {
    min-width: auto;
  }
  .cta {
    gap: 8px;
  }
  .btn {
    padding: 10px 12px;
  }
}
/* BEFORE/AFTER inside portfolio cards */
.shot.ba{
  position: relative;
  cursor: ew-resize;
}

.shot.ba img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot.ba .ba-before,
.shot.ba .ba-after{
  position:absolute;
  inset:0;
}

.shot.ba .ba-after{
  clip-path: inset(0 50% 0 0);
}

.shot.ba .ba-slider{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  appearance:none;
  background:transparent;
  cursor: ew-resize;
  z-index: 5;
}

.shot.ba .ba-slider::-webkit-slider-thumb{
  appearance:none;
  width: 4px;
  height: 100%;
  background: #e27c7c;
}

.shot.ba .ba-slider::-moz-range-thumb{
  width: 4px;
  height: 100%;
  background: #e27c7c;
  border: none;
}

