/* ==========================================================================
   AK HÖLBLING & PARTNEŘI - UNIFORM LIGHT ROYAL BLUE DESIGN SYSTEM
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  /* Color Palette - Uniform Rich Espresso Brown Everywhere */
  --bg-brand-blue: #2A1B14;
  --bg-brand-blue-hover: #3E281E;
  --bg-brand-blue-light: rgba(42, 27, 20, 0.08);
  
  --bg-site-body: #FAFAFC;
  --bg-section-light: #FFFFFF;
  --bg-section-alt: #F4F6F9;
  --bg-card-white: #FFFFFF;
  
  /* Brand Accent Colors */
  --accent-gold: #C5A059;
  --accent-gold-hover: #A8833E;
  --accent-gold-light: rgba(197, 160, 89, 0.12);
  --accent-gold-border: rgba(197, 160, 89, 0.35);

  /* Typography Colors */
  --text-dark-primary: #111827;
  --text-dark-secondary: #4B5563;
  --text-dark-muted: #6B7280;
  --text-white: #FFFFFF;
  --text-white-muted: rgba(255, 255, 255, 0.85);

  /* Typography Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1240px;
  --header-height: 85px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 6px 20px rgba(197, 160, 89, 0.28);
  --border-light: 1px solid #E2E8F0;
}

/* 2. BASE & RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-site-body);
  color: var(--text-dark-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-dark-primary);
}

.section-title.light { color: var(--text-dark-primary); }
.section-title.dark { color: var(--text-dark-primary); }

.section-subtitle {
  font-size: 1.1rem;
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 48px;
  color: var(--text-dark-secondary);
}
.section-subtitle.light { color: var(--text-dark-secondary); }
.section-subtitle.dark { color: var(--text-dark-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
}

.btn-ref-gold {
  background-color: var(--accent-gold);
  color: var(--bg-brand-blue);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.35);
}

.btn-ref-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.btn-ref-outline {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}

.btn-ref-outline:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--bg-brand-blue);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1.5px solid var(--bg-brand-blue);
  color: var(--bg-brand-blue);
  background: transparent;
  font-weight: 700;
}

.btn-outline-dark:hover {
  border-color: var(--accent-gold);
  background-color: var(--bg-brand-blue);
  color: #FFFFFF;
}

/* ==========================================================================
   3. HEADER & NAVIGATION - Uniform Light Royal Blue (#14254C)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(42, 27, 20, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header.scrolled {
  background-color: rgba(42, 27, 20, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  height: 64px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo Cross-Fade Wrapper (60 FPS Sametový přechod barvy) */
.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo-wrapper {
  height: 42px;
}

.logo-img {
  height: 100%;
  width: auto;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
}

.logo-gold {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0) saturate(100%) invert(69%) sepia(40%) saturate(548%) hue-rotate(7deg) brightness(93%) contrast(89%);
  opacity: 0;
}

.logo-white {
  position: relative;
  z-index: 2;
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Při najetí myší (hover): Bílé logo mizí (opacity: 0), Zlaté logo vyvstává (opacity: 1) */
.logo-wrapper:hover .logo-gold {
  opacity: 1;
}

.logo-wrapper:hover .logo-white {
  opacity: 0;
}

.footer .logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition-fast);
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   4. HERO SECTION - Uniform Light Royal Blue (#14254C)
   ========================================================================== */
.hero-reference {
  position: relative;
  min-height: 88vh;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: var(--bg-brand-blue);
  background-image: url('herobg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right -100px top 0px;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    #2A1B14 0%, 
    rgba(42, 27, 20, 0.95) 25%, 
    rgba(42, 27, 20, 0.55) 55%, 
    rgba(42, 27, 20, 0.10) 85%);
  z-index: 1;
}

/* Decorative Wireframe Geometrics & Sparkles */
.hero-geo-decoration {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 2;
}

.geo-left {
  top: 15%;
  left: -100px;
}

.geo-right {
  bottom: -50px;
  right: -50px;
  width: 380px;
  height: 380px;
  border-color: rgba(197, 160, 89, 0.2);
}

.hero-sparkle {
  position: absolute;
  color: rgba(197, 160, 89, 0.55);
  font-size: 1.4rem;
  pointer-events: none;
  z-index: 2;
}

.sparkle-left { top: 75%; left: 6%; }
.sparkle-right { top: 20%; right: 5%; }
.sparkle-bottom { bottom: 12%; right: 42%; }

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);
  padding-top: 40px;
  padding-bottom: 60px;
  display: flex;
  justify-content: flex-start;
}

