/* ==========================================================================
   Estilos Específicos de la Portada (Front Page) Techno Diet
   ========================================================================= */

:root {
  --td-home-content-max: 1500px;
  --td-home-outer-gutter: 42px;
  --td-home-side-pad: max(var(--td-home-outer-gutter), calc((100vw - var(--td-home-content-max)) / 2));
}

.home-main {
  padding-top: 0 !important;
  min-height: auto;
}

.site-header .nav-shell {
  width: min(var(--td-home-content-max), calc(100% - 70px));
}

/* --------------------------------------------------------------------------
   1. Hero Principal
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 800px;
  height: auto;
  max-height: 980px;
  overflow: hidden;
  color: var(--td-color-surface);
  background: var(--td-color-green-deep);
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(90deg, rgba(3,9,6,0.94) 0%, rgba(3,9,6,0.76) 34%, rgba(3,9,6,0.15) 65%, rgba(3,9,6,0.12)), url('../images/hero/hero-ground-v2.webp');
  background-size: cover;
  background-position: center;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 44%, transparent 0 24%, rgba(1,7,4,0.2) 65%), linear-gradient(0deg, rgba(2,8,5,0.55), transparent 35%);
}

.hero-video-bg,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-video-bg {
  z-index: -3;
  object-fit: cover;
}

.hero-video-overlay {
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 9, 6, 0.84) 0%, rgba(3, 9, 6, 0.64) 38%, rgba(3, 9, 6, 0.26) 72%, rgba(3, 9, 6, 0.32) 100%);
}

.hero-mobile-background {
  display: none;
}

.hero-inner {
  position: relative;
  width: min(var(--td-home-content-max), calc(100% - 86px));
  min-height: 800px;
  height: auto;
  padding-bottom: 32px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(570px, 42%);
  padding-top: clamp(150px, 18vh, 205px);
}

.hero h1 {
  margin: 0;
  font: 600 clamp(3.45rem, 4.85vw, 5.7rem)/0.91 'Playfair Display', Georgia, serif;
  letter-spacing: -0.055em;
  color: var(--td-color-surface);
}

.hero-copy .eyebrow {
  margin: 0 0 22px;
  color: var(--td-color-gold);
  font: 800 0.66rem/1.2 'Manrope', sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--td-color-gold);
  font-style: normal;
}

.hero-text {
  max-width: 500px;
  margin: 25px 0 0;
  color: #d5d9d5;
  font-size: 0.91rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.button-primary {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 99px;
  background-color: #234a39;
  color: var(--td-color-surface);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.button-primary:hover {
  background-color: var(--td-color-green-dark);
}

.button.button-link {
  min-height: auto;
  padding: 8px 0;
  color: #e0b252;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--td-color-gold);
  border-radius: 0;
  text-decoration: none;
  font: 700 0.72rem/1 'Manrope', sans-serif;
}

.button.button-link:hover,
.button.button-link:focus-visible {
  color: var(--td-color-surface);
  border-bottom-color: var(--td-color-surface);
  transform: none;
}

.hero-benefits {
  display: flex;
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 145px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-benefits li:first-child {
  padding-left: 0;
}

.hero-benefits li:last-child {
  border: 0;
}

.hero-benefits svg {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid var(--td-color-gold);
  border-radius: 50%;
  fill: none;
  stroke: var(--td-color-gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-benefits span {
  color: #d7ddd8;
  font-size: 0.57rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-benefits b {
  display: block;
  color: var(--td-color-surface);
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: 1;
}

.hero-animal,
.hero-bag {
  position: absolute;
  pointer-events: none;
}

.hero-dog {
  z-index: 2;
  width: min(52vw, 800px);
  right: 16%;
  top: 5%;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.45));
}

.hero-cat {
  z-index: 3;
  width: min(31vw, 470px);
  right: 2%;
  top: 27%;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.48));
}

.hero-products {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.hero-bag {
  object-fit: contain;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.62));
}

.bag-main {
  width: min(18vw, 270px);
  height: 45%;
  right: 25%;
  bottom: -1%;
}

.bag-premium {
  width: min(17vw, 250px);
  height: 42%;
  right: 11%;
  bottom: 0;
}

.bag-amice {
  width: min(14vw, 210px);
  height: 40%;
  right: 39%;
  bottom: 0;
  z-index: 5;
}

.bag-silver {
  width: min(13vw, 190px);
  height: 32%;
  right: 0;
  bottom: 1%;
}

.scroll-cue {
  position: absolute;
  z-index: 9;
  right: 30px;
  top: 50%;
  width: 20px;
  height: 82px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.scroll-cue::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--td-color-gold);
}

.scroll-cue span {
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--td-color-surface);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   2. Bento Grid de Gamas
   -------------------------------------------------------------------------- */
