@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --bg: #f6fbf7;
  --bg-accent: #eef8f0;
  --surface: #ffffff;
  --surface-2: #f9fdf9;
  --text: #1f2937;
  --text-soft: #6b7280;
  --line: #dbe7dd;
  --primary: #1f9d55;
  --primary-dark: #167c42;
  --primary-soft: #dff4e6;
  --accent: #f4b740;
  --danger: #ea580c;
  --shadow-sm: 0 10px 25px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 18px 45px rgba(31, 41, 55, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --container: min(1120px, 92%);
  --transition: 220ms cubic-bezier(.2, .8, .2, 1);
}

@font-face {
  font-family: "Aka-Acid-Blur";
  src: url("../fonts/ACBlur.ttf") format("truetype"),
    url("../fonts/ACBlur.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 157, 85, 0.08), transparent 24%),
    radial-gradient(circle at right bottom, rgba(244, 183, 64, 0.10), transparent 18%),
    var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color var(--transition),
    opacity var(--transition);
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* Header */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(219, 231, 221, 0.9);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

.custom-logo {
  display: block;
  max-height: 58px;
  width: auto;
  height: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu li {
  margin: 0;
}

.primary-menu a {
  position: relative;
  font-weight: 700;
  color: var(--text-soft);
  padding: 6px 0;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-menu .current-menu-item a,
.primary-menu .current_page_item a,
.primary-menu a:hover {
  color: var(--text);
}

.primary-menu .current-menu-item a::after,
.primary-menu .current_page_item a::after,
.primary-menu a:hover::after {
  transform: scaleX(1);
}

/* Hero and sections */

.hero {
  padding: 96px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.stage-title,
.hero h1,
.hero h2,
.section-title,
.page-title,
.pet-card-body,
.dog-profile-copy {
  margin: 0 0 16px;
  font-family: "Aka-Acid-Blur", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1,
.hero h2 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
}

.hero p {
  margin: 0 0 28px;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 231, 221, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.hero-card p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hero-stat:last-child {
  border-bottom: 0;
}

.section,
.page-section {
  padding: 32px 0 72px;
}

.page-hero {
  padding: 72px 0 30px;
}

.page-title,
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-copy,
.lead,
.page-intro {
  max-width: 64ch;
  color: var(--text-soft);
}

/* Cards and grids */

.cards,
.grid,
.split {
  display: grid;
  gap: 24px;
}

.cards,
.grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.split {
  grid-template-columns: 1fr 1fr;
}

.card,
.pet-card,
.info-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 231, 221, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover,
.pet-card:hover,
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 157, 85, 0.24);
}

.card-body,
.pet-card-body,
.info-card-body {
  padding: 22px;
}

.card h3,
.pet-card h3,
.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.card p,
.pet-card p,
.info-card p {
  margin: 0;
  color: var(--text-soft);
}

/* Pet archive cards */

.animal-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pet-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-accent);
}

.pet-media img,
.detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-media img {
  transition: transform 500ms ease;
}

.pet-card:hover .pet-media img,
.animal-card-link:focus-visible .pet-media img {
  transform: scale(1.06);
}

.hover-box {
  position: absolute;
  inset: 0;
  background: rgba(25, 94, 35, 0.78);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-box-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-dark);
  font-size: 1.5rem;
  transform: translateY(8px) scale(0.95);
  transition: transform 0.3s ease;
}

.pet-card:hover .hover-box,
.animal-card-link:focus-visible .hover-box {
  opacity: 1;
}

.pet-card:hover .hover-box-icon,
.animal-card-link:focus-visible .hover-box-icon {
  transform: translateY(0) scale(1);
}

.pet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2db768);
  box-shadow: 0 12px 24px rgba(31, 157, 85, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(31, 157, 85, 0.30);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
}

.btn-ghost:hover {
  background: var(--primary-soft);
}

/* Detail generic */

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 46px 0 80px;
  align-items: start;
}

.detail-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.detail-panel p {
  color: var(--text-soft);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* Forms */

form,
.form-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #d8e2da;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input::placeholder,
textarea::placeholder {
  color: #99a1ab;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(31, 157, 85, 0.82);
  box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.12);
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li + li {
  margin-top: 12px;
}

.highlight-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fffdf6, #fef4dd);
  border: 1px solid #f3dfad;
  color: var(--text);
  margin-bottom: 18px;
}

