@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;700&display=swap');

:root {
  /* Brand colors from README */
  --primary: #1a5bb8;
  --primary-light: #3174d6;
  --primary-dark: #11428c;
  --secondary: #0E172A; 
  /* Slate palette for light theme */
  --bg-color: #F8FAFC; 
  --surface: #FFFFFF;
  --text-main: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;

  /* Premium soft shadows */
  --shadow-sm: 0 2px 4px rgba(14, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(14, 23, 42, 0.05), 0 8px 10px -6px rgba(14, 23, 42, 0.01);
  --shadow-lg: 0 20px 25px -5px rgba(14, 23, 42, 0.05), 0 10px 10px -5px rgba(14, 23, 42, 0.02);
  --shadow-neumorphic: 8px 8px 16px #e2e8f0, -8px -8px 16px #ffffff;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
  font-family: 'Noto Sans', sans-serif;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(26, 91, 184, 0.39);
}

@media (min-width: 1278px) {
  .btn-primary {
    width: 230px;
  }
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 91, 184, 0.23);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Announcement Banner */
.announcement-banner {
  background-color: #FEF2F2;
  border-bottom: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px 0;
  min-height: 64px; /* Desktop height */
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 900;
  margin-top: 80px; /* Výška fixního navbaru */
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.banner-content i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .announcement-banner {
    margin-top: 70px; 
    min-height: auto;
    font-size: 0.85rem;
    padding: 12px 1rem;
  }
  .banner-icon-box {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .banner-icon-box i,
  .banner-icon-box i svg {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo img {
  height: 64px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo span b {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 80px; /* Offset for fixed navbar when banner is missing */
  background: linear-gradient(135deg, rgba(248, 250, 252, 1) 0%, rgba(226, 232, 240, 0.5) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 564px;
}

/* If banner is present, it handles the navbar offset, so we reduce hero padding */
body:has(.announcement-banner) .hero {
  padding-top: 10px;
}

.hero-bg-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 70.71% 70.71% at 50% 50%, rgba(26, 91, 184, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 5px;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: none;
  text-align: center;
  padding: 0;
}

.hero-panel, .hero-visual-container {
  display: contents;
}

.hero-title {
  grid-row: 1;
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  padding: 1rem 1.5rem 0.75rem; /* Reduced top padding */
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-motto {
  grid-row: 2;
  font-size: 18px;
  max-width: 90%;
  font-family: 'Noto Sans', sans-serif;
  font-style: italic;
  font-weight: 400;
  color: #1a5bb8;
  margin: 0 auto 2rem;
  line-height: 1.4;
  padding: 0 1rem;
}

.hero-image {
  grid-row: 3;
  width: 100%;
  position: relative;
  display: flex;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-main-img {
  width: 100%;
  height: clamp(150px, 30vh, 250px);
  border-radius: 0;
  object-fit: cover;
  display: block;
}

.hero-info-card {
  position: absolute;
  bottom: -20px;
  right: -5px;
  background: #F8FAFC;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 14px 20px 15px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 226px;
  text-align: left;
}

@media (max-width: 1024px) {
  .hero-info-card {
    right: 50%;
    transform: translateX(50%);
  }
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-circle {
  width: 20px;
  height: 20px;
  background: #1a5bb8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.info-card-title {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #334155;
}

.info-card-body {
  display: flex;
  flex-direction: column;
}

.info-card-body strong {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #334155;
  line-height: 1.2;
}

.info-card-body span {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #334155;
}

.hero-actions {
  grid-row: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 0;
  padding: 1rem 1.5rem;
}

.location-badge {
  background: rgba(26, 91, 184, 0.10);
  border-radius: 9999px;
  padding: 8px 16px;
  color: #1a5bb8;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

.btn-responsive {
  /* mobile default */
  background: #1a5bb8;
  border-radius: 20px;
  color: white;
  font-size: 20px;
  padding: 12px 30px;
  width: 100%;
  max-width: 280px;
  text-align: center;
  font-weight: 400;
  border: none;
  display: inline-block;
  transition: transform 0.2s, background 0.2s;
}

.btn-responsive:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
}

/* Media query utility classes */
.hide-on-mobile { display: none !important; }
.hide-on-desktop { display: flex !important; }
@media (min-width: 1278px) {
  .hide-on-mobile { display: flex !important; }
  span.hide-on-mobile { display: inline-block !important; }
  p.hide-on-mobile { display: block !important; }
  .hide-on-desktop { display: none !important; }
}

@media (min-width: 1278px) {
  .hero {
    position: relative;
    padding-top: 80px; 
  }
  
  body:has(.announcement-banner) .hero {
    padding-top: 0;
  }
  
  .hero-bg-circle { display: none; }

  /* Two-column hero: left = text panel, right = services circle */
  .hero-content {
    display: grid !important;
    grid-template-columns: 800px 500px; 
    grid-template-rows: 1fr;
    align-items: center; /* Centering content precisely */
    max-width: 1440px !important; 
    padding: 20px 2rem 60px !important; /* Balanced padding */
    min-height: calc(100svh - 144px); /* Subtract 80px navbar offset + 64px banner height */
    position: relative;
    text-align: left;
    gap: 100px; 
  }

  /* Intelligent height calculation - no manual margin needed anymore */
  body:not(:has(.announcement-banner)) .hero-content {
    min-height: calc(100svh - 80px);
  }

  .hero-panel {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 42px 60px;
    border-radius: var(--radius-lg);
    width: 800px; 
    height: 630px; 
    max-width: none;
    position: relative;
    z-index: 2;
    flex-direction: column;
    justify-content: center; /* Center content vertically in the stretched panel */
    gap: 0;
    text-align: left;
  }
  
  .hero-title {
    grid-row: auto;
    font-size: 2.8rem; 
    margin-bottom: 1.25rem;
    padding: 0;
    text-align: left;
  }
  
  .hero-motto {
    grid-row: auto;
    font-size: 1.25rem; 
    margin: 0 0 1.25rem 0;
    padding: 0;
    text-align: left;
    max-width: none;
  }

  .hero-actions { 
    grid-row: auto;
    align-items: flex-start; 
    padding: 0; 
    margin-top: 0; 
  }
  .btn-responsive {
    min-width: 200px;
    width: auto;
    max-width: none;
    padding: 0.875rem 1.75rem;
    font-size: 1.15rem; /* slightly larger for the big hero */
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    box-shadow: 0 4px 14px 0 rgba(26, 91, 184, 0.39);
  }
  .hero-image-wrapper {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: none;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
  }
  .hero-main-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 1;
  }
  /* hide old text-top/bottom in favour of hero-panel */
  .hero-text-top, .hero-text-bottom { display: none !important; }
}

/* hero-lead mobile defaults */
.hero-lead {
  grid-row: 6;
  font-size: 18px;
  color: var(--text-main);
  margin: 1rem auto 3rem;
  line-height: 1.6;
  text-align: left;
  padding: 1.25rem;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 91, 184, 0.08);
}

/* Floatings - default mobile layout (below image) */
.hero-floating-services {
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 1rem 0.5rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-service-item {
  background: white;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.hero-service-item .icon svg { 
  width: 16px; 
  height: 16px; 
}

.hero-service-item .icon { 
  color: var(--primary); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.hero-service-item .icon svg { 
  width: 16px; 
  height: 16px; 
}

/* Desktop — CIRCULAR LAYOUT r=200 overrides */
@media (min-width: 1278px) {
  .hero-floating-services {
    grid-column: 2;
    grid-row: 1;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    display: block !important;
    width: 500px; 
    height: 630px; /* Match panel height */
    max-width: none;
    gap: 0;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  .hero-image {
    position: absolute !important;
    top: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    height: 100%;
    z-index: 0;
    grid-row: auto;
  }

  /* hero-lead: clear left-aligned box */
  .hero-lead {
    grid-row: auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 91, 184, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.75rem;
    font-size: 1.05rem; 
    color: var(--secondary);
    margin: 0 0 2rem 0; /* Reset margins to stay on the left */
    max-width: 100%; /* Fill container width */
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
  }

  /* Vodící kružnice — průměr cca 350px */
  .hero-floating-services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 350px;
    height: 500px;
    border-radius: 50%;
    border-right: 2px dashed rgba(26, 91, 184, 0.12);
    border-top: 2px dashed rgba(26, 91, 184, 0.12);
    border-bottom: 2px dashed rgba(26, 91, 184, 0.12);
    pointer-events: none;
    animation: ring-pulse 4s ease-in-out infinite;
  }

  .hero-service-item {
    font-size: 16px;
    padding: 10px 22px;
    border-radius: 20px;
    box-shadow: 0 8px 25px -5px rgba(14, 23, 42, 0.08);
    position: absolute;
    transform: translate(-50%, -50%);
    gap: 14px;
  }

  .hero-service-item:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 12px 28px -4px rgba(26, 91, 184, 0.22);
    border-color: rgba(26, 91, 184, 0.4);
    z-index: 20;
  }

  .hero-service-item .icon svg { 
    width: 28px; 
    height: 28px; 
  }

  /* Půlkruh (oblouk) positions centered at 50% height */
  .hero-service-item:nth-child(1) { top: 50%; margin-top: -230px; left: 40px; } 
  .hero-service-item:nth-child(2) { top: 50%; margin-top: -165px; left: 124px; }
  .hero-service-item:nth-child(3) { top: 50%; margin-top: -85px;  left: 196px; }
  .hero-service-item:nth-child(4) { top: 50%; margin-top: 0px;    left: 222px; } 
  .hero-service-item:nth-child(5) { top: 50%; margin-top: 85px;   left: 196px; }
  .hero-service-item:nth-child(6) { top: 50%; margin-top: 165px;  left: 124px; }
  .hero-service-item:nth-child(7) { top: 50%; margin-top: 230px;  left: 40px; }
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
}


/* END Circular Hero Layout */

/* Contact Info Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.contact-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-card .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E6F0FF;
  color: var(--primary);
}

.contact-card .card-header h3 {
  font-size: 1.5rem;
  margin: 0;
}

.contact-list, .hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

/* Online Booking Buttons */
.btn-online-booking {
  display: inline-flex !important;
  gap: 0.6rem;
  width: 100%;
  max-width: 280px;
  justify-content: center;
  padding: 1.1rem 1.75rem !important; /* increased thickness */
  margin: 0 auto;
}

@media (max-width: 480px) {
  .btn-online-booking {
    max-width: 100%; /* allows full width on very small screens but still controlled by padding/container */
    padding: 1rem 1.25rem !important;
  }
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-list i {
  color: var(--primary);
  margin-top: 4px;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-list span {
  display: block;
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-row span {
  color: var(--secondary);
  font-weight: 500;
}

.hours-row strong {
  color: var(--primary);
}

.hours-row.closed span, .hours-row.closed strong {
  color: #94A3B8;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Comparison Section */
.comparison-section {
  background: var(--surface);
  padding: 5rem 0 0;
}

/* Section image band — shared by services, comparison, faq */
.section-image-band {
  padding: 3.5rem 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-color);
  margin-bottom: 4rem; /* white space below image */
}

.services .section-image-band {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url('public/pani.jpg');
}

.comparison-section .section-image-band {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url('public/bricho.png');
}

#faq .section-image-band {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url('public/ultrazvuk.jpg');
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 2rem;
}

.comparison-card {
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.comparison-card.symptoms {
  border-top: 4px solid #EF4444; /* Red accent */
}

.comparison-card.benefits {
  border-top: 4px solid var(--primary); /* Green accent */
}

.comparison-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-card .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-card .icon-wrapper.alert-icon {
  background-color: #FEE2E2;
  color: #EF4444;
}

.comparison-card .icon-wrapper.success-icon {
  background-color: #CCFBF1;
  color: var(--primary);
}

.comparison-card .card-header h3 {
  font-size: 1.5rem;
  margin: 0;
}

.comparison-card .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-card .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.comparison-card .feature-list i {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 6px;
  margin-top: 2px;
}

.text-danger { color: #EF4444 !important; }
.text-success { color: var(--primary) !important; }

.comparison-card .feature-text {
  display: flex;
  flex-direction: column;
}

.comparison-card .feature-list-simple {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.comparison-card .feature-list-simple li {
  margin-bottom: 0.75rem;
}

.comparison-card .feature-list-simple strong {
  font-weight: 700;
  color: var(--secondary);
}

.comparison-card .feature-text strong {
  font-size: 1.125rem;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.comparison-card .feature-text span {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-section {
    min-height: auto;
    padding: 3rem 0;
  }
  .comparison-card {
    padding: 1.5rem;
  }
}

/* Uvod */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.intro-text p {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.pillars-card {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neumorphic);
}

.pillars-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1.125rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: rgba(26, 91, 184, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* Služby Accordion */
.services {
  background: var(--surface);
  padding: 5rem 0 0;
}

.services-list-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-accordion {
  background: var(--bg-color);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.service-accordion:hover {
  border-color: rgba(26, 91, 184, 0.3);
  box-shadow: var(--shadow-sm);
}

.service-accordion-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.service-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.service-icon-small {
  width: 48px;
  height: 48px;
  background-color: #E6F0FF;
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(26, 91, 184, 0.05);
}

.service-header-left h3 {
  font-size: 1.125rem;
  margin: 0;
  color: var(--secondary);
}

.toggle-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.service-accordion.active .toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.service-accordion.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

/* Fluid height animation technique using CSS Grid */
.service-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.content-inner {
  overflow: hidden;
}

.content-inner p {
  padding: 0 1.5rem 1.5rem 5rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.7;
}

.content-inner p:first-of-type {
  padding-top: 18px;
}

.service-accordion.active .service-accordion-header {
  background-color: rgba(26, 91, 184, 0.05);
  border-bottom: 2px solid var(--primary-light);
}

.service-accordion.active .service-header-left h3 {
  color: var(--primary);
}

.service-accordion.active .service-accordion-content {
  grid-template-rows: 1fr;
}

@media (max-width: 768px) {
  .service-accordion-header {
    padding: 1.25rem;
  }
  .service-header-left {
    gap: 1rem;
  }
  .service-icon-small {
    width: 40px;
    height: 40px;
  }
  .service-header-left h3 {
    font-size: 1.05rem;
  }
  .content-inner p {
    padding: 0 1.25rem 1.25rem 1.25rem; /* No deep indent on mobile */
  }
}

/* Tym */
.team {
  background-color: var(--bg-color);
}

.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card-modern {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Jemný stín */
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
}

.team-card-modern:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.team-avatar-modern {
  width: 140px;
  height: 140px;
  background-color: #E6F0FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  overflow: hidden; /* clip photo to circle */
  margin: 0 auto 1.5rem auto;
  flex-shrink: 0;
}

/* Profile photo inside avatar */
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}


.team-avatar-modern i {
  width: 60px;
  height: 60px;
  stroke-width: 1.5;
}

@media (min-width: 1278px) {
  .team-avatar-modern i {
    width: 84px;
    height: 84px;
    stroke-width: 0.5;
  }
}

.team-info-modern h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.team-info-modern .role {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 1rem;
  font-style: italic;
}

.team-info-modern p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .team-grid-modern {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 2.5rem; /* Větší mezery na mobilu */
  }
}

/* Cenik */
.pricing-section {
  background-color: #f1f5f9; /* Slightly darker slate than bg-color for contrast */
  text-align: center;
}

.pricing-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.pricing-card h3 {
  color: var(--secondary);
  font-weight: 600;
}

/* Pricing insurance badges */
.pricing-insurance {
  margin-bottom: 0;
}

.pricing-insurance-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-insurance-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.insurance-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.insurance-badge--pending {
  background: var(--bg-color);
  border-style: dashed;
  color: var(--text-muted);
  font-weight: 500;
}

.insurance-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.pricing-insurance-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}


/* FAQ Section */
/* #faq background moved to .section-image-band */

.faq-list-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion {
  background: var(--bg-color);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.faq-accordion:hover {
  border-color: rgba(26, 91, 184, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-accordion-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  gap: 1rem;
}

.faq-accordion-header h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1.4;
}

.faq-accordion.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-accordion .toggle-icon {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
  color: var(--primary); /* Silnější a výraznější ikona */
  flex-shrink: 0;
}

.faq-accordion.active .toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background: var(--bg-color);
}

.faq-accordion.active .faq-accordion-content {
  grid-template-rows: 1fr;
}

.faq-accordion-content .content-inner {
  overflow: hidden;
}

.faq-accordion-content p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.faq-accordion-content p:first-of-type {
  padding-top: 18px;
}

.faq-accordion.active .faq-accordion-header {
  background-color: rgba(26, 91, 184, 0.05);
  border-bottom: 2px solid var(--primary-light);
}

.faq-accordion.active .faq-accordion-header h3 {
  color: var(--primary);
}

@media (max-width: 768px) {
  .faq-accordion-header {
    padding: 1.25rem;
  }
  .faq-accordion-header h3 {
    font-size: 1.05rem;
  }
  .faq-accordion-content p {
    padding: 0 1.25rem 1.25rem;
  }
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info .logo {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-info .logo img {
  max-width: 140px;
  max-height: 45px;
  height: auto;
  width: auto;
}

.footer h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer p {
  color: #94A3B8;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-legal {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-legal p {
  margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
.hero-text-top {
    grid-column: 1;
    grid-row: 1;
  }

.hero-text-bottom {
    grid-column: 1;
    grid-row: 3;
  }
  
.hero-buttons {
    justify-content: center;
  }
  
.intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
.section {
    padding: 4rem 0;
  }
}

/* 320x640 minimal viewport adjustments */
@media (max-width: 480px) {
  .logo img {
    height: 48px;
  }
  
  .logo span {
    font-size: 1.125rem;
  }
  
  .nav-actions .btn-outline {
    display: none; /* Skrýt vedlejší tlačítko na malém displeji */
  }
  
  .nav-actions .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
.hero-img-box img {
    height: 250px;
  }
  
.hero-buttons .btn {
    width: 100%;
  }
  
  .pillars-card {
    padding: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
.pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  
  .footer-info {
    margin-bottom: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-card {
  background: white;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  animation: modal-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #94A3B8;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--secondary);
}

.modal-header {
  padding: 40px 40px 20px;
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #FEF2F2;
  color: #EF4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon i {
  width: 32px;
  height: 32px;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 800;
  margin: 0;
}

.modal-body {
  padding: 0 40px 30px;
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.modal-body strong {
  color: #EF4444;
}

.modal-footer {
  padding: 0 40px 40px;
  display: flex;
  justify-content: center;
}

.modal-footer .btn {
  width: 100%;
  max-width: 200px;
  padding: 1rem;
  font-size: 1.1rem;
}

