/* Medusa Gorgona House — kennel site
   Direction: museum catalogue, light stone ground, single oxblood accent.
   Display: Unbounded · Body: IBM Plex Sans */

:root {
  --bg: #eceef1;
  --surface: #e1e4e9;
  --fg: #14161b;
  --muted: #565c66;
  --border: #c6cad2;
  --accent: #8c1f2d;
  --accent-on: #f6f3f1;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --radius: 0px;
  --space-section: 96px;
  --shell: 1240px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(20, 22, 27, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 22, 27, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-on); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- layout ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section { padding-block: var(--space-section); }

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

.section--dark {
  background: #191b21;
  color: #e9ebef;
}

.rule {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(236, 238, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: block;
}

.wordmark__text {
  display: block;
  white-space: nowrap;
}

.wordmark span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  display: none;
  gap: 30px;
  align-items: center;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover { border-bottom-color: var(--accent); color: var(--accent); }

.nav a[aria-current="page"] { border-bottom-color: var(--fg); }

.head-phone {
  display: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.head-phone:hover { color: var(--accent); }

.burger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 14px;
  min-height: 44px;
  cursor: pointer;
}

.burger:hover { border-color: var(--accent); color: var(--accent); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 12px 0 24px;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

@media (min-width: 900px) {
  .nav { display: flex; }
  .head-phone { display: inline-block; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- vk ---------- */
.vk-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.vk-link svg { width: 24px; height: 24px; fill: #0077ff; flex: none; }
.vk-link:hover { color: var(--accent); }
.vk-link:hover svg { fill: var(--accent); }

.btn--vk {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0077ff;
  color: #fff;
  border: 1px solid #0077ff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  min-height: 48px;
}
.btn--vk svg { width: 20px; height: 20px; fill: #fff; flex: none; }
.btn--vk:hover { background: #005fc4; border-color: #005fc4; color: #fff; }

.head-vk { display: none; }

@media (min-width: 900px) {
  .head-vk { display: inline-flex; }
}

/* ---------- top banner ---------- */
.topbanner {
  position: relative;
  background: #0b0d11;
  overflow: hidden;
}
.topbanner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}
.topbanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,14,0.42) 0%, rgba(8,10,14,0.06) 45%, rgba(8,10,14,0.55) 100%);
  pointer-events: none;
}
.topbanner__cap {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 46px);
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.4vw, 2.6rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 243, 241, 0.9);
  text-shadow: 0 2px 18px rgba(8, 10, 14, 0.8);
  pointer-events: none;
}
/* ---------- owner block ---------- */
.owner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .owner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
}
.owner__media { margin: 0; }
.owner__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  background: #1b1e24;
}
.owner__media figcaption {
  margin-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.owner__text h2 { margin-top: 14px; }
.owner__text p {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}
.owner__text p:first-of-type { color: var(--fg); }
.owner__sign {
  margin-top: 26px !important;
  color: var(--fg) !important;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 7.6vw, 5.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.display--tight { font-size: clamp(2rem, 5vw, 3.4rem); }

.h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.prose { max-width: 68ch; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--fg); font-weight: 600; }

.section-head {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(36px, 5vw, 64px);
}

@media (min-width: 820px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: end;
    gap: 48px;
  }
}

