/* ---------------------------------------------
   CSS CUSTOM PROPERTIES
--------------------------------------------- */

:root {
  --color-dark: #3a2a1a;
  --color-gold: #c4a882;
  --color-gold-light: #f5ede4;
  --color-gold-dark: #8a6d4b;
  --color-gold-muted: #b08d6a;
  --color-gold-hover: #d0c0aa;
  --color-text: #3a2a1a;
  --color-text-secondary: #6b5e52;
  --color-text-muted: #8a7e72;
  --color-text-light: #a09689;
  --color-text-nav: #5a4a3a;
  --color-bg: #ffffff;
  --color-bg-muted: #f6f2ed;
  --color-bg-warm: #fdfbf8;
  --color-border: #e0d5c8;
  --color-border-light: #d8cfc4;
  --color-footer-text: #d4c8ba;
  --shadow-card: 0 14px 40px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 18px 50px rgba(15, 23, 42, 0.1);
  --radius-card: 1rem;
  --radius-pill: 999px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------------------------------------
   ZÁKLADNÍ NASTAVENÍ
--------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-tap-highlight-color: rgba(196, 168, 130, 0.15);
  touch-action: manipulation;
}

::selection {
  background: var(--color-gold-light);
  color: var(--color-dark);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-dark);
  color: var(--color-bg);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.3;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.4;
}

h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.4;
}

p {
  line-height: 1.75;
  margin: 0 0 0.75rem;
}

strong, b {
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

ul, ol {
  line-height: 1.75;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------------------------------------
   HLAVIČKA
--------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 253, 253, 0.92);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 50px;
}

.logo {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 25;
  align-self: flex-start;
  margin-top: -8px;
  transition: margin-top 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-title {
  display: none;
  flex-direction: column;
  margin-left: 0.65rem;
  line-height: 1.15;
}

.logo-title-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-title-sub {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-img {
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img.logo-full {
  height: 200px;
  opacity: 1;
}

.logo-img.logo-icon {
  height: 55px;
  width: auto;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .logo {
  margin-top: 0;
}

.site-header.is-scrolled .logo-img.logo-full {
  height: 55px;
  opacity: 0;
  pointer-events: none;
}

.site-header.is-scrolled .logo-img.logo-icon {
  opacity: 1;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}


.main-nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: var(--color-text-nav);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover:not(.lang-btn--active) {
  background: var(--color-gold-light);
  color: var(--color-dark);
}

.lang-btn--active {
  background: var(--color-dark);
  color: #FDFDFD;
}

/* Hamburger button – hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  z-index: 30;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header right group (Instagram + lang switch) */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-social {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.header-social:hover {
  color: var(--color-gold);
  text-decoration: none;
  transform: scale(1.1);
}

.header-calc {
  position: relative;
}

.header-calc::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  padding: 0.3rem 0.6rem;
  background: var(--color-dark);
  color: #fdfdfd;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.header-calc:hover::after {
  opacity: 1;
}

.header-calc--active {
  color: var(--color-gold-dark);
}

/* Header ornament – full-width decorative divider */
.header-ornament {
  display: block;
  width: 100%;
  line-height: 0;
}

.header-ornament svg {
  display: block;
  width: 100%;
  height: 16px;
}

/* Odkazy v obsahových textech */
.section p a,
.section li a,
.aside-card a,
.dog-profile-card a:not(.btn):not(.dog-docs-inline) {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.section p a:hover,
.section li a:hover,
.aside-card a:hover,
.dog-profile-card a:not(.btn):not(.dog-docs-inline):hover {
  color: var(--color-gold);
  text-decoration-color: var(--color-gold);
}

/* ---------------------------------------------
   SEKCE – ZÁKLAD
--------------------------------------------- */

.section {
  padding: 4rem 0;
  scroll-margin-top: 4rem;
}

.section-muted {
  background: var(--color-bg-muted);
  position: relative;
  margin-top: 2rem;
  padding-top: 5rem;
}

/* Curved top divider */
.section-muted::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 0;
  right: 0;
  height: 3rem;
  background: var(--color-bg-muted);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

/* Noise texture removed — feTurbulence was GPU-expensive and invisible at 0.03 opacity */

.section-hero {
  position: relative;
  padding: 0;
  background: url("images/hero/hero-background.webp") no-repeat 15% center / auto 100%;
  background-image: image-set(
    url("images/hero/hero-background.webp") type("image/webp"),
    url("images/hero/hero-background.png") type("image/png")
  );
  min-height: 40vh;
  overflow: hidden;
  scroll-margin-top: 0;
}

/* Hero entrance — staggered reveal */
.section-hero .hero-text h1 {
  animation: heroSlideUp 0.8s ease-out both;
}

.section-hero .hero-subtitle {
  animation: heroSlideUp 0.8s ease-out 0.15s both;
}

.section-hero .hero-map-inline {
  animation: heroSlideUp 0.8s ease-out 0.25s both;
}

.section-hero .hero-actions {
  animation: heroSlideUp 0.8s ease-out 0.35s both;
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
}

.section-header p {
  margin: 0;
  color: var(--color-text-secondary);
  max-width: 36rem;
}

/* Scroll-triggered section animation */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  display: grid;
  gap: 2.5rem;
}

.two-column {
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr);
  align-items: flex-start;
}

/* ---------------------------------------------
   HERO
--------------------------------------------- */

.hero-overlay {
  display: flex;
  align-items: center;
  min-height: 40vh;
}

.hero-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.hero-text {
  width: 55%;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  position: relative;
}

.hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: var(--color-dark);
}

.hero-subtitle,
.hero-subtitle-wrap {
  font-weight: 300;
  color: var(--color-text-nav);
  margin: 0 0 1.5rem;
  max-width: 500px;
  line-height: 1.85;
  font-size: 0.95rem;
}

.hero-map-inline {
  float: right;
  opacity: 0.75;
  margin: 0 0 0.25rem 0.75rem;
}

.hero-map-inline svg {
  display: block;
}

@keyframes heroHeartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.btn-paw {
  gap: 0.5rem;
}

.hero-scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  color: var(--color-gold);
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
  text-decoration: none;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 0.8; }
}

