/* ============================================================
   Chatbot — Hlavní styly
   Design: Premium Navy & Blue
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --navy:        #1a2744;
  --navy-dark:   #0d1b2a;
  --navy-mid:    #243156;
  --navy-light:  #2d4a8a;
  --gold:        #00afed;
  --gold-light:  #33c3f5;
  --gold-pale:   #e0f6fe;
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --gray-100:    #f1f3f7;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #64748b;
  --gray-800:    #1e293b;
  --text:        #2d3748;
  --text-light:  #718096;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(26,39,68,.08);
  --shadow:      0 4px 24px rgba(26,39,68,.12);
  --shadow-lg:   0 12px 48px rgba(26,39,68,.18);
  --shadow-gold: 0 8px 32px rgba(0,175,237,.25);

  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: .15s ease;

  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-pad: 100px 0;
  --container:   1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* musí být i zde — samotný body nestačí na mobilech */
}

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

::selection { background: var(--gold); color: var(--white); }

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold-light); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { line-height: 1.75; color: var(--text-light); }

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.font-serif { font-family: var(--font-serif); }

/* ── Buttons ── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,175,237,.4);
  color: var(--white);
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 31px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary-custom:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Section Titles ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.section-title {
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px auto;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(47,57,68,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

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

.navbar-logo {
  height: 44px;
  width: auto;
}

.navbar-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo-icon {
  width: 46px;
  height: 50px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0,175,237,.4));
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 5px;
}

.navbar-logo-text .name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.navbar-logo-text .title {
  font-size: .72rem;
  color: rgba(0,175,237,.9);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 16px !important;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,.3) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  padding-top: 35px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(13,27,42,.88) 0%, rgba(26,39,68,.75) 60%, rgba(45,74,138,.65) 100%);
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,175,237,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Animated grid overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--gold);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 680px;
  text-align: left;
  line-height: 1.7;
  list-style: none;
  padding: 0;
}

.hero-subtitle li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 8px;
  text-align: left;
}

.hero-subtitle li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Velké hlavní CTA tlačítko v hero */
.btn-hero-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  padding: 18px 44px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0,175,237,.45);
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,175,237,.5);
  color: var(--white);
}

/* Trust řádek pod CTA */
.hero-trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  color: rgba(255,255,255,.55);
  font-size: .87rem;
}

.hero-trust-row i {
  color: var(--gold);
  margin-right: 5px;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,.3);
}

/* Hero stats card */
.hero-stats-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
}

.hero-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,175,237,.5), transparent);
}

.hero-stat-item {
  text-align: center;
  padding: 16px 0;
}

.hero-stat-item + .hero-stat-item {
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Stats Section ── */
#stats {
  background: var(--navy-dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.08);
}

.stat-card:last-child::after { display: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── About Section ── */
#about {
  padding: var(--section-pad);
  background:
    radial-gradient(ellipse 70% 60% at 100% 50%, rgba(0,175,237,.06) 0%, transparent 55%),
    linear-gradient(145deg, #2f3944 0%, #3a4a58 50%, #2a3845 100%);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,175,237,.07) 0%, transparent 65%);
  pointer-events: none;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap .avatar {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
  /* Gradient overlay ze spodu — bílé bg fotky přejde do tmavé */
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.about-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2f3944 0%, #3f4957 60%, #2a3845 100%);
  border-radius: var(--radius-xl);
  z-index: 0;
  border: 1px solid rgba(0,175,237,.2);
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #2f3944, #3f4957);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  min-width: 180px;
  border: 1px solid rgba(0,175,237,.25);
}

.about-badge-card .badge-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-badge-card .badge-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-badge-card .badge-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

.about-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
}

.cert-badge i { color: var(--gold); }

/* About section — dark background overrides */
#about .section-tag {
  background: rgba(0,175,237,.15);
  color: var(--gold);
}
#about .section-title {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
#about .section-title em {
  color: var(--gold);
  font-style: italic;
}
#about p {
  color: rgba(255,255,255,.92);
}
#about p strong {
  color: #fff;
}
#about .cert-badge {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
}
#about .btn-outline-gold {
  color: var(--gold);
  border-color: var(--gold);
}
#about .btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Services Section ── */
#services {
  padding: var(--section-pad);
  background: var(--off-white);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: .95rem;
  line-height: 1.65;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 20px;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link { gap: 10px; }

