/* =============================================================
   Ingotvision pro — Premium Design System v2.0
   Prémiový medicínsko-technický design: vrstvy, hloubka, světlo.
   Tokeny → layout → komponenty → responsive → animace.
   ============================================================= */

/* ---------- 1. DESIGN TOKENS (DESIGN CONTRACT §3 + §33) ---------- */
:root {
  /* Pozadí */
  --iv-bg: #F5F8FF;
  --iv-bg-soft: #EEF4FF;
  --iv-bg-deep: #E6EEFB;
  --iv-white: #FFFFFF;

  /* Typografie */
  --iv-navy: #111B38;
  --iv-navy-dark: #101936;
  --iv-text: #65708A;
  --iv-text-soft: #75809A;

  /* Modrá */
  --iv-blue: #315FD6;          /* primární */
  --iv-blue-cta: #2454D8;      /* CTA gradient start */
  --iv-blue-hover: #1E44B5;
  --iv-blue-soft: #7FA5F6;
  --iv-blue-mist: #B7CEFA;
  --iv-blue-pale: #DCE7FD;
  --iv-cta-navy: #102A68;
  --iv-cta-navy-2: #16459A;
  --iv-cta-navy-3: #0D245B;

  /* Rámečky a glass */
  --iv-border: rgba(70,95,150,.14);
  --iv-border-strong: rgba(49,95,214,.30);
  --iv-glass: rgba(255,255,255,.72);
  --iv-glass-hi: rgba(255,255,255,.82);
  --iv-glass-line: rgba(255,255,255,.78);

  /* Radius */
  --iv-radius-sm: 12px;
  --iv-radius-md: 18px;
  --iv-radius-lg: 24px;
  --iv-radius-xl: 30px;
  --iv-radius-pill: 999px;

  /* Stíny (jemné, nikdy černé) */
  --iv-shadow-sm: 0 8px 22px rgba(30,60,120,.06);
  --iv-shadow-md: 0 18px 45px rgba(30,60,120,.09);
  --iv-shadow-lg: 0 28px 70px rgba(25,55,115,.12);

  /* Layout */
  --iv-container: 1440px;
  --iv-section-pad: clamp(80px, 7vw, 118px);
  --iv-pad-x: 32px;

  /* Legacy aliasy pro backward-comp. s existujícím HTML */
  --bg-main: var(--iv-bg);
  --bg-soft: var(--iv-bg-soft);
  --bg-white: var(--iv-white);
  --text-main: var(--iv-navy);
  --text-secondary: var(--iv-text);
  --text-muted: var(--iv-text-soft);
  --blue-primary: var(--iv-blue);
  --blue-dark: var(--iv-cta-navy);
  --blue-mid: var(--iv-blue-soft);
  --blue-soft: var(--iv-blue-pale);
  --border-soft: var(--iv-border);
  --border-light: var(--iv-glass-line);
  --shadow-sm: var(--iv-shadow-sm);
  --shadow-md: var(--iv-shadow-md);
  --shadow-lg: var(--iv-shadow-lg);
  --radius-sm: var(--iv-radius-sm);
  --radius-md: var(--iv-radius-md);
  --radius-lg: var(--iv-radius-lg);
  --container: var(--iv-container);
  --section-pad: var(--iv-section-pad);
}

/* ---------- 2. ZÁKLAD ---------- */
html { scroll-behavior: smooth; }

body, .site, .site-content, #page,
.ast-plain-container, .ast-container {
  background:
    radial-gradient(circle at 75% -10%, rgba(94, 142, 220, .14), transparent 34%),
    radial-gradient(circle at 8% 22%,  rgba(189, 215, 246, .20), transparent 30%),
    var(--bg-main) !important;
  color: var(--text-main) !important;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif !important;
  letter-spacing: .1px;
}

body, p, li, a, label, span {
  color: inherit;
}

::selection { background: rgba(21, 87, 192, .85); color: #fff; }

/* ---------- 3. TYPOGRAFIE ---------- */
h1, h2, h3, h4, h5, h6,
.wp-block-heading, .ast-builder-html-element {
  color: var(--text-main) !important;
  font-family: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.08 !important;
}

h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.1vw, 25px); font-family: 'Inter', sans-serif !important; font-weight: 600 !important; letter-spacing: 0 !important; }

p  { color: var(--text-secondary) !important; font-size: 16.5px; line-height: 1.75; }

