:root{
  --bg:#0b0f17;
  --card:#101826;
  --muted:#9fb0c6;
  --text:#eaf0ff;
  --accent:#ff3d7f;
  --accent2:#7c5cff;
  --border:rgba(255,255,255,.08);
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1100px;
  --gap: 18px;
  color-scheme: dark;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(255,61,127,.28), transparent 60%),
    var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,.55);
  border-bottom: 1px solid var(--border);
}
.header__row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.logo{display:flex; align-items:center; gap:10px; font-weight:700}
.logo__dot{
  width:12px; height:12px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(255,61,127,.12);
}
.nav{display:flex; gap:14px; color:var(--muted)}
.nav a{padding:8px 10px; border-radius:12px}
.nav a:hover{background:rgba(255,255,255,.06); color:var(--text)}

.btn{
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,61,127,.95), rgba(124,92,255,.95));
  color: white;
  padding:11px 14px;
  border-radius: 14px;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(255,61,127,.12);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  box-shadow:none;
}
.btn--small{padding:9px 12px; border-radius:12px; font-weight:700}
.badge{
  display:inline-block;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}

.hero{padding:34px 0 14px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:24px;
  align-items:stretch;
}
.hero h1{font-size:42px; line-height:1.05; margin:12px 0 10px}
.accent{color: #ff78a9}
.lead{color:var(--muted); font-size:17px; line-height:1.5; margin:0 0 16px}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 16px}
.hero__bullets{margin:0; padding-left:18px; color:var(--muted); display:grid; gap:8px}