.num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.meta-line {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--solid { background: var(--accent); color: var(--accent-on); }
.btn--solid:hover { background: #6f1723; }

.btn--ghost { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: #e9ebef; color: #14161b; }

.section--dark .btn--line:hover { background: rgba(233, 235, 239, 0.12); color: #e9ebef; }

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

/* ---------- hero ---------- */

.hero { padding-top: clamp(40px, 6vw, 72px); }

.hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
}

.hero__copy { display: flex; flex-direction: column; gap: 26px; }

.hero__figure {
  margin: 0;
  position: relative;
  background: #1b1e24;
  overflow: hidden;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
}

/* Горизонтальный кадр в вертикальной рамке — показываем целиком */
.hero__figure--full img {
  aspect-ratio: auto !important;
  height: auto !important;
  object-fit: contain !important;
  background: #121417;
}

@media (min-width: 900px) {
  .hero__figure img { aspect-ratio: 3 / 4; height: 100%; }
}

.hero__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 14px 16px;
  background: rgba(20, 22, 27, 0.72);
  color: #dfe2e8;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.factbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
  .factbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.factbar div {
  padding: 20px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
  .factbar div { border-bottom: 0; }
  .factbar div:last-child { border-right: 0; }
}

.factbar dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.factbar dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* ---------- registry table ---------- */

.registry { width: 100%; border-collapse: collapse; }

.registry th,
.registry td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.registry thead th {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 1px solid var(--fg);
}

.registry tbody tr { transition: background-color 0.2s ease; }
.registry tbody tr:hover { background: var(--surface); }

.registry .k {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.registry .idx { color: var(--accent); font-family: var(--font-display); font-size: 0.78rem; }

.registry .sub { color: var(--muted); font-size: 0.9rem; }

.table-scroll { overflow-x: auto; }

.table-scroll table { min-width: 680px; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.step__n {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 6px;
}

.step h3 {
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- split feature ---------- */

.split {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Фото, которое нельзя обрезать: показываем целиком */
.photo--full img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  background: #121417;
}

.hero__figure.photo--full img {
  aspect-ratio: 4 / 5 !important;
  object-fit: contain;
  object-position: 50% 50%;
}

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

.checklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 10px;
  background: var(--accent);
}

.checklist li span { grid-column: 2; color: var(--muted); display: block; font-size: 0.92rem; margin-top: 4px; }

/* ---------- litters ---------- */

.litter {
  display: grid;
  gap: clamp(24px, 3.5vw, 48px);
  grid-template-columns: 1fr;
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .litter { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .litter:nth-child(even) .litter__figure { order: 2; }
}

.litter__figure { margin: 0; background: #1b1e24; overflow: hidden; }
.litter__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #121417;
}


.litter h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); text-transform: uppercase; margin-bottom: 14px; }

.litter__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.pedigree {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
}

.pedigree th,
.pedigree td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  text-align: left;
}

.pedigree thead th {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  background: var(--surface);
}

.pedigree td.k { font-family: var(--font-display); font-size: 0.8rem; }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  gap: clamp(10px, 1.6vw, 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery .g { grid-column: span 2; }
  .gallery .g--wide { grid-column: span 4; }
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #1b1e24;
  aspect-ratio: 4 / 3;
}

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

.gallery figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(20, 22, 27, 0.72);
  color: #dfe2e8;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- cta band ---------- */

.cta-band {
  background: var(--accent);
  color: var(--accent-on);
  padding-block: clamp(56px, 8vw, 96px);
}

.cta-band .lead,
.cta-band .meta-line { color: rgba(246, 243, 241, 0.78); }

.cta-band .num { color: rgba(246, 243, 241, 0.7); }

.cta-band .btn--line { color: var(--accent-on); }
.cta-band .btn--line:hover { background: rgba(246, 243, 241, 0.14); color: var(--accent-on); }

/* ---------- form ---------- */

.form {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 14px;
  min-height: 50px;
  transition: border-color 0.2s ease;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent); outline: none; }

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-status {
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.4em;
}

.form-status.is-ok { color: var(--accent); font-weight: 600; }
.form-status.is-error { color: #6f1723; }

.consent {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.consent a { color: var(--fg); }

/* ---------- footer ---------- */

.site-foot {
  background: #191b21;
  color: #cfd3da;
  padding-block: clamp(44px, 6vw, 72px);
}

.foot-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
}

.site-foot h3 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b9099;
  margin-bottom: 14px;
}

.site-foot p { margin: 0 0 8px; font-size: 0.95rem; }

.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }

.foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 235, 239, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8b9099;
}

