:root {
  --crema: #fff6e8;
  --papel: #fffdf8;
  --tinta: #1f140c;
  --bosque: #1f7a4c;
  --bosque-oscuro: #145c38;
  --arcilla: #ff4d1c;
  --arcilla-sombra: #c92a00;
  --sol: #ffb703;
  --menta: #06d6a0;
  --cielo: #4cc9f0;
  --uva: #7b2cbf;
  --suave: #5c4a3a;
  --linea: rgba(31, 20, 12, 0.1);
  --sombra: 0 16px 36px rgba(31, 20, 12, 0.14);
  --radio: 28px;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Figtree, system-ui, sans-serif;
  color: var(--tinta);
  background:
    radial-gradient(circle at 8% -10%, rgba(255, 183, 3, 0.55), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(6, 214, 160, 0.28), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(76, 201, 240, 0.22), transparent 28%),
    var(--crema);
  line-height: 1.35;
}

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

a {
  color: inherit;
}

.saltar {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--tinta);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 40;
}

.saltar:focus {
  left: 1rem;
  top: 1rem;
}

.envoltorio {
  width: min(var(--max), calc(100% - 1.6rem));
  margin-inline: auto;
}

.encabezado {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 246, 232, 0.9);
  border-bottom: 3px solid rgba(255, 77, 28, 0.18);
}

.encabezado__fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.marca strong,
.marca--pie strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.marca__pata {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--bosque) url("/imagenes/favicon.svg?v=20260904n") center / cover no-repeat;
  flex-shrink: 0;
  box-shadow: 0 6px 0 var(--bosque-oscuro);
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--sol);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.nav a {
  text-decoration: none;
  font-weight: 800;
}

.nav__cta {
  background: var(--arcilla);
  color: #fff !important;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--arcilla-sombra);
}

.nav__redes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  margin-left: 0.2rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--linea);
}

.nav__redes-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--suave);
}

.nav__redes-fila {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nav .red {
  width: auto;
  height: 36px;
  padding: 0 0.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--tinta);
  background: #fff;
  border: 2px solid rgba(31, 20, 12, 0.12);
  box-shadow: 0 3px 0 rgba(31, 20, 12, 0.08);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.nav .red:hover {
  background: var(--bosque);
  color: #fff;
  border-color: var(--bosque);
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--bosque-oscuro);
}

.hero {
  padding: 2.6rem 0 2.2rem;
}

.hero--home {
  text-align: center;
  padding-bottom: 0.4rem;
}

.hero--home .lead {
  margin-inline: auto;
  max-width: 28rem;
}

.hero--home h1 {
  max-width: 11ch;
  margin-inline: auto;
}

.hero__especie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__especie-foto {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.otras-especies {
  margin: 0;
  font-weight: 700;
  color: var(--suave);
}

.otras-especies a {
  color: var(--bosque-oscuro);
  font-weight: 800;
}

.nav a[aria-current="page"] {
  color: var(--bosque-oscuro);
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.chip {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bosque-oscuro);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip--sol {
  background: var(--sol);
  color: var(--tinta);
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--suave);
  max-width: 22rem;
  margin: 0 0 1.4rem;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.boton--principal,
.boton-guia {
  background: var(--arcilla);
  color: #fff;
  box-shadow: 0 7px 0 var(--arcilla-sombra);
}

.boton--principal:hover,
.boton-guia:hover,
.nav__cta:hover {
  transform: translateY(2px);
  box-shadow: 0 5px 0 var(--arcilla-sombra);
}

.boton--grande {
  min-height: 3.4rem;
  padding-inline: 1.6rem;
  font-size: 1.1rem;
}

.collage {
  position: relative;
  min-height: 430px;
}

.collage__foto {
  margin: 0;
  position: absolute;
  background: #fff;
  padding: 0.45rem;
  border-radius: 28px;
  box-shadow: var(--sombra);
  rotate: -4deg;
}

.collage__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.collage__foto--gato {
  width: 56%;
  top: 0;
  right: 0;
  rotate: 5deg;
  border: 6px solid var(--sol);
}

.collage__foto--perro {
  width: 48%;
  left: 0;
  top: 32%;
  border: 6px solid var(--menta);
}

.collage__foto--conejo {
  width: 38%;
  right: 6%;
  bottom: 0;
  rotate: 8deg;
  border: 6px solid var(--cielo);
}

.burbuja {
  position: absolute;
  z-index: 2;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  box-shadow: var(--sombra);
}

.burbuja--sol {
  left: 42%;
  top: 8%;
  background: var(--sol);
}

.burbuja--menta {
  left: 8%;
  bottom: 12%;
  background: var(--menta);
  color: #073b2a;
}

.confianza {
  background: #fff;
  border-block: 4px solid var(--sol);
}

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

.confianza__fila p {
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icono {
  font-size: 1.25rem;
}

.seccion {
  padding: 3.2rem 0;
}

.seccion--ofertas {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 18%),
    var(--papel);
}

.seccion__cabecera {
  margin-bottom: 1.4rem;
}

.seccion__cabecera--centro {
  text-align: center;
}

#oferta-destacada {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.oferta {
  background: #fff;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  border: 4px solid #fff;
  outline: 3px solid color-mix(in srgb, var(--acento, var(--arcilla)) 55%, white);
}

.oferta__foto,
.portada-foto {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.oferta__cuerpo {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.oferta h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  max-width: 16ch;
}

.oferta__gancho {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--suave);
}

.oferta__pie {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.oferta .precio {
  font-size: 1.7rem;
  color: var(--acento, var(--arcilla));
}

.oferta .boton--principal {
  flex: 1;
  min-width: 12rem;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.2rem;
  margin-bottom: 1.4rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.chips button {
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(31, 20, 12, 0.12);
}

.chips button.esta-activo {
  background: var(--bosque);
  color: #fff;
  box-shadow: 0 4px 0 var(--bosque-oscuro);
}

.resultado-filtro {
  min-height: 0;
  margin: 0;
  color: var(--suave);
  text-align: center;
}

.proximas__titulo {
  margin: 2.4rem 0 1rem;
  text-align: center;
  font-size: 1.4rem;
}

.seccion--elegir {
  padding-top: 0.4rem;
}

.mascotas-grid--home .mascota-card {
  min-height: 340px;
}

.mascotas-grid--home img {
  height: 340px;
}

.pie__especies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.pie__especies a {
  color: var(--sol);
}

.mascotas-grid,
.catalogo {
  display: grid;
  gap: 1rem;
}

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

.mascota-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  min-height: 280px;
  box-shadow: var(--sombra);
  text-decoration: none;
}

.mascota-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mascota-card:hover img,
.tarjeta:hover .portada-foto,
.oferta:hover .oferta__foto {
  transform: scale(1.06);
}

.mascota-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--sol);
  color: var(--tinta);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 6px 0 #e09a00;
}

