﻿:root {
  color-scheme: light;
  color: #0f1922;
  
  --bg: #fdfdfd; 
  --bg-alt: transparent; 
  --text: #111c24;
  --muted: #4a5c68;
  
  /* Tmavě modrá paleta */
  --primary: #0a1526;
  --primary-strong: #040914;
  --accent: #112240; 
  
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-hover: rgba(255, 255, 255, 0.75);
  --glass-bg-inner: rgba(255, 255, 255, 0.85); 
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-border-focus: rgba(10, 21, 38, 0.5); 
  --glass-shadow: 0 12px 40px rgba(4, 9, 20, 0.06);
  --glass-blur: blur(24px);
  --border: rgba(10, 21, 38, 0.15); 
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body, button, input, textarea, select {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif !important;
  color: var(--text);
}

body {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ==========================================================================
   AMBIENTNÍ POZADÍ (Sladěno do světlé modré)
   ========================================================================== */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: #fafbfd; 
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  will-change: transform;
  animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: #f0f4f8; 
}

.blob-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: #e9edf4; 
  animation-delay: -5s; animation-duration: 30s;
}

.blob-3 {
  top: 30%; left: 40%;
  width: 45vw; height: 45vw;
  background: #f2f5f9; 
  animation-delay: -10s; animation-duration: 22s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 12%) scale(1.15); }
}

/* ==========================================================================
   GLASS PANEL TŘÍDY
   ========================================================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

.glass-panel-inner {
  background: var(--glass-bg-inner);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.5), 0 4px 12px rgba(4, 9, 20, 0.03);
}

/* ==========================================================================
   HLAVIČKA A MENU
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.site-header.header-shadow {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 40px rgba(4, 9, 20, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
}

.brand-logo-wrapper {
  display: flex; align-items: center; gap: 1.25rem; text-decoration: none; transition: opacity 0.2s ease;
}

.brand-logo-wrapper:hover { opacity: 0.9; }

.brand-logo-img {
  height: 72px; width: auto; display: block;
  /* CSS filtr vypočítaný pro tmavě modrou barvu */
  filter: brightness(0) saturate(100%) invert(6%) sepia(34%) saturate(3033%) hue-rotate(195deg) brightness(93%) contrast(97%);
}

.brand-text-group { display: flex; flex-direction: column; line-height: 1.25; justify-content: center; }

