/* ============================================
   MysliSrdcom — Subpage Styles v2
   Premium dizajn na urovni homepage
   Pouziva CSS premenne z :root v style.css
   ============================================ */

/* ---- SUBPAGE REVEAL ANIMATIONS ---- */
.sp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-reveal.sp-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delay for cards in grids */
.sp-cards .sp-card.sp-reveal:nth-child(2) { transition-delay: 0.08s; }
.sp-cards .sp-card.sp-reveal:nth-child(3) { transition-delay: 0.16s; }
.sp-cards .sp-card.sp-reveal:nth-child(4) { transition-delay: 0.24s; }
.sp-cards .sp-card.sp-reveal:nth-child(5) { transition-delay: 0.32s; }
.sp-cards .sp-card.sp-reveal:nth-child(6) { transition-delay: 0.40s; }
.sp-why-grid .sp-why-card.sp-reveal:nth-child(2) { transition-delay: 0.1s; }
.sp-why-grid .sp-why-card.sp-reveal:nth-child(3) { transition-delay: 0.2s; }
.sp-why-grid .sp-why-card.sp-reveal:nth-child(4) { transition-delay: 0.3s; }
.review-grid .review-card.sp-reveal:nth-child(2) { transition-delay: 0.08s; }
.review-grid .review-card.sp-reveal:nth-child(3) { transition-delay: 0.16s; }
.review-grid .review-card.sp-reveal:nth-child(4) { transition-delay: 0.24s; }
.review-grid .review-card.sp-reveal:nth-child(5) { transition-delay: 0.32s; }
.review-grid .review-card.sp-reveal:nth-child(6) { transition-delay: 0.40s; }
.review-grid .review-card.sp-reveal:nth-child(7) { transition-delay: 0.48s; }
.review-grid .review-card.sp-reveal:nth-child(8) { transition-delay: 0.56s; }
.review-grid .review-card.sp-reveal:nth-child(9) { transition-delay: 0.64s; }
.blog-grid .blog-card.sp-reveal:nth-child(2) { transition-delay: 0.12s; }


/* ============================================
   0. SPLIT LAYOUT — video + text vedla seba
   ============================================ */

.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.sp-split-video .subpage-video-container {
  margin: 24px 0 0;
}

.sp-split-video .sp-section-label,
.sp-split-video .sp-section-title {
  text-align: left;
}

.sp-split-text .sp-section-label,
.sp-split-text .sp-section-title {
  margin-bottom: 12px;
}
.sp-split-text .sp-section-title {
  margin-bottom: 28px;
}

/* Textove stily pre sp-intro-text */
.sp-text-lead {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.sp-intro-text strong {
  color: var(--text);
  font-weight: 700;
}

.sp-intro-text em {
  font-style: italic;
  color: var(--red);
  font-family: var(--font-serif);
}

.sp-text-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sp-text-highlight {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--red-subtle);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
}

/* ============================================
   1. SUBPAGE HERO — orby, noise, breadcrumb
   ============================================ */

.subpage-hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
}

/* Orby v hero pozadi */
.subpage-hero-orb-1,
.subpage-hero-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.subpage-hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(237,28,36,0.15), transparent 70%);
  top: -100px;
  right: -100px;
  animation: orbFloat1 20s ease-in-out infinite;
}
.subpage-hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(237,28,36,0.1), transparent 70%);
  bottom: -50px;
  left: -100px;
  animation: orbFloat2 18s ease-in-out infinite;
}

/* Breadcrumb navigacia */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb span:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: rgba(255,255,255,0.2);
}

/* Hlavny nadpis podstranky */
.subpage-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.subpage-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
}

/* Podnadpis */
.subpage-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Platform tagy v hero */
.subpage-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}
.subpage-platform-tag {
  font-size: 0.8125rem;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}


/* ============================================
   2. SECTION HEADERS — label + title
   ============================================ */

.sp-section-header {
  margin-bottom: 48px;
}
.sp-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.sp-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sp-section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
}

