/* ═══════════════════════════════════════════
   Osiyo Travel — Bron bo'limi (booking.css)
   ═══════════════════════════════════════════ */

.booking-section {
  padding: 5rem 3rem;
  position: relative; overflow: hidden;
}
.booking-bg-circle {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,82,42,0.08) 0%, transparent 70%);
  top: -120px; left: -120px; pointer-events: none;
}
.booking-bg-circle.two {
  top: auto; left: auto; bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(30,126,46,0.07) 0%, transparent 70%);
}

.booking-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2;
}

/* ── Chap: ma'lumot ── */
.booking-info .section-tag { display: inline-block; margin-bottom: 0.75rem; }
.booking-info .section-title { text-align: left; }
.booking-info-text {
  font-size: 15px; color: var(--muted); line-height: 1.8;
  margin: 1rem 0 1.75rem; max-width: 420px;
}
.booking-perks { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.75rem; }
.booking-perks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--dark); font-weight: 500;
}
.booking-perks li span {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  background: rgba(232,82,42,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
/* ═══ FUTURISTIK QO'NG'IROQ TUGMASI ═══ */
.phone-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.7rem 1.6rem 0.7rem 0.7rem;
  border-radius: 100px;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid rgba(232,82,42,0.18);
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s, border-color 0.4s;
  box-shadow: 0 10px 30px rgba(232,82,42,0.12);
}
.phone-cta:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(232,82,42,0.45);
  box-shadow: 0 18px 44px rgba(232,82,42,0.22);
}
.phone-cta:active { transform: translateY(-1px) scale(0.99); }

/* tarqaluvchi to'lqin halqalar (yashil — logotipdagi kabi) */
.phone-cta-ring, .phone-cta-ring.r2 {
  position: absolute; left: 32px; top: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border: 1.5px solid var(--green); border-radius: 50%;
  opacity: 0; z-index: 0;
  animation: phoneWave 2.6s ease-out infinite;
}
.phone-cta-ring.r2 { animation-delay: 1.3s; }
@keyframes phoneWave {
  0%   { transform: scale(0.6); opacity: 0.45; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* dumaloq ikonka — yashil (logotip yozuvi rangi) */
.phone-cta-icon {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(30,126,46,0.4);
}
.phone-cta-icon svg { width: 23px; height: 23px; animation: phoneShake 1.6s ease-in-out infinite; }
@keyframes phoneShake {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30%, 50% { transform: rotate(-11deg); }
  20%, 40%      { transform: rotate(11deg); }
}

/* matn */
.phone-cta-text { position: relative; z-index: 1; display: flex; flex-direction: column; line-height: 1.2; }
.phone-cta-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 3px;
}
.phone-cta-number {
  font-size: 1.3rem; font-weight: 700;
  color: var(--red);
  font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.01em;
}

@media (max-width: 560px) {
  .phone-cta-number { font-size: 1.1rem; }
  .phone-cta { padding-right: 1.25rem; }
}

/* ── O'ng: forma karta ── */
.booking-card {
  background: white; border-radius: 28px;
  box-shadow: 0 32px 90px rgba(232,82,42,0.14);
  padding: 2.25rem; position: relative;
}

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--dark); margin-bottom: 0.5rem;
}
.form-label .req { color: var(--red); }
.form-input {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(26,18,11,0.12); border-radius: 14px;
  font-size: 15px; font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark); background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input::placeholder { color: #B5A899; }
.form-input:focus {
  outline: none; border-color: var(--red); background: white;
  box-shadow: 0 0 0 4px rgba(232,82,42,0.1);
}
.form-input.error { border-color: #E03131; box-shadow: 0 0 0 4px rgba(224,49,49,0.08); }
.error-msg { font-size: 12px; color: #E03131; margin-top: 5px; display: none; }
.form-input.error + .error-msg { display: block; }

/* ── paket tanlovi ── */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.package-option { position: relative; }
.package-option input { position: absolute; opacity: 0; pointer-events: none; }
.package-label {
  display: block; cursor: pointer;
  border: 1.5px solid rgba(26,18,11,0.12); border-radius: 16px;
  padding: 0.9rem 0.5rem; text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.package-label:hover { transform: translateY(-3px); border-color: var(--red-lt); }
.package-emoji { font-size: 24px; display: block; margin-bottom: 0.35rem; }
.package-name  { font-size: 13px; font-weight: 700; color: var(--dark); }
.package-price { font-size: 11px; color: var(--muted); margin-top: 2px; }
.package-option input:checked + .package-label {
  border-color: var(--red); background: rgba(232,82,42,0.06);
  box-shadow: 0 8px 24px rgba(232,82,42,0.15);
}
.package-option input:checked + .package-label .package-name { color: var(--red); }

/* ── kishi soni ── */
.counter {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid rgba(26,18,11,0.12); border-radius: 14px;
  padding: 0.35rem 0.45rem; background: var(--cream);
}
.counter-btn {
  width: 40px; height: 40px; border-radius: 10px; border: none;
  background: white; color: var(--red); font-size: 20px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.2s, transform 0.15s, color 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.counter-btn:hover { background: var(--red); color: white; }
.counter-btn:active { transform: scale(0.9); }
.counter-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.counter-btn:disabled:hover { background: white; color: var(--red); }
.counter-value { font-size: 1.3rem; font-weight: 700; color: var(--dark); min-width: 60px; text-align: center; }
.counter-value small { font-size: 13px; font-weight: 400; color: var(--muted); }

/* ── jami narx ── */
.total-box {
  background: linear-gradient(135deg, rgba(232,82,42,0.06), rgba(30,126,46,0.05));
  border: 1px dashed rgba(232,82,42,0.3); border-radius: 16px;
  padding: 0.9rem 1.25rem; margin: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
}
.total-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.total-price { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--red); font-weight: 700; }

/* ── submit ── */
.submit-btn {
  width: 100%; background: var(--red); color: white;
  border: none; padding: 1rem; border-radius: 16px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(232,82,42,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.submit-btn:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 14px 38px rgba(232,82,42,0.45); }
.submit-btn:active { transform: translateY(0) scale(0.98); }
.form-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 1rem; }

/* ── muvaffaqiyat ── */
.success-screen { display: none; text-align: center; padding: 1rem 0; }
.success-screen.show { display: block; }
.success-icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: white;
  box-shadow: 0 12px 36px rgba(30,126,46,0.4);
  animation: pop 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes pop { 0%{ transform: scale(0); } 100%{ transform: scale(1); } }
.success-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dark); margin-bottom: 0.5rem; }
.success-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.success-summary {
  background: var(--cream); border-radius: 16px; padding: 1.1rem 1.25rem;
  text-align: left; margin-bottom: 1.25rem; font-size: 14px;
}
.success-summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.success-summary .row span:first-child { color: var(--muted); }
.success-summary .row span:last-child { font-weight: 600; color: var(--dark); }

/* ── responsive ── */
@media (max-width: 900px) {
  .booking-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .booking-info .section-title, .booking-info-text { text-align: left; margin-left: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .booking-section { padding: 4rem 1.25rem; }
  .booking-card { padding: 1.5rem; }
  .package-grid { grid-template-columns: 1fr; }
  .package-label { display: flex; align-items: center; gap: 12px; text-align: left; }
  .package-emoji { margin-bottom: 0; }
}
