/* Podstránky Služby, O mně a Kontakt (11/2026). Staví na /css/home-360.css (.h3-*), sem patří jen to, co úvod nemá.
   main#main-content.h3.pg · mobil je výchozí, tablet od 700/768 px, desktop od 1024 px. */

.pg [id] { scroll-margin-top: 84px; }
/* podstránky: sekce vykreslit hned, ať kotvy (#nabidka, #balicky, #poptavka …) míří přesně */
.pg .h3-sec { content-visibility: visible; contain-intrinsic-size: none; }

/* ---------- hero podstránky ---------- */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 20px 24px; text-align: center; }
.pg-hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -10%; width: min(1100px, 150vw); aspect-ratio: 1.7; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%),
    radial-gradient(closest-side at 72% 58%, rgba(134, 145, 250, .26), rgba(134, 145, 250, 0) 75%);
  pointer-events: none;
}
.pg-hero__inner { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.pg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 6px 18px -10px rgba(21, 43, 112, .35);
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--navy);
}
.pg-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lav); flex: none; }
.pg-h1 {
  margin: 0 0 20px; max-width: 20ch; font-size: clamp(34px, 8.4vw, 64px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
  color: var(--ink); text-wrap: balance;
}
.pg-h1 em, .pg-hero .pg-h1 em {
  font-style: normal; background: linear-gradient(135deg, #8691fa 0%, #152b70 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pg-lead { margin: 0 0 28px; max-width: 760px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: #414b5c; text-wrap: pretty; }
.pg-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pg-jump { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pg-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 700; color: var(--navy); background: rgba(255, 255, 255, .55); border: 1px solid rgba(21, 43, 112, .1);
  transition: background-color .15s ease;
}
.pg-jump a:hover { background: #fff; }

/* ---------- O mně: úvod s portrétem ---------- */
.pg-intro { padding: 32px 20px 12px; }
.pg-intro__grid { max-width: 1160px; margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.pg-intro__text .pg-eyebrow { margin-bottom: 18px; }
.pg-intro__text .pg-h1 { max-width: 16ch; }
.pg-role { margin: 0 0 14px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; font-weight: 700; color: var(--navy); }
.pg-intro__text .pg-lead { margin-bottom: 18px; color: var(--ink); }
.pg-story p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.pg-intro__text .pg-ctas { justify-content: flex-start; margin-top: 22px; }
.pg-intro__photo {
  position: relative; order: -1; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; width: 100%;
  background: #dfe3ff; box-shadow: 0 30px 60px -30px rgba(21, 43, 112, .45);
}
.pg-intro__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 16%; }

/* ---------- fakta v kostce ---------- */
.pg-facts { max-width: 900px; margin: 0 auto; padding: 6px 22px; }
.pg-facts dl { margin: 0; }
.pg-facts dl > div { display: grid; gap: 4px; padding: 15px 0; border-top: 1px solid var(--line); }
.pg-facts dl > div:first-child { border-top: 0; }
.pg-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); }
.pg-facts dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.pg-facts a { color: var(--navy); font-weight: 700; display: inline-block; padding: 10px 0; }

/* ---------- karty: služby na míru, pilíře, ceník ---------- */
.pg-grid { display: grid; gap: 16px; }
.pg-grid .h3-pillar h3 { font-size: 22px; }
.pg-grid .h3-pillar__foot, .h3-pillars .h3-pillar__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
.pg-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.pg-links .pg-link-2 { color: var(--muted); font-weight: 600; }
.h3-pillar--main .pg-links .pg-link-2 { color: rgba(255, 255, 255, .8); }
.h3-pillar--main .h3-link { color: #fff; }
.h3-plan .h3-pillar__tag { align-self: flex-start; margin-bottom: 12px; }
.h3-plan--main .h3-pillar__tag { color: #fff; background: rgba(255, 255, 255, .14); }
.h3-plan--main .h3-plan__price { color: #fff; }
.h3-plan__badge + .h3-pillar__tag { margin-top: -4px; }
.pg-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px;
  font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none;
}
.pg-more svg { width: 18px; height: 18px; transition: transform .2s; }
.pg-more:hover svg { transform: translateX(3px); }
.h3-plan--main .pg-more { color: #fff; }
.pg-center { margin: 8px 0 0; text-align: center; }

/* ---------- O mně: cesta, hodnoty, nástroje ---------- */
.pg-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 14px; }
.pg-timeline li { position: relative; padding: 22px 22px 22px 60px; }
.pg-timeline li::before {
  content: ""; position: absolute; left: 22px; top: 27px; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #8691fa, #152b70); box-shadow: 0 0 0 6px rgba(134, 145, 250, .2);
}
.pg-timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 29px; top: 50px; bottom: -20px; width: 2px; z-index: 1;
  background: linear-gradient(to bottom, rgba(134, 145, 250, .55), rgba(21, 43, 112, .15));
}
.pg-timeline small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.pg-timeline h3 { margin: 4px 0 6px; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.pg-timeline p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

.pg-values { display: grid; gap: 14px; }
.pg-value { padding: 24px 22px; }
.pg-value h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.pg-value p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

.pg-sec--tight { padding-top: 24px; }
.pg-chips { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pg-chips li {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--navy);
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .85);
}

/* ---------- Kontakt ---------- */
.pg-contact { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; max-width: 1100px; display: grid; gap: 12px; text-align: left; }
.pg-contact li { display: flex; min-width: 0; }
.pg-contact__card {
  flex: 1; min-width: 0; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 22px; color: inherit; text-decoration: none;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 20px 44px -28px rgba(21, 43, 112, .35);
  transition: transform .2s ease, background-color .2s ease;
}
a.pg-contact__card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .85); }
.pg-contact__ico {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8691fa, #152b70); box-shadow: 0 8px 18px -8px rgba(21, 43, 112, .55);
}
.pg-contact__ico svg { width: 22px; height: 22px; }
.pg-contact__body { min-width: 0; }
.pg-contact small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); }
.pg-contact b { display: block; margin-top: 3px; font-size: 16px; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.pg-contact__note { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.pg-social { display: flex; gap: 8px; margin-top: 6px; }
.pg-social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--navy);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); transition: background-color .15s ease, color .15s ease;
}
.pg-social a:hover { color: #fff; background: var(--navy); }
.pg-social svg { width: 18px; height: 18px; fill: currentColor; }
.pg-hero--contact .pg-lead { margin-bottom: 26px; }
.pg-hero--contact .pg-hero__inner { max-width: 1120px; }
.pg-nw { white-space: nowrap; }

/* ---------- tablet a desktop ---------- */
@media (min-width: 700px) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-contact { grid-template-columns: repeat(2, 1fr); }
  .pg-values { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .pg-facts { padding: 10px 30px; }
  .pg-facts dl > div { grid-template-columns: 210px 1fr; gap: 24px; align-items: baseline; padding: 16px 0; }
  .pg-sec--tight { padding-top: 32px; }
}
@media (min-width: 1024px) {
  .pg-hero { padding: 72px 40px 32px; }
  .pg-hero--contact { padding-bottom: 8px; }
  .pg-intro { padding: 64px 40px 24px; }
  .pg-intro__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .pg-intro__photo { aspect-ratio: 4 / 5; max-height: 640px; }
  .pg-contact { grid-template-columns: repeat(4, 1fr); }
  .pg-contact__card { flex-direction: column; gap: 12px; padding: 20px; }
  .h3-steps.pg-steps3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .pg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .pg-ctas { width: 100%; flex-direction: column; }
  .pg-ctas .h3-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-more svg, .pg-contact__card, .pg-jump a { transition: none; }
}