/* Footer */

.site-footer {
  background: #f6fbf7;
  border-top: 1px solid rgba(186, 105, 65, 0.5);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-message p {
  margin: 0;
  max-width: 34ch;
  color: #de600c;
  line-height: 1.8;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-site-logo img,
.footer-logo {
  max-height: 64px;
  width: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  color: #1f1d21;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.footer-contact a:hover {
  color: #ba6941;
  transform: translateX(2px);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-box {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  color: #1f1d21;
  box-shadow: 0 8px 24px rgba(31, 29, 33, 0.08);
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.social-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(31, 29, 33, 0.14);
}

.social-facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.social-instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
  color: #ffffff;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}
/* Helpers */

.spacer-16 {
  height: 16px;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pet detail profile */

.dog-profile {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.dog-profile-copy,
.dog-profile-side {
  min-width: 0;
}

.dog-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
}

.dog-name .female,
.dog-name .male {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
}

.dog-name .female {
  color: #fff;
  background: linear-gradient(135deg, #d96a8a, #ff7fab);
}

.dog-name .male {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.dog-summary {
  margin: 0 0 24px;
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.dog-info {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 14px;
  column-gap: 16px;
  margin-bottom: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: 1.16rem;
}

.dog-info .label {
  color: var(--primary-dark);
  font-weight: 800;
}

.dog-divider {
  margin: 22px 0 24px;
  color: var(--primary);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
}

.dog-note {
  padding: 20px 22px;
  font-family: "Nunito", Arial, sans-serif;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fffdf6, #fef4dd);
  border: 1px solid #f3dfad;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

.dog-photo {
  overflow: hidden;
  border-radius: 26px;
  background: var(--bg-accent);
  box-shadow: var(--shadow-md);
}

.dog-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
}

.dog-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.dog-buttons .btn {
  min-width: 160px;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .detail,
  .split,
  .dog-profile {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-message p {
    max-width: 28ch;
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    min-height: 72px;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .site-nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    flex: 0 0 100%;
  }

  .primary-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }

  .custom-logo,
  .brand-logo {
    max-height: 48px;
    height: auto;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .page-hero {
    padding: 56px 0 20px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-card,
  .detail-panel,
  form,
  .form-card {
    padding: 20px;
  }

  .cards,
  .grid,
  .split {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .dog-info {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dog-buttons .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ----------------------------------
   HOME POSTS SECTION
---------------------------------- */

.posts-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.post-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 231, 221, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 157, 85, 0.24);
}

.post-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-accent);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 22px;
}

.post-meta {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.post-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.post-card-body p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--primary-dark);
}

.post-read-more::after {
  content: "→";
  transition: transform var(--transition);
}

.post-card:hover .post-read-more::after {
  transform: translateX(4px);
}

/* ----------------------------------
   HOME STAGE HERO - BACKGROUND VERSION
---------------------------------- */

.home-stage {
  background-color: #dfe2e6;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-top: 1px solid rgba(186, 105, 65, 0.5);
  border-bottom: 1px solid rgba(20, 20, 20, 0.75);
}

.home-stage-flex {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.home-stage-flex .sliderPart {
  flex: 1 1 0;
}

.home-stage-flex .sliderPart.left {
  max-width: 340px;
}

.home-stage-flex .sliderPart.center-spacer {
  flex: 0 1 540px;
}

.home-stage-flex .sliderPart.right {
  display: flex;
  justify-content: center;
  text-align: center;
}

.stage-title {
  margin: 0 0 26px;
  /* font-family: "Fraunces", serif; */
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #1f1d21;
  text-transform: uppercase;
}

.stage-text {
  max-width: 18ch;
  margin: 0 0 18px;
  color: #2f3742;
  font-size: 1.05rem;
  line-height: 1.7;
}

.stage-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f9d55;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color var(--transition),
    transform var(--transition);
}

.stage-link:hover {
  color: #167c42;
  transform: translateX(4px);
}

.stage-link .arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.stage-link:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 1180px) {
  .home-stage-flex .sliderPart.center-spacer {
    flex-basis: 420px;
  }

  .stage-title {
    font-size: clamp(2.3rem, 4.4vw, 4.3rem);
  }
}

@media (max-width: 900px) {
  .home-stage-flex {
    min-height: 78vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-stage-flex .sliderPart,
  .home-stage-flex .sliderPart.left,
  .home-stage-flex .sliderPart.right {
    max-width: none;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .home-stage-flex .sliderPart.center-spacer {
    display: none;
  }

  .stage-text {
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .stage-title {
    margin-bottom: 18px;
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .stage-text {
    font-size: 0.98rem;
  }
}

.pet-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.pet-gallery-item {
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.pet-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.14);
}

.pet-gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.pet-gallery-item:hover .pet-gallery-image {
  transform: scale(1.05);
}


/* LIGHTBOX */

.pet-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .32s ease,
    visibility .32s ease;
}

.pet-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pet-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(8px);
}

.pet-lightbox-dialog {
  position: relative;
  z-index: 2;

  width: min(92vw, 1100px);
  height: 100%;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: scale(.92) translateY(16px);

  transition:
    transform .38s cubic-bezier(.16,1,.3,1),
    opacity .38s cubic-bezier(.16,1,.3,1);
}

.pet-lightbox.is-open .pet-lightbox-dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.pet-lightbox-image {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  background: #fff;
}

/* CLOSE */

.pet-lightbox-close {
  position: absolute;
  top: 28px;
  right: 24px;

  width: 46px;
  height: 46px;

  border: 0;
  border-radius: 999px;

  background: rgba(255,255,255,.96);
  font-size: 30px;
  cursor: pointer;
}

/* NAV */

.pet-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  border: 0;
  border-radius: 999px;

  background: rgba(255,255,255,.96);
  color: #141414;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  line-height: 1;
  cursor: pointer;

  box-shadow: 0 10px 30px rgba(0,0,0,.18);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.pet-lightbox-nav.prev {
  left: 22px;
}

.pet-lightbox-nav.next {
  right: 22px;
}

.pet-lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 16px 36px rgba(0,0,0,.24);
  background: #ffffff;
}

.pet-lightbox-nav:active {
  transform: translateY(-50%) scale(.96);
}

.pet-lightbox-nav:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .pet-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .pet-lightbox-nav.prev {
    left: 12px;
  }

  .pet-lightbox-nav.next {
    right: 12px;
  }
}

.article-shell {
  max-width: 900px;
}

.post-single {
  max-width: 820px;
  margin: 0 auto;
}

.post-single-media {
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 20px;
}

.post-single-media img {
  display: block;
  width: 100%;
  height: auto;
}

.post-single-content {
  font-family: "Nunito", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.post-single-content p {
  margin: 0 0 18px;
}

.post-single-content h2,
.post-single-content h3,
.post-single-content h4 {
  margin: 32px 0 14px;
  font-family: "Fraunces", serif;
  line-height: 1.2;
  color: var(--text-main);
}

.post-single-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 16px;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-site-logo img,
.footer-logo {
  max-height: 56px;
  width: auto;
}

.footer-contact,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.footer-contact-link,
.social-link {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-contact-link:hover,
.social-link:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.wpcf7 {
  max-width: 720px;
}

.wpcf7 form {
  display: grid;
  gap: 18px;
}

.wpcf7 label {
  display: block;
  color: #1f1d21;
  font-weight: 700;
  line-height: 1.5;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 29, 33, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f1d21;
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #ba6941;
  box-shadow: 0 0 0 4px rgba(186, 105, 65, 0.12);
}

.wpcf7-submit {
  min-width: 180px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  background: #167c42;
  box-shadow: 0 16px 30px rgba(22, 124, 66, 0.18);
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 0.95rem;
}

.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px;
}
.pet-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
}

.pet-filters-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pet-filters-label {
  font-weight: 700;
  color: #1f1d21;
  margin-right: 4px;
}

.pet-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 29, 33, 0.1);
  color: #1f1d21;
  font-weight: 700;
  transition: all var(--transition);
}

.pet-filter-chip:hover {
  color: #2db768;
  border-color: #2db768;
  transform: translateY(-1px);
}

.pet-filter-chip.is-active {
  background: linear-gradient(135deg, var(--primary), #2db768);
  border-color: #2db768;
  color: #fff;
}

@media (max-width: 700px) {
  .pet-filters-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}