/* ==================== 01 — LOKÁLNÍ FONTY ==================== */
@font-face {
  font-family: "Mulish";
  src: url("fonts/Mulish/Mulish-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("fonts/Mulish/Mulish-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald/Oswald-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

/*
  MAPA CSS:
  01 Fonty, 02 Promenne, 03 Zaklad, 04 Tlacitka, 06 Navigace, 07 Hero,
  08 Pro koho, 09 Sluzby, 10 Proc ja, 11 Recenze, 12 Psi asistenti,
  13 Prubeh vycviku, 14 FAQ, 15 Kontakt, 16 Footer.

  RESPONZIVITA JE DOLE:
  17 Tablet 810-1279px / společné styly pod desktop, 18 Telefon do 809px,
  19 Mobil do 809px, 20 Maly mobil do 430px, 21 Omezeni pohybu.
*/

/* ==================== 02 — PROMĚNNÉ ==================== */
:root {
  --font-body: "Mulish", Arial, sans-serif;
  --font-heading: "Oswald", Arial, sans-serif;

  --bg: #252816;
  --bg-card: #39401f;
  --bg-footer: #39411f;
  --accent: #e8ad19;
  --accent-hover: #f5bd2d;
  --accent-dark: #bc8610;
  --text: #f6f4eb;
  --text-muted: #c8ccb9;
  --text-dark: #12170c;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);

  --container: 1180px;
  --page-gutter: 50px;
  --header-height: 113px;
  --cut: 26px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

/* ==================== 03 — RESET A ZÁKLAD ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

h2 {
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
}

h2 span,
h3 span {
  color: var(--accent);
}

p {
  color: var(--text-muted);
}

strong {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + (var(--page-gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section {
  position: relative;
  padding-block: 110px;
  isolation: isolate;
}

.section-content {
  position: relative;
  z-index: 1;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading-center {
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==================== 04 — TLAČÍTKA ==================== */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-inline: 24px;
  border: 1px solid var(--accent);
  color: var(--text-dark);
  background: var(--accent);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--text-dark);
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button > span {
  display: block;
  width: 9px;
  height: 16px;
  flex: 0 0 9px;
  align-self: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: url("./assets/ikony/sipka-tlacitka.png") center / contain no-repeat;
  transform: translateY(1px);
}

.button-small {
  min-height: 48px;
  padding-inline: 20px;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--text-dark);
  border-color: var(--white);
  background: var(--white);
}

/* ==================== 05 — PŘÍSTUPNOST ==================== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #000;
  background: #fff;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(232, 173, 25, 0.8);
  outline-offset: 3px;
}

/* ==================== 06 — HLAVIČKA A NAVIGACE ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  transition: transform 260ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 14px));
}

.site-header.is-scrolled {
  background: rgba(20, 25, 12, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  width: 93px;
  height: 63px;
  flex: 0 0 93px;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 93px;
  height: 63px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.main-nav > a:not(.button) {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-block: 8px;
  line-height: 1;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.main-nav .button {
  align-self: center;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* ==================== 07 — HERO ==================== */
.hero {
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  align-items: center;
  isolation: isolate;
  background: url("./assets/pozadi-hero.avif") center 36% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.02) 0 18%, transparent 48%),
    linear-gradient(90deg, rgba(16, 22, 10, 0.93) 0%, rgba(16, 22, 10, 0.76) 40%, rgba(16, 22, 10, 0.12) 74%),
    linear-gradient(0deg, var(--bg) 0%, rgba(37, 40, 22, 0.04) 42%);
}

.hero-content {
  display: flex;
  min-height: min(920px, 100svh);
  align-items: center;
  padding-top: 145px;
  padding-bottom: 90px;
}

.hero-copy {
  max-width: 860px;
}

.hero-text {
  max-width: 500px;
  margin-bottom: 34px;
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.scroll-indicator img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease, opacity 180ms ease;
}

.scroll-indicator:hover img,
.scroll-indicator:focus-visible img {
  opacity: 0.84;
  transform: translateY(3px);
}

/* ==================== 08 — PRO KOHO JSOU / NEJSOU VÝCVIKY ==================== */
.audience-section {
  background: var(--bg);
}

.section-bg-audience {
  background-color: var(--bg);
  background-image: url("./assets/audience-background.avif");
}

.section-bg-audience::after {
  background: rgba(37, 40, 22, 0.08);
}

.audience-section .section-heading {
  margin-bottom: 44px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.audience-card {
  display: flex;
  min-height: 336px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 38px 40px 34px;
}

.audience-card-dark {
  color: var(--white);
  background: rgba(57, 62, 43, 0.97);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.audience-card-light {
  color: var(--text-dark);
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}

.audience-card h3 {
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.4;
}

.audience-card-dark .check-list li {
  color: #f4f3ed;
}

.audience-card-light .check-list li {
  color: #17190f;
}

.check-list li::before {
  position: absolute;
  top: 0.16em;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.audience-card-dark .check-list li::before {
  content: "×";
  color: rgba(57, 62, 43, 0.98);
}

.audience-card-light .check-list li::before {
  content: "✓";
}

.audience-footer {
  max-width: 680px;
  margin: 38px auto 0;
  text-align:center;
}

.audience-footer p {
  margin-bottom: 30px;
  color: #f4f3ed;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
}

/* ==================== 09 — SLUŽBY ==================== */
.services-section {
  background: var(--bg);
}

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

.service-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 412 / 327;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.service-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(16, 22, 10, 0.12) 48%, rgba(21, 28, 11, 0.94) 100%);
}

.service-card:hover > img {
  transform: scale(1.045);
}

.service-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 3vw, 40px);
  height: clamp(34px, 3vw, 40px);
  border-radius: 50%;
  color: transparent;
  background: #DAA929;
  font-size: 0;
  line-height: 1;
}

.service-arrow::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: url("./assets/ikony/sipka-TopRight.png") center / contain no-repeat;
  transform: translate(1px, 1px);
}

.service-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 30px 24px;
}

.service-overlay h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.service-overlay p {
  margin-bottom: 0;
  color: #f1f1eb;
  font-size: 14px;
  line-height: 1.45;
}

/* ==================== 10 — PROČ PRÁVĚ JÁ ==================== */
.benefits-section {
  overflow: hidden;
  background: var(--bg);
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 60px;
  align-items: start;
}

.benefits-copy {
  padding-top: 10px;
}

.benefits-copy p {
  max-width: 520px;
}

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

