/* A+ SERVIS – finální CSS pro úvodní stranu
   Soubor: /wp-content/uploads/aplus-servis/css/aplus-servis-home.css
   HTML stránky už neobsahuje inline <style>.
*/

.apx-site {
  --apx-bg: #050608;
  --apx-bg2: #090c11;
  --apx-bg3: #0d1118;
  --apx-card: rgba(255,255,255,.045);
  --apx-card2: rgba(255,255,255,.075);
  --apx-line: rgba(255,255,255,.105);
  --apx-text: #f5f7fb;
  --apx-muted: #aeb6c4;
  --apx-red: #d71925;
  --apx-red2: #f03540;
  --apx-shadow: 0 28px 80px rgba(0,0,0,.45);
  width: 100%;
  max-width: none;
  margin: 0;
  background: #050608;
  color: var(--apx-text);
  font-family: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow: hidden;
}

.apx-site *,
.apx-site *::before,
.apx-site *::after {
  box-sizing: border-box;
}

.apx-site a {
  color: inherit;
  text-decoration: none !important;
}

.apx-container {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.apx-section {
  padding: 72px 0;
  background: #080b10;
}

.apx-section:nth-of-type(even) {
  background: #07090d;
}

.apx-heading {
  max-width: 840px;
  margin: 0 auto 36px;
  text-align: center;
}

.apx-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,.32);
}

/* HERO */

.apx-hero {
  padding: 16px 16px 0;
  background: #050608;
  perspective: 1400px;
}

.apx-hero-grid {
  width: min(1660px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
  min-height: 510px;
  border-bottom: 1px solid var(--apx-line);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 35%),
    #050608;
}

.apx-hero-panel {
  position: relative;
  min-height: 492px;
  height: auto;
  display: flex;
  align-items: center;
  padding: 72px 8vw;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  text-decoration: none !important;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .28s ease, filter .28s ease, box-shadow .28s ease;
}

.apx-hero-panel::before,
.apx-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform .28s ease, opacity .28s ease, filter .28s ease;
}

.apx-hero-panel::before {
  z-index: -3;
  transform: translateZ(-18px) scale(1.025);
  height: 100%;
  min-height: 100%;
}

.apx-hero-panel::after {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,6,8,.96) 0%, rgba(5,6,8,.82) 42%, rgba(5,6,8,.35) 100%),
    radial-gradient(circle at 72% 32%, rgba(215,25,37,.18), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.45);
}

.apx-hero-notebook::before {
  background:
    url("/wp-content/uploads/aplus-servis/assets/hero-servis-notebooku.jpg") 93% center / cover no-repeat,
    linear-gradient(135deg, #141820, #050608);
}

.apx-hero-apple::before {
  background:
    url("/wp-content/uploads/aplus-servis/assets/hero-apple-servis.jpg") 95% center / cover no-repeat,
    linear-gradient(135deg, #111721, #050608);
}

.apx-hero-apple::after {
  background:
    linear-gradient(90deg, rgba(5,6,8,.96) 0%, rgba(5,6,8,.80) 40%, rgba(5,6,8,.32) 100%),
    radial-gradient(circle at 72% 35%, rgba(85,105,135,.22), transparent 34%);
}

.apx-hero-panel:hover {
  z-index: 5;
  transform: translateY(-7px) translateZ(28px) scale(1.006);
  filter: brightness(1.08);
  box-shadow:
    0 34px 90px rgba(0,0,0,.50),
    0 0 0 1px rgba(215,25,37,.22),
    0 0 48px rgba(215,25,37,.20);
}

.apx-hero-panel:hover::before {
  transform: translateZ(-20px) scale(1.045);
  filter: contrast(1.08) saturate(1.06);
}

.apx-hero-panel:hover::after {
  opacity: .92;
}

.apx-hero-content {
  position: relative;
  z-index: 1;
  max-width: 455px;
  transform: translateZ(42px);
  transition: transform .28s ease;
}

.apx-hero-panel:hover .apx-hero-content {
  transform: translateZ(66px);
}

.apx-hero-content h1,
.apx-hero-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 4.5vw, 70px);
  line-height: 1.03;
  letter-spacing: -.055em;
  text-align: left;
  text-decoration: none !important;
}

.apx-hero-content p {
  margin: 24px 0 0;
  color: #dce1eb;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.45;
  text-decoration: none !important;
}

.apx-hero-content ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
}

.apx-hero-content li {
  position: relative;
  padding-left: 32px;
  color: #dce2eb;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.42;
  text-decoration: none !important;
}

.apx-hero-content li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 950;
}

.apx-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 14px 26px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 850;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  text-decoration: none !important;
}

.apx-btn:hover {
  transform: translateY(-2px);
}

.apx-btn-red {
  background: linear-gradient(180deg, #f03540, #d71925);
  color: #fff !important;
  border: 0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 12px 30px rgba(215,25,37,.26);
}

.apx-btn-red:hover {
  background: linear-gradient(180deg, #ff4650, #d71925);
}

.apx-hero-panel .apx-btn {
  pointer-events: none;
}

.apx-hero-more {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .01em;
  transform: translateY(5px);
  opacity: .78;
  transition: transform .24s ease, opacity .24s ease, color .24s ease;
}

.apx-hero-panel:hover .apx-hero-more {
  transform: translateY(0);
  opacity: 1;
  color: #fff;
}

@media (min-width: 768px) {
  .apx-hero-content-equal {
    display: grid !important;
    grid-template-rows: auto 76px 126px auto auto !important;
    row-gap: 24px !important;
    align-content: start !important;
    align-items: start !important;
  }

  .apx-hero-content-equal h1,
  .apx-hero-content-equal h2,
  .apx-hero-content-equal p,
  .apx-hero-content-equal ul {
    margin: 0 !important;
  }

  .apx-hero-content-equal .apx-btn {
    margin-top: 0 !important;
    justify-self: start !important;
  }

  .apx-hero-content-equal .apx-hero-more {
    margin-top: -10px !important;
  }
}

/* PROOF */

.apx-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1660px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.085);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
    #090c11;
}

.apx-proof-item {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 16px;
  border-right: 1px solid rgba(255,255,255,.075);
  color: #dfe4ed;
}

.apx-proof-item:last-child {
  border-right: 0;
}

.apx-proof-icon,
.apx-proof-icon svg {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 auto;
  display: block;
}

.apx-proof-item strong {
  display: block;
  color: #eef2f8;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.apx-proof-rating {
  justify-content: center;
}

.apx-rating-stars-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #f7c84b;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .045em;
  font-weight: 950;
  transform: translateY(1px);
}

.apx-rating-copy {
  display: grid;
  gap: 3px;
  line-height: 1.1;
}

.apx-rating-copy small {
  display: block;
  margin: 0;
  color: #f7c84b;
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* KARTY A SEKCE */

.apx-why,
.apx-brands,
.apx-reviews {
  border-top: 1px solid var(--apx-line);
  border-bottom: 1px solid var(--apx-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,25,37,.10), transparent 34%),
    #0a0d12;
}

.apx-why-icon-grid,
.apx-repair-mini-grid,
.apx-service-columns,
.apx-intro-benefits,
.apx-brand-logo-grid {
  display: grid;
  gap: 14px;
}

