/* Božičkov pozdrav – svetla božična različica: snežno bela, smrekovo zelena, božično rdeča */

@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap; src: url("fonts/sofia-sans-latin-ext.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: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap; src: url("fonts/sofia-sans-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; }
@font-face { font-family: "Sofia Sans Condensed"; font-style: normal; font-weight: 1 1000; font-display: swap; src: url("fonts/sofia-sans-condensed-latin-ext.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: "Sofia Sans Condensed"; font-style: normal; font-weight: 1 1000; font-display: swap; src: url("fonts/sofia-sans-condensed-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 {
  --snow: #fbfcfa;
  --white: #ffffff;
  --frost: #e9f2eb;
  --frost-line: #d5e3d9;
  --field-line: #7e9a89;
  --spruce: #1f5a3d;
  --spruce-deep: #16382a;
  --ink: #23302a;
  --ink-soft: #4a5a51;
  --red: #c4122f;
  --red-deep: #9f0c24;
  --red-ink: #8e0c21;
  --red-tint: #fbe9ec;

  --f-text: "Sofia Sans", ui-sans-serif, system-ui, sans-serif;
  --f-head: "Sofia Sans Condensed", "Sofia Sans", ui-sans-serif, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1200px;
  --band: clamp(48px, 7vw, 92px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 6px 18px rgba(22, 56, 42, .08);
  --shadow-lift: 0 18px 40px rgba(22, 56, 42, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font: 400 1.125rem/1.5 var(--f-text);
  caret-color: var(--red); accent-color: var(--spruce);
}
::selection { background: #f6d5da; color: var(--spruce-deep); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--spruce); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--spruce-deep); }
:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
h2 { font: 800 clamp(2rem, 4.4vw, 3rem)/1.08 var(--f-head); color: var(--spruce-deep); text-wrap: balance; }
h3 { font: 700 1.375rem/1.2 var(--f-text); color: var(--spruce-deep); }
.lede { margin-top: 12px; max-width: 60ch; }
.fine { font-size: .9375rem; color: var(--ink-soft); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: var(--gutter); top: -70px; z-index: 30; background: var(--white); color: var(--spruce-deep); padding: 10px 14px; font-weight: 700; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 10px; }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: var(--white); text-decoration: none;
  font: 700 1.25rem/1.1 var(--f-text);
  box-shadow: 0 6px 16px rgba(120, 12, 30, .22);
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--red-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(120, 12, 30, .28); }
.btn:active { transform: translateY(0); }
.btn[disabled] { background: #b98089; cursor: progress; box-shadow: none; transform: none; }
.btn-small { min-height: 44px; padding: 10px 22px; font-size: 1.0625rem; box-shadow: none; }
.btn-wide { width: 100%; }
.btn-price { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .5); font-weight: 600; }
.btn-ghost {
  justify-self: start; min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--spruce); border: 2px solid var(--spruce);
  font: 700 1rem/1.1 var(--f-text);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn-ghost:hover { background: var(--spruce); color: var(--white); }

/* ---------- vrh ---------- */
.topline { background: var(--red); color: var(--white); text-align: center; padding: 10px var(--gutter); font-weight: 600; font-size: 1rem; }
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  max-width: var(--wrap); margin-inline: auto; padding: 14px var(--gutter);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--spruce); text-decoration: none; font: 800 clamp(1.375rem, 5.6vw, 1.75rem)/1 var(--f-head); letter-spacing: .01em; white-space: nowrap; }
.wordmark::before {
  content: ""; width: 26px; height: 26px; flex: none; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.6l2.9 6.6 7.1.6-5.4 4.7 1.7 7L12 16.8 5.7 20.5l1.7-7L2 8.8l7.1-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.6l2.9 6.6 7.1.6-5.4 4.7 1.7 7L12 16.8 5.7 20.5l1.7-7L2 8.8l7.1-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wordmark:hover { color: var(--spruce-deep); }
.nav { display: none; gap: 32px; font-weight: 600; font-size: 1.0625rem; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { text-decoration: underline; }
.bar-right { display: flex; align-items: center; gap: 16px; }
.clock { display: none; }
.notice { padding: 14px var(--gutter); background: var(--red-tint); color: var(--red-ink); font-weight: 600; text-align: center; }

/* ---------- prvi zaslon ---------- */
.hero { display: grid; gap: 22px; align-items: center; max-width: var(--wrap); margin-inline: auto; padding: clamp(16px, 3vw, 44px) var(--gutter) clamp(40px, 6vw, 84px); }
.hero-copy { display: contents; }
.hero h1 { order: 1; }
.hero .screen { order: 2; }
.hero-sub { order: 3; }
.name-field { order: 4; }
.hero-actions { order: 5; }
h1 { font: 800 clamp(2.5rem, 7.2vw, 4.5rem)/1.02 var(--f-head); letter-spacing: -.01em; color: var(--spruce-deep); text-wrap: balance; }
.h1-quote { color: var(--red); }
.hero-sub { font-size: 1.25rem; max-width: 34em; }
.name-field { display: grid; gap: 8px; max-width: 460px; }
.name-field label { font-weight: 700; font-size: 1rem; color: var(--spruce-deep); }
.name-input {
  width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 12px;
  border: 2px solid var(--spruce); background: var(--white); color: var(--spruce-deep);
  font: 600 1.25rem/1.2 var(--f-text);
  transition: box-shadow .2s var(--ease);
}
.name-input::placeholder { color: #5c6e64; font-weight: 400; }
.name-input:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(31, 90, 61, .25); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-actions .from { font-weight: 600; color: var(--spruce-deep); }

.screen { display: grid; gap: 12px; min-width: 0; }
.screen-frame { position: relative; aspect-ratio: 16 / 9; background: var(--spruce-deep); border-radius: 20px; box-shadow: var(--shadow-lift); }
.screen-video { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.screen-video-top { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); background: var(--spruce-deep); }
.screen-video-top.is-on { opacity: 1; }
.screen-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: var(--white); color: var(--spruce-deep); font-weight: 700; font-size: .9375rem; border-radius: 8px; }
.screen-play {
  position: absolute; right: 16px; bottom: 16px; width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; padding-left: 4px; background: var(--white); color: var(--red);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.screen-play:hover { transform: scale(1.06); background: var(--red); color: var(--white); }
.screen-play:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 50%; }
.strap { position: absolute; left: 14px; bottom: 16px; display: grid; justify-items: start; max-width: calc(100% - 110px); }
.strap-name { padding: 4px 14px 2px; background: var(--red); color: var(--white); font: 800 clamp(1.5rem, 5vw, 2.25rem)/1.05 var(--f-head); letter-spacing: .02em; border-radius: 8px 8px 8px 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strap-sub { padding: 4px 12px; background: var(--white); color: var(--spruce-deep); font-weight: 700; font-size: .875rem; border-radius: 0 0 8px 8px; }
.strap.is-wiping .strap-name { animation: wipe .7s var(--ease) both; }
.strap.is-wiping .strap-sub { animation: wipe .7s .08s var(--ease) both; }
@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); filter: blur(3px); }
  to { clip-path: inset(0 0 0 0); filter: blur(0); }
}
.screen-cap { font-size: 1rem; color: var(--ink-soft); max-width: 60ch; }

.candy { height: 10px; background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--white) 14px 28px); }