.foot-bottom a { color: #8b9099; }
.foot-bottom a:hover { color: #fff; }

/* ---------- misc ---------- */

.privacy-body { max-width: 72ch; }
.privacy-body h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 36px;
  margin-bottom: 10px;
}
.privacy-body p,
.privacy-body li { color: var(--muted); font-size: 0.95rem; }
.privacy-body ul { padding-left: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- litter block ---------- */
.litter-block { margin-top: 34px; }

.litter__parents {
  margin: 0 0 26px;
  position: relative;
  overflow: hidden;
  background: #1b1e24;
  aspect-ratio: 16 / 9;
}

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

.litter__parents figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: rgba(20, 22, 27, 0.74);
  color: #dfe2e8;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery .badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(246, 243, 241, 0.45);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.gallery .badge--hold {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

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

@media (min-width: 860px) {
  .litter-block .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .litter-block .gallery .g { grid-column: span 1; }
  .litter-block .gallery .g--half { grid-column: span 2; }
}

.litter__parents--poster {
  aspect-ratio: auto;
  background: #f3eef0;
  max-width: 460px;
  margin-inline: auto;
}

.litter__parents--poster img {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  max-height: 720px;
  margin-inline: auto;
}

.litter__parents--poster figcaption {
  position: static;
  background: transparent;
  color: var(--muted);
  padding: 12px 16px 16px;
  text-align: center;
}

.litter__parents--wide {
  background: #eef0f3;
}

.litter__parents--wide img { object-fit: contain; }

.litter__parents--wide figcaption {
  position: static;
  background: transparent;
  color: var(--muted);
  padding: 12px 4px 0;
  text-align: center;
}

.display__sub {
  display: block;
  margin-top: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.owner__cert { margin-top: 28px; }
.owner__cert img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f1ec;
  border: 1px solid rgba(20, 22, 26, 0.12);
}

.cert { margin: 0; }
.cert img { width: 100%; height: auto; display: block; border: 1px solid rgba(20, 22, 26, 0.12); background: #f4f1ec; }
.cert figcaption { margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.crumbs{
  padding:14px 0 0;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
.crumbs a{color:var(--muted);text-decoration:none;border-bottom:1px solid var(--border)}
.crumbs a:hover{color:var(--accent)}
.crumbs__sep{opacity:.4;margin:0 6px}
@media (max-width:720px){ .crumbs{font-size:.7rem;padding-top:10px} }

/* ---------- articles ---------- */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.acard {
  display: block;
  background: var(--bg);
  padding: 30px 28px 32px;
  text-decoration: none;
  color: inherit;
  transition: background .18s ease, color .18s ease;
}

.acard:hover { background: var(--accent); color: var(--accent-on); }
.acard:hover .acard__rubric,
.acard:hover .acard__date { color: rgba(246, 243, 241, .72); }
.acard:hover .acard__title { color: var(--accent-on); }

.acard__num {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 18px;
}

.acard__rubric {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.acard__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--fg);
}

.acard__date { display: block; font-size: .82rem; color: var(--muted); }

@media (max-width: 720px) {
  .articles-grid { grid-template-columns: 1fr; }
  .acard { padding: 24px 20px 26px; }
}

/* ---------- типы American Bully ---------- */

.types-cards { display: grid; gap: 16px; margin-top: 26px; }

.typecard {
  border: 1px solid var(--border);
  padding: 22px 20px;
  background: var(--surface);
}

.typecard h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.typecard__h {
  margin: 8px 0 10px;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.typecard p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }

@media (max-width: 899px) {
  .types-table { display: none; }
}

@media (min-width: 900px) {
  .types-cards { display: none; }
}

/* ---------- лаконичный футер ---------- */
.foot-min {
  display: grid;
  gap: 18px 28px;
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: 26px 24px;
}

.foot-min__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.foot-min__social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.foot-min__social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 235, 239, 0.22);
  color: #cfd3da;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.foot-min__social a:hover { border-color: var(--accent); color: #fff; }

.foot-min__social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot-min__social svg path[d^="M13.3"] { stroke: none; }
.foot-min__social svg rect,
.foot-min__social svg circle { fill: none; }
.foot-min__social svg circle[fill="currentColor"] { fill: currentColor; }

.foot-min__phone {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.foot-min__phone:hover { color: var(--accent); }

.foot-min__copy {
  margin: 0;
  font-size: 0.76rem;
  color: #8b9099;
}

.foot-min__copy a { color: #8b9099; }

@media (min-width: 760px) {
  .foot-min {
    grid-template-columns: auto auto 1fr auto;
    gap: 24px 32px;
  }
  .foot-min__copy { grid-column: 1 / -1; }
}

/* ---------- типы: карточки 2x2, признаки, итог ---------- */
.types-quad {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .types-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

.typecard {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 22px 26px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 22, 27, 0.05), 0 12px 28px rgba(20, 22, 27, 0.06);
}

.typecard__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.typecard h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.typecard__badge {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 8px;
  white-space: nowrap;
}

.typecard__h {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.typecard__h small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 4px;
}

.typecard p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }

/* вертикальный список признаков */
.facts { list-style: none; margin: 0; padding: 0; }

.facts li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.facts li:last-child { border-bottom: 1px solid var(--border); }

.facts h3 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.facts p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* горизонтальная сетка «итог» */
.verdict {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .verdict { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .verdict { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.verdict__cell {
  background: var(--bg);
  padding: 26px 22px 28px;
}

.verdict__n {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.verdict__cell h3 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.verdict__cell p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--muted); }

/* лаконичная контактная панель */
.contact-panel {
  display: grid;
  gap: 20px 32px;
  grid-template-columns: 1fr;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: clamp(22px, 3vw, 34px);
}

@media (min-width: 820px) {
  .contact-panel { grid-template-columns: minmax(0, 1fr) auto; }
}

.contact-panel__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.02em;
}

.contact-panel p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.contact-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.contact-panel__links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 16px;
  border: 1px solid var(--border);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.contact-panel__links a:hover { border-color: var(--accent); color: var(--accent); }

.contact-panel__links .btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.contact-panel__links .btn--accent:hover { background: #741a26; color: #fff; }

/* бейдж «Производство Россия» */
.badge-ru {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--border);
  background: rgba(246, 243, 241, 0.94);
  padding: 8px 12px;
  margin-top: 12px;
}

.badge-ru::before {
  content: "";
  width: 18px;
  height: 12px;
  background:
    linear-gradient(#fff 33%, #2b4b9b 33% 66%, #c62828 66%);
  border: 1px solid rgba(20, 22, 27, 0.25);
}

/* ---------- маркированный список с красными квадратами ---------- */
.prose-list {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.prose-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.prose-list strong { color: var(--fg); font-weight: 600; }

.section--dark .prose-list li { color: rgba(233, 235, 239, 0.78); }
.section--dark .prose-list strong { color: #fff; }
