/* ALUTEC – žalúzie, rolety, markízy
   Farby a písmo sa menia v :root nižšie. */

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f3f4f5;
  --c-text: #23272b;
  --c-muted: #5d656d;
  --c-line: #dfe2e5;
  --c-dark: #1f2428;
  --c-dark-2: #2b3137;
  --c-accent: #f5b800;        /* žltá – tlačidlá, plochy */
  --c-accent-dark: #d99f00;   /* žltá – hover */
  --c-on-accent: #1f2428;     /* text na žltej */
  --c-link: #8a6400;          /* tmavá žltá – odkazy a text na bielom */
  --c-link-dark: #5f4500;
  --radius: 6px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-link-dark); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--c-dark); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.5rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: #e9ecef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 40px 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 820px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--c-muted); }
.small { font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--c-link); margin-bottom: .6em; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.topbar { background: var(--c-dark); color: #cfd4d9; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 22px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: var(--c-dark); padding: 8px 0; }
.brand:hover { text-decoration: none; color: var(--c-dark); }
.brand img { height: 46px; width: auto; }
.brand-tag { font-size: .74rem; color: var(--c-muted); letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--c-text); font-weight: 500; padding: 8px 14px; border-radius: var(--radius); }
.nav a:hover { background: var(--c-bg-alt); text-decoration: none; }
.nav a.is-active { color: var(--c-link); box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-dark); margin: 4px 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--c-line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; text-align: center; border-bottom: 0; }
  .brand img { height: 38px; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--c-accent); color: var(--c-on-accent) !important;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 600; border: 2px solid var(--c-accent);
  cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--c-dark) !important; }
.btn--ghost:hover { background: var(--c-accent); color: var(--c-on-accent) !important; }
.btn--light { background: #fff; color: var(--c-dark) !important; border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff !important; }
.cta .btn--light { background: var(--c-dark); color: #fff !important; border-color: var(--c-dark); }
.cta .btn--light:hover { background: transparent; color: var(--c-dark) !important; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--c-dark); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { max-width: 680px; font-size: 1.15rem; color: #e3e7ea; }
.hero .eyebrow { color: var(--c-accent); }

.page-head { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); padding: 46px 0 34px; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { color: var(--c-muted); max-width: 820px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--c-muted); margin-bottom: 12px; }
.crumbs a { color: var(--c-muted); }

/* ---------- Sub-nav (produkty) ---------- */
.subnav { border-bottom: 1px solid var(--c-line); background: #fff; }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 14px 16px; color: var(--c-muted); font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--c-dark); text-decoration: none; }
.subnav a.is-active { color: var(--c-dark); border-bottom-color: var(--c-accent); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; color: inherit; }
.card-media { aspect-ratio: 4 / 3; background: var(--c-bg-alt); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media--contain img { object-fit: contain; padding: 10px; }
.card-body { padding: 18px 20px 20px; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--c-muted); margin: 0; font-size: .95rem; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--c-link); }

.tile { display: block; padding: 26px 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; color: var(--c-text); }
.tile:hover { border-color: var(--c-accent); text-decoration: none; color: var(--c-text); box-shadow: var(--shadow); }
.tile h3 { color: var(--c-dark); margin-bottom: .3em; }
.tile p { color: var(--c-muted); margin: 0; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: .9rem; color: var(--c-muted); margin-top: 8px; }
.framed { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 10px; background: #fff; }

.feature { padding: 26px 0; border-top: 1px solid var(--c-line); }
.feature:first-child { border-top: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--c-bg-alt); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery--contain img { object-fit: contain; background: #fff; }
.gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .2s; }
.gallery a:hover .cap { opacity: 1; }

.lightbox { position: fixed; inset: 0; background: rgba(10,12,14,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 40px 60px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: 4px; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #dfe3e6; margin-top: 12px; font-size: .95rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 28px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 48px; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- CTA ---------- */
.cta { background: var(--c-accent); color: var(--c-on-accent); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta h2 { color: var(--c-on-accent); margin-bottom: .2em; }
.cta p { margin: 0; color: #3a3320; }
.cta-contacts { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; font-size: 1.15rem; }
.cta-contacts a { color: var(--c-on-accent); }

.badge { display: inline-block; background: #fff4cc; color: var(--c-link-dark); font-weight: 600; font-size: .85rem; padding: 4px 10px; border-radius: 99px; }

/* ---------- Info list / contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--c-line); display: flex; gap: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list strong { min-width: 110px; color: var(--c-dark); font-weight: 600; }
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); background: var(--c-bg-alt); }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--c-dark); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid #c9ced3; border-radius: var(--radius); font: inherit; font-size: 1rem; background: #fff; color: var(--c-text);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--c-accent); outline-offset: 0; border-color: var(--c-accent); }
.form textarea { min-height: 140px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks label, .consent label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.consent { font-size: .9rem; color: var(--c-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--c-muted); }
.alert { padding: 14px 16px; border-radius: var(--radius); background: #e8f5ec; color: #1d5b2f; border: 1px solid #bfe3c9; }
.alert--err { background: #fdecec; color: #8a1f1f; border-color: #f3c3c3; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.partners a { display: flex; align-items: center; justify-content: center; min-height: 86px; border: 1px solid var(--c-line); border-radius: var(--radius); font-weight: 600; color: var(--c-dark); background: #fff; text-align: center; padding: 10px; }
.partners a:hover { border-color: var(--c-accent); color: var(--c-link); text-decoration: none; }

/* ---------- Legal text ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li { margin-bottom: .35em; }
.callout { background: var(--c-bg-alt); border-left: 4px solid var(--c-accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: #b9c0c6; font-size: .95rem; }
.site-footer a { color: #e3e7ea; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand strong { color: #fff; font-size: 1.3rem; letter-spacing: .04em; display: block; margin-bottom: 6px; }
.since { display: inline-block; margin-top: 14px; border: 1px solid #47505a; padding: 6px 12px; border-radius: 99px; font-size: .85rem; color: #e3e7ea; }
.footer-bottom { border-top: 1px solid #343b42; padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #47505a; align-items: center; justify-content: center; }
.social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 200; }