.ranges {
  padding: 72px var(--td-home-side-pad);
  background-color: var(--td-color-cream);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--td-font-serif);
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--td-color-green-deep);
}

.section-heading .eyebrow {
  margin: 0 0 22px;
  color: #c89a42;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 460px;
  margin: 0 0 4px;
  color: var(--td-color-text-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  grid-template-rows: 260px 235px;
  gap: 10px;
}

.range-card,
.all-ranges {
  position: relative;
  overflow: hidden;
  border-radius: var(--td-radius-md);
}

.range-card {
  padding: 25px;
  color: var(--td-color-surface);
  isolation: isolate;
  transition: transform var(--td-transition-normal), box-shadow var(--td-transition-normal);
}

.range-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--td-shadow-elevated);
}

.range-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.18), transparent 65%);
}

.range-copy {
  position: relative;
  z-index: 2;
  width: 57%;
}

.range-copy small {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;

}

.range-copy h3 {
  margin: 5px 0 14px;
  font-family: var(--td-font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--td-color-surface);
}

.range-copy p {
  margin: 0 0 20px;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #f4f0e8;
}

.range-copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 35px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--td-radius-pill);
  color: var(--td-color-surface);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--td-transition-fast), border-color var(--td-transition-fast), color var(--td-transition-fast), transform var(--td-transition-fast);
}

.range-copy a:hover,
.range-copy a:focus-visible {
  border-color: var(--td-color-gold);
  background-color: var(--td-color-gold);
  color: #102018;
  transform: translateY(-2px);
}

.range-card > img {
  position: absolute;
  z-index: 1;
  right: -1%;
  bottom: -3%;
  width: 47%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.3));
  transition: transform var(--td-transition-slow);
}

.ranges .range-card.range-super > img,
.ranges .range-card.range-premium > img,
.ranges .range-card.range-silver > img,
.ranges .range-card.range-amice-premium > img {
  bottom: 3%;
}

.ranges .range-card.range-premium > img,
.ranges .range-card.range-silver > img {
  height: 100%;
  bottom: -1%;
}

.range-card:hover > img {
  transform: translateY(-7px) scale(1.035);
}