.hero-main-content {
  width: 100%;
  max-width: 680px;
  margin-left: 300px;
  margin-right: auto;
}

.hero-ref-title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.16;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  width: 100%;
  max-width: none;
}

.hero-ref-subtitle {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 40px;
  width: 100%;
  max-width: none;
  font-weight: 400;
}

.hero-ref-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. SEKCE B: DŮVĚŘUJÍ NÁM / SOCIAL PROOF (Loga partnerů)
   ========================================================================== */
.social-proof-section {
  padding: 90px 0;
  background-color: #FFFFFF;
  border-bottom: var(--border-light);
  overflow: hidden;
}

.social-proof-header {
  text-align: center;
  margin-bottom: 48px;
}

.partner-logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partner-logos-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  animation: logoMarqueeLeftToRight 45s linear infinite;
  will-change: transform;
}

.partner-logo-card {
  background: var(--bg-card-white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  padding: 14px 20px;
  width: 190px;
  height: 95px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.partner-logo-duplicate {
  display: flex !important;
}

.partner-logo-img {
  max-width: 155px;
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes logoMarqueeLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* ==========================================================================
   6. SEKCE C: KLÍČOVÉ SLUŽBY & SPECIALIZACE - Clean Minimalist Design
   ========================================================================== */
.specializations-section {
  padding: 100px 0;
  background-color: #FFFFFF;
  border-bottom: var(--border-light);
}

.services-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.spec-card {
  background: var(--bg-card-white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.spec-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.spec-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--bg-brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.spec-icon-box svg {
  width: 26px;
  height: 26px;
  color: var(--accent-gold);
  stroke: var(--accent-gold);
}

.spec-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 14px;
  line-height: 1.35;
}

.spec-desc {
  font-size: 0.92rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.spec-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed #E2E8F0;
  padding-top: 16px;
}

.spec-bullets li {
  font-size: 0.88rem;
  color: var(--text-dark-primary);
  font-weight: 500;
  position: relative;
  padding-left: 18px;
}

.spec-bullets li::before {
  content: "•";
  color: var(--accent-gold);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.spec-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bg-brand-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.spec-link .arrow {
  transition: transform var(--transition-fast);
}

.spec-link:hover,
.spec-card:hover .spec-link,
.pricing-row-card:hover .spec-link {
  color: var(--accent-gold);
}

.spec-link:hover .arrow,
.spec-card:hover .spec-link .arrow,
.pricing-row-card:hover .spec-link .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   6B. SEKCE C2: CENÍK & FORMY ODMĚNY ADVOKÁTA
   ========================================================================== */
.pricing-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-section-alt);
  border-bottom: var(--border-light);
  overflow: hidden;
}

.pricing-section .container {
  position: relative;
  z-index: 5;
}

.pricing-geo-decoration {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.pricing-geo-top-right {
  top: -80px;
  right: -90px;
  width: 440px;
  height: 440px;
  border-color: rgba(197, 160, 89, 0.2);
}

.pricing-geo-bottom-left {
  bottom: 6%;
  left: -120px;
  width: 340px;
  height: 340px;
  border-color: rgba(197, 160, 89, 0.25);
}

.pricing-sparkle {
  position: absolute;
  color: rgba(197, 160, 89, 0.65);
  font-size: 1.4rem;
  pointer-events: none;
  z-index: 1;
}

.pricing-sparkle-1 { top: 10%; left: 8%; }
.pricing-sparkle-2 { top: 48%; right: 4%; }
.pricing-sparkle-3 { bottom: 6%; right: 42%; }

.pricing-header-center {
  text-align: center;
  margin-bottom: 48px;
}

/* Garanční karta: První konzultace zdarma (Světlý prémiový styl) */
.pricing-guarantee-card {
  background: var(--bg-card-white);
  border: 1.5px solid var(--accent-gold);
  border-radius: 14px;
  padding: 36px 44px;
  margin-bottom: 48px;
  display: block;
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.12);
  position: relative;
  overflow: hidden;
}

.pricing-guarantee-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent-gold);
}

.guarantee-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--accent-gold-hover);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.guarantee-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--bg-brand-blue);
  margin-bottom: 10px;
}

