/*
 * E-Ena · styles.css
 *
 *  1. Fonts (self-hosted, no requests to Google)
 *  2. Design tokens
 *  3. Base
 *  4. Layout and shared pieces
 *  5. Buttons
 *  6. Header and navigation
 *  7. Footer
 *  8. Final call to action
 *  9. FAQ accordion
 * 10. Homepage
 * 11. Inner page header
 * 12. Paketi page
 * 13. Solution pages
 * 14. Voice call card
 * 15. Booking calendar card
 * 16. FAQ page
 * 17. About page
 * 18. Contact page
 * 19. Legal pages
 * 20. 404 page
 * 21. Reduced motion
 */

/* ==========================================================================
   1. Fonts
   ========================================================================== */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/fonts/inter-tight-latin-ext-400-normal.woff2) format("woff2"),
    url(/fonts/inter-tight-latin-ext-400-normal.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/fonts/inter-tight-latin-400-normal.woff2) format("woff2"),
    url(/fonts/inter-tight-latin-400-normal.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src:
    url(/fonts/inter-tight-latin-ext-500-normal.woff2) format("woff2"),
    url(/fonts/inter-tight-latin-ext-500-normal.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src:
    url(/fonts/inter-tight-latin-500-normal.woff2) format("woff2"),
    url(/fonts/inter-tight-latin-500-normal.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src:
    url(/fonts/inter-tight-latin-ext-600-normal.woff2) format("woff2"),
    url(/fonts/inter-tight-latin-ext-600-normal.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src:
    url(/fonts/inter-tight-latin-600-normal.woff2) format("woff2"),
    url(/fonts/inter-tight-latin-600-normal.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2"),
    url(/fonts/jetbrains-mono-latin-ext-400-normal.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"),
    url(/fonts/jetbrains-mono-latin-400-normal.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src:
    url(/fonts/jetbrains-mono-latin-ext-500-normal.woff2) format("woff2"),
    url(/fonts/jetbrains-mono-latin-ext-500-normal.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src:
    url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"),
    url(/fonts/jetbrains-mono-latin-500-normal.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */
:root {
  --navy: #0b0f2b;
  --navy-soft: #3a3f5c;
  --navy-hover: #1a1f45;
  --teal: #00e0c6;
  --teal-hover: #12ebd2;
  --teal-tint: #d9fbf6;
  --teal-ink: #00705f;
  --paper: #f7f7fa;
  --surface: #ffffff;
  --line: #e2e4ee;
  --muted: #8a8fa8;
  --on-navy: #c9cce0;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --shadow-card: 0 30px 60px -30px rgba(11, 15, 43, 0.28);
  --shadow-pop: 0 24px 48px -24px rgba(11, 15, 43, 0.35);
  color-scheme: light;
}

/* ==========================================================================
   3. Base
   ========================================================================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   4. Layout and shared pieces
   ========================================================================== */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
section.block {
  padding-block: 72px;
}
section.block.flush {
  padding-top: 0;
}

.section-head {
  max-width: 640px;
  padding-top: 16px;
}
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
}
.section-head h2 + p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--navy-soft);
}

/* Section label: teal highlight */
.eyebrow {
  display: inline-block;
  justify-self: start;
  padding: 6px 10px 5px;
  border-radius: 6px;
  background: var(--teal);
  color: var(--navy);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-head .eyebrow,
.answer .eyebrow,
.book .eyebrow {
  font-size: 18px;
}

/* Meta line with star bullets (heroes) */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font: 400 13px/1.4 var(--font-mono);
  color: var(--navy-soft);
}
.meta span::before {
  content: "✦ ";
  color: var(--teal-ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.chips span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font: 500 12px/1 var(--font-mono);
}

.table-note {
  margin-top: 12px;
  font: 400 13px/1.5 var(--font-mono);
  color: var(--navy-soft);
}
.table-note a {
  color: var(--teal-ink);
  font-weight: 500;
  text-decoration: none;
}

.capacity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 62ch;
  margin-top: 24px;
  font-size: 15px;
  color: var(--navy-soft);
}
.capacity .dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-tint);
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font: 600 16px/1 var(--font-body);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn .arrow {
  font-family: var(--font-mono);
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--teal-hover);
}
.btn-ghost {
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.btn-ghost:hover {
  background: var(--surface);
}
.btn-dark {
  background: var(--navy);
  color: var(--paper);
}
.btn-dark:hover {
  background: var(--navy-hover);
}

/* ==========================================================================
   6. Header and navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.nav .logo img {
  width: auto;
  height: 26px;
}
.nav .btn {
  padding: 11px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Desktop menu */
.menu-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-desktop > li > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-soft);
  text-decoration: none;
}
.menu-desktop > li > a:hover {
  color: var(--navy);
}
.menu-desktop > li > a[aria-current="page"] {
  padding-bottom: 4px;
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--teal);
}
.menu-desktop .caret {
  margin-left: 2px;
  font-size: 11px;
  color: var(--teal-ink);
}

/* Rješenja dropdown */
.has-drop {
  position: relative;
}
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 20;
  min-width: 320px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}
.drop::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.drop a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
}
.drop a:hover,
.drop a:focus-visible {
  background: var(--teal-tint);
}
.drop strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.drop span {
  font: 400 12px/1.3 var(--font-mono);
  color: var(--navy-soft);
}

