/* ===================================================
  AFG American Staffordshire Terrier Kennels — Main Stylesheet
  =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #F1EFE9;
  --dark:        #141414;
  --brown:       #141414;
  --rust:        #D82F1F;
  --rust-hover:  #A82217;
  --gold:        #D82F1F;
  --light-brown: #3F3C36;
  --muted:       #55524B;
  --surface:     #EAE7E0;
  --white:       #FFFFFF;
  --border:      rgba(20,20,20,0.16);
  --brand-blue:  #141414;
  --brand-red:   #D82F1F;
  --brand-logo-url: url('/images/afg_amstaff_logo.jpg');
  --radius:      2px;
  --radius-lg:   4px;
  --ink:         #141414;
  --shadow:      0 2px 0 rgba(20,20,20,0.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Work Sans', sans-serif; background: var(--cream); color: var(--dark); min-height: 100vh; }

/* ===================== NAV ===================== */
nav {
  background: var(--cream);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--dark);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.nav-logo-img {
  width: 110px;
  height: 34px;
  border-radius: 2px;
  object-fit: contain;
  border: 1px solid rgba(20,20,20,0.28);
  background: rgba(20,20,20,0.04);
}
.nav-links { display: flex; gap: 0.15rem; align-items: center; flex-wrap: wrap; margin-left: auto; }

.top-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.65rem;
}

.lang-switcher {
  height: 28px;
  padding: 0 0.4rem;
  border: 1px solid rgba(20,20,20,0.3);
  background: rgba(20,20,20,0.04);
  color: var(--dark);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
}
.lang-switcher:hover { border-color: var(--rust); color: var(--rust); }

.top-quick-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(20,20,20,0.3);
  background: rgba(20,20,20,0.04);
  color: var(--dark);
  font-size: 0.92rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.top-quick-icon:hover {
  background: rgba(216,47,31,0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(20,20,20,0.28);
  border-radius: 2px;
  background: rgba(20,20,20,0.03);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-btn {
  background: none; border: none; color: var(--light-brown);
  font-family: 'Anton', sans-serif; font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; padding: 0.45rem 0.85rem; border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.nav-btn:hover { color: var(--rust); background: rgba(216,47,31,0.08); }
.nav-btn.active { color: var(--rust); }

/* ===================== PAGES ===================== */
.page { display: none; flex-direction: column; min-height: calc(100vh - 64px); }
.page.active { display: flex; }

/* ===================== HERO ===================== */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Image band on top (full banner, uncropped), text below so they never overlap */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 2rem 4rem;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 3;
}
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 2000 / 836;
  z-index: 0;
}

.hero-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-fallback {
  background: linear-gradient(120deg, rgba(20,20,20,0.72), rgba(216,47,31,0.55));
}

.hero-slide-fallback::after {
  content: 'Add hero photo';
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255,255,255,0.32);
}

.hero-carousel-controls {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-control-btn {
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(10,10,10,0.35);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  font-size: 0.92rem;
  transition: all 0.18s;
}

.hero-control-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(0,0,0,0.55);
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.3rem 1.1rem; border-radius: 2px; margin-bottom: 1.75rem;
}
.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  color: var(--white); line-height: 1.12; margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  color: #bbb; font-size: 1rem; font-weight: 300;
  max-width: 520px; margin: 0 auto 2.25rem; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: var(--rust); color: var(--white); border: none;
  padding: 0.75rem 2rem; font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--rust-hover); }
.btn-outline {
  background: none; color: var(--white); border: 2px solid rgba(255,255,255,0.4);
  padding: 0.75rem 2rem; font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===================== SECTIONS ===================== */
.section { padding: 4.5rem 2rem; max-width: 1120px; margin: 0 auto; width: 100%; }
.section-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 0.4rem; }
.section-title { font-family: 'Anton', sans-serif; font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 400; margin-top: 0; margin-bottom: 0.75rem; }
a.nav-btn { display: inline-block; text-decoration: none; }

/* ===================== FAQ ===================== */
.faq-list { margin-top: 1.4rem; display: grid; gap: 0.6rem; max-width: 860px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 2.6rem 0.95rem 1.1rem;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--rust);
  font-size: 1.3rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 1.1rem 1rem; color: var(--muted); line-height: 1.8; }
