@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,600&display=swap');

:root {
  --ice: #eaf6fb;
  --sky: #38b6e3;
  --deep: #0e3a52;
  --navy: #145a7d;
  --accent: #ff8a3d;
  --text: #23343f;
  --muted: #5f7482;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 58, 82, .10);
  --shadow-lift: 0 16px 36px rgba(14, 58, 82, .18);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3eef4;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-badge {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  display: grid; place-items: center; color: #fff; font-size: 20px;
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-display); font-weight: 700; color: var(--deep); font-size: 1.1rem; line-height: 1.25; letter-spacing: .01em; }
.logo-text small { display: block; font-weight: 600; color: var(--sky); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem; }
.nav-links a:hover { color: var(--navy); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: .95rem; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-light-outline { border: 2px solid #fff; color: #fff; }
.nav .btn { padding: 10px 18px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: .7em; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: #fff; border: 1px solid #e3eef4; border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px; min-width: 280px;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.dropdown-menu a:hover { background: var(--ice); }

/* ===== Breadcrumbs ===== */
.breadcrumbs { background: var(--ice); padding: 10px 0; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--navy); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li[aria-current] { color: var(--muted); }

/* ===== Hero (homepage) ===== */
.hero {
  background: linear-gradient(160deg, var(--ice) 0%, #d3edf8 55%, #bfe4f4 100%);
  padding: 72px 0 84px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: "❄"; position: absolute; right: -40px; top: -60px;
  font-size: 340px; color: rgba(56,182,227,.12); line-height: 1;
  pointer-events: none;
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block; background: var(--white); color: var(--navy);
  font-weight: 700; font-size: .8rem; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: var(--shadow);
}
h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.8vw, 3.3rem); color: var(--deep); line-height: 1.12; margin-bottom: 18px; letter-spacing: -.01em; }
h1 em { font-style: italic; font-weight: 600; color: var(--sky); }
.hero p.lead { font-size: 1.13rem; color: var(--muted); margin-bottom: 28px; }
.hero p.lead::first-letter { font-family: var(--font-display); font-size: 2.3em; font-weight: 700; color: var(--sky); float: left; line-height: .78; padding: 4px 8px 0 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* ===== Page hero (subpages) ===== */
.page-hero {
  background: linear-gradient(160deg, var(--ice) 0%, #d3edf8 100%);
  padding: 48px 0 52px;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin-bottom: 12px; }
.page-hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; margin-bottom: 22px; }
.page-hero p.lead::first-letter { font-family: var(--font-display); font-size: 2.1em; font-weight: 700; color: var(--sky); float: left; line-height: .8; padding: 3px 7px 0 0; }

/* ===== Trust bar ===== */
.trustbar { background: var(--deep); color: #cfe8f4; padding: 16px 0; border-top: 3px solid var(--accent); }
.trustbar .container { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: .92rem; font-weight: 600; }
.trustbar span { display: flex; align-items: center; gap: 8px; }

/* ===== Sections ===== */
section { padding: 72px 0; }
section.content { padding: 48px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--sky); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.55rem, 3.4vw, 2.25rem); color: var(--deep); margin: 8px 0 12px; letter-spacing: -.005em; }
.section-head p { color: var(--muted); }

/* ===== Prose (article content) ===== */
.prose { max-width: 800px; }
.prose h2 { margin: 36px 0 12px; }
.prose h3 { color: var(--deep); font-size: 1.15rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--navy); font-weight: 600; }
.prose .note { font-size: .88rem; color: var(--muted); }

/* ===== Cards ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid #e3eef4; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; font-size: 26px;
  background: var(--ice); display: grid; place-items: center;
}
.card h3 { font-family: var(--font-display); font-weight: 600; color: var(--deep); font-size: 1.2rem; }
.card h3 a { color: var(--deep); text-decoration: none; }
.card h3 a:hover { color: var(--navy); }
.card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.card .price { font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.card .price small { font-weight: 600; color: var(--muted); }
.card .more { color: var(--navy); font-weight: 700; font-size: .9rem; text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* ===== Steps ===== */
.steps { background: var(--ice); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--ice);
}
.step h3 { color: var(--deep); font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ===== Gallery / realizace ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery-grid figcaption { padding: 12px 16px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.gallery-grid figcaption a { color: var(--deep); text-decoration: none; }
.gallery-grid figcaption a:hover { color: var(--navy); }
.gallery-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 18px; }
.realizacia-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.realizacia-photo img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.meta-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; }
.meta-table th, .meta-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #e3eef4; font-size: .95rem; }
.meta-table th { color: var(--deep); width: 40%; }

