/* ===============================
   GLOBAL DARK BACKGROUND
================================ */
body {
  background: #0b0b0b;
  color: #eaeaea;
}

/* ======== ЗАГОЛОВОК (ЛОГО + ТЕКСТ) ======== */
#galleryHeading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  z-index: 0;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  margin-left: clamp(4vw, 6vw, 8vw);
}

#galleryLogo {
  width: clamp(50px, 10vw, 120px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .18));
}

#galleryWord {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  line-height: 1.05;
}

@media (max-width: 600px) {
  #galleryWord { font-size: clamp(22px, 5vw, 36px); }
}
/* ===============================
   CENTER CONTENT
================================ */
.page-wrapper {
  background: radial-gradient(
    60% 40% at 50% 30%,
    rgba(30, 136, 255, 0.12),
    transparent 70%
  );
}

.tg-contact h2 {
  color: rgba(255, 255, 255, 0.85);
}

/* ===============================
   TELEGRAM BUTTON
================================ */
.tg-btn {
  background: #1e88ff;
  color: #ffffff;
  box-shadow: 0 12px 40px rgba(30, 136, 255, 0.45);
}

.tg-btn:hover {
  background: #1676e5;
  box-shadow: 0 18px 60px rgba(30, 136, 255, 0.6);
}

/* --- Универсальный футер Mikhail Brynn --- */

.mb-footer {
  width: 100%;
  background: #0a0a0c;
  padding: 32px 20px;
  margin-top: auto; /* футер прилипает к низу окна, если контента мало */
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.mb-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #e6e6ea;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.mb-footer-inner p {
  margin: 4px 0;
}

/* =========================================
   price.css — только для страницы price
   ========================================= */

/* База */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --header-h: 56px;
  --text: #eaeef7;
  --text-dim: #c9d2e6;
  --bg: #0f0f0f;
  --btn: #2b64ff;
  --btn-hover: #3b73ff;
}
@media (max-width: 640px){ :root{ --header-h: 52px; } }

/* ===== Каркас страницы ===== */
body[data-page="price"]{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji",sans-serif;

  /* прижатый футер и отсутствие узких «полос» */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;           /* растягиваем контент по ширине */
  overflow-x: hidden;

  padding-top: calc(var(--header-h) + env(safe-area-inset-top));
}