.guarantee-text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  margin: 0;
}

.guarantee-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.free-price-box {
  background: linear-gradient(135deg, var(--bg-brand-blue) 0%, var(--bg-brand-blue-hover) 100%);
  border: 1px solid var(--accent-gold-border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.free-price-amount {
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.free-price-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  display: block;
}

/* 2x2 Grid pro ceníkové karty */
.pricing-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.pricing-row-card {
  background: var(--bg-card-white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #E2E8F0;
}

.pricing-row-title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin: 0;
}

.pricing-card-price {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-label-small {
  font-size: 0.74rem;
  color: var(--text-dark-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.price-amount {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bg-brand-blue);
  line-height: 1.2;
}

.price-period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.pricing-row-desc {
  font-size: 0.92rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.pricing-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px dashed #E2E8F0;
  margin-top: auto;
}

.price-detail-note {
  font-size: 0.78rem;
  color: var(--accent-gold-hover);
  font-weight: 600;
}

.pricing-btn-action {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--bg-brand-blue);
  border: 1.5px solid var(--bg-brand-blue);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.pricing-btn-action:hover {
  background-color: var(--bg-brand-blue);
  color: #FFFFFF;
  border-color: var(--bg-brand-blue);
  box-shadow: 0 4px 12px rgba(42, 27, 20, 0.25);
}

.pricing-card-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.pricing-disclaimer {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .pricing-2x2-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .pricing-row-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 20px;
  }
  .pricing-guarantee-card {
    padding: 28px 24px;
  }
}

/* ==========================================================================
   7. SEKCE D: SOCIÁLNÍ DŮKAZ & PŘÍPADOVÉ STUDIE
   ========================================================================== */
.proof-section {
  padding: 100px 0;
  background-color: var(--bg-section-light);
  border-bottom: var(--border-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.case-card {
  background: var(--bg-card-white);
  border: var(--border-light);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.case-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark-primary);
  margin-bottom: 8px;
}

.case-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bg-brand-blue);
  margin-bottom: 16px;
}

.case-desc {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.certifications-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 32px;
  background: var(--bg-section-alt);
  border: var(--border-light);
  border-radius: 8px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cert-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
}

.cert-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark-primary);
}

.cert-sub {
  font-size: 0.82rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   8. SEKCE E: O ADVOKÁTOVI & TÝM
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-section-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-box img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

.about-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--bg-brand-blue);
  border-left: 3px solid var(--accent-gold);
  padding-left: 20px;
  margin: 24px 0;
}

.about-text {
  color: var(--text-dark-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-signature {
  margin-top: 32px;
  display: flex;
  gap: 40px;
}

.signature-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark-primary);
}

.signature-role {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
}

/* Fotogalerie Kanceláře */
.gallery-section {
  padding: 0 0 100px 0;
  background-color: var(--bg-section-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 37, 76, 0.92) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   SEKCE TÝM (Team Section) - Light Premium Style
   ========================================================================== */
.team-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-section-alt);
  border-bottom: var(--border-light);
  overflow: hidden;
}

