/* ==========================================================================
   Axcom – vzhled šablony
   Barvy: černá, tmavě a světle šedá, firemní modrá #0073E6
   ========================================================================== */

:root {
	--ax-black: #0B0B0C;
	--ax-graphite: #19191B;
	--ax-panel: #1C1C1F;
	--ax-line-dark: #2C2C30;
	--ax-ink: #111113;
	--ax-text: #3E3F44;
	--ax-muted: #55565C;
	--ax-soft: #8A8B91;
	--ax-on-dark: #B3B4BA;
	--ax-on-dark-2: #A3A4AB;
	--ax-bg: #EFEFF1;
	--ax-bg-2: #F7F7F8;
	--ax-line: #E2E2E5;
	--ax-line-2: #D3D3D8;
	--ax-white: #FFFFFF;
	--ax-blue: #0073E6;
	--ax-blue-hover: #1A86F5;
	--ax-blue-text: #0066CC;
	--ax-blue-deep: #004C99;
	--ax-blue-light: #4DA3FF;
	--ax-blue-tint: #E8F1FC;
	--ax-blue-border: #9CC6F5;
	--ax-display: "Sora", "Segoe UI", system-ui, sans-serif;
	--ax-body: "Manrope", "Segoe UI", system-ui, sans-serif;
	--ax-radius: 22px;
	--ax-ease: cubic-bezier(.2, .7, .2, 1);
	--ax-gutter: 24px;
	--ax-section: 120px;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.axcom {
	margin: 0;
	background: var(--ax-bg);
	color: var(--ax-ink);
	font-family: var(--ax-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--ax-blue-text); }
a:hover { color: var(--ax-blue-deep); }
:focus-visible { outline: 3px solid var(--ax-blue-light); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--ax-display); letter-spacing: -0.02em; line-height: 1.15; color: inherit; }
.ax-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.screen-reader-text, .ax-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.ax-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px;
	background: var(--ax-blue); color: #fff; font-weight: 700; text-decoration: none; transition: top .2s;
}
.ax-skip:focus { top: 12px; color: #fff; }
.ax-wrap { width: 100%; max-width: calc(1200px + 2 * var(--ax-gutter)); margin: 0 auto; padding: 0 var(--ax-gutter); }

/* Tmavé plochy s jemnou mřížkou */
.ax-dark {
	background-color: var(--ax-black);
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 56px 56px;
	color: var(--ax-white);
}

/* ---------- Tlačítka ---------- */
.ax-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ax-btns--center { justify-content: center; }
.ax-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--ax-body); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.ax-btn:hover { transform: translateY(-2px); }
.ax-btn .ax-icon { transition: transform .3s; }
.ax-btn:hover .ax-icon:last-child { transform: translateX(4px); }
.ax-btn--primary { background: var(--ax-blue); color: #fff; }
.ax-btn--primary:hover { background: var(--ax-blue-hover); color: #fff; box-shadow: 0 12px 32px -12px rgba(0, 115, 230, .7); }
.ax-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.ax-btn--ghost:hover { border-color: var(--ax-blue-light); color: #fff; }
.ax-btn--outline { border-color: var(--ax-line-2); color: var(--ax-ink); background: #fff; }
.ax-btn--outline:hover { border-color: var(--ax-blue); color: var(--ax-blue-text); }
.ax-btn--lg { min-height: 56px; padding: 0 30px; }
.ax-btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.ax-btn--block { width: 100%; }

/* ---------- Hlavička ---------- */
.ax-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ax-line); }
.admin-bar .ax-header { top: 32px; }
.ax-header__inner { display: flex; align-items: center; gap: 36px; min-height: 92px; }
.ax-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.ax-header__logo .ax-logo, .ax-header__logo img { display: block; width: auto; height: 60px; }
.ax-nav { flex-grow: 1; }
.ax-menu { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ax-menu > li { position: relative; }
.ax-menu > li > a {
	display: flex; align-items: center; gap: 6px; padding: 34px 14px 31px; border-bottom: 3px solid transparent;
	color: #4A4B51; font-size: 15px; font-weight: 700; text-decoration: none; transition: color .2s, border-color .2s;
}
.ax-menu > li.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.ax-menu > li > a:hover { color: var(--ax-blue-text); }
.ax-menu > li.current-menu-item > a, .ax-menu > li.current-menu-ancestor > a, .ax-menu > li.current-menu-parent > a {
	color: var(--ax-blue-text); border-bottom-color: var(--ax-blue);
}
.ax-menu .sub-menu {
	position: absolute; left: 0; top: 100%; z-index: 60; min-width: 260px; margin: 0; padding: 10px; list-style: none;
	background: #fff; border: 1px solid var(--ax-line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .3);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.ax-menu > li:hover > .sub-menu, .ax-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ax-menu .sub-menu a {
	display: block; padding: 10px 14px; border-radius: 10px; color: var(--ax-ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.ax-menu .sub-menu a:hover, .ax-menu .sub-menu .current-menu-item > a { background: var(--ax-blue-tint); color: var(--ax-blue-text); }
.ax-header__phone { display: flex; align-items: center; gap: 8px; color: #4A4B51; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ax-header__phone:hover { color: var(--ax-blue-text); }
.ax-menu-toggle {
	display: none; width: 48px; height: 48px; margin-left: auto; border: 1px solid var(--ax-line-2); border-radius: 14px;
	background: #fff; color: var(--ax-ink); align-items: center; justify-content: center; cursor: pointer;
}
.ax-menu-toggle__close { display: none; }
.ax-menu-toggle[aria-expanded="true"] .ax-menu-toggle__open { display: none; }
.ax-menu-toggle[aria-expanded="true"] .ax-menu-toggle__close { display: inline-flex; }
.ax-mobile-menu {
	position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); max-height: calc(100vh - 110px); overflow-y: auto;
	display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); animation: ax-menu-in .3s var(--ax-ease) both;
}
.ax-mobile-menu[hidden] { display: none; }
@keyframes ax-menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.ax-mmenu, .ax-mmenu .sub-menu { margin: 0; padding: 0; list-style: none; }
.ax-mmenu a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--ax-ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.ax-mmenu .sub-menu a { padding: 9px 14px 9px 30px; font-size: 16px; font-weight: 600; color: #4A4B51; }
.ax-mmenu .current-menu-item > a { background: var(--ax-blue-tint); color: var(--ax-blue-text); }

/* ---------- Lišta služeb ---------- */
.ax-subnav { background: var(--ax-bg-2); border-bottom: 1px solid var(--ax-line); }
.ax-subnav__inner { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.ax-subnav__inner::-webkit-scrollbar { display: none; }
.ax-subnav__label { flex-shrink: 0; padding-right: 8px; color: #6B6C72; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ax-chip {
	flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ax-line); background: #fff;
	color: #4A4B51; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s;
}
.ax-chip:hover { color: var(--ax-blue-text); border-color: var(--ax-blue-border); }
.ax-chip.is-current { color: var(--ax-blue-text); border-color: var(--ax-blue); background: var(--ax-blue-tint); }

/* ---------- Úvod (hero) ---------- */
.ax-hero { padding: 72px 0 110px; }
.ax-hero--page { padding: 56px 0 88px; }
.ax-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.ax-hero--home .ax-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ax-hero__text { display: flex; flex-direction: column; gap: 22px; }
.ax-hero__title { margin: 0; font-size: clamp(36px, 5vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
.ax-hero__title--xl { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
.ax-hero__title span { color: var(--ax-blue-light); }
.ax-hero__subtitle { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.5; color: #EDEDEF; }
.ax-hero__lead { margin: 0; font-family: var(--ax-display); font-size: 22px; font-weight: 500; line-height: 1.45; color: var(--ax-blue-light); max-width: 640px; }
.ax-hero__intro { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ax-on-dark); max-width: 620px; }
.ax-hero__intro--lg { font-size: 20px; line-height: 1.6; max-width: 560px; }
.ax-hero .ax-btns { padding-top: 8px; }
.ax-hero__visual { position: relative; justify-self: end; width: 100%; max-width: 460px; aspect-ratio: 46 / 42; }
.ax-hero__visual--home { max-width: 580px; aspect-ratio: 58 / 54; justify-self: center; }
.ax-globe { display: block; width: 100%; height: 100%; }
.ax-hero__badge { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; }
.ax-hero__badge-icon {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--ax-blue); color: #fff; box-shadow: 0 0 0 10px rgba(0, 115, 230, .18);
}
.ax-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ax-blue-light); animation: ax-ring 2.8s ease-out infinite; }
.ax-ring--2 { animation-delay: .93s; }
.ax-ring--3 { animation-delay: 1.86s; }
@keyframes ax-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
.ax-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ax-on-dark-2); }
.ax-crumbs a { color: var(--ax-on-dark-2); text-decoration: none; }
.ax-crumbs a:hover { color: #fff; }
.ax-crumbs [aria-current] { color: #fff; }
.ax-crumbs > span[aria-hidden] { color: var(--ax-muted); }
.ax-pill {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0; padding: 8px 16px 8px 12px;
	border: 1px solid rgba(77, 163, 255, .4); border-radius: 999px; color: #CFE4FF; font-size: 14px; font-weight: 600;
}
.ax-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ax-blue-light); animation: ax-blink 1.8s ease-in-out infinite; }
@keyframes ax-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.ax-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; max-width: 560px; }
.ax-tags li { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--ax-on-dark-2); font-size: 13px; font-weight: 600; }

/* Pruh s čísly */
.ax-facts-wrap { position: relative; z-index: 2; margin-top: -76px; }
.ax-facts {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 34px 12px;
	background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3);
}
.ax-fact { display: flex; flex-direction: column; gap: 6px; padding: 0 26px; border-right: 1px solid var(--ax-line); }
.ax-fact:last-child { border-right: 0; }
.ax-fact dt { font-family: var(--ax-display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.ax-fact dd { margin: 0; color: var(--ax-muted); font-size: 15px; line-height: 1.5; }

/* ---------- Sekce a nadpisy ---------- */
.ax-section { padding-top: var(--ax-section); }
.ax-section--tight { padding-top: 88px; }
.ax-section--last { padding-bottom: var(--ax-section); }
.ax-section--spacer { height: var(--ax-section); }
.ax-section--content { padding-top: 32px; }
.ax-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 52px; }
.ax-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
.ax-head__text { margin: 0; max-width: 430px; color: var(--ax-muted); font-size: 17px; line-height: 1.65; }
.ax-eyebrow { margin: 0 0 14px; color: var(--ax-blue-text); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ax-eyebrow--light { color: var(--ax-blue-light); }
.ax-h2 { margin: 0; max-width: 680px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
.ax-h3 { margin: 0 0 28px; font-size: 28px; }
.ax-lead { margin: 22px 0 0; color: var(--ax-muted); font-size: 18px; line-height: 1.7; }
.ax-strong { margin: 26px 0 14px; font-weight: 700; }
.ax-empty { padding: 32px; border-radius: var(--ax-radius); background: #fff; color: var(--ax-muted); }
.ax-center { text-align: center; }

/* ---------- Mřížky a karty ---------- */
.ax-grid { display: grid; gap: 22px; }
.ax-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-card {
	display: flex; flex-direction: column; gap: 16px; padding: 34px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 24px; color: var(--ax-ink); text-decoration: none;
	transition: transform .4s var(--ax-ease), box-shadow .4s, border-color .4s;
}
a.ax-card:hover { color: var(--ax-ink); transform: translateY(-6px); box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .3); border-color: var(--ax-blue-border); }
.ax-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.ax-card__icon {
	display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; flex-shrink: 0;
	border-radius: 16px; background: var(--ax-blue-tint); color: var(--ax-blue-text); transition: background .35s, color .35s;
}
a.ax-card:hover .ax-card__icon { background: var(--ax-blue-text); color: #fff; }
.ax-card__num { font-family: var(--ax-display); font-size: 14px; font-weight: 600; color: var(--ax-soft); }
.ax-card__title { margin-top: 6px; font-family: var(--ax-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.ax-card__text { flex-grow: 1; color: var(--ax-muted); font-size: 16px; line-height: 1.6; }
.ax-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--ax-blue-text); font-size: 15px; font-weight: 700; }
.ax-card__more .ax-icon, .ax-card__arrow .ax-icon { transition: transform .3s; }
a.ax-card:hover .ax-card__more .ax-icon, a.ax-card:hover .ax-card__arrow .ax-icon { transform: translateX(5px); }
.ax-card--row { flex-direction: row; align-items: center; gap: 18px; padding: 24px 26px; }
.ax-card--row .ax-card__icon { width: 52px; height: 52px; border-radius: 14px; }
.ax-card__body { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.ax-card--row .ax-card__title { margin: 0; font-size: 19px; }
.ax-card--row .ax-card__text { font-size: 14px; line-height: 1.45; }
.ax-card__arrow { color: var(--ax-blue-text); }

/* ---------- O nás ---------- */
.ax-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.ax-split--top { align-items: start; }
.ax-split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.ax-about-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
	min-height: 500px; padding: 48px; border-radius: 32px;
}
.ax-about-card .ax-eyebrow { margin: 0; }
.ax-about-card__year { margin: 0; font-family: var(--ax-display); font-size: clamp(96px, 11vw, 148px); font-weight: 700; line-height: .9; letter-spacing: -0.05em; color: var(--ax-blue-light); }
.ax-about-card__text { margin: 12px 0 0; max-width: 380px; color: var(--ax-on-dark); font-size: 20px; line-height: 1.5; }
.ax-about-card__rings { position: absolute; right: 0; top: 0; width: 80px; height: 80px; margin: -10px -10px 0 0; }
.ax-about-card__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(77, 163, 255, .6); animation: ax-ring 2.6s ease-out infinite; }
.ax-about-card__rings span:nth-child(2) { animation-delay: .87s; }
.ax-about-card__rings span:nth-child(3) { animation-delay: 1.74s; }
.ax-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ax-values li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--ax-line); border-radius: 14px; font-weight: 600; }
.ax-values .ax-icon { color: var(--ax-blue-text); }

/* ---------- Partneři ---------- */
.ax-section--partners .ax-head { margin-bottom: 36px; }
.ax-marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ax-marquee__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; animation: ax-marquee 38s linear infinite; }
.ax-marquee:hover .ax-marquee__track, .ax-marquee:focus-within .ax-marquee__track { animation-play-state: paused; }
@keyframes ax-marquee { to { transform: translateX(calc(-50% - 8px)); } }
.ax-partner {
	display: flex; flex-direction: column; gap: 6px; width: 240px; padding: 26px 28px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 18px; color: var(--ax-ink); text-decoration: none; transition: border-color .3s, transform .3s;
}
a.ax-partner:hover { color: var(--ax-ink); border-color: var(--ax-blue-text); transform: translateY(-3px); }
.ax-partner strong { font-family: var(--ax-display); font-size: 22px; letter-spacing: -0.01em; }
.ax-partner span { color: var(--ax-muted); font-size: 14px; font-weight: 600; }