.brand-name { font-size: 1.45rem; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.brand-sub1 { font-size: 0.76rem; font-weight: 600; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.1rem; }
.brand-sub2 { font-size: 0.76rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

.nav { 
  display: flex; align-items: center; gap: 1.5rem; 
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 0.5rem 1.5rem; 
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.nav a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 0.9rem; 
  position: relative;
  padding: 0.25rem 0; 
  transition: color 0.3s ease; 
}

.nav a:not(.nav-cta)::after {
  content: ""; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  height: 2px; 
  background: var(--primary); 
  transform: scaleX(0); 
  transform-origin: right; 
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover:not(.nav-cta), .nav a.active:not(.nav-cta) { 
  color: var(--primary); 
}

.nav a:hover:not(.nav-cta)::after, .nav a.active:not(.nav-cta)::after { 
  transform: scaleX(1); 
  transform-origin: left; 
}

.nav .nav-cta {
  background: var(--primary); color: #fff !important; padding: 0.6rem 1.6rem; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 4px 14px rgba(10, 21, 38, 0.2); margin-left: 0.5rem; border-radius: 999px;
}
.nav .nav-cta:hover, .nav .nav-cta.active { 
  background: var(--primary-strong); 
  transform: translateY(-1px); 
  box-shadow: 0 6px 20px rgba(10, 21, 38, 0.3); 
}

.menu-toggle { display: none; border: none; background: transparent; font-size: 1.6rem; color: var(--primary); }

/* ==========================================================================
   HERO SEKCE
   ========================================================================== */
.hero { 
  padding: 0; 
  overflow: visible; 
  display: flex; 
  align-items: center; 
  position: relative; 
  z-index: 2; 
}

.hero-grid { 
  display: grid; 
  grid-template-columns: 1.1fr 1fr; 
  gap: 4rem; 
  align-items: center; 
}

.hero-copy { 
  max-width: 38rem; 
  padding-top: 0; 
  padding-bottom: 4rem; 
  position: relative; 
  z-index: 10; 
}

.hero h1 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: var(--text); }
.hero p { margin: 1.5rem 0 2.5rem; font-size: 1.1rem; color: var(--muted); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-perspective { 
  width: 100%; 
  position: relative;
  z-index: 1; 
  perspective: 1200px;
  padding-left: 2rem;
  clip-path: inset(-100% -100% 0 -100%); 
}

.hero-image-wrapper {
  position: relative;
  padding: 4rem 4rem 0 4rem;
  margin: -4rem -4rem 0 -4rem;
  transform: translateY(5%); 
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(20px 30px 25px rgba(4, 9, 20, 0.35)) drop-shadow(-5px -5px 15px rgba(255, 255, 255, 0.7));
  transform: translateZ(40px);
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-image-perspective:hover .hero-image {
  transform: translateZ(60px) rotateY(-4deg);
}

/* ==========================================================================
   SCROLL REVEAL ANIMACE
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0; will-change: opacity, transform; transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.fade-up { transform: translateY(40px) scale(0.98); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ==========================================================================
   OBECNÉ TŘÍDY PRO SEKCE
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-content { max-width: 600px; }

.section { padding: 6rem 0; position: relative; z-index: 5; }
.section-label { display: inline-block; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--primary); margin: 0 0 1rem 0; letter-spacing: -0.02em; }
.heading-accent { width: 50px; height: 3px; background: var(--accent); margin-bottom: 1.5rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 4rem; }

/* ==========================================================================
   SEKCE O MNĚ (STATICKÝ GRID & POPUP)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr; 
  gap: 4rem;
  align-items: center; 
}

.about-image-panel {
  display: flex;
  flex-direction: column;
  padding: 0;
  align-items: center;
}

.profile-pic {
  width: 220px;
  height: 280px; 
  min-height: auto;
  border-radius: 16px; 
  border: 1px dashed rgba(10, 21, 38, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
}

.about-text-panel { padding: 3rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.about-text-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--primary); line-height: 1.2; margin: 0 0 1.5rem 0; letter-spacing: -0.02em; }
.about-text-content { margin-top: 1rem; }
.about-text-content p { color: var(--text); font-size: 1.05rem; line-height: 1.8; margin-bottom: 0; font-weight: 400; }

/* Modal OKNO O Mně */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 25, 34, 0.4); backdrop-filter: blur(8px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  width: min(700px, 90%); max-height: 85vh; overflow-y: auto;
  background: rgba(255, 255, 255, 0.92);
  position: relative; padding: 0;
}
.modal-header {
  position: sticky; top: 0; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); padding: 1.5rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border); z-index: 10;
}
.modal-header h3 { margin: 0; color: var(--primary); font-size: 1.4rem; font-weight: 800; }
.close-btn { background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--primary); transition: color 0.2s ease; }
.close-btn:hover { color: var(--accent); }
.modal-body { padding: 2rem; color: var(--text); }
.modal-body p { line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem; }
.modal-body p:last-child { margin-bottom: 0; }


/* ==========================================================================
   SLUŽBY A PROCES 
   ========================================================================== */
.services-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.col-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 0 0 2rem 0; padding-bottom: 0.75rem; border-bottom: 2px solid rgba(10, 21, 38, 0.15); }

.vertical-roadmap { display: flex; flex-direction: column; gap: 1.25rem; }