/* ===== Шапка ===== */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  height:60px;
  padding:12px 20px;
  display:flex;
  align-items:center;
  backdrop-filter: blur(8px) saturate(140%);
  background: rgba(6,6,6,0.45);
  z-index:80;
  border-bottom:1px solid rgba(255,255,255,0.02);
}
.header-inner{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand-name{ color:#fff; text-decoration:none; font-weight:600; letter-spacing:.6px; }
.header-nav{ display:flex; gap:16px; align-items:center; }
.nav-btn{ color:#cfe0ff; text-decoration:none; font-size:14px; opacity:.9; }

/* ===== Секция карточек услуг ===== */
body[data-page="price"] .services-grid{
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1200px;
  margin: clamp(24px, 6vw, 56px) auto;
  padding: 0 clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(3, minmax(260px,1fr));
  gap: clamp(16px, 3vw, 32px);

  /* чтобы футер уходил вниз при малом контенте */
  flex: 1 0 auto;
}
@media (max-width:1024px){
  body[data-page="price"] .services-grid{
    grid-template-columns: repeat(2, minmax(240px,1fr));
  }
}
@media (max-width:640px){
  body[data-page="price"] .services-grid{ grid-template-columns:1fr; }
}

/* ===== ПОДАРОЧНАЯ КАРТА (строгая форма ID-1) ===== */
body[data-page="price"] .service-card{
  --card-radius: 26px;
  --pad: clamp(16px, 3vw, 24px);

  position: relative;
  width: 100%;
  aspect-ratio: 1.586;            /* 85.60 × 53.98 мм */
  min-height: clamp(180px, 24vw, 320px); /* чтобы не становилась слишком низкой */

  border-radius: var(--card-radius);
  overflow: hidden;                /* фон строго внутри скруглений */
  isolation: isolate;
  background: #0c1216;
  outline: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 24px 80px rgba(0,0,0,.45),
    inset 0 -80px 120px rgba(0,0,0,.45);
  transition: transform .32s ease, box-shadow .32s ease, outline-color .32s ease;
}
/* Фото-фон из inline CSS-переменной --bg */
body[data-page="price"] .service-card::before{
  content:"";
  position:absolute; inset:0;
  background: var(--bg) center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05) brightness(.85);
  transform: scale(1.03);
  z-index:-2;
}
/* Декоративный ореол */
body[data-page="price"] .service-card::after{
  content:"";
  position:absolute; inset:-18%;
  background:
    radial-gradient(60% 60% at 70% 80%, rgba(43,100,255,.35) 0%, rgba(43,100,255,.10) 35%, transparent 60%),
    radial-gradient(50% 50% at 10% 0%, rgba(255,255,255,.10) 0%, transparent 55%);
  filter: blur(26px);
  z-index:-1;
}
body[data-page="price"] .service-inner{
  position:absolute; inset:0;
  padding: var(--pad);
  display:flex; flex-direction:column; justify-content:space-between;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
}
body[data-page="price"] .service-title{
  margin:0; color:var(--text);
  font-weight:600; letter-spacing:.3px;
  font-size: clamp(18px, 2.2vw, 22px);
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
body[data-page="price"] .service-sub{
  margin:.35em 0 0 0; color:var(--text-dim);
  font-size: clamp(12px, 1.6vw, 14px); opacity:.95;
}
body[data-page="price"] .service-btn{
  align-self:flex-end;
  display:inline-block;
  text-decoration:none;
  color:#fff;
  background: linear-gradient(180deg, var(--btn), var(--btn-hover));
  padding: 10px 18px;
  border-radius: 999px;
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight:600; letter-spacing:.2px;
  box-shadow: 0 10px 28px rgba(43,100,255,.45),
              inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
body[data-page="price"] .service-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(43,100,255,.55),
              inset 0 0 0 1px rgba(255,255,255,.22);
  filter: saturate(1.05);
}
body[data-page="price"] .service-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 30px 100px rgba(0,0,0,.55),
              0 0 0 1px rgba(255,255,255,.05) inset;
}

@media (max-width:640px){
  body[data-page="price"] .service-card{
    min-height: clamp(200px, 54vw, 300px);
  }
}

/* ===== Малые карточки (Фотосъёмка / Видеосъёмка) ===== */
body[data-page="price"] .service-card--mini {
  --panel-top: #02041e;
  --panel-bottom: #000000;
  --radius: 28px;

  width: clamp(240px, 42vw, 420px);
  height: clamp(160px, 28vw, 260px);
  margin: 14px auto;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  outline: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 10px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

body[data-page="price"] .service-card--mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(43,100,255,.3);
}

/* Заголовок */
body[data-page="price"] .service-card--mini h3 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(18px, 3.2vw, 32px);
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

/* Glow-кнопка */
body[data-page="price"] .service-card--mini .service-btn--glow {
  margin-top: 0;
  padding: 10px 24px;
  font-size: clamp(13px, 1.6vw, 16px);
  background: linear-gradient(180deg, #2b64ff, #3b73ff);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  box-shadow: 0 6px 16px rgba(43,100,255,.35), inset 0 0 0 1px rgba(255,255,255,.15);
  transition: all .25s ease;
}

body[data-page="price"] .service-card--mini .service-btn--glow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  translate: -50% 0;
  width: 130%;
  height: 80%;
  border-radius: 999px;
  background: radial-gradient(100% 120% at 50% 20%,
              rgba(53,120,255,.55) 0%,
              rgba(53,120,255,.25) 40%,
              transparent 70%);
  filter: blur(22px);
  z-index: -1;
  opacity: .85;
}

body[data-page="price"] .service-card--mini .service-btn--glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(43,100,255,.5);
  filter: saturate(1.1);
}

/* Контейнер для выравнивания */
body[data-page="price"] .services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  margin-top: clamp(20px, 5vh, 40px);
}


/* --- Универсальный футер Mikhail Brynn --- */

.mb-footer {
  width: 100%;
  background: #0a0a0c;
  padding: 32px 20px;
  margin-top: auto; /* футер прилипает к низу окна, если контента мало */
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.mb-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #e6e6ea;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.mb-footer-inner p {
  margin: 4px 0;
}


/* ===== Заголовок раздела услуг ===== */
body[data-page="price"] .services-heading {
  text-align: center;
  margin-top: clamp(40px, 8vh, 80px);
  margin-bottom: clamp(20px, 5vh, 40px);
}

body[data-page="price"] .services-heading h2 {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.6px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
  background: linear-gradient(90deg, #ffffff, #9bb6ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Картинка банта поверх карты подарочных карт */
body[data-page="price"] .service-card {
  position: relative; /* уже есть, но пусть будет на всякий */
}

body[data-page="price"] .service-card .service-bow {
  position: absolute;
  top: 0%;     /* поднять над карточкой */
  right: 0%;    /* немного выступает вправо, как на скрине */
  width: 40%;    /* размер банта относительно карты */
  height: auto;

  pointer-events: none; /* чтобы не мешать клику по кнопке */
  z-index: 10;          /* поверх всего содержимого карточки */
}