.btn-icon {
  flex-shrink: 0;
}

/* ---------------------------------------------
   PROČ PRÁVĚ MY? — STEPPER
--------------------------------------------- */

.section-why-us {
  padding: 4rem 0 2.5rem;
  background: var(--color-bg-warm);
  position: relative;
  margin-top: 1rem;
}

.section-why-us::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 2rem;
  background: var(--color-bg-warm);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin-top: 0.5rem;
  border-radius: 1px;
}

/* Stepper layout */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.stepper--contact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stepper--contact .stepper-line {
  left: calc(12.5%);
  right: calc(12.5%);
}

/* Horizontální propojovací linie — psí stopy */
.stepper-line {
  position: absolute;
  top: calc(1.5rem + 26px);
  left: calc(16.666% + 26px);
  right: calc(16.666% + 26px);
  height: 40px;
  transform: translateY(-50%);
  z-index: 0;
  overflow: visible;
}

.stepper-line-fill {
  width: 100%;
  height: 100%;
  position: relative;
  color: var(--color-gold);
  overflow: visible;
}

.stepper-line-fill .paw {
  position: absolute;
  width: 15px;
  height: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* pozice a rotace nastaveny přes JS inline style */
}

.stepper-line-fill .paw.is-visible {
  opacity: 0.45;
}

.stepper-line-fill .paw.is-fading {
  opacity: 0.15;
  transition: opacity 0.8s ease;
}

.stepper-line-fill .paw.is-gone {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Karta stepperu */
.stepper-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem 1.2rem;
  border-radius: 1rem;
  transition: transform 0.8s ease, box-shadow 0.8s ease, opacity 1s ease;
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* JS-animated state — start dimmed, animate in */
.stepper-card.is-animatable {
  opacity: 0.4;
  transform: scale(0.95) translateY(8px);
}

/* Aktivní stav — scroll i hover */
.stepper-card.is-active,
.stepper-card:hover {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.stepper-card:hover {
  text-decoration: none;
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 12px 36px rgba(80, 60, 40, 0.08);
}

/* Ikona — linie prochází středem */
.stepper-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-light);
  border-radius: 50%;
  color: var(--color-gold-hover);
  margin-bottom: 0.75rem;
  transition: color 0.8s ease, background 0.8s ease, box-shadow 0.8s ease;
  position: relative;
  z-index: 2;
}

.stepper-card.is-active .stepper-icon,
.stepper-card:hover .stepper-icon {
  color: var(--color-gold-muted);
  background: #f0e5d6;
  box-shadow: 0 4px 16px rgba(196, 168, 130, 0.25);
}

/* Texty */
.stepper-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
  color: var(--color-dark);
}

.stepper-card p {
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

/* CTA odkaz */
.stepper-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s, color 0.15s ease;
}

.stepper-card.is-active .stepper-link,
.stepper-card:hover .stepper-link {
  opacity: 1;
  transform: translateY(0);
}

.stepper-card:hover .stepper-link {
  color: var(--color-gold-dark);
}

/* ---------------------------------------------
   KARTY A ASIDE BOXY
--------------------------------------------- */