.team-section .container {
  position: relative;
  z-index: 5;
}

.team-geo-decoration {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.team-geo-left {
  top: 6%;
  left: -100px;
}

.team-geo-right {
  bottom: 2%;
  right: -110px;
  width: 420px;
  height: 420px;
  border-color: rgba(197, 160, 89, 0.2);
}

.team-sparkle {
  position: absolute;
  color: rgba(197, 160, 89, 0.65);
  font-size: 1.4rem;
  pointer-events: none;
  z-index: 1;
}

.team-sparkle-1 { top: 14%; left: 7%; }
.team-sparkle-2 { top: 22%; right: 6%; }
.team-sparkle-3 { bottom: 10%; left: 45%; }

/* Vodoznak advokátních vah v pozadí (vlevo dole, natočené doprava) */
.team-scales-bg {
  position: absolute;
  bottom: -50px;
  left: -50px;
  transform: rotate(18deg);
  width: 420px;
  height: 420px;
  color: var(--accent-gold);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.team-scales-bg svg {
  width: 100%;
  height: 100%;
}

.team-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.center-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
}

.team-card {
  background: var(--bg-card-white);
  border: var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.team-card-img-box {
  position: relative;
  height: 480px;
  width: 100%;
  overflow: hidden;
  background-color: #E2E8F0;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.team-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--bg-brand-blue);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.team-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 4px;
  text-align: center;
}

.team-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.team-details-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: var(--border-light);
}

.team-detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #E2E8F0;
  text-align: center;
}

.team-detail-inline {
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.team-detail-inline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.team-detail-divider {
  width: 1px;
  height: 28px;
  background-color: #CBD5E1;
}

.team-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.team-detail-label {
  color: var(--text-dark-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.team-detail-val {
  color: var(--text-dark-primary);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
}

.team-email-link,
.team-tel-link {
  color: var(--bg-brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.team-email-link:hover,
.team-tel-link:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   9. SEKCE F: KONTAKT (Minimalistický – bez formuláře)
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-section-alt);
  border-top: var(--border-light);
}

.contact-simple-header {
  text-align: center;
  margin-bottom: 56px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dark-primary);
}

.contact-info-subtitle {
  color: var(--text-dark-secondary);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.contact-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-item {
  background: var(--bg-card-white);
  border: var(--border-light);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--bg-brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold);
}

.contact-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  line-height: 1.5;
}

.contact-item-link {
  color: var(--bg-brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-item-link:hover {
  color: var(--accent-gold);
}

/* Old form styles kept for modal */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  color: var(--text-dark-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #FFFFFF;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dark-secondary);
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--bg-brand-blue);
  font-weight: 600;
  text-align: center;
  margin-top: -8px;
}

.alert-success {
  display: none;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #15803d;
  padding: 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================================================
   10. SEKCE G: NAJDETE NÁS ZDE – Hero s fotkou jako pozadím (Původní velký styl pro 27"+)
   ========================================================================== */
.location-section {
  position: relative;
  min-height: 1100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Fotka jako absolutní pozadí */
.location-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.location-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Tmavý overlay pro čitelnost textu */
.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(42, 27, 20, 0.05) 0%,
    rgba(42, 27, 20, 0.30) 50%,
    rgba(42, 27, 20, 0.82) 100%
  );
}

/* Obsah nad pozadím */
.location-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.location-text-box {
  width: 55%;
  max-width: 600px;
  background: rgba(42, 27, 20, 0.48);
  backdrop-filter: blur(10px);
  padding: 56px 48px;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.35), 0 0 24px rgba(197, 160, 89, 0.2);
  transform: translateX(220px);
  transition: all var(--transition-smooth);
}

.location-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  line-height: 1.2;
  text-align: center;
}

.location-address-centered {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 300;
  color: #FFFFFF;
  margin: 20px 0 32px 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.location-address-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.location-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-gold);
}