/* Starsie aliasy (spatna kompatibilita) */
.subpage-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}


/* ============================================
   3. CONTENT SECTIONS — padding, text
   ============================================ */

.subpage-content {
  padding: 80px 0;
}

.subpage-section {
  padding: 80px 0;
}
.subpage-section:last-child {
  margin-bottom: 0;
}

/* Uvodni text sekcie — "Preco" */
.subpage-text,
.sp-intro-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 32px;
}
.sp-intro-text mark,
.subpage-text mark {
  background: none;
  color: var(--red);
  font-weight: 700;
}

/* Starsi alias */
.subpage-section-text {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 0 16px;
  font-size: 1.05rem;
}


/* ============================================
   4. VIDEO SECTION — centralny 9:16 s glow
   ============================================ */

.subpage-video {
  padding: 0 0 80px;
}

.subpage-video-container,
.sp-video-container {
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

/* Glow efekt okolo videa */
.subpage-video-container::after,
.sp-video-container::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(from 0deg, var(--red), transparent 30%, transparent 70%, var(--red));
  z-index: -1;
  animation: videoGlow 4s linear infinite;
  opacity: 0.3;
}

@keyframes videoGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Portrait video placeholder */
.video-placeholder-portrait {
  aspect-ratio: 9 / 16;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Starsie layouty (spatna kompatibilita) */
.subpage-video-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.subpage-video-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.subpage-video-player .video-placeholder-portrait {
  border: none;
  border-radius: 0;
}
.subpage-video-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.subpage-video-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}


/* ============================================
   5. CARDS GRID — "Co vieme" (sp-card)
   ============================================ */

.sp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.sp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.sp-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}
.sp-card:hover::after {
  opacity: 0.5;
}

.sp-card-icon {
  width: 48px;
  height: 48px;
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
}
.sp-card-icon svg {
  width: 24px;
  height: 24px;
}

.sp-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.sp-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}
.sp-card-example {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--red);
  opacity: 0.7;
  font-style: italic;
}

/* Starsie card triedy (spatna kompatibilita) */
.subpage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.subpage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.subpage-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.subpage-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}
.subpage-card:hover::after {
  opacity: 0.5;
}
.subpage-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.subpage-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}
.subpage-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}
.subpage-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 12px;
}
.subpage-card-example,
.subpage-card .card-example {
  font-size: 0.8rem;
  color: var(--red);
  opacity: 0.7;
  font-style: italic;
  margin: 0;
}


/* ============================================
   6. STEPS — "Ako to prebieha" (sp-step)
   ============================================ */

.sp-steps {
  position: relative;
}
.sp-steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--red), var(--border));
}

.sp-step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.sp-step:last-child {
  border-bottom: none;
}

.sp-step-num {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red);
  min-width: 64px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sp-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.sp-step p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Starsie step triedy (spatna kompatibilita) */
.subpage-steps {
  display: grid;
  gap: 0;
  position: relative;
}
.subpage-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.subpage-step:last-child {
  border-bottom: none;
}
.subpage-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 1px solid var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--red);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.subpage-step h3 {
  font-weight: 700;
  margin-bottom: 4px;
}
.subpage-step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.subpage-step-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 8px;
}
.subpage-step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}


/* ============================================
   7. WHY US — 2x2 grid s pulse (sp-why-card)
   ============================================ */

.sp-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sp-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.sp-why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0.5;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.sp-why-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}

.sp-why-icon {
  width: 56px;
  height: 56px;
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  grid-row: 1 / -1;
  align-self: start;
  position: relative;
}

/* Pulse vlny ako pausaly na homepage */
.sp-why-icon::before,
.sp-why-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 1.5px solid var(--red);
  opacity: 0;
  animation: sp-pulse 2.5s ease-out infinite;
}
.sp-why-icon::after {
  inset: -14px;
  border-radius: 26px;
  animation-delay: 0.4s;
}