/* ── CTA Paths (3 cesty) ── */
#cta-paths {
  padding: var(--section-pad);
}

.cta-path-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  height: 100%;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.cta-path-card.cta-path-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: var(--gold);
  color: var(--white);
}

.cta-path-card.cta-path-featured h3,
.cta-path-card.cta-path-featured p {
  color: rgba(255,255,255,.9);
}

.cta-path-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cta-path-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.cta-path-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 700;
}

.cta-path-card p {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 24px;
}

/* ── How It Works ── */
#how-it-works {
  padding: var(--section-pad);
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

#how-it-works::before {
  content: '';
  position: absolute;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,175,237,.06) 0%, transparent 70%);
}

.how-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  height: 100%;
}

.how-step:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(0,175,237,.2);
  transform: translateY(-4px);
}

.how-step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .4;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
  transition: opacity var(--transition);
}

.how-step:hover .how-step-number { opacity: .8; }

.how-step-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.how-step-content p {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
}

/* ── Listings Teaser ── */
#listings {
  padding: var(--section-pad);
  background: var(--white);
}

.listing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

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

.listing-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.listing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.listing-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(13,27,42,.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.listing-body {
  padding: 24px;
}

.listing-body h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.listing-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.listing-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  color: var(--text-light);
}

.listing-meta-item i { color: var(--gold); font-size: .8rem; }

/* ── Testimonials ── */
#testimonials {
  padding: var(--section-pad);
  background: var(--off-white);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  border: 1px solid var(--gray-200);
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold-pale);
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author-info .name {
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
}

.testimonial-author-info .detail {
  font-size: .8rem;
  color: var(--text-light);
}

/* ── FAQ Section ── */
#faq {
  padding: var(--section-pad);
  background: var(--white);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,175,237,.12);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-question:hover { background: var(--gray-100); }

.faq-item.open .faq-question { background: var(--gold-pale); color: var(--navy); }

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-chevron {
  background: var(--gold);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── Contact Section ── */
#contact {
  padding: var(--section-pad);
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

#contact::after {
  content: '';
  position: absolute;
  right: -150px;
  bottom: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,175,237,.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,175,237,.15);
  border: 1px solid rgba(0,175,237,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item .label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.contact-info-item .value {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
}

.contact-info-item .value a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-item .value a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-label-custom {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}

.form-control-custom {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .95rem;
  width: 100%;
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-control-custom::placeholder { color: rgba(255,255,255,.3); }

.form-control-custom:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(0,175,237,.15);
}

textarea.form-control-custom { resize: vertical; min-height: 120px; }

/* ── Footer ── */
#footer {
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 70% at -5%  115%, rgba(0,175,237,.18)  0%, transparent 48%),
    radial-gradient(ellipse 60% 60% at 108%  -5%, rgba(45,74,138,.4)    0%, transparent 50%),
    linear-gradient(145deg, #2c3542 0%, #3f4957 40%, #35424f 70%, #2a3845 100%);
}

/* Animovaný zlatý glow blob */
@keyframes footerBreath {
  0%, 100% { opacity: .55; transform: scale(1)    translateY(0); }
  50%       { opacity: .9;  transform: scale(1.18) translateY(-16px); }
}

#footer::before {
  content: '';
  position: absolute;
  bottom: -140px;
  left:   -90px;
  width:  560px;
  height: 560px;
  background: radial-gradient(circle,
    rgba(0,175,237,.24) 0%,
    rgba(0,175,237,.08) 40%,
    transparent 68%);
  border-radius: 50%;
  animation: footerBreath 9s ease-in-out infinite;
  pointer-events: none;
}

/* Pohybující se mřížka */

/* Zjednodušená patička — hlavní řádek */
.footer-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 12px 0;
}

