/* =====================================================================
   იმერეთი ტური: საიტის დიზაინი (CSS)

   როგორ იკითხება ეს ფაილი:
   - ზემოდან ქვემოთ დანომრილი სექციებია (1-26), თითოეულს თავისი სათაური აქვს.
   - ფერების შესაცვლელად იხილე სექცია 1.
   - ზოგი წესი ორჯერ ზის (ძველი და ახალი). CSS-ში ბოლო წესი იმარჯვებს,
     ამიტომ ფაილში წესების თანმიმდევრობა არ შეცვალო.
   ===================================================================== */

/* ======================================================================
   1. ფერები და ცვლადები
   აქ შეგიძლია შეცვალო საიტის ფერები: --wine (წითელი), --teal (მწვანე), --bg (ფონი), --ink (ტექსტი). ღამის რეჟიმის ფერები ქვემოთ, @media ბლოკშია.
   ====================================================================== */

/* SVG გრაფიკა (ჩაშენებული), გამოიყენება ქვემოთ var(--svg-...)-ით */
:root {
  --svg-search: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='white' stroke-width='2'><circle cx='8' cy='8' r='6'/><path d='M13 13l4 4'/></svg>");
  --svg-flag-strip: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2726%27%20height%3D%2712%27%3E%3Crect%20width%3D%2726%27%20height%3D%2712%27%20fill%3D%27white%27/%3E%3Cpath%20d%3D%27M13%201.5v9M8.5%206h9%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%272%27/%3E%3C/svg%3E");
  --svg-mountains: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201200%20170%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20170V100l110-55%2085%2045%20125-75%20150%2085%20105-45%20150%2065%20115-55%20145%2065%2095-35%20120%2045V170z%27%20fill%3D%27%230B2239%27%20fill-opacity%3D%27.35%27/%3E%3Cpath%20d%3D%27M0%20170V130l140-50%20110%2050%20130-60%20160%2070%20130-50%20150%2060%20140-55%20140%2055V170z%27%20fill%3D%27%230B2239%27%20fill-opacity%3D%27.6%27/%3E%3C/svg%3E");
  --svg-cross-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%3E%3Cpath%20d%3D%27M30%2012v36M12%2030h36%27%20stroke%3D%27white%27%20stroke-opacity%3D%27.07%27%20stroke-width%3D%275%27/%3E%3C/svg%3E");
}

:root {
  --i-m: url(../images/mountains.jpg);
  --i-c: url(../images/city.jpg);
  --i-r: url(../images/parcel-road.jpg);
  --bg: #F5F6F3;
  --ink: #1C2321;
  --mute: #58635F;
  --line: #CBD2CD;
  --card: #fff;
  --wine: #8E1B2D;
  --teal: #126B66;
  --on: #fff;
  --b1: #D9EBE8;
  --b2: #F4DEE1;
  --b3: #1C2B29;
  --b3t: #EAF0ED;
  --b3a: #7FD8D0;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121917;
    --ink: #EAF0ED;
    --mute: #9AA8A2;
    --line: #2B3733;
    --card: #1A2421;
    --wine: #E26A7C;
    --teal: #4FC4BC;
    --on: #121917;
    --b1: #173230;
    --b2: #2E1A1F;
    --b3: #0A0F0E;
  }
}

:root[data-theme="dark"] {
  --bg: #121917;
  --ink: #EAF0ED;
  --mute: #9AA8A2;
  --line: #2B3733;
  --card: #1A2421;
  --wine: #E26A7C;
  --teal: #4FC4BC;
  --on: #121917;
  --b1: #173230;
  --b2: #2E1A1F;
  --b3: #0A0F0E;
}


/* ======================================================================
   2. ზოგადი ელემენტები (გვერდი, ტექსტი, ბმულები)
   ====================================================================== */

html {
  scroll-padding-top: env(safe-area-inset-top,0px);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Noto Sans Georgian",system-ui,sans-serif;
}

.w {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ======================================================================
   3. ძველი ზედა ზოლი (ლოგო და ენის ღილაკები)
   შენიშვნა: ეს წესები ქვემოთ, "ახალი ზედა ზოლის" ნაწილში ნაწილობრივ გადაფარულია. CSS-ში ბოლო წესი იმარჯვებს.
   ====================================================================== */

header.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--wine);
}