.aside-card,
.news-item {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aside-card:hover,
.news-item:hover,
.docs-note:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.aside-card,
.news-item {
  border-bottom: 2px solid var(--color-gold);
}

/* Breeder photo */
.breeder-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--color-gold-light);
  background: var(--color-bg-muted);
}

.breeder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.puppies-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.puppies-photo {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: radial-gradient(circle at top left, #fef6e7, #ffffff);
  box-shadow: 0 14px 40px rgba(80, 60, 40, 0.1);
  cursor: pointer;
}

.puppies-photo .gallery-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.puppies-photo:hover .gallery-photo {
  transform: scale(1.04);
}

.puppies-photo-caption {
  padding: 0.6rem 0.85rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
}

.puppies-photo-caption a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-underline-offset: 2px;
}

.puppies-photo-caption a:hover {
  color: var(--color-gold);
}


.aside-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.aside-card p {
  margin-top: 0;
  color: var(--color-text-secondary);
}

/* ---------------------------------------------
   TLAČÍTKA
--------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
  box-shadow: 0 2px 8px rgba(80, 60, 40, 0.15);
}

.btn-primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(80, 60, 40, 0.2);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.05s;
}

/* Submit button micro-interactions */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(90, 74, 58, 0.2);
  border-top-color: var(--color-text-nav);
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.btn--success {
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: var(--color-dark) !important;
}

.btn-check {
  display: inline-block;
  animation: btnCheckPop 0.3s ease-out;
  font-size: 1.1rem;
  font-weight: 700;
}

@keyframes btnCheckPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

.btn-outline {
  background: transparent;
  color: var(--color-text-nav);
  border-color: var(--color-gold);
}

.btn-outline:hover {
  border-color: #a08060;
  color: var(--color-dark);
  background: rgba(196, 168, 130, 0.08);
  transform: translateY(-2px);
}

/* ---------------------------------------------
   NAŠE FENY
--------------------------------------------- */

/* Dog intro */
.dog-intro {
  margin-bottom: 1.5rem;
}

.dog-intro h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.dog-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Dog profile — řádky: média vlevo, karta vpravo */
.dog-profile-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.dog-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 1.5rem;
  align-items: start;
}

.dog-profile-row .dog-photo-wrapper,
.dog-profile-row .dog-video-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dog-profile-row .dog-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-profile-row video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
}

.dog-video-wrapper {
  position: relative;
  overflow: hidden;
}


.dog-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  border-radius: 1.25rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Jednotlivé karty uvnitř řádku */
.dog-profile-card {
  background: var(--color-bg-muted);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.dog-profile-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.dog-profile-card-header .stepper-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

.dog-profile-card-header .stepper-icon svg {
  width: 22px;
  height: 22px;
}

.dog-profile-card-header h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-dark);
}

/* Inline docs link vedle nadpisu Zdraví */
.dog-docs-inline {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--color-gold-dark);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.dog-docs-inline:hover {
  opacity: 1;
  color: var(--color-gold-muted);
}

/* Health badges & result chips — zarovnat doleva v profilu */
.dog-profile-card .health-badges,
.dog-profile-card .result-chips {
  justify-content: flex-start;
}

.dog-profile-card .health-category {
  text-align: left;
}

.dog-profile-card .dog-traits {
  justify-content: flex-start;
}

.dog-photo-wrapper {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--color-bg-muted);
  cursor: pointer;
  margin: 0;
}

.dog-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dog-photo-wrapper:hover .dog-photo {
  transform: scale(1.04);
}

/* Health category labels */
.health-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0.7rem 0 0.35rem;
  text-align: center;
}

.health-category:first-of-type {
  margin-top: 0.2rem;
}

/* Health result badges */
.health-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  line-height: 1.3;
}

.health-badge strong {
  font-weight: 600;
}

.health-badge--ok {
  background: #e8f5e9;
  color: #2e7d32;
}

.health-badge--warn {
  background: #fff3e0;
  color: #e65100;
}

/* Result chips — for shows & trials */
.result-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
}

.result-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--color-gold-light);
  font-size: 0.72rem;
  line-height: 1.3;
}

.result-chip-label {
  font-weight: 600;
  color: var(--color-gold-dark);
}

.result-chip-value {
  color: var(--color-dark);
}

.result-chip--pending {
  background: var(--color-bg-muted);
  opacity: 0.7;
}

.result-chip--pending .result-chip-label {
  color: var(--color-text-muted);
}

/* Pedigree card — full width below dog-card */
.dog-pedigree-card {
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}

