/* ==========================================================================
   Manada de agus — Estética Crema, Amarillo, Coral, Marrón & Verde #4a787d
   Inspiración editorial pastel + ilustraciones doodle hechas a mano.
   ========================================================================== */

:root {
  /* Paleta definida por Agus */
  --crema: #f9e4cd;
  --crema-soft: #fdf6ee;
  --amarillo: #fcdb87;
  --amarillo-soft: #fef4d6;
  --coral: #e29e88;
  --coral-deep: #c9785f;
  --coral-soft: #fae9e3;
  --marron: #4d4137;
  --marron-dark: #382e26;
  --teal: #4a787d;
  --teal-hover: #396064;
  --teal-soft: #e3eff0;

  /* Tokens semánticos */
  --bg: #fffcf8;
  --bg-alt: #fdf4ea;
  --surface: #ffffff;
  --surface-warm: #fbf1e6;
  --ink: var(--marron);
  --ink-muted: #6c5d51;
  --ink-soft: #8d7d70;
  --border: #eddcc9;
  --border-strong: #dcc4aa;

  --accent: var(--teal);
  --accent-hover: var(--teal-hover);
  --accent-soft: var(--teal-soft);

  --sage: var(--teal);
  --sage-soft: var(--teal-soft);
  --gold: var(--amarillo);
  --gold-soft: var(--amarillo-soft);

  --danger: #b93c2f;
  --success: #35696f;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 3px 12px rgba(77, 65, 55, 0.06);
  --shadow-md: 0 14px 32px rgba(77, 65, 55, 0.09);
  --shadow-lg: 0 24px 52px rgba(77, 65, 55, 0.14);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.14;
  margin: 0 0 0.7rem;
  letter-spacing: -0.025em;
  color: var(--marron);
}

h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  font-weight: 500;
}

h1 strong,
.title-contrast strong {
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ==========================================================================
   Badges & Eyebrows
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 1rem;
}

.eyebrow--sage {
  background: var(--teal-soft);
  color: var(--teal);
}

.eyebrow--coral {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.eyebrow--gold {
  background: var(--amarillo-soft);
  color: var(--marron);
  border: 1px solid rgba(77, 65, 55, 0.14);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  color: var(--ink-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(74, 120, 125, 0.24);
}

.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
}

.btn-sage {
  background: var(--marron);
  color: #fff;
  box-shadow: 0 8px 20px rgba(77, 65, 55, 0.2);
}

.btn-sage:hover {
  background: var(--marron-dark);
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
  color: var(--marron-dark);
}

.btn-coral:hover {
  background: #d78b73;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.65);
  color: var(--marron);
  border-color: var(--marron);
}

.btn-outline:hover {
  background: var(--marron);
  color: #fff;
}

.btn-soft {
  background: var(--surface);
  color: var(--marron);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-soft:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation (estilo editorial limpio)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 228, 205, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 65, 55, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--marron);
  flex-shrink: 0;
}

.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

.brand-footer-pill {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0.95rem;
  overflow: hidden;
}

.brand-logo--footer {
  width: 170px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.08rem;
  box-shadow: 0 5px 12px rgba(74, 120, 125, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--marron);
  opacity: 0.84;
  transition: background-color 0.16s ease, opacity 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
}

.nav-links a.active {
  opacity: 1;
  background: var(--marron);
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-sparkle-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--marron);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--amarillo);
  border: 1.5px solid var(--marron);
  box-shadow: 2px 3px 0 var(--marron);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-sparkle-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 4px 0 var(--marron);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1.5px solid var(--marron);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--marron);
}

/* ==========================================================================
   Hero Estilo Lupii (Pastel Crema + Doodles + Sello Amarillo + Barra Blanca)
   ========================================================================== */