/* Mobile menu */
.mnav {
  display: none;
  position: relative;
}
.mnav summary {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}
.mnav summary::-webkit-details-marker {
  display: none;
}
.mnav summary span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}
.mnav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(300px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.mnav-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mnav-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.mnav-panel a.sub {
  padding: 8px 14px 8px 30px;
  font-size: 15px;
  font-weight: 400;
  color: var(--navy-soft);
}
.mnav-panel a:hover {
  background: var(--teal-tint);
}

@media (max-width: 880px) {
  .menu-desktop {
    display: none;
  }
  .mnav {
    display: block;
  }
}
@media (max-width: 480px) {
  .nav .btn {
    padding: 9px 14px;
    font-size: 14px;
  }
  .nav .logo img {
    height: 22px;
  }
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
footer {
  margin-top: 72px;
  padding-block: 40px 48px;
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
footer img {
  width: auto;
  height: 22px;
}
footer .legal {
  margin-top: 14px;
  font: 400 13px/1.7 var(--font-mono);
  color: var(--navy-soft);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
footer nav a {
  color: var(--navy-soft);
  text-decoration: none;
}
footer nav a:hover {
  color: var(--navy);
}

/* ==========================================================================
   8. Final call to action (all pages)
   ========================================================================== */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--teal);
}
.cta h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
}
.cta p {
  max-width: 30em;
  margin-top: 14px;
  font-size: 18px;
}
.cta .actions {
  justify-content: flex-end;
}
.cta .clock {
  position: absolute;
  top: -30px;
  right: -18px;
  font: 800 140px/1 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--navy);
  opacity: 0.07;
  pointer-events: none;
}

@media (max-width: 760px) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta .actions {
    justify-content: flex-start;
  }
  .cta .clock {
    font-size: 96px;
  }
}

/* ==========================================================================
   9. FAQ accordion (all pages)
   ========================================================================== */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-top: 32px;
}
.faq details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font: 500 20px/1 var(--font-mono);
  color: var(--teal-ink);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  max-width: 62ch;
  padding-bottom: 20px;
  font-size: 16px;
  color: var(--navy-soft);
}

/* ==========================================================================
   10. Homepage
   ========================================================================== */

/* Hero */
.hero {
  padding-block: 72px 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
}
.hero h1 mark {
  padding-inline: 2px;
  background: linear-gradient(transparent 58%, var(--teal) 58%, var(--teal) 92%, transparent 92%);
  color: inherit;
}
.hero .lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: 19px;
  color: var(--navy-soft);
}
.hero .actions {
  margin-top: 32px;
}
.hero .meta {
  margin-top: 28px;
}

