/* =========================
   BASE
========================= */
* { box-sizing: border-box; }

:root{
  --bg: #222;
  --card: #333;
  --accent: #be662b;
  --text: #fff;
  --textDark: #000;
  --line: rgba(255,255,255,.12);
}

body{
  margin: 0;
  padding: 12px;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* =========================
   WRAPPER
========================= */
.menu{
  width: 100%;
  max-width: 920px;
  background: var(--card);
  border-radius: 16px;
  text-align: center;
  padding: clamp(16px, 3vw, 28px);
  padding-top: clamp(18px, 4vw, 34px);
   box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

h1{
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 1px;
}

.para{
  margin: 10px 0 18px;
  font-size: clamp(1rem, 3.2vw, 1.4rem);
  opacity: .9;
}

/* =========================
   SECTIONS
========================= */
.block{ margin: 18px 0; }

.section{
  display: flex;
  gap: 18px;
  align-items: center;
}

.text{
  flex: 1;
  min-width: 0;
  text-align: left;
}

/* Title pill */
h3{
  display: block;
  width: min(620px, 100%);
  margin: 0 auto 14px;
  text-align: center;
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  color: var(--textDark);
  font-weight: 800;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
}

/* Price list */
.price-list{
  list-style: none;
  margin: 0;
  padding: 0 28px;
}

.price-list li{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 3.4vw, 1.15rem);
}

.price-list li span{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-list li b{
  white-space: nowrap;
  font-weight: 900;
}

/* =========================
   PHOTO BLOCK (ФОТО ДҰРЫС БОЛАДЫ)
========================= */
.media{
  flex: 0 0 auto;
  width: 240px;
  height: 300px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

/* right block: rounded LEFT side */
.media--right{
  border-radius: 160px 0 0 160px;
}

/* left block: rounded RIGHT side */
.media--left{
  border-radius: 0 160px 160px 0;
}

/* image inside (circle on desktop) */
.media__img{
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  background: rgba(0,0,0,.12);
}

/* IMPORTANT: photo is not distorted */
.media__img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;      /* если полностью видеть надо: contain */
  object-position: center;
}

/* =========================
   CONTACT
========================= */
.contact{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill{
  background: var(--accent);
  color: var(--textDark);
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform .15s ease, filter .15s ease;
}

.pill:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.item{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.name{
  font-weight: 900;
  letter-spacing: .2px;
}

.desc{
  font-size: 0.92em;
  opacity: .85;
  line-height: 1.25;
  word-break: break-word; /* ұзын текст телефонда сынсын */
}

.price{
  white-space: nowrap;
  font-weight: 900;
  padding-left: 10px;
}

.price-list li{
  letter-spacing: .2px;
  align-items: flex-start; /* баға жоғары жақта тұрсын */
}


/* =========================
   MOBILE (Телефонға әдемі)
========================= */
@media (max-width: 768px){
  body{ padding: 10px; }

  .section{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .price-list{ padding: 0 10px; }

  /* mobile: photo becomes a nice card (not weird cut) */
  .media{
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 18px;
    margin: 0 auto;
    padding: 12px;
  }

  .media__img{
    max-width: none;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
}

@media (max-width: 420px){
  .pill{ width: 100%; text-align: center; }
}


.price-list li.service{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px dashed rgba(255,255,255,.25);
  border-bottom: none;
  align-items: center;
}


.price-list li.service span{
  font-weight: 900;
  opacity: 1;
  white-space: nowrap;
}

.price-list li.service b{
  font-weight: 900;
  white-space: nowrap;
}
