:root {
  --color-rosa: #f7d6df;
  --color-celeste: #d9eef8;
  --color-crema: #fff8f4;
  --color-azul: #5ba7c4;
  --color-azul-profundo: #2d5e73;
  --color-texto: #41505b;
  --color-claro: #ffffff;
  --color-linea: rgba(91, 167, 196, 0.16);
  --shadow-soft: 0 18px 45px rgba(91, 167, 196, 0.16);
  --shadow-card: 0 12px 30px rgba(91, 167, 196, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  font-family: "Nunito", "Poppins", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--color-texto);
  line-height: 1.6;
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f5 44%, #f9fcff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -10rem;
  right: -9rem;
  background: rgba(247, 214, 223, 0.82);
}

body::after {
  bottom: -13rem;
  left: -10rem;
  background: rgba(217, 238, 248, 0.92);
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  background: var(--color-claro);
}

main {
  overflow: hidden;
}

section {
  padding: 4.5rem 1.5rem;
  scroll-margin-top: 6rem;
}

.section-soft-rose {
  background: linear-gradient(
    180deg,
    rgba(247, 214, 223, 0.22),
    rgba(255, 255, 255, 0)
  );
}

.section-soft-blue {
  background: linear-gradient(
    180deg,
    rgba(217, 238, 248, 0.3),
    rgba(255, 255, 255, 0)
  );
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91, 167, 196, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(91, 167, 196, 0.1);
}

.header-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.logo-kangaroo,
.logo-mark {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
}

.logo-kangaroo {
  width: clamp(68px, 10vw, 110px);
}

.logo-mark {
  width: clamp(136px, 26vw, 190px);
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(45, 94, 115, 0.9);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(91, 167, 196, 0.12);
  color: var(--color-azul-profundo);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--color-linea);
  color: var(--color-azul-profundo);
  font: inherit;
  font-size: 1.25rem;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(91, 167, 196, 0.12);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(91, 167, 196, 0.28);
  outline: none;
}

.hero {
  position: relative;
  padding: 3.25rem 1.5rem 4.5rem;
  background:
    radial-gradient(circle at top right, rgba(247, 214, 223, 0.55), transparent 38%),
    radial-gradient(circle at 12% 78%, rgba(217, 238, 248, 0.76), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 244, 0.94));
}

.hero::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 4%;
  width: min(38vw, 360px);
  aspect-ratio: 1;
  border-radius: 38% 62% 58% 42% / 36% 37% 63% 64%;
  background: linear-gradient(
    135deg,
    rgba(91, 167, 196, 0.08),
    rgba(247, 214, 223, 0.24)
  );
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-azul-profundo);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(91, 167, 196, 0.18);
  box-shadow: 0 12px 28px rgba(91, 167, 196, 0.12);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-azul-profundo);
}

.hero p {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 1.04rem;
  color: rgba(59, 70, 80, 0.86);
}

.hero-actions {
  margin-top: 1.8rem;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.hero-note {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(45, 94, 115, 0.8);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b9db8, #66c1ad);
  color: var(--color-claro);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(91, 167, 196, 0.26);
  filter: saturate(1.04);
  outline: none;
}

.cta-button img,
.whatsapp-floating img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  filter: brightness(0) invert(1);
}

.hero-media {
  display: none;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  padding: 0.9rem;
  border-radius: 38px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 248, 244, 0.96)
  );
  border: 1px solid rgba(91, 167, 196, 0.16);
  box-shadow: 0 24px 46px rgba(91, 167, 196, 0.16);
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(91, 167, 196, 0.12);
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: none;
  animation: soft-float-primary 7s ease-in-out infinite;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.12;
  color: var(--color-azul-profundo);
}

.section-heading p {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 1rem;
  color: rgba(59, 70, 80, 0.76);
}

#productos {
  background: transparent;
}

.productos-carousel {
  --producto-card-width: 263px;
  position: relative;
  max-width: 1495px;
  margin: 0 auto;
  padding: 0 2.8rem;
  background: transparent;
}

.productos-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: transparent;
}

.productos-viewport::-webkit-scrollbar {
  display: none;
}

.productos-grid {
  width: max-content;
  margin: 0;
  padding: 0.35rem 0 1rem;
  display: flex;
  gap: 1.4rem;
  background: transparent;
}

.productos-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(91, 167, 196, 0.18),
    0 14px 30px rgba(91, 167, 196, 0.2);
  color: var(--color-azul-profundo);
  cursor: pointer;
  font: inherit;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.js-enabled .productos-arrow {
  display: inline-flex;
}

.productos-arrow[hidden] {
  display: none;
}

.productos-arrow:hover,
.productos-arrow:focus-visible {
  background: rgba(217, 238, 248, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(91, 167, 196, 0.3),
    0 18px 34px rgba(91, 167, 196, 0.24);
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.productos-arrow-prev {
  left: 0;
}

.productos-arrow-next {
  right: 0;
}

.producto-card {
  display: grid;
  flex: 0 0 clamp(210px, 72vw, var(--producto-card-width));
  align-content: start;
  gap: 1.1rem;
  padding: 1.25rem;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: var(--color-claro);
  border: 1px solid rgba(91, 167, 196, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 22px rgba(91, 167, 196, 0.08);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.producto-card:hover {
  transform: translateY(-6px) scale(1);
  opacity: 1;
  box-shadow: 0 22px 40px rgba(91, 167, 196, 0.22);
  border-color: rgba(91, 167, 196, 0.28);
}

.js-enabled .productos-carousel .producto-card {
  opacity: 0.6;
  transform: scale(0.97);
}

.js-enabled .productos-carousel .producto-card.is-near {
  opacity: 0.8;
  transform: scale(0.985);
}

.js-enabled .productos-carousel .producto-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 20px 38px rgba(91, 167, 196, 0.2);
  border-color: rgba(91, 167, 196, 0.3);
}

.js-enabled .productos-carousel.has-open-panel .producto-card {
  opacity: 0.76;
  transform: scale(0.98);
}

.js-enabled .productos-carousel.has-open-panel .producto-card.is-near {
  opacity: 0.88;
  transform: scale(0.99);
}

.js-enabled .productos-carousel.has-open-panel .producto-card.is-expanded {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 22px 42px rgba(91, 167, 196, 0.2);
  border-color: rgba(91, 167, 196, 0.34);
}

.producto-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(247, 214, 223, 0.86),
    rgba(217, 238, 248, 0.92)
  );
}

.producto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.producto-slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.producto-slideshow img.is-active {
  opacity: 1;
}

.producto-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-azul-profundo);
}

