/* Basic styling for Pet Kuaför Magazin (vanilla CSS) */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
}

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

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

header.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.headerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.brandTitle {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brandTitle strong {
  font-size: 16px;
}

.brandTitle span {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.navDesktop {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navLink {
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}

.navLink:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dropdownWrap {
  position: relative;
}

.dropdownButton {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}

.dropdownButton:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dropdownMenu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  display: none;
}

.dropdownWrap:hover .dropdownMenu,
.dropdownWrap[data-open="true"] .dropdownMenu {
  display: block;
}

.dropdownItem {
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.dropdownItem:hover {
  background: rgba(0, 0, 0, 0.05);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
}

.burgerLines {
  width: 18px;
  height: 14px;
  margin: 0 auto;
  position: relative;
}

.burgerLines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform 160ms ease, top 160ms ease, opacity 120ms ease;
}

.burgerLines span:nth-child(1) {
  top: 0;
}

.burgerLines span:nth-child(2) {
  top: 6px;
}

.burgerLines span:nth-child(3) {
  top: 12px;
}

.burger[data-open="true"] .burgerLines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.burger[data-open="true"] .burgerLines span:nth-child(2) {
  opacity: 0;
}

.burger[data-open="true"] .burgerLines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.navMobile {
  display: none;
}

.navMobile[data-open="true"] {
  display: block;
}

.navMobilePanel {
  padding: 14px 0 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.navMobileLinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.navMobileLinks a,
.navMobileLinks button {
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

.navMobileLinks a:hover,
.navMobileLinks button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dropdownMobile {
  display: none;
}

.dropdownMobile[data-open="true"] {
  display: block;
  margin-top: 10px;
  padding-left: 8px;
  border-left: 2px solid rgba(0, 0, 0, 0.08);
}

.dropdownMobile a {
  display: block;
  padding: 10px 12px;
  margin-left: -8px;
  border-radius: 12px;
  font-weight: 650;
  background: rgba(0, 0, 0, 0.02);
}

.dropdownMobile a:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Slider */
.hero {
  padding: 26px 0 18px;
}

.slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sliderInner {
  display: flex;
  transition: transform 300ms ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.slideOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.slideOverlayInner {
  max-width: 580px;
  color: #fff;
}

.slideOverlayInner h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
}

.slideOverlayInner p {
  margin: 0 0 14px;
  opacity: 0.95;
}

.btnPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  background: #0b5;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btnPrimary:hover {
  filter: brightness(0.98);
}

.btnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.04);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btnGhost:hover {
  background: rgba(0, 0, 0, 0.07);
}

.sliderControls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 16px;
}

.sliderControls button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
}

.sliderDots {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.25);
}

.dot[data-active="true"] {
  background: rgba(255, 255, 255, 0.85);
}

/* Sections */
.section {
  padding: 18px 0;
}

.sectionTitle {
  margin: 0 0 12px;
  font-size: 18px;
}

.gridIssues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.issueCard {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.issueCard img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.issueCardBody {
  padding: 12px 12px 14px;
}

.issueCardBody h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.issueCardBody p {
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
  line-height: 1.35;
}

.issueCardBody .ctaRow {
  display: flex;
  gap: 10px;
}

.btnSmall {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 850;
  font-size: 13px;
}

/* Forms */
.formWrap {
  max-width: 720px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
}

.fieldGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fieldGrid .fieldFull {
  grid-column: span 2;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 13px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  font-size: 14px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.formActions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice {
  margin-top: 14px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
  display: none;
}

.notice[data-visible="true"] {
  display: block;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

/* Footer */
footer.siteFooter {
  padding: 26px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.72);
}

.footerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

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

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

@media (max-width: 940px) {
  .gridIssues {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide img {
    height: 360px;
  }
}

@media (max-width: 720px) {
  .navDesktop {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navMobile {
    display: block;
  }

  .gridIssues {
    grid-template-columns: 1fr;
  }

  .fieldGrid {
    grid-template-columns: 1fr;
  }

  .fieldGrid .fieldFull {
    grid-column: span 1;
  }

  .slideOverlay {
    padding: 16px;
  }

  .slideOverlayInner h2 {
    font-size: 18px;
  }

  .slide img {
    height: 280px;
  }
}