.feature-card {
  min-height: 230px;
  padding: 30px;
  color: var(--text-dark);
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.feature-card p {
  margin-bottom: 0;
  color: #4d5149;
}

.feature-icon {
  display: block;
  width: 59px;
  height: 59px;
  margin-bottom: 24px;
}

.feature-icon img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

.dog-silhouette {
  position: absolute;
  z-index: -1;
  width: 190px;
  opacity: 1;
  pointer-events: none;
}

.dog-silhouette img {
  width: 100%;
  height: auto;
}

.dog-silhouette-left {
  bottom: 38px;
  left: -36px;
}

.dog-silhouette-right {
  right: -28px;
  bottom: 38px;
}

/* ==================== 11 — RECENZE ==================== */
.testimonials-section {
  overflow-x: clip;
  overflow-y: visible;
  background: #252816;
}

.testimonials-section > .container {
  max-width: none;
  padding-inline: 0;
}

.testimonials-section .section-heading {
  width: 100%;
  max-width: calc(var(--container) + (var(--page-gutter) * 2));
  margin-right: auto;
  margin-left: auto;
  padding-inline: var(--page-gutter);
}

.carousel {
  --review-card-width: clamp(700px, 59vw, 860px);
  --review-card-height: clamp(380px, 31vw, 447px);
  position: relative;
  width: 100%;
  padding-block: 32px 50px;
}

.carousel-viewport {
  width: 100%;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  width: max-content;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  transition: transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.testimonial-card {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: var(--review-card-height);
  flex: 0 0 var(--review-card-width);
  grid-template-columns: minmax(292px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  align-items: stretch;
  opacity: 0.52;
  filter: blur(0.35px);
  transform: scale(0.91);
  transform-origin: center;
  transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 500ms ease, filter 500ms ease;
}

.testimonial-card.is-center {
  z-index: 3;
  opacity: 1;
  filter: blur(0);
  transform: scale(1.035);
}

.testimonial-photo {
  min-height: var(--review-card-height);
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  background: #252816;
}

.testimonial-photo picture,
.testimonial-photo img {
  width: 100%;
  height: 100%;
}

.testimonial-photo img {
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.testimonial-photo img[src*="review-daniela-p"] {
  object-position: 50% 28%;
}

.testimonial-photo img[src*="review-guido-p"] {
  object-position: 50% 24%;
}

.testimonial-photo img[src*="review-lenka-t"] {
  object-position: 50% 30%;
}

.testimonial-photo img[src*="review-lenka-v"] {
  object-position: 50% 24%;
}

.testimonial-photo img[src*="review-martin-m"] {
  object-position: 50% 26%;
}

.testimonial-photo img[src*="review-neil-a"] {
  object-position: 50% 20%;
}

.testimonial-photo img[src*="review-renata-m"] {
  object-position: 50% 30%;
}

.testimonial-content {
  position: relative;
  display: flex;
  min-height: var(--review-card-height);
  flex-direction: column;
  justify-content: flex-start;
  padding: 104px 50px 40px 68px;
  background: #404922;
  clip-path: polygon(10% 0, 100% 0, 100% 84%, 91% 100%, 0 100%);
  transition: min-height 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.quote-mark {
  position: absolute;
  top: 42px;
  left: 66px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 86px;
  line-height: 0.8;
}

.testimonial-content h3 {
  margin: 0 0 8px;
}

.stars {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.16em;
}

.testimonial-content p {
  margin-bottom: 0;
  color: #f0f1e8;
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.48;
}

.review-text {
  display: block;
  max-height: 7.35em;
  overflow: hidden;
  transition: max-height 680ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 360ms ease, filter 480ms ease;
}

.testimonial-card.has-overflow:not(.is-expanded) .review-text {
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}

.testimonial-card.is-expanded .review-text {
  max-height: var(--review-expanded-height, 1000px);
  -webkit-mask-image: none;
  mask-image: none;
}

.review-toggle {
  align-self: flex-start;
  margin-top: 12px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--white);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.review-toggle:hover,
.review-toggle:focus-visible {
  color: var(--accent);
  border-color: currentColor;
}

.review-toggle[hidden] {
  display: none;
}

/* ==================== 12 — PSÍ ASISTENTI ==================== */
.dogs-section {
  min-height: 710px;
  overflow: hidden;
  padding-block: 72px;
}

.section-bg-dogs {
  background-image: url("./assets/pozadi-tlapky.avif");
}

.section-bg-dogs::after {
  background: linear-gradient(180deg, rgba(37, 40, 22, 0.16) 0%, rgba(37, 40, 22, 0.1) 45%, rgba(37, 40, 22, 0.78) 100%);
}

.dogs-section .section-heading {
  margin-bottom: 34px;
}

.dogs-section .section-heading p {
  max-width: 500px;
  margin-inline: auto;
}

.dogs-grid {
  display: grid;
  width: min(100%, 1420px);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
}

.dog-card {
  min-width: 0;
  text-align: center;
}

.paw-gallery {
  position: relative;
  width: min(100%, 285px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  isolation: isolate;
}

.paw-gallery img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}



.dog-paw-icon {
  width: 21px;
  height: 25px;
  margin: 10px auto 8px;
  object-fit: contain;
}

.dog-card h3 {
  margin-top: 0;
  margin-bottom: 3px;
}

.dog-card p {
  margin-bottom: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: #e8ad19;
}

/* ==================== 13 — PRŮBĚH VÝCVIKU ==================== */
.process-section {
  overflow: visible;
  background: var(--bg);
}

.process-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}

.process-list {
  position: relative;
  display: grid;
  grid-auto-rows: 1fr;
  gap: 15px;
}

.process-list::before {
  content: "";
  position: absolute;
  top: -30px;
  bottom: -30px;
  left: 52%;
  z-index: -1;
  width: 4px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0 12px, transparent 12px 28px);
  transform: rotate(-4deg);
}

.process-step {
  display: grid;
  min-height: 210px;
  height: 100%;
  align-content: center;
  gap: 22px;
  padding: 30px 32px;
  color: var(--text-dark);
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.process-step > * {
  margin: 0;
}

.process-step > span {
  color: var(--accent-dark);
  font-weight: 800;
}

.process-step p {
  color: #4e5349;
}

/* Karty průběhu výcviku se odhalují postupně po úplném zobrazení předchozí karty. */
.process-list.is-reveal-ready .process-step {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 850ms ease,
    transform 850ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.process-list.is-reveal-ready .process-step.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.process-media {
  align-self: start;
}

@media (min-width: 1280px) {
  .process-media {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    z-index: 2;
    transition: top 260ms ease;
  }

  .site-header.is-hidden ~ main .process-media {
    top: 24px;
  }
}

.video-card {
  position: relative;
  margin: 30px 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.video-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==================== 14 — METODIKA A FAQ ==================== */
.method-section {
  overflow: hidden;
}

.section-bg-method {
  background-color: var(--bg);
  background-image: url("./assets/metodika-nepopo-pozadi.avif");
}

.section-bg-method::after {
  background: linear-gradient(180deg, rgba(37, 40, 22, 0.16), rgba(37, 40, 22, 0.34));
}

.method-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 70px;
  align-items: center;
  margin-bottom: 110px;
}

.method-intro img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.faq-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  color: var(--text-dark);
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  padding: 20px 66px 20px 26px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 26px;
  color: var(--accent-dark);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

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

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  filter: blur(5px);
  will-change: height, opacity, filter;
  transition: height 620ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 420ms ease, filter 520ms ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
  filter: blur(0);
}

.faq-item.is-closing .faq-answer {
  opacity: 0;
  filter: blur(5px);
}

.faq-answer p,
.faq-item > p {
  margin: 0;
  padding: 0 26px 24px;
  color: #4d5149;
}

/* ==================== 15 — KONTAKT ==================== */
.contact-section {
  overflow: hidden;
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 90px;
  align-items: start;
}

.contact-copy {
  padding-top: 14px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-list span {
  color: var(--accent);
}

.contact-social-row {
  gap: 0;
}

.contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.contact-list .contact-socials a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-list .contact-socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-list a {
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--accent);
}

.company-info {
  color: var(--text-muted);
}

.contact-form {
  padding: 42px;
  color: var(--text-dark);
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c99a23;
  border-radius: 0;
  outline: 0;
  color: #10140b;
  background: transparent;
}

.form-field input,
.form-field select {
  min-height: 42px;
}

.form-field select {
  appearance: none;
  padding-right: 28px;
  background-image: url("./assets/ikony/dropdown-arrow.png");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 15px 8px;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 2px 0 var(--accent-dark);
}

.form-submit {
  margin-left: auto;
  border: 0;
  cursor: pointer;
}

.form-status {
  margin-top: 16px;
  margin-bottom: 0;
  color: #385316;
  font-size: 14px;
}

.contact-section .dog-silhouette-left {
  bottom: 170px;
  left: -18px;
  width: 175px;
}

.contact-section .dog-silhouette-right {
  right: -12px;
  bottom: 155px;
  width: 180px;
}

/* ==================== 16 — FOOTER ==================== */
.site-footer {
  padding: 64px 0 76px;
  background: var(--bg-footer);
  text-align: center;
}

.site-footer .footer-inner {
  max-width: none;
}

.footer-logo {
  display: block;
  width: 93px;
  height: 63px;
  margin: 0 auto 28px;
}

.footer-logo img {
  width: 93px;
  height: 63px;
  object-fit: contain;
}

.footer-tagline {
  display: grid;
  width: min(100%, 760px);
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
  margin-inline: auto;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(232, 173, 25, 0.34);
  color: rgba(255, 255, 255, 0.92);
}

.footer-nav {
  display: grid;
  width: min(100%, 760px);
  max-width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
  padding-top: 44px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  margin-top: 34px;
}

.footer-socials a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  opacity: 0.78;
  transform: translateY(-2px);
}

.footer-bottom {
  display: block;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
}

.footer-copyright {
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

/* ==================== 17 — TABLET 810–1279 PX + SPOLEČNÉ STYLY POD DESKTOP ==================== */
@media (max-width: 1279px) {
  :root {
    --header-height: 92px;
    --page-gutter: 50px;
  }

  .section {
    padding-block: 88px;
  }

  h1 {
    font-size: 64px;
    line-height: 1.2;
  }

  .header-inner {
    padding-top: 28px;
  }

  .logo {
    width: 82px;
    height: 56px;
    flex-basis: 82px;
  }

  .logo img {
    width: 82px;
    height: 56px;
  }

  .menu-toggle {
    position: relative;
    z-index: 92;
    display: block;
  }

  .logo {
    position: relative;
    z-index: 92;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 91;
    width: 100vw;
    height: 100svh;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 96px var(--page-gutter);
    background: rgba(24, 31, 13, 0.98);
    font-size: 20px;
    text-align: center;
    transform: translateX(100%);
    transition: transform 280ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .hero-content {
    min-height: 760px;
    padding-top: 116px;
    padding-bottom: 74px;
  }

  .audience-grid {
    gap: 24px;
  }

  .audience-card {
    min-height: 0;
    padding: 32px 30px 30px;
  }

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

  .benefits-layout,
  .process-layout,
  .method-intro,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .benefits-copy {
    max-width: 740px;
    padding-top: 0;
  }

  .carousel {
    --review-card-width: min(620px, calc(100vw - 100px));
    --review-card-height: auto;
  }

  .testimonial-card,
  .testimonial-card.is-center {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    transform: scale(0.94);
  }

  .testimonial-card.is-center {
    transform: scale(1.015);
  }

  .testimonial-photo {
    width: 100%;
    min-height: 0;
    height: clamp(280px, 42vw, 360px);
    max-height: 360px;
    margin-inline: auto;
    overflow: hidden;
  }

  .testimonial-content {
    width: 100%;
    min-height: 330px;
    padding: 84px 42px 36px 50px;
    clip-path: none;
  }

  .quote-mark {
    top: 30px;
    left: 50px;
    font-size: 74px;
  }

  .dogs-section {
    min-height: 0;
    padding-block: 64px;
  }

  .dogs-grid {
    gap: 28px;
  }

  .paw-gallery {
    width: min(100%, 245px);
  }

  .process-media {
    position: static;
  }

  .contact-section .dog-silhouette-left,
  .contact-section .dog-silhouette-right {
    width: 130px;
    opacity: 0.72;
  }
}

/* ==================== 18 — TELEFON DO 809 PX ==================== */
@media (max-width: 809px) {
  .dogs-grid {
    gap: 18px;
  }

  .paw-gallery {
    width: min(100%, 215px);
  }

  .dog-card h3 {
    font-size: 24px;
  }
  
}

/* ==================== 19 — MOBIL DO 809 PX ==================== */
@media (max-width: 809px) {
  :root {
    --page-gutter: 15px;
    --header-height: 72px;
  }

  .section {
    padding-block: 70px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.27;
  }

  h2 {
    font-size: 32px;
    line-height: 1.27;
  }

  h3 {
    font-size: 24px;
    line-height: 1.27;
  }

  .header-inner {
    padding-top: 18px;
  }

  .logo {
    width: 72px;
    height: 49px;
    flex-basis: 72px;
  }

  .logo img {
    width: 72px;
    height: 49px;
  }

  .hero {
    min-height: 650px;
    background-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 22, 10, 0.92), rgba(16, 22, 10, 0.58)),
      linear-gradient(0deg, var(--bg) 0%, transparent 58%);
  }

  .hero-content {
    min-height: 650px;
    align-items: flex-start;
    padding-top: 105px;
    padding-bottom: 100px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    width: auto;
    min-height: 48px;
    padding-inline: 16px;
    font-size: 14px;
    white-space: normal;
  }

  .scroll-indicator {
    width: 52px;
    height: 52px;
  }

  .audience-grid,
  .benefits-grid,
  .services-grid,
  .dogs-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    gap: 15px;
  }

  .audience-card {
    padding: 28px 22px 26px;
  }

  .audience-card-dark {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  }

  .audience-card-light {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  }

  .service-card {
    min-height: 360px;
    aspect-ratio: auto;
  }

  .service-arrow {
    top: 25px;
    right: 25px;
    width: 34px;
    height: 34px;
  }

  .service-overlay {
    min-height: 158px;
    padding: 32px 22px 24px;
  }

  .feature-card {
    min-height: 0;
  }

  .carousel {
    --review-card-width: calc(100vw - 30px);
    padding-top: 14px;
  }

  .carousel-track {
    gap: 10px;
  }

  .testimonial-card,
  .testimonial-card.is-center {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    transform: scale(1);
  }

  .testimonial-card:not(.is-center) {
    opacity: 0.62;
  }

  .testimonial-photo {
    width: 100%;
    height: clamp(210px, 58vw, 280px);
    max-height: 280px;
  }

  .testimonial-content {
    min-height: 275px;
    padding: 76px 26px 30px 34px;
  }

  .testimonial-content h3 {
    margin: 0 0 6px;
    font-size: 30px;
  }

  .testimonial-content p {
    font-size: 14px;
  }

  .quote-mark {
    top: 23px;
    left: 34px;
    font-size: 64px;
  }

  .stars {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .review-toggle {
    font-size: 14px;
  }

  .dogs-section {
    padding-block: 56px 64px;
  }

  .dogs-grid {
    gap: 52px;
  }

  .paw-gallery {
    width: min(100%, 270px);
  }

  .process-media {
    order: 1;
  }

  .process-list {
    order: 2;
  }

  .process-step {
    min-height: 0;
  }

  .method-intro {
    margin-bottom: 76px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .contact-section .dog-silhouette-left,
  .contact-section .dog-silhouette-right {
    width: 96px;
    opacity: 0.46;
  }

  .site-footer {
    padding: 52px 0 58px;
  }

  .footer-logo {
    width: 78px;
    height: 53px;
    margin-bottom: 24px;
  }

  .footer-logo img {
    width: 78px;
    height: 53px;
  }

  .footer-tagline {
    width: 100%;
    gap: 15px;
    padding-bottom: 30px;
  }

  .footer-nav {
    gap: 25px;
    padding-top: 30px;
  }

  .footer-socials {
    gap: 15px;
    margin-top: 30px;
  }

  .footer-bottom {
    margin-top: 34px;
  }

  .footer-legal {
    gap: 15px;
    font-size: 13px;
  }

  .footer-copyright {
    margin-top: 30px;
    font-size: 13px;
  }
}

/* ==================== 20 — MALÝ MOBIL ==================== */
@media (max-width: 430px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .testimonial-content {
    min-height: 265px;
    padding: 74px 23px 28px 30px;
  }

  .testimonial-photo {
    height: clamp(195px, 55vw, 240px);
    max-height: 240px;
  }

  .quote-mark {
    left: 30px;
  }

  .footer-legal {
    flex-direction: column;
  }

  .footer-legal > span {
    display: none;
  }
}

/* ==================== 21 — OMEZENÍ POHYBU ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .process-list.is-reveal-ready .process-step {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1279px) {
  .footer-tagline,
  .footer-nav {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-tagline {
    padding-bottom: 34px;
  }

  .footer-nav {
    padding-top: 34px;
  }

  .footer-socials {
    gap: 15px;
  }
}

@media (max-width: 809px) {
  .site-header {
    background: rgba(20, 25, 12, 0.92);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
  }

  .main-nav {
    padding-inline: 24px;
  }
}

/* ==================== 22 — STRÁNKA SLUŽBY ==================== */
.services-page {
  background: #252816;
}

.services-hero {
  position: relative;
  display: grid;
  min-height: 564px;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #252816;
  background-image: url("./assets/bg-Sluzby.avif");
  background-position: center top;
  background-size: min(1920px, 135vw) auto;
  background-repeat: no-repeat;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(37, 40, 22, 0.05) 0%, rgba(37, 40, 22, 0.2) 46%, #252816 100%),
    linear-gradient(90deg, rgba(37, 40, 22, 0.24), rgba(37, 40, 22, 0.02));
}

.services-hero-content {
  min-height: 564px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: 72px;
}

.services-hero-copy {
  width: min(100%, 650px);
}

.services-hero h1 {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: 1.16;
}

.services-scroll {
  bottom: 58px;
}

.training-section {
  scroll-margin-top: var(--header-height);
  padding-block: 104px;
}

.training-section-dark {
  background: #252816;
}

.training-section-olive {
  background: #3B4021;
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(64px, 8vw, 118px);
}

.training-layout-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.98fr);
}

.training-copy {
  max-width: 480px;
}

.training-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.14;
}

.training-copy p {
  margin-bottom: 13px;
  color: #eceee0;
  font-size: 16px;
  line-height: 1.36;
}

.training-copy .button {
  margin-top: 22px;
  min-height: 45px;
  padding-inline: 22px;
  font-size: 14px;
}

.training-subtitle {
  margin: 32px 0 24px;
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
}

.training-text-list {
  margin: 0;
  padding-left: 18px;
  color: #eceee0;
  font-size: 14px;
  line-height: 1.34;
}

.training-text-list li + li {
  margin-top: 10px;
}

.training-info-stack {
  display: grid;
  gap: 16px;
}

.training-combined {
  display: grid;
  gap: 92px;
}

.training-layout-follow {
  scroll-margin-top: var(--header-height);
}

.training-copy .check-list li::before {
    background-image: url(./assets/ikony/fajfka-ikona.png);
}

.training-info-card {
  position: relative;
  min-height: 132px;
  padding: 28px 32px 30px;
  color: #11140b;
  background: #ffffff;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.training-info-card h3 {
  margin-bottom: 16px;
  color: #11140b;
  font-size: 25px;
  font-weight: 700;
}

.service-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-check-list li {
  position: relative;
  padding-left: 25px;
  color: #11140b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.service-check-list li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.plus-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plus-list li {
  position: relative;
  padding-left: 28px;
  color: #f6f4eb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.plus-list li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  background: url("./assets/ikony/ikona-plus.png") center / 14px 14px no-repeat;
}

.training-focus-list {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-focus-list li {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 15px;
  color: #f6f4eb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.training-focus-list img {
  width: 52px;
  height: 42px;
  flex: 0 0 52px;
  object-fit: contain;
}

@media (max-width: 1279px) {
  .services-hero,
  .services-hero-content {
    min-height: 540px;
  }

  .services-hero-content {
    align-items: center;
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 110px;
  }

  .services-hero-copy {
    margin-top: 0;
  }

  .services-hero h1 {
    max-width: 600px;
  }

  .services-scroll {
    bottom: 36px;
  }

  .training-section {
    padding-block: 88px;
  }

  .training-combined {
    gap: 72px;
  }

  .training-layout,
  .training-layout-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
  }

  .training-info-card {
    padding: 26px 28px 28px;
  }
}

@media (max-width: 809px) {
  .services-hero {
    min-height: 560px;
    background-position: 44% top;
    background-size: auto 100%;
  }

  .services-hero::before {
    background:
      linear-gradient(90deg, rgba(37, 40, 22, 0.86), rgba(37, 40, 22, 0.5)),
      linear-gradient(180deg, rgba(37, 40, 22, 0.1) 0%, #252816 100%);
  }

  .services-hero-content {
    min-height: 560px;
    align-items: center;
    padding-top: calc(var(--header-height) + 62px);
    padding-bottom: 126px;
  }

  .services-hero-copy {
    margin-top: 0;
  }

  .services-hero h1 {
    font-size: 38px;
    line-height: 1.22;
  }

  .services-scroll {
    bottom: 30px;
  }

  .training-section {
    padding-block: 72px;
  }

  .training-combined {
    gap: 54px;
  }

  .training-layout,
  .training-layout-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .training-layout-reverse .training-copy {
    order: 1;
  }

  .training-layout-reverse .training-info-stack {
    order: 2;
  }

  .training-copy {
    max-width: none;
  }

  .training-copy h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .training-copy p,
  .training-text-list {
    font-size: 14px;
  }

  .training-info-card {
    min-height: 0;
    padding: 25px 23px 26px;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  }

  .training-info-card h3 {
    font-size: 24px;
  }

  .service-check-list li {
    font-size: 14px;
  }

  .training-subtitle {
    font-size: 23px;
  }

  .plus-list li,
  .training-focus-list li {
    font-size: 16px;
  }

  .training-focus-list img {
    width: 44px;
    height: 36px;
    flex-basis: 44px;
  }
}

@media (max-width: 430px) {
  .services-hero,
  .services-hero-content {
    min-height: 560px;
  }

  .services-hero-content {
    align-items: center;
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 122px;
  }

  .services-hero h1 {
    font-size: 34px;
  }

  .training-copy .button {
    width: auto;
  }

  .training-info-card {
    padding-inline: 20px;
  }
}

/* ==================== 23 — STRÁNKA MOJI PEJSCI ==================== */
.dogs-page {
  background: #252816;
}

.dogs-hero {
  position: relative;
  display: grid;
  min-height: 564px;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #252816;
  background-image: url("./assets/moji-pejsi/bg-MojiPejsi.avif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.dogs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(37, 40, 22, 0.02) 0%, rgba(37, 40, 22, 0.16) 45%, #252816 100%),
    linear-gradient(90deg, rgba(37, 40, 22, 0.42), rgba(37, 40, 22, 0.08));
}

.dogs-hero-content {
  min-height: 564px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: 72px;
}

.dogs-hero-copy {
  width: min(100%, 640px);
}

.dogs-hero h1 {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: 1.16;
}

.dogs-hero-scroll {
  bottom: 58px;
}

.dog-profile-section {
  scroll-margin-top: var(--header-height);
  padding-block: 112px;
}

.dog-profile-dark {
  background: #252816;
}

.dog-profile-olive {
  background: #3B4021;
}

.dog-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(44px, 5.8vw, 86px);
}

.dog-profile-layout-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.dog-stack {
  display: grid;
  gap: 92px;
}

.dog-profile-copy {
  max-width: 500px;
}

.dog-profile-copy h2 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.16;
}

.dog-profile-copy h2 span {
  color: var(--accent);
}

.dog-profile-copy h2 em {
  color: var(--white);
  font-style: normal;
}

.dog-profile-copy p {
  margin-bottom: 14px;
  color: #eceee0;
  font-size: 14px;
  line-height: 1.42;
}

.dog-photo-grid {
  width: min(100%, 600px);
  min-width: 0;
}

.dog-photo-grid-triple {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.72fr);
  grid-auto-rows: minmax(405px, auto);
  align-items: stretch;
  gap: 18px;
}

