/*
 * ATV Centrum — o-nas.css — O nás
 * Závisí na: base.css, components.css
 */


/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 60px; color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,154,171,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--navy-muted); margin-bottom: 24px;
}
.page-hero-breadcrumb a { color: var(--navy-muted); }
.page-hero-breadcrumb a:hover { color: var(--teal-hover); }
.page-hero-breadcrumb svg { width: 14px; height: 14px; }
.page-hero h1 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease-out);
}
.page-hero h1 span { color: var(--teal); }
.page-hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.65);
  max-width: 580px; line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}
.hero-dealer-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(30,154,171,0.2); border: 1px solid rgba(30,154,171,0.4);
  color: var(--teal-hover); font-weight: 700; font-size: 15px;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 12px 24px; border-radius: 100px;
  margin-top: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}
.hero-dealer-badge svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================
   STORY / INTRO SECTION
   ============================================ */
.story-section { padding: var(--section-gap) 0; background: var(--white); }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.story-text .section-label { margin-bottom: 16px; }
.story-text h2 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.08; text-transform: uppercase;
  color: var(--navy); margin-bottom: 28px;
}
.story-text h2 span { color: var(--teal); }
.story-text p {
  font-size: 16px; line-height: 1.8; color: var(--gray-500);
  margin-bottom: 20px;
}
.story-text p:last-of-type { margin-bottom: 0; }
.story-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px; padding-top: 36px;
  border-top: 1px solid var(--gray-100);
}
.story-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  background: var(--gray-50); padding: 10px 18px;
  border-radius: 100px; border: 1px solid var(--gray-100);
}
.story-badge svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* Story visual — photo slider */
.story-visual { position: relative; }
.story-slider {
  border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3; position: relative;
  background: var(--gray-50);
}
.story-slider-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
}
.story-slider-slide.active { opacity: 1; }
.story-slider-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.slide-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--gray-300);
  background: var(--gray-50);
}
.slide-placeholder svg { width: 48px; height: 48px; }
.slide-placeholder span { font-size: 13px; }

.story-slider-dots {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.story-slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none;
  cursor: pointer; transition: all 0.3s ease;
}
.story-slider-dot.active {
  background: var(--white);
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Floating badge */
.story-badge-float {
  position: absolute; bottom: -24px; right: 32px;
  background: var(--teal); color: var(--white);
  padding: 18px 24px; border-radius: 16px;
  box-shadow: 0 8px 32px rgba(30,154,171,0.35);
  z-index: 3; text-align: center;
}
.story-badge-float strong {
  display: block; font-size: 32px; font-weight: 700; line-height: 1;
}
.story-badge-float span { font-size: 12px; opacity: 0.85; letter-spacing: 0.5px; }

/* ============================================
   STATS — DARK SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.stats-section::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none; opacity: 0.025;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.15) 40px, rgba(255,255,255,0.15) 42px);
}
.stats-section > .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; text-align: center;
}
.stat-item { color: var(--white); }
.stat-value {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(48px, 5vw, 72px); line-height: 1;
  color: var(--white); margin-bottom: 8px;
}
.stat-value span { font-size: 0.65em; color: var(--teal); }
.stat-desc {
  font-size: 14px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}
.stats-divider {
  width: 60px; height: 3px; background: var(--teal);
  margin: 0 auto 12px; border-radius: 2px; opacity: 0.5;
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services-section { padding: var(--section-gap) 0; background: var(--gray-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-overview-card {
  background: var(--white); border-radius: 16px;
  padding: 36px 28px; border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative; overflow: hidden;
}
.service-overview-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-overview-card:hover {
  border-color: var(--teal); transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30,154,171,0.12);
}
.service-overview-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-overview-card h3 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 18px; text-transform: uppercase;
  letter-spacing: 0.3px; color: var(--navy); margin-bottom: 12px;
}
.service-overview-card p {
  font-size: 14px; line-height: 1.7; color: var(--gray-400);
}
.service-overview-card .service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--teal);
  margin-top: 20px; transition: all var(--transition-base);
}
.service-overview-card .service-link:hover { gap: 10px; }

/* ============================================
   BRANDS & AUTHORIZATION
   ============================================ */
.brands-section { padding: var(--section-gap) 0; background: var(--white); }
.brands-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.brand-card {
  border-radius: 20px; padding: 48px 40px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative; overflow: hidden;
}
.brand-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(30,154,171,0.1);
}
.brand-card-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.brand-logo-wrap {
  width: 120px; height: 60px; border-radius: 10px;
  background: var(--navy); border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo-img {
  max-width: 56px; max-height: 44px; object-fit: contain;
}
.brand-logo-img--goes {
  max-height: 50px;
}
.brand-logo-placeholder {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 16px; color: var(--navy); text-transform: uppercase;
  letter-spacing: 1px;
}
.brand-card-header h3 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 22px; text-transform: uppercase; color: var(--navy);
}
.brand-card-header .brand-subtitle {
  font-size: 13px; color: var(--gray-400); margin-top: 4px;
}
.brand-card p {
  font-size: 15px; line-height: 1.8; color: var(--gray-500);
  margin-bottom: 16px;
}
.brand-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 24px;
}
.brand-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--navy);
}
.brand-feature svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* Authorization badge */
.auth-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); color: var(--teal-dark);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-top: 20px;
}
.auth-badge svg { width: 16px; height: 16px; }

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
.reviews-section {
  padding: var(--section-gap) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative; overflow: hidden;
}
.reviews-section::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none; opacity: 0.025;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.15) 40px, rgba(255,255,255,0.15) 42px);
}
.reviews-section > .container { position: relative; z-index: 1; }
.reviews-section .section-label { color: var(--teal-hover); }
.reviews-section .section-title { color: var(--white); }
.reviews-section .section-subtitle { color: rgba(255,255,255,0.5); }

