/* Klima Servis Hlad — shared stylesheet */

:root {
  --navy: #0b2540;
  --navy-light: #123a63;
  --blue: #1583c9;
  --blue-light: #4fb4e8;
  --ice: #eaf6fb;
  --ice-2: #f4fafd;
  --text: #1c2b3a;
  --muted: #5a6b7c;
  --white: #ffffff;
  --border: #dbe8ef;
  --success: #1f9d55;
  --danger: #c9341f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 64, 0.09);
  --shadow-sm: 0 4px 14px rgba(11, 37, 64, 0.08);
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; color: var(--navy); }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0f6fab; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--ice); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 37, 64, 0.97);
  backdrop-filter: blur(6px);
}
.top-bar {
  background: var(--navy-light);
  color: #cfe6f5;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a { color: #cfe6f5; }
.top-bar a:hover { color: var(--white); }
.top-bar .top-links { display: flex; gap: 18px; flex-wrap: wrap; }
.top-bar .top-links span, .top-bar .top-links a { display: inline-flex; align-items: center; gap: 6px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .2px;
}
.brand .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand .logo-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-weight: 400; font-size: 11px; color: #9fc3dc; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #d7e9f4;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-color: var(--blue-light); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary { display: none; }
  .top-bar .top-links span:last-child { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, rgba(8,26,46,.92), rgba(11,54,92,.82)), var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .38;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 86px;
  padding-bottom: 92px;
}
.hero-inner { max-width: 660px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); font-size: clamp(32px, 4.6vw, 50px); }
.hero p.lead { color: #d9eaf4; font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.hero-stat { text-align: left; }
.hero-stat strong { display: block; font-size: 30px; color: var(--white); }
.hero-stat span { color: #a9cde3; font-size: 13px; }

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.page-hero p { color: #d9eaf4; max-width: 640px; font-size: 17px; }
.breadcrumbs { font-size: 13px; color: #a9cde3; margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.bg-ice { background: var(--ice-2); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head.align-left { margin: 0 0 40px; text-align: left; }
.section-head .eyebrow-dark {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .hero-stats { grid-template-columns: repeat(2,1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.card a.card-link { color: var(--blue); font-weight: 700; font-size: 14px; }
.card a.card-link:hover { text-decoration: underline; }

.media-card { overflow: hidden; padding: 0; }
.media-card img { height: 210px; width: 100%; object-fit: cover; }
.media-card .media-body { padding: 24px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse > :first-child { grid-template-columns: 1fr; order: initial; }
  .split { gap: 32px; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; height: 100%; max-height: 440px; }

.check-list { list-style: none; margin: 18px 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--text); font-size: 15px; }
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--success); width: 18px; height: 18px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 10px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 16px;
}
.step h4 { font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.stars { margin-bottom: 12px; letter-spacing: 2px; color: #f0a500; }
.testimonial p.quote { font-size: 15px; color: var(--text); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ice); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.who strong { display: block; font-size: 14px; }
.who span { color: var(--muted); font-size: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: var(--white);
  border-radius: 20px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { color: var(--white); margin-bottom: 6px; font-size: 24px; }
.cta-band p { color: #d9eaf4; margin: 0; }
.cta-band .btn-primary { background: var(--white); color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--ice); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--navy); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--ice-2);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.field.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.field.checkbox label { font-weight: 400; font-size: 13.5px; color: var(--muted); margin: 0; }
.field.checkbox a { color: var(--blue); text-decoration: underline; }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-msg {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-msg.success { background: #e6f7ec; color: var(--success); border: 1px solid #bfe9cd; }
.form-msg.error { background: #fbe9e6; color: var(--danger); border: 1px solid #f3c6bd; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.price-table thead th { background: var(--navy); color: var(--white); font-size: 14px; }
.price-table tbody tr:hover { background: var(--ice-2); }
.price-table td.price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pricing-cards { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.price-card .badge { position: absolute; top: -12px; right: 24px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-card .amount { font-size: 36px; font-weight: 800; color: var(--navy); margin: 10px 0 18px; }
.price-card .amount span { font-size: 15px; color: var(--muted); font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); }
.gallery img { height: 220px; width: 100%; object-fit: cover; }
.gallery figcaption { padding: 14px 16px; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--blue); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #bcd3e3; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-grid p { color: #9fc3dc; font-size: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--blue); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8fb3cb;
}
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .legal-links { display: flex; gap: 18px; }

/* ---------- Sticky call button (mobile) ---------- */
.sticky-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(11,37,64,.35);
}
.sticky-call svg { width: 24px; height: 24px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ice); color: var(--blue);
  font-size: 12.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.map-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; }
.map-link:hover { text-decoration: underline; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ice); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row .icon svg { width: 22px; height: 22px; }
.info-row h4 { font-size: 15px; margin-bottom: 3px; }
.info-row p { color: var(--muted); font-size: 14px; margin: 0; }