a { color: var(--blue-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }

.ivp-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px !important; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-primary) !important;
  margin-bottom: 22px;
}
.ivp-kicker::before {
  content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-primary), rgba(21,87,192,.25));
}
.ivp-kicker-light { color: #9fc0f2 !important; }
.ivp-kicker-light::before { background: linear-gradient(90deg, #7aa4e6, rgba(122,164,230,.2)); }

/* ---------- 4. LAYOUT ---------- */
.ivp-home { position: relative; width: 100%; min-width: 0; }

/* Astru .ast-container (width:1240px) a site-main (padding 20px) zneškodněme — jinak saže přes mobil */
html .ast-container,
html .ast-separate-container,
html .ast-no-sidebar,
html .ast-regular,
html .entry-content,
html .site-main,
html article,
html .ast-article-single,
html .ast-content,
html .site-content {
  max-width: none !important;
  width: 100% !important;
  min-width: 0 !important;
}

.ivp-container {
  max-width: var(--container);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.ivp-section, .ivp-hero, .ivp-trust, .ivp-partner, .ivp-benefits,
.ivp-product-grid, .ivp-area-grid, .ivp-card, .ivp-product-card, .ivp-area-card,
.ivp-benefit, .ivp-hero-copy, .ivp-hero-visual, .ivp-badges, .ivp-trust-box,
.ivp-product-body, .ivp-partner-box, .ivp-training-grid, .ivp-training-image,
.ivp-hero-image, .ivp-hero-card, .ivp-actions, .ivp-product-image { min-width: 0; box-sizing: border-box; }

.ivp-section { padding: var(--section-pad) 0; position: relative; }

/* ---------- 5. HEADER ---------- */
#masthead {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.80) !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .75) !important;
  box-shadow: 0 10px 40px rgba(31, 72, 120, .07) !important;
  border-radius: 0 !important;
}
#masthead::before { display: none !important; }   /* odstranění debug banneru */

.ast-primary-header-bar {
  background: transparent !important;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px !important;
}
.site-header .inside-header { max-width: var(--container) !important; margin: 0 auto; }

.site-title a, .site-title {
  font-family: 'DM Serif Display', serif !important;
  font-size: 22px !important; font-weight: 400 !important;
  color: var(--text-main) !important; letter-spacing: .2px;
}
.site-description { color: var(--text-muted) !important; font-size: 12px !important; }

.ast-builder-menu .menu-item > a,
.ast-nav-menu a, .main-navigation a {
  color: var(--text-main) !important;
  font-weight: 500 !important; font-size: 15px !important;
  text-transform: none !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  transition: background .2s ease, color .2s ease !important;
}
.ast-builder-menu .menu-item > a:hover,
.ast-nav-menu a:hover { color: var(--blue-primary) !important; background: rgba(21,87,192,.07) !important; }
.ast-builder-menu .menu-item.current-menu-item > a,
.ast-nav-menu .current-menu-item a { color: var(--blue-primary); }

/* CTA tlačítka v headeru */
.ast-builder-button-wrap .ast-custom-button,
#masthead a.button, #masthead .ast-custom-button {
  background: var(--blue-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-size: 14px !important; font-weight: 600 !important;
  box-shadow: 0 10px 26px rgba(21,87,192,.30) !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease !important;
}
.ast-builder-button-wrap .ast-custom-button:hover,
#masthead a.button:hover, #masthead .ast-custom-button:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 34px rgba(21,87,192,.42) !important;
}

/* ---------- 6. HERO ---------- */
.ivp-hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.ivp-hero::before {
  /* jemný světelný glow — nahrazuje agresivní glass blobs */
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(620px 460px at 78% 18%,  rgba(94,142,220,.18), transparent 60%),
    radial-gradient(520px 420px at 12% 55%,  rgba(189,215,246,.30), transparent 65%);
  z-index: 0; pointer-events: none;
}
.ivp-hero::after {
  /* jemné mřížkové "technické" pozadí pro 3D feel */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,87,192,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,87,192,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 90%);
  z-index: 0; pointer-events: none; opacity: .7;
}
.ivp-hero > * { position: relative; z-index: 1; }

.ivp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.ivp-hero-copy .ivp-kicker { margin-bottom: 26px; }
.ivp-hero h1 {
  margin: 0 0 24px;
  font-family: 'Playfair Display', 'DM Serif Display', 'Libre Baskerville', Georgia, serif !important;
  font-size: clamp(22px, 1.8vw + 0.5rem, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.ivp-hero h1 em {
  font-style: normal; color: var(--blue-primary);
  position: relative; display: inline-block;
}
.ivp-hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em;
  height: .32em; background: linear-gradient(90deg, rgba(21,87,192,.25), rgba(21,87,192,.05));
  border-radius: 4px; z-index: -1;
}
.ivp-hero-copy p.lead { font-size: 18px; max-width: 40ch; margin-bottom: 36px; }

.ivp-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.ivp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  color: #fff !important; background: var(--blue-primary);
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(21,87,192,.28), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.ivp-actions br, .ivp-badges br { display: none; }
.ivp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(21,87,192,.40), inset 0 1px 0 rgba(255,255,255,.3);
  background: var(--blue-dark);
  color: #fff !important;
  text-decoration: none !important;
}
.ivp-btn-secondary {
  background: rgba(255,255,255,.9) !important;
  color: var(--blue-primary) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: var(--shadow-sm), inset 0 1px 0 #fff !important;
}
.ivp-btn-secondary:hover { background: #fff !important; box-shadow: var(--shadow-md) !important; }

.ivp-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.ivp-badges span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.ivp-badges span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid));
}

