/* ==========================================================================
   pronajem.ivetasmolkova.cz — statický stylesheet
   Brand: Iveta Smolková, zlatá #b29f4b, fonty Montserrat (Google) +
   robustní system fallback — funguje i offline / přes file://
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Montserrat+Alternates:wght@600;700;800&display=swap');

/* --- RESET ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; line-height: 1.5; scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.55; color: #0f172a; background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: 'Montserrat Alternates', 'Montserrat', system-ui, sans-serif; line-height: 1.15; }
strong, b { font-weight: 700; }

:root {
  --brand-50:  #faf8ee;
  --brand-100: #f3eed8;
  --brand-200: #e8dfb1;
  --brand-300: #d8c987;
  --brand-400: #c4b06b;
  --brand-500: #b29f4b;
  --brand-600: #9d8a40;
  --brand-700: #7e6e35;
  --brand-800: #5f532b;
  --brand-900: #4d4321;
  --ink-700: #334155;
  --ink-800: #1e293b;
  --ink-900: #0f172a;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* --- LAYOUT --------------------------------------------------------------- */
.max-w-content { max-width: 72rem; margin-inline: auto; }
.max-w-3xl { max-width: 48rem; margin-inline: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-md  { max-width: 28rem; }
.max-w-prose { max-width: 65ch; }
.mx-auto { margin-inline: auto; }
.min-h-screen { min-height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { inset: 0; }
.-top-32 { top: -8rem; }
.-bottom-32 { bottom: -8rem; }
.-left-32 { left: -8rem; }
.-right-32 { right: -8rem; }
.z-40 { z-index: 40; }

.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.place-items-center { place-items: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }

.gap-2 { gap: .5rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: .5rem; }
.space-y-1\.5 > * + * { margin-top: .375rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-2\.5 > * + * { margin-top: .625rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* widths */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\.5 { width: .375rem; }
.w-4 { width: 1rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-96 { width: 24rem; }
.h-1\.5 { height: .375rem; }
.h-4 { height: 1rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

/* padding */
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-9 { padding: 2.25rem; }
.p-10 { padding: 2.5rem; }
.px-1\.5 { padding-inline: .375rem; }
.px-3 { padding-inline: .75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.px-7 { padding-inline: 1.75rem; }
.px-8 { padding-inline: 2rem; }
.py-0\.5 { padding-block: .125rem; }
.py-1\.5 { padding-block: .375rem; }
.py-2 { padding-block: .5rem; }
.py-2\.5 { padding-block: .625rem; }
.py-3 { padding-block: .75rem; }
.py-3\.5 { padding-block: .875rem; }
.py-4 { padding-block: 1rem; }
.py-5 { padding-block: 1.25rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.py-24 { padding-block: 6rem; }
.pb-2\.5 { padding-bottom: .625rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pl-0 { padding-left: 0; }
.pr-14 { padding-right: 3.5rem; }

/* margin */
.mt-1 { margin-top: .25rem; }
.mt-1\.5 { margin-top: .375rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-24 { margin-top: 6rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-1\.5 { margin-bottom: .375rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-9 { margin-bottom: 2.25rem; }
.mb-3\.5 { margin-bottom: .875rem; }

/* typography */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.4; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; line-height: 1.55; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }
.text-4xl { font-size: 2.25rem; line-height: 1.15; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.05; }
.text-\[60px\] { font-size: 60px; }
.text-7xl { font-size: 4.5rem; line-height: 1.05; }
.font-sans { font-family: 'Montserrat', system-ui, -apple-system, sans-serif; }
.font-display { font-family: 'Montserrat Alternates', 'Montserrat', system-ui, sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-\[1\.1\] { line-height: 1.1; }
.whitespace-nowrap { white-space: nowrap; }
.font-feature-settings { font-feature-settings: "ss01", "cv11"; }

/* colors — backgrounds */
.bg-white { background-color: #fff; }
.bg-transparent { background-color: transparent; }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-100 { background-color: var(--slate-100); }
.bg-slate-200 { background-color: var(--slate-200); }
.bg-slate-800 { background-color: var(--slate-800); }
.bg-brand-50 { background-color: var(--brand-50); }
.bg-brand-100 { background-color: var(--brand-100); }
.bg-brand-500 { background-color: var(--brand-500); }
.bg-ink-900, .bg-ink { background-color: var(--ink-900); }
.bg-white\/90 { background-color: rgba(255,255,255,0.9); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }

/* gradients */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-from), var(--tw-via, var(--tw-from)), var(--tw-to)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-from), var(--tw-via, var(--tw-from)), var(--tw-to)); }
.from-brand-50 { --tw-from: var(--brand-50); }
.from-white { --tw-from: #fff; }
.from-brand-700\/40 { --tw-from: rgba(126,110,53,0.4); }
.via-white { --tw-via: #fff; }
.via-ink-900, .via-ink { --tw-via: var(--ink-900); }
.to-white { --tw-to: #fff; }
.to-slate-50 { --tw-to: var(--slate-50); }
.to-ink-900, .to-ink { --tw-to: var(--ink-900); }

/* colors — text */
.text-white { color: #fff; }
.text-slate-300 { color: var(--slate-300); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-ink-900, .text-ink { color: var(--ink-900); }
.text-brand-400 { color: var(--brand-400); }
.text-brand-500 { color: var(--brand-500); }
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-brand-800 { color: var(--brand-800); }

/* colors — borders */
.border { border-width: 1px; border-style: solid; border-color: var(--slate-200); }
.border-0 { border-width: 0; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--slate-200); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--slate-100); }
.border-l { border-left-width: 1px; }
.border-slate-100 { border-color: var(--slate-100); }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-300 { border-color: var(--slate-300); }
.border-slate-800 { border-color: var(--slate-800); }
.border-brand-200 { border-color: var(--brand-200); }
.border-brand-300 { border-color: var(--brand-300); }
.border-brand-400 { border-color: var(--brand-400); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }

/* radius */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-soft { box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-lift { box-shadow: 0 4px 12px rgba(15,23,42,0.06), 0 12px 32px rgba(15,23,42,0.06); }
.shadow-brand { box-shadow: 0 10px 25px -5px rgba(178,159,75,0.25); }
.shadow-brand-500\/25 { box-shadow: 0 10px 25px -5px rgba(178,159,75,0.25); }

/* effects */
.overflow-hidden { overflow: hidden; }
.transition, .transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.duration-500 { transition-duration: 0.5s; }
.backdrop-blur { backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px); }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.brightness-0.invert, .brightness-0 .invert { filter: brightness(0) invert(1); }
.invert.brightness-0 { filter: invert(1) brightness(0); }

/* — combine brightness-0 + invert (Tailwind chains them, we apply directly) */
img.brightness-0.invert { filter: brightness(0) invert(1); }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:shadow-none:disabled { box-shadow: none; }

/* misc */
.list-none { list-style: none; }
.outline-none { outline: 0; }
.appearance-none { appearance: none; -webkit-appearance: none; }
.text-decoration-line { text-decoration-line: underline; }
.underline { text-decoration: underline; }
.hover\:underline:hover { text-decoration: underline; }
.tabular-nums { font-variant-numeric: tabular-nums; }

/* animation */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* blur */
.blur-3xl { filter: blur(64px); }

/* prose-like reset */
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; background: var(--slate-100); padding: 0.125rem 0.375rem; border-radius: 0.25rem; }

/* --- HOVER STATES --------------------------------------------------------- */
.hover\:bg-slate-50:hover { background-color: var(--slate-50); }
.hover\:bg-brand-50:hover { background-color: var(--brand-50); }
.hover\:bg-brand-600:hover { background-color: var(--brand-600); }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:border-brand:hover { border-color: var(--brand-500); }
.hover\:border-brand-200:hover { border-color: var(--brand-200); }
.hover\:border-brand-400:hover { border-color: var(--brand-400); }
.hover\:text-brand-400:hover { color: var(--brand-400); }
.hover\:text-brand-500:hover { color: var(--brand-500); }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-brand-700:hover { color: var(--brand-700); }
.hover\:shadow-brand:hover { box-shadow: 0 10px 25px -5px rgba(178,159,75,0.25); }
.hover\:scale-105:hover { transform: scale(1.05); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* --- FOCUS STATES --------------------------------------------------------- */
.focus\:border-brand-500:focus { border-color: var(--brand-500); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(178,159,75,0.2); }
.focus\:ring-brand-500\/20:focus { box-shadow: 0 0 0 2px rgba(178,159,75,0.2); }
.focus\:ring-brand:focus { box-shadow: 0 0 0 2px rgba(178,159,75,0.4); }

/* --- DETAILS / FAQ -------------------------------------------------------- */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
.open\:border-brand-300[open] { border-color: var(--brand-300); }
.open\:shadow-soft[open] { box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04); }
.group[open] .group-open\:bg-brand-500 { background-color: var(--brand-500); }
.group[open] .group-open\:text-white { color: #fff; }
.group[open] .group-open\:rotate-45 { transform: rotate(45deg); }

/* --- COMPONENT: option button (quiz) -------------------------------------- */
.opt {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  transition: all 0.15s ease;
  cursor: pointer;
  display: block;
  font-family: inherit;
}
.opt:hover { border-color: var(--brand-400); background: var(--brand-50); }
.opt.selected { border-color: var(--brand-500); background: var(--brand-500); color: #fff; }
[data-name="dispozice"] .opt { text-align: center; padding: 12px 8px; }

/* --- RESPONSIVE: sm (640px) ----------------------------------------------- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-6 { padding-inline: 1.5rem; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- RESPONSIVE: md (768px) ----------------------------------------------- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:py-28 { padding-block: 7rem; }
  .md\:py-24 { padding-block: 6rem; }
  .md\:p-9 { padding: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 1.15; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.4; }
}

/* --- RESPONSIVE: lg (1024px) ---------------------------------------------- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:px-8 { padding-inline: 2rem; }
  .lg\:py-20 { padding-block: 5rem; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:text-\[60px\] { font-size: 60px; line-height: 1.05; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .lg\:py-24 { padding-block: 6rem; }
  .lg\:py-28 { padding-block: 7rem; }
}

/* --- UTILITIES (extras) --------------------------------------------------- */
.tabular-nums { font-variant-numeric: tabular-nums; }
.no-underline { text-decoration: none; }
.list-style-none { list-style: none; }
[hidden] { display: none !important; }
.overflow-hidden { overflow: hidden; }

/* fix: img.brightness-0.invert combined */
.brightness-0 { filter: brightness(0); }
img[class*="brightness-0"][class*="invert"] { filter: brightness(0) invert(1); }