.apx-why-icon-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apx-why-icon-grid article,
.apx-repair-mini-grid article,
.apx-service-columns article,
.apx-intro-main,
.apx-intro-benefits div,
.apx-local-card,
.apx-brand-logo-grid a,
.apx-review-card,
.apx-contact-teaser-content,
.apx-contact-teaser-box,
.apx-contact-teaser-map {
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.apx-why-icon-grid article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.apx-why-icon-grid strong,
.apx-repair-mini-grid h3 {
  display: block;
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
  line-height: 1.16;
}

.apx-why-icon-grid p,
.apx-repair-mini-grid p {
  margin: 0;
  color: var(--apx-muted);
  font-size: 13px;
  line-height: 1.34;
}

.apx-svg-icon,
.apx-repair-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(145deg, rgba(215,25,37,.22), rgba(215,25,37,.06));
  border: 1px solid rgba(215,25,37,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 8px 22px rgba(0,0,0,.22);
}

.apx-svg-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.apx-svg-icon path,
.apx-svg-icon circle,
.apx-svg-icon rect,
.apx-svg-icon line,
.apx-svg-icon polyline {
  vector-effect: non-scaling-stroke;
}

.apx-why-icon-grid article,
.apx-repair-mini-grid article,
.apx-service-columns article,
.apx-intro-benefits div,
.apx-brand-logo-grid a,
.apx-review-card {
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, filter .22s ease;
}

.apx-why-icon-grid article:hover,
.apx-repair-mini-grid article:hover,
.apx-service-columns article:hover,
.apx-intro-benefits div:hover,
.apx-brand-logo-grid a:hover,
.apx-review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,25,37,.46);
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.13), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03);
}

.apx-why-icon-grid article:hover .apx-svg-icon,
.apx-repair-mini-grid article:hover .apx-repair-icon {
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(145deg, rgba(215,25,37,.32), rgba(215,25,37,.10));
  border-color: rgba(215,25,37,.52);
  filter: drop-shadow(0 0 14px rgba(215,25,37,.38));
}

/* OPRAVY */

.apx-repair-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.apx-repair-mini-grid article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.apx-repair-icon img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.34));
}

.apx-repair-icon.apx-battery-icon img {
  width: 42px;
  height: 56px;
  transform: scaleY(1.22);
  transform-origin: center center;
}

/* INTRO */

.apx-intro-text {
  background:
    radial-gradient(circle at 100% 0%, rgba(215,25,37,.11), transparent 34%),
    linear-gradient(180deg, #0a0d12 0%, #07090d 100%);
  border-bottom: 1px solid var(--apx-line);
}

.apx-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.apx-intro-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px;
}

.apx-intro-title-split {
  margin: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.32);
}

.apx-intro-title-split span {
  display: block;
}

.apx-intro-title-split span:first-child {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.apx-intro-title-split span:last-child {
  margin-top: 8px;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.apx-intro-main p {
  margin: 18px 0 0;
  color: #c5ccd8;
  font-size: 16px;
  line-height: 1.62;
}

.apx-service-columns {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.apx-service-columns article {
  padding: 24px;
}

.apx-service-columns h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.apx-service-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.apx-service-columns li {
  position: relative;
  padding-left: 22px;
  color: #c5ccd8;
  font-size: 15px;
}

.apx-service-columns li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

.apx-intro-benefits {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.apx-intro-benefits div {
  padding: 18px;
  color: #f2f5fa;
  font-weight: 800;
}

/* LOKÁLNÍ BLOK */

.apx-local-service {
  background:
    radial-gradient(circle at 100% 0%, rgba(215,25,37,.10), transparent 34%),
    linear-gradient(180deg, #0a0d12, #07090d);
  border-bottom: 1px solid var(--apx-line);
}

.apx-local-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
}

.apx-local-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.apx-local-card p {
  margin: 16px 0 0;
  color: #c5ccd8;
  font-size: 16px;
}

.apx-local-points {
  display: grid;
  gap: 10px;
}

.apx-local-points span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--apx-line);
  border-radius: 7px;
  color: #eef2f8;
  background: rgba(0,0,0,.16);
  font-weight: 800;
}

.apx-local-points span::before {
  content: "\2713";
  margin-right: 10px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

/* ZNAČKY */

.apx-brand-logo-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.apx-brand-logo-grid a {
  min-height: 78px;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apx-brand-logo-grid img {
  display: block;
  width: auto;
  max-width: 86%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: none;
  transition: transform .22s ease, filter .22s ease;
}

.apx-brand-logo-grid a:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.apx-brand-more-real {
  display: grid !important;
  place-items: center;
  text-align: center;
}

.apx-brand-more-real strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .1em;
}

.apx-brand-more-real span {
  display: block;
  margin-top: 3px;
  color: var(--apx-muted);
  font-size: 12px;
  font-weight: 800;
}

/* RECENZE */

.apx-review-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2px;
}

.apx-review-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: apx-review-scroll 78s linear infinite;
}

.apx-review-carousel:hover .apx-review-track {
  animation-play-state: paused;
}

.apx-review-card {
  width: calc((min(1440px, calc(100vw - 64px)) - 36px) / 3);
  min-height: 240px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.apx-review-card strong {
  display: block;
  margin-bottom: 10px;
  color: #f7c84b;
  letter-spacing: .06em;
}

.apx-review-card p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--apx-muted);
  line-height: 1.55;
}

.apx-review-meta {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  color: var(--apx-muted);
  font-size: 13px;
  line-height: 1.35;
}

.apx-review-meta span {
  color: #fff;
  font-weight: 800;
}

.apx-review-meta small {
  color: var(--apx-muted);
}

@keyframes apx-review-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 9px)); }
}

/* KONTAKT */

.apx-contact {
  padding: 58px 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.12), transparent 30%),
    linear-gradient(180deg, #080b10, #050608);
}

.apx-contact-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 18px;
  align-items: stretch;
  width: 100%;
}

.apx-contact-teaser-content,
.apx-contact-teaser-box,
.apx-contact-teaser-map {
  min-width: 0;
  overflow: hidden;
}

.apx-contact-teaser-content {
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(135deg, #d71925, #9f1018);
  color: #fff;
}

.apx-contact-teaser-content h2 {
  margin: 0;
  max-width: 780px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.apx-contact-teaser-content p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
}

.apx-contact-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.apx-contact-teaser-actions a,
.apx-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 9px;
  font-weight: 950;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.apx-contact-teaser-actions a:hover,
.apx-social-links a:hover {
  transform: translateY(-2px);
}

.apx-contact-teaser-actions a:first-child {
  background: #07090d;
  color: #fff;
}

.apx-contact-teaser-actions a:last-child {
  color: #fff;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.06);
}

.apx-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.apx-social-links a {
  gap: 9px;
  border-radius: 999px;
  font-size: 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.apx-social-links a:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.44);
}

.apx-social-links svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.apx-contact-teaser-box {
  padding: 22px;
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.03));
}

.apx-contact-teaser-box div {
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.16);
}

.apx-contact-teaser-box strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.apx-contact-teaser-box span {
  color: var(--apx-muted);
  font-size: 14px;
}

.apx-contact-teaser-map {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  min-height: 315px;
  background: #e8e8e8;
}

.apx-contact-teaser-map iframe {
  display: block;
  width: 100%;
  height: 315px;
  min-height: 315px;
  border: 0;
  filter: none;
}

/* SKRYTÍ STARÝCH IKON A OCHRANA */

.apx-mini-icon,
.apx-repair-pict,
.apx-clear-icon {
  display: none !important;
}

.apx-repair-icon::before,
.apx-repair-icon::after,
.apx-svg-icon::before,
.apx-svg-icon::after {
  display: none !important;
  content: none !important;
}

/* WORDPRESS / ASTRA ZÁKLAD */

html,
body,
body.custom-background,
.site,
#page,
.site-content,
.content-area,
.site-main,
main,
.entry-content,
.wp-block-post-content {
  background: #050608 !important;
}

.entry-header,
.page-header,
.ast-archive-description,
h1.entry-title,
.entry-title,
.page-title,
.wp-block-post-title {
  display: none !important;
}

