/* Predlog A. Prijazno: zlata iz resice, Figtree, ozek osredinjen stolpec, maskota nad naslovom. */

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-variable-latinext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-variable-latin.woff2") format("woff2");
  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;
}

:root {
  --bg: #f6f6f4;
  --ink: #1b2742;
  --soft: #3e4a66;
  --line: #e4e1da;
  --paper: #ffffff;
  --accent: #7a5b24;
  --danger: #6e1e2a;
  --serif: Figtree, "Segoe UI", sans-serif;
  --sans: Figtree, "Segoe UI", sans-serif;
  --max: 760px;
  --pad: 1.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.45rem, 5.4vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 750; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }

p { margin: 0; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(246, 246, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  margin-right: auto;
}

.brand-mark { width: 40px; height: auto; }

.nav {
  order: 3;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--soft);
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 0.22em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover { background: #121a30; }
.btn:focus-visible,
.brand:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-small { min-height: 44px; padding: 0.55rem 0.95rem; font-size: 0.95rem; }

main { display: block; }
#kako, #cene, #primer, #vprasanja, #prijava, #videz { scroll-margin-top: 5rem; }

.section {
  padding: clamp(4.25rem, 9vw, 7rem) var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-visual { order: -1; }

.hero-mascot { width: min(210px, 56vw); margin-inline: auto; display: block; }

.hero-rest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.lead {
  max-width: 36rem;
  color: var(--soft);
  font-size: 1.125rem;
}

.reassure,
.fine { color: var(--soft); font-size: 0.98rem; }

#videz .section-inner,
#cene .section-inner { text-align: center; }

#videz .lead,
#cene .lead {
  margin: 0 auto 1.75rem;
}

h2 { margin-bottom: 1.75rem; }

.section h2 { text-align: center; }

.section h2::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin: 0.95rem auto 0;
  background: var(--accent);
}

.cycle {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
}

.cta .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  text-align: left;
}

.beats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  text-align: left;
}

.beats span {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.2;
}

.note {
  color: var(--soft);
  margin: -0.5rem 0 1.75rem;
  text-align: center;
}

.sample {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.sample article h3 { margin-bottom: 0.4rem; }
.meta { color: var(--soft); margin-bottom: 0.8rem; font-size: 0.98rem; }

blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

blockquote p + p { margin-top: 0.8rem; }

.prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.amount {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
  margin: 0.35rem 0;
}

.price-notes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: center;
}

.faq-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.faq-head h2 { margin-bottom: 0; min-width: 0; }

.faq-mascot {
  width: 108px;
  height: auto;
  flex: 0 0 auto;
  display: block;
}

.faq {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.qa-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.qa-item:last-child { border-bottom: 1px solid var(--line); }
.qa-item h3 { margin-bottom: 0.45rem; font-size: 1.25rem; }
.qa-item p { color: var(--soft); }
.qa-item p + p,
.qa-item ul { margin-top: 0.55rem; }
.qa-item ul { margin: 0.55rem 0 0; padding-left: 1.1rem; color: var(--soft); }

.signup .section-inner { max-width: 34rem; }
.form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; }
.hint { color: var(--soft); font-size: 0.95rem; }

input, select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d5d2cb;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.consent {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.25rem;
  accent-color: var(--ink);
}

.consent a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.error { color: var(--danger); font-weight: 700; }

.thanks {
  text-align: left;
  font-size: 1.15rem;
}
.thanks:focus { outline: none; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--pad) 4rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--soft);
  font-size: 0.98rem;
  text-align: center;
}

.footer-lead { color: var(--ink); font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: 1.15rem; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
}

.legal-nav a,
.footer-inner a { text-underline-offset: 0.18em; }

address { font-style: normal; }

@media (min-width: 720px) {
  .nav { order: 0; width: auto; justify-content: flex-end; }
  .prices { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .beats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
  .faq-head { gap: 1.35rem; }
  .faq-mascot { width: 156px; }
}

@media (min-width: 900px) {
  .hero .section-inner { max-width: 1080px; }
  .hero-layout {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 2.5rem;
  }
  .hero-visual { order: 0; }
  .hero-copy { flex: 1; }
  .hero-rest { align-items: flex-start; }
  .hero-mascot { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