.catalogo {
  grid-template-columns: repeat(4, 1fr);
}

.tarjeta {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 20, 12, 0.1);
}

.tarjeta .portada-foto {
  height: 150px;
}

.tarjeta__cuerpo {
  padding: 0.8rem 0.9rem 1rem;
}

.tarjeta__meta {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--suave);
}

.tarjeta h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.tarjeta__pie {
  display: flex;
}

.boton-guia {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 800;
  width: 100%;
  text-align: center;
}

.boton-guia.esta-apagado {
  background: #efe4d4;
  color: var(--suave);
  box-shadow: none;
  pointer-events: none;
}

.precio {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
}

.seccion--pasos {
  padding: 1.4rem 0 3rem;
}

.pasos__lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pasos__lista li {
  background: #fff;
  border-radius: 24px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  box-shadow: var(--sombra);
}

.pasos__lista span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--menta);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.pasos__lista li:nth-child(2) span {
  background: var(--sol);
}

.pasos__lista li:nth-child(3) span {
  background: var(--cielo);
}

.pasos__lista strong {
  font-family: Fraunces, Georgia, serif;
}

.pie {
  background: #17110d;
  color: #ffe8c7;
  padding: 2.2rem 0 5.5rem;
}

.pie a {
  color: var(--sol);
  font-weight: 800;
}

.pie__grid {
  display: grid;
  gap: 0.8rem;
}

.marca--pie {
  margin: 0;
}

.pie__titulo {
  margin: 0 0 0.55rem;
  font-weight: 800;
}

.redes__fila {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.red-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 800;
  color: #ffe8c7 !important;
  background: transparent;
  border: 2px solid rgba(255, 232, 199, 0.28);
}

.red-btn:hover {
  background: #ffe8c7;
  color: var(--tinta) !important;
}

.red-btn--ig,
.red-btn--tt {
  background: transparent;
  box-shadow: none;
}

.pie__copy {
  text-align: center;
  color: rgba(255, 232, 199, 0.55);
  font-size: 0.85rem;
  margin: 1.4rem 0 0;
}

.barra-compra {
  display: none;
}

@media (max-width: 980px) {
  .hero__grid,
  .hero__especie,
  #oferta-destacada,
  .mascotas-grid,
  .catalogo,
  .pasos__lista,
  .confianza__fila {
    grid-template-columns: 1fr;
  }

  .catalogo {
    grid-template-columns: 1fr 1fr;
  }

  .hero__especie-foto {
    height: 240px;
  }

  @media (min-width: 641px) {
    .mascotas-grid--home {
      grid-template-columns: 1fr 1fr;
    }

    .mascotas-grid--home .mascota-card:last-child {
      grid-column: 1 / -1;
    }
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--crema);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 1.2rem;
    gap: 0.8rem;
  }

  .nav.es-abierto {
    display: flex;
  }

  .nav__cta {
    text-align: center;
  }

  .nav__redes {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .barra-compra {
    display: flex;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    background: var(--arcilla);
    color: #fff;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    min-height: 3.3rem;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 0 var(--arcilla-sombra);
  }
}

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

  .hero {
    padding-top: 1.6rem;
  }

  .oferta .boton--principal {
    min-width: 100%;
  }
}