.section-sub { color: var(--muted); font-weight: 300; line-height: 1.85; max-width: 560px; }

/* ===================== OWNER PROFILE ===================== */
.owner-profile-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.owner-profile-card,
.owner-photo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.owner-profile-card {
  padding: 1.2rem 1.25rem;
}

.owner-profile-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 0.7rem;
}

.owner-profile-card p {
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 0.78rem;
}

.owner-profile-counts {
  margin-bottom: 0.35rem;
}

.owner-profile-list {
  margin: 0 0 0.95rem 1.2rem;
  color: var(--muted);
  line-height: 1.75;
}

.owner-photo-card {
  padding: 0.9rem;
  position: sticky;
  top: 84px;
}

.owner-photo-placeholder {
  min-height: 320px;
  width: 100%;
  border-radius: 4px;
  border: 1px dashed rgba(20,20,20,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--brand-blue);
  font-weight: 500;
  background:
    linear-gradient(135deg, rgba(216,47,31,0.22), rgba(20,20,20,0.08)),
    repeating-linear-gradient(
      -45deg,
      rgba(20,20,20,0.04),
      rgba(20,20,20,0.04) 10px,
      rgba(20,20,20,0.01) 10px,
      rgba(20,20,20,0.01) 20px
    );
}

.owner-photo-image {
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.award-card-featured { grid-column: 1 / -1; }
.award-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.award-dog {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.75);
  padding: 0.9rem 1rem;
}
.award-dog-breed {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.35rem;
}
.award-dog h4 {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.55rem;
}
.award-dog ul { list-style: none; padding: 0; margin: 0; }
.award-dog li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}
.award-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.award-photo {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.award-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.award-photo:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .award-photos-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .award-results-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.award-dog li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.68em;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.award-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,244,250,0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.1rem;
  position: relative;
  overflow: hidden;
}
.award-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--gold));
}
.award-card-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.award-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.award-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

/* ===================== DOG CARDS ===================== */
.dogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }

.dog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex; flex-direction: column;
}
.dog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dog-card-link { cursor: pointer; }
.dog-card-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.dog-img-wrap { position: relative; width: 100%; height: 230px; overflow: hidden; background: var(--surface); }
.dog-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.dog-card:hover .dog-img-wrap img { transform: scale(1.04); }
.dog-img-placeholder { width: 100%; height: 230px; background: linear-gradient(135deg, #e8ddd0, #d4c4b0); display: flex; align-items: center; justify-content: center; font-size: 4.5rem; }

.dog-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.dog-name { font-family: 'Anton', sans-serif; font-size: 1.15rem; margin-bottom: 0.5rem; }
.dog-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.8rem; }
.tag { font-size: 0.7rem; padding: 0.2rem 0.55rem; border-radius: 2px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.tag-available    { background: #e6f4e6; color: #2a5e2a; }
.tag-reserved     { background: #fef4e3; color: #855e11; }
.tag-not-for-sale { background: #fde8ec; color: #8f1f2e; }
.tag-sold         { background: #e6eaf2; color: #506184; }
.tag-gender       { background: #e7ecf8; color: #203b7a; }
.tag-title        { background: #e7edfb; color: #26498f; }

.dog-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.85rem; flex: 1; }
.dog-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted);
  border-top: 1px solid var(--surface); padding-top: 0.75rem; margin-top: auto;
}
.dog-price { color: var(--rust); font-weight: 600; font-size: 0.95rem; }
.dog-health { font-size: 0.76rem; color: #3d7a3d; margin-top: 0.5rem; }
.dog-view-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--rust);
  font-weight: 600;
}
.dog-view-link:hover { color: var(--rust-hover); }

/* ===================== DOG PROFILE PAGE ===================== */
.dog-page-wrap { flex: 1; }
.dog-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.9rem;
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--rust);
  font-weight: 500;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dog-back-btn:hover {
  color: var(--rust-hover);
  border-color: rgba(216,47,31,0.35);
  background: rgba(216,47,31,0.06);
}

.dog-profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dog-profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
}

.dog-profile-media {
  background: var(--surface);
  min-height: 320px;
  padding: 0.9rem;
}

.dog-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dog-profile-placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #e8ddd0, #d4c4b0);
}

.dog-gallery-main {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 4px;
  background: #ded2c2;
}

.dog-gallery-main img { object-fit: cover; }

.dog-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.dog-thumb {
  border: 1px solid var(--border);
  padding: 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  height: 64px;
}

.dog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dog-thumb.active { border-color: var(--rust); }

.dog-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.dog-media-item {
  text-align: left;
}

.dog-media-item img,
.dog-media-item .gallery-video-thumb {
  height: 160px;
}

.dog-media-item .gallery-title {
  font-size: 0.78rem;
  line-height: 1.45;
}

.dog-profile-content { padding: 1.5rem; }
.dog-profile-head h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.55rem;
}