.dog-photo-column {
  display: grid;
  height: 100%;
  min-height: 405px;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.dog-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.dog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dog-photo-tall {
  height: 100%;
  min-height: 405px;
  aspect-ratio: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.dog-photo-small {
  height: 100%;
  min-height: 0;
}


/* Moji pejsci – fotky vyplňují box a fokus jde na obličej / psí obličej */
.dog-photo img[src*="Anthony-Stark-tall"] {
  object-position: 50% 34%;
}

.dog-photo img[src*="Anthony-Stark-up"] {
  object-position: 72% 38%;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-position: 38% 50%;
}

.dog-photo img[src*="cassie-tall"] {
  object-position: 50% 32%;
}

.dog-photo img[src*="cassie-up"] {
  object-position: 20% 58%;
}

.dog-photo img[src*="cassie-down"] {
  object-position: 38% 45%;
}

.dog-photo img[src*="Dreamcatcher-1"] {
  object-position: 50% 42%;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-position: 50% 34%;
}

.dog-photo-small-top {
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
}

.dog-photo-small-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 calc(100% - 25px));
}

.dog-photo-grid-single {
  display: block;
}

.dog-photo-single {
  width: 100%;
  min-height: 405px;
  aspect-ratio: 560 / 385;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.dog-accordions {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.dog-accordions details {
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.dog-accordions summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.dog-accordions summary::-webkit-details-marker {
  display: none;
}

.dog-accordions summary span {
  display: block;
  width: 15px;
  height: 8px;
  flex: 0 0 15px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: url("./assets/ikony/dropdown-arrow.png") center / contain no-repeat;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dog-accordions details.is-open summary span,
.dog-accordions details[open] summary span {
  transform: rotate(180deg);
}

.dog-accordions-dark details {
  background: #3B4021;
}

.dog-accordions-olive details {
  background: #252816;
}

.dog-accordions summary {
  background: transparent;
}

.dog-accordion-content {
  height: 0;
  overflow: hidden;
  color: #eceee0;
  font-size: 14px;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  filter: blur(5px);
  will-change: height, opacity, filter;
  transition: height 620ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 420ms ease, filter 520ms ease;
}

.dog-accordion-content-inner {
  padding: 16px 22px 22px;
  line-height: 1.7;
}

.dog-accordion-content-inner p {
  margin: 0 0 12px;
}

.dog-accordion-content-inner p:last-child {
  margin-bottom: 0;
}

.dog-accordion-content-inner ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.dog-accordions details.is-open .dog-accordion-content {
  opacity: 1;
  filter: blur(0);
}

.dog-accordions details.is-closing .dog-accordion-content {
  opacity: 0;
  filter: blur(5px);
}

@media (max-width: 1279px) {
  .dogs-hero,
  .dogs-hero-content {
    min-height: 540px;
  }

  .dogs-hero-content {
    align-items: center;
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 110px;
  }

  .dogs-hero h1 {
    max-width: 600px;
  }

  .dogs-hero-scroll {
    bottom: 36px;
  }

  .dog-profile-section {
    padding-block: 92px;
  }

  .dog-profile-layout,
  .dog-profile-layout-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .dog-stack {
    gap: 76px;
  }

  .dog-photo-grid-triple {
    grid-auto-rows: minmax(360px, auto);
    gap: 14px;
  }

  .dog-photo-column {
    min-height: 360px;
    gap: 14px;
  }

  .dog-photo-tall,
  .dog-photo-single {
    min-height: 360px;
  }

  .dog-photo-small {
    min-height: 0;
  }
}

@media (max-width: 809px) {
  .dogs-hero {
    min-height: 560px;
    background-position: center top;
  }

  .dogs-hero::before {
    background:
      linear-gradient(90deg, rgba(37, 40, 22, 0.86), rgba(37, 40, 22, 0.46)),
      linear-gradient(180deg, rgba(37, 40, 22, 0.06) 0%, #252816 100%);
  }

  .dogs-hero-content {
    min-height: 560px;
    align-items: center;
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 122px;
  }

  .dogs-hero h1 {
    font-size: 38px;
    line-height: 1.22;
  }

  .dogs-hero-scroll {
    bottom: 30px;
  }

  .dog-profile-section {
    padding-block: 74px;
  }

  .dog-profile-layout,
  .dog-profile-layout-reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dog-profile-layout-reverse .dog-photo-grid {
    order: 2;
  }

  .dog-profile-layout-reverse .dog-profile-copy {
    order: 1;
  }

  .dog-stack {
    gap: 64px;
  }

  .dog-profile-copy {
    max-width: none;
  }

  .dog-profile-copy h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .dog-profile-copy p {
    font-size: 14px;
  }

  .dog-photo-grid {
    width: 100%;
  }

  .dog-photo-grid-triple {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.72fr);
    grid-auto-rows: minmax(330px, auto);
    gap: 12px;
  }

  .dog-photo-column {
    min-height: 330px;
    gap: 12px;
  }

  .dog-photo-tall,
  .dog-photo-single {
    min-height: 330px;
  }

  .dog-photo-small {
    min-height: 0;
  }

  .dog-accordions summary {
    min-height: 46px;
    padding-inline: 18px;
  }
}

@media (max-width: 430px) {
  .dogs-hero,
  .dogs-hero-content {
    min-height: 560px;
  }

  .dogs-hero-content {
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 118px;
  }

  .dogs-hero h1 {
    font-size: 34px;
  }

  .dog-photo-grid-triple {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .dog-photo-column {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .dog-photo-tall,
  .dog-photo-single {
    min-height: 330px;
  }

  .dog-photo-small {
    min-height: 150px;
  }

  .dog-accordion-content-inner {
    padding-inline: 18px;
  }
}

/* ==================== 24 — STRÁNKA O MNĚ ==================== */
.about-page {
  background: #252816;
}

.about-hero {
  position: relative;
  display: grid;
  min-height: 564px;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #252816;
  background-image: url("./assets/o-mne/bg-Omne.avif");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(37, 40, 22, 0.04) 0%, rgba(37, 40, 22, 0.18) 45%, #252816 100%),
    linear-gradient(90deg, rgba(37, 40, 22, 0.44), rgba(37, 40, 22, 0.08));
}

.about-hero-content {
  min-height: 564px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: 72px;
}

.about-hero-copy {
  width: min(100%, 640px);
}

.about-hero h1 {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: 1.16;
}

.about-hero-scroll {
  bottom: 58px;
}

.about-section {
  scroll-margin-top: var(--header-height);
  padding-block: 84px;
}

.about-section-dark {
  background: #252816;
}

.about-split,
.philosophy-layout,
.education-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(58px, 7vw, 112px);
}

.about-split-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.about-copy {
  max-width: 560px;
}

.about-copy h2 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.16;
}

.about-copy p {
  margin-bottom: 12px;
  color: #eceee0;
  font-size: 15px;
  line-height: 1.5;
}

.about-image-cut {
  width: min(100%, 600px);
  margin: 0;
  overflow: hidden;
  aspect-ratio: 560 / 390;
  background: #15180d;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}

.about-image-cut img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.philosophy-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  align-items: start;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.philosophy-card {
  min-height: 230px;
  padding: 38px 38px 34px;
  color: #11140b;
  background: #ffffff;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.philosophy-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.philosophy-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.philosophy-card h3 {
  margin-bottom: 14px;
  color: #11140b;
  font-size: 28px;
  font-weight: 700;
}

.philosophy-card p {
  margin-bottom: 0;
  color: #11140b;
  font-size: 15px;
  line-height: 1.45;
}

.philosophy-copy {
  padding-top: 10px;
}

.about-education-section {
  padding-top: 58px;
  padding-bottom: 92px;
}

.education-layout {
  align-items: start;
}

.education-accordions {
  display: grid;
  gap: 16px;
  width: min(100%, 600px);
  align-self: start;
  margin-top: 20px;
}

.education-accordions details {
  overflow: hidden;
  color: #11140b;
  background: var(--accent);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.education-accordions summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  color: #11140b;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.education-accordions summary::-webkit-details-marker {
  display: none;
}

.education-accordions summary span {
  display: block;
  width: 15px;
  height: 8px;
  flex: 0 0 15px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: url("./assets/ikony/dropdown-arrow.png") center / contain no-repeat;
  filter: brightness(0);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.education-accordions details.is-open summary span,
.education-accordions details[open] summary span {
  transform: rotate(180deg);
}

.education-accordions .dog-accordion-content {
  color: #11140b;
  background: rgba(255, 255, 255, 0.18);
}

.education-accordions .dog-accordion-content-inner {
  padding: 14px 24px 22px;
}

.education-accordions .dog-accordion-content-inner p {
  color: #11140b;
  font-weight: 650;
}

@media (max-width: 1279px) {
  .about-hero,
  .about-hero-content {
    min-height: 540px;
  }

  .about-hero-content {
    align-items: center;
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 110px;
  }

  .about-hero h1 {
    max-width: 600px;
  }

  .about-hero-scroll {
    bottom: 36px;
  }

  .about-section {
    padding-block: 72px;
  }

  .about-split,
  .about-split-reverse,
  .philosophy-layout,
  .education-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .philosophy-cards {
    gap: 15px;
  }

  .philosophy-card {
    min-height: 215px;
    padding: 32px 30px 30px;
  }
}

@media (max-width: 809px) {
  .about-hero {
    min-height: 560px;
    background-position: center top;
    background-size: auto 100%;
  }

  .about-hero::before {
    background:
      linear-gradient(90deg, rgba(37, 40, 22, 0.84), rgba(37, 40, 22, 0.46)),
      linear-gradient(180deg, rgba(37, 40, 22, 0.06) 0%, #252816 100%);
  }

  .about-hero-content {
    min-height: 560px;
    align-items: center;
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 122px;
  }

  .about-hero h1 {
    font-size: 38px;
    line-height: 1.22;
  }

  .about-hero-scroll {
    bottom: 30px;
  }

  .about-section {
    padding-block: 56px;
  }

  .about-split,
  .about-split-reverse,
  .philosophy-layout,
  .education-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-split-reverse .about-image-cut {
    order: 2;
  }

  .about-split-reverse .about-copy {
    order: 1;
  }

  .about-copy {
    max-width: none;
  }

  .about-copy h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .about-copy p {
    font-size: 14px;
  }

  .about-image-cut {
    width: 100%;
    min-height: 330px;
  }

  .philosophy-cards {
    grid-template-columns: 1fr;
  }

  .philosophy-card {
    min-height: 0;
  }

  .education-accordions {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .about-hero,
  .about-hero-content {
    min-height: 560px;
  }

  .about-hero-content {
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 118px;
  }

  .about-hero h1 {
    font-size: 34px;
  }

  .philosophy-card {
    padding: 30px 24px 28px;
  }

  .education-accordions summary {
    padding-inline: 18px;
  }

  .education-accordions .dog-accordion-content-inner {
    padding-inline: 18px;
  }
}


/* Fix viditelnosti textu ve vzdělání */
.education-accordions .dog-accordion-content {
  color: #11140b !important;
  background: #e8ad19;
}

.education-accordions .dog-accordion-content-inner {
  padding: 16px 24px 22px;
  color: #11140b !important;
}

.education-accordions .dog-accordion-content-inner p {
  margin: 0 0 12px;
  color: #11140b !important;
  font-weight: 700;
  line-height: 1.65;
}

.education-accordions .dog-accordion-content-inner p:last-child {
  margin-bottom: 0;
}


/* Definitivní fix dropdownu Vzdělání */
.education-accordions .education-content {
  display: none;
  padding: 16px 24px 22px;
  color: #11140b;
  background: #e8ad19;
}

.education-accordions details[open] .education-content {
  display: block;
}

.education-accordions .education-content p {
  margin: 0 0 12px;
  color: #11140b !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.education-accordions .education-content p:last-child {
  margin-bottom: 0;
}

/* ==================== 25 — FINÁLNÍ CLEANUP / FEEDBACK ==================== */

/* Sjednocené vertikální mezery napříč webem */
.section,
.training-section,
.dog-profile-section,
.about-section {
  padding-block: 96px;
}

.about-education-section {
  padding-top: 72px;
  padding-bottom: 96px;
}

.method-intro {
  margin-bottom: 78px;
}

/* Hero balance */
.hero-content,
.services-hero-content,
.dogs-hero-content,
.about-hero-content {
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: 104px;
}

.hero .scroll-indicator,
.services-scroll,
.dogs-hero-scroll,
.about-hero-scroll {
  bottom: 34px;
}

/* Outline tlačítka jsou opticky silnější než dřív */
.button-outline {
  min-height: 56px;
  padding-inline: 30px;
  border-width: 2px;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text-dark);
}

/* Recenze – kompaktnější a vycentrovanější slider */
.carousel {
  --review-card-width: clamp(700px, 58vw, 860px);
  --review-card-height: clamp(380px, 30vw, 440px);
  padding-block: 24px 46px;
}

.carousel-track {
  gap: 16px;
}

/* FAQ / dropdown čitelnost */
.faq-answer p,
.faq-item > p {
  line-height: 1.62;
}

.dog-accordion-content-inner {
  padding-top: 18px;
  padding-bottom: 22px;
  line-height: 1.72;
}

.dog-accordion-content-inner p {
  margin-bottom: 13px;
}

.dog-accordions details,
.education-accordions details {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* O mně – sjednocené mezery, aby stránka nepůsobila odděleně */
.about-split,
.about-split-reverse,
.philosophy-layout,
.education-layout {
  gap: clamp(44px, 5.8vw, 86px);
}

.about-hero {
  background-position: center top;
  background-size: min(1920px, 112vw) auto;
}

/* Vzdělání – obsah vždy viditelný po otevření, bez závislosti na JS animaci */
.education-accordions .education-content {
  display: none;
  padding: 16px 24px 22px;
  color: #11140b;
  background: #e8ad19;
}

.education-accordions details[open] .education-content {
  display: block;
}

.education-accordions .education-content p {
  margin: 0 0 12px;
  color: #11140b !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.education-accordions .education-content p:last-child {
  margin-bottom: 0;
}

/* Moji pejsci – fotky větší, fill režim, focus na obličeje */
.dog-photo-grid {
  width: min(100%, 600px);
}

.dog-photo-grid-triple {
  grid-auto-rows: minmax(405px, auto);
}

.dog-photo-column,
.dog-photo-tall,
.dog-photo-single {
  min-height: 405px;
}

.dog-photo img {
  object-fit: cover;
}

.dog-photo img[src*="Anthony-Stark-tall"] {
  object-position: 50% 34%;
}

.dog-photo img[src*="Anthony-Stark-up"] {
  object-position: 72% 38%;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-position: 38% 50%;
}

.dog-photo img[src*="cassie-tall"] {
  object-position: 50% 32%;
}

.dog-photo img[src*="cassie-up"] {
  object-position: 20% 58%;
}

.dog-photo img[src*="cassie-down"] {
  object-position: 38% 45%;
}

.dog-photo img[src*="Dreamcatcher-1"] {
  object-position: 50% 42%;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-position: 50% 34%;
}

/* Form select ve stejném stylu jako ostatní pole */
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c99a23;
  border-radius: 0;
  outline: 0;
  color: #10140b;
  background-color: transparent;
}

.form-field input,
.form-field select {
  min-height: 42px;
}

.form-field select {
  appearance: none;
  padding-right: 28px;
  background-image: url("./assets/ikony/dropdown-arrow.png");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 15px 8px;
  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 2px 0 var(--accent-dark);
}

/* Tablet */
@media (max-width: 1279px) {
  .section,
  .training-section,
  .dog-profile-section,
  .about-section {
    padding-block: 78px;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 104px;
  }

  .dog-photo-grid-triple {
    grid-auto-rows: minmax(360px, auto);
  }

  .dog-photo-column,
  .dog-photo-tall,
  .dog-photo-single {
    min-height: 360px;
  }

  .about-split,
  .about-split-reverse,
  .philosophy-layout,
  .education-layout {
    gap: 40px;
  }
}

/* Mobil */
@media (max-width: 809px) {
  .section,
  .training-section,
  .dog-profile-section,
  .about-section {
    padding-block: 58px;
  }

  .hero,
  .hero-content,
  .services-hero,
  .services-hero-content,
  .dogs-hero,
  .dogs-hero-content,
  .about-hero,
  .about-hero-content {
    min-height: 560px;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 118px;
  }

  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    bottom: 28px;
  }

  .carousel {
    --review-card-width: min(92vw, 520px);
    --review-card-height: auto;
  }

  .carousel-track {
    gap: 12px;
  }

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

  .testimonial-photo {
    min-height: 300px;
  }

  .testimonial-content {
    min-height: auto;
    padding: 88px 30px 34px 42px;
  }

  .quote-mark {
    top: 34px;
    left: 42px;
  }

  .dog-photo-grid-triple {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.72fr);
    grid-auto-rows: minmax(330px, auto);
  }

  .dog-photo-column,
  .dog-photo-tall,
  .dog-photo-single {
    min-height: 330px;
  }

  .about-split,
  .about-split-reverse,
  .philosophy-layout,
  .education-layout {
    gap: 28px;
  }

  .button-outline {
    min-height: 54px;
    padding-inline: 26px;
  }
}

@media (max-width: 430px) {
  .section,
  .training-section,
  .dog-profile-section,
  .about-section {
    padding-block: 50px;
  }

  .dog-photo-grid-triple {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .dog-photo-column {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .dog-photo-tall,
  .dog-photo-single {
    min-height: 320px;
  }

  .dog-photo-small {
    min-height: 150px;
  }
}

/* ==================== 26 — DOLADĚNÍ ANIMACÍ A PŘECHODŮ ==================== */

/* Jemnější přechody mezi hero/obrázkovými sekcemi, mimo stránku Služby */
body:not(.services-page) .hero,
body:not(.services-page) .dogs-hero,
body:not(.services-page) .about-hero,
body:not(.services-page) .section-bg {
  overflow: hidden;
}

body:not(.services-page) .hero::after,
body:not(.services-page) .dogs-hero::after,
body:not(.services-page) .about-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: clamp(120px, 18vw, 260px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(37, 40, 22, 0) 0%, rgba(37, 40, 22, 0.72) 55%, #252816 100%);
}

body:not(.services-page) .section-bg::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  z-index: 1;
  height: clamp(100px, 14vw, 220px);
  pointer-events: none;
  background: linear-gradient(180deg, #252816 0%, rgba(37, 40, 22, 0.78) 36%, rgba(37, 40, 22, 0) 100%);
}

/* ostrá službová stránka zůstává bez měkkého přechodu */
.services-page .services-hero::after,
.services-page .section-bg::before {
  content: none;
}

/* Hero šipka – při hoveru jemně loopuje nahoru/dolů */
.scroll-indicator:hover img,
.scroll-indicator:focus-visible img {
  opacity: 0.92;
  animation: arrow-breathe 820ms ease-in-out infinite alternate;
}

@keyframes arrow-breathe {
  from {
    transform: translateY(-2px);
  }
  to {
    transform: translateY(5px);
  }
}

/* Šipka v kartách služeb – jemná rotace/pohyb, nic křiklavého */
.service-arrow {
  transition: transform 260ms ease, background-color 220ms ease;
}

.service-arrow::before {
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: 50% 50%;
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
  transform: translateY(-2px);
}

.service-card:hover .service-arrow::before,
.service-card:focus-visible .service-arrow::before {
  transform: translate(1px, 1px) rotate(38deg);
}

/* Pes jako dekorace v sekci "Proč si vybrat mě" se ovládá přes JS při scrollu */
.benefits-section .dog-silhouette-left img {
  transform: rotate(var(--dog-rotate, 0deg));
  transform-origin: 50% 72%;
  will-change: transform;
}

/* Tlapky v sekci psích asistentů – větší bezpečný prostor, aby nebyly divně uříznuté nahoře */
.paw-gallery {
  width: min(100%, 315px);
  padding-top: 18px;
  overflow: visible;
}

.paw-gallery img {
  width: 100%;
  height: auto;
  max-height: 315px;
  object-fit: contain;
  object-position: center bottom;
}

/* Vzdělání – dropdown má stejnou plynulou logiku jako FAQ a je opticky níž / víc na středu */
.education-layout {
  align-items: center;
}

.education-accordions {
  align-self: center;
  margin-top: clamp(28px, 4vw, 62px);
}

.education-accordions .education-content {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #11140b;
  background: #e8ad19;
  opacity: 0;
  filter: blur(5px);
  will-change: height, opacity, filter;
  transition: height 620ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 420ms ease, filter 520ms ease;
}

.education-accordions .education-content-inner {
  padding: 16px 0 22px;
}

.education-accordions details.is-open .education-content {
  opacity: 1;
  filter: blur(0);
}

.education-accordions details.is-closing .education-content {
  opacity: 0;
  filter: blur(5px);
}

.education-accordions .education-content p {
  margin: 0 0 12px;
  color: #11140b !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.education-accordions .education-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 809px) {
  .education-accordions {
    margin-top: 0;
  }

  body:not(.services-page) .hero::after,
  body:not(.services-page) .dogs-hero::after,
  body:not(.services-page) .about-hero::after {
    height: 180px;
  }

  .paw-gallery {
    width: min(100%, 285px);
    padding-top: 12px;
  }
}

/* ==================== 27 — FIX ANIMACE / PŘECHODY / OUTLINE CTA ==================== */

/* Přechody zjemněné výrazně méně, aby nezasahovaly do textu a tlačítek */
body:not(.services-page) .hero::after,
body:not(.services-page) .dogs-hero::after,
body:not(.services-page) .about-hero::after {
  z-index: 0;
  height: clamp(52px, 7vw, 110px);
  background: linear-gradient(180deg, rgba(37, 40, 22, 0) 0%, rgba(37, 40, 22, 0.38) 62%, #252816 100%);
}

.hero-content,
.services-hero-content,
.dogs-hero-content,
.about-hero-content,
.hero-copy,
.services-hero-copy,
.dogs-hero-copy,
.about-hero-copy {
  position: relative;
  z-index: 2;
}

.scroll-indicator {
  z-index: 4;
}

body:not(.services-page) .section-bg::before {
  height: clamp(44px, 5vw, 82px);
  background: linear-gradient(180deg, rgba(37, 40, 22, 0.72) 0%, rgba(37, 40, 22, 0.24) 55%, rgba(37, 40, 22, 0) 100%);
}

/* Sekundární outline tlačítka: bílé pozadí + černý text */
.button-outline {
  color: var(--text-dark);
  border-color: #ffffff;
  background: #ffffff;
  border-width: 2px;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--text-dark);
  border-color: var(--accent);
  background: var(--accent);
}

/* Hero šipka: hover loop přímo na elementu, ať je animace jistě vidět */
.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  animation: scroll-indicator-loop 850ms ease-in-out infinite alternate;
}

.scroll-indicator:hover img,
.scroll-indicator:focus-visible img {
  opacity: 0.92;
  transform: none;
  animation: none;
}

@keyframes scroll-indicator-loop {
  from {
    transform: translateX(-50%) translateY(-3px);
  }
  to {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Šipky v kartách výcviku: jemné zatočení + návrat, viditelné na hover */
.service-card .service-arrow {
  will-change: transform;
}

.service-card .service-arrow::before {
  will-change: transform;
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
  animation: service-arrow-float 950ms ease-in-out infinite alternate;
}

.service-card:hover .service-arrow::before,
.service-card:focus-visible .service-arrow::before {
  animation: service-arrow-turn 950ms ease-in-out infinite alternate;
}

@keyframes service-arrow-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}

@keyframes service-arrow-turn {
  from {
    transform: translate(1px, 1px) rotate(0deg);
  }
  to {
    transform: translate(1px, 1px) rotate(32deg);
  }
}

/* Rotace dekorativního psa: jemnější, ale jistě navázaná na scroll */
.benefits-section .dog-silhouette-left img {
  transform: rotate(var(--dog-rotate, 0deg));
  transform-origin: 50% 78%;
  will-change: transform;
}

@media (max-width: 809px) {
  body:not(.services-page) .hero::after,
  body:not(.services-page) .dogs-hero::after,
  body:not(.services-page) .about-hero::after {
    height: 72px;
  }

  body:not(.services-page) .section-bg::before {
    height: 56px;
  }
}

/* ==================== 28 — FINÁLNÍ DOLADĚNÍ: FOTKY / CTA / RESPONSIVE ==================== */

/* Homepage sekundární CTA má být outline default a bílé pouze při hoveru */
.hero .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.hero .button-outline:hover,
.hero .button-outline:focus-visible {
  color: var(--text-dark);
  border-color: #ffffff;
  background: #ffffff;
}

/* Menší fotky psů vpravo: ukázat celé psy, ne je řezat */
.dog-photo-small {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dog-photo-small img {
  object-fit: contain;
  object-position: center center;
}

/* Jemné doladění fokusů u problematických pravých fotek */
.dog-photo img[src*="Anthony-Stark-up"] {
  object-fit: contain;
  object-position: 54% 48%;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-fit: contain;
  object-position: 50% 55%;
}

.dog-photo img[src*="cassie-up"],
.dog-photo img[src*="cassie-down"] {
  object-fit: contain;
  object-position: center center;
}

/* Tablet / mobil – bezpečnější layout CTA a galerií */
@media (max-width: 1279px) {
  .hero-actions .button {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button {
    width: min(100%, 330px);
    justify-content: center;
  }

  .dog-photo-grid-triple {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .dog-photo-column {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .dog-photo-small {
    min-height: 160px;
  }
}

/* ==================== 29 — FINÁLNÍ FIX: FILL FOTKY + SEKUNDÁRNÍ CTA ==================== */

/* Všechny sekundární CTA sjednocené jako na homepage: outline default, bílý fill až na hover */
.button-outline,
.hero .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border-width: 1.5px;
}

.button-outline:hover,
.button-outline:focus-visible,
.hero .button-outline:hover,
.hero .button-outline:focus-visible {
  color: var(--text-dark);
  border-color: #ffffff;
  background: #ffffff;
}

/* Galerie psů: zpět na fill/crop, ale s důrazem na obličej psa */
.dog-photo,
.dog-photo-small {
  overflow: hidden;
}

.dog-photo img,
.dog-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-photo img[src*="Anthony-Stark-tall"] {
  object-position: 50% 26%;
}

.dog-photo img[src*="Anthony-Stark-up"] {
  object-position: 66% 42%;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-position: 26% 54%;
}

.dog-photo img[src*="cassie-tall"] {
  object-position: 50% 26%;
}

.dog-photo img[src*="cassie-up"] {
  object-position: 58% 36%;
}

.dog-photo img[src*="cassie-down"] {
  object-position: 48% 40%;
}

.dog-photo img[src*="Dreamcatcher-1"] {
  object-position: 50% 34%;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-position: 50% 28%;
}

/* Marco – priorita je obličej kluka */
.about-image-cut img[src*="Syn-Marco"] {
  object-position: 34% 24%;
}

/* Na mobilu jemně upravit fokus, ať tváře nezmizí při menším cropu */
@media (max-width: 809px) {
  .dog-photo img[src*="Anthony-Stark-up"] {
    object-position: 62% 40%;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    object-position: 28% 52%;
  }

  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 38% 24%;
  }
}

/* ==================== 30 — FIX: NEROZTAHOVAT IKONY V KONTAKTU ==================== */
.contact-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.contact-list li > span img {
  display: block;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px;
  max-height: 15px;
  object-fit: contain;
}

/* ==================== 31 — FINÁLNÍ FIX: DOG FOCUS + FILL ==================== */
/* Všechny fotky psů jedou přes fill a focus na obličej. */
.dog-photo,
.dog-photo-small,
.dog-photo-tall,
.dog-photo-single,
.about-image-cut {
  overflow: hidden;
}

.dog-photo img,
.dog-photo-small img,
.dog-photo-tall img,
.dog-photo-single img,
.about-image-cut img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Anthony */
.dog-photo img[src*="Anthony-Stark-tall"] {
  object-position: 50% 22% !important;
}

.dog-photo img[src*="Anthony-Stark-up"] {
  object-position: 67% 30% !important;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-position: 22% 48% !important;
}

/* Cassie */
.dog-photo img[src*="cassie-tall"] {
  object-position: 51% 22% !important;
}

.dog-photo img[src*="cassie-up"] {
  object-position: 70% 32% !important;
}

.dog-photo img[src*="cassie-down"] {
  object-position: 45% 28% !important;
}

/* Dreamcatcher + Gemma */
.dog-photo img[src*="Dreamcatcher-1"] {
  object-position: 50% 23% !important;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-position: 50% 22% !important;
}

/* Marco – priorita je obličej kluka */
.about-image-cut img[src*="Syn-Marco"] {
  object-position: 48% 24% !important;
}

/* Na tabletu a mobilu držet tváře bezpečně v záběru. */
@media (max-width: 1279px) {
  .dog-photo img[src*="Anthony-Stark-up"] {
    object-position: 69% 31% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    object-position: 24% 49% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    object-position: 68% 34% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    object-position: 47% 30% !important;
  }
}

@media (max-width: 809px) {
  .dog-photo img[src*="Anthony-Stark-tall"] {
    object-position: 50% 20% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    object-position: 66% 29% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    object-position: 23% 48% !important;
  }

  .dog-photo img[src*="cassie-tall"] {
    object-position: 52% 20% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    object-position: 68% 33% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    object-position: 46% 29% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    object-position: 50% 21% !important;
  }

  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 50% 23% !important;
  }
}

/* ==================== 32 — TVRDÝ OVERRIDE: FILL + FACE FOCUS ==================== */
/* Předchozí změna byla moc slabá. Tohle je výraznější crop na obličej. */
.dog-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transform: scale(var(--dog-scale, 1));
  transform-origin: center center;
}

/* Anthony */
.dog-photo img[src*="Anthony-Stark-tall"] {
  --dog-scale: 1.16;
  object-position: 50% 20% !important;
}
.dog-photo img[src*="Anthony-Stark-up"] {
  --dog-scale: 1.48;
  object-position: 73% 26% !important;
}
.dog-photo img[src*="Anthony-Stark-down"] {
  --dog-scale: 2.05;
  object-position: 26% 47% !important;
}

/* Cassie */
.dog-photo img[src*="cassie-tall"] {
  --dog-scale: 1.18;
  object-position: 52% 20% !important;
}
.dog-photo img[src*="cassie-up"] {
  --dog-scale: 1.82;
  object-position: 23% 34% !important;
}
.dog-photo img[src*="cassie-down"] {
  --dog-scale: 1.6;
  object-position: 27% 34% !important;
}

/* Dreamcatcher + Gemma */
.dog-photo img[src*="Dreamcatcher-1"] {
  --dog-scale: 1.2;
  object-position: 50% 22% !important;
}
.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  --dog-scale: 1.2;
  object-position: 50% 20% !important;
}

/* Marco – držet víc obličej kluka */
.about-image-cut img[src*="Syn-Marco"] {
  object-fit: cover !important;
  object-position: 46% 18% !important;
}

@media (max-width: 1279px) {
  .dog-photo img[src*="Anthony-Stark-up"] {
    --dog-scale: 1.42;
    object-position: 72% 27% !important;
  }
  .dog-photo img[src*="Anthony-Stark-down"] {
    --dog-scale: 1.95;
    object-position: 27% 48% !important;
  }
  .dog-photo img[src*="cassie-up"] {
    --dog-scale: 1.72;
    object-position: 25% 36% !important;
  }
  .dog-photo img[src*="cassie-down"] {
    --dog-scale: 1.5;
    object-position: 29% 36% !important;
  }
}

@media (max-width: 809px) {
  .dog-photo img[src*="Anthony-Stark-tall"] {
    --dog-scale: 1.12;
    object-position: 50% 18% !important;
  }
  .dog-photo img[src*="Anthony-Stark-up"] {
    --dog-scale: 1.36;
    object-position: 71% 28% !important;
  }
  .dog-photo img[src*="Anthony-Stark-down"] {
    --dog-scale: 1.82;
    object-position: 28% 49% !important;
  }
  .dog-photo img[src*="cassie-tall"] {
    --dog-scale: 1.14;
    object-position: 52% 18% !important;
  }
  .dog-photo img[src*="cassie-up"] {
    --dog-scale: 1.62;
    object-position: 27% 38% !important;
  }
  .dog-photo img[src*="cassie-down"] {
    --dog-scale: 1.42;
    object-position: 31% 38% !important;
  }
  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    --dog-scale: 1.14;
    object-position: 50% 19% !important;
  }
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 48% 16% !important;
  }
}

/* ==================== 33 — FINÁLNÍ KONTROLNÍ PASS ==================== */

/* Pojistka: sekundární tlačítka všude jako outline, bílý fill pouze při hoveru. */
.button-outline {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  background: transparent !important;
  border-width: 1.5px !important;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--text-dark) !important;
  border-color: #ffffff !important;
  background: #ffffff !important;
}

/* Pojistka: kontaktní ikony se nesmí roztahovat. */
.contact-list li > span {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.contact-list li > span img {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  object-fit: contain !important;
}

/* Pojistka: Moji pejsci fotky fill + focus na obličeje. */
.dog-photo img,
.dog-photo-small img,
.dog-photo-tall img,
.dog-photo-single img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.dog-photo img[src*="Anthony-Stark-tall"] {
  transform: scale(1.12);
  object-position: 50% 19% !important;
}

.dog-photo img[src*="Anthony-Stark-up"] {
  transform: scale(1.52);
  object-position: 73% 25% !important;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  transform: scale(2.08);
  object-position: 25% 47% !important;
}

.dog-photo img[src*="cassie-tall"] {
  transform: scale(1.15);
  object-position: 52% 19% !important;
}

.dog-photo img[src*="cassie-up"] {
  transform: scale(1.78);
  object-position: 24% 34% !important;
}

.dog-photo img[src*="cassie-down"] {
  transform: scale(1.55);
  object-position: 28% 34% !important;
}

.dog-photo img[src*="Dreamcatcher-1"] {
  transform: scale(1.16);
  object-position: 50% 21% !important;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  transform: scale(1.16);
  object-position: 50% 20% !important;
}

/* Marco – obličej kluka. */
.about-image-cut img[src*="Syn-Marco"] {
  object-fit: cover !important;
  object-position: 46% 17% !important;
}

/* Mobil/tablet pojistky */
@media (max-width: 809px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button {
    width: min(100%, 330px);
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.42);
    object-position: 71% 27% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.88);
    object-position: 27% 48% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.62);
    object-position: 27% 36% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.42);
    object-position: 30% 36% !important;
  }
}

