/* ==========================================================================
   AUTOSERVIS L&R - LPG AUTOSERVIS HAVÍŘOV
   Modern Responsive Stylesheet (Fixed Navigation & Map)
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary: #0284c7;       /* Tech Blue */
  --color-primary-dark: #0369a1;
  --color-primary-light: #38bdf8;
  --color-primary-soft: #e0f2fe;

  --color-accent: #16a34a;        /* Eco LPG Green */
  --color-accent-dark: #15803d;
  --color-accent-light: #22c55e;
  --color-accent-soft: #dcfce7;

  --color-dark: #0f172a;          /* Slate 900 */
  --color-dark-surface: #1e293b;  /* Slate 800 */
  --color-dark-muted: #334155;    /* Slate 700 */

  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;        /* Slate 50 */
  --color-bg-subtle: #f1f5f9;     /* Slate 100 */

  --color-text: #1e293b;          /* Slate 800 */
  --color-text-muted: #64748b;    /* Slate 500 */
  --color-text-light: #94a3b8;    /* Slate 400 */
  --color-text-inverse: #ffffff;

  --color-border: #e2e8f0;        /* Slate 200 */
  --color-border-hover: #cbd5e1;  /* Slate 300 */

  /* Typography */
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition-fast);
  font-weight: 600;
}