.dog-pedigree-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dog-pedigree-title svg {
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.dog-pedigree-card a:not(.btn) {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.dog-pedigree-card a:not(.btn):hover {
  color: var(--color-gold);
}

.dog-text {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* Traits */
.dog-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dog-trait {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-gold-light);
  color: var(--color-gold-dark);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Health table */
.dog-health-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.dog-health-table th {
  text-align: left;
  padding: 0.45rem 0.7rem;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border);
}

.dog-health-table td {
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-secondary);
}

.dog-health-table tr:last-child td {
  border-bottom: none;
}

.health-ok {
  color: #2e7d32;
  font-weight: 700;
}

.health-carrier {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  background: #fff3e0;
  color: #e65100;
  font-size: 0.72rem;
  font-weight: 600;
}

.dog-health-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0.4rem 0 0.3rem;
}

/* Stat list (titles) */
.dog-stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.dog-stat-list li {
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
}

.dog-stat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* ---- PEDIGREE TREE ---- */
.pedigree {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
  width: 100%;
}

.pedigree-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  position: relative;
  min-width: 0;
}

.pedigree-col--subject {
  justify-content: center;
  padding-right: 0.5rem;
}

.pedigree-col--ggp .pedigree-node {
  font-size: 0.7rem;
  padding: 0.35rem 0.6rem;
}

.pedigree-col--ggp .pedigree-node strong {
  font-size: 0.7rem;
}

.pedigree-node {
  position: relative;
  padding: 0.5rem 0.8rem;
  margin: 0.2rem 0;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.35;
  border-left: 3px solid var(--color-gold);
  background: var(--color-bg-muted);
  text-decoration: none;
  display: block;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.pedigree-node:hover {
  background: var(--color-gold-light);
  box-shadow: 0 2px 8px rgba(80, 60, 40, 0.1);
}

.pedigree-node strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-dark);
  font-weight: 600;
}