@media (max-width: 430px) {
  .dog-photo-grid-triple {
    grid-template-columns: 1fr;
  }

  .dog-photo-column {
    grid-template-columns: 1fr 1fr;
  }

  .dog-photo-small {
    min-height: 155px;
  }
}


/* === FIX: social icons in contact form/footer === */
.contact-list li > span.contact-socials {
  display: inline-flex !important;
  align-items: center !important;
  gap: 15px !important;
  width: auto !important;
  height: auto !important;
  flex: 0 1 auto !important;
}

.contact-list li > span.contact-socials a,
.footer-socials a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

.contact-list li > span.contact-socials img,
.footer-socials img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  object-position: center !important;
}


/* === FINAL PATCH: sjednocení všech ikon v kontaktní sekci === */
.contact-list li > span:not(.contact-socials) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

.contact-list li > span:not(.contact-socials) img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.contact-list li > span.contact-socials,
.contact-list li > span.contact-socials a,
.contact-list li > span.contact-socials img {
  width: 24px;
  height: 24px;
}

/* =========================================================
   HOTFIX – requested focus adjustments only
   Based on rollback-before-v4
   ========================================================= */

/* Marco: keep full Marco visible, reveal a bit more of the dog */
.about-image-cut img[src*="Syn-Marco"] {
  object-fit: cover !important;
  object-position: 47% 21% !important;
}

