/* ===== Variables ===== */
:root {
  --bg: #0f0d0b;
  --bg-soft: #1a1714;
  --cream: #f5efe6;
  --gold: #c9a96a;
  --gold-light: #e0c891;
  --gold-dark: #a88846;
  --text: #2a2520;
  --muted: #7a7068;
  --border: rgba(201, 169, 106, 0.2);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 14px;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { /* smooth scroll handled by JS for custom duration */ }
section[id] { scroll-margin-top: 84px; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.2; letter-spacing: 0.5px; }
[data-i18n].is-empty-content,
[data-i18n-html].is-empty-content { display: none !important; }
[data-i18n].is-empty-content::before,
[data-i18n].is-empty-content::after,
[data-i18n-html].is-empty-content::before,
[data-i18n-html].is-empty-content::after {
  content: none !important;
  display: none !important;
}
body.detail-modal-open { overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 106, 0.4);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}
.btn-link {
  color: var(--gold-dark);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-link:hover { color: var(--gold); letter-spacing: 1.5px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(15, 13, 11, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 14px; color: #fff; }
.logo-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  border: 1.5px solid var(--gold);
  transition: var(--transition);
}
.logo:hover .logo-img { transform: rotate(-5deg) scale(1.05); }
.footer-logo .logo-img { width: 70px; height: 70px; }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text small {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-top: 4px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.lang-switch { display: inline-flex; margin-left: 32px; align-items: center; gap: 0; padding: 3px; border: 1px solid rgba(212,175,107,0.35); border-radius: 999px; background: rgba(15,13,11,0.25); }
.lang-btn { background: transparent; border: none; color: var(--cream); padding: 5px 12px; border-radius: 999px; font-size: 11px; letter-spacing: 1.5px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; text-transform: uppercase; line-height: 1; }
.lang-btn:hover { color: var(--gold); }
.lang-btn.is-active { background: var(--gold); color: #0f0d0b; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: var(--transition); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1714 0%, #2a221c 100%);
  background-image: var(--bg-hero, url('../../assets/images/hero.jpg'));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,13,11,0.85) 0%, rgba(15,13,11,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 80px;
  animation: fadeInUp 1s ease;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow-line {
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  display: inline-block;
}
[data-edit-line].is-line-hidden { display: none; }
body.bg-admin-mode [data-edit-line].is-line-hidden {
  display: inline-block;
  opacity: 0.35;
  outline: 1px dashed var(--gold);
  outline-offset: 4px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: 18px;
  max-width: 580px;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 60px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.hero-stats span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.8;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 30px; height: 50px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span {
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Sections ===== */
.section { padding: 120px 0; }

.section-head { text-align: center; margin-bottom: 70px; }
.section-head.light { color: var(--cream); }
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-head h2, .section h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}
.section-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

/* ===== About ===== */
.about { background: var(--cream); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.img-frame img { aspect-ratio: 4/5; object-fit: cover; transition: var(--transition); }
.img-frame:hover img { transform: scale(1.05); }
.img-badge {
  position: absolute;
  bottom: -30px; right: -30px;
  background: var(--bg);
  color: var(--gold);
  padding: 24px 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
}
.img-badge strong { font-family: 'Cormorant Garamond', serif; font-size: 28px; }
.img-badge span { font-size: 11px; letter-spacing: 3px; margin-top: 4px; color: var(--cream); }

.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; color: var(--muted); font-size: 16px; }
.about-text strong { color: var(--text); }
.features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.features li > span:first-child {
  width: 32px; height: 32px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== Dogs ===== */
.dogs { background: #fff; }
.dogs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.dog-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
[data-detail-card] { cursor: pointer; }
[data-detail-card]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.dog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}
.dog-img { aspect-ratio: 4/3; overflow: hidden; }
.dog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.dog-card:hover .dog-img img { transform: scale(1.08); }
.dog-info { padding: 28px; }
.dog-info h3 { font-size: 32px; margin-bottom: 6px; }
.dog-title {
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.dog-info ul { display: flex; flex-direction: column; gap: 8px; }
.dog-info ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
}
.dog-info ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 4px;
}
.dog-info ul li b { color: var(--text); font-weight: 600; }

/* Featured dog card */
.dog-card.featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 14px 40px rgba(201, 169, 106, 0.18);
  position: relative;
}
.dog-card.featured .dog-img { position: relative; }
.dog-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: #fff;
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.dog-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.dog-highlight strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  line-height: 1;
}
.dog-highlight span {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.95;
}

/* ===== Breed (About the breed) ===== */
.breed {
  background: linear-gradient(180deg, #ece1cc 0%, #efe5d4 100%);
  border-top: 1px solid rgba(201, 169, 106, 0.25);
  border-bottom: 1px solid rgba(201, 169, 106, 0.25);
}
.breed .section-head h2 { color: #4a3a1f; }
.section-body {
  max-width: 760px;
  margin: -32px auto 56px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  text-align: center;
}
.section-body p { margin-bottom: 14px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body strong { color: var(--text); }
.shows .section-body { color: rgba(245, 239, 230, 0.78); }
.shows .section-body strong { color: var(--gold-light); }
.articles-empty {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-top: 32px;
}

.about-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.article-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.article-card:hover .article-img img { transform: scale(1.06); }
.article-info { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-info h3 { font-size: 24px; }
.article-info .article-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.article-info .article-body { display: none; }
.detail-modal__body .article-body { display: block; }
.detail-modal__body .article-body p { margin-bottom: 14px; font-size: 16px; color: var(--text); }
.detail-modal__body .article-info .btn-link { display: none; }
.detail-modal__body .article-info .article-lead {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}
.article-info .btn-link { margin-top: auto; align-self: flex-start; }

/* ===== Titles by year ===== */
.titles { background: #fff; }
.titles-timeline {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.titles-timeline::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border) 8%, var(--border) 92%, transparent);
}
.title-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 18px 0;
  align-items: flex-start;
}
.title-row + .title-row { border-top: 1px dashed var(--border); }
.title-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  text-align: right;
  position: relative;
}
.title-year::after {
  content: '';
  position: absolute;
  right: -36px;
  top: 16px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cream);
}
.title-list { display: flex; flex-direction: column; gap: 10px; padding-left: 8px; }
.title-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  padding: 8px 12px;
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  position: relative;
}
.title-dog {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}
.title-name {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.titles-empty {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-top: 40px;
}
@media (max-width: 720px) {
  .titles-timeline::before { left: 56px; }
  .title-row { grid-template-columns: 56px 1fr; gap: 18px; }
  .title-year { font-size: 28px; }
  .title-year::after { right: -22px; top: 10px; width: 9px; height: 9px; box-shadow: 0 0 0 3px var(--cream); }
}

/* ===== Litters (dynamic) ===== */
.litters-extra { margin-top: 56px; display: flex; flex-direction: column; gap: 60px; }
.litter-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}
.litter-head { margin-bottom: 24px; }
.litter-head h3 {
  font-size: 32px;
  margin-bottom: 8px;
}
.litter-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.litter-date {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 5px 12px;
  border: 1px solid var(--gold);
  border-radius: 100px;
}
.litter-parents {
  color: var(--gold-dark);
  font-style: italic;
  font-size: 15px;
}
.litter-note {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}
.litter-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.litter-grid .puppy-card {
  flex: 0 1 calc((100% - 24px * 2) / 3);
}
@media (max-width: 968px) {
  .litter-grid .puppy-card { flex: 0 1 calc((100% - 24px) / 2); }
  .litter-block { padding: 22px; }
  .litter-head h3 { font-size: 26px; }
}
@media (max-width: 560px) {
  .litter-grid .puppy-card { flex: 0 1 100%; }
}

/* ===== History (past litters) ===== */
.history {
  background: linear-gradient(180deg, #f0eadd 0%, #e8e0cc 100%);
  border-top: 1px solid rgba(201, 169, 106, 0.25);
  border-bottom: 1px solid rgba(201, 169, 106, 0.25);
}
.history .section-head h2 { color: #3a2f1a; }
.history .section-body { color: #5a4f3a; }
.history-block { background: #fff; }
.history-list { display: flex; flex-direction: column; gap: 80px; }
.history-block {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  position: relative;
}
.history-head {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 28px;
}
.history-cover {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.history-cover img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.history-cover:hover img { transform: scale(1.04); }
.history-meta h3 {
  font-size: 32px;
  margin-bottom: 12px;
}
.history-year {
  display: inline-block;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  margin-left: 10px;
}
.history-parents {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}
.history-parents strong {
  color: var(--text);
  margin-right: 4px;
}
.history-story p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 10px;
}
.history-puppies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.history-puppy-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.history-puppy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.history-puppy-card .puppy-img { aspect-ratio: 1/1; overflow: hidden; }
.history-puppy-card .puppy-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.history-puppy-card:hover .puppy-img img { transform: scale(1.06); }
.history-puppy-card .puppy-info { padding: 16px 18px; }
.history-puppy-card .puppy-info h3 { font-size: 20px; margin-bottom: 4px; }
.history-puppy-card .puppy-info p { font-size: 13px; color: var(--muted); }
.history-puppy-card .puppy-note {
  margin-top: 6px;
  font-style: italic;
  color: var(--gold-dark);
}
.history-empty {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-top: 40px;
}
@media (max-width: 820px) {
  .history-head { grid-template-columns: 1fr; }
  .history-block { padding: 24px; }
  .history-meta h3 { font-size: 26px; }
}

/* ===== Shows ===== */
.shows {
  background: var(--bg);
  color: var(--cream);
  position: relative;
}
.shows::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-shows, url('../../assets/images/eurasia.jpg?v=2'));
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.shows .container { position: relative; z-index: 2; }
.shows .section-eyebrow { color: var(--gold-light); }
.shows .section-lead { color: rgba(245, 239, 230, 0.7); }
.shows-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.show-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.show-card:hover {
  border-color: var(--gold);
  transform: translateX(8px);
  background: rgba(201, 169, 106, 0.06);
}
.show-date {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 100px;
}
.show-card h3 { font-size: 28px; margin-bottom: 12px; color: #fff; }
.show-card p { color: rgba(245, 239, 230, 0.7); font-size: 15px; }

/* ===== Puppies ===== */
.puppies { background: var(--cream); }
.puppies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.puppies-grid .puppy-card {
  flex: 0 1 calc((100% - 28px * 3) / 4);
}
.puppy-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.puppy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.puppy-img { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.puppy-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.puppy-card:hover .puppy-img img { transform: scale(1.1); }
.puppy-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  color: #fff;
}
.puppy-tag.available { background: #4caf7d; }
.puppy-tag.reserved { background: #d4a04c; }
.puppy-tag.soon { background: #6c7a8b; }
.puppy-info { padding: 22px; }
.puppy-info h3 { font-size: 24px; margin-bottom: 6px; }
.puppy-info p { color: var(--muted); font-size: 14px; }
.puppy-parents { color: var(--gold-dark) !important; font-style: italic; margin: 8px 0 16px !important; }

/* ===== Contact ===== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-grid .contact-block { text-align: left; }
.contact-grid .contact-block .contact-list { align-items: flex-start; }
.contact-grid .contact-block .socials { justify-content: flex-start; }
.contact-single { display: flex; justify-content: center; }
.contact-block { max-width: 640px; text-align: center; }
.contact-block .contact-list { align-items: center; }
.contact-block .socials { justify-content: center; }
.contact-list { margin: 32px 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { font-size: 16px; color: var(--muted); }
.contact-list strong { color: var(--text); margin-right: 8px; }
.contact-list a { color: var(--gold-dark); transition: var(--transition); }
.contact-list a:hover { color: var(--gold); }

.socials { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--cream);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  border: 1px solid transparent;
}
.social svg { width: 18px; height: 18px; }
.social:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form {
  background: var(--cream);
  padding: 48px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 {
  font-size: 32px;
  margin-bottom: 8px;
}
.form-lead {
  color: var(--muted);
  font-size: 14px;
  margin-top: -4px;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.15);
}
.contact-form button { margin-top: 8px; }
.contact-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status {
  font-size: 13px;
  min-height: 1.2em;
  margin: 0;
  text-align: center;
  transition: color 0.2s ease;
}
.form-status.is-success { color: #2f8f5d; }
.form-status.is-error { color: #c0392b; }
.contact-form.is-loading button { opacity: 0.6; pointer-events: none; }

/* ===== Detail Modal ===== */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.detail-modal.is-open { display: flex; }
.detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.86);
  backdrop-filter: blur(8px);
}
.detail-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  background: var(--cream);
  color: var(--text);
  border: 1px solid rgba(201, 169, 106, 0.45);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}
.detail-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 239, 230, 0.45);
  border-radius: 50%;
  background: rgba(15, 13, 11, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.detail-modal__close:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.detail-modal__media {
  position: relative;
  min-height: 520px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 239, 230, 0.5);
  border-radius: 50%;
  background: rgba(15, 13, 11, 0.62);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.detail-modal__nav:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.detail-modal__nav--prev { left: 18px; }
.detail-modal__nav--next { right: 18px; }
.detail-modal__nav[hidden] { display: none; }
.detail-modal__counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 12px;
  background: rgba(15, 13, 11, 0.7);
  color: var(--cream);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 1.5px;
}
.detail-modal__content {
  padding: 44px;
  overflow: auto;
}
.detail-modal__content .section-eyebrow { margin-bottom: 14px; }
.detail-modal__content h2 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 22px;
}
.detail-modal__body .dog-info,
.detail-modal__body .puppy-info { padding: 0; }
.detail-modal__body .dog-info h3,
.detail-modal__body .puppy-info h3,
.detail-modal__body .show-card h3 { display: none; }
.detail-modal__body .show-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}
.detail-modal__body .show-card:hover { transform: none; background: transparent; }
.detail-modal__body .show-card p { color: var(--muted); }
.detail-modal__body .show-date { margin-bottom: 18px; }
.detail-modal__body .btn-link { display: inline-flex; margin-top: 12px; }
.detail-modal__thumbs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 10px;
}
.detail-modal__thumb {
  aspect-ratio: 1/1;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}
.detail-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-modal__thumb.is-active { border-color: var(--gold); }
.detail-modal__thumb:hover { transform: translateY(-2px); }

/* ===== Footer ===== */
.footer {
  background: var(--bg);
  color: var(--cream);
  padding: 50px 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer p { font-size: 14px; opacity: 0.7; }
.footer-tag { color: var(--gold); font-style: italic; }
.footer-tag .heart {
  display: inline-block;
  margin: 0 4px;
  color: #e85a6b;
  font-style: normal;
  transform: translateY(1px);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .nav-links { display: none; position: fixed; top: 70px; right: 0; flex-direction: column; background: rgba(15,13,11,0.98); backdrop-filter: blur(10px); padding: 30px; gap: 20px; min-width: 240px; border-radius: 0 0 0 var(--radius); }
  .nav-links.open { display: flex; }
  .lang-switch { margin-left: 0; align-self: flex-start; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-2, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .dogs-grid { grid-template-columns: 1fr; }
  .puppies-grid .puppy-card { flex: 0 1 calc((100% - 28px) / 2); }
  .shows-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .img-badge { right: 20px; bottom: -20px; padding: 16px 22px; }
  .img-badge strong { font-size: 22px; }
  .section { padding: 80px 0; }
  .hero-stats { gap: 30px; }
  .hero-stats strong { font-size: 32px; }
  .contact-form { padding: 28px; }
}

@media (max-width: 720px) {
  section[id] { scroll-margin-top: 70px; }
  .container { padding: 0 18px; }
  .navbar { padding: 14px 0; }
  .navbar.scrolled { padding: 10px 0; }
  .logo-img { width: 44px; height: 44px; }
  .footer-logo .logo-img { width: 56px; height: 56px; }
  .logo-text { font-size: 18px; }
  .logo-text small { font-size: 10px; letter-spacing: 3px; }
  .nav-links { top: 60px; padding: 24px; min-width: 220px; gap: 16px; }

  .hero { min-height: 92vh; }
  .hero-content { padding-top: 100px; }
  .eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 18px; }
  .eyebrow-line { width: 30px; }
  .hero h1 { font-size: clamp(40px, 12vw, 64px); margin-bottom: 18px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 32px; }
  .hero-buttons { gap: 12px; margin-bottom: 44px; }
  .hero-stats { gap: 24px 36px; }
  .hero-stats strong { font-size: 28px; }
  .hero-stats span { font-size: 11px; letter-spacing: 1.5px; }
  .scroll-down { bottom: 18px; width: 26px; height: 44px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2, .section h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
  .section-eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 12px; }
  .section-lead { font-size: 15px; }

  .grid-2, .contact-grid { gap: 60px; }
  .img-frame img { aspect-ratio: 4/4.2; }
  .img-badge { right: 16px; bottom: -16px; padding: 12px 18px; }
  .img-badge strong { font-size: 18px; }
  .img-badge span { font-size: 10px; letter-spacing: 2px; }
  .about-text p { font-size: 15px; }

  .dog-info { padding: 22px; }
  .dog-info h3 { font-size: 26px; }
  .dog-title { font-size: 12px; letter-spacing: 1.5px; }
  .dog-highlight { padding: 12px 14px; }
  .dog-highlight strong { font-size: 22px; }
  .dog-highlight span { font-size: 11px; letter-spacing: 1px; }

  .show-card { padding: 26px 22px; }
  .show-card h3 { font-size: 22px; }
  .show-card p { font-size: 14px; }
  .show-card:hover { transform: none; }

  .detail-modal { padding: 16px; }
  .detail-modal__panel {
    max-height: calc(100vh - 32px);
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .detail-modal__media { min-height: 360px; }
  .detail-modal__content { padding: 28px 24px 32px; overflow: visible; }
  .detail-modal__content h2 { font-size: clamp(30px, 9vw, 42px); }

  .contact-list li { font-size: 15px; }
  .social { padding: 10px 16px; font-size: 12px; }
}

@media (max-width: 560px) {
  .puppies-grid .puppy-card { flex: 0 1 100%; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; padding: 14px 24px; font-size: 13px; }
  .logo-text { font-size: 17px; }
  .logo-text small { font-size: 9px; }
  .hero-stats { gap: 18px; width: 100%; }
  .hero-stats > div { flex: 1 1 calc(50% - 18px); }
  .img-badge { right: 12px; bottom: -14px; padding: 10px 14px; }
  .features { gap: 10px; }
  .features li { font-size: 13px; }
  .features li > span:first-child { width: 28px; height: 28px; font-size: 12px; }
  .dog-info { padding: 20px; }
  .dog-info h3 { font-size: 24px; }
  .puppy-info { padding: 18px; }
  .puppy-info h3 { font-size: 22px; }
  .detail-modal__media { min-height: 300px; }
  .detail-modal__nav { width: 38px; height: 38px; font-size: 28px; }
  .detail-modal__nav--prev { left: 12px; }
  .detail-modal__nav--next { right: 12px; }
  .detail-modal__thumbs { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
  .socials { gap: 10px; justify-content: center; }
  .social span { display: inline; }
  .footer { padding: 36px 0; }
  .footer p { font-size: 13px; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 15px; }
  .section-head h2, .section h2 { font-size: 26px; }
  .nav-links { min-width: 200px; }
}

@media (hover: none) {
  .dog-card:hover, .puppy-card:hover, .show-card:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
  .img-frame:hover img, .dog-card:hover .dog-img img, .puppy-card:hover .puppy-img img { transform: none; }
}
