/* ============================================================
   Koniec dlhov — WordPress/Elementor (Sydney) štýl
   Flat dizajn: biela hlavička, navy sekcie, modrá, žltý akcent
   Typo: Roboto Slab (nadpisy), Roboto (text)
   ============================================================ */

:root {
  --navy: #041833;
  --navy-2: #0a2547;
  --blue: #1b64de;
  --blue-dark: #1554bd;
  --blue-kicker: #7d97db;
  --blue-pale: #dce6f8;
  --yellow: #ffe58f;
  --yellow-dark: #f5d570;
  --text: #212121;
  --muted: #757575;
  --grey-bg: #f4f4f6;
  --line: #e6e6e9;
  --white: #ffffff;
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Roboto Slab", "Roboto", serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

section { padding: 90px 0; }

.kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-kicker);
  margin-bottom: 12px;
}

.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* ---------- Tlačidlá (Elementor štýl: hranaté, uppercase) ---------- */
.btn {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  text-align: center;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }

.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-dark); }

.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }

.btn-outline-dark { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-dark:hover { background: var(--blue); color: #fff; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hlavička (biela, sticky) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span { color: var(--blue); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: var(--yellow); }

.main-nav { display: flex; align-items: center; gap: 2px; }

.main-nav a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 13px;
  text-decoration: none !important;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); }

.nav-cta {
  margin-left: 14px;
  padding: 13px 24px;
  font-size: 0.78rem;
  color: #fff !important;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- Hero (velka foto + navy overlay) ---------- */
.hero {
  background:
    linear-gradient(rgba(4, 24, 51, 0.78), rgba(4, 24, 51, 0.78)),
    var(--navy) url("/assets/img/house.jpg") center / cover no-repeat;
  color: #fff;
  padding: 158px 0 168px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  font-weight: 700;
  color: #cfe0ff;
}
.hero-badge svg { width: 19px; height: 19px; flex: none; color: var(--yellow); }

.hero h1 { color: #fff; max-width: 720px; }

.hero .lead {
  margin: 20px 0 34px;
  font-size: 1.08rem;
  color: #b9c4d6;
  max-width: 640px;
}

.hero .kicker { color: var(--blue-kicker); }

.hero.hero-sub { padding: 78px 0; }
.hero.hero-sub .lead { margin-bottom: 0; }

/* ---------- Icon boxy (Elementor štýl) ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.icon-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 42px 30px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}
.icon-box:hover { box-shadow: 0 14px 34px rgba(4, 24, 51, 0.1); }

.icon-box .box-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--blue);
}
.icon-box .box-icon svg { width: 52px; height: 52px; stroke-width: 1.5; }
.icon-box h3 { margin-bottom: 10px; font-size: 1.15rem; }
.icon-box p { font-size: 0.94rem; }

/* Číslované boxy */
.num-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 30px;
}
.num-box .num {
  font-family: "Roboto Slab", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue-pale);
  line-height: 1;
  margin-bottom: 14px;
}
.num-box h3 { margin-bottom: 8px; font-size: 1.12rem; }
.num-box p { font-size: 0.94rem; }

/* ---------- Split (text + foto) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-text h2 { margin-bottom: 16px; }
.split-text p { margin-bottom: 14px; }
.split-text .btn { margin-top: 12px; }

.split-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 440px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(4, 24, 51, 0.16);
}

/* Dvojfoto kolaž (ako na vzorovych WP weboch) */
.photo-stack { position: relative; padding: 0 34px 34px 0; }
.photo-stack img {
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(4, 24, 51, 0.18);
}
.photo-stack .ph-main { width: 100%; height: 360px; object-fit: cover; }
.photo-stack .ph-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 200px;
  object-fit: cover;
  border: 6px solid #fff;
}

/* ---------- Sekcie ---------- */
.tint { background: var(--grey-bg); }

