/* Penzión Pod Lomnicou — site theme (warm alpine). Sales layer lives in sales.css. */
:root {
  --pine: #1e3a2b;
  --pine-2: #2c5440;
  --pine-soft: #e3ebe2;
  --cream: #f6efe2;
  --paper: #fffaf1;
  --timber: #7a4a28;
  --timber-2: #5c3519;
  --honey: #d9a441;
  --ink: #26221d;
  --muted: #5b5248;
  --line: #e2d6c2;
  --radius: 14px;
  --shadow: 0 10px 30px rgb(52 36 18 / 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--timber); text-underline-offset: 3px; }
a:hover { color: var(--timber-2); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--pine); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.eyebrow { font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--timber); margin-bottom: 0.75rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--pine); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-block; padding: 0.8em 1.4em; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--honey); color: #2a1c06; }
.btn-primary:hover { background: #e6b65a; color: #2a1c06; }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-2); color: #fff; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); margin-right: auto; min-width: 0; }
.brand svg { flex: none; }
.brand-name { font: 600 1.3rem/1.05 var(--serif); }
.brand-name small { display: block; font: 500 0.72rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--timber); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--pine-soft); color: var(--pine); }
.nav a[aria-current="page"] { background: var(--pine); color: #fff; }
.nav-toggle { display: none; }

.lang { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; font-size: 0.85rem; }
.lang-btn { display: inline-block; padding: 5px 9px; border-radius: 999px; font: 600 0.8rem/1 var(--sans); color: var(--muted); text-decoration: none; }
.lang-btn:hover { background: var(--pine-soft); color: var(--pine); }
.lang-btn[aria-current="true"] { background: var(--pine); color: #fff; }
.lang-sep { color: var(--line); }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; min-height: 68px; padding-block: 8px; gap: 10px; }
  .brand-name { font-size: 1.15rem; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 6px; order: 3; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font: 600 0.9rem/1 var(--sans); color: var(--pine); cursor: pointer; }
  .nav { order: 4; width: 100%; }
  .lang { order: 2; }
  .js .nav { width: auto; order: 3; }
  .js .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; flex-direction: column; box-shadow: var(--shadow); z-index: 10; }
  .js .nav.open ul { display: flex; }
  .nav a { padding: 10px 14px; }
}
@media (max-width: 400px) {
  .brand-name small { display: none; }
  .brand svg { width: 34px; height: 34px; }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: min(78vh, 680px); display: grid; align-items: end; overflow: hidden; background: #141c24; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 16 22 / 0.15) 0%, rgb(10 16 22 / 0.25) 45%, rgb(14 24 18 / 0.85) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: 120px 56px; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 20px rgb(0 0 0 / 0.35); }
.hero p { font-size: 1.2rem; max-width: 46ch; color: #f1ece2; }
.hero p.eyebrow, .page-hero p.eyebrow { max-width: none; font-size: 0.8rem; }
.hero .eyebrow { color: var(--honey); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--pine); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero-inner { position: relative; padding-block: 88px 48px; }
.page-hero h1 { color: #fff; text-shadow: 0 2px 16px rgb(0 0 0 / 0.4); }
.page-hero p { color: #f3eee4; max-width: 55ch; font-size: 1.15rem; text-shadow: 0 1px 8px rgb(0 0 0 / 0.5); }
.page-hero .eyebrow { color: var(--honey); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-paper { background: var(--paper); }
.section-pine { background: var(--pine); color: #e9eee6; }
.section-pine h2, .section-pine h3 { color: #fff; }
.section-pine .eyebrow { color: var(--honey); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }

.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 rgb(122 74 40 / 0.06); display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; }
.card-body p:last-child { margin-bottom: 0; }

.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.stack-img { position: relative; }
.stack-img .badge { position: absolute; left: -10px; bottom: 18px; background: var(--honey); color: #2a1c06; font: 600 0.9rem/1.3 var(--sans); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); max-width: 220px; }
@media (max-width: 500px) { .stack-img .badge { left: 10px; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 0.45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 9px; border-left: 3px solid var(--pine-2); border-bottom: 3px solid var(--pine-2); transform: rotate(-45deg); }

/* Guests carousel */
.guests .tf-carousel { box-shadow: var(--shadow); max-width: 980px; margin-inline: auto; }
.guests .tf-carousel figcaption { font-family: var(--serif); font-size: clamp(1.05rem, 2.4vw, 1.4rem); line-height: 1.35; padding-inline: clamp(20px, 6vw, 64px); }
.guests .tf-carousel figcaption small { font-family: var(--sans); }
@media (max-width: 600px) { .guests .tf-carousel { aspect-ratio: 4 / 5; } .guests .tf-carousel .tf-prev, .guests .tf-carousel .tf-next { top: 38%; } }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-poster { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-poster:hover img { transform: scale(1.03); }
.video-poster:focus-visible { outline: 4px solid var(--honey); outline-offset: -4px; }
.video-poster .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; background: rgb(255 250 241 / 0.92); display: grid; place-items: center; box-shadow: 0 8px 30px rgb(0 0 0 / 0.35); }
.video-poster .play svg { margin-left: 5px; }
.video-poster .vlabel { position: absolute; left: 16px; bottom: 14px; right: 16px; color: #fff; font-weight: 600; text-shadow: 0 1px 6px rgb(0 0 0 / 0.7); font-size: 0.95rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fine { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }
.section-pine .fine { color: #c5d2c4; }
.video-block { padding-top: 8px; }

/* CTA (Tatry Fab) */
.tf-cta { display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: center; background: var(--paper); border: 2px dashed var(--timber); border-radius: var(--radius); padding: 28px clamp(20px, 4vw, 40px); }
.tf-cta h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.tf-cta p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .tf-cta { grid-template-columns: 1fr; } }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.facts strong { display: block; font-family: var(--serif); color: var(--pine); font-size: 1.15rem; }

/* Rooms */
.room { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: center; padding-block: 36px; border-bottom: 1px solid var(--line); }
.room:last-child { border-bottom: 0; }
.room:nth-child(even) .room-media { order: 2; }
@media (max-width: 760px) { .room:nth-child(even) .room-media { order: 0; } }
.room-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.specs li { background: var(--pine-soft); color: var(--pine); border-radius: 999px; padding: 4px 12px; font-size: 0.88rem; font-weight: 600; }
.rate { font-weight: 600; color: var(--timber-2); }

/* "Ask about your dates" box */
.ask { max-width: 720px; }

/* Forms */
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #cdbfa8; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(217 164 65 / 0.55); outline-offset: 0; border-color: var(--timber); }

/* Area guide */
.place { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.place .dist { grid-row: span 2; align-self: start; min-width: 72px; text-align: center; background: var(--pine); color: #fff; border-radius: 10px; padding: 8px 6px; font: 600 0.8rem/1.25 var(--sans); }
.place .dist b { display: block; font: 600 1.2rem/1.1 var(--serif); }
.place h3 { margin: 0; font-size: 1.15rem; }
.place p { margin: 0; color: var(--muted); }

/* Blog */
.blog-list { padding-top: 64px; }
.post-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.post-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.post-card .card-body { padding: clamp(20px, 4vw, 36px); align-self: center; }
.post-card h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.meta { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.8rem; }
.article { padding-block: 48px 72px; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article figure { margin: 0 0 2rem; }
.article figure img { border-radius: var(--radius); }
.article figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.article ol, .article ul { padding-left: 1.3em; }
.article li { margin-bottom: 0.5em; }
.callout { background: var(--pine-soft); border-left: 4px solid var(--pine-2); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 1.5em 0; }
.post-head { position: relative; padding-top: 56px; }
.back { display: inline-block; margin-bottom: 1rem; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); }
.map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #e8efe4; }
.map svg { display: block; width: 100%; height: auto; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--timber); }

/* Footer */
.site-footer { background: #17291f; color: #d7dfd3; padding-top: 56px; font-size: 0.95rem; }
.site-footer a { color: #f0d9a8; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 0.8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand-name small { color: var(--honey); }
.machine { margin: 36px 0 0; padding: 18px 20px; padding-right: 20px; border: 1px solid #355241; border-radius: 12px; background: #1d3328; }
.machine p { margin: 0; max-width: 70ch; }
.machine strong { color: #fff; }
@media (max-width: 700px) { .machine { padding-top: 52px; } }
.foot-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 12px; background: #24402f; }
.foot-cta p { margin: 0; }
.foot-cta strong { color: #fff; }
.credits { margin-top: 28px; font-size: 0.82rem; color: #aebaa9; line-height: 1.7; }
.credits a { color: #d2c3a0; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2f4a3a; margin-top: 24px; padding-block: 18px 26px; font-size: 0.85rem; color: #aebaa9; }
.peak { color: #6f8f7c; display: inline-flex; }
.peak:hover { color: var(--honey); }
/* Keep footer link colour off the sales pill and the CTA button. */
.site-footer a.tf-addon { color: #1a1a1a; }
.site-footer a.btn-primary, .site-footer a.btn-primary:hover { color: #2a1c06; }
@media (max-width: 400px) {
  .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .nav-toggle { padding: 9px 11px; }
  .header-inner { gap: 8px; }
}