@media (max-width: 880px) {
  .hero {
    padding-block: 48px 40px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

/* Chat mockup (homepage and chat page) */
.chat {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.chat-head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.chat-head strong {
  display: block;
  font-size: 15px;
}
.chat-head small {
  font: 400 12px/1.2 var(--font-mono);
  color: var(--teal-ink);
}
.chat-head .tag {
  margin-left: auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--paper);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 22px;
  background: var(--paper);
}
.msg {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.msg time {
  display: block;
  margin-top: 4px;
  font: 400 11px/1 var(--font-mono);
  opacity: 0.6;
}
.msg.in {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  background: var(--surface);
}
.msg.out {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--teal-tint);
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.slots span {
  padding: 7px 9px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  font: 500 13px/1 var(--font-mono);
}
.booked {
  display: flex;
  align-self: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--teal);
  font: 500 12px/1 var(--font-mono);
  color: var(--navy);
}

/* 0–24 coverage bar */
.coverage {
  padding-block: 8px 72px;
}
.coverage .card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.coverage .row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 16px;
}
.coverage .row + .row {
  margin-top: 14px;
}
.coverage .label {
  font-size: 15px;
  font-weight: 600;
}
.coverage .label small {
  display: block;
  font: 400 12px/1.3 var(--font-mono);
  color: var(--navy-soft);
}
.track {
  position: relative;
  height: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}
.track i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 8px;
}
.track .team {
  left: calc(8 / 24 * 100%);
  width: calc(8 / 24 * 100%);
  background: var(--navy);
}
.track .ai {
  left: 0;
  width: 100%;
  background: var(--teal);
}
.ticks {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  margin-top: 10px;
}
.ticks div {
  display: flex;
  justify-content: space-between;
  font: 400 12px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--navy-soft);
}

@media (max-width: 600px) {
  .coverage .card {
    padding: 20px;
  }
  .coverage .row,
  .ticks {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ticks > span {
    display: none;
  }
}

/* Card trio (problems on the homepage, "Što dobivate" on solution pages) */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.problems article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.problems .when {
  font: 500 13px/1.4 var(--font-mono);
  color: var(--teal-ink);
}
.problems h3 {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.problems p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--navy-soft);
}

@media (max-width: 860px) {
  .problems {
    grid-template-columns: 1fr;
  }
}
/* Line up label, title and text across the three cards */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 861px) {
    .problems {
      grid-template-rows: auto auto 1fr;
      row-gap: 0;
    }
    .problems article {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      align-content: start;
    }
  }
}

/* Solutions grid */
.solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.solution-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.solution-card .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-tint);
}
.solution-card .ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.solution-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.solution-card p {
  font-size: 16px;
  color: var(--navy-soft);
}
.solution-card .more {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-ink);
  text-decoration: none;
}
.solution-card .more:hover {
  text-decoration: underline;
}

.solution-card.lead {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}
.solution-card.lead p {
  color: var(--on-navy);
}
.solution-card.lead .ico {
  background: rgba(0, 224, 198, 0.16);
}
.solution-card.lead .ico svg {
  stroke: var(--teal);
}
.solution-card.lead .chips span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}
.solution-card.lead .more {
  color: var(--teal);
}

.solution-card.soon {
  border: 1.5px dashed #c4c8d8;
  background: transparent;
}
.soon-tag {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--teal);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 760px) {
  .solutions {
    grid-template-columns: 1fr;
  }
  .solution-card {
    padding: 24px;
  }
}

/* How we work */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  min-width: 0;
  padding: 28px 26px 26px;
  border-top: 3px solid var(--navy);
  border-radius: 0 0 18px 18px;
  background: var(--surface);
}
.steps li::before {
  content: "0" counter(step);
  counter-increment: step;
  font: 500 13px/1 var(--font-mono);
  color: var(--teal-ink);
}
.steps h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
}
.steps p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--navy-soft);
}
.steps .dur {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--teal-tint);
  font: 500 12px/1 var(--font-mono);
  color: var(--navy);
}

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

/* Who we work with */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.industries span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 500;
}
.industries span:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}

