/* Tanius, n.o. — statická verzia webu (moderný responzívny dizajn, farby podľa loga) */

:root {
  --primary: #77a9ca;
  --primary-dark: #5a8fb3;
  --primary-tint: #eaf2f8;
  --navy: #373f51;
  --navy-soft: #4e5866;
  --text: #414a58;
  --text-light: #6d7683;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --border: #e4e9ee;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(55, 63, 81, 0.10);
  --shadow-soft: 0 4px 16px rgba(55, 63, 81, 0.06);
  --max-width: 1120px;
  --space: clamp(56px, 9vw, 104px);
}

* { 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(--bg);
  line-height: 1.7;
  font-size: clamp(16px, 1.05vw, 17.5px);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary-dark); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; padding: 10px 0; }

.brand img {
  height: 56px;
  width: auto;
  transition: transform 0.2s ease;
}

.brand:hover img { transform: scale(1.04); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 1.5rem;
  border: 1px solid var(--border);
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.site-nav a:hover { background: var(--primary-tint); color: var(--primary-dark); }

.site-nav a.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }
  .site-nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; padding-bottom: 16px; }
  .site-nav a { padding: 13px 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(20px, 4vw, 40px) 0 0; }

.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .hero img {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 300px;
  }
}

/* ---------- Nadpisy stránok ---------- */
.page-title { padding: var(--space) 0 0; }

.page-title h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-title h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary);
  margin-top: 18px;
}

.page-title p {
  max-width: 60ch;
  color: var(--text-light);
  font-size: 1.06rem;
}

/* ---------- Sekcie ---------- */
.section { padding: var(--space) 0; }

.section h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.section p + p { margin-top: 14px; }

/* Modrý pás */
.section.alt {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.section.alt h2, .section.alt h3 { color: #fff; }
.section.alt p { color: rgba(255, 255, 255, 0.94); }
.section.alt a:not(.btn) { color: #fff; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.two-col img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .two-col img {
    aspect-ratio: 3 / 2;
    max-height: 280px;
  }
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 14px 30px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(119, 169, 202, 0.4);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(90, 143, 179, 0.45);
}

.section.alt .btn {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(31, 56, 74, 0.25);
}

.section.alt .btn:hover { background: var(--primary-tint); }

/* ---------- Zoznam služieb ---------- */
ul.services-list {
  list-style: none;
  margin: 20px 0 4px;
  display: grid;
  gap: 10px;
}

ul.services-list li {
  padding: 0 0 0 34px;
  position: relative;
  font-weight: 600;
}

ul.services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.section:not(.alt) ul.services-list li::before {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

/* Zvislý stĺpec kariet vedľa obrázka */
.stack {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
}

/* ---------- Karty (služby / referencie / názory) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: 32px;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 { color: var(--navy); }

.card blockquote {
  color: var(--text-light);
  margin-bottom: 18px;
}

.card blockquote::before {
  content: "\201E\201C";
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.35em;
  margin-bottom: 10px;
}

.card .author {
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card .author::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
}

/* ---------- Cenník ---------- */
.price-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.section.alt .price-item {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.price-item .price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.section.alt .price-item .price { color: #fff; }

.price-item p { color: var(--text-light); font-size: 0.96rem; }
.section.alt .price-item p { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 560px) {
  .price-item { flex-direction: column; gap: 10px; }
}

/* ---------- Kontakt ---------- */
.lead { max-width: 62ch; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 32px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  border-radius: var(--radius);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.2); }

.section:not(.alt) .contact-card {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--navy);
}

.section:not(.alt) .contact-card:hover { background: var(--primary-tint); }

.contact-card .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 8px;
}

.section:not(.alt) .contact-card .icon {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.contact-card .icon svg { width: 22px; height: 22px; }

.contact-card .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  font-weight: 600;
}

.contact-card .value {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}

.map-embed {
  margin-top: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.map-embed iframe { display: block; width: 100%; height: clamp(300px, 45vw, 420px); border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(28px, 4vw, 40px) 0;
  margin-top: var(--space);
  font-size: 0.9rem;
}

.site-footer a { color: #fff; }

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