.range-super {
  grid-row: span 1;
  background: linear-gradient(135deg, #0b231a, #2f473a);
}

.range-premium {
  background: linear-gradient(135deg, #315747, #708275);
}

.range-silver {
  background: linear-gradient(135deg, #41484a, #747a7d);
}

.range-amice-premium {
  background: linear-gradient(135deg, #99743a, #c0a66b);
}

.range-amice-economico {
  background: linear-gradient(135deg, #a0702f, #c89a4a);
}

.range-cats {
  grid-column: span 2;
  background: linear-gradient(135deg, #35182a, #664052);
}

.range-cats > img {
  right: 6%;
  width: 34%;
  height: 100%;
}

.range-card__cat-packs {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: 3%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 52%;
  height: 90%;
  pointer-events: none;
  transition: transform var(--td-transition-slow);
}

.range-card__cat-packs img {
  width: 38%;
  height: 100%;
  margin-left: -7%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.3));
}

.range-card__cat-packs img:nth-child(2) {
  width: 42%;
  height: 110%;
}

.range-card:hover .range-card__cat-packs {
  transform: translateY(-7px) scale(1.035);
}

.all-ranges {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px;
  background-color: #e9e4d8;
  color: #405044;
  text-decoration: none;
}

.all-ranges small {
  color: #817b6d;
  font: 700 0.62rem/1 var(--td-font-sans);
  text-transform: uppercase;
}

.all-ranges strong {
  margin-top: 10px;
  font: 700 1.4rem/1.08 var(--td-font-sans);
  text-transform: uppercase;
}

.all-ranges > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 22px;
  border: 1px solid #899084;
  border-radius: 50%;
  transition: background-color var(--td-transition-fast), border-color var(--td-transition-fast), transform var(--td-transition-fast);
}

.all-ranges i {
  position: absolute;
  right: -5px;
  bottom: -30px;
  color: #778458;
  font: 400 8rem/1 Georgia, serif;
  opacity: 0.55;
  transform: rotate(-25deg);
}

.all-ranges:hover > span,
.all-ranges:focus-visible > span {
  border-color: var(--td-color-gold-dark);
  background-color: var(--td-color-gold);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   3. Productos Destacados
   -------------------------------------------------------------------------- */
.featured-products {
  display: grid;
  grid-template-columns: minmax(215px, 255px) minmax(0, 1fr);
  gap: 28px;
  padding: 72px var(--td-home-side-pad) 82px;
  background-color: var(--td-color-cream-soft);
  border-top: 1px solid var(--td-color-border);
}

.products-intro {
  align-self: start;
  padding: 17px 8px 0 2px;
}

.products-intro h2 {
  max-width: 270px;
  margin: 0;
  font-family: var(--td-font-serif);
  font-size: clamp(2.2rem, 3vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.products-intro > p {
  max-width: 255px;
  margin: 21px 0 27px;
  color: var(--td-color-text-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.products-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--td-radius-pill);
  background-color: var(--td-color-green);
  color: var(--td-color-surface);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(23, 55, 43, 0.18);
  transition: background-color var(--td-transition-fast), transform var(--td-transition-fast);
}

.products-cta:hover {
  background-color: var(--td-color-green-dark);
  transform: translateY(-2px);
}

.product-slider {
  min-width: 0;
}

.product-slider__controls {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   4. Filosofía de Ingredientes
   -------------------------------------------------------------------------- */
.ingredients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 460px;
  background: #08150f;
  color: var(--td-color-surface);
  overflow: hidden;
}

.ingredients-photo {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.ingredients-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, #08150f 100%), linear-gradient(0deg, rgba(2, 9, 5, 0.32), transparent 45%);
  pointer-events: none;
}

.ingredients-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ingredient-note {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  background: rgba(8, 21, 15, 0.72);
  backdrop-filter: blur(8px);
  color: #f7f3e9;
  font: 700 0.52rem/1 'Manrope', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ingredient-note::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--td-color-gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 66, 0.18);
}

.ingredient-note--protein { left: 7%; top: 13%; }
.ingredient-note--rice { left: 6%; bottom: 14%; }
.ingredient-note--oil { right: 7%; top: 18%; }

.ingredients-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(42px, 5vw, 92px) 52px 54px;
}

.ingredients-copy::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(200, 154, 66, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.ingredients-copy .eyebrow {
  margin-bottom: 16px;
  color: var(--td-color-gold);
  font: 800 0.66rem/1.2 'Manrope', sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ingredients-copy h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--td-font-serif);
  font-size: clamp(2.35rem, 2.6vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.043em;
  color: var(--td-color-surface);
}

.ingredients-lead {
  max-width: 590px;
  margin: 19px 0 28px;
  color: #c8d0ca;
  font-size: 0.78rem;
  line-height: 1.65;
}

.ingredient-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  padding: 25px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.ingredient-values li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ingredient-values svg {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  padding: 8px;
  border: 1px solid rgba(200, 154, 66, 0.78);
  border-radius: 50%;
  fill: none;
  stroke: var(--td-color-gold);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ingredient-values span {
  color: #ced5d0;
  font-size: 0.6rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.ingredient-values b {
  display: block;
  color: var(--td-color-surface);
  font-family: 'Manrope', sans-serif;
}

/* --------------------------------------------------------------------------
   5. Filosofía de Marca y Proceso
   -------------------------------------------------------------------------- */
.philosophy {
  display: grid;
  grid-template-columns: 31% 25% 44%;
  min-height: 500px;
  background: #17372b;
  color: var(--td-color-surface);
  overflow: hidden;
}

.philosophy-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 66px 42px;
  background: linear-gradient(135deg, #17372b, #1d4032);
}

.philosophy-copy::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(90deg, #000, transparent);
  pointer-events: none;
}

.philosophy-copy .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 19px;
  color: var(--td-color-gold);
  font: 800 0.66rem/1.2 'Manrope', sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.philosophy-copy h2 {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0;
  font-family: var(--td-font-serif);
  font-size: clamp(2.15rem, 2.3vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.042em;
  color: var(--td-color-surface);
}

.philosophy-copy h2 em {
  color: var(--td-color-gold);
  font-style: normal;
}

.philosophy-copy > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 23px 0 0;
  color: #ccd5cf;
  font-size: 0.76rem;
  line-height: 1.68;
}

.philosophy-pillars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-width: 0;
  padding: 58px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
  margin: 0;
  background-color: #1b3d30;
}

.philosophy-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.philosophy-pillars svg {
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  padding: 9px;
  border: 1px solid rgba(200, 154, 66, 0.82);
  border-radius: 50%;
  fill: none;
  stroke: var(--td-color-gold);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.philosophy-pillars h3 {
  margin: 2px 0 6px;
  color: var(--td-color-surface);
  font: 700 0.63rem/1.25 'Manrope', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.philosophy-pillars p {
  max-width: 235px;
  margin: 0;
  color: #bcc8c0;
  font-size: 0.61rem;
  line-height: 1.55;
}

.philosophy-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.philosophy-visual::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #1b3d30 0, transparent 17%), linear-gradient(0deg, rgba(5, 14, 9, 0.55), transparent 44%);
  pointer-events: none;
}

.philosophy-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 57% center;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.philosophy:hover .philosophy-visual img { transform: scale(1.025); }

.philosophy-visual figcaption {
  z-index: 2;
  position: absolute;
  left: 8%;
  right: 7%;
  bottom: 27px;
  display: flex;
  gap: 9px;
}

.philosophy-visual figcaption span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  background: rgba(8, 21, 15, 0.5);
  backdrop-filter: blur(7px);
  color: var(--td-color-surface);
  font: 700 0.49rem/1 'Manrope', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. Otras Especies
   -------------------------------------------------------------------------- */
.other-species {
  display: grid;
  grid-template-columns: minmax(210px, 255px) repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 76px var(--td-home-side-pad) 84px;
  background-color: var(--td-color-cream);
}

.species-intro { align-self: center; padding: 0 28px 0 2px; }
.species-intro .eyebrow { margin-bottom: 17px; color: var(--td-color-gold); font: 800 0.66rem/1.2 'Manrope', sans-serif; letter-spacing: 0.17em; text-transform: uppercase; }
.species-intro h2 { margin: 0; font: 600 clamp(2.25rem, 2.8vw, 3.25rem)/1 'Playfair Display', Georgia, serif; letter-spacing: -0.045em; }
.species-intro > p { max-width: 220px; margin: 20px 0 0; color: var(--td-color-text-soft); font-size: 0.72rem; line-height: 1.65; }

.species-card { position: relative; min-height: 310px; margin: 0; overflow: hidden; border-radius: 13px; background: #263d30; color: var(--td-color-surface); isolation: isolate; box-shadow: 0 14px 34px rgba(25, 38, 30, 0.1); }
.species-card::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 17, 11, 0.88) 0, rgba(7, 17, 11, 0.56) 43%, rgba(7, 17, 11, 0.06) 76%), linear-gradient(0deg, rgba(5, 13, 8, 0.55), transparent 45%); }
.species-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.species-card:hover img { transform: scale(1.045); }
.species-card__copy { position: absolute; z-index: 2; inset: auto 24px 25px; max-width: 245px; }
.species-card__copy small { color: #e1b55f; font: 700 0.53rem/1 'Manrope', sans-serif; letter-spacing: 0.11em; text-transform: uppercase; }
.species-card__copy h3 { margin: 8px 0 9px; color: var(--td-color-surface); font: 600 clamp(1.45rem, 1.65vw, 2rem)/1 'Playfair Display', Georgia, serif; letter-spacing: -0.025em; }
.species-card__copy p { max-width: 205px; margin: 0; color: #d7ddd8; font-size: 0.62rem; line-height: 1.52; }
.species-card__copy a { display: inline-flex; align-items: center; justify-content: center !important; gap: 0 !important; width: 35px; height: 35px; min-width: 0; min-height: 0; margin-top: 18px; padding: 0; overflow: visible !important; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; background: transparent; color: var(--td-color-surface); font-size: 0.85rem; text-decoration: none; transition: background 0.25s, transform 0.25s !important; }
.species-card__copy a span { display: none !important; }
.species-card__copy a:hover, .species-card__copy a:focus-visible { width: 35px !important; transform: translateX(3px); background: transparent; }

@media (max-width: 1100px) {
  .other-species { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 28px; }
  .species-intro { grid-column: 1 / -1; max-width: 620px; padding: 0 0 22px; }
  .species-intro > p { max-width: 420px; }
  .species-card { min-height: 300px; }
}

@media (max-width: 720px) {
  .other-species { grid-template-columns: 1fr; padding: 60px 14px 68px; }
  .species-card { min-height: 300px; }
  .species-card__copy { inset: auto 22px 23px; }
  .species-card__copy h3 { font-size: 1.85rem; }
  .species-card__copy p { font-size: 0.67rem; }
}

/* --------------------------------------------------------------------------
   7. Distribuidores en Portada
   -------------------------------------------------------------------------- */
.distributors {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background-color: #06130d;
  color: var(--td-color-surface);
  isolation: isolate;
}

.distributors-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.distributors::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,13,8,0.97) 0%, rgba(4,17,10,0.9) 36%, rgba(4,15,9,0.36) 65%, rgba(3,10,6,0.18)), linear-gradient(0deg, rgba(3,11,7,0.54), transparent 50%);
}

.distributors::after {
  content: '';
  position: absolute;
  top: -280px;
  right: 8%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(200, 154, 66, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.distributors-content {
  width: min(var(--td-home-content-max), calc(100% - 84px));
  min-height: 610px;
  margin: auto;
  padding: 76px 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.distributors-content h2 {
  max-width: 670px;
  margin: 0;
  font: 600 clamp(3rem, 4.2vw, 5.2rem)/0.96 'Playfair Display', Georgia, serif;
  letter-spacing: -0.05em;
  color: var(--td-color-surface);
}

.distributors-content .eyebrow {
  margin-bottom: 19px;
  color: var(--td-color-gold);
  font: 800 0.66rem/1.2 'Manrope', sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.distributors-lead {
  max-width: 580px;
  margin: 24px 0 29px;
  color: #ced6d0;
  font-size: 0.82rem;
  line-height: 1.68;
}

.distributor-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 11px 16px;
  margin: 0 0 31px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.distributor-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #edf0ed;
  font: 700 0.59rem/1.25 'Manrope', sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.distributor-benefits svg {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  padding: 7px;
  border: 1px solid rgba(200, 154, 66, 0.76);
  border-radius: 50%;
  fill: none;
  stroke: var(--td-color-gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.distributors-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 20px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 99px;
  background-color: var(--td-color-gold);
  color: #102018;
  text-decoration: none;
  font: 800 0.68rem/1 'Manrope', sans-serif;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  transition: transform var(--td-transition-fast), background-color var(--td-transition-fast);
}

.distributors-cta span { font-size: 1rem; }

.distributors-cta:hover {
  transform: translateY(-3px);
  background-color: var(--td-color-gold-light);
}

/* --------------------------------------------------------------------------
   8. CTA Final de Conversión
   -------------------------------------------------------------------------- */
.final-cta {
  padding: 40px var(--td-home-side-pad) 85px;
  background-color: var(--td-color-cream);
}

.final-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 235px);
  grid-template-areas:
    'eyebrow actions'
    'title actions'
    'lead actions';
  align-items: center;
  column-gap: 72px;
  min-height: 338px;
  padding: 67px 70px;
  border-radius: 18px;
  background: linear-gradient(125deg, #17372b, #234a39);
  color: var(--td-color-surface);
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(23, 55, 43, 0.14);
}

.final-cta__inner::before,
.final-cta__inner::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(216, 170, 87, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta__inner::before {
  top: -205px;
  right: -8px;
}

.final-cta__inner::after {
  right: 150px;
  bottom: -270px;
}

.final-cta__inner > * {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 15px;
  color: var(--td-color-gold);
  font-size: 0.53rem;
  letter-spacing: 0.14em;
}

.final-cta h2 {
  grid-area: title;
  max-width: 780px;
  margin: 0;
  font-family: var(--td-font-serif);
  font-size: clamp(2.9rem, 4.2vw, 5rem);
  line-height: 0.98;
  color: var(--td-color-surface);
}

.final-cta__lead {
  grid-area: lead;
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.65;
}

.final-cta__actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 0;
  align-self: center;
}

.final-cta__actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 0 19px;
  border-radius: var(--td-radius-pill);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  transition: transform var(--td-transition-fast), background-color var(--td-transition-fast);
}

.final-cta__primary {
  background-color: var(--td-color-gold);
  color: #102018;
}

.final-cta__secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--td-color-surface);
}

.final-cta__actions a:hover {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. Media Queries Responsive de la Portada
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-inner { width: calc(100% - 54px); }
  .hero-dog { right: 10%; width: 59vw; }
  .hero-cat { right: -7%; width: 35vw; }
  .bento-grid { grid-template-columns: 1fr 1fr 1fr; }
  .range-cats { grid-column: span 1; }
  .featured-products { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { height: auto; min-height: 980px; }
  .hero-inner { min-height: 980px; }
  .hero-copy { width: 64%; padding-top: 135px; }
  .hero-visual { inset: 0 0 0 22%; }
  .hero-benefits { position: absolute; top: 815px; left: 0; }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); }
  .product-slider__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
  }
  .product-slider__button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(23, 55, 43, 0.22);
    border-radius: 50%;
    background: transparent;
    color: var(--td-color-green);
    font-size: 1.1rem;
    cursor: pointer;
  }
  .product-slider__button:hover,
  .product-slider__button:focus-visible {
    border-color: var(--td-color-green);
    background: var(--td-color-green);
    color: var(--td-color-surface);
  }
  .product-slider__button:disabled {
    opacity: 0.35;
    cursor: default;
  }
  .product-slider__status {
    min-width: 48px;
    color: var(--td-color-text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
  }
  .ingredients { grid-template-columns: 1fr; }
  .ingredients-photo { min-height: clamp(300px, 52vw, 460px); }
  .philosophy { grid-template-columns: 1fr 1fr; }
  .philosophy-visual { grid-column: 1 / -1; min-height: clamp(320px, 48vw, 500px); }
  .other-species { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .species-intro { grid-column: 1 / -1; }
  .final-cta__inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'eyebrow' 'title' 'lead' 'actions';
    gap: 0;
    padding: 58px 48px;
  }
  .final-cta__actions { margin-top: 28px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero-actions {
    width: max-content;
    flex-wrap: nowrap;
    gap: clamp(14px, 2.4vw, 24px);
  }

  .hero-actions .button {
    flex: none;
    white-space: nowrap;
  }

  .hero--has-video .hero-video-products {
    position: relative;
    inset: auto;
    width: 64%;
    height: 230px;
    margin-top: 22px;
  }

  .hero--has-video .hero-video-products .hero-products {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(4px, 1.5vw, 14px);
  }

  .hero--has-video .hero-video-products .hero-bag {
    position: static;
    flex: 0 1 31%;
    width: auto;
    height: 100%;
    max-width: 145px;
    object-fit: contain;
  }

  .featured-products {
    display: block;
    padding: 48px 27px 64px;
  }

  .products-intro { padding: 0; }

  .products-intro .eyebrow {
    max-width: none;
    margin: 0 0 16px;
    color: #c89a42;
    font: 800 0.66rem/1.2 'Manrope', Arial, sans-serif;
    letter-spacing: 0.17em;
    text-transform: uppercase;
  }

  .products-intro h2 {
    max-width: 590px;
    font-size: clamp(2.6rem, 6vw, 3.35rem);
  }

  .products-intro > p:not(.eyebrow) {
    max-width: 520px;
    margin: 20px 0 24px;
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .product-grid {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-bottom: 15px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product-card {
    scroll-snap-align: start;
  }

  .product-slider--items-3 .product-card {
    flex: 0 0 clamp(150px, calc((100% - 20px) / 3), 230px);
  }

  .product-slider--items-4 .product-card {
    flex: 0 0 clamp(140px, calc((100% - 30px) / 4), 190px);
  }

  .product-visual {
    height: clamp(235px, 34vw, 285px);
  }
}

@media (max-width: 600px) {
  .ranges { padding-inline: 14px; }
  .hero { min-height: 900px; }
  .hero-inner { min-height: 900px; }
  .hero--has-video .hero-video-bg { display: none; }
  .hero--has-video .hero-mobile-background {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero-mobile-image);
    background-position: 52% center;
    background-size: cover;
  }
  .hero--has-video .hero-video-overlay {
    background: linear-gradient(180deg, rgba(3, 9, 6, 0.58) 0%, rgba(3, 9, 6, 0.18) 45%, rgba(3, 9, 6, 0.52) 100%);
  }
  .hero--has-video .hero-video-products { display: none; }
  .hero-copy { width: 100%; padding-top: 116px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 15px; }
  .hero-benefits {
    position: static;
    display: grid;
    gap: 10px;
    margin: 34px 0 0;
  }
  .hero-benefits li { min-width: 0; padding: 0; border: 0; }
  .hero-visual { inset: 275px -45px 0 0; }
  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
  .section-heading .eyebrow { margin-bottom: 18px; }
  .section-heading > p {
    max-width: none;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
  }
  .bento-grid { display: flex; flex-direction: column; }
  .featured-products {
    display: block;
    padding: 38px 20px 52px;
  }
  .products-intro { padding: 0; }
  .products-intro .eyebrow {
    max-width: none;
    margin: 0 0 16px;
    color: #c89a42;
    font: 800 0.66rem/1.2 'Manrope', Arial, sans-serif;
    letter-spacing: 0.17em;
    text-transform: uppercase;
  }
  .products-intro h2 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 3rem);
  }
  .products-intro > p:not(.eyebrow) {
    max-width: none;
    margin: 20px 0 24px;
    font-size: 1rem;
    line-height: 1.6;
  }
  .product-slider__controls { margin-top: 24px; }
  .product-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 15px; margin-top: 12px; }
  .product-card { flex: 0 0 72vw; scroll-snap-align: start; }
  .ingredient-note {
    max-width: calc(100% - 32px);
    padding: 7px 10px;
    font-size: clamp(0.47rem, 2.25vw, 0.52rem);
  }
  .ingredient-note--protein { left: 6%; top: 9%; }
  .ingredient-note--oil { top: 25%; right: 6%; }
  .ingredient-note--rice { left: 6%; bottom: 12%; }
  .philosophy { display: block; }
  .ingredients-copy { padding: 48px 22px 56px; }
  .ingredients-copy h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .ingredient-values { gap: 16px 10px; }
  .ingredient-values li { gap: 9px; }
  .ingredient-values svg { flex-basis: 34px; width: 34px; height: 34px; padding: 7px; }
  .philosophy-copy { padding: 56px 22px 50px; }
  .philosophy-pillars { padding: 42px 22px 48px; }
  .philosophy-visual { min-height: 330px; }
  .philosophy-visual figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .philosophy-visual figcaption span { white-space: nowrap; }
  .other-species { grid-template-columns: 1fr; }
  .final-cta { padding: 28px 20px 55px; }
  .final-cta__inner { padding: 45px 24px; }
  .final-cta h2 { font-size: clamp(2.45rem, 10vw, 3.6rem); }
  .distributors-content { padding-block: 65px; }
  .distributor-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ingredient-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ingredient-values li {
    min-width: 0;
  }
}

/* Reading copy needs a comfortable size on narrow screens. */
@media (max-width: 760px) {
  .hero-text,
  .section-heading > p,
  .products-intro > p,
  .philosophy-copy > p:last-child,
  .species-intro > p {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .range-copy p,
  .philosophy-pillars p,
  .species-card__copy p {
    font-size: 1rem;
    line-height: 1.55;
  }
}
