/* TourlyDesk: dodatne sekcije stranice (ukratko, za koga, tok prijave, pregled funkcija, sigurnost, dodaci i popusti, plan, o nama). Koristi iste varijable kao site.css. */

/* ------------------------------------------------------------------ at a glance */
.glance { background: var(--white); border-bottom: 1px solid var(--line); }
.glance ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.glance li { padding: 26px 22px; border-left: 1px solid var(--line); }
.glance li:first-child { border-left: 0; padding-left: 0; }
.glance strong { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--teal); }
.glance span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* who it is for */
.audience { display: grid; gap: 20px; margin-top: 52px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--teal); }
.audience h3 { font-size: 21px; letter-spacing: -0.01em; }
.audience .who { margin-top: 4px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.audience ul { margin-top: 18px; display: grid; gap: 10px; }
.audience li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; }
.audience li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--teal); clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* the path of one booking */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.flow li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.flow b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--cyan); font-weight: 800; font-size: 18px; }
.flow h3 { font-size: 20px; margin-top: 16px; letter-spacing: -0.01em; }
.flow p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* tabs: everything it does */
.explorer { margin-top: 44px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font: inherit; font-size: 15.5px; font-weight: 650; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all 0.15s; }
.tabs button:hover { border-color: var(--teal); color: var(--teal); }
.tabs button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.panel { margin-top: 22px; padding: clamp(24px, 3.4vw, 40px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.015em; }
.panel ul { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.panel li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.5; }
.panel li::before { content: ''; position: absolute; left: 2px; top: 0.4em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* safety */
.safety { display: grid; gap: 20px; margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.safety article { padding: 26px; border-radius: var(--radius); background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.12); }
.safety h3 { font-size: 20px; color: var(--white); }
.safety p { margin-top: 8px; color: var(--on-dark-muted); font-size: 15.5px; }

/* packages: add-ons, discounts, comparison */
.sub-h { margin-top: 64px; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.015em; font-weight: 800; }
.sub-p { margin-top: 8px; color: var(--muted); max-width: 62ch; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.addons article { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 26px; border-radius: var(--radius); background: var(--white); border: 1.5px dashed var(--teal); }
.addons strong { font-size: 19px; }
.addons p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.addons .ap { text-align: right; flex: none; margin: 0; }
.addons .ap b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--teal); }
.addons .ap span { font-size: 13.5px; color: var(--muted); }
.extras.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.compare-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--paper); font-size: 16px; }
.compare tbody th { text-align: left; font-weight: 550; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .hl { background: #f1fafc; }
.compare thead .hl { background: var(--teal); color: var(--white); }
.compare i { font-style: normal; font-weight: 700; font-size: 14px; }
.compare .y { color: #0e7a4d; }
.compare .n { color: #7d949c; font-weight: 500; }
.compare .a { color: var(--teal); }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.roadmap li { padding: 24px 26px; border-radius: var(--radius); border: 1.5px dashed #b6cbd2; background: var(--white); }
.roadmap h3 { font-size: 19px; letter-spacing: -0.01em; }
.roadmap p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* about */
.about { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.about .avatar { display: grid; place-items: center; width: clamp(96px, 14vw, 168px); aspect-ratio: 1; border-radius: 28px; background: linear-gradient(135deg, var(--ink), var(--deep)); color: var(--cyan); font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; position: relative; overflow: hidden; }
.about .avatar::after { content: ''; position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 1; background: var(--amber); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.about h2 { max-width: 20ch; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 22px; font-weight: 650; }

@media (max-width: 1000px) {
  .glance ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance li { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .glance li:nth-child(-n+2) { border-top: 0; }
  .audience, .safety, .roadmap, .flow, .extras.four { grid-template-columns: 1fr 1fr; }
  .panel ul { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .glance ul, .audience, .safety, .roadmap, .flow, .extras.four { grid-template-columns: 1fr; }
  .glance li:nth-child(2) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; }
  .tabs button { flex: none; }
  .addons article { flex-direction: column; align-items: flex-start; }
  .addons .ap { text-align: left; }
}
