/* ===========================================================
   ALLEVAMENTO VALTENESI — Design System
   =========================================================== */

:root {
  /* Palette */
  --color-primary: #b5713f;
  --color-primary-dark: #8a5630;
  --color-primary-light: #e9c6a4;
  --color-primary-tint: #f7ece1;
  --color-sage: #7c8a67;
  --color-sage-dark: #5f6c4d;
  --color-cream: #fbf6ef;
  --color-cream-alt: #f3e8da;
  --color-ink: #2b2420;
  --color-ink-soft: #5c5148;
  --color-white: #ffffff;
  --color-line: #e7dccb;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;

  /* Misc */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(43, 36, 32, 0.07);
  --shadow-md: 0 12px 32px rgba(43, 36, 32, 0.12);
  --shadow-lg: 0 24px 60px rgba(43, 36, 32, 0.18);
  --container: 1240px;
  --header-h: 128px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-ink);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 96px 0;
}

@media (max-width: 780px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.section-head p {
  color: var(--color-ink-soft);
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn-outline:hover {
  background: var(--color-ink);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline.light {
  border-color: rgba(255,255,255,.7);
  color: var(--color-white);
}

.btn-outline.light:hover {
  background: var(--color-white);
  color: var(--color-ink);
}

.btn-sage {
  background: var(--color-sage);
  color: var(--color-white);
}

.btn-sage:hover {
  background: var(--color-sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13.5px;
}

.btn-block { width: 100%; }

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp svg { width: 17px; height: 17px; flex-shrink: 0; }

.puppy-card .body .btn + .btn { margin-top: 10px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--color-ink);
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.85);
  transition: color .2s ease;
}

.topbar-info a:hover { color: var(--color-primary-light); }

.topbar-info svg { width: 15px; height: 15px; flex-shrink: 0; }

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}

.topbar-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.topbar-social svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}

header.site-header.scrolled {
  border-color: var(--color-line);
  box-shadow: 0 6px 24px rgba(43,36,32,.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo .mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #e6b8a2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(181, 113, 63, .3), var(--shadow-sm);
}

.logo .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.footer-about .logo .mark {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}

.logo .word {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: .01em;
  line-height: 1.1;
}

.logo .word span {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 4px;
}

@media (max-width: 560px) {
  .container { padding: 0 24px; }

  /* Slimmer, less invasive contact bar */
  .topbar { font-size: 10.5px; }
  .topbar .container { padding-top: 5px; padding-bottom: 5px; gap: 10px; }
  .topbar-info { gap: 12px; }
  .topbar-info svg { width: 12px; height: 12px; }
  .topbar-social { gap: 8px; }
  .topbar-social a { width: 21px; height: 21px; }
  .topbar-social svg { width: 10px; height: 10px; }

  /* Roomier logo / menu bar */
  .nav-wrap { padding-top: 22px; padding-bottom: 22px; }

  .logo { gap: 10px; }

  .logo .mark {
    width: 48px;
    height: 48px;
  }

  .logo .word {
    font-size: 16.5px;
    letter-spacing: 0;
  }

  .logo .word span {
    font-size: 9px;
    letter-spacing: .13em;
    margin-top: 3px;
  }

  .nav-toggle { width: 44px; height: 44px; }
}

@media (max-width: 340px) {
  .logo .word { font-size: 14.5px; }
  .logo .mark { width: 42px; height: 42px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-ink-soft);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary-dark);
  background: var(--color-primary-tint);
}