.location-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.location-address {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.55;
}

.location-link {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.location-link:hover {
  color: var(--accent-gold);
}

.location-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--accent-gold);
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  align-self: center;
  white-space: nowrap;
}

.location-map-btn:hover {
  background: #FFFFFF;
  color: var(--bg-brand-blue);
  transform: translateY(-2px);
}

/* Úpravy pro obrazovky menší než 27 palců (pod 1920px) */
@media (max-width: 1920px) {
  .location-section { min-height: 850px; }
  .location-content { padding: 60px 0; }
  .location-text-box {
    width: 100%;
    max-width: 460px;
    padding: 30px 26px;
    transform: translateX(40px);
  }
  .location-title { font-size: 2rem; margin-bottom: 16px; }
  .location-address-centered { font-size: 0.95rem; margin: 14px 0 20px 0; }
  .location-info { gap: 16px; }
  .location-address-block { gap: 12px; align-items: center; }
  .location-icon { width: 40px; height: 40px; border-radius: 8px; }
  .location-icon svg { width: 18px; height: 18px; }
  .location-label { font-size: 0.7rem; margin-bottom: 2px; }
  .location-address, .location-link { font-size: 0.92rem; }
  .location-map-btn { padding: 11px 20px; font-size: 0.85rem; }
}

@media (max-width: 1600px) {
  .location-section { min-height: 800px; }
  .location-text-box {
    max-width: 420px;
    padding: 26px 22px;
    transform: translateX(0);
  }
  .location-title { font-size: 1.8rem; }
}

@media (max-width: 1200px) {
  .location-section { min-height: 750px; }
  .location-text-box {
    max-width: 390px;
    padding: 22px 18px;
    transform: translateX(0);
  }
  .location-title { font-size: 1.5rem; margin-bottom: 10px; }
  .location-address-centered { margin: 8px 0 14px 0; font-size: 0.88rem; }
}

@media (max-width: 992px) {
  .location-section { min-height: auto; padding: 40px 0; }
  .location-content { justify-content: center; padding: 40px 0; }
  .location-text-box { width: 100%; max-width: 100%; padding: 24px 20px; transform: translateX(0); }
  .location-title { font-size: 1.6rem; }
  .location-info { flex-direction: column; gap: 16px; }
}

/* ==========================================================================
   10B. MINI MAPA UVNITŘ PANELU
   ========================================================================== */
.location-mini-map {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 4px;
  line-height: 0;
}

.location-mini-map iframe {
  width: 100%;
  height: 250px;
  display: block;
}

@media (max-width: 1920px) {
  .location-mini-map iframe {
    height: 180px;
  }
}

/* ==========================================================================
   11. PATIČKA (FOOTER) - Uniform Light Royal Blue (#14254C)
   ========================================================================== */
