/* ============================================================================
 * design-polish-2026-05-17.css — VHV SPEED homepage profi polish
 * Načítá se PO bg-theme-b.css, doplňuje / přepisuje.
 * A1 Pozadí • A2 Dividery • A3 Karty • A4 Process • A5 Compare • A6 Testimonials
 * A7 B2B teaser • A8 News • A9 Footer wave • A10 Typografie
 * Žádné změny HTML obsahu — vše čistě CSS přes ::before/::after a selektory.
 * ========================================================================== */

/* ================================================
 * A10. TYPOGRAFIE — Inter heading font + eyebrow
 * ================================================ */
html body {
  font-family: 'Inter', 'Roboto', system-ui, -apple-system, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.vhv-process h2, .vhv-compare h2, .vhv-testimonials h2,
.vhv-segments-head h2, .vhv-facts h2, .vhv-faq h2,
.kb-row-layout-id5_801688-57 h2 {
  font-family: 'Inter', 'Ubuntu', system-ui, sans-serif !important;
  letter-spacing: -.015em;
  font-weight: 800 !important;
}

.vhv-process h2,
.vhv-compare h2,
.vhv-testimonials h2,
.vhv-segments-head h2,
.vhv-facts h2,
.vhv-faq h2 {
  font-size: clamp(1.9rem, 1.35rem + 1.5vw, 2.55rem) !important;
  line-height: 1.18 !important;
  color: #03274b !important;
  margin: 0 0 .8rem !important;
}

/* Eyebrow decorative label nad H2 — čistě CSS */
section.vhv-process .vhv-process-inner > h2::before,
section.vhv-compare .vhv-compare-inner > h2::before,
section.vhv-testimonials .vhv-testimonials-head > h2::before,
section.vhv-facts .vhv-facts-inner > h2::before,
section.vhv-faq .vhv-faq-inner > h2::before {
  content: "VHV SPEED";
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: #da251d;
  text-transform: uppercase;
  margin-bottom: .55rem;
  font-family: 'Inter', system-ui, sans-serif;
}
section.vhv-process .vhv-process-inner > h2::before { content: "PRŮBĚH"; }
section.vhv-compare .vhv-compare-inner > h2::before { content: "SROVNÁNÍ"; }
section.vhv-testimonials .vhv-testimonials-head > h2::before { content: "REFERENCE"; }
section.vhv-facts .vhv-facts-inner > h2::before { content: "DŮVĚRA"; }
section.vhv-faq .vhv-faq-inner > h2::before { content: "ČASTÉ DOTAZY"; }

/* ================================================
 * A1. POZADÍ — posílit ambient + grain + banding
 * ================================================ */

/* Posílit existující ambient mesh */
body::before {
  background:
    radial-gradient(900px 700px at 12% 5%,   rgba(0,97,165,.16),   transparent 60%),
    radial-gradient(820px 620px at 88% 28%,  rgba(218,37,29,.075), transparent 60%),
    radial-gradient(1100px 900px at 30% 65%, rgba(0,97,165,.11),   transparent 60%),
    radial-gradient(900px 760px at 80% 95%,  rgba(3,39,75,.11),    transparent 60%),
    radial-gradient(700px 500px at 50% 38%,  rgba(0,97,165,.06),   transparent 65%) !important;
}

/* Grain texture — subtle premium feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.15 0 0 0 0 0.29 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }

/* Section banding — jemný tint pod některými sekcemi (alternace bílá / tint) */
section.vhv-process,
section.vhv-testimonials,
section.vhv-faq {
  position: relative;
}
section.vhv-process::before,
section.vhv-testimonials::before,
section.vhv-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(241,247,253,.92) 8%,
      rgba(241,247,253,.92) 92%,
      transparent 100%);
  pointer-events: none;
}