/* ---------- Nav dropdown (Razze e cuccioli) ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item .nav-link {
  padding-right: 10px;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px 8px 2px;
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  border-radius: 999px;
}

.dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .25s ease;
}

.nav-item.open .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: grid;
  gap: 2px;
}

.dropdown-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-soft);
  padding: 11px 14px;
  border-radius: 10px;
  white-space: normal;
}

.dropdown-menu a:hover {
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
}

@media (min-width: 981px) {
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 50;
  }
  .dropdown-menu a { white-space: normal; }

  .nav-item.open .dropdown-menu,
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-item {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-item .nav-link { flex: 1; }
  .dropdown-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 52px;
    width: 48px;
    justify-content: center;
  }
  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    transition: max-height .35s ease, padding .35s ease;
  }
  .nav-item.open .dropdown-menu {
    max-height: 600px;
    padding: 4px 0 10px 14px;
  }
  .dropdown-menu a {
    padding: 12px 14px;
    font-size: 15px;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  /* Panel spans the full viewport height from the very top, but sits
     BEHIND the header (lower z-index) so the header visually masks its
     upper portion. This guarantees there can never be a visible gap
     between the header and the panel, regardless of how tall the
     header actually renders on a given device. The links themselves
     are pushed down below the header using padding-top (kept in sync
     with the real header height via JS, with --header-h as a safe
     static fallback). */
  .main-nav {
    position: fixed;
    top: 0;
    right: -360px;
    left: auto;
    bottom: 0;
    width: min(340px, 86vw);
    height: 100vh;
    padding-top: var(--header-h);
    z-index: 150;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 26px;
    gap: 4px;
    box-shadow: -20px 0 50px rgba(0,0,0,.12);
    transition: right .35s ease;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav a { padding: 14px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-primary.nav-cta { display: none; }
  .topbar, header.site-header { position: relative; z-index: 200; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 64px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: var(--color-primary-tint);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow { }

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-copy p.lead {
  font-size: 18px;
  color: var(--color-ink-soft);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--color-line);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
}

.hero-badge .label {
  font-size: 12.5px;
  color: var(--color-ink-soft);
  max-width: 110px;
  line-height: 1.3;
}

.hero-collage {
  position: relative;
  height: 520px;
}

.hero-collage img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-white);
}

.hero-collage .img-a {
  width: 62%;
  height: 66%;
  top: 0;
  left: 0;
  z-index: 2;
}

.hero-collage .img-b {
  width: 48%;
  height: 46%;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.hero-collage .img-c {
  width: 40%;
  height: 40%;
  top: 8%;
  right: 4%;
  z-index: 1;
}

.hero-collage .sticker {
  position: absolute;
  bottom: 8%;
  left: 4%;
  z-index: 4;
  background: var(--color-white);
  border-radius: 999px;
  padding: 14px 22px 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.hero-collage .sticker .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-collage .sticker .dot svg { width: 20px; height: 20px; }

.hero-collage .sticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
}

.hero-collage .sticker span {
  font-size: 11.5px;
  color: var(--color-ink-soft);
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-collage { height: 420px; margin-top: 20px; }
}

@media (max-width: 560px) {
  .hero-collage { height: 340px; }
  .hero-badges { gap: 20px; }
}

/* ---------- Hero artwork (brand crest) ---------- */
.hero-artwork {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
}

.hero-artwork img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.hero-artwork .caption {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--color-primary-dark);
}

.hero-artwork .sticker {
  position: absolute;
  bottom: -18px;
  left: -18px;
  z-index: 4;
  background: var(--color-white);
  border-radius: 999px;
  padding: 14px 22px 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.hero-artwork .sticker .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.hero-artwork .sticker .dot svg { width: 20px; height: 20px; }
.hero-artwork .sticker strong { display: block; font-family: var(--font-display); font-size: 15px; }
.hero-artwork .sticker span { font-size: 11.5px; color: var(--color-ink-soft); }

@media (max-width: 560px) {
  .hero-artwork { padding: 14px; }
  .hero-artwork .sticker { left: 10px; bottom: -16px; padding: 10px 18px 10px 10px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,15,12,.78) 0%, rgba(20,15,12,.35) 55%, rgba(20,15,12,.45) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
}

.page-hero .eyebrow { color: var(--color-primary-light); }
.page-hero .eyebrow::before { background: var(--color-primary-light); }

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(32px, 5vw, 54px);
  max-width: 760px;
}

.page-hero p {
  color: rgba(255,255,255,.85);
  max-width: 560px;
  font-size: 17px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--color-white); }

/* ---------- Quick link cards ---------- */
.quick-links {
  margin-top: -64px;
  position: relative;
  z-index: 5;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quick-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.quick-card .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-card .icon svg { width: 26px; height: 26px; }

.quick-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.quick-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-ink-soft);
}

.quick-card .arrow {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.quick-card:hover .arrow {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: rotate(45deg);
}

.quick-card .arrow svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: 1fr; }
  .quick-links { margin-top: -40px; }
}

/* ---------- About snippet ---------- */
.about-split {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-media .badge-since {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-sage);
  color: #fff;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
}

.about-media .badge-since strong { font-size: 26px; line-height: 1; }
.about-media .badge-since span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); margin-top: 6px; }

.about-list {
  margin: 26px 0 32px;
  display: grid;
  gap: 16px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--color-ink-soft);
}

.about-list .tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-list .tick svg { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 340px; }
  .about-media .badge-since { width: 104px; height: 104px; right: 8px; bottom: -20px; }
}

/* ---------- Chi siamo photo gallery ---------- */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.cs-gallery figure {
  margin: 0;
}