.footer {
  padding: 64px 0 32px 0;
  background-color: var(--bg-brand-blue);
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-text {
  color: var(--text-white-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-white-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* ==========================================================================
   11. MODÁLNÍ OKNO - Uniform Light Royal Blue Tone (#14254C Backdrop)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 37, 76, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-md);
  color: var(--text-dark-primary);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-dark-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   12. COMPREHENSIVE RESPONSIVE BREAKPOINTS (ALL MOBILE SIZES)
   ========================================================================== */

/* Tablet & Medium Screens (<= 992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 80px;
  }

  .header {
    height: 80px;
  }

  .hero-reference {
    background-image: url('heromobile.jpg');
    background-position: center 10%;
    background-size: cover;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(42, 27, 20, 0.12) 0%, 
      rgba(42, 27, 20, 0.35) 30%, 
      rgba(42, 27, 20, 0.88) 65%,
      rgba(42, 27, 20, 0.98) 100%);
  }

  .hero-main-content {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-ref-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid, .contact-grid, .cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .pricing-2x2-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .location-section {
    min-height: 100vh;
  }

  .location-bg-img {
    display: none;
  }

  .location-bg {
    background-image: url('kontakt.jpg');
    background-size: cover;
    background-position: 7% top;
    background-repeat: no-repeat;
  }

  .location-overlay {
    display: none !important;
  }
}

/* Mobile Devices & Tablets (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 75px;
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .header {
    height: 75px;
  }

  .logo-img {
    max-height: 42px;
  }

  /* Navigation Drawer for Mobile */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--bg-brand-blue);
    flex-direction: column;
    padding: 24px 20px;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 0.98rem;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-toggle {
    display: block;
    font-size: 1.6rem;
    padding: 6px 12px;
  }

  /* Section Spacing on Mobile */
  .social-proof-section,
  .specializations-section,
  .pricing-section,
  .team-section,
  .contact-section,
  .proof-section,
  .about-section {
    padding: 56px 0;
  }

  /* Partner Logos Infinite Ticker Mobile Only */
  .social-proof-section {
    overflow: hidden;
  }

  .partner-logos-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .partner-logos-track {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: max-content;
    animation: logoMarqueeLeftToRight 35s linear infinite;
    will-change: transform;
  }

  .partner-logo-card {
    width: 165px;
    height: 82px;
    padding: 12px 16px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .partner-logo-duplicate {
    display: flex !important;
  }

  .partner-logo-img {
    max-width: 115px;
    max-height: 44px;
  }

  /* Hero Section Mobile */
  .hero-reference {
    min-height: 85vh;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 48px;
    background-image: url('heromobile.jpg');
    background-position: center 10%;
    background-size: cover;
    display: flex;
    align-items: flex-end;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(42, 27, 20, 0.12) 0%, 
      rgba(42, 27, 20, 0.35) 30%, 
      rgba(42, 27, 20, 0.88) 65%,
      rgba(42, 27, 20, 0.98) 100%);
  }

  .hero-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: clamp(240px, 40vh, 380px);
    padding-bottom: 36px;
    width: 100%;
  }

  .hero-ref-title {
    font-size: 2.1rem;
    line-height: 1.22;
    margin-bottom: 16px;
  }

  .hero-ref-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-ref-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 0.88rem;
  }

  .hero-geo-decoration,
  .hero-sparkle,
  .team-geo-decoration,
  .team-sparkle,
  .pricing-geo-decoration,
  .pricing-sparkle {
    display: none;
  }

  /* Team Section Details */
  .team-card-img-box {
    height: 360px;
  }

  .team-card-content {
    padding: 24px 20px;
  }

  .team-name {
    font-size: 1.45rem;
  }

  /* Team Section Details Mobile */
  .team-detail-inline {
    flex-direction: column !important;
    gap: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .team-detail-inline-col {
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #E2E8F0;
    text-align: center;
  }

  .team-detail-divider {
    display: none !important;
  }

  .team-details-grid > *:last-child,
  .team-details-grid > *:last-child > *:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Specializations & Pricing Cards */
  .spec-card {
    padding: 26px 20px;
  }

  .pricing-guarantee-card {
    padding: 24px 20px;
    margin-bottom: 28px;
  }

  .guarantee-title {
    font-size: 1.35rem;
  }

  .pricing-row-card {
    padding: 24px 20px;
  }

  /* Location Section */
  .location-section {
    min-height: 100vh;
    padding: 36px 0 48px 0;
    display: flex;
    align-items: flex-start;
  }

  .location-bg-img {
    display: none;
  }

  .location-bg {
    background-image: url('kontakt.jpg');
    background-size: cover;
    background-position: 7% top;
    background-repeat: no-repeat;
  }

  .location-overlay {
    display: none !important;
  }

  .location-content {
    justify-content: center;
    padding: 0;
    margin-top: 0;
    width: 100%;
  }

  .location-text-box {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    transform: translateX(0);
    border-radius: 12px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px 0;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
    text-align: center;
  }

  .footer-col-title,
  .footer-text {
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Modal Window */
  .modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .modal-container {
    padding: 28px 20px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px 16px 12px 12px;
  }
}

/* Small Mobile Phones (<= 576px) */
@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .social-proof-header,
  .services-header-center,
  .pricing-header-center,
  .team-header-center {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }

  /* Partner Logos Small Mobile */
  .partner-logos-track {
    gap: 10px;
    animation-duration: 16s;
  }

  .partner-logo-card {
    width: 140px;
    height: 72px;
    padding: 8px 10px;
  }

  .partner-logo-img {
    max-height: 38px;
    max-width: 100px;
  }

  /* Pricing Row Cards */
  .pricing-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .pricing-card-price {
    align-items: flex-start;
  }

  /* Form Controls */
  .form-input, .form-textarea, select.form-input {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    font-size: 1.5rem;
    padding: 6px;
  }
}

/* Extra Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-ref-title {
    font-size: 1.68rem;
    letter-spacing: 0.01em;
  }

  .hero-ref-subtitle {
    font-size: 0.88rem;
    margin-bottom: 22px;
  }

  .team-card-img-box {
    height: 300px;
  }

  .team-card-content {
    padding: 18px 14px;
  }

  .team-name {
    font-size: 1.3rem;
  }

  .spec-card,
  .pricing-guarantee-card,
  .pricing-row-card {
    padding: 18px 14px;
  }

  .location-text-box {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .location-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .location-address-centered {
    font-size: 0.88rem;
    margin: 8px 0 14px 0;
  }

  .location-mini-map iframe {
    height: 160px;
  }

  .location-address-block {
    gap: 10px;
  }

  .location-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .location-icon svg {
    width: 16px;
    height: 16px;
  }

  .location-address,
  .location-link {
    font-size: 0.88rem;
    word-break: break-word;
  }
}

/* Ultra Compact Mobile Phones (<= 360px) */
@media (max-width: 360px) {
  .hero-ref-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .btn {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   12. SUBPAGES & LEGAL DOCUMENTS (GDPR, etc.)
   ========================================================================== */
.subpage-hero {
  position: relative;
  background-color: var(--bg-brand-blue);
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 56px;
  text-align: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.subpage-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.subpage-hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-white-muted);
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-page-section {
  padding: 60px 0 90px 0;
  background-color: var(--bg-site-body);
}

.legal-content-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid #E2E8F0;
  color: var(--text-dark-primary);
  line-height: 1.75;
}

.legal-content-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--bg-brand-blue);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-gold);
}