.dog-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.dog-profile-description {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.dog-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dog-fact {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dog-fact span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.dog-fact strong { font-size: 0.88rem; }

.dog-health-box {
  margin-top: 1rem;
  border-left: 3px solid #1f6a43;
  background: #eaf6ef;
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  border-radius: 3px;
}

.dog-video-section { margin-top: 1.25rem; }
.dog-video-section h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.dog-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dog-video-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #111;
}

.dog-video-card video,
.dog-video-card iframe {
  width: 100%;
  height: 220px;
  display: block;
  border: 0;
}

/* ===================== CONTACT STRIP ===================== */
.contact-strip { background: var(--dark); padding: 4rem 2rem; text-align: center; }
.contact-strip h3 { font-family: 'Anton', sans-serif; color: var(--white); font-size: 1.7rem; margin-bottom: 0.5rem; }
.contact-strip p { color: #999; font-weight: 300; margin-bottom: 1.75rem; }

.social-buttons {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-buttons.center {
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.16s, opacity 0.16s, border-color 0.16s;
}

.social-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.social-btn.website {
  background: var(--gold);
  color: #141414;
}

.social-btn.facebook {
  background: #1f4fb7;
  color: #fff;
}

.social-btn.email {
  background: var(--brand-red);
  color: #fff;
}

.social-btn.phone {
  background: #1f7a38;
  color: #fff;
}

/* ===================== NEWS ===================== */
.news-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

.news-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.news-card-link {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(20,20,20, 0.12);
}

.news-meta {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.news-pin-chip {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(216,47,31, 0.12);
  color: var(--brand-red);
  border: 1px solid rgba(216,47,31, 0.3);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.news-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.news-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.news-article {
  max-width: 900px;
  margin: 2rem auto 3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.news-article h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 0.95rem;
}

.news-article-cover {
  width: min(100%, 680px);
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 1rem;
  display: block;
}

.news-article-summary {
  font-size: 1.03rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.news-article-content {
  color: var(--muted);
  line-height: 1.8;
}

.news-article-gallery {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
}

.news-article-media {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  padding: 0;
  min-height: 140px;
}

.news-article-media img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.news-article-media.video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  gap: 0.4rem;
  padding: 0.8rem;
}

.news-article-media.video span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.news-article-page .header {
  padding: 0.7rem 0;
}

.news-article-page .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.news-article-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.news-article-page .logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.news-article-page .brand-text h1,
.news-article-page .brand-text .brand-name {
  font-weight: 700;
}
.news-article-page .brand-text h1,
.news-article-page .brand-text .brand-name {
  font-size: 1.05rem;
  line-height: 1.1;
}

.news-article-page .brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ===================== CONTACT PAGE ===================== */
.contact-card {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-row {
  font-size: 0.96rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.contact-row a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-row a:hover {
  color: var(--brand-red);
}

.contact-form {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.contact-form h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

#contact-message {
  grid-column: 1 / -1;
  min-height: 110px;
}

.table-url {
  display: inline-block;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  .awards-grid {
    grid-template-columns: 1fr;
  }
  color: var(--muted);
}

.gallery-upload-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.gallery-upload-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.gallery-dropzone {
  margin-top: 0.9rem;
  border: 2px dashed rgba(20,20,20,0.35);
  border-radius: 8px;
  padding: 1.1rem;
  text-align: center;
  background: rgba(20,20,20,0.04);
  transition: all 0.18s;
}

.gallery-dropzone.active {
  border-color: var(--brand-red);
  background: rgba(216,47,31,0.08);
}

.gallery-dropzone strong {
  display: block;
  font-size: 0.96rem;
}

.gallery-dropzone p {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 0.25rem;
}

.dog-media-uploaded {
  margin-top: 0.75rem;
}

.dog-media-uploaded-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.dog-media-uploaded-list {
  display: grid;
  gap: 0.35rem;
}

.dog-media-uploaded-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
}

.dog-media-thumb {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}

.dog-media-thumb.video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.95rem;
}

.dog-media-uploaded-item.hidden {
  opacity: 0.62;
}

.dog-media-type {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 0.14rem 0.42rem;
  font-weight: 600;
  flex-shrink: 0;
}

.dog-media-type.image {
  background: rgba(20,20,20,0.1);
  color: var(--brand-blue);
}

.dog-media-type.video {
  background: rgba(216,47,31,0.12);
  color: var(--brand-red);
}

.dog-media-url {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--muted);
}

.dog-media-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.drag-handle {
  cursor: grab;
  color: var(--muted);
}

.drag-handle:active {
  cursor: grabbing;
}

.dog-media-caption-edit {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 260px;
}

.dog-caption-input {
  min-width: 170px;
  height: 32px;
  font-size: 0.78rem;
  padding: 0.38rem 0.5rem;
}

.btn-sm.cover.active {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: rgba(20,20,20,0.08);
}

.dog-cover-chip {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  padding: 0.14rem 0.42rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(20,20,20,0.12);
  border: 1px solid rgba(20,20,20,0.3);
}

.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.85rem;
}

.gallery-admin-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-admin-preview-wrap {
  background: var(--surface);
  height: 150px;
  overflow: hidden;
}

.gallery-admin-preview-wrap img,
.gallery-admin-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-admin-preview.video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #141414, #D82F1F);
}

.gallery-admin-preview.video span {
  color: #fff;
  font-size: 1.9rem;
}

.gallery-admin-meta {
  padding: 0.65rem 0.75rem;
}

.gallery-admin-type {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.2rem;
}

.gallery-admin-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.gallery-admin-url {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-admin-visibility {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.gallery-admin-visibility.visible {
  color: #117236;
}

.gallery-admin-visibility.hidden {
  color: #9b2335;
}

.gallery-admin-actions {
  display: flex;
  gap: 0.4rem;
  padding: 0 0.75rem 0.75rem;
}

/* ===================== ADMIN LOGIN ===================== */
.admin-login-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(3, 8, 22, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-login-modal.open {
  display: flex;
}

.admin-login-card {
  width: min(92vw, 420px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.admin-login-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.admin-login-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.95rem;
}

/* ===================== GALLERY ===================== */
.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gallery-item img,
.gallery-video-thumb {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #141414, #3F3C36, #D82F1F);
}

.gallery-video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-video-thumb span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.45rem;
}

.gallery-chip {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(20,20,20,0.72);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
}

.gallery-title {
  display: block;
  padding: 0.75rem 0.8rem 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}

/* ===================== LIGHTBOX ===================== */
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2,4,10,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.media-lightbox.open {
  display: flex;
}

.media-lightbox-content {
  width: min(94vw, 980px);
}

.media-lightbox-frame {
  background: #000;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  max-height: 88vh;
}

.media-lightbox-frame img,
.media-lightbox-frame video,
.media-lightbox-frame iframe {
  width: 100%;
  max-height: 88vh;
  display: block;
  object-fit: contain;
  border: 0;
  background: #000;
}

.media-lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.media-lightbox-nav.prev {
  left: 0.9rem;
}

.media-lightbox-nav.next {
  right: 0.9rem;
}

.media-lightbox-close:hover,
.media-lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-img-block { background: var(--surface); border-radius: var(--radius); height: 340px; display: flex; align-items: center; justify-content: center; font-size: 6rem; border: 1px solid var(--border); }
.about-img-photo { position: relative; overflow: hidden; margin: 0; padding: 0; height: 420px; }
.about-img-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.about-img-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.75rem 1rem; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.65)); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; border-left: 3px solid var(--gold); border: 1px solid var(--border); border-left: 3px solid var(--gold); }
.value-card h4 { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; }
.value-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

/* ===================== EMPTY STATE ===================== */
.empty-state { padding: 4rem 2rem; text-align: center; color: var(--muted); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 0.95rem; }

/* ===================== ADMIN ===================== */
.admin-wrap { display: flex; flex: 1; height: calc(100vh - 64px); overflow: hidden; }

.sidebar {
  width: 210px; background: var(--dark);
  display: flex; flex-direction: column;
  padding: 1rem 0; flex-shrink: 0;
  overflow-y: auto;
}
.sidebar-section { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: #555; padding: 0.75rem 1.25rem 0.3rem; margin-top: 0.5rem; }
.sidebar-section { color: #8c8981; }
.sidebar-btn {
  display: flex; align-items: center; gap: 0.5rem;
  width: 100%; text-align: left; background: none; border: none;
  color: #aaa; font-family: 'Work Sans', sans-serif; font-size: 0.84rem; font-weight: 500;
  padding: 0.65rem 1.25rem; cursor: pointer;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.sidebar-btn:hover { color: var(--gold); background: rgba(216,47,31,0.07); }
.sidebar-btn.active { color: var(--gold); border-left-color: var(--gold); background: rgba(216,47,31,0.08); }
.sidebar-bottom { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }

.admin-main { flex: 1; overflow-y: auto; padding: 2rem 2.5rem; background: var(--cream); }
.admin-page { display: none; }
.admin-page.active { display: block; }

.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.admin-title { font-family: 'Anton', sans-serif; font-size: 1.7rem; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); }
.stat-num { font-family: 'Anton', sans-serif; font-size: 2.2rem; color: var(--dark); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.09em; margin-top: 0.3rem; }
.stat-card.accent { border-left: 3px solid var(--gold); }

/* Table */
.table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.admin-table thead tr { background: var(--dark); }
.admin-table th { color: #888; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.8rem 1rem; text-align: left; white-space: nowrap; }
.admin-table th { color: #9a978f; }
.admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--surface); font-size: 0.86rem; vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: #F1EFE9; }

.dog-name-cell { font-weight: 600; }
.dog-call-cell { font-size: 0.78rem; color: var(--muted); }

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: 0.5rem; }
.toggle { width: 40px; height: 22px; background: #ccc; border-radius: 11px; border: none; cursor: pointer; position: relative; transition: background 0.22s; flex-shrink: 0; }
.toggle { background: #b9c4da; }
.toggle.on { background: var(--rust); }
.toggle::after { content: ''; position: absolute; width: 16px; height: 16px; background: white; border-radius: 50%; top: 3px; left: 3px; transition: left 0.22s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle.on::after { left: 21px; }
.toggle-label { font-size: 0.76rem; color: var(--muted); }

/* Action buttons */
.action-btns { display: flex; gap: 0.3rem; }
.btn-sm { background: none; border: 1px solid var(--border); color: var(--muted); padding: 0.3rem 0.65rem; border-radius: 3px; cursor: pointer; font-size: 0.78rem; font-family: 'Work Sans', sans-serif; transition: all 0.15s; white-space: nowrap; }
.btn-sm:hover { border-color: var(--rust); color: var(--rust); background: rgba(160,82,45,0.05); }
.btn-sm.danger:hover { background: #fdeaea; border-color: #c44; color: #c44; }
.btn-sm.danger:hover { background: #fde9ed; border-color: #bf2f42; color: #bf2f42; }

/* Add/Edit form */
.form-card { background: var(--white); border-radius: var(--radius); padding: 2rem 2.25rem; border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-control {
  font-family: 'Work Sans', sans-serif; font-size: 0.9rem;
  padding: 0.6rem 0.8rem; border: 1px solid rgba(92,61,46,0.2);
  border-radius: 4px; background: var(--cream); color: var(--dark);
  outline: none; transition: border-color 0.2s;
  width: 100%;
}
.form-control:focus { border-color: var(--rust); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-section-title { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); font-weight: 600; grid-column: 1/-1; margin-top: 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--surface); }
.checkbox-label { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; cursor: pointer; }
.checkbox-label input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--rust); }
.form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--surface); }
.btn-cancel { background: none; border: 1px solid var(--border); color: var(--muted); padding: 0.6rem 1.25rem; font-family: 'Work Sans', sans-serif; font-size: 0.85rem; cursor: pointer; border-radius: 3px; transition: all 0.15s; }
.btn-cancel:hover { border-color: var(--brown); color: var(--brown); }

/* Recent list */
.recent-list { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; border: 1px solid var(--border); }
.recent-header { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.85rem; }
.recent-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--surface); }
.recent-row:last-child { border-bottom: none; }
.recent-name { font-weight: 600; font-size: 0.88rem; }
.recent-sub { font-size: 0.78rem; color: var(--muted); }

/* Notifications */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--dark); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: 5px;
  font-size: 0.88rem; z-index: 999;
  border-left: 3px solid var(--gold);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-left-color: #c44; }
.toast.error { border-left-color: #bf2f42; }

/* Page header bar */
.page-hero {
  background: var(--dark); padding: 3rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero h2 { font-family: 'Anton', sans-serif; color: var(--white); font-size: clamp(1.5rem, 4vw, 2.4rem); }
.page-hero h2 em { color: var(--gold); font-style: italic; }

/* Footer */
footer {
  background: var(--dark);
  color: #555;
  text-align: center;
  padding: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-admin-btn {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03);
  color: #9a978f;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-admin-btn:hover {
  color: var(--gold);
  border-color: rgba(216,47,31,0.6);
  background: rgba(216,47,31,0.08);
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 2000;
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark);
  color: #e8e6e1;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-text { flex: 1 1 320px; margin: 0; font-size: 0.88rem; line-height: 1.6; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-btn {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  min-width: 120px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.cookie-btn:hover,
.cookie-btn:focus-visible { border-color: var(--gold); color: var(--gold); }
@media (max-width: 520px) {
  .cookie-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
  .cookie-banner-actions, .cookie-btn { flex: 1 1 0; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .nav-logo-img { width: 92px; height: 30px; }
  nav {
    padding: 0 1rem;
    min-height: 64px;
    height: auto;
    flex-wrap: nowrap;
    position: relative;
  }
  .owner-profile-grid {
    grid-template-columns: 1fr;
  }

  .owner-photo-card {
    position: static;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 11px;
    right: 12px;
    margin-left: 0;
    z-index: 130;
  }
  .top-quick-actions {
    margin-left: auto;
    margin-right: 3.2rem;
  }
  .top-quick-icon {
    width: 26px;
    height: 26px;
    font-size: 0.84rem;
  }
  .nav-links {
    width: min(82vw, 320px);
    height: calc(100vh - 64px);
    position: fixed;
    top: 64px;
    right: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    overflow-y: auto;
    padding: 0.8rem;
    background: var(--cream);
    border-left: 3px solid var(--dark);
    box-shadow: -16px 0 36px rgba(20,20,20,0.22);
    transform: translateX(105%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-btn {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(20,20,20,0.1);
    background: rgba(20,20,20,0.02);
    color: var(--light-brown);
  }
  .hero-content { padding: 2.5rem 1.2rem 3rem; }
  .hero-carousel-controls { margin-top: 1rem; }
  .hero-control-btn { width: 30px; height: 30px; }
  .social-buttons { gap: 0.5rem; }
  .social-btn { font-size: 0.72rem; padding: 0.55rem 0.8rem; }
  .gallery-upload-actions { align-items: flex-start; }
  .gallery-admin-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .gallery-item img,
  .gallery-video-thumb { height: 140px; }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .media-lightbox {
    padding: 0.45rem;
  }
  .media-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .media-lightbox-nav.prev {
    left: 0.35rem;
  }
  .media-lightbox-nav.next {
    right: 0.35rem;
  }
  .media-lightbox-close {
    top: 0.35rem;
    right: 0.35rem;
    width: 36px;
    height: 36px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .form-section-title { grid-column: 1; }
  .admin-main { padding: 1.25rem; }
  .sidebar { width: 180px; }
  .dog-profile-grid { grid-template-columns: 1fr; }
  .dog-profile-media, .dog-profile-placeholder { min-height: 260px; }
  .dog-facts-grid { grid-template-columns: 1fr; }
  .dog-gallery-main { height: 260px; }
  .dog-video-grid { grid-template-columns: 1fr; }
  .dog-video-card video,
  .dog-video-card iframe { height: 210px; }
  .dog-media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .sidebar { display: none; }
  .admin-wrap { flex-direction: column; }
}