.lang button {
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  padding: 6px 12px;
  font: inherit;
  cursor: pointer;
}

.lang button:first-child {
  border-radius: 999px 0 0 999px;
}

.lang button:last-child {
  border-radius: 0 999px 999px 0;
}

.lang button[aria-pressed=true] {
  background: var(--ink);
  color: var(--bg);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}


/* ======================================================================
   4. მთავარი გვერდი: სათაური და უახლოესი გასვლა
   ====================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  padding: 5vh 0 56px;
}

@media(max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

h1 {
  font-size: clamp(2rem,6vw,3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}

.sub {
  color: var(--mute);
  margin: 0 0 28px;
  max-width: 40ch;
}

.next {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--wine);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.next small {
  color: var(--mute);
  display: block;
}

.next b {
  font-size: 1.15rem;
}

.cd {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--wine);
  font-variant-numeric: tabular-nums;
}

.cd i {
  font-style: normal;
  font-size: .9rem;
  font-weight: 400;
  color: var(--mute);
  margin: 0 10px 0 3px;
}

h2 {
  font-size: 1.15rem;
  margin: 0 0 14px;
}


/* ======================================================================
   5. მარშრუტის სია (გაჩერებები წერტილებით)
   ====================================================================== */

ol.route {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 3px solid var(--teal);
}

.route li {
  position: relative;
  padding: 0 0 18px 18px;
}

.route li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--teal);
}

.route li.end::before {
  background: var(--wine);
  border-color: var(--wine);
}

.route time {
  font-weight: 800;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}

.route small {
  display: block;
  color: var(--mute);
}

.route .days {
  color: var(--teal);
  font-weight: 600;
  padding-bottom: 20px;
}

.route .days::before {
  display: none;
}


/* ======================================================================
   6. ფერადი სექციები (ჯავშანი, ამანათები, კონტაქტები)
   ====================================================================== */

.band {
  padding: 56px 0;
}

.b1 {
  background: var(--b1);
}

.b2 {
  background: var(--b2);
}

.b3 {
  background: var(--b3);
  color: var(--b3t);
}

.b3 .ct {
  border-color: rgba(255,255,255,.18);
}

.b3 .ct a {
  color: var(--b3a);
}


/* ======================================================================
   7. ფორმები, ველები და ღილაკები
   ====================================================================== */

.note {
  grid-column: 1/-1;
  margin: 0;
  padding: 12px 14px;
  background: var(--card);
  border-left: 5px solid var(--wine);
  font-size: .95rem;
}

.pay {
  grid-column: 1/-1;
}

form {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  max-width: 640px;
}

@media(max-width: 560px) {
  form {
    grid-template-columns: 1fr;
  }
}

label {
  display: grid;
  gap: 4px;
  font-size: .9rem;
  color: var(--mute);
}

input,
select {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 6px;
  width: 100%;
}