.legal-content-card h2:first-of-type {
  margin-top: 0;
}

.legal-content-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content-card p {
  margin-bottom: 16px;
  color: var(--text-dark-secondary);
}

.legal-content-card ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content-card li {
  margin-bottom: 12px;
  color: var(--text-dark-secondary);
  list-style: disc;
}

.legal-content-card strong {
  color: var(--text-dark-primary);
  font-weight: 600;
}

.legal-meta-box {
  background: var(--bg-section-alt);
  border-left: 4px solid var(--accent-gold);
  padding: 20px 24px;
  border-radius: 4px;
  margin-top: 40px;
  margin-bottom: 24px;
}

.legal-meta-box p {
  margin-bottom: 6px;
}

.legal-meta-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .subpage-hero {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 40px;
  }

  .legal-content-card {
    padding: 28px 20px;
  }

  .legal-content-card h2 {
    font-size: 1.3rem;
    margin-top: 28px;
  }
}

/* ==========================================================================
   COOKIE POPUP & PREFERENCES MODAL
   ========================================================================== */

/* 1. Cookie Banner (Bottom Floating Bar/Card) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: var(--bg-brand-blue, #2A1B14);
  border: 1px solid var(--accent-gold-border, rgba(197, 160, 89, 0.35));
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  padding: 24px;
  color: var(--text-white, #ffffff);
  z-index: 9990;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cookie-banner.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cookie-banner-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.cookie-banner-title {
  font-family: var(--font-heading, serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white, #ffffff);
  margin: 0;
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.cookie-banner-text a {
  color: var(--accent-gold, #C5A059);
  text-decoration: underline;
  transition: color var(--transition-fast, 0.2s);
}

.cookie-banner-text a:hover {
  color: #ffffff;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-cookie-accept {
  background: var(--accent-gold, #C5A059);
  color: #ffffff;
  border: 1px solid var(--accent-gold, #C5A059);
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition-fast, 0.2s), transform var(--transition-fast, 0.2s), box-shadow var(--transition-fast, 0.2s);
}

.btn-cookie-accept:hover {
  background: var(--accent-gold-hover, #A8833E);
  border-color: var(--accent-gold-hover, #A8833E);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-cookie-reject {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition-fast, 0.2s), border-color var(--transition-fast, 0.2s);
}

.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-cookie-settings {
  background: transparent;
  color: var(--accent-gold, #C5A059);
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  transition: color var(--transition-fast, 0.2s);
}

.btn-cookie-settings:hover {
  color: #ffffff;
}

/* 2. Detailed Cookie Modal Overlay & Container */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 29, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.cookie-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-card {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.cookie-modal-backdrop.active .cookie-modal-card {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.cookie-modal-header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #FAFAFC;
}

.cookie-modal-title-group h3 {
  font-family: var(--font-heading, serif);
  font-size: 1.35rem;
  color: var(--text-dark-primary, #111827);
  margin-bottom: 4px;
}

.cookie-modal-title-group p {
  font-size: 0.88rem;
  color: var(--text-dark-muted, #6B7280);
}

.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #9CA3AF;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.cookie-modal-close:hover {
  color: #111827;
  background: #E5E7EB;
}

/* Modal Body / Items */
.cookie-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-category-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}

.cookie-category-item:hover {
  border-color: rgba(197, 160, 89, 0.4);
}

.cookie-category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-category-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark-primary, #111827);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-badge-always {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--accent-gold-hover, #A8833E);
  padding: 3px 8px;
  border-radius: 4px;
}