.footer-info-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info-label {
  color: var(--gold);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.footer-info-item:hover { color: var(--white); }

.footer-sep {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .footer-main-row { flex-direction: column; align-items: flex-start; }
  .footer-sep { display: none; }
  .navbar-logo-text { display: flex; }
  .navbar-logo-text .title { display: none; }
  .navbar-logo-text .name { font-size: 1.1rem; }
}

.footer-brand .name {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand .subtitle {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-desc {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 340px;
}

.footer-heading {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

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

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: rgba(255,255,255,.85);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,.06);
  margin: 40px 0 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
}

.footer-copyright a:hover {
  color: rgba(255,255,255,.7) !important;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */

/* Floating Button */
#chatbot-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0085b5, #00afed);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,175,237,.5), 0 0 0 0 rgba(0,175,237,.4);
  transition: var(--transition);
  animation: chatbot-ring 3s ease-in-out 2s infinite;
  will-change: box-shadow;
}

@keyframes chatbot-ring {
  0%, 90%, 100% { box-shadow: 0 8px 32px rgba(0,175,237,.5), 0 0 0 0 rgba(0,175,237,.4); }
  45% { box-shadow: 0 8px 32px rgba(0,175,237,.5), 0 0 0 16px rgba(0,175,237,0); }
}

#chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

#chatbot-toggle .icon-chat,
#chatbot-toggle .icon-close {
  position: absolute;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.4rem;
}

#chatbot-toggle .icon-chat[src] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #8AD7F3;
  box-sizing: border-box;
}

#chatbot-toggle .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(.5);
}

#chatbot-toggle.open .icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(.5);
}

#chatbot-toggle.open .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Notification badge */
.chatbot-notif {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--white);
  font-size: .7rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

#chatbot-toggle.open .chatbot-notif { display: none; }

/* ── Chatbot speech bubble ───────────────────────────────── */
#chatbot-bubble {
  position: fixed;
  bottom: 112px;
  right: 28px;
  z-index: 9997;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 18px 18px 4px 18px;
  padding: 13px 36px 13px 16px;
  max-width: 240px;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--navy);
  box-shadow: 0 6px 28px rgba(26,39,68,.18);
  cursor: pointer;
  opacity: 0;
  transform: scale(.88) translateY(6px);
  transform-origin: bottom right;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  user-select: none;
}

#chatbot-bubble.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: bubble-shake 6s ease-in-out 3s infinite;
}

@keyframes bubble-shake {
  0%, 14%, 100% { transform: scale(1) translateY(0) rotate(0deg); }
  2%            { transform: scale(1) translateY(-2px) rotate(-2deg); }
  4%            { transform: scale(1) translateY(0px)  rotate(2deg); }
  6%            { transform: scale(1) translateY(-2px) rotate(-1.5deg); }
  8%            { transform: scale(1) translateY(0px)  rotate(1deg); }
  10%           { transform: scale(1) translateY(-1px) rotate(0deg); }
}

/* Ocas bubliny — trojúhelník dolů-vpravo směrem k tlačítku */
#chatbot-bubble::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: 22px;
  border: 7px solid transparent;
  border-top-color: var(--gold);
  border-bottom: 0;
}

#chatbot-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 23px;
  border: 6px solid transparent;
  border-top-color: var(--white);
  border-bottom: 0;
  z-index: 1;
}

/* Tlačítko pro zavření bubliny */
#chatbot-bubble-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: .7rem;
  padding: 2px 4px;
  opacity: .4;
  line-height: 1;
  transition: opacity .2s;
}

#chatbot-bubble-close:hover { opacity: 1; }

/* Chat Window */
#chatbot-window {
  position: fixed;
  bottom: 112px;
  right: 32px;
  z-index: 9998;
  width: 380px;
  max-width: calc(100vw - 24px);
  max-height: 620px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 80px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.92) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}

#chatbot-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #0085b5 0%, #00afed 100%);
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
}

.chat-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,175,237,.4), transparent);
}

.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-mid);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0,175,237,.3);
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-header-info .chat-name {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
}

.chat-header-info .chat-status {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.chat-header-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.chat-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: .85rem;
}

.chat-action-btn:hover {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

/* Progress Bar */
.chat-progress {
  background: rgba(255,255,255,.1);
  height: 3px;
  border-radius: 0;
  flex-shrink: 0;
}

.chat-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 2px 2px 0;
  transition: width .5s ease;
  min-width: 0;
}

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

/* Message Bubbles */
.chat-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: msgIn .25s ease;
}

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