.producto-info {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.info-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  justify-self: start;
  min-width: 8.5rem;
  padding: 0.62rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: rgba(91, 167, 196, 0.12);
  box-shadow: inset 0 0 0 1px rgba(91, 167, 196, 0.18);
  color: var(--color-azul-profundo);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.js-enabled .info-toggle {
  display: inline-flex;
}

.info-toggle:hover,
.info-toggle:focus-visible {
  background: rgba(91, 167, 196, 0.18);
  box-shadow: inset 0 0 0 1px rgba(91, 167, 196, 0.3);
  transform: translateY(-1px);
  outline: none;
}

.info-toggle-icon {
  display: inline-flex;
  line-height: 1;
  transition: transform 0.25s ease;
}

.info-toggle[aria-expanded="true"] .info-toggle-icon {
  transform: rotate(180deg);
}

.js-enabled .producto-info-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease;
}

.js-enabled .producto-info-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.js-enabled .producto-info-panel > ul {
  min-height: 0;
  overflow: hidden;
}

.producto-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.97rem;
  color: rgba(59, 70, 80, 0.88);
}

.producto-card li {
  position: relative;
  padding-left: 1rem;
}

.producto-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-azul);
  transform: translateY(-50%);
}

.producto-placeholder {
  object-fit: cover;
}

.por-que-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.reason-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  min-height: 168px;
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(91, 167, 196, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.icon-bubble {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 24px;
  font-size: 1.9rem;
  color: var(--color-azul-profundo);
  background: linear-gradient(
    135deg,
    rgba(91, 167, 196, 0.2),
    rgba(247, 214, 223, 0.5)
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 24px rgba(91, 167, 196, 0.12);
}

.reason-text {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(45, 94, 115, 0.94);
  text-align: center;
}

.pasos {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.paso {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  min-height: 228px;
  padding: 1.6rem 1.35rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(247, 214, 223, 0.28)
  );
  border: 1px solid rgba(91, 167, 196, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.paso-badge {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0;
}

.paso-numero {
  min-width: 4.35rem;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f9fb8, #6eb8cf);
  color: var(--color-claro);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-indent: 0.08em;
  box-shadow: 0 14px 24px rgba(91, 167, 196, 0.2);
}

.paso p {
  margin: 0;
  max-width: 18ch;
  font-size: 1.02rem;
  font-weight: 700;
  color: rgba(59, 70, 80, 0.92);
  text-align: center;
}

.contacto-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(91, 167, 196, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.contacto-links {
  display: grid;
  gap: 0.85rem;
}

.contacto-links a,
.contacto-links span {
  display: block;
}

.contacto-links a {
  color: var(--color-azul-profundo);
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contacto-links a:hover,
.contacto-links a:focus-visible {
  opacity: 0.8;
  transform: translateY(-1px);
  outline: none;
}

.footer {
  padding: 2rem 1.5rem 3.8rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(59, 70, 80, 0.72);
}

.whatsapp-floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #45a6bb, #5ec48a);
  color: var(--color-claro);
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(76, 166, 155, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-floating:hover,
.whatsapp-floating:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 26px 46px rgba(76, 166, 155, 0.34);
  outline: none;
}

@keyframes soft-float-primary {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }

  50% {
    transform: rotate(-1deg) translateY(-8px);
  }
}

@keyframes soft-float-secondary {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}

@media (min-width: 980px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: 4rem 1.5rem 4.8rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    gap: 2.8rem;
  }

  .hero-content {
    margin: 0;
    text-align: left;
  }

  .hero p {
    margin: 0;
  }

  .hero-actions {
    justify-items: start;
  }

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

@media (min-width: 620px) {

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

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

  .paso {
    min-height: 100%;
    justify-items: center;
  }
}

@media (min-width: 768px) {
  .whatsapp-floating {
    display: none;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 4.75rem 1.5rem 5.4rem;
  }

  .por-que-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reason-card {
    min-height: 100%;
  }
}

@media (max-width: 979px) {
  .hero::after {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 1.2rem;
    left: 1.2rem;
    display: flex;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(91, 167, 196, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 767px) {
  .whatsapp-floating {
    max-width: calc(100% - 2rem);
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.8rem 1rem;
  }

  section,
  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .cta-button {
    width: 100%;
  }

  .productos-carousel {
    padding: 0 0.25rem;
  }

  .productos-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .productos-arrow-prev {
    left: -0.2rem;
  }

  .productos-arrow-next {
    right: -0.2rem;
  }

  .producto-card {
    flex-basis: clamp(210px, 78vw, var(--producto-card-width));
  }

  .contacto-card {
    padding: 1.6rem;
  }

  .paso {
    min-height: 210px;
  }

  .whatsapp-floating {
    width: calc(100% - 2rem);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