.cs-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .5s ease;
}

.cs-gallery figure:hover img {
  transform: scale(1.06);
}

.cs-gallery figcaption {
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--color-primary-dark);
}

@media (max-width: 760px) {
  .cs-gallery { grid-template-columns: 1fr 1fr; }
  .cs-gallery img { height: 190px; }
}
@media (max-width: 540px) {
  .cs-gallery { grid-template-columns: 1fr; }
}

/* ---------- Breed / Papa cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.breed-card, .papa-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.breed-card:hover, .papa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.breed-card .thumb, .papa-card .thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.breed-card .thumb img, .papa-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.breed-card:hover .thumb img, .papa-card:hover .thumb img {
  transform: scale(1.07);
}

.breed-card .thumb .count, .papa-card .thumb .tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(251,246,239,.94);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.breed-card .body, .papa-card .body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.breed-card h3, .papa-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.breed-card p, .papa-card p {
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: 0;
}

.papa-card .full-name {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-style: italic;
  color: var(--color-ink-soft);
  margin: -2px 0 12px;
  line-height: 1.4;
}

.papa-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.papa-card .thumb { cursor: zoom-in; }

.papa-card .thumb img {
  transition: transform .5s ease;
}

.papa-card .gallery-hint,
.puppy-card .gallery-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 15, 12, .55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 2;
}

.papa-card .gallery-hint svg,
.puppy-card .gallery-hint svg { width: 15px; height: 15px; }

.papa-card:hover .gallery-hint,
.puppy-card:hover .gallery-hint {
  opacity: 1;
  transform: scale(1);
}

/* Puppy cards: the gallery icon alone is easy to miss (especially on touch
   devices, which never trigger :hover), so it stays visible at all times
   and is paired with a persistent text pill explaining the tap action. */
.puppy-card .gallery-hint {
  opacity: 1;
  transform: scale(1);
}

.puppy-card .gallery-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 15, 12, .72);
  backdrop-filter: blur(2px);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}

.puppy-card .gallery-badge svg { width: 13px; height: 13px; flex-shrink: 0; }

@media (max-width: 640px) {
  .puppy-card .gallery-badge { font-size: 10.5px; padding: 5px 10px 5px 8px; bottom: 10px; left: 10px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18, 14, 11, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 90px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.lightbox.show { opacity: 1; visibility: visible; }

.lightbox-inner {
  position: relative;
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-video {
  display: none;
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.lightbox-video.show { display: block; }
.lightbox-img.is-hidden { display: none; }

.lightbox-caption {
  margin-top: 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, .22); }

.lightbox-close {
  top: -56px;
  right: 0;
  width: 42px;
  height: 42px;
}
.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-prev { left: -76px; }
.lightbox-next { right: -76px; }

@media (max-width: 900px) {
  .lightbox { padding: 30px 20px; }
  .lightbox-close { top: -50px; right: 0; width: 38px; height: 38px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; background: rgba(0,0,0,.4); }
}

.papa-card .pedigree {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--color-line);
  font-size: 12.5px;
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.papa-card .pedigree svg { width: 15px; height: 15px; color: var(--color-sage); flex-shrink: 0; }

@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .card-grid, .card-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--color-ink);
  color: #fff;
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-grid .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--color-primary-light);
}

.stats-grid .stat span {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.testi-card .stars {
  color: var(--color-primary);
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testi-card .stars svg { width: 16px; height: 16px; }

.testi-card p {
  font-size: 15px;
  color: var(--color-ink-soft);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.testi-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12.5px; color: var(--color-ink-soft); }

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 60px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); max-width: 480px; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 0; max-width: 420px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .cta-banner { padding: 44px 30px; text-align: center; justify-content: center; }
  .cta-banner p { margin: 0 auto; }
}

/* ---------- Location cards (chi siamo) ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.loc-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
}

.loc-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.loc-card .icon svg { width: 22px; height: 22px; }

.loc-card h3 { font-size: 18px; margin-bottom: 6px; }
.loc-card .region { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-primary-dark); font-weight: 700; margin-bottom: 12px; }
.loc-card p { font-size: 14.5px; color: var(--color-ink-soft); margin-bottom: 0; }

.loc-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.loc-contacts a, .loc-contacts span {
  font-size: 13.5px;
  color: var(--color-ink-soft);
}
.loc-contacts a { font-weight: 600; color: var(--color-ink); }
.loc-contacts a:hover { color: var(--color-primary-dark); }

@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature list (chi siamo details) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-white);
  padding: 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item .icon svg { width: 20px; height: 20px; }

.feature-item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 13.5px; color: var(--color-ink-soft); margin: 0; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Instagram social band ---------- */
.social-band {
  background: var(--color-cream-alt);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
}