/* ---------- Vzdálená pomoc a výzva ---------- */
.ax-help, .ax-cta { display: flex; align-items: center; justify-content: space-between; gap: 56px; padding: 60px 68px; border-radius: 32px; overflow: hidden; }
.ax-help__text, .ax-cta__text { display: flex; flex-direction: column; gap: 16px; }
.ax-help h2, .ax-cta h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }
.ax-help p, .ax-cta p { margin: 0; max-width: 580px; color: var(--ax-on-dark); font-size: 18px; line-height: 1.65; }
.ax-help .ax-btns { padding-top: 8px; }
.ax-cta .ax-btns { flex-shrink: 0; }
.ax-help__visual { position: relative; flex-shrink: 0; width: 96px; height: 96px; margin: 60px 70px; }
.ax-help__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ax-panel); border: 2px solid var(--ax-blue-light); color: #fff; }

/* ---------- Kontakty ---------- */
.ax-contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.ax-contact-item, .ax-map-link {
	display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 18px; color: var(--ax-ink); text-decoration: none; transition: border-color .3s, transform .3s;
}
a.ax-contact-item:hover, a.ax-map-link:hover { color: var(--ax-ink); border-color: var(--ax-blue-border); transform: translateY(-3px); }
.ax-contact-item__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--ax-blue-tint); color: var(--ax-blue-text); }
.ax-contact-item small, .ax-map-link small, .ax-help-link small { display: block; color: var(--ax-muted); font-size: 13px; font-weight: 600; }
.ax-contact-item strong, .ax-map-link strong { display: block; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.ax-stack { display: flex; flex-direction: column; gap: 18px; }
.ax-facts-card { padding: 36px 40px 24px; border-radius: 26px; }
.ax-facts-card h2 { margin: 0 0 10px; font-size: 26px; }
.ax-facts-card dl { margin: 0; }
.ax-facts-card dl div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--ax-line-dark); }
.ax-facts-card dl div:last-child { border-bottom: 0; }
.ax-facts-card dt { color: var(--ax-on-dark-2); }
.ax-facts-card dd { margin: 0; font-weight: 700; text-align: right; }
.ax-help-link { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 22px; background: var(--ax-blue); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.ax-help-link:hover { background: var(--ax-blue-hover); color: #fff; transform: translateY(-2px); }
.ax-help-link > span:nth-child(2) { flex-grow: 1; }
.ax-help-link strong { display: block; font-family: var(--ax-display); font-size: 19px; }
.ax-help-link small { color: #DCEBFF; font-size: 14px; }
.ax-help-link__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .16); }

/* ---------- Formulář ---------- */
.ax-form {
	display: flex; flex-direction: column; gap: 18px; padding: 44px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .3);
}
.ax-form__title { margin: 0; font-size: 24px; }
.ax-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ax-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ax-field label, .ax-form--external label { font-size: 14px; font-weight: 700; }
.ax-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .ax-form textarea, .ax-form select {
	width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--ax-line-2); border-radius: 12px;
	background: var(--ax-bg-2); color: var(--ax-ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.ax-form textarea { resize: vertical; min-height: 140px; }
.ax-form input:focus, .ax-form textarea:focus, .ax-form select:focus { outline: none; border-color: var(--ax-blue-text); box-shadow: 0 0 0 4px rgba(0, 102, 204, .15); }
.ax-form__note { margin: 0; color: var(--ax-muted); font-size: 13px; line-height: 1.6; }
.ax-form__msg { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.ax-form__msg--ok { background: #E7F6EC; color: #145C2E; }
.ax-form__msg--err { background: #FDECEC; color: #8A1C1C; }
/* Formuláře z pluginů (WPForms, Contact Form 7) */
.ax-form--external button[type="submit"], .ax-form--external input[type="submit"], .ax-form--external .wpforms-submit {
	min-height: 54px !important; padding: 0 28px !important; border: 0 !important; border-radius: 999px !important;
	background: var(--ax-blue) !important; color: #fff !important; font: 700 16px var(--ax-body) !important; cursor: pointer;
}
.ax-form--external .wpforms-container { margin: 0 !important; }

/* ---------- Obsah z editoru ---------- */
.ax-content { color: var(--ax-text); font-size: 17px; line-height: 1.75; }
.ax-content > * { margin-top: 0; margin-bottom: 20px; }
.ax-content h2 { margin: 104px 0 36px; color: var(--ax-ink); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.03em; max-width: 760px; scroll-margin-top: 120px; }
.ax-content > h2:first-child { margin-top: 64px; }
.ax-content h3 { margin: 40px 0 20px; color: var(--ax-ink); font-size: 24px; }
.ax-content p { max-width: 820px; }
.ax-content .is-style-ax-perex { font-size: 21px; line-height: 1.6; color: var(--ax-ink); }
.ax-content ul:not([class*="is-style-ax"]), .ax-content ol { max-width: 820px; padding-left: 22px; }
.ax-content ul:not([class*="is-style-ax"]) li, .ax-content ol li { margin-bottom: 8px; }
.ax-content ul:not([class*="is-style-ax"]) li::marker { color: var(--ax-blue); }
.ax-content img { border-radius: 18px; }
.ax-content table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.ax-content th, .ax-content td { padding: 14px 18px; border-bottom: 1px solid var(--ax-line); text-align: left; }
.ax-content .wp-block-group.is-style-ax-tmavy {
	padding: 40px; border-radius: 26px; color: var(--ax-on-dark);
	background-color: var(--ax-black); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px;
}
.ax-content .is-style-ax-tmavy h2, .ax-content .is-style-ax-tmavy h3 { color: #fff; margin-top: 0; }

/* Seznam – Karty */
.ax-content ul.is-style-ax-karty, .ax-content ul.is-style-ax-zatrzitka, .ax-content ul.is-style-ax-kroky, .ax-content ul.is-style-ax-stitky {
	margin: 0 0 20px; padding: 0; list-style: none; max-width: none;
}
.ax-content ul.is-style-ax-karty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: ax-card; }
.ax-content ul.is-style-ax-karty:has(> li:nth-child(2):last-child), .ax-content ul.is-style-ax-karty:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ax-content ul.is-style-ax-karty > li {
	position: relative; counter-increment: ax-card; padding: 96px 32px 32px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 22px; color: var(--ax-muted); font-size: 16px; line-height: 1.6;
	transition: transform .4s var(--ax-ease), box-shadow .4s, border-color .4s;
}
.ax-content ul.is-style-ax-karty > li::before {
	content: counter(ax-card, decimal-leading-zero); position: absolute; left: 32px; top: 32px; display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 14px; background: var(--ax-blue-tint); color: var(--ax-blue-text);
	font-family: var(--ax-display); font-size: 16px; font-weight: 700; transition: background .35s, color .35s;
}
.ax-content ul.is-style-ax-karty > li:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .3); border-color: var(--ax-blue-border); }
.ax-content ul.is-style-ax-karty > li:hover::before { background: var(--ax-blue-text); color: #fff; }
.ax-content ul[class*="is-style-ax"] > li strong:first-child { display: block; margin-bottom: 8px; color: var(--ax-ink); font-family: var(--ax-display); font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; }

/* Seznam – Zatržítka */
.ax-content ul.is-style-ax-zatrzitka { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ax-content ul.is-style-ax-zatrzitka > li {
	position: relative; padding: 26px 28px 26px 84px; background: #fff; border: 1px solid var(--ax-line); border-radius: 20px;
	color: var(--ax-muted); font-size: 16px; line-height: 1.6;
}
.ax-content ul.is-style-ax-zatrzitka > li::before {
	content: ""; position: absolute; left: 26px; top: 26px; width: 40px; height: 40px; border-radius: 50%;
	background: var(--ax-blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.ax-content ul.is-style-ax-zatrzitka > li strong:first-child { font-family: var(--ax-body); font-size: 18px; margin-bottom: 4px; letter-spacing: 0; }

/* Seznam – Kroky */
.ax-content ul.is-style-ax-kroky { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; counter-reset: ax-step; }
.ax-content ul.is-style-ax-kroky > li {
	position: relative; counter-increment: ax-step; padding: 100px 32px 32px; background: var(--ax-ink); border-radius: 22px;
	color: var(--ax-on-dark); font-size: 16px; line-height: 1.6; transition: transform .35s;
}
.ax-content ul.is-style-ax-kroky > li:hover { transform: translateY(-4px); }
.ax-content ul.is-style-ax-kroky > li::before {
	content: counter(ax-step); position: absolute; left: 32px; top: 32px; display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%; background: var(--ax-blue); color: #fff; font-family: var(--ax-display); font-size: 20px; font-weight: 700;
}
.ax-content ul.is-style-ax-kroky > li strong:first-child { color: #fff; font-size: 22px; }

/* Seznam – Štítky */
.ax-content ul.is-style-ax-stitky { display: flex; flex-wrap: wrap; gap: 10px; }
.ax-content ul.is-style-ax-stitky > li {
	display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; background: #fff; border: 1px solid var(--ax-line);
	border-radius: 999px; color: var(--ax-ink); font-size: 15px; font-weight: 700; line-height: 1.3;
}
.ax-content ul.is-style-ax-stitky > li::before {
	content: ""; width: 18px; height: 18px; flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------- Dokument (ochrana osobních údajů) ---------- */
.ax-doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.ax-doc--single { display: block; max-width: 860px; margin: 0 auto; }
.ax-toc { position: sticky; top: 124px; padding: 20px; background: #fff; border: 1px solid var(--ax-line); border-radius: 22px; }
.admin-bar .ax-toc { top: 156px; }
.ax-toc__title { margin: 0; padding: 6px 14px 12px; color: #6B6C72; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ax-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: ax-toc; }
.ax-toc li { counter-increment: ax-toc; }
.ax-toc a { display: flex; gap: 12px; padding: 10px 14px; border-radius: 10px; color: #4A4B51; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: color .2s, background .2s; }
.ax-toc a::before { content: counter(ax-toc); width: 18px; flex-shrink: 0; color: var(--ax-blue-text); font-weight: 700; }
.ax-toc a:hover { background: var(--ax-blue-tint); color: var(--ax-blue-text); }
.ax-content--doc { counter-reset: ax-h2; }
.ax-content--doc h2 { counter-increment: ax-h2; margin: 0 0 16px; padding-top: 30px; border-top: 1px solid var(--ax-line); font-size: 26px; letter-spacing: -0.02em; }
.ax-content--doc h2::before { content: counter(ax-h2) ". "; color: var(--ax-blue-text); }
.ax-content--doc h2:not(:first-child) { margin-top: 36px; }
.ax-content--doc > h2:first-child { margin-top: 0; }

.ax-pagination { margin-top: 40px; }

/* ---------- Patička ---------- */
.ax-footer { padding: 72px 0 40px; background: var(--ax-graphite); color: var(--ax-on-dark); font-size: 15px; }
.ax-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; }
.ax-footer__brand p { margin: 18px 0 0; line-height: 1.65; }
.ax-footer__logo { display: inline-flex; padding: 10px 16px; background: #fff; border-radius: 14px; }
.ax-footer__logo img { display: block; width: auto; height: 50px; }
.ax-footer__title { margin: 0 0 16px; color: #fff; font-family: var(--ax-body); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.ax-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ax-footer a { color: var(--ax-on-dark); text-decoration: none; transition: color .2s; }
.ax-footer a:hover { color: var(--ax-blue-light); }
.ax-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.ax-footer__bottom .ax-footer__links { flex-direction: row; gap: 24px; }

/* ---------- Animace ---------- */
.ax-in { animation: ax-fade-up .9s var(--ax-ease) both; }
.ax-d1 { animation-delay: .1s; }
.ax-d2 { animation-delay: .2s; }
.ax-d3 { animation-delay: .32s; }
.ax-d4 { animation-delay: .45s; }
@keyframes ax-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.ax-js .ax-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ax-ease), transform .8s var(--ax-ease); }
.ax-js .ax-reveal.is-visible { opacity: 1; transform: none; }
.ax-js .ax-grid > .ax-reveal:nth-child(3n+2) { transition-delay: .08s; }
.ax-js .ax-grid > .ax-reveal:nth-child(3n+3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ax-js .ax-reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
	.ax-header__phone span { display: none; }
	.ax-menu > li > a { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 1020px) {
	:root { --ax-section: 88px; }
	.ax-nav, .ax-header__phone, .ax-header__help { display: none; }
	.ax-menu-toggle { display: inline-flex; }
	.ax-header__inner { min-height: 72px; }
	.ax-header__logo .ax-logo, .ax-header__logo img { height: 48px; }
	.ax-hero__grid, .ax-hero--home .ax-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ax-hero__visual { justify-self: center; max-width: 420px; }
	.ax-hero__visual--home { max-width: 460px; }
	.ax-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
	.ax-fact:nth-child(2) { border-right: 0; }
	.ax-grid--3, .ax-content ul.is-style-ax-karty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ax-split, .ax-split--5-7 { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.ax-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
	.ax-help, .ax-cta { flex-direction: column; align-items: flex-start; gap: 28px; padding: 44px; }
	.ax-help__visual { display: none; }
	.ax-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ax-doc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ax-toc { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .ax-header { top: 0; }
}

/* ---------- Mobil ---------- */
@media (max-width: 680px) {
	:root { --ax-gutter: 20px; --ax-section: 64px; }
	body.axcom { font-size: 16px; }
	.ax-hero { padding: 36px 0 90px; }
	.ax-hero--page { padding: 28px 0 40px; }
	.ax-hero__text { gap: 18px; }
	.ax-hero__subtitle { font-size: 17px; }
	.ax-hero__lead { font-size: 19px; }
	.ax-hero__intro, .ax-hero__intro--lg { font-size: 16px; }
	.ax-hero .ax-btns, .ax-help .ax-btns, .ax-cta .ax-btns { flex-direction: column; width: 100%; }
	.ax-hero .ax-btn, .ax-help .ax-btn, .ax-cta .ax-btn { width: 100%; }
	.ax-hero__badge { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
	.ax-hero__badge .ax-icon { width: 34px; height: 34px; }
	.ax-facts-wrap { margin-top: -64px; }
	.ax-facts { padding: 24px 8px; }
	.ax-fact { padding: 0 14px; }
	.ax-fact dt { font-size: 28px; }
	.ax-fact dd { font-size: 14px; }
	.ax-grid--3, .ax-content ul.is-style-ax-karty, .ax-content ul.is-style-ax-karty:has(> li:nth-child(2):last-child), .ax-content ul.is-style-ax-karty:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
	.ax-card { padding: 26px; }
	.ax-card--row { padding: 18px; }
	.ax-about-card { min-height: 0; padding: 32px 28px; gap: 28px; }
	.ax-about-card__text { font-size: 16px; }
	.ax-values { grid-template-columns: minmax(0, 1fr); }
	.ax-partner { width: 190px; padding: 20px; }
	.ax-partner strong { font-size: 18px; }
	.ax-help, .ax-cta { padding: 30px 24px; border-radius: 24px; }
	.ax-form { padding: 24px 20px; border-radius: 22px; }
	.ax-form__row { grid-template-columns: minmax(0, 1fr); }
	.ax-facts-card { padding: 28px 22px 16px; }
	.ax-facts-card dl div { font-size: 15px; }
	.ax-content h2 { margin: 64px 0 24px; }
	.ax-content > h2:first-child { margin-top: 40px; }
	.ax-content ul.is-style-ax-karty > li { padding: 86px 24px 24px; }
	.ax-content ul.is-style-ax-karty > li::before { left: 24px; top: 24px; width: 44px; height: 44px; }
	.ax-content ul.is-style-ax-zatrzitka { grid-template-columns: minmax(0, 1fr); }
	.ax-content ul.is-style-ax-zatrzitka > li { padding: 20px 20px 20px 72px; }
	.ax-content ul.is-style-ax-zatrzitka > li::before { left: 20px; top: 20px; width: 36px; height: 36px; }
	.ax-content ul.is-style-ax-kroky { grid-template-columns: minmax(0, 1fr); }
	.ax-content ul.is-style-ax-kroky > li { padding: 88px 24px 24px; }
	.ax-content ul.is-style-ax-kroky > li::before { left: 24px; top: 24px; }
	.ax-content ul[class*="is-style-ax"] > li strong:first-child { font-size: 19px; }
	.ax-content--doc h2 { font-size: 22px; }
	.ax-footer { padding: 48px 0 32px; }
	.ax-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
	.ax-footer__brand { grid-column: 1 / -1; }
	.ax-footer__bottom { flex-direction: column; }
}