.fit {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.fit-col {
  min-width: 0;
  padding: 26px;
  border-radius: 18px;
}
.fit-col h3 {
  font-size: 20px;
  font-weight: 700;
}
.fit-col ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 16px;
  list-style: none;
}
.fit-col li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}
.yes-col {
  background: var(--navy);
  color: var(--paper);
}
.yes-col li::before {
  content: "✓";
  font-weight: 700;
  color: var(--teal);
}
.no-col {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy-soft);
}
.no-col h3 {
  color: var(--navy);
}
.no-col li::before {
  content: "–";
  font-weight: 700;
  color: var(--muted);
}

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

/* Why E-Ena */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 48px;
}
.why-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.why-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.why-list .star {
  font-size: 18px;
  line-height: 1.4;
  color: var(--teal-ink);
}
.why-list strong {
  display: block;
  font-size: 18px;
}
.why-list p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--navy-soft);
}

@media (max-width: 860px) {
  .why {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Packages teaser */
.price-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.price-band .from {
  font: 800 clamp(44px, 6vw, 64px) / 1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price-band .from small {
  margin-left: 6px;
  font: 500 16px/1 var(--font-body);
  letter-spacing: 0;
  color: var(--navy-soft);
}
.price-band .fine {
  margin-top: 8px;
  font: 400 13px/1.4 var(--font-mono);
  color: var(--navy-soft);
}
.tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tiers span {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
}

/* ==========================================================================
   11. Inner page header (Paketi, Pitanja, O meni, Kontakt, legal, 404)
   ========================================================================== */
.page-head {
  padding-block: 64px 40px;
}
.page-head h1 {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
}
.page-head .lead {
  max-width: 40em;
  margin-top: 20px;
  font-size: 19px;
  color: var(--navy-soft);
}
.page-head .meta {
  margin-top: 24px;
}
.page-head .actions {
  margin-top: 28px;
}
.page-head .capacity {
  margin-top: 22px;
}

/* O meni: heading with the round image on the right */
.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 48px;
}
.about-avatar {
  justify-self: center;
  width: clamp(180px, 17vw, 250px);
  height: auto;
}
@media (max-width: 860px) {
  .about-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .about-avatar {
    order: -1;
    justify-self: start;
    width: 112px;
  }
}

/* ==========================================================================
   12. Paketi page
   ========================================================================== */

/* Plan cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 20px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  scroll-margin-top: 96px;
}
.plan h2 {
  font-size: 26px;
  font-weight: 700;
}
.plan .badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--teal);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.plan .tagline {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy-soft);
}
/* Three cards side by side: reserve two lines for the tagline so prices line up */
@media (min-width: 921px) {
  .plan .tagline {
    min-height: 3em;
  }
}
.plan .price {
  font: 800 54px/1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan .price small {
  margin-left: 4px;
  font: 500 15px/1 var(--font-body);
  letter-spacing: 0;
  opacity: 0.75;
}
.plan .setup {
  margin-top: 8px;
  font: 400 13px/1.4 var(--font-mono);
  color: var(--navy-soft);
}
.plan ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  list-style: none;
}
.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
}
.plan li::before {
  content: "✓";
  font-weight: 700;
  color: var(--teal-ink);
}
.plan .btn {
  justify-content: center;
  text-align: center;
}
.plan:not(.featured) .btn {
  background: var(--navy);
  color: var(--paper);
}
.plan:not(.featured) .btn:hover {
  background: var(--navy-hover);
}

.reco {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--navy);
}
.reco strong {
  display: block;
  margin-bottom: 8px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.reco p {
  font-size: 15px;
  line-height: 1.5;
}
.reco .ex {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.8;
}

.plan.featured {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(11, 15, 43, 0.45);
}
.plan.featured .tagline,
.plan.featured .setup {
  color: var(--on-navy);
}
.plan.featured li::before,
.plan.featured .reco strong {
  color: var(--teal);
}
.plan.featured .reco {
  background: rgba(0, 224, 198, 0.14);
  color: var(--paper);
}

/* Three cards side by side: share rows across cards so headings, prices,
   lists, "Preporučujemo ako" boxes and buttons line up exactly */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 921px) {
    .plans {
      grid-template-rows: auto auto 1fr auto auto;
      row-gap: 0;
    }
    .plan {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 18px;
    }
    .plan .reco {
      margin-top: 0;
    }
    .plan ul {
      align-self: start;
    }
  }
}