.v-step { padding: 1.25rem 1.5rem; cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.v-step:not(.active) { background: rgba(255, 255, 255, 0.35); border: 1px solid rgba(255, 255, 255, 0.4); }
.v-step:hover { background: var(--glass-bg-hover); border-color: var(--glass-border); }
.v-step.active { background: var(--glass-bg-inner); border-color: rgba(10, 21, 38, 0.3); box-shadow: 0 10px 40px rgba(4, 9, 20, 0.08); transform: scale(1.02); }

.v-step-header { display: flex; align-items: center; gap: 1.25rem; }

.v-indicator { position: relative; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v-indicator-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-weight: 800; font-size: 1rem; color: var(--muted); transition: color 0.3s ease; }
.v-indicator-content svg { width: 22px; height: 22px; color: var(--muted); transition: color 0.3s ease; }
.v-step.active .v-indicator-content, .v-step.active .v-indicator-content svg { color: var(--accent); }

.v-progress-ring { position: absolute; top: 0; left: 0; transform: rotate(-90deg); z-index: 1; }
.v-progress-ring__bg { stroke: rgba(255, 255, 255, 0.8); }
.v-progress-ring__circle { stroke-dasharray: 126; stroke-dashoffset: 126; }
.v-step.active .v-progress-ring__circle { animation: vClockWiseLoader 7.5s linear forwards; }
@keyframes vClockWiseLoader { from { stroke-dashoffset: 126; } to { stroke-dashoffset: 0; } }

.v-title { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--primary); transition: color 0.3s ease; }

.v-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.v-step.active .v-content { grid-template-rows: 1fr; }
.v-content-inner { min-height: 0; overflow: hidden; }
.v-content p { margin: 1rem 0 0 0; padding-left: calc(44px + 1.25rem); color: var(--text); font-size: 0.95rem; line-height: 1.6; }

.mobile-switcher { display: none; }
.button-wrapper { display: flex; justify-content: center; width: 100%; margin-top: 4rem; }

/* ==========================================================================
   KALKULAČKY (Plovoucí slider indikátor)
   ========================================================================== */
.calc-nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 3rem; }

.calc-tabs { 
  position: relative; 
  display: inline-flex; 
  gap: 0;
  padding: 0.5rem; 
  border-radius: 999px; 
}

.tab-indicator {
  position: absolute;
  top: 0.5rem;
  left: 0;
  height: calc(100% - 1rem);
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(10, 21, 38, 0.2);
}