/* Google rating summary */
.reviews-summary {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 52px;
  padding: 24px 40px; border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.reviews-google-icon {
  display: flex; align-items: center; gap: 10px;
}
.reviews-google-icon svg { width: 28px; height: 28px; }
.reviews-google-icon span {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.6); letter-spacing: 0.5px;
}
.reviews-rating {
  display: flex; align-items: center; gap: 12px;
}
.reviews-rating-number {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 36px; color: var(--white); line-height: 1;
}
.reviews-stars { display: flex; gap: 3px; }
.reviews-stars svg { width: 20px; height: 20px; color: #FBBC04; }
.reviews-count {
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* Review cards */
.reviews-carousel {
  position: relative; overflow: hidden;
}
.reviews-group {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
.reviews-group.active {
  opacity: 1; transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.reviews-dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 32px;
}
.reviews-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none;
  cursor: pointer; transition: all 0.3s ease;
}
.reviews-dot.active {
  background: var(--teal); width: 28px; border-radius: 5px;
  box-shadow: 0 0 10px rgba(30,154,171,0.4);
}
.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px;
  transition: all var(--transition-base);
}
.review-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(30,154,171,0.3);
  transform: translateY(-4px);
}
.review-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.review-author {
  font-weight: 600; font-size: 15px; color: var(--white);
}
.review-stars {
  display: flex; gap: 2px; margin-top: 3px;
}
.review-stars svg { width: 14px; height: 14px; color: #FBBC04; }
.review-text {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.6); font-style: italic;
}
.review-text::before { content: '„'; color: var(--teal); font-weight: 700; }
.review-text::after { content: '"'; color: var(--teal); font-weight: 700; }

.reviews-cta {
  text-align: center; margin-top: 40px;
}
.reviews-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--teal-hover);
  transition: all var(--transition-base);
}
.reviews-cta a:hover { gap: 12px; color: var(--white); }

/* ============================================
   PARTNERSHIP STRIP — QuadKit + Journeyman
   ============================================ */
.partnership-section {
  padding: 60px 0; background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.partnership-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: stretch;
}
.partnership-card {
  display: flex; align-items: flex-start; gap: 24px;
  background: var(--white); border-radius: 16px;
  padding: 32px; border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}
.partnership-card:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 24px rgba(30,154,171,0.1);
  transform: translateY(-3px);
}
.partnership-logo {
  width: 120px; height: 60px; border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.partnership-logo img {
  max-width: 96px; max-height: 40px; object-fit: contain;
}
.partnership-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.partnership-icon svg { width: 26px; height: 26px; }
.partnership-card h3 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 17px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.partnership-card p {
  font-size: 14px; line-height: 1.7; color: var(--gray-400);
  margin-bottom: 12px;
}
.partnership-card a.partnership-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--teal);
  transition: all var(--transition-base);
}
.partnership-card a.partnership-link:hover { gap: 10px; }

/* ============================================
   VALUES SECTION
   ============================================ */
.values-section { padding: var(--section-gap) 0; background: var(--white); }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-card { text-align: center; }
.value-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(30,154,171,0.08) 100%);
  color: var(--teal); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px; transition: all var(--transition-base);
}
.value-card:hover .value-icon {
  background: var(--teal); color: var(--white);
  box-shadow: 0 8px 24px rgba(30,154,171,0.3);
  transform: translateY(-4px);
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 17px; text-transform: uppercase;
  letter-spacing: 0.3px; color: var(--navy); margin-bottom: 10px;
}
.value-card p {
  font-size: 14px; line-height: 1.7; color: var(--gray-400);
  max-width: 320px; margin: 0 auto;
}

/* ============================================
   COMPANY INFO — Legal
   ============================================ */
.company-section { padding: 60px 0; background: var(--gray-50); }
.company-card {
  max-width: 800px; margin: 0 auto;
  background: var(--white); border-radius: 16px;
  padding: 40px 48px; border: 1px solid var(--gray-100);
}
.company-card h3 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 18px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 4px;
}
.company-card .company-subtitle {
  font-size: 14px; color: var(--gray-400); margin-bottom: 24px;
}
.company-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
}
.company-meta-item .meta-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--gray-400); display: block;
  margin-bottom: 4px;
}
.company-meta-item .meta-value {
  font-size: 15px; font-weight: 600; color: var(--navy);
}
.company-note {
  font-size: 13px; color: var(--gray-400); line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { padding: var(--section-gap) 0; background: var(--white); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 4/3; background: var(--gray-50);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--gray-300); gap: 8px;
}
.gallery-placeholder svg { width: 32px; height: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { max-width: 600px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: 1fr; }
  .partnership-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .reviews-group { grid-template-columns: repeat(2, 1fr); }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) { padding: 0 0 0 48px; justify-content: flex-start; }
  .timeline::before { left: 16px; }
  .timeline-dot { left: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .header-inner { height: 70px; }
  .page-hero { margin-top: 70px; padding: 60px 0 44px; }
  .logo img { height: 48px; }
  .story-grid { gap: 36px; }
  .story-badges { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-group { grid-template-columns: 1fr; }
  .reviews-summary { flex-direction: column; text-align: center; padding: 20px 24px; }
  .brand-card { padding: 32px 24px; }
  .partnership-card { flex-direction: column; gap: 16px; padding: 24px; }
  .brand-features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .company-card { padding: 28px 24px; }
  .company-meta { flex-direction: column; gap: 16px; }
  .contact-strip-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 36px; }
  .story-badge-float { right: 16px; padding: 14px 18px; }
  .story-badge-float strong { font-size: 26px; }
  .social-section { padding: 36px 0; }
  .social-link { width: 48px; height: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