.social-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

.social-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.social-tag:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.social-tag .ig-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-tag .ig-icon svg { width: 14px; height: 14px; color: #fff; }

@media (max-width: 780px) {
  .social-band { padding: 34px 20px; }
}

/* ---------- Intro text blocks ---------- */
.prose {
  max-width: 760px;
}
.prose p { color: var(--color-ink-soft); font-size: 16.5px; }
.prose strong { color: var(--color-ink); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 38px;
}

.contact-info-card h3 { color: #fff; font-size: 22px; }
.contact-info-card > p { color: rgba(255,255,255,.72); font-size: 14.5px; }

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.contact-row:first-of-type { border-top: none; margin-top: 10px; }

.contact-row .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row .icon svg { width: 18px; height: 18px; }

.contact-row strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.contact-row span, .contact-row a { font-size: 13.5px; color: rgba(255,255,255,.75); }
.contact-row a:hover { color: var(--color-primary-light); }

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.contact-socials a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.contact-socials svg { width: 16px; height: 16px; }

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--color-cream);
  color: var(--color-ink);
  transition: border-color .2s ease, background .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

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

.form-note {
  font-size: 12.5px;
  color: var(--color-ink-soft);
  margin-top: 4px;
}

.form-success {
  display: none;
  background: var(--color-sage);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  align-items: center;
  gap: 10px;
}

.form-success.show { display: flex; }

@media (max-width: 980px) {
  .contact-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .contact-info-card { padding: 30px 24px; }
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  height: 380px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,.72);
  padding: 80px 0 0;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-about .logo .word,
.footer-about .logo .word span { color: #fff; }
.footer-about .logo .word span { color: var(--color-primary-light); }

.footer-about p {
  font-size: 14px;
  margin-top: 18px;
  max-width: 300px;
  color: rgba(255,255,255,.6);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--color-primary-light); }

.footer-col .contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.footer-col .contact-line svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--color-primary-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: rgba(255,255,255,.85); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  footer.site-footer { margin-top: 60px; }
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 300;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .25s ease, width .25s ease, border-radius .25s ease, padding .25s ease;
  overflow: hidden;
  white-space: nowrap;
}

.whatsapp-float svg { width: 28px; height: 28px; flex-shrink: 0; }

.whatsapp-float span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  font-weight: 700;
  transition: max-width .3s ease, opacity .3s ease, margin .3s ease;
}

.whatsapp-float:hover {
  border-radius: 999px;
  padding: 0 22px;
}

.whatsapp-float:hover span {
  max-width: 160px;
  opacity: 1;
  margin-left: 10px;
}

@media (max-width: 600px) {
  .whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-ink);
  color: rgba(255,255,255,.85);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 400;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  transform: translateY(140%);
  transition: transform .5s ease;
}

.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 13.5px; flex: 1; min-width: 220px; }
.cookie-banner .btn { flex-shrink: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc page banner strip (breeds/papa list intro) ---------- */
.page-intro {
  max-width: 760px;
}

.divider-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); display: inline-block; margin: 0 10px;
}

/* ---------- Breed detail page ---------- */
.page-hero.no-photo {
  background: linear-gradient(135deg, var(--breed-a, #cf9a6c) 0%, var(--breed-b, #8a5630) 100%);
}
.page-hero.no-photo::after { display: none; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 0;
}

.spec-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.spec-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.spec-item .icon svg { width: 20px; height: 20px; }
.spec-item strong { display: block; font-family: var(--font-display); font-size: 16px; }
.spec-item span { font-size: 12.5px; color: var(--color-ink-soft); text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 760px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

.puppy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Single puppy: center it instead of stretching to full row width */
.puppy-grid:has(.puppy-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.puppy-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.puppy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.puppy-card .thumb {
  height: 180px;
  overflow: hidden;
}
.puppy-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Full, uncropped cover photo (e.g. breeder collage graphics) */
/* Fixed height (not auto) so every card has the same size regardless of the
   source collage's aspect ratio; object-fit:contain keeps the whole image
   visible without cropping it, letterboxed if needed. */
.puppy-card .thumb.full-photo {
  height: 300px;
  background: var(--color-cream-alt);
  cursor: zoom-in;
  position: relative;
}
.puppy-card .thumb.full-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.puppy-card .thumb.placeholder,
.breed-card .thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary-tint) 0%, var(--color-cream-alt) 100%);
  color: var(--color-primary-dark);
}
.puppy-card .thumb.placeholder svg,
.breed-card .thumb.placeholder svg { width: 42px; height: 42px; opacity: .7; }
.puppy-card .thumb.placeholder span,
.breed-card .thumb.placeholder span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-ink-soft);
}