.ast-container,
.site-content .ast-container,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-plain-container .site-content,
.ast-page-builder-template .site-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-plain-container .ast-article-single,
.ast-plain-container .ast-article-post {
  background: #050608 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.entry-content > .apx-site {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* RESPONZIVITA */

@media (min-width: 768px) and (max-width: 1080px) {
  .apx-container {
    width: min(100% - 36px, 1440px);
  }

  .apx-hero {
    padding: 14px 14px 0;
  }

  .apx-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
    min-height: auto;
  }

  .apx-hero-panel {
    min-height: 520px;
    padding: 54px 5vw;
  }

  .apx-hero-content {
    max-width: 390px;
  }

  .apx-hero-content h1,
  .apx-hero-content h2 {
    font-size: clamp(42px, 5.2vw, 58px);
  }

  .apx-hero-content p {
    font-size: 18px;
  }

  .apx-hero-content li {
    font-size: 15px;
  }

  .apx-proof {
    grid-template-columns: repeat(4, 1fr);
    width: min(1660px, calc(100% - 28px));
  }

  .apx-proof-item {
    padding: 16px 12px;
    gap: 10px;
  }

  .apx-proof-item strong {
    font-size: 14px;
  }

  .apx-service-columns,
  .apx-intro-benefits,
  .apx-why-icon-grid,
  .apx-review-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .apx-repair-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apx-brand-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .apx-review-card {
    width: calc((100vw - 54px) / 2);
  }

  .apx-contact-teaser {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  }

  .apx-contact-teaser-map {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .apx-container {
    width: min(100% - 24px, 1440px);
  }

  .apx-section {
    padding: 54px 0;
  }

  .apx-hero {
    padding: 8px 8px 0;
  }

  .apx-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    min-height: auto;
  }

  .apx-hero-panel {
    min-height: 420px;
    padding: 42px 24px;
    border-radius: 10px;
  }

  .apx-hero-panel:hover,
  .apx-why-icon-grid article:hover,
  .apx-repair-mini-grid article:hover,
  .apx-service-columns article:hover,
  .apx-intro-benefits div:hover,
  .apx-brand-logo-grid a:hover,
  .apx-review-card:hover {
    transform: none;
  }

  .apx-hero-content,
  .apx-hero-panel:hover .apx-hero-content {
    transform: none;
  }

  .apx-hero-content h1,
  .apx-hero-content h2 {
    font-size: 44px;
  }

  .apx-hero-content p {
    margin-top: 24px;
    font-size: 17px;
  }

  .apx-hero-content ul {
    margin-top: 34px;
  }

  .apx-hero-content .apx-btn {
    width: 100%;
    margin-top: 34px;
  }

  .apx-hero-more {
    margin-top: 14px;
    font-size: 13px;
  }

  .apx-proof {
    grid-template-columns: 1fr;
    width: calc(100% - 16px);
  }

  .apx-proof-item {
    min-height: 58px;
    justify-content: flex-start;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
  }

  .apx-proof-item:last-child {
    border-bottom: 0;
  }

  .apx-proof-item strong {
    font-size: 15px;
  }

  .apx-rating-stars-big {
    font-size: 21px;
  }

  .apx-rating-copy small {
    white-space: normal;
    font-size: 12px;
  }

  .apx-why-icon-grid,
  .apx-service-columns,
  .apx-intro-benefits,
  .apx-brand-logo-grid,
  .apx-contact-teaser {
    grid-template-columns: 1fr;
  }

  .apx-repair-mini-grid {
    grid-template-columns: 1fr;
  }

  .apx-repair-mini-grid article {
    grid-template-columns: 62px 1fr;
    min-height: 88px;
    padding: 16px;
    gap: 14px;
  }

  .apx-repair-icon img {
    width: 38px;
    height: 38px;
  }

  .apx-repair-icon.apx-battery-icon img {
    width: 40px;
    height: 54px;
  }

  .apx-intro-main,
  .apx-local-card,
  .apx-contact-teaser-content,
  .apx-contact-teaser-box {
    padding: 22px;
  }

  .apx-intro-title-split span:first-child {
    font-size: 34px;
  }

  .apx-intro-title-split span:last-child {
    font-size: 24px;
  }

  .apx-local-card {
    grid-template-columns: 1fr;
  }

  .apx-brand-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apx-review-track {
    animation-duration: 95s;
  }

  .apx-review-card {
    width: calc(100vw - 48px);
    min-height: 255px;
  }

  .apx-contact {
    padding: 46px 0;
  }

  .apx-contact-teaser-actions,
  .apx-social-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .apx-social-links {
    grid-template-columns: 1fr 1fr;
  }

  .apx-contact-teaser-map {
    grid-column: auto;
    min-height: 280px;
  }

  .apx-contact-teaser-map iframe {
    min-height: 280px;
    height: 280px;
  }

  .entry-content > .apx-site {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Mobil naležato – dvě položky oprav na řádek */
@media (orientation: landscape) and (max-width: 767px) {
  .apx-repair-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



/* Oprava mobilu naležato a menších šířek – sekce Proč si vybrat A+ SERVIS */
@media (orientation: landscape) and (max-width: 1080px), (min-width: 768px) and (max-width: 1080px) {
  .apx-why-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .apx-why-icon-grid article {
    min-height: 118px !important;
    grid-template-columns: 58px 1fr !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 18px !important;
  }

  .apx-why-icon-grid strong {
    font-size: 17px !important;
    line-height: 1.15 !important;
  }

  .apx-why-icon-grid p {
    font-size: 14px !important;
    line-height: 1.38 !important;
  }
}

/* Menší mobily na výšku – výhody pod sebe */
@media (orientation: portrait) and (max-width: 767px) {
  .apx-why-icon-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Klikací kontaktní boxy */
.apx-contact-teaser-box a.apx-contact-teaser-box-link {
  display: block !important;
  padding: 14px 15px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px !important;
  background: rgba(0,0,0,.16) !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.apx-contact-teaser-box a.apx-contact-teaser-box-link:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(215,25,37,.38) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.13), transparent 42%),
    rgba(0,0,0,.22) !important;
}

.apx-contact-teaser-box a.apx-contact-teaser-box-link strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: #fff !important;
  font-size: 16px !important;
}

.apx-contact-teaser-box a.apx-contact-teaser-box-link span {
  color: var(--apx-muted) !important;
  font-size: 14px !important;
}

/* Původní div pravidla nechávám kvůli kompatibilitě, ale nové odkazy mají přednost */
.apx-contact-teaser-box > div {
  display: none !important;
}



/* SEO rozcestník služeb + FAQ */

.apx-seo-links {
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.10), transparent 34%),
    linear-gradient(180deg, #080b10, #07090d);
  border-top: 1px solid var(--apx-line);
  border-bottom: 1px solid var(--apx-line);
}

.apx-seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.apx-seo-link-grid article,
.apx-faq-grid article {
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.apx-seo-link-grid article {
  padding: 24px;
}

.apx-seo-link-grid article:hover,
.apx-faq-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(215,25,37,.46);
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.13), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03);
}

.apx-seo-link-grid h3,
.apx-faq-grid h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.apx-seo-link-grid p,
.apx-faq-grid p {
  margin: 12px 0 0;
  color: var(--apx-muted);
  font-size: 15px;
  line-height: 1.55;
}

.apx-seo-link-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.apx-seo-link-list a {
  position: relative;
  display: block;
  padding: 10px 12px 10px 30px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 8px;
  color: #e9eef7 !important;
  background: rgba(0,0,0,.15);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.25;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.apx-seo-link-list a::before {
  content: "\2713";
  position: absolute;
  left: 12px;
  top: 9px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

.apx-seo-link-list a:hover {
  transform: translateY(-1px);
  color: #fff !important;
  border-color: rgba(215,25,37,.40);
  background: rgba(215,25,37,.10);
}

.apx-faq {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.06), transparent 34%),
    linear-gradient(180deg, #07090d, #080b10);
  border-bottom: 1px solid var(--apx-line);
}

.apx-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.apx-faq-grid article {
  padding: 22px;
}

@media (min-width: 768px) and (max-width: 1080px) {
  .apx-seo-link-grid {
    grid-template-columns: 1fr !important;
  }

  .apx-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .apx-seo-link-grid,
  .apx-faq-grid {
    grid-template-columns: 1fr !important;
  }

  .apx-seo-link-grid article,
  .apx-faq-grid article {
    padding: 20px !important;
  }

  .apx-seo-link-grid article:hover,
  .apx-faq-grid article:hover {
    transform: none !important;
  }
}



/* FAQ – rozbalovací accordion bez JavaScriptu */

.apx-faq-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.apx-faq-item {
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.apx-faq-item[open] {
  border-color: rgba(215,25,37,.42);
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.13), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03);
}