.pedigree-node span {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.pedigree-node--subject {
  background: var(--color-gold-light);
  border-left-color: var(--color-gold-dark);
  padding: 0.7rem 1rem;
}

.pedigree-node--subject strong {
  font-size: 0.9rem;
}

.pedigree-node--sire {
  border-left-color: #6b8eb5;
}

.pedigree-node--dam {
  border-left-color: #c48a8a;
}

/* Connector lines between pedigree columns */
.pedigree-col:not(.pedigree-col--subject)::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.pedigree-node::after {
  content: "";
  position: absolute;
  left: -0.9rem;
  top: 50%;
  width: 0.6rem;
  height: 1px;
  background: var(--color-border);
}

.pedigree-col--subject .pedigree-node::after {
  display: none;
}

.pedigree-footer {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.pedigree-footer a {
  color: var(--color-gold-dark);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* ---------------------------------------------
   ŠTĚŇATA
--------------------------------------------- */

.puppies-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.puppies-main h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.puppies-main p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.list {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
  color: var(--color-text-secondary);
}

.list li + li {
  margin-top: 0.25rem;
}


/* ---------------------------------------------
   PLÁNOVANÝ VRH — ZVÝRAZNĚNÁ KARTA
--------------------------------------------- */

.planned-litter {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
  border-bottom: 2px solid var(--color-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.planned-litter:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.planned-litter-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
}

.planned-litter-date {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.2;
}

.planned-litter-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  margin: 0.25rem 0;
}

.planned-litter-desc {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 0.5rem;
  max-width: 400px;
}

.planned-litter .btn {
  margin-top: 0.25rem;
}

/* ---------------------------------------------
   GALERIE
--------------------------------------------- */

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery-tab {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 168, 130, 0.5);
  background: transparent;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.gallery-tab:hover:not(.gallery-tab--active) {
  background: var(--color-gold-light);
  border-color: var(--color-gold);
  color: var(--color-dark);
}

.gallery-tab:active {
  transform: scale(0.95);
}

.gallery-tab--active {
  background: var(--color-dark);
  color: #FDFDFD;
  border-color: var(--color-dark);
}

/* Featured gallery item — spans 2 columns */
.gallery-item--featured {
  grid-column: span 2;
}

.gallery-item--featured .gallery-photo {
  height: 280px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-grid:not(.gallery-grid--expanded) .gallery-item:nth-child(n+10) {
  display: none;
}

.gallery-show-more {
  display: block;
  margin: 1.5rem auto 0;
}
.gallery-grid--expanded + .gallery-show-more {
  display: none;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.9rem;
  animation: galleryFadeIn 0.4s ease-out both;
}

.gallery-photo,
.gallery-video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.9rem;
  display: block;
  box-shadow: 0 10px 30px rgba(80, 60, 40, 0.12);
  transition: transform 0.3s ease;
}
.gallery-video { cursor: pointer; }

.gallery-item:hover .gallery-photo,
.gallery-item:hover .gallery-video {
  transform: scale(1.05);
}

.gallery-item--video {
  position: relative;
}

.gallery-item--video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a2a1a'%3E%3Cpolygon points='9,6 18,12 9,18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 18px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.gallery-item--video:hover::after {
  opacity: 0;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-caption {
  border-radius: var(--radius-card);
  margin: 0.4rem 0 0;
  padding: 0.25rem 0.4rem 0.1rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ---------------------------------------------
   NOVINKY
--------------------------------------------- */

.news-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.3rem;
}

.news-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-light);
  margin: 0 0 0.35rem;
}

.news-item h3 {
  margin: 0 0 0.35rem;
}

.news-item p {
  margin: 0 0 0.6rem;
  color: var(--color-text-secondary);
}

.news-item p:last-of-type {
  margin-bottom: 0;
}

.news-item ul.list {
  margin: 0.5rem 0 0.8rem;
  color: var(--color-text-secondary);
}

.news-read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.news-read-more:hover {
  color: var(--color-dark);
}

.news-results {
  background: #f9f5f0;
  border-left: 3px solid var(--color-gold);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 0.8rem 0;
}

.news-results p,
.news-results ul {
  margin: 0;
}

.news-results ul {
  margin-top: 0.4rem;
}

.news-quote {
  border-left: 3px solid var(--color-gold);
  padding: 0.75rem 1.25rem;
  margin: 0.8rem 0;
  font-style: italic;
  color: var(--color-text-secondary);
  background: #f9f5f0;
  border-radius: 0.5rem;
}

.news-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.news-back {
  margin-top: 2.5rem;
}

.news-list--full .news-item {
  max-width: none;
}

.news-list--full .news-item h3 {
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------
   BLOG GRID (aktuality.html masonry)
--------------------------------------------- */

.blog-grid {
  columns: 3;
  column-gap: 1.8rem;
}

.blog-grid--3 {
  columns: unset;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.blog-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 1.8rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  text-decoration: none;
}

.blog-card:hover .blog-card-title {
  color: var(--color-gold-dark);
}

.blog-card-img {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f0ebe4;
  aspect-ratio: auto;
  line-height: 0;
}

.blog-card-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-img--empty {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img--empty::after {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a882' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.5;
}

.blog-card-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  margin: -26px auto 0.6rem;
  position: relative;
  z-index: 1;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--color-bg), 0 2px 8px rgba(58, 42, 26, 0.25);
}

.blog-card-date::before,
.blog-card-date::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: var(--color-gold);
  width: 60px;
}

.blog-card-date::before {
  right: 100%;
  margin-right: 4px;
}

.blog-card-date::after {
  left: 100%;
  margin-left: 4px;
}

.blog-card-month {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.blog-card-day {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-dark);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Blog article detail */
.blog-article {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 2rem 2.2rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-card);
  border-bottom: 2px solid var(--color-gold);
  scroll-margin-top: 5rem;
}

.blog-article h3 {
  margin: 0 0 0.25rem;
}

.blog-article p {
  margin: 0 0 0.6rem;
  color: var(--color-text-secondary);
}

.blog-article .news-meta {
  margin-bottom: 1rem;
}

.blog-article ul.list {
  color: var(--color-text-secondary);
  margin: 0.5rem 0 0.8rem;
}

.blog-article-page {
  max-width: 740px;
}

.blog-back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--color-gold-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-back-link:hover {
  color: var(--color-dark);
}

.blog-article-page .blog-article h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 0.25rem;
}

.blog-article-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.blog-article-photos a {
  display: block;
  cursor: pointer;
}
.blog-article-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
  transition: transform 0.3s ease;
}
.blog-article-photos a:hover img {
  transform: scale(1.03);
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.share-buttons > span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.share-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.share-btn:hover {
  color: var(--color-gold);
  text-decoration: none;
  transform: scale(1.1);
}
.share-buttons .share-btn svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  flex-shrink: 0;
}
.share-btn .share-btn-label {
  display: none;
}
.share-btn--copied {
  color: var(--color-gold-dark) !important;
}
.share-btn--copied .share-btn-label {
  display: inline;
  font-size: 0.75rem;
  margin-left: 0.3rem;
}

/* ---------------------------------------------
   DOKUMENTY
--------------------------------------------- */

#documents .section-header p {
  max-width: none;
}

.docs-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}

.docs-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.docs-group {
  margin-bottom: 0;
}

.docs-group h3 {
  margin: 0 0 0.3rem;
  color: var(--color-dark);
}

.docs-group-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0 0 0.6rem;
}

.docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-text-secondary);
}

.docs-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(196, 168, 130, 0.2);
}

.docs-list li:last-child {
  border-bottom: none;
}

.docs-list a {
  display: block;
}