/* ---------- pasovi ---------- */
.band { padding-block: var(--band); }
.band-frost { background: var(--frost); }

/* ---------- koraki ---------- */
.steps { display: grid; gap: 32px 48px; margin-top: 40px; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--spruce); }
.step-no { font: 800 2.75rem/1 var(--f-head); color: var(--red); }
.step p { max-width: 32ch; }

/* ---------- kaj Božiček pove ---------- */
.script { display: grid; gap: 36px 64px; }
.script-copy { display: grid; gap: 20px; align-content: start; }
.checks { display: grid; gap: 12px; font-weight: 600; color: var(--spruce-deep); }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: 2px; background: var(--spruce);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.letter { background: var(--white); border: 2px solid var(--spruce); border-radius: 20px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 4px; align-content: start; }
.line { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--frost-line); }
.line:last-of-type { border-bottom: 0; }
.line dt { font-weight: 700; font-size: .9375rem; color: var(--spruce); }
.line dd { font: 600 clamp(1.1875rem, 2.2vw, 1.4375rem)/1.35 var(--f-text); color: var(--spruce-deep); text-wrap: pretty; }
.line dd [data-name-plain] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.line .if-named { display: none; font-weight: 400; font-size: 1.0625rem; color: var(--ink-soft); }
body.has-name .line .if-named { display: block; }
body.has-name .line .if-demo { display: none; }
.letter .aside { margin-top: 10px; font-size: .9375rem; color: var(--ink-soft); }

/* ---------- naročilo ---------- */
.order-grid { display: grid; gap: 28px; margin-top: 32px; align-items: start; }
.form { display: grid; gap: 28px; min-width: 0; }
legend { font: 800 1.5rem/1.2 var(--f-head); color: var(--spruce-deep); margin-bottom: 14px; }
.pack-list { display: grid; gap: 14px; }
.pack {
  position: relative; display: grid; gap: 6px; padding: 22px 22px 20px; cursor: pointer;
  background: var(--white); border: 2px solid transparent; border-radius: 20px; box-shadow: var(--shadow);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.pack:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 56, 42, .14); }
.pack input { position: absolute; top: 20px; right: 20px; width: 22px; height: 22px; margin: 0; }
.pack-label { font-weight: 700; font-size: 1.25rem; color: var(--spruce-deep); padding-right: 34px; }
.pack-price { font: 800 2.75rem/1 var(--f-head); color: var(--spruce-deep); }
.pack:has(input:checked) { border-color: var(--red); }
.pack:has(input:checked) .pack-price { color: var(--red); }
.pack:has(input:focus-visible) { outline: 3px solid var(--spruce); outline-offset: 3px; }
.packs .fine { margin-top: 12px; }

