/* ==========================================================================
   HERO — tří-sloupcový layout dle XD návrhu
   Pes vlevo | Emblem + text + tlačítka uprostřed | Pes vpravo
   ========================================================================== */

.sg-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    var(--color-bg-hero-start) 0%,
    var(--color-bg-hero-mid) 60%,
    var(--color-bg-body) 100%
  );
}

/* Dekorativní vlna na pozadí hero */
.sg-hero__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.sg-hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Tří-sloupcový grid */
.sg-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 0;
  padding-top: var(--space-2xl);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
}

/* Spojený obrázek psů — jen mobil */
.sg-hero__dogs-combined {
  display: none;
  justify-content: center;
  align-items: center;
  order: 1;
  width: 100%;
}

.sg-hero__dogs-combined picture,
.sg-hero__dogs-combined img {
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

/* Obaly psů — absolutní pozice */
.sg-hero__dog-wrap {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.sg-hero__dog-wrap--left {
  left: 0;
  justify-content: flex-start;
}

.sg-hero__dog-wrap--right {
  right: 0;
  justify-content: flex-end;
}

/* Obrázky psů */
.sg-hero__dog {
  object-fit: contain;
  object-position: top;
  max-height: 600px;
  width: auto;
}

.sg-hero__dog-left {
  filter: drop-shadow(-4px 0 20px rgba(84, 8, 22, 0.1));
}

.sg-hero__dog-right {
  filter: drop-shadow(4px 0 20px rgba(84, 8, 22, 0.1));
}

/* Střed */
.sg-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  min-width: 320px;
  max-width: 500px;
  gap: var(--space-md);
  position: relative;
  z-index: 3;
}

/* Logo v hero */
.sg-hero__emblem {
  margin-bottom: var(--space-sm);
}

.sg-hero__emblem-image {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

/* Název */
.sg-hero__title {
  font-family: var(--font-primary);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #7F1216;
  line-height: 1.3;
  margin: 0;
}

.sg-hero__subtitle {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  font-style: italic;
  margin: 0;
}

/* Breed buttons */
.sg-hero__breed-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.sg-btn--breed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #f5f2ec;
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.sg-btn--breed__icon {
  display: block;
  flex-shrink: 0;
  color: #f5f2ec;
  transition: transform var(--transition-fast);
}

.sg-btn--breed:hover .sg-btn--breed__icon {
  transform: translateX(3px);
}

.sg-btn--breed:hover {
  background: var(--color-primary-dark);
  color: #f5f2ec;
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}