.band { background: var(--navy); color: #fff; padding: 74px 0; }
.band h2 { color: #fff; }
.band p { color: #b9c4d6; margin-top: 12px; }
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.band-inner .band-text { max-width: 660px; }

/* ---------- Referencie ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 30px;
}
.quote-card .qmark {
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--blue-pale);
  margin-bottom: 10px;
}
.quote-card p { font-size: 0.95rem; }
.quote-card h3 { font-size: 1.12rem; margin-bottom: 12px; color: var(--navy); }
.quote-card .q-name { margin-top: 18px; font-weight: 700; color: var(--text); font-style: normal; font-size: 0.95rem; }
.quote-card .q-role { color: var(--muted); font-size: 0.84rem; font-style: normal; }

/* ---------- Checklist ---------- */
.check-list { list-style: none; margin-top: 26px; display: grid; gap: 16px; max-width: 820px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.check-list li strong { color: var(--text); display: block; font-family: "Roboto Slab", serif; }
.check-list .tick {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
}

/* ---------- Prose (právne stránky) ---------- */
.prose { max-width: 840px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-icon { flex: none; width: 46px; height: 46px; color: var(--blue); }
.info-icon svg { width: 34px; height: 34px; stroke-width: 1.5; margin-top: 4px; }
.info-item h4 {
  font-family: "Roboto", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.info-item p, .info-item a { font-size: 1rem; color: var(--text); font-weight: 500; }

/* WPForms štýl formulára */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 38px;
  box-shadow: 0 14px 40px rgba(4, 24, 51, 0.08);
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form > p { font-size: 0.93rem; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row[hidden] { display: none; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid #cfcfd4;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field select:invalid { color: var(--muted); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-pale);
}
.field textarea { min-height: 140px; resize: vertical; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* ---------- Pätička ---------- */
.site-footer {
  background: var(--navy);
  color: #93a1b5;
  padding: 70px 0 0;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 54px;
}

.footer-grid h4 {
  font-family: "Roboto", sans-serif;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-grid p { color: #93a1b5; font-size: 0.92rem; }

.footer-grid ul { list-style: none; display: grid; gap: 11px; }
.footer-grid a { color: #b9c4d6; text-decoration: none; }
.footer-grid a:hover { color: var(--yellow); }

.footer-brand .logo { margin-bottom: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.82rem;
  color: #6d7d93;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Responzivita ---------- */
@media (max-width: 980px) {
  section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split-photo { order: -1; }
  .split-photo img { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--grey-bg); }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: block; }

  .hero { padding: 74px 0; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .photo-stack { padding: 0; }
  .photo-stack .ph-small { display: none; }
}

/* ---------- Právne prvky v pätičke ---------- */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 4px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #6d7d93;
}
.footer-legal p { color: #6d7d93; font-size: 0.8rem; margin-bottom: 8px; }
.footer-legal strong { color: #93a1b5; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #b9c4d6;
  cursor: pointer;
  text-align: left;
}
.link-btn:hover { color: var(--yellow); }

/* ---------- Súhlas so spracúvaním údajov vo formulári ---------- */
.field-consent { margin-bottom: 22px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.consent input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.consent a { color: var(--blue); }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 16px;
}
.cookie-bar[hidden] { display: none; }
.cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 40px rgba(4, 24, 51, 0.22);
  padding: 24px 26px;
}
.cookie-inner h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.cookie-inner p { font-size: 0.88rem; line-height: 1.7; color: var(--muted); }
.cookie-inner a { color: var(--blue); }

.cookie-options { display: grid; gap: 12px; margin-top: 18px; }
.cookie-options[hidden] { display: none; }
.cookie-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.cookie-options input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.cookie-options strong { color: var(--text); }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-actions .btn { font-size: 0.82rem; padding: 11px 22px; }
.cookie-actions .btn[hidden] { display: none; }

@media (max-width: 600px) {
  .cookie-inner { padding: 20px; }
  .cookie-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- Stavová hláška formulára ---------- */
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  border-left: 3px solid var(--blue);
  background: var(--grey-bg);
}
.form-status[hidden] { display: none; }
.form-status.is-error { border-left-color: #c0392b; color: #a5281c; background: #fdf0ee; }

/* ---------- Formulárová sekcia na podstránkach ---------- */
.form-section { background: var(--grey-bg); }
.form-section .section-lead { color: var(--muted); }
.form-wrap { max-width: 780px; margin: 0 auto; }
.form-wrap .contact-form { background: var(--white); }
.quote-card.is-quote p { font-style: italic; }