@keyframes sp-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Rozne oneskorenia pre kazdu kartu */
.sp-why-card:nth-child(2) .sp-why-icon::before { animation-delay: 0.6s; }
.sp-why-card:nth-child(2) .sp-why-icon::after  { animation-delay: 1.0s; }
.sp-why-card:nth-child(3) .sp-why-icon::before { animation-delay: 1.2s; }
.sp-why-card:nth-child(3) .sp-why-icon::after  { animation-delay: 1.6s; }
.sp-why-card:nth-child(4) .sp-why-icon::before { animation-delay: 1.8s; }
.sp-why-card:nth-child(4) .sp-why-icon::after  { animation-delay: 2.2s; }

.sp-why-icon svg {
  width: 28px;
  height: 28px;
}
.sp-why-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.sp-why-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Starsie benefit triedy (spatna kompatibilita) */
.subpage-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.subpage-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
}
.subpage-benefit-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.subpage-benefit strong {
  display: block;
  margin-bottom: 4px;
}
.subpage-benefit span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Starsi "Why Us" list */
.subpage-why-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.subpage-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}
.subpage-why-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
}


/* ============================================
   8. CTA SECTION — gradient + shimmer
   ============================================ */

.subpage-cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #1a0000 0%, #3a0a0a 35%, #4d1111 55%, #2d0606 80%, #120000 100%);
  position: relative;
  border-top: 1px solid rgba(237,28,36,0.15);
}
.subpage-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-bg);
  background-size: 256px 256px;
  pointer-events: none;
  opacity: 0.5;
}

.subpage-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.subpage-cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
}
.subpage-cta p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.125rem;
  position: relative;
}
.subpage-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}


/* ============================================
   9. REVIEW CARDS (recenzie.html)
   ============================================ */

.review-section {
  padding: 0 0 80px;
}

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

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.review-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}

/* Video v review karte */
.review-card .video-placeholder-portrait,
.review-video .video-placeholder-portrait {
  max-height: 350px;
  border-radius: 0;
  border: none;
}

/* Info pod videom */
.review-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-name {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--text);
}
.review-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}


/* ============================================
   10. CONTACT (kontakt.html)
   ============================================ */

/* Layout sekcii */
.contact-info-section {
  padding: 0 0 80px;
}
.contact-form-section {
  padding: 0 0 80px;
}
.contact-map-section {
  padding: 0 0 80px;
}

/* Kontaktne karty (grid) */
.contact-grid,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-grid {
  margin-bottom: 64px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s var(--ease);
  position: relative;
}
.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.contact-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}
.contact-card:hover::after {
  opacity: 0.5;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.15);
  margin: 0 auto 16px;
  color: var(--red);
}
.contact-card h3 {
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-card a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.contact-card a:hover {
  color: var(--red);
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.contact-card-value {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.contact-card-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Kontaktny formular */
.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.contact-form-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
}
.contact-form-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Form group */
.form-group,
.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.contact-form-group-full {
  width: 100%;
}

/* Labely */
.form-group label,
.contact-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.contact-optional {
  font-weight: 400;
  color: var(--text-muted);
}

/* Inputy */
.form-group input,
.form-group select,
.form-group textarea,
.contact-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237,28,36,0.1);
}
.contact-input::placeholder {
  color: var(--text-muted);
}

/* Textarea */
.form-group textarea,
.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

/* Select */
.form-group select,
.contact-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.4)' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.contact-select option {
  background: var(--bg-elevated);
  color: var(--text);
}

/* Submit */
.contact-submit {
  align-self: flex-start;
}

/* Alternativny kontakt pod formularom */
.contact-form-alt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-form-alt a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.contact-form-alt a:hover {
  text-decoration: underline;
}

/* Invalid state pre vstupy */
.contact-input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237,28,36,0.12);
}