.btn {
  display: inline-block;
  background: var(--wine);
  color: var(--on);
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

form .btn {
  grid-column: 1/-1;
}


/* ======================================================================
   8. კონტაქტები
   ====================================================================== */

.cts {
  display: grid;
  gap: 10px;
  max-width: 640px;
}

.ct {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.ct b {
  min-width: 170px;
}

.ct a {
  color: var(--teal);
  font-weight: 600;
}


/* ======================================================================
   9. ძველი მენიუ
   ====================================================================== */

.mn {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mn a {
  text-decoration: none;
  color: var(--mute);
  padding: 6px 0;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.mn a[aria-current=page] {
  color: var(--wine);
  border-color: var(--wine);
}


/* ======================================================================
   10. შიდა გვერდები (ავტობუსები, განრიგი, ამანათები, კითხვები)
   ====================================================================== */

.pg {
  padding-top: 36px;
  padding-bottom: 56px;
}

[hidden] {
  display: none!important;
}


/* ======================================================================
   11. ავტობუსების გვერდი: ფოტოები და ბარათები
   ====================================================================== */

.full {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 16px;
}

.gal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gal img {
  width: 100%;
  border-radius: 10px;
}

@media(max-width: 600px) {
  .gal,
  .two {
    grid-template-columns: 1fr!important;
  }
}

.am {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: 12px;
}

.am div {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  padding: 14px 16px;
  border-radius: 6px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 2px 16px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
}

details p {
  margin: 0 0 14px;
  color: var(--mute);
}


/* ======================================================================
   12. მოძრავი ავტობუსი მთავარ გვერდზე
   ====================================================================== */

.road {
  position: relative;
  height: 96px;
  overflow: hidden;
  margin-top: -10px;
}

.lane {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 4px;
  background: repeating-linear-gradient(90deg,var(--mute) 0 26px,transparent 26px 52px);
  animation: lane .8s linear infinite;
  opacity: .6;
}

.road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 2px;
  background: var(--line);
}

.bus {
  position: absolute;
  bottom: 18px;
  left: -240px;
  animation: drive 16s linear infinite;
  z-index: 1;
}

.bus svg {
  display: block;
  animation: bump .5s ease-in-out infinite;
}

.wh {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin .7s linear infinite;
}

@keyframes drive {
  to {
    left: 100%;
  }
}

@keyframes lane {
  to {
    background-position-x: -52px;
  }
}

@keyframes bump {
  50% {
    transform: translateY(-2px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wipe {
  from {
    clip-path: inset(0 100% 0 0);
    transform: scale(1.04);
  }
  to {
    clip-path: inset(0);
    transform: none;
  }
}

@keyframes inL {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes inR {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(142,27,45,.5);
  }
  70%,100% {
    box-shadow: 0 0 0 14px rgba(142,27,45,0);
  }
}


/* ======================================================================
   13. ანიმაციები: გვერდის გახსნა და ბარათები
   ====================================================================== */

.enter {
  animation: pageIn .5s cubic-bezier(.2,.7,.2,1);
}

#p-buses.enter .full {
  animation: wipe 1s cubic-bezier(.2,.7,.2,1) both;
}

#p-buses.enter .gal img:nth-child(1) {
  animation: inL .8s .25s cubic-bezier(.2,.7,.2,1) both;
}

#p-buses.enter .gal img:nth-child(2) {
  animation: inR .8s .4s cubic-bezier(.2,.7,.2,1) both;
}

#p-buses.enter .am div {
  animation: pop .5s both;
}

#p-buses.enter .am div:nth-child(1) {
  animation-delay: .6s;
}

#p-buses.enter .am div:nth-child(2) {
  animation-delay: .7s;
}

#p-buses.enter .am div:nth-child(3) {
  animation-delay: .8s;
}

#p-buses.enter .am div:nth-child(4) {
  animation-delay: .9s;
}

#p-buses.enter .am div:nth-child(5) {
  animation-delay: 1s;
}

.am div,
.gal img,
.next {
  transition: transform .25s,box-shadow .25s;
}

.am div:hover,
.gal img:hover,
.next:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

.route li {
  animation: pop .5s both;
}

.route li:nth-child(2) {
  animation-delay: .1s;
}

.route li:nth-child(3) {
  animation-delay: .2s;
}

.route li:nth-child(4) {
  animation-delay: .3s;
}

.route li:nth-child(5) {
  animation-delay: .4s;
}

.route li:nth-child(6) {
  animation-delay: .5s;
}

.route li:nth-child(7) {
  animation-delay: .6s;
}

.hero .btn {
  animation: ring 2.4s infinite;
}

.btn {
  transition: transform .2s;
}

.btn:hover {
  transform: translateY(-2px);
}


/* ======================================================================
   14. გამოჩენა სქროლისას
   ====================================================================== */

.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s,transform .7s;
}

.rv.in {
  opacity: 1;
  transform: none;
}

details[open] p {
  animation: pop .35s both;
}

.mn a {
  transition: color .2s,border-color .2s;
}


/* ======================================================================
   15. ახალი ზედა ზოლი (ლოგო, ძებნა, ენა, მენიუ)
   ეს ნაწილი გადაფარავს ძველ ზედა ზოლს.
   ====================================================================== */