.puppy-card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.puppy-card .body .btn:first-of-type { margin-top: auto; }
.puppy-card h3 { font-size: 16px; margin-bottom: 4px; }
.puppy-card .puppy-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
}
.puppy-card .puppy-facts {
  list-style: none;
  padding: 0;
  margin: -4px 0 10px;
  font-size: 12px;
  color: var(--color-ink-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.puppy-card .puppy-meta .sex-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.puppy-card .puppy-meta .sex-icon svg { width: 10px; height: 10px; }
.puppy-card .pedigree-pill { font-size: 11.5px; padding: 5px 10px; }
.puppy-card .btn-sm { font-size: 12.5px; padding: 9px 14px; }

@media (max-width: 620px) {
  .puppy-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .puppy-card .thumb { height: 130px; }
  .puppy-card .thumb.full-photo { height: 210px; }
  .puppy-card .body { padding: 12px 12px 16px; }
  .puppy-card h3 { font-size: 14.5px; }
}

@media (max-width: 400px) {
  .puppy-card .body .btn-sm { font-size: 11.5px; padding: 8px 10px; }
}

.photo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-ink-soft);
  background: var(--color-cream-alt);
  padding: 12px 18px;
  border-radius: 999px;
  margin: 18px 0 34px;
  max-width: fit-content;
}
.photo-note svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }

/* ---------- Pedigree status banner ---------- */
.pedigree-banner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-top: 40px;
}

.pedigree-banner .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pedigree-banner .icon svg { width: 22px; height: 22px; }
.pedigree-banner h4 { font-size: 18px; margin-bottom: 8px; }
.pedigree-banner p { font-size: 14.5px; color: var(--color-ink-soft); margin-bottom: 12px; }
.pedigree-banner p:last-of-type { margin-bottom: 0; }

.pedigree-banner .law-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,.15);
}

.pedigree-banner .law-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pedigree-banner .law-links a svg { width: 13px; height: 13px; }

.pedigree-banner.is-yes {
  background: #eaf1e2;
  border: 1.5px solid var(--color-sage);
}
.pedigree-banner.is-yes .icon { background: var(--color-sage); color: #fff; }
.pedigree-banner.is-yes h4 { color: #3f4c31; }

.pedigree-banner.is-no {
  background: #fcefdf;
  border: 1.5px solid #c9762f;
}
.pedigree-banner.is-no .icon { background: #c9762f; color: #fff; }
.pedigree-banner.is-no h4 { color: #8a4a17; }
.pedigree-banner.is-no .law-links a { color: #8a4a17; }
.pedigree-banner.is-yes .law-links a { color: #3f4c31; }

.pedigree-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.pedigree-grid .pedigree-banner { margin-top: 0; }

@media (max-width: 860px) {
  .pedigree-grid { grid-template-columns: 1fr; }
  .pedigree-banner { flex-direction: column; }
}

/* Small inline pedigree pill (puppy cards, breed cards) */
.pedigree-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.pedigree-pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.pedigree-pill.yes { background: rgba(124,138,103,.18); color: #3f4c31; }
.pedigree-pill.no { background: rgba(201,118,47,.18); color: #8a4a17; }

.puppy-card .puppy-meta { flex-wrap: wrap; }

/* ---------- Condizioni di vendita ---------- */
.policy-list {
  counter-reset: policy;
  display: grid;
  gap: 18px;
}

.policy-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.policy-item .num {
  counter-increment: policy;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.policy-item .num::before { content: counter(policy); }

.policy-item h3 { font-size: 19px; margin-bottom: 8px; }
.policy-item p { color: var(--color-ink-soft); font-size: 15px; margin-bottom: 10px; }
.policy-item ul { display: grid; gap: 8px; margin-top: 10px; }
.policy-item ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--color-ink-soft);
}
.policy-item ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 8px;
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .policy-item { grid-template-columns: 1fr; padding: 24px; }
}

.asl-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}
.asl-table th, .asl-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-line);
}
.asl-table th {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  color: var(--color-ink-soft);
}

/* ---------- Utilities ---------- */
@media (max-width: 700px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 701px) {
  .only-mobile { display: none !important; }
}