.hero-lupii {
  background: radial-gradient(circle at 50% 25%, #fceee0 0%, var(--crema) 72%, #f5d8ba 100%);
  padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2.2rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(77, 65, 55, 0.1);
}

.hero-headline-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-headline-wrap h1 {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  line-height: 1.12;
  font-weight: 400;
  color: var(--marron);
  margin-bottom: 1.15rem;
}

.hero-headline-wrap h1 strong {
  font-weight: 800;
}

/* Trazos hechos a mano alrededor de palabras */
.hand-circle {
  position: relative;
  display: inline-block;
  padding: 0 0.25rem;
}

.hand-circle::after {
  content: "";
  position: absolute;
  inset: -6px -12px;
  border: 2.5px solid var(--teal);
  border-radius: 52% 48% 55% 45% / 58% 44% 56% 42%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hand-underline {
  position: relative;
  display: inline-block;
}

.hand-underline::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -6px;
  bottom: -4px;
  height: 8px;
  border-bottom: 3.5px solid var(--coral-deep);
  border-radius: 50%;
  transform: rotate(-1deg);
  pointer-events: none;
}

.hero-sub {
  max-width: 610px;
  margin: 0 auto 1.6rem;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: var(--marron);
  opacity: 0.86;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

/* Escena de ilustraciones frente a frente */
.hero-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.75rem, 3vw, 2.25rem);
  max-width: 520px;
  margin: 0.5rem auto -2px;
  position: relative;
  z-index: 2;
}

.hero-doodle {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: min(195px, 42vw);
  height: min(195px, 42vw);
}

.hero-doodle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(77, 65, 55, 0.09));
  transition: transform 0.3s ease;
}

.hero-doodle:hover img {
  transform: translateY(-5px);
}

.stamp-badge {
  align-self: center;
  margin-bottom: 1.25rem;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--amarillo);
  border: 2.5px solid var(--marron);
  box-shadow: 0 12px 28px rgba(77, 65, 55, 0.16);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.25s ease;
  cursor: pointer;
}

.stamp-badge:hover {
  transform: scale(1.06) rotate(-4deg);
}

.stamp-svg {
  width: 100%;
  height: 100%;
  animation: slowSpin 22s linear infinite;
}

.stamp-center {
  position: absolute;
  font-size: 1.55rem;
  line-height: 1;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Barra blanca inferior de 4 pilares dentro del hero */
.hero-strip {
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(77, 65, 55, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 3;
}

.hero-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-right: 0.75rem;
  border-right: 1px solid var(--border);
}

.hero-strip-item:last-child {
  border-right: none;
  padding-right: 0;
}

.strip-star {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-strip-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--marron);
  line-height: 1.25;
}

.hero-strip-item span {
  font-size: 0.83rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 0.15rem;
}

/* Destellos decorativos en Hero */
.sparkle-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.sparkle-left {
  top: 70px;
  left: 8%;
  width: 56px;
}

.sparkle-right {
  top: 150px;
  right: 9%;
  width: 46px;
}

/* ==========================================================================
   Page Hero (para las 5 subpáginas)
   ========================================================================== */