@media (max-width: 920px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* Comparison table */
.compare-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare th:first-child,
.compare td:first-child {
  position: sticky;
  left: 0;
  width: 40%;
  background: var(--surface);
  text-align: left;
}
.compare thead th {
  padding-block: 22px 18px;
  font: 700 18px/1.2 var(--font-display);
}
.compare thead th small {
  display: block;
  margin-top: 6px;
  font: 500 13px/1.3 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--navy-soft);
}
.compare .col-featured {
  background: var(--teal-tint);
}
.compare thead .col-featured {
  box-shadow: inset 0 3px 0 var(--teal);
}
.compare .group td,
.compare .group td:first-child {
  padding-block: 12px;
  background: var(--paper);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare .yes {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.compare .no {
  font-size: 18px;
  color: #a4a8bc;
}
.compare .val {
  font: 500 14px/1.3 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Extras */
.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.extra {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.extra .big {
  font: 800 34px/1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.extra h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.extra p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--navy-soft);
}
.extra.highlight {
  border-color: var(--teal);
  background: var(--teal);
}
.extra.highlight p {
  color: var(--navy);
}

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

/* ==========================================================================
   13. Solution pages
   ========================================================================== */

/* Hero */
.sol-hero {
  padding-block: 64px 48px;
}
.sol-hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}
.sol-hero h1 {
  margin-top: 16px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
}
.sol-hero .lead {
  max-width: 34em;
  margin-top: 22px;
  font-size: 19px;
  color: var(--navy-soft);
}
.sol-hero .actions {
  margin-top: 30px;
}
.sol-hero .meta {
  margin-top: 26px;
}

.crumbs {
  font: 400 13px/1 var(--font-mono);
  color: var(--navy-soft);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--navy);
}

@media (max-width: 880px) {
  .sol-hero {
    padding-block: 44px 36px;
  }
  .sol-hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Short answer box (written to be quoted by AI search) */
.answer {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 22px;
  background: var(--navy);
  color: var(--paper);
}
.answer h2 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
}
.answer > p {
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.6;
  color: #dadcea;
}
.answer > p strong {
  font-weight: 600;
  color: var(--paper);
}

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

/* Scenario timeline */
.scenario {
  display: grid;
  max-width: 760px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.scenario li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding-bottom: 26px;
}
.scenario li::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 37px;
  width: 2px;
  background: var(--line);
}
.scenario li:last-child::after {
  display: none;
}
.scenario time {
  position: relative;
  z-index: 1;
  height: fit-content;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font: 500 13px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.scenario li.done time {
  border-color: var(--teal);
  background: var(--teal);
}
.scenario strong {
  display: block;
  font-size: 18px;
}
.scenario p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--navy-soft);
}

/* What it does / doesn't do */
.limits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.limits > div {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.limits h3 {
  font-size: 20px;
  font-weight: 700;
}
.limits ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 16px;
  list-style: none;
}
.limits li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}
.limits .can li::before {
  content: "✓";
  font-weight: 700;
  color: var(--teal-ink);
}
.limits .cant li::before {
  content: "×";
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
}

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

