@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --b-dark:    #1a2535;   
  --b-accent:  #6b8cae;   
  --b-soft:    #9ab3cc;   
  --b-sand:    #f4ede0;   
  --b-cream:   #fdf9f3;   
  --b-text:    #1a2535;   
  --b-body:    #3d4f60;
  --b-border:  rgba(107, 140, 174, 0.18);
}

.home-cats-section {
  padding: 120px 0;
  background: var(--b-sand);
  position: relative;
  overflow: hidden;
}

/* Soft decorative background paws */
.home-cats-section::before {
  content: '🐾';
  position: absolute; top: 10%; left: -2%;
  font-size: 8rem; opacity: 0.03; transform: rotate(-15deg);
  pointer-events: none;
}
.home-cats-section::after {
  content: '🐾';
  position: absolute; bottom: 5%; right: -2%;
  font-size: 10rem; opacity: 0.02; transform: rotate(25deg);
  pointer-events: none;
}

.hc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.hc-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.hc-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--b-accent); margin: 0 0 16px;
}
.hc-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600;
  color: var(--b-text); line-height: 1.15; margin: 0 0 20px;
}
.hc-title em {
  font-style: italic; color: var(--b-accent); font-weight: 400;
}
.hc-divider {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 20px;
}
.hc-divider span {
  display: block; height: 1px; width: 50px;
  background: linear-gradient(to right, transparent, var(--b-accent), transparent);
}
.hc-divider i {
  font-style: normal; font-size: 0.85rem; color: var(--b-accent); opacity: 0.8;
}
.hc-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem; font-weight: 300; line-height: 1.8;
  color: var(--b-body); margin: 0;
}

/* ── Grid & Archway Cards ── */
.hc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.hc-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s ease;
}
.hc-card:hover { transform: translateY(-8px); }

.hc-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 200px 200px 16px 16px;
  overflow: hidden;
  position: relative;
  border: 8px solid var(--b-cream);
  box-shadow: 0 15px 35px rgba(26, 37, 53, 0.08);
  margin-bottom: 24px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hc-card:hover .hc-img {
  border-color: #ffffff;
  box-shadow: 0 25px 45px rgba(26, 37, 53, 0.15);
}
.hc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.hc-card:hover .hc-img img { transform: scale(1.05); }

.hc-name {
  font-family: 'Lora', serif; font-size: 1.8rem; font-weight: 600;
  color: var(--b-text); margin: 0 0 6px;
  transition: color 0.3s ease;
}
.hc-card:hover .hc-name { color: var(--b-accent); }

.hc-breed {
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--b-accent); margin: 0 0 16px;
}

.hc-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px;
}
.hc-tags span {
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500;
  color: var(--b-body); background: rgba(107, 140, 174, 0.08);
  padding: 4px 12px; border-radius: 40px; border: 1px solid rgba(107, 140, 174, 0.15);
}

.hc-link {
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--b-text);
  display: flex; align-items: center; gap: 8px; transition: color 0.3s ease;
}
.hc-link span { color: var(--b-accent); font-size: 1.1rem; transition: transform 0.3s ease; }
.hc-card:hover .hc-link { color: var(--b-accent); }
.hc-card:hover .hc-link span { transform: translateX(4px); }

/* ── Bottom Action ── */
.hc-action { text-align: center; }
.hc-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 40px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--b-cream);
  background: var(--b-text); border-radius: 8px; text-decoration: none; transition: all 0.3s ease;
}
.hc-btn:hover {
  background: var(--b-accent); transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(107, 140, 174, 0.2);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hc-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  /* Hide the 3rd cat on medium screens to keep the grid even */
  .hc-card:nth-child(3) { display: none; }
}

@media (max-width: 640px) {
  .home-cats-section { padding: 80px 0; }
  .hc-inner { padding: 0 24px; }
  .hc-grid { grid-template-columns: 1fr; gap: 50px; }
  /* Bring back the 3rd cat for mobile vertical scrolling */
  .hc-card:nth-child(3) { display: flex; }
  .hc-img { max-width: 320px; margin: 0 auto 24px; }
}