/* HERO VIZUÁL */
.ivp-hero-visual { position: relative; z-index: 1; min-height: 380px; }
.ivp-hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8fb 0%, #f0f6ff 55%, #e6effc 100%);
  box-shadow:
    0 35px 90px rgba(17, 55, 100, .20),
    0 12px 34px rgba(17, 55, 100, .12),
    inset 0 1px 0 rgba(255,255,255,.9);
  border: 1px solid var(--border-light);
}
.ivp-hero-image::before,
.ivp-hero-image::after {
  content: ""; position: absolute; pointer-events: none;
}
.ivp-hero-image::before {
  /* vnitřní "zrcadlový" oblouk */
  inset: 12% 14% auto 14%; height: 55%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,255,255,0) 70%);
  border-radius: 50%;
  opacity: .55;
}
.ivp-hero-image::after {
  /* modrý "reflex" od spodu */
  inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(21,87,192,.16), transparent 80%);
}
.ivp-hero-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}
/* jemná vinětace + light streak */
.ivp-hero-image > .ivp-gloss {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%),
    radial-gradient(circle at 25% 28%, rgba(255,255,255,.4), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* FLOATING CARD — jemný glass, ne 100% transparentní */
.ivp-hero-card {
  position: absolute;
  left: -28px; bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  max-width: 340px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px) saturate(1.2) !important;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow:
    0 26px 60px rgba(20, 55, 95, .20),
    0 6px 18px rgba(20, 55, 95, .10),
    inset 0 1px 0 rgba(255,255,255,.95);
  z-index: 3;
}
.ivp-hero-card .ivp-thumb {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 28px rgba(21,87,192,.4);
}
.ivp-hero-card .ivp-thumb svg { width: 26px; height: 26px; }
.ivp-hero-card strong { display: block; color: var(--text-main); font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.ivp-hero-card span { display: block; color: var(--text-secondary); font-size: 12.5px; line-height: 1.45; }
.ivp-hero-card .ivp-arrow {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(150deg, #fff, #e7f0fb);
  color: var(--blue-primary);
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(21,87,192,.2);
  border: 1px solid rgba(21,87,192,.1);
}
.ivp-hero-card .ivp-arrow svg { width: 16px; height: 16px; }

/* ---------- 7. TRUST STRIP ---------- */
.ivp-trust {
  padding: 0 0 clamp(48px, 5vw, 72px);
  position: relative;
}
.ivp-trust-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 #fff;
  flex-wrap: wrap;
}
.ivp-trust-box strong {
  color: var(--text-main) !important; font-weight: 600; font-size: 15px;
  font-family: 'Inter', sans-serif !important;
}
.ivp-trust-box > div {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.ivp-trust-box span {
  font-family: 'DM Serif Display', serif !important;
  font-size: 22px; color: var(--blue-mid); letter-spacing: .04em;
  filter: grayscale(35%) opacity(.8);
  transition: filter .25s ease, transform .25s ease;
}
.ivp-trust-box span:hover { filter: grayscale(0%) opacity(1); transform: scale(1.04); }

/* ---------- 8. AREA GRID (ŘEŠENÍ) ---------- */
.ivp-section > .ivp-container > .ivp-kicker { display: block; text-align: left; }
.ivp-section h2 { margin-bottom: 40px; max-width: 46ch; }

.ivp-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ivp-card {
  --card-bg: rgba(255,255,255,.94);
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(30,75,130,.08);
  border-radius: 24px;
  padding: 28px 26px 28px;
  box-shadow:
    0 14px 38px rgba(20,55,95,.07),
    inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.ivp-card::before {
  /* jemný light streak zhora — hloubka */
  content: "";
  position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
}
.ivp-card::after {
  /* light sweep na hover */
  content: "";
  position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
}
.ivp-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 62px rgba(20,55,95,.16),
    inset 0 1px 0 #fff;
  border-color: rgba(21,87,192,.16);
}
.ivp-card:hover::after { transform: translateX(120%); }

.ivp-area-card span {
  display: block;
  font-family: 'DM Serif Display', serif !important;
  font-size: 54px; line-height: 1;
  color: var(--blue-soft);
  margin-bottom: 14px;
  font-weight: 400 !important;
}
.ivp-area-card h3 { margin: 0 0 10px; }
.ivp-area-card p  { font-size: 14.5px; margin: 0; }

/* ---------- 9. PRODUKTOVÉ KARTY ---------- */
.ivp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.ivp-product-card { padding: 0; overflow: hidden; }
.ivp-product-image {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 35%, #f0f6ff, #dce9fb 70%);
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  border-bottom: 1px solid var(--border-soft);
}
.ivp-product-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .5s ease;
  mix-blend-mode: multiply;
}
.ivp-product-card:hover .ivp-product-image img { transform: scale(1.06); }
.ivp-product-body { padding: 22px 24px 26px; }
.ivp-product-body span {
  display: block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-primary); margin-bottom: 10px;
}
.ivp-product-body h3 { margin: 0 0 8px; }
.ivp-product-body p  { font-size: 14px; margin: 0 0 18px; }
.ivp-product-body > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue-primary);
}
.ivp-product-body > a:hover { color: var(--blue-dark); }
.ivp-product-body > a::after { content: "→"; transition: transform .2s ease; }
.ivp-product-body > a:hover::after { transform: translateX(4px); }

