/* ======================== SHARED STYLES ========================
   Základné štýly pre o-nas.html, kontakt.html, recenzie.html
   (index.html má vlastné inline štýly)
   ================================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: #ffffff;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 18px;
  padding: 18px 36px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  min-height: 56px;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}
.btn-outline {
  background: transparent;
  color: #1d4ed8;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 2px solid #bfdbfe;
}
.btn-outline:hover {
  background: #eff6ff;
  border-color: #2563eb;
}
/* ======================== CONTACT BAR ======================== */
.contact-bar {
  background: #0b1220;
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.contact-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-bar-left svg {
  width: 14px;
  height: 14px;
  stroke: #60a5fa;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.contact-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.contact-bar a:hover {
  color: #93c5fd;
}
.contact-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.contact-bar-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
/* ======================== HEADER ======================== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 100;
  padding: 14px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.logo-icon svg {
  width: 22px;
  height: 22px;
}
.logo-text {
  line-height: 1.2;
}
.logo-text-primary {
  font-weight: 700;
  font-size: 16px;
  color: #0b1220;
  display: block;
  letter-spacing: -0.02em;
}
.logo-text-secondary {
  font-weight: 500;
  font-size: 11px;
  color: #64748b;
  display: block;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.header-nav a:hover {
  color: #1d4ed8;
  background: #eff6ff;
}
.header-nav a.active {
  color: #1d4ed8;
  background: #eff6ff;
}
/* ======================== MOBILE MENU ======================== */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.2s ease;
}
.mobile-menu-toggle:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.mobile-menu-toggle-lines {
  width: 20px;
  height: 14px;
  position: relative;
}
.mobile-menu-toggle-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #0b1220;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-toggle-lines span:nth-child(1) {
  top: 0;
}
.mobile-menu-toggle-lines span:nth-child(2) {
  top: 6px;
}
.mobile-menu-toggle-lines span:nth-child(3) {
  top: 12px;
}
body.menu-open .mobile-menu-toggle-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
body.menu-open .mobile-menu-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}
body.menu-open .mobile-menu-toggle-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  max-height: 100vh;
  background: #ffffff;
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom-left-radius: 20px;
}
body.menu-open .mobile-menu {
  transform: translateX(0);
  box-shadow: -20px 0 50px rgba(15, 23, 42, 0.15);
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.menu-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open {
  overflow: hidden;
}
.mobile-menu-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-menu-header .logo {
  gap: 10px;
}
.mobile-menu-header .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.mobile-menu-header .logo-icon svg {
  width: 18px;
  height: 18px;
}
.mobile-menu-header .logo-text-primary {
  font-size: 15px;
}
.mobile-menu-header .logo-text-secondary {
  font-size: 10px;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.mobile-menu-close:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.mobile-menu-close svg {
  width: 18px;
  height: 18px;
  stroke: #334155;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.mobile-menu-list {
  list-style: none;
  padding: 8px 0;
}
.mobile-menu-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #0b1220;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  min-height: 56px;
  position: relative;
}
.mobile-menu-list li + li a {
  border-top: 1px solid #f1f5f9;
}
.mobile-menu-list a::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #cbd5e1;
  border-top: 2px solid #cbd5e1;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.2s ease;
}
.mobile-menu-list a:hover,
.mobile-menu-list a.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-left-color: #2563eb;
}
.mobile-menu-list a:hover::after,
.mobile-menu-list a.active::after {
  border-right-color: #2563eb;
  border-top-color: #2563eb;
  right: 16px;
}
.mobile-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-icon svg {
  width: 19px;
  height: 19px;
  stroke: #1d4ed8;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 20px 4px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-menu-phone:hover {
  border-color: #60a5fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
}
.mobile-menu-phone .mobile-menu-icon {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  width: 44px;
  height: 44px;
}
.mobile-menu-phone .mobile-menu-icon svg {
  stroke: white;
}
.mobile-menu-phone-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d4ed8;
  margin-bottom: 2px;
}
.mobile-menu-phone-number {
  font-size: 18px;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: -0.01em;
}
.mobile-menu-phone-hours {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}
.mobile-menu-cta {
  padding: 12px 20px 4px;
}
.mobile-menu-cta .btn-primary {
  width: 100%;
  font-size: 16px;
  padding: 16px;
  border-radius: 12px;
}
.mobile-menu-trust {
  margin: 16px 20px 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
}
.mobile-menu-trust-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 10px;
}
.mobile-menu-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}
.mobile-menu-trust-list .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-trust-list .tick svg {
  width: 12px;
  height: 12px;
  stroke: white;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  z-index: 101;
  transition: width 0.15s ease-out;
  pointer-events: none;
}
/* ======================== PAGE HERO ======================== */
.page-hero {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 40%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  top: -300px;
  right: -150px;
  border-radius: 50%;
}
.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1d4ed8;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #0b1220;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 18px;
}
.page-hero p {
  font-size: 18px;
  color: #475569;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}
/* ======================== SECTION HEADER ======================== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1220;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 17px;
  color: #475569;
  max-width: 560px;
  margin: 0 auto;
}
/* ======================== FINAL CTA ======================== */
.final-cta {
  padding: 88px 0;
  background: linear-gradient(135deg, #1d4ed8 0%, #1a1a4e 50%, #0b1220 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}
.final-cta .container {
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.final-cta p {
  font-size: 18px;
  color: #bfdbfe;
  margin-bottom: 36px;
}
.btn-white {
  background: #ffffff;
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 14px;
  min-height: 56px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
/* ======================== FOOTER ======================== */
.footer {
  padding: 56px 0 40px;
  background: #0b1220;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  font-size: 13px;
  color: #64748b;
}
.footer p a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer p a:hover {
  color: #ffffff;
}
/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .header .btn-outline {
    display: none;
  }
}
@media (max-width: 768px) {
  .contact-bar {
    display: none;
  }
  .header {
    padding: 10px 0;
  }
  .header .container {
    gap: 12px;
  }
  .logo {
    gap: 10px;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .logo-icon svg {
    width: 18px;
    height: 18px;
  }
  .logo-text-primary {
    font-size: 14px;
  }
  .logo-text-secondary {
    font-size: 10px;
  }
  .page-hero {
    padding: 40px 0 28px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero p {
    font-size: 16px;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 15.5px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .final-cta {
    padding: 64px 0;
  }
  .final-cta h2 {
    font-size: 26px;
  }
  .final-cta p {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .btn-white {
    font-size: 17px;
    padding: 16px 32px;
    width: 100%;
    max-width: 320px;
  }
}
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
  .logo-text-secondary {
    display: none;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .section-header h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