/* Facts table */
.facts {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.facts dl {
  display: grid;
  grid-template-columns: minmax(140px, 260px) 1fr;
  margin: 0;
}
.facts dt,
.facts dd {
  margin: 0;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  background: var(--paper);
  font: 500 13px/1.5 var(--font-mono);
  color: var(--navy-soft);
}
.facts dd {
  font-size: 16px;
}
.facts dt:last-of-type,
.facts dd:last-of-type {
  border-bottom: 0;
}

@media (max-width: 560px) {
  .facts dl {
    grid-template-columns: 1fr;
  }
  .facts dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  .facts dd {
    padding-top: 0;
    background: var(--paper);
  }
}

/* Package strip */
.pkg-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.pkg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.pkg.on {
  border: 2px solid var(--teal);
}
.pkg.off {
  opacity: 0.55;
}
.pkg h3 {
  font-size: 19px;
  font-weight: 700;
}
.pkg .p {
  font: 800 30px/1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pkg .p small {
  margin-left: 4px;
  font: 500 13px/1 var(--font-body);
  letter-spacing: 0;
  color: var(--navy-soft);
}
.pkg .note {
  font: 400 13px/1.4 var(--font-mono);
  color: var(--navy-soft);
}

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

/* Related solutions */
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.related a:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}
.related a span {
  font-family: var(--font-mono);
  color: var(--teal-ink);
}
.related small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy-soft);
}

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

/* ==========================================================================
   14. Voice call card (AI glasovni asistent page)
   Without JavaScript the whole conversation is shown at once.
   js/voice-call.js adds .seq to play it line by line, and toggles
   .speaking / .caller-speaking so the waveform moves only during speech.
   ========================================================================== */
.vcall {
  position: relative;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(0, 224, 198, 0.18), transparent 55%),
    var(--navy);
  color: var(--paper);
  box-shadow: 0 40px 80px -36px rgba(11, 15, 43, 0.6);
}

/* Top bar */
.vcall-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.vcall-avatar {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
}
.vcall-avatar img {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--teal);
}
.vcall-avatar .ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--teal);
  border-radius: 50%;
  opacity: 0;
  animation: vcall-ring 2.4s ease-out infinite;
}
.vcall-avatar .r2 {
  animation-delay: 1.2s;
}
.vcall-who {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.vcall-who strong {
  font-size: 16px;
  font-weight: 600;
}
.vcall-label {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.vcall-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font: 500 12px/1 var(--font-mono);
  white-space: nowrap;
  color: var(--on-navy);
}
.vcall-live time {
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a5f;
  animation: vcall-blink 1.4s ease-in-out infinite;
}

/* Waveform: 40 bars; height, speed and delay vary by position */
.vcall-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  height: 56px;
  margin: 20px 0 18px;
  padding: 0 4px;
}
.vcall-wave i {
  --h: 45%;
  --t: 1.2s;
  --d: 0s;
  flex: 1;
  max-width: 6px;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), rgba(0, 224, 198, 0.35));
  transform-origin: center;
  animation: vcall-wave var(--t) ease-in-out var(--d) infinite alternate;
}
.vcall-wave i:nth-child(3n + 1) {
  --h: 70%;
}
.vcall-wave i:nth-child(4n + 2) {
  --h: 32%;
}
.vcall-wave i:nth-child(5n + 3) {
  --h: 90%;
}
.vcall-wave i:nth-child(7n + 4) {
  --h: 58%;
}
.vcall-wave i:nth-child(11n + 6) {
  --h: 100%;
}
.vcall-wave i:nth-child(2n) {
  --t: 1.05s;
}
.vcall-wave i:nth-child(3n) {
  --t: 1.4s;
}
.vcall-wave i:nth-child(5n + 1) {
  --t: 0.9s;
}
.vcall-wave i:nth-child(2n + 1) {
  --d: 0.35s;
}
.vcall-wave i:nth-child(3n + 2) {
  --d: 0.7s;
}
.vcall-wave i:nth-child(4n) {
  --d: 0.15s;
}
.vcall-wave i:nth-child(7n + 3) {
  --d: 1s;
}

/* Conversation */
.vcall-lines {
  display: grid;
  gap: 10px;
}
.vline {
  max-width: 88%;
  padding: 10px 14px 11px;
  border-radius: 16px;
}
.vline .who {
  display: block;
  margin-bottom: 6px;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.vline p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}
