:root {
  --bg: #0a0d17;
  --bg-2: #101527;
  --panel: #151b31;
  --panel-2: #1b2240;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1fa;
  --muted: #9aa3c0;
  --red: #ff3b4e;
  --red-dark: #d3243a;
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Prompt', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- Under construction ---------- */
.construction {
  background: #191305;
  color: #fde047;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(250, 204, 21, 0.35);
}
.construction::before {
  content: '';
  display: block;
  height: 6px;
  margin: -0.45rem -1rem 0.45rem;
  background: repeating-linear-gradient(-45deg, #facc15 0 12px, #111 12px 24px);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(255, 59, 78, 0.35);
}
.brand em { font-style: normal; color: var(--red); }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 59, 78, 0.35);
}
.btn-red:hover { box-shadow: 0 8px 26px rgba(255, 59, 78, 0.5); }
.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}
.btn-blue:hover { box-shadow: 0 8px 26px rgba(59, 130, 246, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(29, 78, 216, 0.45), transparent 60%),
    radial-gradient(700px 450px at 0% 110%, rgba(211, 36, 58, 0.35), transparent 60%),
    linear-gradient(180deg, #0b1020 0%, var(--bg) 100%);
}
.hero-inner { position: relative; text-align: center; }
.hero-logo {
  display: block;
  width: clamp(120px, 20vw, 165px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28%;
  margin: 0 auto 1.4rem;
  border: 3px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 45px rgba(255, 59, 78, 0.4), 0 4px 18px rgba(0, 0, 0, 0.5);
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #9ec2ff;
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #ff5b6c 0%, #ff8f6b 45%, #6ea8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  margin: 1.2rem auto 2.2rem;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  margin-top: 3.2rem;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat b { display: block; font-size: 1.5rem; font-weight: 700; }
.hero-stats .stat span { color: var(--muted); font-size: 0.85rem; font-weight: 300; }

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}
.trust-badge:hover { background: rgba(34, 197, 94, 0.18); }

/* ---------- License ---------- */
.lic-no { color: #86efac; font-weight: 600; }
.license-grid {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.license-card {
  display: block;
  width: min(340px, 100%);
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.license-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.license-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  display: block;
}
.license-card span { display: block; padding-bottom: 0.2rem; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.sec-head { text-align: center; margin-bottom: 2.8rem; }
.sec-head .tag {
  display: inline-block;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.sec-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; }
.sec-head p { color: var(--muted); margin-top: 0.6rem; font-weight: 300; }

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 78, 0.4);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
}
.icon-red { background: rgba(255, 59, 78, 0.15); border: 1px solid rgba(255, 59, 78, 0.35); }
.icon-blue { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); }
.icon-mix { background: rgba(147, 100, 255, 0.15); border: 1px solid rgba(147, 100, 255, 0.35); }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.94rem; font-weight: 300; }

/* ---------- Why us ---------- */
.why {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.why-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.why-item .em { font-size: 1.5rem; line-height: 1.3; }
.why-item b { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.why-item span { color: var(--muted); font-size: 0.88rem; font-weight: 300; }

/* ---------- Packages ---------- */
.pkg-card { position: relative; text-align: center; padding-top: 2.4rem; }
.pkg-card .ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--red) 0%, var(--blue-deep) 100%);
  color: #fff;
}
.pkg-card .pic {
  height: 130px;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  display: grid;
  place-items: center;
  font-size: 3rem;
}
.pic-a { background: linear-gradient(135deg, rgba(255, 59, 78, 0.3), rgba(29, 78, 216, 0.3)); }
.pic-b { background: linear-gradient(135deg, rgba(29, 78, 216, 0.35), rgba(255, 143, 107, 0.25)); }
.pic-c { background: linear-gradient(135deg, rgba(110, 168, 255, 0.3), rgba(211, 36, 58, 0.28)); }
.pkg-card .price { color: var(--red); font-weight: 600; margin: 0.6rem 0 1rem; }
.pkg-card .pic.photo { background-size: cover; background-position: center; height: 160px; }
.pkg-card .pic { cursor: pointer; }
.pkg-meta { color: var(--muted); font-size: 0.83rem; margin-bottom: 0.4rem; }
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Tour detail modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 14, 0.8);
  backdrop-filter: blur(6px);
  padding: 1.2rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  position: relative;
  width: min(640px, 100%);
  margin: auto 0;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(5, 7, 14, 0.65);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}
.modal-close:hover { background: var(--red); }
.modal-hero img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}
.modal-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem 0;
  overflow-x: auto;
}
.modal-thumbs img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.modal-thumbs img:hover { opacity: 1; }
.modal-thumbs img.sel { border-color: var(--red); opacity: 1; }
.modal-body { padding: 1.2rem 1.4rem 1.6rem; }
.modal-body h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.modal-body p { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; }

/* ---------- Booking form ---------- */
.booking { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-card {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem clamp(1.2rem, 4vw, 2.4rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 0.35rem; }
.field label b { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 23, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}
.form-msg.ok {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.form-msg.err {
  display: block;
  background: rgba(255, 59, 78, 0.12);
  border: 1px solid rgba(255, 59, 78, 0.4);
  color: #fda4af;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.2s;
}
.contact-card:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, 0.5); }
.contact-card .em { font-size: 1.6rem; }
.contact-card b { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.contact-card span { font-weight: 600; font-size: 0.98rem; word-break: break-all; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
}
footer a { color: var(--muted); }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 0.6rem; margin-bottom: 1.4rem; }
.tab {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.tour-form { max-width: none; }
.tour-row.inactive { opacity: 0.55; }
.tour-row-inner { display: flex; gap: 1rem; align-items: flex-start; }
.tour-thumb {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tour-body { flex: 1; min-width: 0; }
@media (max-width: 520px) {
  .tour-row-inner { flex-direction: column; }
}

.admin-wrap { padding: 2.5rem 0 4rem; }
.login-card {
  max-width: 400px;
  margin: 4rem auto;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;
}
.login-card h1 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.login-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.admin-head h1 { font-size: 1.5rem; }
.admin-head .actions { display: flex; gap: 0.6rem; }
.stat-pills { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.pill {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}
.pill b { color: var(--text); }
.pill.hot { border-color: rgba(255, 59, 78, 0.5); background: rgba(255, 59, 78, 0.1); }
.pill.hot b { color: var(--red); }

.booking-list { display: grid; gap: 1rem; }
.b-card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
}
.b-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.b-top .who { font-weight: 600; font-size: 1.05rem; }
.b-top .when { color: var(--muted); font-size: 0.8rem; }
.badge {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge.new { background: rgba(255, 59, 78, 0.15); color: #ff8a95; border: 1px solid rgba(255, 59, 78, 0.4); }
.badge.contacted { background: rgba(250, 204, 21, 0.12); color: #fde68a; border: 1px solid rgba(250, 204, 21, 0.35); }
.badge.confirmed { background: rgba(34, 197, 94, 0.12); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.4); }
.badge.cancelled { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.35); }
.b-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.4rem 1.2rem;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.b-info div b { color: var(--muted); font-weight: 400; font-size: 0.78rem; display: block; }
.b-info a { color: #9ec2ff; text-decoration: none; }
.b-notes {
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.8rem;
  white-space: pre-wrap;
}
.b-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.b-actions select {
  padding: 0.45rem 0.7rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 23, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-danger {
  background: transparent;
  color: #ff8a95;
  border: 1px solid rgba(255, 59, 78, 0.4);
}
.btn-danger:hover { background: rgba(255, 59, 78, 0.12); }
.empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
