/* montaz-rolet.cz
   Signature: lamela. Stránku dělí vodorovné lamelové rastry, hero má přes fotku
   světelný filtr jako pruhy světla přes žaluzii. Vnitřní a vnější stínění se liší
   barvou kickeru — venkovní je to, co zastaví teplo, a má tedy jantarovou (slunce). */

:root {
  --ivory: #fbf8f1;
  --ivory-2: #f2ede2;
  --shade: #2a3138;
  --shade-2: #363f48;
  --amber: #d98e2b;
  --sky: #47738c;
  --ink: #23282d;
  --ink-soft: #5d6670;
  --line: #ded7c8;

  --r: 3px;
  --maxw: 1160px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Karla', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: 750px; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* lamelový raster — základní motiv značky.
   Značka má lamely jemné a husté; tři tlusté čáry by četl každý jako menu. */
.brand-slats {
  background-image: repeating-linear-gradient(
    180deg,
    rgba(35, 40, 45, 0.95) 0 2px,
    rgba(35, 40, 45, 0) 2px 4px
  );
}
.footer-slats,
.hero-slats {
  background-image: repeating-linear-gradient(
    180deg,
    rgba(35, 40, 45, 0.92) 0 3px,
    rgba(35, 40, 45, 0) 3px 7px
  );
}

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font-family: 'Outfit', sans-serif; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand-text { font-weight: 600; }
.brand-text strong { font-weight: 800; }
.brand-slats { width: 26px; height: 26px; border-radius: 2px; flex: 0 0 auto; }
.header-nav { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.2rem); }
.header-tel {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.04rem;
  text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.4rem;
}
.header-tel:hover { color: var(--amber); }
@media (max-width: 560px) {
  .header-nav .btn-sm { display: none; }
  .header-tel { font-size: 1.08rem; }
}

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.6rem;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.btn-primary { background: var(--amber); color: #23282d; }
.btn-primary:hover { background: #c37c1f; }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 1.05rem; font-size: 0.94rem; }
.btn-block { width: 100%; }

/* ── hero ─────────────────────────────────────────────── */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* dost tmy na čitelný text, ale ne tolik, aby fotka zmizela */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 35, 40, 0.87) 0%, rgba(30, 35, 40, 0.6) 55%, rgba(30, 35, 40, 0.2) 100%);
}
/* pruhy světla přes lamely — signature prvek */
.hero-slats {
  position: absolute; inset: 0; opacity: 0.42; mix-blend-mode: multiply;
}
.hero-inner { padding: clamp(3.5rem, 11vw, 8rem) 0 clamp(3rem, 8vw, 6rem); max-width: 44rem; }
.eyebrow {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.hero h1 { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.24rem); color: #ddd8cd; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

/* ── strip ────────────────────────────────────────────── */
.strip { background: var(--shade-2); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 1.5rem; padding: 1.4rem 0; }
@media (min-width: 780px) { .strip-inner { grid-template-columns: repeat(4, 1fr); } }
.strip-inner div { display: flex; flex-direction: column; padding: 0.45rem 0; }
.strip-inner strong { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.02rem; }
.strip-inner span { font-size: 0.88rem; color: #b3bac2; }

/* ── sections ─────────────────────────────────────────── */
.section { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.section-lead { color: var(--ink-soft); max-width: 66ch; margin-bottom: 2.2rem; }
.section-dark { background: var(--shade); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: #c3c9d0; }

/* ── cards ────────────────────────────────────────────── */
.cards { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.45rem 1.35rem 1.5rem;
  border-top: 4px solid var(--sky);
}
.card-out { border-top-color: var(--amber); }
.card-kicker {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sky); margin: 0 0 0.5rem;
}
.card-out .card-kicker { color: #b5741f; }
.card h3 { margin-bottom: 0.45rem; }
.card p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.note { font-size: 0.92rem; color: var(--ink-soft); margin-top: 1.4rem; }

/* ── steps ────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.7rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; } }
.steps li { padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.step-num {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.8rem;
  color: var(--shade); background: var(--amber);
  width: 26px; height: 26px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; font-size: 0.96rem; color: #c3c9d0; }

/* ── pricing ──────────────────────────────────────────── */
.pricing { width: 100%; border-collapse: collapse; font-size: 1rem; }
.pricing th, .pricing td { text-align: left; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); }
.pricing th {
  font-family: 'Outfit', sans-serif; font-size: 0.76rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--amber);
}
.pricing td:last-child, .pricing th:last-child { text-align: right; white-space: nowrap; }
.pricing tbody tr:hover { background: var(--ivory-2); }

/* ── form ─────────────────────────────────────────────── */
.form-section { background: var(--ivory-2); padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.form-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); }
@media (min-width: 900px) { .form-grid { grid-template-columns: 0.92fr 1.08fr; align-items: start; } }
.form-intro p { color: var(--ink-soft); max-width: 38ch; }
.form-media { margin: 0; }
.form-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); margin-top: 1.4rem;
}
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 2rem); }
.row2 { display: grid; gap: 0.7rem; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form-wrap input[type="text"],
.form-wrap input[type="tel"],
.form-wrap input[type="email"],
.form-wrap select,
.form-wrap textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; margin-bottom: 0.7rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: var(--r);
}
.form-wrap textarea { min-height: 116px; resize: vertical; }
.form-wrap input:focus, .form-wrap select:focus, .form-wrap textarea:focus { border-color: var(--amber); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); margin: 0.4rem 0 1rem; }
.consent input { margin-top: 0.25rem; width: 18px; height: 18px; flex: 0 0 auto; }
.form-success { font-weight: 500; line-height: 1.5; }

/* ── faq ──────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ── footer ───────────────────────────────────────────── */
.site-footer { background: var(--shade); color: #b3bac2; padding: 2.6rem 0; font-size: 0.92rem; }
.site-footer > .container > div { margin-bottom: 0.6rem; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; }
.footer-slats { height: 22px; opacity: 0.5; margin-bottom: 1.6rem; filter: invert(1); }
.footer-fine { font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