.apx-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 18px 58px 18px 22px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 880;
  letter-spacing: -.025em;
  cursor: pointer;
  list-style: none;
}

.apx-faq-item summary::-webkit-details-marker {
  display: none;
}

.apx-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translateY(-50%);
  color: #fff;
  background: linear-gradient(180deg, #f03540, #d71925);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 18px rgba(215,25,37,.20);
}

.apx-faq-item[open] summary::after {
  content: "−";
}

.apx-faq-item div {
  padding: 0 22px 20px;
}

.apx-faq-item p {
  margin: 0;
  color: var(--apx-muted);
  font-size: 15px;
  line-height: 1.58;
}

@media (max-width: 767px) {
  .apx-faq-item summary {
    min-height: 58px;
    padding: 16px 54px 16px 18px;
    font-size: 16px;
  }

  .apx-faq-item div {
    padding: 0 18px 18px;
  }
}



/* Lokální rozcestník obcí Zlínského kraje */

.apx-locality-seo {
  background:
    radial-gradient(circle at 100% 0%, rgba(215,25,37,.08), transparent 34%),
    linear-gradient(180deg, #07090d, #080b10);
  border-top: 1px solid var(--apx-line);
  border-bottom: 1px solid var(--apx-line);
}

.apx-locality-intro {
  max-width: 980px;
  margin: -12px auto 24px;
  text-align: center;
}

.apx-locality-intro p {
  margin: 0;
  color: var(--apx-muted);
  font-size: 16px;
  line-height: 1.6;
}

.apx-locality-accordion {
  display: grid;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.apx-locality-district {
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.apx-locality-district summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 17px 58px 17px 22px;
  color: #fff;
  font-size: 19px;
  font-weight: 880;
  line-height: 1.2;
  letter-spacing: -.025em;
  cursor: pointer;
  list-style: none;
}

.apx-locality-district summary::-webkit-details-marker {
  display: none;
}

.apx-locality-district summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translateY(-50%);
  color: #fff;
  background: linear-gradient(180deg, #f03540, #d71925);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 18px rgba(215,25,37,.20);
}

.apx-locality-district[open] summary::after {
  content: "−";
}

.apx-locality-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 18px 18px;
}

.apx-locality-links a {
  position: relative;
  display: block;
  padding: 9px 10px 9px 28px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 8px;
  color: #e9eef7 !important;
  background: rgba(0,0,0,.15);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.apx-locality-links a::before {
  content: "\2713";
  position: absolute;
  left: 11px;
  top: 8px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

.apx-locality-links a:hover {
  transform: translateY(-1px);
  color: #fff !important;
  border-color: rgba(215,25,37,.40);
  background: rgba(215,25,37,.10);
}

@media (min-width: 768px) and (max-width: 1080px) {
  .apx-locality-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .apx-locality-intro {
    text-align: left;
  }

  .apx-locality-district summary {
    min-height: 58px;
    padding: 16px 54px 16px 18px;
    font-size: 17px;
  }

  .apx-locality-links {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }
}



/* V5 – lokální SEO struktura: historický obecní rozcestník + dvě specializační větve */

.apx-locality-priority {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 18px;
}

.apx-locality-priority article {
  padding: 22px;
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.08), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.032));
}

.apx-locality-priority h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.apx-locality-priority p {
  margin: 10px 0 0;
  color: var(--apx-muted);
  font-size: 15px;
  line-height: 1.55;
}

.apx-locality-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.apx-locality-city {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  background: rgba(0,0,0,.15);
}

.apx-locality-city h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.apx-locality-city div {
  display: grid;
  gap: 7px;
}

.apx-locality-city a {
  position: relative;
  display: block;
  padding: 8px 9px 8px 27px;
  border: 1px solid rgba(255,255,255,.070);
  border-radius: 8px;
  color: #e9eef7 !important;
  background: rgba(255,255,255,.025);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.24;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.apx-locality-city a::before {
  content: "\2713";
  position: absolute;
  left: 10px;
  top: 7px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

.apx-locality-city a.apx-locality-hub {
  color: var(--apx-muted) !important;
  font-weight: 760;
}

.apx-locality-city a:hover {
  transform: translateY(-1px);
  color: #fff !important;
  border-color: rgba(215,25,37,.40);
  background: rgba(215,25,37,.10);
}

@media (min-width: 768px) and (max-width: 1080px) {
  .apx-locality-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .apx-locality-priority,
  .apx-locality-city-grid {
    grid-template-columns: 1fr;
  }

  .apx-locality-priority article {
    padding: 20px;
  }

  .apx-locality-city-grid {
    padding: 0 14px 14px;
  }
}



/* V6 – SEO patičkový přehled důležitých stránek */

.apx-footer-sitemap {
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.10), transparent 34%),
    linear-gradient(180deg, #080b10, #050608);
  border-top: 1px solid var(--apx-line);
  border-bottom: 1px solid var(--apx-line);
}

.apx-footer-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.apx-footer-sitemap-grid article {
  padding: 20px;
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.apx-footer-sitemap-grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.apx-footer-sitemap-grid nav {
  display: grid;
  gap: 7px;
}

.apx-footer-sitemap-grid a {
  position: relative;
  display: block;
  padding: 8px 8px 8px 25px;
  border-radius: 8px;
  color: var(--apx-muted) !important;
  background: rgba(0,0,0,.10);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.28;
  text-decoration: none !important;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.apx-footer-sitemap-grid a::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 7px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

.apx-footer-sitemap-grid a:hover {
  transform: translateY(-1px);
  color: #fff !important;
  background: rgba(215,25,37,.10);
}

@media (min-width: 1081px) and (max-width: 1320px) {
  .apx-footer-sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1080px) {
  .apx-footer-sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .apx-footer-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .apx-footer-sitemap-grid article {
    padding: 18px;
  }
}



/* V7 – šablony lokálních stránek */

.apx-local-page-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.18), transparent 34%),
    linear-gradient(180deg, #080b10, #050608);
}

.apx-local-page-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--apx-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(135deg, #d71925, #9f1018);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}

.apx-local-page-card > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.apx-local-page-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -.06em;
}

.apx-local-page-card p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.55;
}

.apx-local-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.apx-local-page-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 19px;
  border-radius: 10px;
  font-weight: 950;
  text-decoration: none !important;
}

.apx-local-page-actions a:first-child {
  background: #07090d;
  color: #fff !important;
}

.apx-local-page-actions a:not(:first-child) {
  border: 1px solid rgba(255,255,255,.48);
  color: #fff !important;
  background: rgba(255,255,255,.06);
}

.apx-local-page-content h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.apx-local-page-content p {
  color: var(--apx-muted);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .apx-local-page-actions {
    display: grid;
  }
}



/* V11 – klikací karty, zachované recenze/kontakt a spodní SEO bloky */

.apx-card-link {
  color: inherit !important;
  text-decoration: none !important;
}

.apx-repair-mini-grid a.apx-repair-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, filter .22s ease;
}

.apx-repair-mini-grid a.apx-repair-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,25,37,.46);
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.13), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03);
}

.apx-service-columns a.apx-service-card-link {
  display: block;
  padding: 24px;
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.apx-service-columns a.apx-service-card-link:hover,
.apx-intro-benefits a.apx-benefit-link:hover {
  transform: translateY(-5px);
  border-color: rgba(215,25,37,.46);
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.13), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03);
}