.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-mid);
  overflow: hidden;
  flex-shrink: 0;
}
.msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: .92rem;
  line-height: 1.55;
  word-break: break-word;
  max-width: 280px;
}

.chat-msg.bot .msg-bubble {
  background: var(--gray-100);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.msg-bubble strong { color: inherit; }
.chat-msg.bot .msg-bubble strong { color: var(--navy); }

/* Typing Indicator */
.chat-msg.typing .msg-bubble {
  padding: 12px 18px;
}

.typing-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: typing .9s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .30s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Quick Reply Buttons */
.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  max-width: 300px;
  animation: msgIn .3s ease .1s both;
}

.chat-quick-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  line-height: 1.3;
  font-family: var(--font-body);
}

.chat-quick-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold-pale);
  transform: translateX(2px);
}

.chat-quick-btn:active {
  transform: translateX(0);
}

.chat-skip-btn {
  display: block;
  width: fit-content;
  max-width: 300px;
  color: var(--gray-600);
  border-color: var(--gray-200);
  font-weight: 400;
  margin-top: 4px;
}

.chat-skip-btn:hover {
  border-color: var(--gray-400) !important;
  color: var(--navy) !important;
  background: var(--gray-100) !important;
  transform: translateX(2px);
}


.chat-quick-btn.selected {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: transparent;
  color: var(--white);
}

/* Estimate Result Card */
.chat-estimate-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
  margin-top: 4px;
  max-width: 300px;
  animation: msgIn .3s ease .15s both;
}

.chat-estimate-card .est-label {
  font-size: .78rem;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.chat-estimate-card .est-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.chat-estimate-card .est-note {
  font-size: .72rem;
  opacity: .45;
  margin-top: 10px;
  font-style: italic;
}

.chat-estimate-card .est-range {
  font-size: .8rem;
  opacity: .6;
}

/* Input Area */
.chat-input-area {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  flex-shrink: 0;
}

.chat-input-wrap {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: .92rem;
  font-family: var(--font-body);
  color: var(--text);
  resize: none;
  overflow-y: hidden;
  outline: none;
  transition: var(--transition-fast);
  max-height: 100px;
  line-height: 1.5;
}

.chat-input:focus {
  border-color: var(--gold);
  background: var(--white);
}

.chat-input::placeholder { color: var(--gray-400); }

.chat-send-btn {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
  font-size: .9rem;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-gold);
}

.chat-send-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}

.chat-footer-text {
  text-align: center;
  font-size: .7rem;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ── Success Toast ── */
.toast-custom {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 99999;
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  pointer-events: none;
}

.toast-custom.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-custom i { color: #22c55e; font-size: 1.1rem; }

/* ── Loading Overlay ── */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--radius-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll to Top ── */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  font-size: .9rem;
}

#scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── AOS overrides ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── Responsive ── */
@media (max-width: 992px) {
  :root { --section-pad: 72px 0; }

  #hero { min-height: auto; padding: 35px 0 50px; background-attachment: scroll; }

  .hero-stats-card { margin-top: 40px; }

  .hero-stat-item + .hero-stat-item { border-top: 1px solid rgba(255,255,255,.08); border-left: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero-cta-group { flex-direction: column; }
  .btn-primary-custom, .btn-secondary-custom { width: 100%; justify-content: center; }

  .stat-card::after { display: none; }

  /* Chatbot — fullscreen na mobilech */
  #chatbot-window {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    transform-origin: bottom center;
  }

  /* Speech bubble — menší a výše na mobilu */
  #chatbot-bubble {
    bottom: 100px;
    right: 20px;
    max-width: 210px;
    font-size: .82rem;
  }

  /* Plovoucí tlačítko — skrýt když je chat otevřen (X v headeru to zastoupí) */
  #chatbot-toggle {
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: 24px;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 20px rgba(26,39,68,.5), 0 0 0 0 rgba(0,175,237,.4);
  }

  #chatbot-toggle.open {
    display: none;
  }

  /* Větší hit area pro dotykové ovládání */
  .chat-action-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .about-badge-card { right: 0; }

  .contact-form-card, .contact-info-card { padding: 24px 20px; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.9rem; }
  .chat-quick-replies { max-width: 100%; }
  .msg-bubble { max-width: 240px; }
}
