/* ══════════════════════════════════════════════════════════
   PetHelp.by — общие стили для внутренних страниц (не лендинг).
   Используется страницами вроде news.php и любыми будущими
   разделами сайта, чтобы они выглядели частью одного бренда,
   а не отдельными привесками. Палитра и шрифты — те же, что
   и на index.html.
   ══════════════════════════════════════════════════════════ */

:root {
  --cream: #f5f0e8;
  --warm-white: #fdfaf5;
  --charcoal: #2a2420;
  --brown: #6b4c3b;
  --amber: #c8853a;
  --amber-light: #e8a85a;
  --sage: #7a8c72;
  --rust: #b85c38;
  --black-lab: #1a1412;
  --text-soft: #5a4a40;
  --border: rgba(107, 76, 59, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── ШАПКА ВНУТРЕННЕЙ СТРАНИЦЫ ─────────────────────────── */

.site-header {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 15% 0%, rgba(200,133,58,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.site-header-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-header-paw {
  width: 24px;
  height: 24px;
  opacity: 0.85;
  flex-shrink: 0;
}
.site-header-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.site-header-back {
  font-family: 'Mulish', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  border: 1px solid rgba(245,240,232,0.22);
  padding: 8px 16px;
  border-radius: 20px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.site-header-back:hover {
  color: var(--warm-white);
  border-color: var(--amber);
  background: rgba(200,133,58,0.12);
}

/* ─── ЗАГОЛОВОК СТРАНИЦЫ (эйбрау + h1 в духе хиро) ──────── */

.page-hero {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  padding: 56px 24px 64px;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,133,58,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.page-eyebrow::before,
.page-eyebrow::after {
  content: '';
  height: 1px;
  width: 26px;
  background: var(--amber-light);
  opacity: 0.5;
  flex-shrink: 0;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  color: var(--cream);
  line-height: 1.25;
  margin: 0 0 14px;
}
.page-title em { font-style: italic; color: var(--amber-light); }
.page-subtitle {
  font-family: 'Mulish', sans-serif;
  font-size: 0.95rem;
  color: rgba(245,240,232,0.6);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── ОБЩАЯ ТИПОГРАФИКА ВНУТРЕННИХ СТРАНИЦ ──────────────── */

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.content-area { padding: 56px 24px 96px; }

/* ─── FOOTER (идентичен index.html) ─────────────────────── */

footer {
  background: var(--black-lab);
  border-top: 1px solid rgba(200,133,58,0.1);
  padding: 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-paw { width: 28px; height: 28px; opacity: 0.25; flex-shrink: 0; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(245,240,232,0.35);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-divider-v { width: 1px; height: 18px; background: rgba(200,133,58,0.2); flex-shrink: 0; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(200,133,58,0.35);
  letter-spacing: 0.04em;
}
.footer-center { display: flex; align-items: center; gap: 20px; }
.footer-nav a {
  font-family: 'Mulish', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.22);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-nav a:hover { color: rgba(200,133,58,0.7); }
.footer-nav-dot { color: rgba(200,133,58,0.2); font-size: 0.6rem; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.25s;
}
.footer-phone:hover { color: var(--amber); }
.footer-copy { font-size: 0.65rem; color: rgba(245,240,232,0.15); font-weight: 300; letter-spacing: 0.06em; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; gap: 16px; }
  .footer-left { flex-wrap: wrap; justify-content: center; }
  .footer-right { align-items: center; }
  .footer-center { flex-wrap: wrap; justify-content: center; }
}