.topbar {
  background: linear-gradient(120deg,#0B2239 0%,#0F3D54 55%,#126B66 100%);
  color: #fff;
  position: relative;
}

.topbar::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(242,183,5,.4),transparent 65%);
  pointer-events: none;
}

.topbar .w {
  position: relative;
  z-index: 2;
}

header.top {
  gap: 14px 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo img {
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}

.logo b {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 800;
}

.logo small {
  display: block;
  color: #F2B705;
  font-weight: 600;
}

.lang button {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.lang button[aria-pressed=true] {
  background: #F2B705;
  border-color: #F2B705;
  color: #0B2239;
}


/* ======================================================================
   16. ძებნის ველი და შედეგების სია
   ====================================================================== */

.sr {
  position: relative;
  flex: 1 1 240px;
  max-width: 380px;
  margin-left: auto;
}

.sr input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font: inherit;
  background: rgba(255,255,255,.12) var(--svg-search) left 14px center no-repeat;
}

.sr input::placeholder {
  color: rgba(255,255,255,.75);
}

#qr {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

#qr li {
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
}

#qr li:hover,
#qr li.on {
  background: var(--b1);
}

#qr li.no {
  color: var(--mute);
  cursor: default;
}

@media(max-width: 640px) {
  .sr {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .lang {
    margin-left: auto;
  }
}

.mn {
  border-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 6px 0 0;
  margin-top: 6px;
}

.mn a {
  color: rgba(255,255,255,.85);
}

.mn a[aria-current=page] {
  color: #F2B705;
  border-color: #F2B705;
}

.ft {
  text-align: center;
}


/* ======================================================================
   17. ამანათების ბლოკი და გვერდი
   ====================================================================== */

.pbox {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 28px;
  align-items: center;
}

.pbox>svg {
  width: 100%;
  animation: float 3.2s ease-in-out infinite;
}

@media(max-width: 600px) {
  .pbox {
    grid-template-columns: 1fr;
  }
  .pbox>svg {
    max-width: 200px;
  }
}

.phero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 250px;
  margin-bottom: 28px;
  color: #fff;
}

.phero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(11,34,57,.94),rgba(11,34,57,.4));
  z-index: 1;
}

.ptxt {
  position: relative;
  z-index: 2;
  padding: 34px;
  max-width: 560px;
}

.ptxt h1 {
  color: #fff;
  margin: 0 0 10px;
}

.ptxt p {
  margin: 0;
  opacity: .92;
}

.phero svg {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: min(250px,36%);
  z-index: 2;
  animation: float 3.2s ease-in-out infinite;
}

.pfeat {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.pfeat div {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--wine);
  border-radius: 8px;
  padding: 18px;
}

.pfeat b {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.pfeat p {
  margin: 0;
  color: var(--mute);
}

.steps {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 14px 16px 14px 64px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--on);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.chips span {
  padding: 7px 14px;
  background: var(--b1);
  border-radius: 999px;
  font-weight: 600;
}

@keyframes float {
  50% {
    transform: translateY(-7px);
  }
}

#p-parcels.enter .phero img {
  animation: wipe 1s cubic-bezier(.2,.7,.2,1) both;
}

#p-parcels.enter .pfeat div,
#p-parcels.enter .steps li {
  animation: pop .5s both;
}

#p-parcels.enter .pfeat div:nth-child(2),
#p-parcels.enter .steps li:nth-child(2) {
  animation-delay: .12s;
}

#p-parcels.enter .pfeat div:nth-child(3),
#p-parcels.enter .steps li:nth-child(3) {
  animation-delay: .24s;
}

#p-parcels.enter .pfeat div:nth-child(4) {
  animation-delay: .36s;
}

.pfeat div {
  transition: transform .25s,box-shadow .25s;
}

.pfeat div:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}


/* ======================================================================
   18. მთავარის ფონი: ცვალებადი ხედები
   ====================================================================== */

.heroband {
  position: relative;
  overflow: hidden;
  background: #0B2239;
  color: #fff;
}