/* ===== Coverage ===== */
.coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.city {
  border-radius: var(--radius); padding: 30px; color: #fff;
  background: linear-gradient(150deg, var(--navy), var(--deep));
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.city:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.city h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.city h3 a { color: #fff; text-decoration: none; }
.city p { color: #cfe8f4; font-size: .95rem; }
.city ul { margin-top: 14px; padding-left: 0; list-style: none; color: #eaf6fb; font-size: .92rem; }
.city li { padding: 4px 0; }
.city li::before { content: "✓ "; color: var(--sky); font-weight: 800; }
.city .btn { margin-top: 16px; }

/* ===== Reviews ===== */
.reviews { background: var(--ice); }
.review { background: var(--white); }
.review .stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; }
.review p.quote { font-style: italic; color: var(--text); }
.review .who { font-weight: 700; color: var(--navy); font-size: .9rem; }

/* ===== FAQ ===== */
details {
  background: var(--white); border: 1px solid #e3eef4; border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
summary { font-weight: 700; color: var(--deep); cursor: pointer; font-size: 1rem; }
details p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ===== Price tables ===== */
.price-table { width: 100%; border-collapse: collapse; margin: 14px 0 10px; }
.price-table th, .price-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e3eef4; }
.price-table thead th { background: var(--ice); color: var(--deep); }
.price-table td.p { font-weight: 800; color: var(--navy); white-space: nowrap; }

/* ===== Price box on service pages ===== */
.price-box {
  background: var(--ice); border-radius: var(--radius); padding: 22px 26px;
  margin: 20px 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.price-box .amount { font-size: 1.4rem; font-weight: 800; color: var(--deep); }
.price-box .amount small { font-size: .85rem; font-weight: 600; color: var(--muted); display: block; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(160deg, var(--deep), var(--navy)); color: #fff; padding: 60px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe8f4; margin: 8px 0 24px; max-width: 620px; }
.cta-band .hero-ctas { margin-top: 6px; }

/* ===== Contact ===== */
.contact { background: linear-gradient(160deg, var(--deep), var(--navy)); color: #fff; }
.contact .section-head .kicker { color: var(--sky); }
.contact h2 { color: #fff; }
.contact .section-head p { color: #cfe8f4; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.contact-info h3 { font-size: 1.1rem; margin-bottom: 12px; }
.contact-info a { color: #fff; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-item .ci { font-size: 22px; }
.contact-item div small { color: #9fc9dd; display: block; font-size: .8rem; }
form.lead-form {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  display: grid; gap: 14px; box-shadow: var(--shadow);
}
form.lead-form label { font-weight: 700; color: var(--deep); font-size: .88rem; display: block; margin-bottom: 5px; }
form.lead-form input, form.lead-form select, form.lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d5e5ee; border-radius: 10px;
  font: inherit; color: var(--text); background: #fbfdfe;
}
form.lead-form input:focus, form.lead-form select:focus, form.lead-form textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
form.lead-form button {
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem;
  border: none; border-radius: 999px; padding: 14px; cursor: pointer;
  transition: transform .15s ease;
}
form.lead-form button:hover { transform: translateY(-2px); }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }

/* ===== Calculator ===== */
.calc {
  background: var(--white); border: 1px solid #e3eef4; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); max-width: 680px; display: grid; gap: 16px;
}
.calc label { font-weight: 700; color: var(--deep); font-size: .9rem; display: block; margin-bottom: 5px; }
.calc input, .calc select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d5e5ee; border-radius: 10px;
  font: inherit; color: var(--text); background: #fbfdfe;
}
.calc button {
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem;
  border: none; border-radius: 999px; padding: 14px 22px; cursor: pointer;
}
.calc-result { background: var(--ice); border-radius: 12px; padding: 22px; display: none; }
.calc-result.visible { display: block; }
.calc-result .kw { font-size: 1.7rem; font-weight: 800; color: var(--deep); }
.calc-result p { margin-top: 8px; color: var(--text); font-size: .95rem; }

/* ===== Footer ===== */
footer { background: #0a2b3d; color: #9fc9dd; padding: 40px 0 24px; font-size: .88rem; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 26px; }
footer h4 { color: #fff; margin-bottom: 10px; font-size: .95rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 6px; }
footer a { color: #cfe8f4; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-about p { margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; text-align: center; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 60px; }
  section { padding: 52px 0; }
}


/* ===== Poradna (blog) ===== */
.poradna-intro { max-width: 720px; margin: 0 auto 28px; text-align: center; color: var(--muted); }
.poradna-tools { max-width: 760px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 16px; }
.poradna-search input {
  width: 100%; padding: 12px 16px; border: 1.5px solid #d5e5ee; border-radius: 999px;
  font: inherit; color: var(--text); background: #fbfdfe;
}
.poradna-search input:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.poradna-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  border: 1.5px solid #d5e5ee; background: var(--white); color: var(--navy);
  font-weight: 700; font-size: .85rem; padding: 7px 16px; border-radius: 999px;
  cursor: pointer; text-decoration: none;
}
.pill.active, .pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.card.poradna-card { padding: 0; overflow: hidden; }
.card.poradna-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.card.poradna-card .card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.badge {
  display: inline-block; background: var(--ice); color: var(--navy); font-weight: 700;
  font-size: .74rem; letter-spacing: .03em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; align-self: flex-start;
}
.card-meta { color: var(--muted); font-size: .82rem; }
.article-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.article-hero-img img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.article-cta {
  background: var(--ice); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.article-cta p { margin: 0; font-weight: 700; color: var(--deep); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 16px; }
.no-results { text-align: center; color: var(--muted); padding: 30px 0; display: none; }

@media (max-width: 760px) {
  .poradna-filters { justify-content: flex-start; overflow-x: auto; }
}

/* ===== Clanok: obsah a zaverecny box ===== */
.toc {
  background: var(--ice); border-left: 4px solid var(--sky); border-radius: 12px;
  padding: 18px 24px; margin: 6px 0 28px;
}
.toc-title { font-family: var(--font-display); font-weight: 700; color: var(--deep); font-size: 1.05rem; margin-bottom: 8px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 5px; }
.toc a { color: var(--navy); font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.article-close {
  background: linear-gradient(150deg, var(--navy), var(--deep)); color: #fff;
  border-radius: var(--radius); padding: 26px 30px; margin: 34px 0 26px;
  box-shadow: var(--shadow);
}
.article-close .toc-title { color: #fff; font-size: 1.2rem; }
.article-close p { color: #dff0f8; margin-bottom: 18px; }
.article-close strong { color: #fff; }
.article-close a { color: #fff; }
.article-close .btn-primary { text-decoration: none; }