/* Anthony Stark: move both stacked photos slightly to the left */
.dog-photo img[src*="Anthony-Stark-up"] {
  object-fit: cover !important;
  transform: scale(1.50) !important;
  object-position: 66% 25% !important;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-fit: cover !important;
  transform: scale(2.02) !important;
  object-position: 18% 47% !important;
}

/* Cassiel Rose: shift focus a bit left toward the dog's face */
.dog-photo img[src*="cassie-tall"] {
  object-fit: cover !important;
  transform: scale(1.13) !important;
  object-position: 46% 19% !important;
}

.dog-photo img[src*="cassie-up"] {
  object-fit: cover !important;
  transform: scale(1.72) !important;
  object-position: 18% 34% !important;
}

.dog-photo img[src*="cassie-down"] {
  object-fit: cover !important;
  transform: scale(1.50) !important;
  object-position: 22% 35% !important;
}

/* Dreamcatcher + Gemma: zoom out slightly so full faces are visible, keep fill */
.dog-photo img[src*="Dreamcatcher-1"] {
  object-fit: cover !important;
  transform: scale(1.08) !important;
  object-position: 50% 22% !important;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-fit: cover !important;
  transform: scale(1.08) !important;
  object-position: 50% 21% !important;
}

/* Tablet */
@media (max-width: 1279px) {
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 47% 20% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.44) !important;
    object-position: 64% 26% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.92) !important;
    object-position: 20% 47% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.64) !important;
    object-position: 20% 35% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.42) !important;
    object-position: 24% 35% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    transform: scale(1.05) !important;
  }
}