.skip-to-content:focus {
  top: 10px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Shared Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.section-tag.accent {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-bg-subtle);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: #e2e8f0;
  border-color: var(--color-border-hover);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background-color: var(--color-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.topbar-item svg {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.topbar-item strong {
  color: #f1f5f9;
}

.topbar-item a {
  color: #e2e8f0;
  font-weight: 500;
}

.topbar-item a:hover {
  color: var(--color-primary-light);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 163, 74, 0.18);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
}

.topbar-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   NAVIGATION / HEADER (Fixed Layout Bug)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-desc {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: var(--color-bg-subtle);
}

.nav-cta {
  margin-left: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  padding: 8px;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--color-border);
}

.menu-toggle:hover {
  background-color: var(--color-bg-subtle);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b1324 0%, #172554 60%, #0f172a 100%);
  color: #fff;
  padding: 70px 0 85px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(2, 132, 199, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-title .highlight-blue {
  background: linear-gradient(to right, #38bdf8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-green {
  background: linear-gradient(to right, #4ade80, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.highlight-icon.accent {
  color: #4ade80;
}

.highlight-text h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.highlight-text p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Hero Card */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background-color: var(--color-dark-surface);
}

.hero-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  width: fit-content;
}

.hero-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.hero-card-caption {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.floating-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.floating-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, #15803d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.floating-badge-content strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.floating-badge-content span {
  font-size: 0.775rem;
  color: #94a3b8;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 26px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-box:nth-child(2) .trust-icon {
  color: var(--color-accent);
}

.trust-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.trust-text p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 85px 0;
  background-color: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.service-card.featured {
  border-color: var(--color-accent);
  position: relative;
}

.service-card.featured::before {
  content: 'TOP SPECIALIZACE';
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
}

.service-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-icon-badge {
  position: absolute;
  bottom: -18px;
  left: 22px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  z-index: 2;
}

.service-card.featured .service-icon-badge {
  color: var(--color-accent);
}

.service-body {
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.service-p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.service-features {
  margin-bottom: 20px;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-features svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-footer {
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   LPG SAVINGS CALCULATOR
   ========================================================================== */
.calc-section {
  padding: 85px 0;
  background: linear-gradient(135deg, #091325 0%, #0f1f3a 50%, #081729 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.calc-section .section-title {
  color: #fff;
}

.calc-section .section-subtitle {
  color: #cbd5e1;
}

.calc-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.calc-value-display {
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  min-width: 90px;
  text-align: right;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #334155;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  border: 2px solid #fff;
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  border: 2px solid #fff;
}

.calc-prices-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-input-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-input-box label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.calc-input-box input {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.calc-result-box {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.calc-result-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
}

.calc-result-header span {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.calc-savings-number {
  font-size: clamp(2.3rem, 3.8vw, 3rem);
  font-weight: 900;
  color: #4ade80;
  line-height: 1.1;
  margin: 6px 0;
  text-shadow: 0 0 25px rgba(74, 222, 128, 0.35);
}

.calc-savings-sub {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.calc-stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0;
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #cbd5e1;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.calc-stat-row strong {
  color: #fff;
  font-size: 1rem;
}

.calc-stat-row.highlight strong {
  color: #38bdf8;
}

.calc-cta-btn {
  width: 100%;
}

/* ==========================================================================
   ABOUT & EXPERTISE (No personal names, team-focused)
   ========================================================================== */
.about-section {
  padding: 85px 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-mosaic {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #fff;
}

.about-img-sub {
  position: absolute;
  bottom: -24px;
  right: -16px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #fff;
}

.about-experience-pill {
  position: absolute;
  top: 18px;
  left: -16px;
  background: var(--color-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-experience-pill strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
}

.about-experience-pill span {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 1.025rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.dept-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.dept-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.dept-card:hover {
  border-color: var(--color-primary);
}

.dept-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dept-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dept-card:nth-child(2) .dept-icon {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.dept-info h4 {
  font-size: 0.975rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
}

.dept-info span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.dept-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.dept-phone-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dept-phone-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */
.gallery-section {
  padding: 85px 0;
  background-color: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-bg-subtle);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-caption {
  color: #fff;
  font-size: 0.825rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.lightbox-caption {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  gap: 16px;
}

.faq-trigger:hover {
  background-color: var(--color-bg-subtle);
  color: var(--color-primary);
}

.faq-chevron {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  max-width: 22px;
  color: var(--color-text-light);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-body-inner {
  padding: 0 24px 22px 24px;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ==========================================================================
   LOCATION & MAP SECTION (Mapy.cz Embed)
   ========================================================================== */
.location-section {
  padding: 85px 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.location-info-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.location-info-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 18px;
}

.direction-box {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.direction-box p {
  font-size: 0.925rem;
  color: var(--color-dark);
  line-height: 1.5;
}

.direction-box strong {
  color: var(--color-accent-dark);
}

.address-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.address-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-item-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.address-item-text p {
  font-size: 0.975rem;
  color: var(--color-dark);
  font-weight: 700;
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  min-height: 440px;
  background-color: var(--color-bg-subtle);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: none;
  display: block;
}

/* ==========================================================================
   CONTACT SECTION (No personal names, no home sidlo)
   ========================================================================== */
.contact-section {
  padding: 85px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.contact-section .section-title {
  color: #fff;
}

.contact-section .section-subtitle {
  color: #cbd5e1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.direct-contact-card {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.direct-contact-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.card-dept-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-dept-title h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.card-dept-title span {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
  text-transform: uppercase;
}

.card-dept-badge {
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-dept-desc {
  font-size: 0.925rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 12px 0 18px 0;
}

.card-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.contact-line svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.contact-line a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-line a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.card-action-btn {
  margin-top: auto;
  padding-top: 24px;
}

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.company-info-bar {
  max-width: 1040px;
  margin: 32px auto 0 auto;
  background: rgba(15, 23, 42, 0.75);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-bar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 700;
}

.info-bar-item strong {
  color: #f1f5f9;
  font-size: 0.925rem;
  line-height: 1.45;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 25px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.825rem;
}

/* ==========================================================================
   FLOATING MOBILE ACTION BAR
   ========================================================================== */
.floating-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.floating-call-inner {
  display: flex;
  gap: 10px;
}

.floating-call-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Enhanced for Menu & Map)
   ========================================================================== */
@media (max-width: 1080px) {
  .topbar {
    display: none; /* Keep header focused and uncluttered */
  }

  /* Switch cleanly to hamburger on <= 1080px to prevent ANY menu wrapping */
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.mobile-active {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px 20px;
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.mobile-active .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }

  .main-nav.mobile-active .nav-link {
    color: #fff;
    font-size: 1.15rem;
    padding: 14px 10px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.mobile-active .nav-cta {
    margin: 20px 0 0 0;
    width: 100%;
  }

  .main-nav.mobile-active .nav-cta .btn {
    width: 100%;
    padding: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-container {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .company-info-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    max-width: calc(100% - 60px);
  }

  .brand-logo img {
    height: 32px;
    max-width: 220px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-container {
    padding: 24px;
  }

  .floating-call-bar {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dept-cards-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  .company-info-bar {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 14px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .calc-prices-row {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    position: static;
    margin-top: 14px;
  }
}
