/* === Сброс и базовые стили === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

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

/* === Переменные === */
:root {
  --color-primary: #8B6914;
  --color-primary-light: #b8902a;
  --color-bg: #fff;
  --color-bg-gray: #f8f6f2;
  --color-text: #333;
  --color-text-light: #666;
  --color-border: #e5e0d8;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* === Контейнер === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Кнопка === */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.btn:hover {
  background: var(--color-primary-light);
}

/* === Секции === */
.section {
  padding: 72px 0;
}

.section--gray {
  background: var(--color-bg-gray);
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section__desc {
  color: var(--color-text-light);
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 600px;
}

/* === Шапка === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.logo__sub {
  font-size: 12px;
  color: var(--color-text-light);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-primary);
}

/* === Первый экран === */
.hero {
  background: linear-gradient(135deg, #fdf8f0 0%, #f5ede0 100%);
  padding: 96px 0 80px;
}

.hero__inner {
  max-width: 640px;
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #7a6040;
  margin-bottom: 20px;
}

.hero__text {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 36px;
  max-width: 480px;
}

/* === О питомнике === */
.about__content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about__text {
  flex: 1;
}

.about__text p {
  margin-bottom: 16px;
  color: #444;
  font-size: 17px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 180px;
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.highlight__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.highlight__label {
  font-size: 13px;
  color: var(--color-text-light);
}

/* === Наши собаки === */
.dogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.dog-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.dog-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-card__photo--placeholder {
  background: #ede8df;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8a88a;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.dog-card__info {
  padding: 18px 20px;
}

.dog-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.dog-card__desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* === Щенки === */
.puppies__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.puppies__text {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.puppies__text:last-of-type {
  margin-bottom: 32px;
}

/* === Почему нам доверяют === */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.trust-item__icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.trust-item__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.trust-item__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* === Контакты === */
.contacts__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 18px 24px;
  border: 1px solid var(--color-border);
}

.contact-item__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-item__info {
  display: flex;
  flex-direction: column;
}

.contact-item__label {
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}

.contact-item__value[href]:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* === Подвал === */
.footer {
  background: #2a2218;
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__name {
  font-size: 18px;
  font-weight: 700;
  color: #c9a84c;
}

.footer__copy {
  font-size: 14px;
  color: #888;
}

/* === Адаптация под мобильные === */
@media (max-width: 900px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about__content {
    flex-direction: column;
  }

  .about__highlights {
    flex-direction: row;
    min-width: auto;
    width: 100%;
  }

  .highlight {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .header__inner {
    height: auto;
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__text {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 26px;
  }

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

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

  .about__highlights {
    flex-direction: row;
  }

  .highlight__num {
    font-size: 28px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