/* Mobile */
@media (max-width: 809px) {
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 47% 19% !important;
  }

  .dog-photo img[src*="Anthony-Stark-tall"] {
    transform: scale(1.10) !important;
    object-position: 50% 20% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.36) !important;
    object-position: 63% 28% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.78) !important;
    object-position: 22% 48% !important;
  }

  .dog-photo img[src*="cassie-tall"] {
    transform: scale(1.10) !important;
    object-position: 46% 20% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.56) !important;
    object-position: 22% 36% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.36) !important;
    object-position: 24% 36% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    transform: scale(1.03) !important;
    object-position: 50% 22% !important;
  }
}

/* =========================================================
   HOTFIX v2 – fine focus corrections from latest feedback
   ========================================================= */

/* Marco: keep whole Marco, show a bit more of the dog */
.about-image-cut img[src*="Syn-Marco"] {
  object-fit: cover !important;
  object-position: 47% 24% !important;
}

/* Anthony Stark – top a bit higher, bottom a bit lower */
.dog-photo img[src*="Anthony-Stark-up"] {
  object-fit: cover !important;
  transform: scale(1.48) !important;
  object-position: 66% 19% !important;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-fit: cover !important;
  transform: scale(1.96) !important;
  object-position: 18% 56% !important;
}

/* Cassiel Rose – move much more to the left, still keep fill */
.dog-photo img[src*="cassie-up"] {
  object-fit: cover !important;
  transform: scale(1.46) !important;
  object-position: 3% 32% !important;
}