.hero__card{
  border:1px solid var(--border);
  background: rgba(16,24,38,.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero__image{
  height:220px;
  background:
    radial-gradient(700px 250px at 20% 10%, rgba(255,61,127,.35), transparent 60%),
    radial-gradient(700px 250px at 80% 20%, rgba(124,92,255,.35), transparent 60%),
    url("your-photo-hero.jpg");
  background-size: cover;
  background-position:center;
  border-bottom: 1px solid var(--border);
}
/* Заменишь на свои фото:
   - your-photo-hero.jpg
   - product-1.jpg ... product-4.jpg  (или сделай одинаковое)
*/
.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat{
  padding:14px 14px;
  border-right:1px solid var(--border);
}
.stat:last-child{border-right:none}
.stat__num{font-weight:800}
.stat__label{color:var(--muted); font-size:13px; margin-top:4px}
.hint{margin:10px 14px 14px; color:rgba(159,176,198,.85); font-size:12px}

.section{padding:34px 0}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px}
.section__head h2{margin:0; font-size:28px}
.muted{color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.card{
  border:1px solid var(--border);
  background: rgba(16,24,38,.62);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__body{padding:14px}
.product__img{
  height:150px;
  border-bottom:1px solid var(--border);
  background-size:cover;
  background-position:center;
  filter:saturate(1.05);
}
.img--one{background-image:url("product-1.jpg")}
.img--two{background-image:url("product-2.jpg")}
.img--three{background-image:url("product-3.jpg")}
.img--four{background-image:url("product-4.jpg")}

.row{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px}
.price{font-size:18px; font-weight:900}

.notice{
  margin-top:16px;
  padding:14px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.03);
}

.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.step{padding:16px}
.step__num{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.07);
  border:1px solid var(--border);
  font-weight:900;
  margin-bottom:12px;
}

.faq{display:grid; gap:12px}
details{padding:14px}
summary{cursor:pointer; font-weight:800}
details p{color:var(--muted); margin:10px 0 0}

.footer{
  border-top:1px solid var(--border);
  padding:22px 0;
  background: rgba(11,15,23,.55);
}
.footer__row{display:flex; justify-content:space-between; gap:12px; align-items:center}
.footer__links{display:flex; gap:14px; color:var(--muted)}
.footer__links a:hover{color:var(--text)}

/* Modal */
.modal{position:fixed; inset:0; display:none; z-index:60}
.modal[aria-hidden="false"]{display:block}
.modal__backdrop{position:absolute; inset:0; background: rgba(0,0,0,.55)}
.modal__dialog{
  position:relative;
  width:min(720px, calc(100% - 24px));
  margin: 7vh auto;
  border:1px solid var(--border);
  border-radius: 18px;
  background: rgba(16,24,38,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid var(--border);
}
.iconBtn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}

.form{padding:14px}
label{display:block; color:var(--muted); font-size:13px; margin: 0 0 6px}
input, select, textarea{
  width:100%;
  padding:11px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus{border-color: rgba(255,61,127,.55)}
.form__row{margin-bottom:12px}
.form__row.two{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.form__actions{display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 10px}
.result{min-height:120px; resize:vertical}

@media (max-width: 980px){
  .grid{grid-template-columns: repeat(2, 1fr)}
  .hero__grid{grid-template-columns: 1fr}
}
@media (max-width: 560px){
  .grid{grid-template-columns: 1fr}
  .nav{display:none}
  .form__row.two{grid-template-columns:1fr}
  .hero h1{font-size:34px}
}
/* === КАРТИНКИ ДЛЯ КАРТОЧЕК ТОВАРОВ === */
.product__img{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* сейчас у тебя 24шт использует img--one, а 72шт img--two (см. каталог) */
.img--one  { background-image: url("images/kinder-3.jpg"); }   /* 3 шт и коробка 24 (пока) */
.img--two  { background-image: url("images/kinder-5.jpg"); }   /* 5 шт и коробка 72 (пока) */
.img--three{ background-image: url("images/kinder-7.jpg"); }   /* 7 шт */
.img--four { background-image: url("images/kinder-10.jpg"); }  /* 10 шт */
.img--box24 { background-image: url("images/box-24.jpg"); }
.img--box72 { background-image: url("images/box-72.jpg"); }
.hero__image{
  width: 100%;
  height: 100%;
  background-image: url("images/figures.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* =========================
   MOBILE FIXES (kinderjoy.moscow)
   Добавлено для нормальной мобильной версии
   ========================= */

/* SVG-логотип: не сжимать до 12px */
.logo__dot{
  width:26px;
  height:26px;
  background: none;
  box-shadow: none;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* Шапка: перенос строк, чтобы ничего не вылезало */
.header__row{
  flex-wrap: wrap;
}
.nav{
  flex-wrap: wrap;
}

/* Hero-изображение: у тебя было height:100% (ломало блок). Возвращаем нормальную высоту */
.hero__image{
  height: 260px;
  width: 100%;
  background-image: url("images/figures.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Статы: красиво в две/одну строку на узких экранах */
@media (max-width: 980px){
  .hero{padding: 22px 0 10px;}
  .hero__grid{gap: 16px;}
  .hero h1{font-size: 36px;}
  .hero__stats{grid-template-columns: 1fr; }
  .stat{
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat:last-child{border-bottom:none;}
  .hero__image{height: 240px;}
  .section{padding: 26px 0;}
  .section__head{flex-direction: column; align-items:flex-start;}
}

/* Мобильные телефоны */
@media (max-width: 560px){
  .container{padding: 0 14px;}
  .nav{display:none;} /* меню скрываем как у тебя было */
  .header__row{gap:10px;}
  .btn{padding:10px 12px; border-radius: 14px;}
  .btn--small{padding:9px 12px;}

  .hero h1{font-size: 30px; line-height: 1.08;}
  .lead{font-size: 15px;}
  .hero__bullets{padding-left: 18px; gap: 10px;}
  .hero__cta{gap:10px;}

  .hero__card{border-radius: 18px;}
  .hero__image{height: 220px;}

  .grid{grid-template-columns: 1fr;}
  .product__img{height: 170px;}

  .steps{grid-template-columns: 1fr;}
  .footer__row{flex-direction: column; align-items:flex-start;}
  .footer__links{gap:12px; flex-wrap: wrap;}

  /* Модалка: почти во весь экран, удобнее на телефоне */
  .modal__dialog{
    width: calc(100% - 16px);
    margin: 10px auto;
  }
}