.vline .dots {
  display: none;
  gap: 5px;
  padding: 4px 2px;
}
.vline .dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  animation: vcall-dots 1.2s ease-in-out infinite;
}
.vline .dots i:nth-child(2) {
  animation-delay: 0.2s;
}
.vline .dots i:nth-child(3) {
  animation-delay: 0.4s;
}
.vline p.typing-now::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: currentColor;
  animation: vcall-caret 0.8s steps(1) infinite;
}
.vline.ai {
  justify-self: start;
  border: 1px solid rgba(0, 224, 198, 0.28);
  border-bottom-left-radius: 4px;
  background: rgba(0, 224, 198, 0.12);
}
.vline.ai .who,
.vline.ai .dots {
  color: var(--teal);
}
.vline.caller {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-right-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.vline.caller .who {
  text-align: right;
  color: #a9adc6;
}
.vline.caller .dots {
  color: var(--on-navy);
}

/* Call summary */
.vcall-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--navy);
}
.sum-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sum-head .check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.sum-head strong {
  font-size: 14px;
}
.sum-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.sum-chips span {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--teal-tint);
  font: 500 12px/1 var(--font-mono);
}

/* Playback states (set by js/voice-call.js) */
.vcall.seq .step {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vcall.seq .step.talk,
.vcall.seq .step.on {
  opacity: 1;
  transform: none;
}
.vcall.seq .step.talk p {
  display: none;
}
.vcall.seq .step.talk .dots {
  display: flex;
}
.vcall.seq .vcall-summary {
  transform: translateY(14px) scale(0.96);
}
.vcall.seq .vcall-summary.on {
  transform: none;
  box-shadow: 0 0 0 3px rgba(0, 224, 198, 0.45);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1),
    box-shadow 1.2s ease;
}

/* The wave eases up when someone speaks and settles when they stop */
.vcall.seq .vcall-wave {
  opacity: 0.5;
  transform: scaleY(0.1);
  transition:
    transform 0.9s cubic-bezier(0.45, 0, 0.25, 1),
    opacity 0.9s ease;
}
.vcall.seq.speaking .vcall-wave {
  opacity: 1;
  transform: scaleY(1);
  transition:
    transform 0.7s cubic-bezier(0.3, 0, 0.2, 1),
    opacity 0.5s ease;
}
.vcall.seq .vcall-wave i {
  animation-duration: calc(var(--t) * 0.55);
  animation-delay: calc(var(--d) * 0.4);
  transition: background 0.6s ease;
}
.vcall.seq.caller-speaking .vcall-wave i {
  background: linear-gradient(180deg, var(--on-navy), rgba(201, 204, 224, 0.35));
}