.docs-note {
  margin-top: 1.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  border-bottom: 2px solid var(--color-gold);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.docs-note h3 {
  margin: 0 0 1.2rem;
  color: var(--color-dark);
}

.docs-note-item + .docs-note-item {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(196, 168, 130, 0.2);
}

.docs-note-item h4 {
  margin: 0 0 0.4rem;
  color: var(--color-dark);
}

.docs-note-item p {
  margin: 0;
  color: var(--color-text-secondary);
}

/* ---------------------------------------------
   KONTAKT
--------------------------------------------- */

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header h2 {
  margin-bottom: 0.6rem;
}

.contact-subtitle {
  color: var(--color-text-secondary);
  max-width: 32rem;
  margin: 0 auto;
}


.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-form {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

input,
select,
textarea {
  border-radius: 0.7rem;
  border: 1px solid var(--color-border-light);
  padding: 0.35rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.75;
  transition: border-color 0.1s ease, box-shadow 0.1s ease,
    background-color 0.1s ease;
  background-color: var(--color-bg-muted);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px rgba(196, 168, 130, 0.4);
  background-color: var(--color-bg);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0 0 0.9rem;
}

.contact-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: var(--color-cream);
  color: var(--color-brown);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
}

/* ---------------------------------------------
   FOOTER TRANSITION
--------------------------------------------- */

.footer-transition {
  line-height: 0;
  margin-top: -1px;
  background: var(--color-bg-muted);
}

.footer-transition svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ---------------------------------------------
   FOOTER
--------------------------------------------- */

.site-footer {
  padding: 3rem 0 0;
  background: var(--color-dark);
  color: var(--color-footer-text);
  font-size: 0.85rem;
  line-height: 1.75;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-col h4 {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col p {
  margin: 0 0 0.25rem;
}

.footer-col a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.3rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo {
  height: auto;
  width: 240px;
  display: block;
  margin-top: 1rem;
  opacity: 0.9;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---------------------------------------------
   GALLERY FILTER ANIMATION
--------------------------------------------- */

.gallery-fade-in {
  animation: galleryFadeIn 0.4s ease-out both;
}

@keyframes galleryFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------
   COOKIE CONSENT BANNER
--------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-dark);
  color: var(--color-footer-text);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  flex: 1;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  min-width: 250px;
}

.cookie-banner-inner a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-reject {
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 0.5rem 1.2rem;
}

.cookie-reject {
  border-color: var(--color-footer-text);
  color: var(--color-footer-text);
}

.cookie-reject:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}

/* ---------------------------------------------
   REDUCED MOTION
--------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .stepper-card {
    opacity: 1;
    transform: none;
  }

  .stepper-link {
    opacity: 1;
    transform: none;
  }

  .stepper-line-fill {
    width: 100% !important;
  }
}

/* ---------------------------------------------
   PRŮVODCE BŘEZOSTÍ
--------------------------------------------- */

.pregnancy-container {
  max-width: 840px;
  margin: 0 auto;
}

.preg-calculator {
  background: var(--color-bg-warm);
  border-radius: var(--radius-card);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
  border-bottom: 2px solid var(--color-gold);
}

.preg-calc-form {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.preg-calc-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preg-calc-input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--color-dark);
  min-width: 180px;
}

.preg-calc-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.15);
}

.preg-calc-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.preg-result-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.preg-result-card--primary {
  grid-column: 1 / -1;
  text-align: center;
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-gold-light);
}

.preg-result-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preg-result-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-dark);
}

.preg-result-card--primary .preg-result-value {
  font-size: 1.6rem;
  color: var(--color-gold-dark);
}

.preg-progress-wrap {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.preg-progress-bar {
  height: 10px;
  background: var(--color-border);
  border-radius: 5px;
  overflow: hidden;
}

.preg-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
  border-radius: 5px;
  width: 0%;
  transition: width 0.8s ease;
}

.preg-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

/* Key dates grid */

.preg-key-dates {
  margin-bottom: 2.5rem;
}

.preg-key-dates h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-dark);
}

.preg-key-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.preg-key-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  background: var(--color-bg-warm);
  border-radius: 0.75rem;
  padding: 1rem 0.75rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preg-key-date:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.preg-key-date--highlight {
  background: #fff;
  border-color: var(--color-gold);
  border-width: 2px;
}

.preg-key-date-icon {
  color: var(--color-gold);
  margin-bottom: 0.15rem;
}


.preg-key-date-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preg-key-date-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
}

.preg-key-date--highlight .preg-key-date-value {
  color: var(--color-gold-dark);
}

/* Past weeks toggle */

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

.preg-past-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-gold-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gold-dark);
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.preg-past-toggle:hover {
  background: #ece0d0;
  transform: translateY(-1px);
}

.preg-past-toggle svg {
  transition: transform 0.3s ease;
}

