/* Apartmaji Paula – oblika (mobile first) */
:root {
  --brand: #c71d22;
  --brand-dark: #9c1519;
  --ink: #1e2227;
  --muted: #5d6671;
  --bg: #fbf8f4;
  --card: #ffffff;
  --line: #e9e2d9;
  --forest: #22362d;
  --forest-2: #2e473c;
  --sand: #f3ece3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(30, 34, 39, .06), 0 8px 24px rgba(30, 34, 39, .08);
  --shadow-lg: 0 2px 4px rgba(30, 34, 39, .06), 0 18px 44px rgba(30, 34, 39, .16);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --wrap: 1140px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: var(--bg); overflow-x: clip; }
.hero-grid, .split, .cta-in, .apt-grid, .contact-grid, .foot-grid, .apt-lists, .plans, .facts, .strip, .maps-2 { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .split > *, .cta-in > *, .apt-grid > *, .contact-grid > *, .foot-grid > *, .apt-lists > * { min-width: 0; }
h1, h2, h3, .lead { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #1b6ef3; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; z-index: 200; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 28px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: #3b434c; }
.ico { flex: none; width: 1.35em; height: 1.35em; }

/* ---------- gumbi ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font: 600 1rem/1.2 var(--font);
       text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9bfb2; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--sand); color: var(--brand-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline:hover { border-color: #fff; color: #fff; }

/* ---------- glava ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px);
               border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand img { height: 40px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line);
              border-radius: 12px; background: #fff; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
#site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
            padding: 8px 20px 20px; box-shadow: 0 20px 30px rgba(0, 0, 0, .08); max-height: calc(100vh - var(--header-h)); overflow: auto; }
.nav-open #site-nav { display: block; }
.menu { list-style: none; }
.menu a { display: block; padding: 14px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a[aria-current="page"] { color: var(--brand); }
.langs { list-style: none; display: flex; gap: 8px; margin-top: 16px; }
.langs a { display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700;
           text-decoration: none; color: var(--muted); letter-spacing: .04em; }
.langs a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  #site-nav { display: flex !important; position: static; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .menu { display: flex; gap: 4px; }
  .menu a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: .98rem; }
  .menu a:hover { background: var(--sand); color: var(--ink); }
  .menu a[aria-current="page"] { background: #fbe9ea; }
  .langs { margin: 0; gap: 4px; }
  .langs a { border: 0; padding: 6px 9px; }
}

/* ---------- hero ---------- */
.hero { padding: 36px 0 28px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.hero h1 { margin-bottom: .4em; }
.checkin { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; margin: 22px 0 0; }
.hero-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 40px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* ---------- dejstva ---------- */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow); }
.facts .ico { color: var(--brand); margin: 0 auto 6px; width: 1.7em; height: 1.7em; }
.facts strong { display: block; font: 700 1.7rem/1.1 var(--serif); }
.facts span { display: block; font-size: .92rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ---------- sekcije ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--sand); }
.sec-head { max-width: 720px; margin: 0 0 30px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section.wrap { padding-left: 20px; padding-right: 20px; }
.intro { max-width: 860px; padding-top: 40px; padding-bottom: 8px; }
.intro .lead { margin-bottom: .8em; }
@media (min-width: 900px) { .section { padding: 84px 0; } }

/* ---------- kartice apartmajev ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column;
        transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; background: #f5f1ea; padding: 14px; }
.card-media img { width: 100%; height: 220px; object-fit: contain; }
.badge, .chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 600; }
.badge { position: absolute; left: 14px; top: 14px; box-shadow: var(--shadow); }
.badge .ico, .chip .ico { width: 1.1em; height: 1.1em; color: var(--brand); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.35rem; margin-bottom: .3em; }
.card-body .muted { font-size: .95rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px; }
.price strong { font: 700 1.35rem var(--serif); }
.price small { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more .ico { width: 1.1em; height: 1.1em; transition: transform .2s; }
.more:hover .ico { transform: translateX(4px); }

/* ---------- ugodnosti ---------- */
.amen { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.amen li { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); font-weight: 600; }
.amen .ico { color: var(--brand); width: 1.8em; height: 1.8em; }

/* ---------- galerija ---------- */
.strip { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip a { display: block; border-radius: 14px; overflow: hidden; background: #ddd; }
.strip img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.strip a:hover img { transform: scale(1.05); }
.strip-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
@media (min-width: 900px) { .strip:not(.strip-3) { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.masonry { columns: 2; column-gap: 12px; }
.masonry a { display: block; break-inside: avoid; margin: 0 0 12px; border-radius: 12px; overflow: hidden; background: #ddd; }
.masonry img { width: 100%; transition: transform .4s, opacity .3s; }
.masonry a:hover img { transform: scale(1.04); }
@media (min-width: 720px) { .masonry { columns: 3; column-gap: 16px; } .masonry a { margin-bottom: 16px; } }
@media (min-width: 1040px) { .masonry { columns: 4; } }

/* ---------- razdeljena sekcija ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split-media img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
.split-text p { color: #3b434c; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%); color: #fff; padding: 56px 0; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #d9e4de; margin: 0; }
.cta-in { display: grid; gap: 24px; align-items: center; }
.cta .btns { margin: 0; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; } }

/* ---------- notranje strani ---------- */
.page-head { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 40px 0 8px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .25em; }
.page-head .lead { max-width: 760px; color: var(--muted); margin-bottom: 24px; }
.apt-jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; padding-bottom: 4px; }
.apt-jump a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem; }
.apt-jump a:hover { border-color: var(--brand); color: var(--brand); }
.apt-detail { padding: 44px 0; border-bottom: 1px solid var(--line); }
.apt-detail:last-of-type { border-bottom: 0; }
.apt-grid { display: grid; gap: 28px; }
.apt-text h2 { margin-top: 14px; }
.apt-lists { display: grid; gap: 18px; margin: 20px 0 6px; }
.apt-lists h3 { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .6em; }
.ticks { list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 3px 0; }
.ticks .ico { color: #2c8a57; width: 1.1em; height: 1.1em; margin-top: .3em; }
.apt-price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.apt-price strong { font: 700 1.8rem var(--serif); }
.apt-media { display: grid; gap: 14px; align-content: start; }
.apt-media figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.apt-media img { width: 100%; }
figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
@media (min-width: 900px) {
  .apt-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
  .apt-detail:nth-of-type(even) .apt-media { order: -1; }
  .apt-lists { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
  .apt-lists > div:last-child { grid-column: 1 / -1; }
  .apt-lists > div:last-child .ticks { columns: 2; column-gap: 32px; }
  .apt-lists > div:last-child .ticks li { break-inside: avoid; }
}
.plans { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan a { flex: 1; display: flex; align-items: center; }
.plan img { width: 100%; max-height: 250px; object-fit: contain; }
.plan figcaption { text-align: left; margin-top: 10px; line-height: 1.35; }
.plan figcaption strong { display: block; color: var(--ink); }

/* ---------- cenik ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.prices thead th { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #faf6f0; }
.prices tbody th { font-weight: 600; }
.prices td { color: var(--muted); }
.prices .num { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.prices tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 600px) {
  .prices th, .prices td { padding: 12px 10px; }
  .prices td { font-size: .88rem; }
  .prices tbody th { font-size: .95rem; }
}
.prices tbody tr:hover { background: #fffaf3; }
.note-box { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.note-box h2, .pdfs h2 { font-size: 1.25rem; }
.warn { margin: 16px 0 0; padding: 12px 16px; background: #fff4e0; border-left: 4px solid #e6a23c; border-radius: 8px; font-size: .95rem; }
.pdfs { margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-link { text-decoration: none; color: var(--ink); padding: 9px 16px; }
.chip-link:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- vsebina besedila ---------- */
.prose { max-width: 800px; }
.prose p { color: #2f363d; }
.prose h2 { margin-top: 1.4em; }
.legal p { font-size: 1rem; }
.legal u { text-decoration: none; font-weight: 700; display: block; margin-top: .6em; }
.dl { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dl > div { display: grid; padding: 14px 22px; border-bottom: 1px solid var(--line); gap: 2px; }
.dl > div:last-child { border-bottom: 0; }
.dl dt { color: var(--muted); font-size: .9rem; }
.dl dd { margin: 0; font-weight: 600; }
@media (min-width: 720px) { .dl > div { grid-template-columns: 260px 1fr; gap: 24px; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 28px; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.info-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.info-card > .ico { color: var(--brand); width: 1.8em; height: 1.8em; margin-top: 2px; }
.info-card h2 { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 6px; }
.info-card p { margin: 0 0 .6em; }
.info-card p:last-child { margin: 0; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); }
.form label { display: block; font-weight: 600; margin: 0 0 16px; font-size: .95rem; }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; border: 1.5px solid #d6cdc1; border-radius: 12px; background: #fff; color: var(--ink); }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(199, 29, 34, .15); }
.form [aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1f7a46; } .form-status.err { color: #b3261e; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; } }
.map { position: relative; border-radius: 20px; overflow: hidden; background: #ddd; min-height: 320px; box-shadow: var(--shadow); }
.map > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; filter: brightness(.7); }
.map-ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; color: #fff; }
.map-ui p { max-width: 460px; margin: 0; font-size: .92rem; }
.map-ui a { color: #fff; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.maps-2 { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 18px; }
.maps-2 a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 640px) { .maps-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- noga ---------- */
.site-footer { background: #171c20; color: #cfd6dc; padding: 52px 0 0; }
.site-footer a { color: #e8edf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 28px; padding-bottom: 36px; }
.foot-brand { font: 700 1.2rem var(--serif); color: #fff; margin-bottom: .6em; }
.foot-h { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .12em; color: #8f9aa4; margin-bottom: .9em; }
.plain { list-style: none; } .plain li { padding: 3px 0; }
address { font-style: normal; line-height: 1.7; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #2a3137; padding-top: 18px; padding-bottom: 22px; font-size: .88rem; color: #8f9aa4; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- lightbox ---------- */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 10, 12, .95); display: flex; flex-direction: column; }
.lb[hidden] { display: none; }
.lb-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 14px; position: relative; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 6px; transition: opacity .2s; touch-action: pan-y; }
.lb-spinner { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 4px solid rgba(255, 255, 255, .25);
              border-top-color: #fff; border-radius: 50%; animation: lb-spin .8s linear infinite; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-bar { flex: none; display: flex; justify-content: space-between; gap: 12px; padding: 8px 20px 18px; color: #eee; font-size: 1rem; }
.lb-caption { font-weight: 600; } .lb-counter { color: #aab2ba; white-space: nowrap; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
          font: 30px/46px var(--font); padding: 0; cursor: pointer; text-align: center; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--brand); }
.lb-btn[hidden] { display: none; }
.lb-prev { left: 10px; top: 50%; margin-top: -24px; } .lb-next { right: 10px; top: 50%; margin-top: -24px; }
.lb-close { right: 10px; top: 10px; font-size: 34px; }

@media print {
  .site-header, .cta, .site-footer .foot-grid, .lb, .form, .map { display: none !important; }
  body { background: #fff; }
}