.page-hero {
  padding: clamp(2.5rem, 4.5vw, 3.8rem) 0 clamp(2.2rem, 3.5vw, 3rem);
  background: linear-gradient(180deg, var(--crema) 0%, var(--crema-soft) 100%);
  border-bottom: 1.5px solid var(--border);
  position: relative;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-inner {
  max-width: 780px;
}

.page-hero-doodle {
  display: flex;
  justify-content: center;
}

.page-hero-doodle img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(77, 65, 55, 0.1));
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.section--pillars {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.pillars-header {
  margin-bottom: 1.25rem;
}

.pillars-header .eyebrow {
  margin-bottom: 0.65rem;
}

.pillars-carousel {
  max-width: 720px;
  margin-inline: auto;
}

.pillars-grid {
  display: flex;
  gap: 1rem;
  padding-block: 0.4rem 0.85rem;
  margin-block: -0.4rem -0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.pillars-grid::-webkit-scrollbar {
  display: none;
}

.pillars-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin-top: 1rem;
}

.pillars-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pillars-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pillars-dot:hover::before {
  transform: scale(1.2);
}

.pillars-dot.is-active::before {
  background: var(--teal);
  transform: scale(1.35);
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.pillar-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  min-height: 220px;
  padding: 1.35rem 1.5rem;
  text-align: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.pillar-card > div {
  width: 100%;
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.pillar-doodle {
  width: 76px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.pillar-card:hover .pillar-doodle {
  transform: scale(1.08) rotate(-2deg);
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--teal);
  font-size: 0.92rem;
}

.pillar-card p {
  margin-bottom: 0;
}

/* ==========================================================================
   Tags & Badges
   ========================================================================== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem 0.68rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--crema-soft);
  border: 1px solid var(--border);
  color: var(--marron);
}

.badge-accent {
  background: var(--coral-soft);
  border-color: rgba(226, 158, 136, 0.45);
  color: var(--coral-deep);
}

.badge-sage {
  background: var(--teal-soft);
  border-color: rgba(74, 120, 125, 0.25);
  color: var(--teal);
}

.badge-info {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.badge-info-label {
  color: var(--teal);
  text-decoration-line: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.badge-info:hover,
.badge-info:focus-visible {
  transform: translateY(-1px);
  border-color: var(--teal);
  box-shadow: 0 3px 10px rgba(74, 120, 125, 0.16);
  outline: none;
}

.badge-info-icon {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: currentColor;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
}

.badge-requirement {
  background: var(--coral-soft);
  border-color: rgba(201, 120, 95, 0.38);
  color: var(--coral-deep);
}

.animal-badges-group {
  display: grid;
  gap: 0.38rem;
}

.animal-badges-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.animal-badges-label--features {
  color: var(--teal);
}

.animal-badges-label--requirements {
  color: var(--coral-deep);
}

.badge-gold {
  background: var(--amarillo-soft);
  border-color: rgba(252, 219, 135, 0.8);
  color: var(--marron);
}

/* ==========================================================================
   Subscription Tiers & Alias Box
   ========================================================================== */
.tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 100%;
  padding: 1.7rem;
}

.tier-card .btn-soft:hover,
.tier-card .btn-soft:focus-visible,
.tier-card .btn-soft:active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(74, 120, 125, 0.24);
}

.tier-card.featured {
  border: 2px solid var(--teal);
  background: linear-gradient(180deg, #f3f9f9 0%, #ffffff 100%);
  box-shadow: var(--shadow-md);
}

.tier-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--amarillo);
  color: var(--marron);
  border: 1.5px solid var(--marron);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--marron);
  margin: 0 0 0.7rem;
}

.tier-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.tier-impact {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
  min-height: 3.1em;
}

.tier-card .check-list {
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.subscription-tiers-grid {
  align-items: stretch;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}

.alias-box {
  background: var(--crema-soft);
  border: 1.5px dashed var(--teal);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.alias-code {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--marron);
  background: var(--surface);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: inline-block;
  max-width: 100%;
  word-break: break-all;
}

.progress-bar-wrap {
  background: var(--crema);
  border-radius: var(--radius-pill);
  height: 12px;
  overflow: hidden;
  margin: 0.45rem 0;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--teal);
}

/* ==========================================================================
   Adoption Catalog
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  margin-bottom: 2rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.48rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--crema-soft);
  color: var(--marron);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.animal-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-animals-carousel {
  max-width: 580px;
  margin-inline: auto;
}

#featuredAnimalsGrid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

#featuredAnimalsGrid::-webkit-scrollbar {
  display: none;
}

#featuredAnimalsGrid .animal-card {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.featured-animals-dots {
  margin-top: 0.8rem;
}

.animal-photo {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--crema);
  overflow: hidden;
}

.animal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.animal-card:hover .animal-photo img {
  transform: scale(1.04);
}

.animal-species-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amarillo);
  color: var(--marron);
  border: 1.5px solid var(--marron);
  padding: 0.25rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
}

.animal-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.animal-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.animal-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.55rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--marron);
}

.req {
  color: var(--coral-deep);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--crema-soft);
  color: var(--marron);
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 120, 125, 0.16);
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  display: none;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background: var(--teal-soft);
  color: var(--teal-hover);
  border: 1px solid #b5d1d4;
}

.form-feedback.error {
  background: #fdeceb;
  color: var(--danger);
  border: 1px solid #f5c2be;
}

.highlight-banner {
  background: var(--amarillo-soft);
  border: 1.5px solid var(--amarillo);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--marron);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
}

.ethical-banner {
  background: var(--teal-soft);
  border: 1.5px solid #aac7ca;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  color: #27484b;
}

/* ==========================================================================
   Merch & Video Showcase
   ========================================================================== */
.merch-photo {
  aspect-ratio: 4 / 3.5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--crema);
  margin-bottom: 1rem;
  position: relative;
}