.preg-past-toggle.is-expanded svg {
  transform: rotate(180deg);
}

/* Timeline */

.preg-timeline-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--color-dark);
}

.preg-timeline {
  position: relative;
  padding-left: 4.5rem;
}

/* Vertical paw line */

.preg-paw-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  overflow: visible;
  z-index: 0;
}

.preg-paw-line .paw {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  color: var(--color-gold);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.preg-paw-line .paw.is-visible {
  opacity: 0.4;
}

.preg-paw-line .paw.is-fading {
  opacity: 0.1;
  transition: opacity 1.2s ease;
}

/* Week card */

.preg-week {
  position: relative;
  margin-bottom: 2rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.preg-week:last-child {
  margin-bottom: 0;
}

.preg-week.is-animatable {
  opacity: 0;
  transform: translateY(20px);
}

.preg-week.is-anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Collapsed past weeks */

.preg-week.is-past-hidden {
  display: none;
}

/* Marker — icon + number */

.preg-week-marker {
  position: absolute;
  left: -4.5rem;
  top: 0;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 1;
}

.preg-week-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-light);
  border-radius: 50%;
  color: var(--color-gold-hover);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.8s ease, background 0.8s ease, box-shadow 0.8s ease, transform 0.8s ease;
  position: relative;
  z-index: 2;
}

.preg-week--active .preg-week-num {
  color: var(--color-gold-muted);
  background: #f0e5d6;
  box-shadow: 0 4px 16px rgba(196, 168, 130, 0.25);
  transform: scale(1.1);
}

.preg-week--past .preg-week-num {
  opacity: 0.5;
}

.preg-week-milestone {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold-dark);
  background: var(--color-gold-light);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.preg-week-milestone--alert {
  background: #fef2e0;
  color: #b8860b;
}

/* Week content card */

.preg-week-content {
  background: var(--color-bg-warm);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-left: 3px solid transparent;
}

.preg-week-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.preg-week--active .preg-week-content {
  border-left-color: var(--color-gold);
  box-shadow: var(--shadow-card-hover);
}

.preg-week-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--color-dark);
}

.preg-week-days {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.preg-week-size {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-gold-dark);
  background: var(--color-gold-light);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.preg-week-body p {
  margin: 0 0 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.preg-week-tip {
  background: rgba(196, 168, 130, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.preg-week-tip strong {
  color: var(--color-gold-dark);
  margin-right: 0.3rem;
}

.preg-week-tip--highlight {
  background: rgba(196, 168, 130, 0.15);
  border-left: 3px solid var(--color-gold);
}

/* Extra cards */

.preg-extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.preg-extra-card {
  background: var(--color-bg-warm);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.preg-extra-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-dark);
}

/* Video embed */

.preg-video {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.preg-video h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-dark);
}

.preg-video-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0 0 1rem;
}

.preg-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.preg-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- FAQ --- */
.preg-faq {
  margin-top: 3rem;
}

.preg-faq h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--color-heading);
}

.preg-faq-item {
  border: 1px solid rgba(196, 168, 130, 0.2);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.preg-faq-item[open] {
  border-color: var(--color-gold);
}

.preg-faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-heading);
  transition: background 0.2s;
}

.preg-faq-item summary:hover {
  background: rgba(196, 168, 130, 0.06);
}

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

.preg-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.preg-faq-item[open] summary::after {
  content: '−';
}

.preg-faq-item p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.preg-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(196, 168, 130, 0.08);
  border-radius: 0.5rem;
  border-left: 3px solid var(--color-gold);
}

.preg-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.preg-note strong {
  color: var(--color-gold-dark);
}

/* ---------------------------------------------
   RESPONSIVITA
--------------------------------------------- */

/* Mobile menu – right-side panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 240px;
  max-width: 80vw;
  z-index: 25;
  background: linear-gradient(170deg, #fdfbf8 0%, #f5ede4 100%);
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -6px 0 30px rgba(58, 42, 26, 0.15);
  border-left: 1px solid var(--color-border);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 24;
  background: rgba(58, 42, 26, 0.25);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Decorative gold line at top */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 4rem 1.25rem 1.5rem;
  flex: 1;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.mobile-menu-nav a svg {
  flex-shrink: 0;
  color: var(--color-gold-muted);
  transition: color 0.2s ease;
}

.mobile-menu-nav a:hover svg,
.mobile-menu-nav a.active svg {
  color: var(--color-gold-dark);
}

.mobile-menu-nav a:hover {
  background: rgba(196, 168, 130, 0.12);
  color: var(--color-gold-dark);
  border-left-color: var(--color-gold);
}

.mobile-menu-nav a.active {
  color: var(--color-gold-dark);
  border-left-color: var(--color-gold);
  font-weight: 600;
}