.apx-card-more {
  display: inline-flex;
  margin-top: 16px;
  color: #ffb9bd;
  font-size: 13px;
  font-weight: 900;
}

.apx-intro-benefits a.apx-benefit-link {
  display: block;
  padding: 18px;
  color: #f2f5fa !important;
  font-weight: 800;
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,37,.07), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.032));
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.apx-local-points a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--apx-line);
  border-radius: 7px;
  color: #eef2f8 !important;
  background: rgba(0,0,0,.16);
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.apx-local-points a::before {
  content: "\2713";
  margin-right: 10px;
  color: var(--apx-red2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

.apx-local-points a:hover {
  transform: translateY(-2px);
  border-color: rgba(215,25,37,.42);
  background: rgba(215,25,37,.10);
}

.apx-locality-seo,
.apx-footer-sitemap {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

.apx-locality-seo .apx-heading,
.apx-footer-sitemap .apx-heading {
  margin-bottom: 22px !important;
}

.apx-locality-seo .apx-heading h2,
.apx-footer-sitemap .apx-heading h2 {
  font-size: clamp(22px, 2.1vw, 30px) !important;
}

.apx-locality-intro {
  margin-top: -6px !important;
  margin-bottom: 18px !important;
}

.apx-locality-intro p {
  font-size: 15px !important;
}

.apx-footer-sitemap-grid article,
.apx-locality-district {
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .apx-repair-mini-grid a.apx-repair-card {
    grid-template-columns: 62px 1fr;
    min-height: 88px;
    padding: 16px;
    gap: 14px;
  }

  .apx-repair-mini-grid a.apx-repair-card:hover,
  .apx-service-columns a.apx-service-card-link:hover,
  .apx-intro-benefits a.apx-benefit-link:hover,
  .apx-local-points a:hover {
    transform: none;
  }

  .apx-locality-seo,
  .apx-footer-sitemap {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }
}



/* V12 – decentní spodní SEO odkazy jako rozbalovací blok */

.apx-seo-drawer {
  padding: 28px 0 34px !important;
  background:
    linear-gradient(180deg, #050608, #050608) !important;
  border-top: 1px solid rgba(255,255,255,.07);
}

.apx-seo-drawer-card {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.apx-seo-drawer-item {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  overflow: hidden;
}

.apx-seo-drawer-item summary {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 12px 46px 12px 16px;
  color: #cbd3df;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.apx-seo-drawer-item summary::-webkit-details-marker {
  display: none;
}

.apx-seo-drawer-item summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(215,25,37,.72);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.apx-seo-drawer-item[open] summary {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.apx-seo-drawer-item[open] summary::after {
  content: "−";
}

.apx-seo-drawer-content {
  padding: 14px;
}

.apx-seo-drawer-note {
  margin: 0 0 12px !important;
  color: var(--apx-muted);
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* Lokální a patičkové odkazy uvnitř decentního draweru */
.apx-seo-drawer .apx-locality-accordion,
.apx-seo-drawer .apx-footer-sitemap-grid {
  max-width: none;
  margin: 0;
}

.apx-seo-drawer .apx-locality-district {
  box-shadow: none !important;
  background: rgba(0,0,0,.12) !important;
}

.apx-seo-drawer .apx-locality-district summary {
  min-height: 46px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 15px;
}

.apx-seo-drawer .apx-locality-city-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apx-seo-drawer .apx-footer-sitemap-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.apx-seo-drawer .apx-footer-sitemap-grid article {
  padding: 14px;
  box-shadow: none !important;
  background: rgba(0,0,0,.12) !important;
}

.apx-seo-drawer .apx-footer-sitemap-grid h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.apx-seo-drawer .apx-footer-sitemap-grid a,
.apx-seo-drawer .apx-locality-city a {
  font-size: 12px;
}

@media (min-width: 768px) and (max-width: 1080px) {
  .apx-seo-drawer .apx-locality-city-grid,
  .apx-seo-drawer .apx-footer-sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .apx-seo-drawer {
    padding: 22px 0 28px !important;
  }

  .apx-seo-drawer-content {
    padding: 12px;
  }

  .apx-seo-drawer .apx-locality-city-grid,
  .apx-seo-drawer .apx-footer-sitemap-grid {
    grid-template-columns: 1fr;
  }
}



/* Mini odkazy do globální patičky */
.apx-footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  padding: 12px 0;
  background: transparent;
}

.apx-footer-mini-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: #dfe5ee !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.apx-footer-mini-links a:hover {
  transform: translateY(-1px);
  color: #ffffff !important;
  border-color: rgba(215,25,37,.35);
  background: linear-gradient(180deg, rgba(215,25,37,.20), rgba(215,25,37,.075));
}

@media (max-width: 620px) {
  .apx-footer-mini-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .apx-footer-mini-links a {
    justify-content: center;
  }
}



/* Oprava znaménka u rozbalení okresů – zavřený okres = plus, otevřený okres = minus */

.apx-seo-drawer .apx-locality-district:not([open]) > summary::after,
.apx-locality-district:not([open]) > summary::after {
  content: "+" !important;
}

.apx-seo-drawer .apx-locality-district[open] > summary::after,
.apx-locality-district[open] > summary::after {
  content: "−" !important;
}



/* Oprava zarovnání patičky na střed */

.site-footer,
.site-footer p,
.site-footer span,
.site-footer div,
.site-footer li,
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-html,
.site-footer .widget,
.site-footer .footer-widget-area,
.site-footer .site-footer-section {
  text-align: center !important;
}

.site-footer .ast-builder-grid-row,
.site-footer .ast-builder-footer-grid-columns,
.site-footer .site-primary-footer-wrap .ast-builder-grid-row,
.site-footer .site-below-footer-wrap .ast-builder-grid-row,
.site-footer .site-above-footer-wrap .ast-builder-grid-row {
  justify-content: center !important;
  align-items: center !important;
}

.site-footer .site-footer-section,
.site-footer .ast-footer-html,
.site-footer .ast-footer-copyright {
  justify-content: center !important;
  align-items: center !important;
}

.site-footer .menu,
.site-footer .menu ul,
.site-footer nav ul,
.site-footer .wp-block-navigation__container,
.apx-footer-mini-links {
  justify-content: center !important;
  text-align: center !important;
}

.site-footer .menu a,
.site-footer nav a,
.site-footer .wp-block-navigation-item__content,
.apx-footer-mini-links a {
  justify-content: center !important;
  text-align: center !important;
}

.site-footer img,
.site-footer .custom-logo {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 921px) {
  .site-footer,
  .site-footer * {
    text-align: center !important;
  }
}



/* V14 – silnější zarovnání skutečné Astra patičky na střed */

body .site-footer,
body .site-footer *,
body .site-footer .ast-builder-grid-row,
body .site-footer .ast-builder-footer-grid-columns,
body .site-footer .site-footer-section,
body .site-footer .ast-footer-html,
body .site-footer .ast-footer-copyright,
body .site-footer .widget,
body .site-footer .footer-widget-area,
body .site-footer .wp-block-group,
body .site-footer .wp-block-columns,
body .site-footer .wp-block-column {
  text-align: center !important;
}

body .site-footer .ast-builder-grid-row,
body .site-footer .ast-builder-footer-grid-columns {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

body .site-footer .site-footer-section,
body .site-footer .site-footer-primary-section-1,
body .site-footer .site-footer-primary-section-2,
body .site-footer .site-footer-primary-section-3,
body .site-footer .site-footer-below-section-1,
body .site-footer .site-footer-below-section-2,
body .site-footer .site-footer-below-section-3,
body .site-footer .ast-footer-html,
body .site-footer .ast-footer-copyright {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

body .site-footer p,
body .site-footer div,
body .site-footer span,
body .site-footer li,
body .site-footer a,
body .site-footer .ast-footer-copyright p,
body .site-footer .ast-footer-html p {
  text-align: center !important;
}

body .site-footer ul,
body .site-footer ol,
body .site-footer .menu,
body .site-footer .menu ul,
body .site-footer nav ul,
body .site-footer .wp-block-navigation__container {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 12px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  list-style: none !important;
  text-align: center !important;
}

body .site-footer .menu li,
body .site-footer nav li,
body .site-footer .wp-block-navigation-item {
  display: inline-flex !important;
  justify-content: center !important;
  text-align: center !important;
}

body .site-footer .menu a,
body .site-footer nav a,
body .site-footer .wp-block-navigation-item__content,
body .site-footer .apx-footer-mini-links a {
  justify-content: center !important;
  text-align: center !important;
}

body .site-footer img,
body .site-footer svg,
body .site-footer .custom-logo,
body .site-footer .wp-block-image {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .site-footer .apx-footer-mini-links {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

@media (max-width: 921px) {
  body .site-footer .ast-builder-grid-row,
  body .site-footer .ast-builder-footer-grid-columns,
  body .site-footer .menu,
  body .site-footer nav ul,
  body .site-footer .wp-block-navigation__container,
  body .site-footer .apx-footer-mini-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
}



/* V16 – jen nadpisy v hero na střed + silnější mobilní úpravy */

body .apx-site .apx-hero-content h1,
body .apx-site .apx-hero-content h2 {
  text-align: center !important;
}

/* Vrácení běžného obsahu v hero zpět doleva – centrované mají být jen nadpisy */
body .apx-site .apx-hero-content,
body .apx-site .apx-hero-content p,
body .apx-site .apx-hero-content ul,
body .apx-site .apx-hero-content li {
  text-align: left !important;
}

/* Tlačítka nechávám v původním layoutu, necentruji celý blok */
body .apx-site .apx-hero-content .apx-btn,
body .apx-site .apx-hero-content .apx-hero-more {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Mobil a tablet – přebití starších pravidel, která byla níž v CSS */
@media (max-width: 921px) {
  body .apx-site .apx-hero-content h1,
  body .apx-site .apx-hero-content h2 {
    text-align: center !important;
  }

  body .apx-site .apx-hero-content,
  body .apx-site .apx-hero-content p,
  body .apx-site .apx-hero-content ul,
  body .apx-site .apx-hero-content li {
    text-align: left !important;
  }

  body .apx-site .apx-hero-apple .apx-hero-content h2 {
    white-space: nowrap !important;
    font-size: clamp(34px, 9.6vw, 46px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.06em !important;
  }

  body .apx-site .apx-hero-content h1 {
    font-size: clamp(38px, 10.5vw, 50px) !important;
    line-height: 1.03 !important;
  }
}

@media (max-width: 420px) {
  body .apx-site .apx-hero-apple .apx-hero-content h2 {
    font-size: clamp(30px, 9vw, 38px) !important;
  }
}

/* Mobilní patička – Astra breakpoint je často 921px, ne 767px */
@media (max-width: 921px) {
  body .site-footer,
  body .site-footer .site-above-footer-wrap,
  body .site-footer .site-primary-footer-wrap,
  body .site-footer .site-below-footer-wrap,
  body footer.site-footer {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body .site-footer .ast-builder-grid-row,
  body .site-footer .ast-builder-footer-grid-columns {
    gap: 4px !important;
    min-height: auto !important;
  }

  body .site-footer .site-footer-section,
  body .site-footer .ast-footer-html,
  body .site-footer .ast-footer-copyright,
  body .site-footer .widget,
  body .site-footer .footer-widget-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  body .site-footer p,
  body .site-footer div,
  body .site-footer span,
  body .site-footer li,
  body .site-footer a,
  body .site-footer .ast-footer-copyright,
  body .site-footer .ast-footer-html {
    font-size: 12px !important;
    line-height: 1.28 !important;
  }

  body .site-footer .apx-footer-mini-links,
  body .site-footer .menu,
  body .site-footer nav ul,
  body .site-footer .wp-block-navigation__container,
  .apx-footer-mini-links {
    gap: 5px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  body .site-footer .apx-footer-mini-links a,
  body .site-footer .menu a,
  body .site-footer nav a,
  body .site-footer .wp-block-navigation-item__content,
  .apx-footer-mini-links a {
    min-height: 28px !important;
    padding: 6px 9px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 480px) {
  body .site-footer,
  body footer.site-footer {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body .site-footer .apx-footer-mini-links a,
  body .site-footer .menu a,
  body .site-footer nav a,
  body .site-footer .wp-block-navigation-item__content,
  .apx-footer-mini-links a {
    min-height: 26px !important;
    padding: 5px 8px !important;
    font-size: 12px !important;
  }
}



/* V17 – hero nadpisy vždy na jeden řádek */

body .apx-site .apx-hero-content h1,
body .apx-site .apx-hero-content h2 {
  white-space: nowrap !important;
  text-align: center !important;
  font-size: clamp(40px, 4.4vw, 70px) !important;
  line-height: 1.02 !important;
}

/* Obsah pod nadpisem zůstává vlevo */
body .apx-site .apx-hero-content,
body .apx-site .apx-hero-content p,
body .apx-site .apx-hero-content ul,
body .apx-site .apx-hero-content li {
  text-align: left !important;
}

/* Tablet / iPad */
@media (max-width: 1080px) {
  body .apx-site .apx-hero-content h1,
  body .apx-site .apx-hero-content h2 {
    white-space: nowrap !important;
    font-size: clamp(38px, 5.1vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.058em !important;
  }
}

/* Mobil */
@media (max-width: 767px) {
  body .apx-site .apx-hero-content h1,
  body .apx-site .apx-hero-content h2 {
    white-space: nowrap !important;
    font-size: clamp(34px, 9.7vw, 46px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.06em !important;
    text-align: center !important;
  }

  body .apx-site .apx-hero-content p,
  body .apx-site .apx-hero-content ul,
  body .apx-site .apx-hero-content li {
    text-align: left !important;
  }
}

/* Úzké mobily – raději menší písmo než zalomený nadpis */
@media (max-width: 420px) {
  body .apx-site .apx-hero-content h1,
  body .apx-site .apx-hero-content h2 {
    font-size: clamp(30px, 8.9vw, 38px) !important;
    letter-spacing: -0.065em !important;
  }
}


/* V37 – původní červená šipka vpravo + kompaktní mobilní patička */

/*
  Vychází z V36.
  Mění pouze:
  - plovoucí šipku zpět na původní červený vzhled vpravo,
  - mobilní patičku zpět kompaktně, odkazy vedle sebe.
*/

/* Zachování oprav hero a rozcestníku z V36 */
html body .apx-site .apx-hero .apx-hero-panel {
  overflow: hidden !important;
}

html body .apx-site .apx-hero .apx-hero-content {
  min-width: 0 !important;
}

html body .apx-site .apx-hero h1.apx-hero-title-v32,
html body .apx-site .apx-hero h2.apx-hero-title-v32 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 26px !important;
  padding: 0 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: nowrap !important;
  text-align: center !important;
  line-height: 1.02 !important;
  letter-spacing: -0.075em !important;
}

@media (min-width: 1025px) {
  html body .apx-site .apx-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  html body .apx-site .apx-hero h1.apx-hero-title-v32,
  html body .apx-site .apx-hero h2.apx-hero-title-v32 {
    font-size: clamp(38px, 2.75vw, 56px) !important;
  }

  html body .apx-site .apx-hero .apx-hero-content-equal li {
    line-height: 1.12 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  html body .apx-site .apx-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  html body .apx-site .apx-hero h1.apx-hero-title-v32,
  html body .apx-site .apx-hero h2.apx-hero-title-v32 {
    font-size: clamp(30px, 4.35vw, 40px) !important;
    letter-spacing: -0.09em !important;
    margin-bottom: 20px !important;
  }

  html body .apx-site .apx-hero .apx-hero-content p {
    font-size: clamp(18px, 2.45vw, 24px) !important;
    line-height: 1.35 !important;
  }

  html body .apx-site .apx-hero .apx-hero-content li {
    font-size: clamp(15px, 2.0vw, 19px) !important;
    line-height: 1.28 !important;
  }
}

@media (min-width: 568px) and (max-width: 1024px) and (orientation: landscape) {
  html body .apx-site .apx-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  html body .apx-site .apx-hero h1.apx-hero-title-v32,
  html body .apx-site .apx-hero h2.apx-hero-title-v32 {
    font-size: clamp(30px, 4.2vw, 42px) !important;
    letter-spacing: -0.085em !important;
    margin-bottom: 18px !important;
  }

  html body .apx-site .apx-hero .apx-hero-content p {
    font-size: clamp(16px, 2.2vw, 22px) !important;
    line-height: 1.35 !important;
  }

  html body .apx-site .apx-hero .apx-hero-content li {
    font-size: clamp(14px, 1.85vw, 19px) !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  html body .apx-site .apx-hero h1.apx-hero-title-v32,
  html body .apx-site .apx-hero h2.apx-hero-title-v32 {
    font-size: clamp(34px, 9vw, 48px) !important;
    letter-spacing: -0.075em !important;
    margin-bottom: 22px !important;
  }
}

@media (max-width: 390px) {
  html body .apx-site .apx-hero h1.apx-hero-title-v32,
  html body .apx-site .apx-hero h2.apx-hero-title-v32 {
    font-size: clamp(30px, 8.1vw, 39px) !important;
  }
}

@media (min-width: 568px) {
  html body .apx-site .apx-hero .apx-hero-panel {
    align-items: stretch !important;
  }

  html body .apx-site .apx-hero .apx-hero-content-equal {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  html body .apx-site .apx-hero .apx-hero-content-equal .apx-btn {
    margin-top: auto !important;
  }

  html body .apx-site .apx-hero .apx-hero-content-equal li {
    min-height: 40px !important;
  }
}

/* iPad na výšku: službové karty níže na stránce pod sebe */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  html body .apx-site .apx-service-grid,
  html body .apx-site .apx-services-grid,
  html body .apx-site .apx-service-cards,
  html body .apx-site .apx-main-services,
  html body .apx-site .apx-choice-grid,
  html body .apx-site .apx-cards-grid,
  html body .apx-site .apx-split-grid,
  html body .apx-site .apx-link-cards,
  html body .apx-site .apx-section-grid {
    grid-template-columns: 1fr !important;
  }

  html body .apx-site .apx-service-grid > *,
  html body .apx-site .apx-services-grid > *,
  html body .apx-site .apx-service-cards > *,
  html body .apx-site .apx-main-services > *,
  html body .apx-site .apx-choice-grid > *,
  html body .apx-site .apx-cards-grid > *,
  html body .apx-site .apx-split-grid > *,
  html body .apx-site .apx-link-cards > *,
  html body .apx-site .apx-section-grid > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Rozcestník pod „Vyberte, s čím potřebujete pomoci“ na střed */
html body .apx-site .apx-seo-link-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 420px)) !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: stretch !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body .apx-site .apx-seo-link-grid article {
  width: 100% !important;
  max-width: 420px !important;
  justify-self: center !important;
}

@media (max-width: 1024px) {
  html body .apx-site .apx-seo-link-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  html body .apx-site .apx-seo-link-grid article {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

/* PŮVODNÍ ČERVENÁ PLOVOUCÍ ŠIPKA VPRAVO */
html body .apx-back-to-top {
  position: fixed !important;
  right: 22px !important;
  left: auto !important;
  bottom: 22px !important;
  z-index: 99990 !important;
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background:
    radial-gradient(circle at 32% 20%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(180deg, #f03540, #b90e18) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 16px 38px rgba(0,0,0,.34),
    0 0 26px rgba(215,25,37,.22) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

html body .apx-back-to-top span {
  display: block !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  transform: translateY(-1px);
  animation: apxFloatArrow 1.35s ease-in-out infinite !important;
}

html body .apx-back-to-top:hover {
  transform: translateY(-4px) !important;
  filter: brightness(1.06) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 20px 48px rgba(0,0,0,.40),
    0 0 34px rgba(215,25,37,.32) !important;
}

@keyframes apxFloatArrow {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 767px) {
  html body .apx-back-to-top {
    right: 14px !important;
    left: auto !important;
    bottom: 14px !important;
    width: 46px !important;
    height: 46px !important;
  }

  html body .apx-back-to-top span {
    font-size: 26px !important;
  }
}

/* Skrýt modré/tematické scroll-to-top tlačítko */
html body #ast-scroll-top,
html body .ast-scroll-top,
html body .ast-scroll-top-icon,
html body .ast-scroll-to-top-right,
html body .ast-scroll-to-top-left,
html body .scroll-to-top,
html body .scrolltop,
html body .back-to-top:not(.apx-back-to-top),
html body .elementor-scroll-top,
html body a[href="#page"].scroll-to-top,
html body a[href="#top"]:not(.apx-back-to-top) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* MOBILNÍ PATIČKA KOMPAKTNĚ – odkazy vedle sebe, ne každý pod sebou */
@media (max-width: 921px) {
  html body .site-footer,
  html body footer.site-footer,
  html body .site-footer .site-above-footer-wrap,
  html body .site-footer .site-primary-footer-wrap,
  html body .site-footer .site-below-footer-wrap {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  html body .site-footer .ast-builder-grid-row,
  html body .site-footer .ast-builder-footer-grid-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px 8px !important;
    min-height: 0 !important;
  }

  html body .site-footer .site-footer-section,
  html body .site-footer .ast-footer-html,
  html body .site-footer .ast-footer-copyright,
  html body .site-footer .widget,
  html body .site-footer .footer-widget-area {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .site-footer p,
  html body .site-footer div,
  html body .site-footer span,
  html body .site-footer li,
  html body .site-footer a,
  html body .site-footer .ast-footer-copyright,
  html body .site-footer .ast-footer-html {
    font-size: 11px !important;
    line-height: 1.14 !important;
  }

  html body .site-footer .menu,
  html body .site-footer nav ul,
  html body .site-footer .wp-block-navigation__container,
  html body .site-footer .apx-footer-mini-links,
  html body .apx-footer-mini-links {
    width: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px 6px !important;
    padding: 2px 0 !important;
    margin: 0 auto !important;
  }

  html body .site-footer .menu li,
  html body .site-footer nav li,
  html body .site-footer .wp-block-navigation-item {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
  }

  html body .site-footer .apx-footer-mini-links a,
  html body .site-footer .menu a,
  html body .site-footer nav a,
  html body .site-footer .wp-block-navigation-item__content,
  html body .apx-footer-mini-links a {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 3px 7px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  html body .site-footer .apx-footer-mini-links a,
  html body .site-footer .menu a,
  html body .site-footer nav a,
  html body .site-footer .wp-block-navigation-item__content,
  html body .apx-footer-mini-links a {
    padding: 3px 6px !important;
    font-size: 10.5px !important;
  }
}


/* V39 – přesná oprava tří službových bloků */

/*
  Důvod, proč předchozí úprava nic nezměnila:
  skutečný wrapper těch tří bloků je .apx-service-columns.
  Proto teď cílím přímo na něj, ne na obecné grid třídy.
*/

/* iPad na výšku: Notebooky / Apple / Systém pod sebe */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  html body .apx-site .apx-service-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  html body .apx-site .apx-service-columns > a.apx-service-card-link,
  html body .apx-site .apx-service-columns > .apx-service-card-link,
  html body .apx-site .apx-service-columns > article {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

/* iPhone na šířku: stejné chování pod sebe */
@media (min-width: 568px) and (max-width: 767px) and (orientation: landscape) {
  html body .apx-site .apx-service-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  html body .apx-site .apx-service-columns > a.apx-service-card-link,
  html body .apx-site .apx-service-columns > .apx-service-card-link,
  html body .apx-site .apx-service-columns > article {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

/* Pro jistotu i úzké tablety pod 900px */
@media (max-width: 900px) {
  html body .apx-site .apx-service-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  html body .apx-site .apx-service-columns > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* V42 – H1 bez skrytého SEO textu */

/*
  H1 je vrácený na čistý viditelný text:
  „Servis notebooků“.

  Skrytý SEO text v H1 je odstraněný.
  SEO title a meta description se řeší přes Rank Math.
  Design ani layout se nemění.
*/


/* V43 – doplnění alt textů obrázků */

/*
  Upravené je hlavně HTML:
  - doplněné konkrétní alt texty k ikonám oprav,
  - doplněné konkrétní alt texty ke značkám,
  - doplněné width/height tam, kde šly převzít z přibalených assets,
  - doplněné decoding="async" a loading="lazy" u obrázků,
  - design se nemění.
*/




/* A+ SERVIS v48 clean start – pouze nové šablony, žádné staré vrstvy */
html body .apx50-page,
html body .apx50-page *{box-sizing:border-box!important}
html body .entry-content>.apx50-page{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
html body:has(.apx50-page) h1.entry-title,html body:has(.apx50-page) .entry-title,html body:has(.apx50-page) .page-title{display:none!important}
html body .apx50-page{--red:#d71925;--red2:#ff3445;--bg:#050608;--panel:#0b0e13;--line:rgba(255,255,255,.12);--muted:#aeb6c4;background:#050608!important;color:#fff!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;overflow:hidden!important}
html body .apx50-page a{text-decoration:none!important;color:inherit!important}
html body .apx50-wrap{width:min(1360px,calc(100% - 48px))!important;margin:0 auto!important}
html body .apx50-hero{padding:24px 0 0!important;background:radial-gradient(circle at 12% 0%,rgba(215,25,37,.20),transparent 30%),#050608!important}
html body .apx50-hero-box{min-height:520px!important;display:flex!important;align-items:center!important;border:1px solid var(--line)!important;border-radius:16px!important;overflow:hidden!important;background:linear-gradient(90deg,rgba(5,6,8,.98),rgba(5,6,8,.78),rgba(5,6,8,.42)),radial-gradient(circle at 82% 28%,rgba(215,25,37,.22),transparent 34%),linear-gradient(135deg,#111721,#050608)!important;box-shadow:0 30px 90px rgba(0,0,0,.38)!important}
html body .apx50-hero-inner{width:min(760px,100%)!important;padding:clamp(34px,5vw,70px)!important}
html body .apx50-kicker{margin:0 0 14px!important;color:#ff4a56!important;font-size:13px!important;font-weight:950!important;letter-spacing:.14em!important;text-transform:uppercase!important}
html body .apx50-page h1,html body .apx50-page h2,html body .apx50-page h3{color:#fff!important;margin:0!important;font-weight:950!important;letter-spacing:-.045em!important;line-height:1.06!important}
html body .apx50-page h1{font-size:clamp(42px,5vw,72px)!important}
html body .apx50-page h2{font-size:clamp(30px,3vw,48px)!important}
html body .apx50-lead{margin:20px 0 0!important;color:rgba(255,255,255,.86)!important;font-size:clamp(17px,1.45vw,22px)!important;line-height:1.55!important}
html body .apx50-checks{display:grid!important;gap:10px!important;margin:24px 0 0!important;padding:0!important;list-style:none!important}
html body .apx50-checks li{position:relative!important;padding-left:28px!important;font-weight:850!important;color:#fff!important}
html body .apx50-checks li:before{content:"✓"!important;position:absolute!important;left:0!important;top:-1px!important;color:#ff3445!important;font-size:20px!important;font-weight:950!important}
html body .apx50-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:24px!important}
html body .apx50-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:12px 20px!important;border-radius:999px!important;color:#fff!important;font-weight:950!important;border:1px solid rgba(255,255,255,.14)!important}
html body .apx50-btn-red{background:linear-gradient(180deg,#ff3445,#b90e18)!important;box-shadow:0 14px 30px rgba(215,25,37,.25)!important}
html body .apx50-btn-dark{background:rgba(255,255,255,.08)!important}
html body .apx50-section{padding:62px 0!important;background:#080b10!important}
html body .apx50-section-dark{background:#07090d!important}
html body .apx50-head{max-width:900px!important;margin:0 auto 30px!important;text-align:center!important}
html body .apx50-head p:not(.apx50-kicker){margin:13px 0 0!important;color:var(--muted)!important;font-size:16.5px!important;line-height:1.6!important}
html body .apx50-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body .apx50-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-height:185px!important;padding:18px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:radial-gradient(circle at 0 0,rgba(215,25,37,.10),transparent 38%),linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.035))!important;box-shadow:0 16px 38px rgba(0,0,0,.20)!important}
html body .apx50-card span{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:15px!important;margin-bottom:12px!important;background:rgba(215,25,37,.26)!important;border:1px solid rgba(215,25,37,.35)!important}
html body .apx50-card strong{display:block!important;color:#fff!important;font-size:19px!important;line-height:1.16!important;font-weight:950!important}
html body .apx50-card p{margin:10px 0 0!important;color:var(--muted)!important;font-size:14px!important;line-height:1.45!important}
html body .apx50-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html body .apx50-step{padding:20px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.028))!important}
html body .apx50-step b{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:999px!important;background:linear-gradient(180deg,#ff3445,#b90e18)!important;margin-bottom:14px!important}
html body .apx50-step h3{font-size:20px!important}
html body .apx50-step p{margin:10px 0 0!important;color:var(--muted)!important;font-size:14px!important}
html body .apx50-form-wrap{display:grid!important;grid-template-columns:minmax(280px,.82fr) minmax(420px,1.18fr)!important;gap:18px!important;align-items:start!important}
html body .apx50-form-copy,html body .apx50-form{padding:24px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:radial-gradient(circle at 0 0,rgba(215,25,37,.12),transparent 38%),linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035))!important}
html body .apx50-form-copy p,html body .apx50-form-copy li{color:var(--muted)!important}
html body .apx50-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body .apx50-form{display:grid!important;gap:14px!important}
html body .apx50-form label{display:grid!important;gap:7px!important;color:#dfe4ee!important;font-size:14px!important;font-weight:850!important}
html body .apx50-form input,html body .apx50-form select,html body .apx50-form textarea{width:100%!important;min-height:44px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:12px!important;background:#0d1118!important;color:#fff!important;padding:11px 13px!important}
html body .apx50-form textarea{min-height:118px!important}
html body .apx50-form button{min-height:50px!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#ff3445,#b90e18)!important;color:#fff!important;font-weight:950!important}
html body .apx50-result.ok{color:#7dffad!important}.apx50-result.err{color:#ff9ca4!important}
html body .apx50-buy-strip{padding:28px 0!important;background:#07090d!important}
html body .apx50-buy-strip a{display:block!important;padding:24px!important;border-radius:22px!important;background:linear-gradient(135deg,#d71925,#8f0c14)!important;color:#fff!important}
html body .apx50-buy-strip strong{display:block!important;font-size:28px!important;line-height:1.1!important}
html body .apx50-buy-strip p{margin:10px 0 0!important;color:rgba(255,255,255,.84)!important}
html body .apx50-page .apx-contact, html body .apx50-page .apx-seo-drawer{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
@media(max-width:980px){html body .apx50-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .apx50-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .apx50-form-wrap{grid-template-columns:1fr!important}}
@media(max-width:720px){html body .apx50-wrap{width:min(100% - 24px,1360px)!important}html body .apx50-hero-box{min-height:0!important}.apx50-hero-inner{padding:32px 22px!important}html body .apx50-grid,html body .apx50-steps,html body .apx50-form-grid{grid-template-columns:1fr!important}html body .apx50-section{padding:44px 0!important}html body .apx50-card{min-height:0!important}}