/* Success stav po odoslani */
.contact-success {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  animation: contactSuccessIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.contact-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 2px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-success-icon svg {
  width: 32px;
  height: 32px;
}
.contact-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.contact-success p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.contact-success a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}
.contact-success a:hover {
  text-decoration: underline;
}
@keyframes contactSuccessIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mapa placeholder */
.contact-map-placeholder {
  width: 100%;
  margin-top: 64px;
  height: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Mapa embed */
.contact-map {
  width: 100%;
  margin-top: 64px;
  height: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.4s ease;
}
.contact-map:hover iframe {
  filter: grayscale(0) contrast(1);
}


/* ============================================
   11. BLOG GRID (blog.html)
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s var(--ease);
  display: block;
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.blog-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}
.blog-card:hover::after {
  opacity: 0.5;
}

/* Obrazok clanku */
.blog-card-img {
  aspect-ratio: 1200 / 630;
  background: var(--bg-card-hover);
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Telo karty */
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--red-subtle);
  padding: 4px 10px;
  border-radius: 6px;
}
.blog-card-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}


/* ============================================
   12. 404 PAGE
   ============================================ */

.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 20px 80px;
  position: relative;
}
.page-404-number {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(237,28,36,0.3);
}
.page-404 h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-404 p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}


/* ============================================
   12b. BLOG DETAIL (article)
   ============================================ */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}
.article-meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--red-subtle);
  padding: 4px 10px;
  border-radius: 6px;
}