/* ---------- 10. B2B PARTNERSKÝ PANEL ---------- */
.ivp-partner { padding: 0 0 var(--section-pad); }
.ivp-partner-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 30%, rgba(63,114,207,.55), transparent 60%),
    radial-gradient(ellipse at 12% 70%, rgba(21,87,192,.45),  transparent 55%),
    linear-gradient(115deg, #071f43 0%, #0b3974 48%, #1458a5 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 36px 90px rgba(11, 41, 92, .36),
    0 10px 30px rgba(11, 41, 92, .22);
}
.ivp-partner-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(255,255,255,.14) 0, transparent 1px) 0 0 / 60px 60px,
    radial-gradient(circle at 82% 70%, rgba(255,255,255,.10) 0, transparent 1px) 0 0 / 46px 46px;
  opacity: .7;
}
.ivp-partner-box > * { position: relative; z-index: 1; }
.ivp-partner-box .ivp-kicker { margin-top: 0; }
.ivp-partner-box .ivp-kicker-light { color: #ffffff !important; }
.ivp-partner-box h2 { color: #ffffff !important; max-width: 18ch; }
.ivp-partner-box p { color: #ffffff !important; max-width: 52ch; }
.ivp-partner-box .ivp-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 30%, rgba(255,255,255,.02) 100%),
    linear-gradient(115deg, #0d3b7c 0%, #0a2a5c 55%, #071f43 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 22px 60px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.ivp-partner-box .ivp-visual img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .92;
  
}
/* Removed visual after for partner box */
.ivp-partner-box .ivp-btn {
  align-self: end;
  background: rgba(255,255,255,.95) !important;
  color: var(--blue-dark) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.30) !important;
  border: 1px solid #fff !important;
}
.ivp-partner-box .ivp-btn:hover {
  background: #fff !important;
  transform: translateY(-3px) !important;
}

/* ---------- 11. TRUST BENEFITY ---------- */
.ivp-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.ivp-benefit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: 16px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm), inset 0 1px 0 #fff;
}
.ivp-benefit svg { flex: 0 0 auto; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: linear-gradient(135deg, rgba(21,87,192,.12), rgba(21,87,192,.05)); color: var(--blue-primary); }
.ivp-benefit strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--text-main) !important; margin-bottom: 4px; font-family: 'Inter', sans-serif !important; }
.ivp-benefit span   { display: block; font-size: 13px; color: var(--text-secondary) !important; line-height: 1.55; }

/* ---------- 12. TRAKING / ŠKOLENÍ ---------- */
.ivp-training-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.ivp-training-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8fb, #eef4fb);
  box-shadow: var(--shadow-md), inset 0 1px 0 #fff;
  border: 1px solid var(--border-light);
}
.ivp-training-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ivp-training-grid .ivp-kicker { margin-bottom: 24px; }
.ivp-training-grid h2 { margin: 0 0 20px; }