.calc-tab-btn { 
  position: relative;
  z-index: 2;
  background: transparent !important; 
  box-shadow: none !important;
  border: none; 
  padding: 0.75rem 1.5rem; 
  border-radius: 999px; 
  font-weight: 600; 
  color: var(--muted); 
  transition: color 0.3s ease; 
  font-size: 0.95rem; 
}
.calc-tab-btn:hover { color: var(--primary); }
.calc-tab-btn.active { color: #fff; }

.calc-grid { display: none; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 3rem; align-items: start; }
.calc-grid.active { display: grid; animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.range-group { margin-bottom: 1.5rem; }
.range-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 0.5rem; }
.range-header label { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.range-header span { font-weight: 800; color: var(--primary); font-size: 1.15rem; white-space: nowrap; }

input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]:focus { outline: none; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: rgba(10, 21, 38, 0.15); border-radius: 3px; }
input[type=range]::-webkit-slider-thumb { height: 20px; width: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; -webkit-appearance: none; margin-top: -7px; box-shadow: 0 2px 5px rgba(10, 21, 38, 0.4); transition: transform 0.1s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-track { width: 100%; height: 6px; cursor: pointer; background: rgba(10, 21, 38, 0.15); border-radius: 3px; }
input[type=range]::-moz-range-thumb { height: 20px; width: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: none; box-shadow: 0 2px 5px rgba(10, 21, 38, 0.4); transition: transform 0.1s; }
input[type=range]::-moz-range-thumb:hover { transform: scale(1.15); }

.calc-results { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(10, 21, 38, 0.1); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.result-box { padding: 1.5rem; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.8); border-left: 5px solid var(--accent); border-radius: 16px; box-shadow: var(--glass-shadow); }
.result-box.result-secondary { background: rgba(255, 255, 255, 0.4); border-left: 5px solid var(--muted); box-shadow: none; }
.result-box span { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.5rem; font-weight: 600; }
.result-box strong { display: block; font-size: 1.8rem; font-weight: 800; white-space: nowrap; }

.highlight-val {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.secondary-val {
  background: linear-gradient(90deg, var(--muted), #112240);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-description h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin: 0 0 1rem 0; letter-spacing: -0.02em; }
.calc-description p { color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; }

/* ==========================================================================
   FAQ SEKCE
   ========================================================================== */
.faq-accordion { max-width: 800px; margin: 0 auto 3rem auto; display: flex; flex-direction: column; gap: 1.25rem; }
.faq-item { overflow: hidden; transition: box-shadow 0.3s ease, border-color 0.3s ease; background: var(--glass-bg); }
.faq-item:hover, .faq-item.active { background: var(--glass-bg-hover); border-color: rgba(10, 21, 38, 0.3); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: transparent; border: none; font-size: 1.1rem; font-weight: 700; color: var(--primary); text-align: left; cursor: pointer; }
.faq-icon { flex-shrink: 0; color: var(--primary); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); margin-left: 1rem; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { min-height: 0; overflow: hidden; }
.faq-answer-inner p { padding: 0 1.5rem 1.5rem 1.5rem; margin: 0; color: var(--text); line-height: 1.7; }

/* ==========================================================================
   SPOLEČNÝ KONTAKT & FOOTER 
   ========================================================================== */
.contact-footer-section {
  padding: 6rem 0 2rem 0;
  width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-bottom: 4rem;
}

.footer-info h2 {
  color: var(--primary); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0 0 1rem 0; letter-spacing: -0.02em;
}

.footer-lead {
  color: var(--text); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--primary);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(10, 21, 38, 0.3);
  border-color: var(--accent);
}

.social-icons svg {
  width: 22px;
  height: 22px;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 1.25rem;
  max-width: 400px;
}

a.outline-block { 
  text-decoration: none; display: block; padding: 1.25rem; transition: border-color 0.3s ease, background-color 0.3s ease; 
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 16px;
}
a.outline-block:hover { border-color: rgba(10, 21, 38, 0.5); background: rgba(255, 255, 255, 0.3); }
a.outline-block strong { display: block; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
a.outline-block span { color: var(--primary); font-size: 1.1rem; font-weight: 700; transition: color 0.2s ease; display: inline-block; line-height: 1.4; }
a.outline-block:hover span { color: var(--accent); }

a.phone-block {
  border: 2px solid var(--accent);
}
a.phone-block:hover {
  background: rgba(10, 21, 38, 0.05);
  border-color: var(--primary);
}

.footer-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form-clean { 
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem; 
  height: 100%; 
}

.input-group { 
  display: flex; 
  flex-direction: column; 
  gap: 0.5rem; 
}

.contact-form-clean .input-group:nth-child(3) { 
  flex-grow: 1; 
}

.input-group label { color: var(--primary); font-weight: 700; font-size: 0.95rem; padding-left: 0.25rem; }

.contact-form-clean input, .contact-form-clean textarea { 
  width: 100%; 
  background: rgba(255, 255, 255, 0.85); 
  border: 1px solid rgba(10, 21, 38, 0.35); 
  box-shadow: inset 0 2px 4px rgba(4, 9, 20, 0.04); 
  color: var(--text); 
  padding: 1.25rem 1.5rem; 
  border-radius: 16px; 
  font-size: 1rem; 
  font-weight: 500; 
  transition: all 0.3s ease; 
}

.contact-form-clean textarea { 
  flex-grow: 1; 
  resize: none; 
}

.contact-form-clean input::placeholder, .contact-form-clean textarea::placeholder { color: var(--muted); opacity: 0.8; }
.contact-form-clean input:focus, .contact-form-clean textarea:focus { outline: none; background: #ffffff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 21, 38, 0.15); }
.form-status { margin-top: 0; font-weight: 600; min-height: 1.4rem; text-align: center; }

.footer-bottom {
  border-top: 1px solid rgba(10, 21, 38, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}


/* ==========================================================================
   TLAČÍTKA
   ========================================================================== */
.button { border: none; border-radius: 999px; padding: 0.95rem 2rem; font-weight: 600; text-decoration: none; display: inline-block; transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(10, 21, 38, 0.25); }
.button-primary:hover { background: var(--primary-strong); box-shadow: 0 12px 32px rgba(10, 21, 38, 0.35); }
.button-secondary { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.8); color: var(--primary); font-weight: 700; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.8); border-color: var(--primary); box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
.btn-full { width: 100%; text-align: center; margin-top: 1rem; }

.scroll-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary); color: white; font-size: 1.4rem; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 99; transition: all 0.3s ease; box-shadow: 0 8px 24px rgba(10, 21, 38, 0.3); }
.scroll-to-top.show { display: flex; animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.scroll-to-top:hover { background: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(10, 21, 38, 0.4); }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ==========================================================================
   RESPONSIVNÍ DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .services-process-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 990px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; align-items: center; text-align: left; }
  .hero { padding: 0; } 
  .hero-copy { padding-top: 1rem; padding-bottom: 2rem; }
  
  .hero-image-perspective {
    padding-left: 0; 
  }

  .hero-image-wrapper {
    transform: translateY(8%);
  }

  .calc-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .calc-results { grid-template-columns: 1fr; }

  .mobile-switcher { 
    position: relative;
    display: flex; 
    padding: 0.5rem; 
    margin-bottom: 2rem; 
    border-radius: 999px;
  }
  .mobile-switcher button { 
    position: relative;
    z-index: 2;
    flex: 1; 
    background: transparent; 
    border: none; 
    padding: 0.85rem 1rem; 
    border-radius: 999px; 
    font-weight: 700; 
    color: var(--muted); 
    font-size: 0.95rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
  }
  .mobile-switcher button.active { 
    color: #fff; 
  }
  .m-tab-indicator {
    position: absolute;
    top: 0.5rem;
    left: 0; 
    height: calc(100% - 1rem);
    background: var(--primary);
    border-radius: 999px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(10, 21, 38, 0.15);
  }
  
  .services-col, .process-col { display: none; animation: fadeIn 0.4s ease forwards; }
  .services-col.m-active, .process-col.m-active { display: block; }
  .services-process-grid { grid-template-columns: 1fr; gap: 0; }
  .col-title { display: none; }

  .v-step { padding: 1.5rem !important; margin-bottom: 1.25rem; }
  .v-content { grid-template-rows: 1fr !important; }
  .v-content p { padding-left: 0 !important; margin-top: 1rem !important; }
  .v-progress-ring { display: none !important; }
  .v-indicator { border: 2px solid rgba(255, 255, 255, 0.6); background: var(--glass-bg-inner); }
  .v-indicator-content, .v-indicator-content svg { color: var(--primary) !important; }
  .v-title { color: var(--primary) !important; }
}

@media (max-width: 768px) {
  .faq-question { font-size: 1rem; padding: 1.25rem; }
}

/* AVATAR MODE SE SPUSTÍ AŽ PRO SKUTEČNÉ MOBILY */
@media (max-width: 720px) {
  .header-inner { padding: 1rem 0; }
  .nav {
    position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; gap: 0.5rem; padding: 2rem 0; display: none;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border: none; border-radius: 0; border-top: 1px solid rgba(255, 255, 255, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 20px 40px rgba(4, 9, 20, 0.05);
  }
  .nav.open { display: flex; }
  .nav a:not(.nav-cta)::after { display: none; }
  
  .nav .nav-cta { padding: 0.65rem 1.4rem; text-transform: none; font-size: 0.95rem; width: auto; margin-left: 0; margin-top: 1rem; }
  .menu-toggle { display: block; }
  
  .hero-grid { gap: 2rem; text-align: center; }
  .hero-copy { align-items: center; display: flex; flex-direction: column; }
  .hero-actions { justify-content: center; }

  .hero-image-perspective {
    order: -1; 
    perspective: none;
    clip-path: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 8px; 
  }

  .hero-image-wrapper {
    transform: none !important;
    padding: 0;
    margin: 0;
    width: 240px; 
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--glass-bg);
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(4, 9, 20, 0.15);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-image {
    transform: none !important;
    filter: none !important; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; 
  }
}

@media (max-width: 520px) {
  .button-wrapper .button { width: 100%; text-align: center; }
  .about-text-panel { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .brand-logo-img { height: 48px; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub1, .brand-sub2 { font-size: 0.65rem; }
}