.article-hero-img {
  aspect-ratio: 1200 / 630;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px auto 0;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-section {
  padding: 60px 0;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.article-body > p {
  margin: 0 0 20px;
}
.article-body h2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  line-height: 1.2;
  margin: 56px 0 20px;
  letter-spacing: -0.01em;
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 14px;
  line-height: 1.35;
}
.article-body strong {
  color: var(--text);
  font-weight: 700;
}
.article-body em {
  color: var(--red);
  font-style: italic;
}
.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.article-body a:hover {
  color: var(--text);
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-body ul li,
.article-body ol li {
  margin-bottom: 10px;
}
.article-body ul li::marker {
  color: var(--red);
}

.article-callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}
.article-callout strong {
  display: block;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.article-price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9375rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-price-table th,
.article-price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-price-table th {
  background: var(--bg-card-hover);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-price-table td:last-child {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}
.article-price-table tr:last-child td {
  border-bottom: none;
}

.article-share {
  max-width: 760px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.article-share-links {
  display: flex;
  gap: 10px;
}
.article-share-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.article-share-links a:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.article-share-links svg {
  width: 16px;
  height: 16px;
}

.related-section {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.related-section h2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}


/* ============================================
   13. HELPER — Schema JSON-LD (hidden)
   ============================================ */

.subpage-schema {
  display: none;
}


/* ============================================
   14. RESPONSIVE — TABLET (max 1024px)
   ============================================ */

@media (max-width: 1024px) {

  /* Cards: 3 -> 2 stlpce */
  .sp-cards,
  .subpage-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reviews: 3 -> 2 stlpce */
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Kontakt: 3 -> 2 stlpce */
  .contact-grid,
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Starsie video wrap: mensi gap */
  .subpage-video-wrap {
    gap: 32px;
  }

  /* Sections: mensi padding */
  .subpage-section {
    padding: 60px 0;
  }
  .subpage-cta {
    padding: 80px 0;
  }
}


/* ============================================
   15. RESPONSIVE — MOBILE (max 768px)
   ============================================ */

@media (max-width: 768px) {

  /* Split → 1 stĺpec */
  .sp-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sp-split-video .subpage-video-container {
    max-width: 280px;
    margin: 16px auto 0;
  }

  /* Hero */
  .subpage-hero {
    padding: 120px 0 48px;
  }
  .subpage-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .subpage-subtitle {
    font-size: 1rem;
  }
  .subpage-hero-orb-1 {
    width: 300px;
    height: 300px;
  }
  .subpage-hero-orb-2 {
    width: 250px;
    height: 250px;
  }

  /* Video: 1 stlpec */
  .subpage-video-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .video-placeholder-portrait {
    max-width: 280px;
    margin: 0 auto;
  }
  .subpage-video-player {
    max-width: 280px;
    margin: 0 auto;
  }
  .subpage-video-text {
    text-align: center;
  }
  .subpage-video-text p {
    margin: 0 auto;
  }
  .subpage-video-container,
  .sp-video-container {
    max-width: 280px;
  }

  /* Cards: 1 stlpec */
  .sp-cards,
  .subpage-cards {
    grid-template-columns: 1fr;
  }

  /* Steps: kompaktnejsie */
  .sp-step {
    gap: 24px;
    padding: 28px 0;
  }
  .sp-step-num {
    min-width: 48px;
    font-size: 1.25rem;
  }
  .sp-steps::before {
    left: 24px;
  }

  /* Why us: 1 stlpec */
  .sp-why-grid,
  .subpage-benefits {
    grid-template-columns: 1fr;
  }

  /* Reviews: 1 stlpec */
  .review-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .review-section {
    padding: 0 0 40px;
  }

  /* Kontakt: 1 stlpec */
  .contact-grid,
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-info-section {
    padding: 0 0 40px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-section {
    padding: 0 0 40px;
  }
  .contact-submit {
    align-self: stretch;
  }
  .contact-map-section {
    padding: 0 0 40px;
  }
  .contact-map-placeholder {
    height: 200px;
  }
  .contact-map {
    height: 280px;
    margin-top: 32px;
  }

  /* Blog: 1 stlpec */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Sections */
  .subpage-section {
    padding: 48px 0;
  }
  .subpage-content {
    padding: 40px 0;
  }
  .subpage-section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  /* CTA */
  .subpage-cta {
    padding: 60px 0;
  }

  /* Starsie step: mensi gap */
  .subpage-step {
    gap: 16px;
    padding: 20px 0;
  }

  /* Karty: mensi padding */
  .sp-card,
  .subpage-card {
    padding: 24px;
  }
  .contact-card {
    padding: 24px;
  }

  /* Blog card body */
  .blog-card-body {
    padding: 20px;
  }
  .blog-card-title {
    font-size: 1.125rem;
  }
}


/* ============================================
   16. RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */

@media (max-width: 480px) {

  /* Hero */
  .subpage-hero {
    padding: 100px 0 32px;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 0.8125rem;
    gap: 6px;
    margin-bottom: 16px;
  }

  /* Steps: kompaktnejsie */
  .subpage-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .subpage-step-num {
    width: 40px;
    height: 40px;
    font-size: 0.8125rem;
  }
  .sp-step {
    gap: 16px;
    padding: 20px 0;
  }
  .sp-steps::before {
    left: 20px;
  }

  /* CTA buttons: full width */
  .subpage-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .subpage-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Video placeholder */
  .video-placeholder-portrait {
    max-width: 240px;
  }
  .subpage-video-container,
  .sp-video-container {
    max-width: 240px;
  }

  /* Why card: mensi padding */
  .sp-why-card {
    padding: 20px;
    column-gap: 14px;
  }
  .sp-why-icon {
    width: 44px;
    height: 44px;
  }
  .subpage-benefit {
    padding: 16px;
  }

  /* 404 */
  .page-404 {
    padding: 120px 16px 60px;
  }

  /* Formular: mensie inputy */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .contact-input {
    padding: 12px 14px;
    font-size: 0.9375rem;
  }

  /* Section headers */
  .sp-section-title {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }

  /* Blog detail */
  .article-section {
    padding: 40px 0;
  }
  .article-body {
    font-size: 1rem;
  }
  .article-body h2 {
    margin: 40px 0 16px;
  }
  .article-body h3 {
    margin: 28px 0 10px;
  }
  .article-price-table th,
  .article-price-table td {
    padding: 10px 12px;
    font-size: 0.8125rem;
  }
  .article-callout {
    padding: 18px 20px;
  }
  .article-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .related-section {
    padding: 40px 0;
  }
  .related-section .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