.heroband::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(11,34,57,.72),rgba(11,34,57,.5) 55%,rgba(11,34,57,.88));
}

.heroband .w {
  position: relative;
  z-index: 2;
}

.hs {
  position: absolute;
  inset: -24px;
  background: center/cover no-repeat;
  filter: blur(2.5px) saturate(1.15);
  opacity: 0;
  animation: slide 30s linear infinite;
}

.hs1 {
  background-image: var(--i-m);
}

.hs2 {
  background-image: var(--i-c);
  animation-delay: 10s;
}

.hs3 {
  background-image: var(--i-r);
  animation-delay: 20s;
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: scale(1) translateX(0);
  }
  6% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.14) translateX(-2%);
  }
}

.heroband h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

.heroband .sub {
  color: rgba(255,255,255,.88);
}

.heroband h2 {
  color: #fff;
}

.heroband .route small {
  color: rgba(255,255,255,.75);
}

.heroband .route .days {
  color: #7FD8D0;
}

.heroband .route li::before {
  background: #0B2239;
}

.heroband .route {
  border-color: #7FD8D0;
}

.heroband .next {
  color: var(--ink);
}


/* ======================================================================
   19. პანორამული ზოლები ფოტოებით
   ====================================================================== */

.vista {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.vb {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 140%;
  background: center/cover no-repeat;
  will-change: transform;
}

.v-m {
  background-image: var(--i-m);
}

.v-r {
  background-image: var(--i-r);
}

.vista::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,rgba(11,34,57,.6),rgba(11,34,57,.15));
}

.vc {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: clamp(1.3rem,4vw,2.3rem);
  font-weight: 800;
  padding: 0 20px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

.pg .vista {
  border-radius: 12px;
  margin-bottom: 26px;
  height: 190px;
}


/* ======================================================================
   20. ადგილების არჩევა: ავტობუსის სქემა
   ====================================================================== */

.seats {
  grid-column: 1/-1;
}

.seats>b {
  display: block;
}

.lg {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
  font-size: .85rem;
  color: var(--mute);
}

.lg i {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 2px solid var(--teal);
  background: var(--card);
  vertical-align: -3px;
  margin-right: 6px;
}

.lg em {
  font-style: normal;
}

.lg .a {
  background: var(--wine);
  border-color: var(--wine);
}

.lg .t {
  background: var(--line);
  border-color: var(--line);
}

.bmap {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 30px 30px 12px 12px;
  padding: 14px 16px 16px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.bfront {
  display: flex;
  justify-content: flex-end;
  padding: 0 6px 10px;
  border-bottom: 2px dashed var(--line);
  margin-bottom: 10px;
}

.wheel {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 5px solid var(--mute);
  position: relative;
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--mute);
}

.srow {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}

.srow.back {
  gap: 6px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 2px dashed var(--line);
}

.aisle {
  flex: 0 0 24px;
}

.seat {
  flex: 1 1 0;
  max-width: 42px;
  aspect-ratio: 1/1;
  border-radius: 10px 10px 6px 6px;
  border: 2px solid var(--teal);
  background: var(--card);
  color: var(--ink);
  font: 700 .8rem "Noto Sans Georgian",sans-serif;
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 -6px 0 rgba(18,107,102,.2);
  transition: transform .15s,background .15s;
}

.seat:hover:not(:disabled) {
  transform: translateY(-3px);
  background: var(--b1);
}

.seat.sel {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--on);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.25);
  animation: pop .3s both;
}

.seat.tk {
  background: repeating-linear-gradient(45deg,var(--line) 0 4px,transparent 4px 8px);
  border-color: var(--line);
  color: var(--mute);
  box-shadow: none;
  cursor: not-allowed;
}

#ssel {
  text-align: center;
  font-weight: 600;
  color: var(--wine);
  margin: 10px 0 4px;
}


/* ======================================================================
   21. ადმინ-გვერდი (#/admin)
   ====================================================================== */

#aout,
#sout {
  width: 100%;
  font-family: monospace;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
}

#sched h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

#sched label {
  margin-bottom: 10px;
}

#sched input[type=checkbox] {
  width: auto;
}