/* Divider ornament between nav and footer */
.mobile-menu-footer {
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
}

.mobile-menu-footer::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  margin-bottom: 1.25rem;
}

.mobile-menu-contact {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.mobile-menu-contact a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-menu-contact a:hover {
  color: var(--color-gold-dark);
}

.mobile-menu-contact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

.mobile-menu-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.mobile-menu-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0;
}

.mobile-menu-social a:hover {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
}

.mobile-menu-lang {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.mobile-menu-lang .lang-btn {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  transition: all 0.15s ease;
}

.mobile-menu-lang .lang-btn--active {
  background: var(--color-dark);
  color: #FDFDFD;
  border-color: var(--color-dark);
}

@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .header-social,
  .lang-switch {
    display: none;
  }

  /* Mobile: show small logo directly, hide full logo */
  .logo-img.logo-full {
    height: 55px;
    opacity: 0;
    pointer-events: none;
  }

  .logo-img.logo-icon {
    opacity: 1;
  }

  .logo {
    align-items: center;
    margin-top: 0;
  }

  .logo-title {
    display: flex;
  }

  .section-hero {
    min-height: 50vh;
    background-position: left center;
  }

  .hero-overlay {
    min-height: 40vh;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.7) 40%,
      rgba(255, 255, 255, 0.5) 70%,
      rgba(255, 255, 255, 0.3) 100%
    );
  }

  .hero-inner {
    justify-content: flex-start;
  }

  .stepper {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .stepper-line {
    display: none;
  }

  .stepper-card {
    opacity: 1;
    transform: none;
  }

  .stepper--contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .contact-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .dog-profile-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }

  .puppies-layout {
    grid-template-columns: minmax(0, 1fr);
  }


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

  .section-muted::before {
    height: 2rem;
    top: -1.5rem;
  }

  .section-why-us::before {
    height: 1.5rem;
    top: -0.75rem;
  }

  .blog-grid {
    columns: 2;
  }

  .preg-extras {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-hero {
    min-height: 38vh;
    background-size: cover;
  }

  .hero-overlay {
    min-height: 38vh;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.5) 100%
    );
  }

  .hero-inner {
    padding: 2rem 0;
  }

  .hero-text h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-map-inline {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  h2 {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .gallery-item--featured {
    grid-column: span 1;
  }

  .gallery-item--featured .gallery-photo {
    height: 200px;
  }

  .section-muted {
    margin-top: 1rem;
    padding-top: 3.5rem;
  }

  .section-muted::before {
    height: 1.5rem;
    top: -1rem;
  }

  .section-why-us {
    margin-top: 0.5rem;
  }

  .section-why-us::before {
    height: 1rem;
    top: -0.5rem;
  }

  .stepper--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-grid--3 {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .footer-transition svg {
    height: 30px;
  }

  .blog-grid {
    columns: 1;
  }

  .blog-article {
    padding: 1.5rem 1.3rem;
  }

  .aside-card,
  .news-item {
    padding: 1.2rem 1.1rem;
  }

  .dog-profile-row {
    grid-template-columns: 1fr;
  }

  .dog-profile-row .dog-photo-wrapper,
  .dog-profile-row .dog-video-wrapper {
    max-height: 280px;
  }

  .dog-profile-row .dog-photo {
    height: 280px;
  }

  .pedigree-col--ggp {
    display: none;
  }

  .contact-form {
    padding: 1.2rem 1.1rem;
  }

  .gallery-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .gallery-tab {
    flex-shrink: 0;
  }

  .preg-calc-form {
    flex-direction: column;
    align-items: stretch;
  }

  .preg-calc-input {
    width: 100%;
  }

  .preg-calc-results {
    grid-template-columns: 1fr;
  }

  .preg-result-card--primary {
    grid-column: 1;
  }

  .preg-progress-wrap {
    grid-column: 1;
  }

  .preg-timeline {
    padding-left: 3.5rem;
  }

  .preg-week-marker {
    left: -3.5rem;
    width: 40px;
  }

  .preg-week-num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .preg-paw-line {
    left: 22px;
  }

  .preg-week-content {
    padding: 1rem 1.1rem;
  }

  .preg-key-dates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preg-extras {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------
   ARTICLE PAGE (O plemeni, etc.)
--------------------------------------------- */

.article-page {
  padding-top: 2rem;
}

.article-container {
  max-width: 740px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--color-gold-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  margin: 0 0.4rem;
  color: var(--color-border);
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 1rem;
}

.article-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--color-dark);
}

.article-body p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.article-body ul {
  color: var(--color-text-secondary);
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.article-body li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.article-body a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--color-gold);
}

.article-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