.card { background: var(--white); border-radius: 20px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 28px; }
.child { display: grid; gap: 16px; }
.child + .child { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--frost-line); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field.grow { flex: 2 1 200px; }
.field.narrow { flex: 1 1 100px; }
label { font-weight: 700; font-size: 1rem; color: var(--spruce-deep); }
.opt { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 2px solid var(--field-line); background: var(--white); color: var(--spruce-deep);
  font: 400 1.0625rem/1.4 var(--f-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #5c6e64; }
input:hover, textarea:hover { border-color: var(--spruce); }
input:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--spruce); box-shadow: 0 0 0 4px rgba(31, 90, 61, .22); }
[aria-invalid="true"] { border-color: var(--red) !important; background: var(--red-tint); }
.hint { font-size: .9375rem; color: var(--ink-soft); }
.err { font-size: .9375rem; font-weight: 600; color: var(--red-ink); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 6px 12px; align-items: start; }
.check + .check { margin-top: 14px; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; }
.check label { font-weight: 400; font-size: 1rem; color: var(--ink); }
.check .err { grid-column: 2; }
.form-msg { padding: 12px 16px; border-radius: 12px; background: var(--red-tint); color: var(--red-ink); font-weight: 600; }

.ticket { background: var(--white); border: 2px dashed var(--spruce); border-radius: 20px; padding: 24px; display: grid; gap: 16px; }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; font: 800 1.25rem/1.1 var(--f-head); color: var(--spruce); }
.ticket-rows { display: grid; gap: 10px; }
.ticket-rows > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; }
.ticket-rows dt { font-size: .9375rem; color: var(--ink-soft); }
.ticket-rows dd { font-weight: 600; color: var(--spruce-deep); overflow-wrap: anywhere; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px dashed var(--frost-line); font-weight: 600; }
.ticket-total strong { font: 800 2.25rem/1 var(--f-head); color: var(--red); }

/* ---------- vprašanja ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 28px; max-width: 860px; }
details { background: var(--white); border: 1px solid var(--frost-line); border-radius: 14px; padding: 4px 22px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; font-weight: 700; font-size: 1.1875rem; color: var(--spruce-deep); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
details[open] summary::after { transform: translateY(3px) rotate(225deg); }
details p { padding: 0 0 18px; max-width: 68ch; }

/* ---------- zaključek in noga ---------- */
.close { background: var(--red); color: var(--white); }
.close-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(40px, 5vw, 72px); }
.close-copy { flex: 1 1 420px; min-width: 0; display: grid; gap: 10px; }
.close h2 { color: var(--white); font-size: clamp(1.875rem, 3.8vw, 2.75rem); }
.close p { max-width: 60ch; }
.close .btn { background: var(--white); color: var(--red-ink); box-shadow: none; }
.close .btn:hover { background: var(--red-tint); color: var(--red-ink); }
.close :focus-visible { outline-color: var(--white); }
.foot { background: var(--spruce-deep); color: var(--frost); padding: 36px var(--gutter) 44px; font-size: 1rem; }
.foot > * { max-width: var(--wrap); margin-inline: auto; }
.foot-brand { font: 800 1.375rem/1.1 var(--f-head); color: var(--white); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.foot a { color: var(--white); display: inline-block; padding: 8px 0; }
.foot :focus-visible { outline-color: var(--white); }
.foot-fine { margin-top: 12px; color: #c9dccf; font-size: .9375rem; }

/* ---------- lepljiva vrstica na telefonu ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--white); color: var(--ink); border-top: 1px solid var(--frost-line);
  box-shadow: 0 -10px 26px -14px rgba(22, 56, 42, .35);
}
.dock-text { display: grid; min-width: 0; font-size: .9375rem; line-height: 1.25; }
.dock-text strong { font: 800 1.1875rem/1.1 var(--f-head); color: var(--spruce-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- pogoji, zasebnost, hvala ---------- */
.doc { max-width: 760px; margin-inline: auto; padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(64px, 10vw, 110px); }
.doc h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.doc h2 { margin-top: 40px; font-size: clamp(1.5rem, 4vw, 2rem); }
.doc p, .doc li { max-width: 68ch; }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 10px; padding-left: 1.2em; list-style: disc; }
.doc li { margin-top: 6px; }
.doc .draft { margin-top: 18px; padding: 12px 16px; background: var(--red-tint); color: var(--red-ink); font-weight: 600; border-radius: 12px; }
.rail { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--frost-line); }
.rail-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--frost-line); }
.rail-time { font: 800 1.375rem/1.2 var(--f-head); color: var(--red); }
.rail-body { display: grid; gap: 2px; }
.rail-title { font-weight: 700; color: var(--spruce-deep); }
.rail-desc { color: var(--ink-soft); }
.lamp { display: none; }

/* ---------- širši zasloni ---------- */
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .hero-copy { display: grid; gap: 20px; min-width: 0; }
  .script { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
  .order-grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .ticket { position: sticky; top: 24px; }
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