.dys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.dys label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  margin: 0;
}

.tms,
.chg {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 10px;
  margin-bottom: 12px;
}

#sched .dl button {
  border: 0;
  background: var(--line);
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
  color: var(--ink);
}


/* ======================================================================
   22. ზედა ინფორმაციის ზოლი
   ====================================================================== */

.nb {
  background: #F2B705;
  color: #0B2239;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 44px 10px 16px;
  position: relative;
  font-weight: 600;
  text-align: center;
  animation: slideDown .5s both;
}

.nb[hidden] {
  display: none;
}

.nb button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #0B2239;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}


/* ======================================================================
   23. მცურავი WhatsApp ღილაკი
   ====================================================================== */

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom,0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  z-index: 40;
  animation: fab 2.6s infinite;
}

.fab svg {
  width: 32px;
  height: 32px;
}

@keyframes fab {
  0% {
    box-shadow: 0 6px 18px rgba(0,0,0,.35),0 0 0 0 rgba(37,211,102,.55);
  }
  70%,100% {
    box-shadow: 0 6px 18px rgba(0,0,0,.35),0 0 0 16px rgba(37,211,102,0);
  }
}


/* ======================================================================
   24. მგზავრების შეფასებები
   ====================================================================== */

.rvl {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 14px;
}

.rvl blockquote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  padding: 16px;
}

.rvl p {
  margin: 0 0 8px;
}

.rvl cite {
  color: var(--mute);
  font-style: normal;
  font-weight: 600;
}


/* ======================================================================
   25. დაბეჭდვა, რუკის ბმული, პირობების გვერდი
   ====================================================================== */

.btn.alt {
  background: var(--teal);
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.mp {
  text-decoration: none;
  margin-left: 6px;
}

#inf p {
  max-width: 65ch;
}

#tkt {
  display: none;
}

@media print {
  body.pt>*:not(#tkt) {
    display: none!important;
  }
  body.pt #tkt {
    display: block;
    padding: 24px;
    color: #000;
    background: #fff;
    font-family: "Noto Sans Georgian",sans-serif;
  }
  body.pt #tkt table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
  }
  body.pt #tkt th,
  body.pt #tkt td {
    border: 1px solid #888;
    padding: 8px;
    text-align: left;
  }
}


/* ======================================================================
   26. ბოლო გასწორებები: ჯავშნისა და ამანათების ზოლები, ქართული დროშა
   ====================================================================== */

body {
  overflow-x: hidden;
}

.topbar {
  z-index: 60;
  overflow-x: clip;
}

.band {
  position: relative;
}

#book::before,
.b2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  z-index: 1;
  background: var(--svg-flag-strip) repeat-x;
}

#book {
  padding: 64px 0 170px;
  color: #fff;
  background: var(--svg-mountains) bottom center/100% 150px no-repeat,var(--svg-cross-pattern),linear-gradient(180deg,#0F3D54 0%,#126B66 62%,#0B2239 100%);
}

#book h2 {
  color: #fff;
  font-size: 1.5rem;
}

#f {
  background: var(--card);
  color: var(--ink);
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0,0,0,.4);
  border-top: 6px solid var(--wine);
  max-width: 720px;
}

.b2 {
  padding-top: 68px;
  color: #fff;
  background: linear-gradient(105deg,rgba(11,34,57,.94),rgba(11,34,57,.7)),var(--i-r) center/cover no-repeat;
}

.b2 h2 {
  color: #fff;
  font-size: 1.5rem;
}

.b2 p {
  color: rgba(255,255,255,.92);
}

.hflag {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag {
  width: 42px;
  height: 28px;
  flex: none;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  animation: flagw 3s ease-in-out infinite;
}

@keyframes flagw {
  50% {
    transform: rotate(-3deg) translateY(-2px);
  }
}

#p-parcels form {
  background: var(--card);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  border-top: 5px solid var(--wine);
  max-width: 720px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none!important;
    transition: none!important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .bus {
    left: 40%;
  }
  .hs1 {
    opacity: 1;
  }
}

footer {
  padding: 24px 0 40px;
  color: var(--mute);
  font-size: .9rem;
}