/* Dot pattern decorative — Stripe-like v rozích klíčových sekcí */
section.vhv-process .vhv-process-inner,
section.vhv-compare .vhv-compare-inner,
section.vhv-testimonials .vhv-testimonials-inner,
section.vhv-faq .vhv-faq-inner,
.vhv-segments-inner {
  position: relative;
}
section.vhv-process .vhv-process-inner::after,
section.vhv-compare .vhv-compare-inner::after,
.vhv-segments-inner::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(0,97,165,.20) 1.3px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at top right, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at top right, #000 0%, transparent 80%);
}

/* ================================================
 * A2. SECTION DIVIDERS — jemný SVG wave přechod
 * ================================================ */
.vhv-process-inner > .vhv-process-cta,
.vhv-compare-inner > .vhv-compare-table-wrap,
.vhv-testimonials-inner > .vhv-testimonials-grid {
  position: relative;
}

section.vhv-compare + section.vhv-testimonials::before,
section.vhv-testimonials + section.vhv-outage-cta::before {
  /* už řeší banding */
}

/* Jemná dashed-wave linie pod nadpisy sekcí (decorative) */
section.vhv-process .vhv-process-inner > h2,
section.vhv-compare .vhv-compare-inner > h2,
section.vhv-testimonials .vhv-testimonials-head h2,
section.vhv-faq .vhv-faq-inner > h2 {
  position: relative;
  padding-bottom: 1rem;
}
section.vhv-process .vhv-process-inner > h2::after,
section.vhv-compare .vhv-compare-inner > h2::after,
section.vhv-testimonials .vhv-testimonials-head h2::after,
section.vhv-faq .vhv-faq-inner > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #da251d 0%, #0061a5 100%);
  border-radius: 2px;
}
.vhv-testimonials-head { text-align: left !important; }
.vhv-testimonials-head h2 { margin-bottom: 1rem !important; }
@media (max-width: 768px) {
  .vhv-testimonials-head h2::after { left: 50%; transform: translateX(-50%); }
  .vhv-testimonials-head { text-align: center !important; }
}

/* ================================================
 * A3. KARTY — sjednotit radius, border, hover
 * ================================================ */
.vhv-process-inner,
.vhv-compare-inner,
.vhv-facts-inner,
.vhv-testimonial,
.vhv-outage-inner,
.vhv-faq-inner,
.vhv-coverage-inner,
.vhv-kontakt-inner,
.vhv-onas-card,
.vhv-cov-form,
.vhv-cov-result,
.kb-row-layout-id5_801688-57 .kt-inside-inner-col,
article.loop-entry {
  border-radius: 18px !important;
  border: 1px solid rgba(15,23,42,.06) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 4px 12px rgba(15,23,42,.05),
    0 14px 36px rgba(0,97,165,.06) !important;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.1),
              box-shadow .35s ease,
              border-color .35s ease !important;
}

.vhv-testimonial:hover,
.kb-row-layout-id5_801688-57 .kt-inside-inner-col:hover,
article.loop-entry:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(0,97,165,.20) !important;
  box-shadow:
    0 4px 10px rgba(15,23,42,.06),
    0 14px 32px rgba(0,97,165,.12),
    0 28px 64px rgba(3,39,75,.10) !important;
}

/* Segment cards už mají vlastní polish — nech bg a tint, jen sjednoť border */
.vhv-segment-card {
  border: 1px solid rgba(15,23,42,.06) !important;
}

/* ================================================
 * A4. PROCESS — větší kruhy, connecting line
 * ================================================ */
