/* Písma sú uložené priamo v aplikácii (bez načítavania z Google – žiadny prenos IP adries návštevníkov). Licencia SIL Open Font License. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-normal-lat.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: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic-lat.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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-normal-lat.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: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/caveat-normal-lat.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: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-normal-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: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic-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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-normal-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: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/caveat-normal-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; }

/* KrpaHaus | Naše zážitky – verejná stránka */
:root {
  --forest: #22302a;
  --forest-2: #2f4038;
  --moss: #6f7a5e;
  --sand: #f5f0e8;
  --sand-2: #ebe3d6;
  --paper: #fffdf9;
  --ink: #1f2420;
  --muted: #6c7068;
  --accent: #b5774f;
  --line: rgba(34, 48, 42, .12);
  --shadow-sm: 0 2px 8px rgba(34, 48, 42, .06);
  --shadow: 0 18px 50px -18px rgba(34, 48, 42, .28);
  --radius: 18px;
  --serif: "Cormorant Garamond", "Cormorant", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--forest); margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.wrap--doc { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.kicker { font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.kicker--light { color: #e7b993; }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #f3e4d4; }

/* Buttons */
.btn { --bg: var(--forest); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg); font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(34, 48, 42, .55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.btn--accent { --bg: var(--accent); }
.btn--primary { --bg: var(--forest); }
.btn--ghost { --bg: transparent; --fg: var(--forest); border-color: rgba(34, 48, 42, .28); }
.btn--ghost:hover { --bg: var(--paper); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245, 240, 232, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(245, 240, 232, .94); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand__mark { width: 34px; height: 34px; color: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; }
.brand__sub { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--forest); position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav__ext { color: var(--muted) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; padding: 15px; }
}

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; margin-top: -72px; padding: 132px 0 160px; isolation: isolate; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__copy { max-width: 600px; }
.hero__title { font-size: clamp(3.4rem, 9vw, 6.8rem); margin: 0 0 .1em; font-weight: 500; line-height: .95; }
.hero__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.8vw, 2.05rem); color: var(--accent); margin: 0 0 22px; line-height: 1.25; }
.hero__text { font-size: 1.1rem; color: #3b413c; max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--ghost { background: rgba(255, 253, 249, .55); }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 8px 16px 8px 12px; background: rgba(255, 253, 249, .7); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--forest); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(181, 119, 79, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(181, 119, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(181, 119, 79, 0); } }
.hero__collage { position: relative; height: 480px; }
.polaroid { position: absolute; margin: 0; background: #fffdf9; padding: 10px 10px 14px; border-radius: 6px; box-shadow: 0 30px 60px -25px rgba(34, 48, 42, .55), 0 2px 6px rgba(34, 48, 42, .08); transition: transform .6s var(--ease); }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--forest); text-align: center; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid--1 { width: 58%; aspect-ratio: 4/5; right: 6%; top: 0; transform: rotate(3deg); z-index: 2; }
.polaroid--1 img { height: calc(100% - 30px); }
.polaroid--2 { width: 46%; aspect-ratio: 1; left: 2%; top: 26%; transform: rotate(-6deg); z-index: 1; }
.polaroid--2 img { height: calc(100% - 30px); }
.polaroid--3 { width: 40%; aspect-ratio: 4/3; right: 0; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.polaroid--3 img { height: calc(100% - 30px); }
.hero__collage:hover .polaroid--1 { transform: rotate(1deg) translateY(-6px); }
.hero__collage:hover .polaroid--2 { transform: rotate(-8deg) translateX(-6px); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 120px 0 190px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__collage { height: 340px; max-width: 460px; width: 100%; margin: 10px auto 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__collage { height: 280px; }
}

/* Sections */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { color: var(--muted); font-size: 1.08rem; }
.section-head__count { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.2rem; margin: 0; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); padding: clamp(22px, 4vw, 40px); }
.notice { text-align: center; color: var(--forest); }
.notice--ok { background: #f1f5ee; }

/* Gallery */
.gallery-section { background: var(--sand); position: relative; }
.gallery { columns: 4 260px; column-gap: 18px; }
.gallery.is-masonry { columns: auto; display: flex; gap: 18px; align-items: flex-start; }
.g-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.g-item { position: relative; display: block; break-inside: avoid; margin-bottom: 18px; border-radius: 14px; overflow: hidden; background: var(--sand-2); box-shadow: var(--shadow-sm); text-decoration: none; transform: translateZ(0); }
.gallery.is-masonry .g-item { margin-bottom: 0; }
.g-item img { width: 100%; height: auto; opacity: 1; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.035); }
.g-item__over { position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; background: linear-gradient(to top, rgba(20, 28, 24, .78), transparent); color: #fff; display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.g-item:hover .g-item__over, .g-item:focus-visible .g-item__over { opacity: 1; transform: none; }
.g-item__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.g-item__names { font-size: .82rem; opacity: .85; letter-spacing: .02em; }
.g-item__star { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 253, 249, .9); color: var(--accent); font-size: .9rem; }
@media (hover: none) { .g-item__over { opacity: 1; transform: none; padding-top: 40px; } .g-item__title { font-size: 1.1rem; } }
@media (max-width: 560px) { .gallery.is-masonry, .g-col { gap: 10px; } .g-item { border-radius: 10px; } .g-item__over { padding: 30px 10px 10px; } .g-item__title { font-size: 1rem; } .g-item__names { font-size: .74rem; } }
.gallery-more { display: flex; justify-content: center; margin-top: 40px; }
.gallery-sentinel { height: 1px; }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed rgba(34, 48, 42, .2); border-radius: var(--radius); }
.empty svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 2; margin: 0 auto 16px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

/* Contest */
.contest { background: var(--forest); color: #e9e4db; position: relative; overflow: hidden; }
.contest::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(181, 119, 79, .28), transparent 65%); pointer-events: none; }
.contest h2 { color: #fbf6ef; }
.contest__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.contest__text { font-size: 1.12rem; color: #d5d2c8; max-width: 560px; }
.steps { list-style: none; padding: 0; margin: 40px 0 32px; display: grid; gap: 20px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps__n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; color: #f3d9c2; border: 1px solid rgba(243, 217, 194, .35); }
.steps strong { display: block; color: #fbf6ef; font-weight: 600; }
.steps span { color: #b9b8ae; font-size: .95rem; }
.conditions { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }
.conditions summary { cursor: pointer; font-weight: 600; color: #fbf6ef; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.conditions summary::-webkit-details-marker { display: none; }
.conditions summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; transition: transform .25s; }
.conditions[open] summary::after { transform: rotate(45deg); }
.conditions ul { margin: 16px 0 18px; padding-left: 20px; color: #cfccc2; font-size: .96rem; }
.conditions li { margin-bottom: 6px; }
.prize { position: relative; background: linear-gradient(160deg, #fffdf9, #f4ece0); color: var(--ink); border-radius: 22px; padding: 44px 36px 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.prize__ribbon { position: absolute; top: -14px; left: 36px; background: var(--accent); color: #fff; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; padding: 7px 16px; border-radius: 999px; }
.prize__title { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 12px; }
.prize__text { color: var(--muted); }
.prize__cabins { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0; }
.cabin { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: 14px; background: rgba(34, 48, 42, .045); font-weight: 600; font-size: .92rem; color: var(--forest); }
.cabin svg { width: 46px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.prize__or { font-family: var(--serif); font-style: italic; color: var(--muted); }
.prize__facts { margin: 0 0 26px; display: grid; gap: 0; }
.prize__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.prize__facts dt { color: var(--muted); }
.prize__facts dd { margin: 0; font-weight: 600; text-align: right; }
.prize__note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .contest__grid { grid-template-columns: 1fr; } .prize { padding: 40px 22px 26px; } }

/* Upload */
.upload-section { background: linear-gradient(to bottom, var(--sand), var(--sand-2)); }
.uploader { padding: clamp(22px, 5vw, 48px); }
.progress-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 34px; counter-reset: s; }
.progress-steps li { flex: 1; counter-increment: s; font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--sand-2); transition: border-color .3s, color .3s; }
.progress-steps li::before { content: counter(s) ". "; }
.progress-steps li.is-active, .progress-steps li.is-done { border-color: var(--accent); color: var(--forest); }
@media (max-width: 520px) { .progress-steps li { font-size: 0; } .progress-steps li::before { font-size: .8rem; } }
.step { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field__label { font-size: .9rem; font-weight: 600; color: var(--forest); }
.field__label b, legend b { color: var(--accent); }
.field__label i { font-weight: 400; color: var(--muted); font-style: normal; }
.field__hint, .field__counter { font-size: .82rem; color: var(--muted); }
.field__counter { text-align: right; margin-top: -4px; }
.input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid rgba(34, 48, 42, .2); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(181, 119, 79, .16); }
textarea.input { resize: vertical; min-height: 90px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input--code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.4rem; letter-spacing: .14em; text-align: center; text-transform: uppercase; padding: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .93rem; line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); cursor: pointer; }
.consents { border: 0; padding: 20px; margin: 0; background: var(--sand); border-radius: 14px; display: grid; gap: 14px; }
.consents legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-weight: 600; font-size: .9rem; color: var(--forest); }
.namebox { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.verified { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #eef3ea; color: var(--forest); }
.verified svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--forest); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.verified strong { display: block; }
.verified span { font-size: .9rem; color: var(--muted); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fbecea; color: #8b2f25; font-size: .93rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.dropzone { border: 2px dashed rgba(34, 48, 42, .25); border-radius: 16px; padding: 34px 20px; text-align: center; cursor: pointer; background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: #fdf8f3; }
.dropzone.is-over { transform: scale(1.01); }
.dropzone svg { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 10px; }
.dropzone p { margin: 0 0 4px; }
.previews { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.previews:empty { display: none; }
.preview { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--sand-2); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview__rm { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20, 28, 24, .7); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.preview__bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .6); overflow: hidden; opacity: 0; transition: opacity .2s; }
.preview__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.preview.is-uploading .preview__bar { opacity: 1; }
.preview.is-done::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #fff; background: rgba(34, 48, 42, .45); }
.preview.is-error { outline: 3px solid #c0493c; outline-offset: -3px; }
.preview__err { position: absolute; inset: auto 0 0 0; background: rgba(139, 47, 37, .92); color: #fff; font-size: .7rem; padding: 4px 6px; line-height: 1.3; }
.upload-progress__bar { height: 8px; border-radius: 8px; background: var(--sand-2); overflow: hidden; }
.upload-progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #d39a6f); transition: width .25s; }
.upload-progress p { margin: 8px 0 0; }

.success { text-align: center; padding: 20px 0; }
.success:focus { outline: none; }
.success__icon { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fbefe6; animation: pop .6s var(--ease); }
.success__icon svg { width: 46px; height: 46px; fill: var(--accent); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: none; opacity: 1; } }
.success h3 { font-size: 2.3rem; }
.success p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 19, 16, .94); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s var(--ease); touch-action: pan-y; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 80px 24px; }
.lightbox__stage { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .25s; }
.lightbox__stage img.is-loading { opacity: .25; }
.lightbox__caption { color: #e9e4db; text-align: center; max-width: 720px; padding: 18px 10px 0; display: grid; gap: 4px; }
.lightbox__title { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: #fff; }
.lightbox__text { font-size: .98rem; color: #cfcbc1; white-space: pre-line; }
.lightbox__meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #e7b993; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close { top: 16px; right: 16px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; z-index: 2; }
.lightbox__nav { top: 50%; width: 56px; height: 56px; margin-top: -28px; font-size: 2.4rem; line-height: 1; z-index: 2; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 700px) {
  .lightbox__figure { padding: 64px 10px 18px; }
  .lightbox__nav { top: auto; bottom: 16px; width: 46px; height: 46px; margin: 0; font-size: 1.9rem; }
  .lightbox__caption { padding-bottom: 60px; }
  .lightbox__title { font-size: 1.35rem; }
}
body.no-scroll { overflow: hidden; }

/* Documents */
.page-doc main { padding-top: 8px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.back { display: inline-block; margin-bottom: 28px; font-size: .92rem; text-decoration: none; color: var(--muted); }
.prose { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.prose h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .6em; }
.prose h3 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.15rem; margin: 1.4em 0 .4em; font-family: var(--sans); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose em { color: var(--muted); }
.doc__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; padding: 22px 26px; }
.doc__facts span { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc__operator { margin-top: 20px; }
.doc__version { font-size: .85rem; color: var(--muted); margin-top: 18px; }
.form { display: grid; gap: 18px; }

/* Footer */
.site-footer { background: #1a2420; color: #bdbbb1; padding: 70px 0 30px; font-size: .94rem; }
.site-footer a { color: #e9e4db; text-decoration: none; }
.site-footer a:hover { color: #e7b993; }
.site-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__name { font-family: var(--serif); font-size: 2rem; color: #fbf6ef; margin-bottom: 8px; }
.site-footer__brand p { max-width: 380px; }
.site-footer__links { display: grid; gap: 10px; justify-items: start; align-content: start; }
.site-footer__bottom { padding-top: 24px; font-size: .82rem; color: #8b8d84; }
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Oddelené stránky: čistá galéria a čistý formulár ===== */
.masthead { padding: clamp(34px, 6vw, 64px) 0 clamp(22px, 4vw, 40px); text-align: center; }
.masthead__inner { display: flex; flex-direction: column; align-items: center; }
.masthead .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); }
.masthead .brand__mark { width: 30px; height: 30px; color: var(--accent); }
.masthead .brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .03em; }
.masthead__title { font-size: clamp(2.8rem, 7vw, 5rem); margin: 22px 0 6px; line-height: 1; }
.masthead__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--accent); margin: 0; }
.gallery-page { padding: 0 0 clamp(50px, 8vw, 90px); }
.gallery-empty { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 460px; margin: 40px auto; }
.gallery-more { min-height: 60px; display: flex; justify-content: center; align-items: center; margin-top: 30px; flex-direction: column; }
.gallery-loader { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--sand-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.upload-section--page { padding-top: 0; background: none; }
.upload-section--page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-upload, .page-doc { background: linear-gradient(to bottom, var(--sand), var(--sand-2)) fixed; }
.site-footer--min { background: none; color: var(--muted); padding: 10px 0 34px; text-align: center; font-size: .8rem; }
.page-doc .doc { padding-top: 0; }

/* ===== Vloženie cez iframe (?embed=1) ===== */
body.is-embed { background: transparent; }
.is-embed .gallery-page { padding: 4px 0 8px; }
.is-embed .wrap { width: 100%; }
.is-embed .gallery-more { min-height: 0; margin-top: 16px; }
html.is-autoheight, html.is-autoheight body { overflow: hidden; }

/* ===== Návrh A: Polaroidová stena ===== */
:root { --hand: "Caveat", "Bradley Hand", "Segoe Print", "Comic Neue", cursive; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 40px 28px; padding: 22px 8px 6px; }
.pol { position: relative; margin: 0; background: #fffefb; padding: 10px 10px 14px; border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 18px 30px -18px rgba(34, 48, 42, .5); transform: rotate(var(--r, 0deg)); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pol:hover, .pol:focus-within { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 30px 46px -20px rgba(34, 48, 42, .55); z-index: 2; }
.pol .g-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 1px; background: var(--sand-2); cursor: zoom-in; }
.pol .g-item img { width: 100%; height: 100%; object-fit: cover; }
.pol__tape { position: absolute; top: -11px; left: 50%; width: 82px; height: 24px; transform: translateX(-50%) rotate(var(--t, -3deg)); background: rgba(232, 214, 186, .8); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); z-index: 1; }
.pol figcaption { display: grid; gap: 2px; margin-top: 10px; text-align: center; }
.pol__cap { font: 600 1.4rem/1.15 var(--hand); color: #3a3b36; overflow-wrap: anywhere; }
.pol__who { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.pol.is-new { animation: polIn .6s var(--ease) both; }
@keyframes polIn { from { opacity: 0; transform: rotate(var(--r, 0deg)) translateY(14px); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@media (max-width: 520px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; padding: 18px 2px 4px; }
  .pol { padding: 6px 6px 9px; }
  .pol__tape { width: 54px; height: 18px; top: -8px; }
  .pol__cap { font-size: 1.12rem; }
  .pol__who { font-size: .64rem; }
}

/* ===== Nový zväčšený náhľad ===== */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); opacity: 0; transition: opacity .3s var(--ease); overflow: hidden; }
.lb.is-open { opacity: 1; }
.lb__bg { position: absolute; inset: -40px; background-color: #141b17; background-size: cover; background-position: center; filter: blur(34px) saturate(1.1); transform: scale(1.1); }
.lb__bg::after { content: ""; position: absolute; inset: 0; background: rgba(14, 19, 16, .72); }
.lb__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; max-width: 1100px; width: 100%; max-height: 100%; border-radius: 18px; overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.lb__img { background: #0e1310; display: grid; place-items: center; min-height: 0; }
.lb__img img { max-height: 80vh; max-width: 100%; width: auto; object-fit: contain; transition: opacity .25s; }
.lb__img img.is-loading { opacity: .3; }
.lb__side { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lb__eyebrow { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.lb__title { font: 500 1.9rem/1.1 var(--serif); color: var(--forest); margin: 0; overflow-wrap: anywhere; }
.lb__text { margin: 0; color: #4a4f49; font: italic 400 1.15rem/1.45 var(--serif); white-space: pre-line; overflow-wrap: anywhere; }
.lb__who { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.lb__btn { position: absolute; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s; }
.lb__btn:hover { background: rgba(255, 255, 255, .26); }
.lb__close { top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
.lb__prev { left: max(14px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -23px; }
.lb__next { right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; margin-top: -23px; }
@media (max-width: 820px) {
  .lb__box { grid-template-columns: 1fr; border-radius: 14px; }
  .lb__img img { max-height: 58vh; }
  .lb__side { padding: 16px 18px 18px; gap: 6px; }
  .lb__title { font-size: 1.45rem; }
  .lb__text { font-size: 1.02rem; }
  .lb__prev, .lb__next { top: auto; bottom: max(14px, env(safe-area-inset-bottom, 0px)); margin: 0; }
}

/* ===== Stránka /pridat/: iba formulár ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.upload-section--page { padding: clamp(16px, 4vw, 48px) 0 clamp(24px, 5vw, 56px); }
/* rovnako vysoké polia vedľa seba */
.grid-2 { align-items: start; }
.field { align-content: start; }
.field__label i { font-weight: 400; color: var(--muted); font-style: normal; }

/* Popis polaroidu: mená, chatka a mesiac – každé na samostatnom riadku */
.pol figcaption { gap: 1px; }
.pol__who { font-size: .76rem; color: #4a4f49; letter-spacing: .02em; margin-top: 2px; }
.pol__meta { font-size: .7rem; color: var(--muted); letter-spacing: .06em; line-height: 1.35; }
@media (max-width: 520px) { .pol__who { font-size: .66rem; } .pol__meta { font-size: .62rem; } }

/* Vzdušnejší popis polaroidu */
.pol { padding-bottom: 18px; }
.pol figcaption { margin-top: 14px; gap: 0; justify-items: center; }
.pol__cap { margin-bottom: 4px; }
.pol__who { font-size: .82rem; color: #3f443f; letter-spacing: .01em; margin-top: 2px; }
.pol__stay { display: grid; gap: 3px; justify-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(34, 48, 42, .1); width: min(78%, 180px); }
.pol__cabin { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pol__month { font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) {
  .pol { padding-bottom: 12px; }
  .pol figcaption { margin-top: 10px; }
  .pol__who { font-size: .7rem; }
  .pol__stay { margin-top: 8px; padding-top: 7px; width: 86%; }
  .pol__cabin { font-size: .56rem; letter-spacing: .12em; }
  .pol__month { font-size: .66rem; }
}
/* Zväčšený náhľad: chatka a pod ňou mesiac */
.lb__eyebrow { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.lb__eyebrow span + span { color: var(--muted); font-weight: 600; }
.lb__title { margin-top: 6px; }