@keyframes vcall-ring {
  0% {
    opacity: 0.7;
    transform: scale(0.85);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
@keyframes vcall-blink {
  50% {
    opacity: 0.25;
  }
}
@keyframes vcall-wave {
  0% {
    transform: scaleY(0.25);
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes vcall-dots {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@keyframes vcall-caret {
  50% {
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .vcall {
    padding: 18px;
  }
  .vcall-live {
    padding: 6px 9px;
  }
  .vline {
    max-width: 94%;
  }
}

/* ==========================================================================
   15. Booking calendar card (rezervacija termina page)
   ========================================================================== */
.cal {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.cal-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cal-top strong {
  font: 700 18px/1.2 var(--font-display);
}
.cal-top span {
  font: 400 12px/1 var(--font-mono);
  color: var(--navy-soft);
}
.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.days div {
  padding: 10px 0;
  border-radius: 10px;
  background: var(--paper);
  font: 500 12px/1.3 var(--font-mono);
  text-align: center;
  color: var(--navy-soft);
}
.days div b {
  display: block;
  font: 700 18px/1.2 var(--font-display);
  color: var(--navy);
}
.days div.sel {
  background: var(--navy);
  color: var(--on-navy);
}
.days div.sel b {
  color: var(--paper);
}
.times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.times span {
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: 500 14px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.times span.taken {
  background: var(--paper);
  color: #b0b4c6;
  text-decoration: line-through;
}
.times span.pick {
  border-color: var(--teal);
  background: var(--teal);
}
.confirm {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.confirm div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
}
.confirm div i {
  min-width: 72px;
  font: normal 500 11px/1 var(--font-mono);
  color: var(--teal-ink);
}

/* ==========================================================================
   16. FAQ page
   ========================================================================== */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.toc a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.toc a:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}
.faq-page {
  display: grid;
  gap: 48px;
}
.faq-group {
  scroll-margin-top: 90px;
}
.faq-group h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}
.faq-group .faq {
  margin-top: 18px;
}

/* ==========================================================================
   17. About page
   .about and .portrait are for the header with Ena's photo (not shown yet)
   ========================================================================== */
.about,
.about-body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}
.about {
  align-items: center;
}
.about-body {
  align-items: start;
}
.portrait {
  display: grid;
  place-items: center;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1.5px dashed var(--teal-ink);
  border-radius: 24px;
  background: var(--teal-tint);
  font: 500 13px/1 var(--font-mono);
  color: var(--teal-ink);
}
.prose {
  max-width: 62ch;
}
.prose h2 {
  margin-top: 36px;
  font-size: 26px;
  font-weight: 700;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--navy-soft);
}
.about-facts {
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.about-facts dl {
  margin: 0;
}
.about-facts dt {
  padding-top: 16px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.about-facts dd {
  margin: 6px 0 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.about-facts dd:last-child {
  border-bottom: 0;
}
.about-facts a {
  font-weight: 600;
  color: var(--teal-ink);
  text-decoration: none;
}

@media (max-width: 860px) {
  .about,
  .about-body {
    grid-template-columns: 1fr;
  }
  .portrait {
    max-width: 320px;
  }
}

/* ==========================================================================
   18. Contact page
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: start;
  gap: 24px;
}
.contact-main,
.contact-side {
  display: grid;
  min-width: 0;
}
.contact-main {
  gap: 24px;
}
.contact-side {
  gap: 16px;
}

.book {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 22px;
  background: var(--teal);
}
.book .eyebrow {
  background: var(--navy);
  color: var(--teal);
}
.book h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
}
.book h2 + p {
  max-width: 46ch;
  font-size: 17px;
}
.book .btn-dark {
  margin-top: 6px;
}

.form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.form h2 {
  font-size: 24px;
  font-weight: 700;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: 400 16px/1.4 var(--font-body);
  color: var(--navy);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--teal);
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form .check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy-soft);
}
.form .check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--teal-ink);
}
.form .check a {
  color: var(--teal-ink);
}
.form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  min-height: 1.4em;
  font-size: 14px;
  color: var(--navy-soft);
}

.side-card {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.side-card .small {
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-soft);
}
.big-line {
  font: 700 19px/1.3 var(--font-display);
  overflow-wrap: anywhere;
}

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

/* ==========================================================================
   19. Legal pages
   ========================================================================== */
.legal-doc {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: start;
  gap: 48px;
}
.legal-toc {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.legal-toc ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
}
.legal-toc a {
  color: var(--navy-soft);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--navy);
}
.doc-prose {
  display: grid;
  gap: 36px;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  max-width: 68ch;
}
.doc-prose section {
  scroll-margin-top: 90px;
}
.doc-prose h2 {
  font-size: 22px;
  font-weight: 700;
}
.doc-prose p,
.doc-prose li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-soft);
}
.doc-prose p {
  margin-top: 12px;
}
.doc-prose ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}
.doc-prose strong {
  font-weight: 600;
  color: var(--navy);
}
.doc-prose a {
  color: var(--teal-ink);
}
.doc-table {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.doc-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}
.doc-table th,
.doc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.doc-table th {
  background: var(--paper);
  font: 500 12px/1.3 var(--font-mono);
  color: var(--navy-soft);
}
.doc-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 860px) {
  .legal-doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .legal-toc {
    position: static;
  }
}

/* ==========================================================================
   20. 404 page
   ========================================================================== */
.notfound {
  padding-block: 96px 120px;
}

/* ==========================================================================
   21. Reduced motion: no animations or smooth scrolling
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Embedded GHL contact form (Kontakt page) */
.form-embed .ghl-form {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
}
@media (max-width: 640px) {
  .form-embed .ghl-form { min-height: 980px; }
}