.dog-photo img[src*="cassie-down"] {
  object-fit: cover !important;
  transform: scale(1.30) !important;
  object-position: 6% 42% !important;
}

/* Dreamcatcher + Gemma – zoom out more, but still fill */
.dog-photo img[src*="Dreamcatcher-1"] {
  object-fit: cover !important;
  transform: scale(0.84) !important;
  object-position: 50% 18% !important;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-fit: cover !important;
  transform: scale(0.84) !important;
  object-position: 50% 18% !important;
}

@media (max-width: 1279px) {
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 47% 23% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.42) !important;
    object-position: 65% 20% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.88) !important;
    object-position: 19% 55% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.40) !important;
    object-position: 4% 33% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.24) !important;
    object-position: 8% 42% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    transform: scale(0.88) !important;
    object-position: 50% 18% !important;
  }
}

@media (max-width: 809px) {
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 47% 22% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.34) !important;
    object-position: 64% 21% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.70) !important;
    object-position: 20% 54% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.34) !important;
    object-position: 5% 34% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.18) !important;
    object-position: 10% 43% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    transform: scale(0.92) !important;
    object-position: 50% 19% !important;
  }
}

/* =========================================================
   HOTFIX v3 – stronger focus shifts per latest feedback
   ========================================================= */

/* Marco – a bit lower so more of the dog is visible, Marco stays whole */
.about-image-cut img[src*="Syn-Marco"] {
  object-fit: cover !important;
  object-position: 50% 30% !important;
}

/* Anthony Stark */
.dog-photo img[src*="Anthony-Stark-up"] {
  object-fit: cover !important;
  transform: scale(1.40) !important;
  object-position: 64% 8% !important;
}

.dog-photo img[src*="Anthony-Stark-down"] {
  object-fit: cover !important;
  transform: scale(1.88) !important;
  object-position: 17% 70% !important;
}

/* Cassiel Rose – much more to the left; keep fill */
.dog-photo img[src*="cassie-up"] {
  object-fit: cover !important;
  transform: scale(1.24) !important;
  object-position: 0% 29% !important;
}

.dog-photo img[src*="cassie-down"] {
  object-fit: cover !important;
  transform: scale(1.10) !important;
  object-position: 0% 41% !important;
}

/* Dreamcatcher + Gemma – keep fill but zoom out much more and center on face */
.dog-photo img[src*="Dreamcatcher-1"] {
  object-fit: cover !important;
  transform: scale(0.72) !important;
  object-position: 50% 20% !important;
}

.dog-photo img[src*="dog-gemma"],
.dog-photo img[src*="paw-gemma"] {
  object-fit: cover !important;
  transform: scale(0.72) !important;
  object-position: 50% 20% !important;
}

@media (max-width: 1279px) {
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 50% 29% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.34) !important;
    object-position: 63% 10% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.78) !important;
    object-position: 18% 67% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.18) !important;
    object-position: 1% 30% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.06) !important;
    object-position: 1% 42% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    transform: scale(0.78) !important;
    object-position: 50% 21% !important;
  }
}

@media (max-width: 809px) {
  .about-image-cut img[src*="Syn-Marco"] {
    object-position: 50% 28% !important;
  }

  .dog-photo img[src*="Anthony-Stark-up"] {
    transform: scale(1.28) !important;
    object-position: 62% 12% !important;
  }

  .dog-photo img[src*="Anthony-Stark-down"] {
    transform: scale(1.60) !important;
    object-position: 19% 63% !important;
  }

  .dog-photo img[src*="cassie-up"] {
    transform: scale(1.12) !important;
    object-position: 2% 31% !important;
  }

  .dog-photo img[src*="cassie-down"] {
    transform: scale(1.02) !important;
    object-position: 2% 43% !important;
  }

  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"],
  .dog-photo img[src*="paw-gemma"] {
    transform: scale(0.84) !important;
    object-position: 50% 22% !important;
  }
}

/* =========================================================
   HOTFIX v4b – restore Dreamcatcher + Gemma to the earlier preferred
   landscape look with clipped-corner container preserved.
   ========================================================= */
.dog-photo img[src*="Dreamcatcher-1"],
.dog-photo img[src*="dog-gemma"] {
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: none !important;
}

@media (max-width: 1279px) {
  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"] {
    object-position: 50% 50% !important;
    transform: none !important;
  }
}

@media (max-width: 809px) {
  .dog-photo img[src*="Dreamcatcher-1"],
  .dog-photo img[src*="dog-gemma"] {
    object-position: 50% 52% !important;
    transform: none !important;
  }
}


/* =========================================================
   HOTFIX v6 – responsive cleanup for tablet + mobile
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
picture {
  max-width: 100%;
}

.container,
.contact-layout,
.contact-copy,
.contact-form,
.training-layout,
.training-info-stack,
.dog-profile-layout,
.dog-photo-grid,
.dog-photo-column,
.about-split,
.philosophy-layout,
.education-layout,
.about-image-cut,
.education-accordions {
  min-width: 0;
}

.contact-list a,
.company-info,
.footer-nav a,
.footer-legal a,
.footer-copyright,
.main-nav a,
.dog-profile-copy,
.training-copy,
.about-copy {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1100px) {
  .contact-layout,
  .training-layout,
  .training-layout-reverse,
  .dog-profile-layout,
  .dog-profile-layout-reverse,
  .about-split,
  .about-split-reverse,
  .philosophy-layout,
  .education-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .training-layout-reverse > :first-child,
  .dog-profile-layout-reverse > :first-child,
  .about-split-reverse > :first-child {
    order: 2;
  }

  .training-layout-reverse > :last-child,
  .dog-profile-layout-reverse > :last-child,
  .about-split-reverse > :last-child {
    order: 1;
  }

  .contact-copy,
  .contact-form,
  .dog-photo-grid,
  .about-image-cut,
  .education-accordions {
    width: 100%;
    max-width: none;
  }

  .dog-profile-copy,
  .training-copy,
  .about-copy {
    max-width: none;
  }

  .dog-photo-grid-single {
    max-width: 760px;
    margin-inline: auto;
  }

  .dog-photo-single {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 809px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero {
    background-size: cover;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    align-items: flex-start;
    justify-content: center;
    min-height: 620px;
  }

  .hero-copy,
  .services-hero-copy,
  .dogs-hero-copy,
  .about-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button-outline,
  .form-submit {
    width: 100%;
    justify-content: center;
  }

  .contact-layout {
    gap: 28px;
  }

  .contact-list {
    gap: 16px;
    margin: 26px 0;
  }

  .contact-list li {
    align-items: flex-start;
  }

  .contact-list li:not(.contact-social-row) {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
  }

  .contact-list li > span:not(.contact-socials) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    padding-top: 2px;
  }

  .contact-list a {
    display: block;
    min-width: 0;
  }

  .contact-social-row {
    display: block;
  }

  .company-info {
    font-size: 15px;
    line-height: 1.6;
  }

  .contact-form {
    padding: 26px 18px;
  }

  .dog-profile-section,
  .training-section,
  .about-section {
    padding-block: 56px;
  }

  .dog-profile-layout,
  .dog-profile-layout-reverse,
  .training-layout,
  .training-layout-reverse,
  .about-split,
  .about-split-reverse,
  .philosophy-layout,
  .education-layout {
    gap: 28px;
  }

  .dog-photo-grid-triple {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .dog-photo-column {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .dog-photo-tall,
  .dog-photo-single {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .dog-photo-small {
    min-height: 160px;
    aspect-ratio: 1 / 1;
  }

  .paw-gallery {
    width: min(100%, 240px);
  }
}

@media (max-width: 430px) {
  .contact-list a,
  .company-info,
  .footer-nav,
  .footer-legal,
  .footer-copyright {
    font-size: 14px;
  }

  .contact-copy p {
    font-size: 15px;
    line-height: 1.6;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .dog-photo-small {
    min-height: 140px;
  }
}


/* =========================================================
   HOTFIX v8 – hero šipka blíž k textu na tabletu a mobilu
   ========================================================= */
@media (max-width: 1279px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero,
  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    min-height: 540px !important;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--header-height) + 54px) !important;
    padding-bottom: 132px !important;
  }

  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    bottom: 58px !important;
  }
}

@media (max-width: 809px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero,
  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    min-height: 500px !important;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    padding-top: calc(var(--header-height) + 42px) !important;
    padding-bottom: 112px !important;
  }

  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    bottom: 38px !important;
  }
}

@media (max-width: 430px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero,
  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    min-height: 470px !important;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    padding-top: calc(var(--header-height) + 34px) !important;
    padding-bottom: 98px !important;
  }

  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    bottom: 28px !important;
  }
}


/* =========================================================
   HOTFIX v9 – na tabletu/mobilu je šipka přímo pod hero obsahem,
   už není přilepená k dolní hraně obří hero sekce.
   ========================================================= */
@media (max-width: 1279px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero {
    display: flex !important;
    min-height: auto !important;
    height: auto !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-bottom: 52px !important;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    min-height: auto !important;
    height: auto !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--header-height) + 66px) !important;
    padding-bottom: 0 !important;
  }

  .scroll-indicator,
  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 42px auto 0 !important;
  }
}

@media (max-width: 809px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero {
    padding-bottom: 44px !important;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    padding-top: calc(var(--header-height) + 48px) !important;
  }

  .scroll-indicator,
  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    width: 52px !important;
    height: 52px !important;
    margin-top: 34px !important;
  }
}