.vhv-process-steps {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 2.5rem 0 1.5rem !important;
  counter-reset: none;
}
.vhv-process-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(218,37,29,.45) 50%, transparent 50%);
  background-size: 14px 2px;
  z-index: 0;
}
.vhv-process-steps li {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  text-align: center;
  z-index: 1;
  padding: 0 !important;
  margin: 0 !important;
}
.vhv-process-steps li::marker { content: none !important; }
.vhv-process-num {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #da251d 0%, #b70f07 100%) !important;
  color: #fff !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow:
    0 6px 18px rgba(218,37,29,.35),
    0 0 0 6px rgba(255,255,255,.95);
  margin: 0 0 1.1rem !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: -.02em;
}
.vhv-process-step-text {
  font-size: .96rem;
  color: #2d3748;
  line-height: 1.5;
}
.vhv-process-step-text strong {
  display: block;
  margin-bottom: .35rem;
  color: #03274b;
  font-size: 1.02rem;
  font-weight: 700;
}
.vhv-process-step-text br { display: none; }
@media (max-width: 768px) {
  .vhv-process-steps {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .vhv-process-steps::before { display: none; }
  .vhv-process-steps li {
    flex-direction: row !important;
    text-align: left !important;
    gap: 1rem;
    align-items: flex-start;
  }
  .vhv-process-num {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    font-size: 1.4rem !important;
    margin: 0 !important;
  }
}

/* ================================================
 * A5. COMPARE TABLE — branded
 * ================================================ */
.vhv-compare-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15,23,42,.08);
  margin: 2rem 0 1rem;
}
.vhv-compare-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  background: #fff;
}
.vhv-compare-table thead th {
  background: linear-gradient(135deg, #03274b 0%, #0a4a8a 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 1.15rem 1rem !important;
  text-align: left !important;
  font-size: 1.04rem !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: -.005em;
}
.vhv-compare-table thead th small {
  display: block;
  font-weight: 400;
  font-size: .8rem;
  opacity: .82;
  margin-top: .2rem;
  letter-spacing: 0;
}
.vhv-compare-table thead th.vhv-compare-us {
  background: linear-gradient(135deg, #da251d 0%, #b70f07 100%) !important;
  position: relative;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}
.vhv-compare-table thead th.vhv-compare-us::after {
  content: "★";
  position: absolute;
  top: .9rem;
  right: 1rem;
  font-size: 1.2rem;
  opacity: .3;
}
.vhv-compare-table tbody tr:nth-child(even) td,
.vhv-compare-table tbody tr:nth-child(even) th {
  background: #f6f9fc !important;
}
.vhv-compare-table tbody tr:nth-child(odd) td,
.vhv-compare-table tbody tr:nth-child(odd) th {
  background: #ffffff !important;
}
.vhv-compare-table tbody th[scope="row"] {
  font-weight: 600 !important;
  color: #03274b !important;
  padding: .95rem 1rem !important;
  border: none !important;
  border-bottom: 1px solid rgba(15,23,42,.05) !important;
  text-align: left !important;
  font-size: .98rem;
}
.vhv-compare-table tbody td {
  padding: .95rem 1rem !important;
  color: #4a5568 !important;
  border: none !important;
  border-bottom: 1px solid rgba(15,23,42,.05) !important;
  font-size: .98rem;
}
.vhv-compare-table tbody td.vhv-compare-us {
  background: rgba(218,37,29,.05) !important;
  color: #1a202c !important;
  font-weight: 500 !important;
}
.vhv-compare-table tbody tr:nth-child(even) td.vhv-compare-us {
  background: rgba(218,37,29,.085) !important;
}
.vhv-compare-table tbody tr:last-child td,
.vhv-compare-table tbody tr:last-child th {
  border-bottom: none !important;
}

/* ================================================
 * A6. TESTIMONIALS — větší karty + quote mark
 * ================================================ */
.vhv-testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1100px;
  margin: 0 auto !important;
}
@media (max-width: 768px) {
  .vhv-testimonials-grid { grid-template-columns: 1fr !important; }
}
.vhv-testimonial {
  padding: 2.1rem 1.9rem 1.85rem !important;
  position: relative;
  overflow: hidden;
}
.vhv-testimonial::before {
  content: "\201C";
  position: absolute;
  top: -1.2rem;
  right: 1rem;
  font-size: 7rem;
  line-height: 1;
  color: rgba(0,97,165,.08);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  pointer-events: none;
  z-index: 0;
}
.vhv-testimonial > * { position: relative; z-index: 1; }
.vhv-testimonial-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .65rem;
}
.vhv-testimonial-text {
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  color: #2d3748 !important;
  margin: 0 !important;
}
.vhv-stars {
  color: #f6ad0f !important;
  font-size: 1.1rem !important;
  margin: 0 0 .9rem !important;
  letter-spacing: 2px;
}
.vhv-testimonial-name {
  font-weight: 700 !important;
  color: #03274b !important;
  font-size: 1.05rem !important;
  display: block;
}
.vhv-testimonial-loc {
  color: #718096 !important;
  font-size: .88rem !important;
}
.vhv-testimonial-since { color: #a0aec0; }
.vhv-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px;
  border-radius: 50% !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.02rem !important;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.vhv-avatar-blue  { background: linear-gradient(135deg, #0061a5, #03274b) !important; }
.vhv-avatar-red   { background: linear-gradient(135deg, #da251d, #b70f07) !important; }
.vhv-avatar-green { background: linear-gradient(135deg, #2f9e44, #1f7a32) !important; }
.vhv-avatar-amber { background: linear-gradient(135deg, #f6ad0f, #c97804) !important; }

/* ================================================
 * A7. B2B teaser — decorative dot pattern + glow
 * ================================================ */
.vhv-b2b-teaser {
  position: relative;
  overflow: hidden;
  border-radius: 22px !important;
}
.vhv-b2b-teaser::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 360px;
  height: 320px;
  background-image: radial-gradient(circle, rgba(255,255,255,.35) 1.4px, transparent 1.6px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: .7;
  mask-image: linear-gradient(225deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 70%);
}
.vhv-b2b-teaser::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ================================================
 * A8. NEWS cards — hover zoom + cleaner CTA
 * ================================================ */
article.loop-entry {
  overflow: hidden !important;
}
article.loop-entry .post-thumbnail {
  overflow: hidden;
  border-radius: 0 !important;
  display: block;
}
article.loop-entry .post-thumbnail img {
  transition: transform .6s cubic-bezier(.2,.9,.3,1.1);
  display: block;
  width: 100%;
  height: auto;
}
article.loop-entry:hover .post-thumbnail img {
  transform: scale(1.06);
}
article.loop-entry .entry-title a {
  color: #03274b !important;
  transition: color .25s ease;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
}
article.loop-entry:hover .entry-title a {
  color: #da251d !important;
}
article.loop-entry .entry-content-wrap {
  padding: 1.5rem 1.6rem 1.6rem !important;
}
article.loop-entry .more-link,
article.loop-entry a.more-link {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  color: #da251d !important;
  font-weight: 700;
  text-decoration: none !important;
  margin-top: .6rem;
  transition: gap .25s ease;
}
article.loop-entry:hover .more-link {
  gap: .65rem;
}
article.loop-entry .more-link::after {
  content: "→";
  transition: transform .25s ease;
}
article.loop-entry:hover .more-link::after {
  transform: translateX(3px);
}
article.loop-entry .posted-on {
  display: inline-block;
  padding: .25rem .65rem;
  background: rgba(0,97,165,.08);
  color: #0061a5 !important;
  font-size: .78rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: .8rem;
}

/* ================================================
 * A9. FOOTER top wave divider
 * ================================================ */
#colophon {
  position: relative;
}
#colophon::before {
  content: "";
  display: block;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0,40 C240,10 480,55 720,30 C960,5 1200,50 1440,25 L1440,60 L0,60 Z' fill='%2303274b'/></svg>");
  background-size: 100% 60px;
  background-repeat: no-repeat;
  margin-top: -1px;
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  pointer-events: none;
}

/* ================================================
 * Misc — facts metrics polish
 * ================================================ */
.vhv-fact-num {
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #03274b 0%, #0061a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.vhv-fact-lab {
  color: #4a5568;
  font-weight: 500;
}

/* FAQ accordion — jemný hover */
.vhv-faq details {
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 12px;
  margin-bottom: .6rem;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.vhv-faq details[open] {
  border-color: rgba(0,97,165,.25);
  box-shadow: 0 6px 18px rgba(0,97,165,.08);
}
.vhv-faq summary {
  font-weight: 600;
  color: #03274b;
}