.merch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soon-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--marron);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.video-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-thumb {
  position: relative;
  aspect-ratio: 9 / 12;
  background: var(--marron);
  overflow: hidden;
  cursor: pointer;
}

.video-thumb img,
.video-thumb-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.video-thumb-media {
  display: block;
}

.video-card:hover .video-thumb img,
.video-card:hover .video-thumb-media {
  transform: scale(1.04);
  opacity: 0.8;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--marron);
  border: 2px solid var(--marron);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-card:hover .video-play-btn {
  transform: scale(1.08);
}

.video-metrics-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.metric-chip {
  background: rgba(77, 65, 55, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}

.video-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.about-copy-card {
  background: rgba(255, 255, 255, 0.48);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.about-copy-card > p:last-of-type {
  margin-bottom: 0;
}

.about-divider {
  border-top: 1.5px solid var(--border-strong);
  margin: 1.35rem 0 1.2rem;
}

.about-subtitle {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  margin-bottom: 0.75rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-photo-card {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.2;
  background: var(--crema);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-floating-tag {
  position: absolute;
  bottom: -14px;
  right: 16px;
  background: var(--amarillo);
  color: var(--marron);
  border: 2px solid var(--marron);
  box-shadow: 3px 4px 0 var(--marron);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.4rem 0 1.6rem;
}

.how-step {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.how-step strong {
  display: block;
  font-size: 0.92rem;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.how-step span {
  font-size: 0.86rem;
  color: var(--ink-muted);
  display: block;
  line-height: 1.4;
}

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

@media (max-width: 680px) {
  #featuredAnimalsGrid .animal-card {
    flex-basis: calc(100% - 1.35rem);
  }

  .about-copy-card {
    padding: 1.1rem;
    border-radius: var(--radius-md);
  }

  .about-actions .btn {
    width: 100%;
  }
  .about-floating-tag {
    position: static;
    display: inline-block;
    margin-top: 0.75rem;
  }
}

.ig-cta-card {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f9e4cd 0%, #fef4d6 100%);
  border-color: var(--marron);
}

@media (max-width: 780px) {
  .ig-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(56, 46, 38, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--marron);
  font-weight: 800;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: var(--marron);
  color: #fff;
}

.modal-content {
  padding: 1.75rem;
}

.medical-info-modal h2 {
  margin-bottom: 0.2rem;
}

.medical-info-modal p {
  line-height: 1.65;
}

.medical-info-subtitle {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.medical-info-highlight {
  color: var(--teal);
  font-weight: 800;
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.modal-animal-header {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.modal-animal-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--crema);
}

.modal-animal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-box {
  background: var(--crema-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.detail-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   Footer & Toast
   ========================================================================== */
.site-footer {
  background: var(--marron);
  color: #f3e8db;
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer h4 {
  color: var(--amarillo);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #e6d7c8;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: #c9b9aa;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  background: var(--marron);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4,
  .footer-grid,
  .page-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
    padding-right: 0;
  }

  .hero-strip-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--crema-soft);
    border-bottom: 1.5px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.35rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 2rem 0 1.25rem;
  }

  .page-hero .page-hero-grid {
    gap: 0.6rem;
  }

  .page-hero .page-hero-doodle {
    margin-top: 0.15rem;
  }

  .page-hero .page-hero-doodle img {
    width: 110px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .footer-grid,
  .modal-animal-header,
  .hero-strip {
    grid-template-columns: 1fr;
  }

  .section--pillars {
    padding-block: 2.25rem;
  }

  .pillars-header {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 1rem;
  }

  .pillars-header h2 {
    font-size: 1.65rem;
  }

  .pillar-card {
    flex-basis: calc(100% - 1.35rem);
    min-height: 205px;
    padding: 1.15rem;
  }

  .pillar-doodle {
    width: 66px;
    height: 56px;
  }

  .pillar-card h3 {
    font-size: 1.18rem;
  }

  .pillar-card p {
    font-size: 0.92rem;
  }

  .hero-stage {
    gap: 0.75rem;
    margin: 0.25rem auto -2px;
  }

  .stamp-badge {
    grid-column: 1 / -1;
    order: -1;
    margin: 0 auto 0.5rem;
    width: 108px;
    height: 108px;
  }

  .hero-strip-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
  }

  .hero-strip-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .sparkle-deco {
    display: none;
  }
}