.cookie-category-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dark-secondary, #4B5563);
  margin: 0;
}

/* Custom Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #CBD5E1;
  border-radius: 26px;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-switch-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-switch input:checked + .cookie-switch-slider {
  background-color: var(--accent-gold, #C5A059);
}

.cookie-switch input:checked + .cookie-switch-slider::before {
  transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-switch-slider {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Modal Footer */
.cookie-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid #E2E8F0;
  background: #FAFAFC;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.btn-cookie-save {
  background: var(--bg-brand-blue, #2A1B14);
  color: #ffffff;
  border: 1px solid var(--bg-brand-blue, #2A1B14);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-cookie-save:hover {
  background: var(--bg-brand-blue-hover, #3E281E);
  border-color: var(--bg-brand-blue-hover, #3E281E);
}

.btn-cookie-modal-accept {
  background: var(--accent-gold, #C5A059);
  color: #ffffff;
  border: 1px solid var(--accent-gold, #C5A059);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-cookie-modal-accept:hover {
  background: var(--accent-gold-hover, #A8833E);
  border-color: var(--accent-gold-hover, #A8833E);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

/* Mobile Responsiveness for Cookies */
@media (max-width: 576px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 20px 18px;
  }

  .cookie-banner-buttons {
    grid-template-columns: 1fr;
  }

  .cookie-modal-card {
    max-height: 94vh;
    border-radius: 16px;
  }

  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cookie-modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .btn-cookie-save,
  .btn-cookie-modal-accept {
    width: 100%;
    text-align: center;
  }
}