/* ---------- 13. FOOTER ---------- */
#collapsible-1, #footer, .site-footer, .ast-footer {
  background: #071f43 !important;
  color: #cadbf3 !important;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer a { color: #9fc0f2 !important; }
.site-footer a:hover { color: #fff !important; }
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff !important; }
.site-footer .ast-footer, .site-footer .ast-small-footer-part,
.site-footer .site-info { background: transparent !important; color: #8fb0dd !important; text-align: center; }

/* ---------- 14. TLAČÍTKA (globální fallback) ---------- */
.wp-block-button__link, .btn, input[type="submit"] {
  background: var(--blue-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  box-shadow: 0 12px 32px rgba(21,87,192,.28), inset 0 1px 0 rgba(255,255,255,.25) !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease !important;
}
.wp-block-button__link:hover, .btn:hover, input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  background: var(--blue-dark) !important;
  box-shadow: 0 18px 44px rgba(21,87,192,.40) !important;
}
.ast-button, .button, .ast-custom-button {
  border-radius: 999px !important;
}

/* ---------- 15. PRODUKTOVÉ LOMANÉ KARTY (WooCommerce) ---------- */
.woocommerce ul.products li.product {
  background: #fff !important;
  border: 1px solid rgba(30,75,130,.08) !important;
  border-radius: 22px !important;
  padding: 14px !important;
  box-shadow: 0 14px 38px rgba(20,55,95,.07), inset 0 1px 0 #fff !important;
  transition: transform .3s ease, box-shadow .3s ease !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 26px 62px rgba(20,55,95,.16), inset 0 1px 0 #fff !important;
}
.woocommerce ul.products li.product img { border-radius: 12px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}
.woocommerce ul.products li.product .price { color: var(--blue-dark) !important; font-weight: 600; }

/* WooCommerce produkt detail */
.woocommerce div.product .product_title {
  font-family: 'DM Serif Display', serif !important;
  font-size: 36px !important;
  color: var(--text-main) !important;
}
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-product-details__short-description p {
  color: var(--text-secondary) !important;
}

/* ---------- 16. ANIMACE ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ivp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .ivp-reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 17. RESPONSIVE ---------- */
html, body { overflow-x: clip; }

@media (max-width: 1200px) {
  .ivp-area-grid, .ivp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivp-product-grid             { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .ivp-hero-grid,
  .ivp-training-grid,
  .ivp-partner-box { grid-template-columns: 1fr; }
  .ivp-hero-visual { min-height: auto; order: 2; }
  .ivp-hero-image  { aspect-ratio: 16 / 9; }
  .ivp-hero-card   { position: static; max-width: none; margin-top: 18px; left: auto; bottom: auto; }
  .ivp-partner-box .ivp-visual { margin-top: 18px; }
  .ivp-partner-box .ivp-btn    { align-self: start; margin-top: 16px; }
}

@media (max-width: 640px) {
  .ivp-container { padding: 0 20px; }
  .ivp-section { padding: 56px 0; }
  .ivp-hero { padding: 48px 0 60px; }
  .ivp-hero h1 { font-size: clamp(26px, 8.4vw, 34px) !important; }
  .ivp-section h2 { font-size: 26px; }
  .ivp-area-grid, .ivp-product-grid, .ivp-benefits { grid-template-columns: 1fr; }
  .ivp-actions { flex-direction: column; align-items: stretch; }
  .ivp-btn { width: 100%; }
  .ivp-trust-box { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ivp-trust-box__logos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px;
  }
  .ivp-trust-box__logos span {
    white-space: normal;
    font-size: 13px;
    padding: 4px 10px;
    text-align: center;
  }
  .ivp-container { padding: 0 16px; }
  .ivp-hero { padding: 40px 0 48px; }
  .ivp-hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .ast-primary-header-bar { padding: 10px 12px !important; }
}

/* ---------- 18. PRINT / LUKSIKÁ HYGIENA ---------- */
@media (prefers-contrast: more) {
  :root {
    --shadow-sm: 0 6px 16px rgba(11, 31, 58, .16);
    --shadow-md: 0 10px 24px rgba(11, 31, 58, .18);
  }
}


/* Footer Legal Menu */
.ivp-footer-legal {
    text-align: center;
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid #eaeaea;
}
.ivp-footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.ivp-footer-menu-list li {
    margin: 0;
    padding: 0;
}
.ivp-footer-menu-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s;
}
.ivp-footer-menu-list a:hover {
    color: #000;
}

/* Styl pro legalni dokumenty (Pages) */
.page .entry-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.page .entry-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}
.page .entry-content p, .page .entry-content li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