@media (max-width: 450px) {
  .hero,
  .services-hero,
  .dogs-hero,
  .about-hero {
    padding-bottom: 38px !important;
  }

  .hero-content,
  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    padding-top: calc(var(--header-height) + 70px) !important;
  }

  .scroll-indicator,
  .hero .scroll-indicator,
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    margin-top: 28px !important;
  }
}


/* =========================================================
   HOTFIX v11 – více místa NAD šipkou v hero na tabletu a mobilu
   Cíl: horní mezera nad šipkou ≈ dolní mezera pod šipkou
   ========================================================= */
@media (max-width: 1279px) {
  .services-hero,
  .services-hero-content,
  .dogs-hero,
  .dogs-hero-content,
  .about-hero,
  .about-hero-content {
    min-height: 600px !important;
  }
}

@media (max-width: 809px) {
  .services-hero,
  .services-hero-content,
  .dogs-hero,
  .dogs-hero-content,
  .about-hero,
  .about-hero-content {
    min-height: 620px !important;
  }
}

@media (max-width: 430px) {
  .services-hero,
  .services-hero-content,
  .dogs-hero,
  .dogs-hero-content,
  .about-hero,
  .about-hero-content {
    min-height: 620px !important;
  }
}


/* =========================================================
   HOTFIX v13 – tablet/mobil: hero šipka 40px nad/pod a
   první sekce pod hero bez obří mezery
   ========================================================= */
@media (max-width: 1279px) {
  .services-hero,
  .dogs-hero,
  .about-hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
  }

  .services-hero-content,
  .dogs-hero-content,
  .about-hero-content {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
  }

  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 40px auto 0 !important;
  }

  .services-hero + .training-section,
  .dogs-hero + .dog-profile-section,
  .about-hero + .about-section {
    padding-top: 40px !important;
  }
}

@media (max-width: 809px) {
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    width: 52px !important;
    height: 52px !important;
    margin-top: 40px !important;
  }

  .services-hero + .training-section,
  .dogs-hero + .dog-profile-section,
  .about-hero + .about-section {
    padding-top: 40px !important;
  }
}

@media (max-width: 430px) {
  .services-scroll,
  .dogs-hero-scroll,
  .about-hero-scroll {
    margin-top: 40px !important;
  }

  .services-hero + .training-section,
  .dogs-hero + .dog-profile-section,
  .about-hero + .about-section {
    padding-top: 40px !important;
  }
}


/* ==================== 24 — PRÁVNÍ STRÁNKY + COOKIES POPUP ==================== */
.legal-page {
  background: var(--bg);
  color: var(--text);
}

.legal-main {
  background:
    radial-gradient(circle at 8% 28%, rgba(232, 173, 25, 0.08), transparent 28%),
    linear-gradient(180deg, #11180d 0%, var(--bg) 34%, #202612 100%);
}

.legal-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    linear-gradient(180deg, rgba(18, 23, 12, 0.30), rgba(18, 23, 12, 0.82)),
    url("./assets/pozadi-hero.avif") center / cover no-repeat;
}

.legal-hero-inner {
  padding-block: 86px 70px;
}

.legal-hero .section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.legal-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-section {
  padding-block: 96px 110px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding: 28px;
  background: #39401f;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.legal-sidebar p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal-sidebar strong {
  display: block;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.legal-button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-card {
  padding: clamp(26px, 4vw, 44px);
  background: rgba(57, 64, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.legal-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p,
.legal-card ul + p {
  margin-top: 16px;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-card li + li {
  margin-top: 10px;
}

.legal-card a {
  color: var(--text);
  text-decoration: none;
}

.legal-inline-button {
  margin-top: 22px;
}

.cookie-table {
  display: grid;
  gap: 14px;
}

.cookie-table > div {
  padding: 22px;
  background: rgba(18, 23, 12, 0.46);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.cookie-table strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
}

.cookie-banner {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 1200;
  width: min(460px, calc(100vw - 32px));
  padding: 24px;
  color: var(--text);
  background: #11180d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-banner h2,
.cookie-modal h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cookie-banner p,
.cookie-modal p,
.cookie-option span {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.cookie-banner a,
.cookie-modal a {
  color: var(--text);
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--text);
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.cookie-button-primary {
  border-color: var(--accent);
  color: var(--text-dark);
  background: var(--accent);
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--accent);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.cookie-modal-panel {
  width: min(640px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(24px, 4vw, 36px);
  background: #11180d;
  color: var(--text);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.cookie-options {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(57, 64, 31, 0.75);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.cookie-option strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.cookie-switch {
  position: relative;
  width: 58px;
  height: 32px;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: 0.22s ease;
}

.cookie-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  background: var(--text);
  transition: 0.22s ease;
}

.cookie-switch input:checked + .cookie-slider {
  background: var(--accent);
  border-color: var(--accent);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(26px);
  background: var(--text-dark);
}

.cookie-switch input:disabled + .cookie-slider {
  opacity: 0.68;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 1279px) {
  .legal-hero {
    min-height: auto;
  }

  .legal-hero-inner {
    padding-block: 72px 62px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 809px) {
  .legal-hero-inner {
    padding-block: 56px 48px;
  }

  .legal-section {
    padding-block: 58px 72px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 15px;
  }

  .cookie-banner {
    inset: auto 16px 16px 16px;
    width: auto;
    padding: 20px;
  }

  .cookie-actions,
  .cookie-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   HOTFIX v14 – právní stránky: čitelnost nadpisů a typografie
   ========================================================= */
.legal-card h2 {
  line-height: 1.18 !important;
  letter-spacing: 0.03em;
  word-spacing: 0.03em;
  text-wrap: balance;
  overflow-wrap: normal;
}

.legal-hero h1 {
  line-height: 1.08 !important;
  text-wrap: balance;
}

.legal-card p,
.legal-card li,
.cookie-table p,
.cookie-banner p,
.cookie-modal p,
.cookie-option span {
  line-height: 1.82 !important;
}

.legal-card,
.legal-sidebar,
.cookie-table > div,
.cookie-banner,
.cookie-modal-panel {
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 809px) {
  .legal-card {
    padding: 28px 24px !important;
  }

  .legal-card h2 {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.025em;
  }

  .legal-hero h1 {
    font-size: clamp(42px, 12vw, 58px) !important;
    line-height: 1.08 !important;
  }

  .legal-card p,
  .legal-card li {
    font-size: 16px !important;
    line-height: 1.82 !important;
  }
}

@media (max-width: 430px) {
  .legal-card {
    padding: 26px 22px !important;
  }

  .legal-card h2 {
    font-size: clamp(25px, 8.4vw, 32px) !important;
    line-height: 1.22 !important;
  }

  .legal-card p,
  .legal-card li {
    font-size: 15px !important;
  }
}

/* =========================================================
   FINÁLNÍ ÚPRAVY HOMEPAGE – TYPOGRAFIE A PŘECHODY
   ========================================================= */

/* Typografický systém */
body {
  font-size: 16px;
}

a {
  text-decoration: none !important;
}

@media (min-width: 1280px) {
  h3 {
    font-size: 28px;
  }

  .process-step > span,
  .training-focus-list li > span {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
  }
}

/* Dodané ikony pro seznam „jsou / nejsou“ */
.check-list li::before {
  content: "" !important;
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
}

.audience-card-dark .check-list li::before {
  background-image: url("./assets/ikony/x-ikona.png");
}

.audience-card-light .check-list li::before {
  background-image: url("./assets/ikony/fajfka-ikona.png");
}

/* Plynulé napojení konkrétních sekcí na homepage */
.audience-section::after,
.method-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: clamp(110px, 14vw, 190px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(37, 40, 22, 0) 0%,
    rgba(37, 40, 22, 0.68) 58%,
    #252816 100%
  );
}

.audience-section > .section-content,
.method-section > .section-content {
  position: relative;
  z-index: 1;
}

/* Právní stránka – bezpečná výška řádků bez dotýkání znaků */
.legal-hero h1 {
  line-height: 1.16 !important;
}

.legal-card h2 {
  line-height: 1.28 !important;
}

.legal-card p,
.legal-card li {
  line-height: 1.9 !important;
}

.legal-card p + p,
.legal-card ul + p {
  margin-top: 20px;
}

@media (max-width: 809px) {
  .audience-section::after,
  .method-section::after {
    height: 110px;
  }

  .legal-hero h1 {
    line-height: 1.18 !important;
  }

  .legal-card h2 {
    line-height: 1.32 !important;
  }

  .legal-card p,
  .legal-card li {
    line-height: 1.88 !important;
  }
}

/* Footer: veškerý text je Mulish Regular 16 px na všech zařízeních. */
.site-footer .footer-tagline > span,
.site-footer .footer-nav a,
.site-footer .footer-legal a,
.site-footer .footer-legal > span,
.site-footer .footer-copyright {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

/* Stav odeslání formuláře a zamezení opakovanému kliknutí. */
.form-status.is-success {
  color: #385316;
}

.form-status.is-error {
  color: #a72b20;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

/* O mně: na telefonu se nejdříve zobrazí text filozofie, potom boxy. */
@media (max-width: 809px) {
  .philosophy-copy {
    order: 1;
  }

  .philosophy-cards {
    order: 2;
  }
}

/* =========================================================
   JEMNÉ ANIMACE WEBU
   ========================================================= */

/* Obsah hero sekcí se při načtení objeví v krátkém sledu. */
@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy > h1,
.services-hero-copy > h1,
.dogs-hero-copy > h1,
.about-hero-copy > h1 {
  animation: hero-content-enter 720ms cubic-bezier(0.22, 0.61, 0.36, 1) 80ms backwards;
}

.hero-copy > .hero-text {
  animation: hero-content-enter 720ms cubic-bezier(0.22, 0.61, 0.36, 1) 190ms backwards;
}

.hero-copy > .hero-actions,
.services-hero-copy > .button,
.dogs-hero-copy > .button,
.about-hero-copy > .button {
  animation: hero-content-enter 720ms cubic-bezier(0.22, 0.61, 0.36, 1) 300ms backwards;
}

/* CTA šipka se při hoveru posune doprava, svislé vycentrování zůstává zachované. */
.button > span {
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.button:hover > span,
.button:focus-visible > span {
  transform: translate(4px, 1px);
}

/* Žluté části hlavních nadpisů se jemně zaostří a objeví bez změny zalomení. */
.motion-accent {
  opacity: 0;
  filter: blur(3px);
  transition:
    opacity 820ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 820ms ease;
  will-change: opacity, filter;
}

.motion-accent.is-motion-visible {
  opacity: 1;
  filter: blur(0);
}

/* Boxy filozofie přicházejí postupně zespodu. */
.philosophy-card.motion-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--motion-index, 0) * 90ms);
  will-change: opacity, transform;
}

.philosophy-card.motion-card.is-motion-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Velmi mírný parallax hlavních fotografií na podstránkách. */
.motion-parallax-image {
  transform: translate3d(0, var(--motion-parallax-y, 0px), 0) scale(1.045);
  will-change: transform;
}

@media (max-width: 809px) {
  .motion-parallax-image {
    transform: none !important;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > h1,
  .services-hero-copy > h1,
  .dogs-hero-copy > h1,
  .about-hero-copy > h1,
  .hero-copy > .hero-text,
  .hero-copy > .hero-actions,
  .services-hero-copy > .button,
  .dogs-hero-copy > .button,
  .about-hero-copy > .button {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .motion-accent,
  .philosophy-card.motion-card {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .motion-parallax-image {
    transform: none !important;
    will-change: auto;
  }
}
