:root {
  --pink: #DC48D7;
  --violet: #D21CEA;
  --orange: #F6AD46;
  --salmon: #E2BF74;
  --ink: #2b1235;
  --text: #fffafc;
  --muted: rgba(255, 250, 252, 0.78);
  --glass-bg: rgba(255, 255, 255, 0.16);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.38);
  --shadow: 0 24px 70px rgba(74, 12, 87, 0.24);
  --radius: 28px;
  --container: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 46%, rgba(246, 173, 70, 0.2) 0%, rgba(210, 28, 234, 0.2) 100%),
    linear-gradient(155deg, #E2BF74 0%, rgba(220, 72, 215, 0.9) 56%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 72%);
}

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

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

.glass-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 0;
  width: 100%;
  padding: 0 16px;
}

.navbar {
  width: min(1080px, 100%);
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 50px rgba(74, 12, 87, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(43, 18, 53, 0.24));
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 250, 252, 0.9);
  font-weight: 700;
  font-size: 0.93rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, rgba(246, 173, 70, 0.34), rgba(220, 72, 215, 0.34));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  place-items: center;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.section {
  min-height: 100vh;
  padding: 116px 0 86px;
  display: grid;
  place-items: center;
}

.section-inner,
.hero-content {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  text-align: center;
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.logo-wrap {
  position: relative;
  width: min(390px, 78vw);
  aspect-ratio: 1.45 / 1;
  display: grid;
  place-items: center;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 12% 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 173, 70, 0.38), rgba(220, 72, 215, 0.04) 66%);
  filter: blur(8px);
}

.hero-logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(43, 18, 53, 0.28));
}

.eyebrow {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 7vw, 5.25rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 16px 36px rgba(43, 18, 53, 0.2);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy,
.about-copy p {
  max-width: 700px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.category-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.category-card {
  min-height: 128px;
  border-radius: 22px;
  padding: 18px 12px;
  display: grid;
  place-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-card span {
  line-height: 1.2;
}

.category-card-text {
  display: grid;
  gap: 4px;
}

.category-card small {
  max-width: 15ch;
  color: rgba(255, 250, 252, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.category-card i {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--violet));
  box-shadow: 0 12px 26px rgba(210, 28, 234, 0.26);
}

.category-card i::after,
.social-card i::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 900;
}

html.fa-ready .category-card i::after,
html.fa-ready .social-card i::after {
  content: "";
}

.category-card:hover,
.category-card:focus-visible,
.social-card:hover,
.social-card:focus-visible,
.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.68);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(246, 173, 70, 0.16), rgba(220, 72, 215, 0.16));
}

.catalog {
  min-height: auto;
}

.catalog-panel {
  width: 100%;
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.catalog-heading h2 {
  margin-bottom: 0;
}

.catalog-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.catalog-breadcrumb {
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.back-link:hover,
.back-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.catalog-category-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.catalog-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.catalog-category-card,
.product-card {
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.catalog-category-card {
  min-height: 210px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.catalog-category-card:hover,
.catalog-category-card:focus-visible,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.68);
}

.catalog-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.catalog-icon {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(246, 173, 70, 0.92), rgba(220, 72, 215, 0.92), rgba(210, 28, 234, 0.92));
  box-shadow: 0 16px 32px rgba(74, 12, 87, 0.18);
}

.catalog-icon::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 900;
}

html.fa-ready .catalog-icon::after {
  content: "";
}

.catalog-count {
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(43, 18, 53, 0.82);
  font-size: 0.76rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.76);
}

.catalog-category-card h3,
.product-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
}

.catalog-category-card p,
.product-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.catalog-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 50% 40%, rgba(246, 173, 70, 0.28), transparent 62%);
}

.product-media img,
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-media-button {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  display: block;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.product-media.is-missing {
  display: grid;
  place-items: center;
  padding: 20px;
}

.product-media.is-missing::before,
.modal-media.is-missing::before {
  content: "Imagen no disponible";
  border-radius: 18px;
  padding: 14px 16px;
  color: rgba(43, 18, 53, 0.76);
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
}

.product-body {
  padding: 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-price,
.modal-price {
  margin: 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
}

.product-description {
  display: -webkit-box;
  min-height: 4.7em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.secondary-action,
.whatsapp-action {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.14);
}

.whatsapp-action {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.88), rgba(246, 173, 70, 0.42));
}

.secondary-action:hover,
.secondary-action:focus-visible,
.whatsapp-action:hover,
.whatsapp-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(246, 173, 70, 0.16), rgba(220, 72, 215, 0.16));
}

.empty-state {
  border-radius: 22px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
}

.product-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 18, 53, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(43, 18, 53, 0.26);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  transform: rotate(8deg) scale(1.04);
  background: rgba(43, 18, 53, 0.42);
}

.modal-media {
  min-height: 440px;
  background:
    radial-gradient(circle at 50% 44%, rgba(246, 173, 70, 0.3), transparent 62%),
    rgba(255, 255, 255, 0.12);
}

.modal-media.is-missing {
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-info {
  padding: clamp(26px, 5vw, 44px);
  display: grid;
  align-content: center;
  gap: 14px;
  overflow: auto;
}

.modal-info h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.modal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.modal-action {
  width: fit-content;
}

body.modal-open {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.about-copy,
.about-visual {
  border-radius: var(--radius);
}

.about-copy {
  padding: clamp(26px, 5vw, 50px);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 20px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(246, 173, 70, 0.42), rgba(220, 72, 215, 0.34));
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.about-visual {
  position: relative;
  min-height: 430px;
  padding: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 173, 70, 0.44), rgba(210, 28, 234, 0.16) 58%, transparent 70%);
}

.about-visual img {
  position: relative;
  width: min(380px, 88%);
  filter: drop-shadow(0 22px 34px rgba(43, 18, 53, 0.28));
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.chip-one {
  top: 32px;
  left: 28px;
}

.chip-two {
  right: 26px;
  bottom: 32px;
}

.contact {
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 34px;
}

.social-grid {
  width: min(680px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.social-card {
  min-height: 172px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-card i {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--violet));
  box-shadow: 0 16px 30px rgba(210, 28, 234, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-card:hover i,
.social-card:focus-visible i {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 18px 38px rgba(246, 173, 70, 0.32);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .navbar {
    border-radius: 30px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 24px;
    display: grid;
    gap: 4px;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 48px rgba(74, 12, 87, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .section {
    min-height: auto;
    padding: 112px 0 72px;
  }

  .hero {
    min-height: 100vh;
  }

  .category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }

  .category-card {
    min-height: 76px;
    grid-template-columns: 42px 1fr;
    justify-items: start;
    padding: 16px 18px;
    text-align: left;
  }

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

  .about-visual {
    min-height: 330px;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .modal-card {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .modal-media {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1120px, calc(100% - 24px));
  }

  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .navbar {
    min-height: 66px;
    padding: 10px 12px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .logo-wrap {
    width: min(300px, 82vw);
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 32ch;
    font-size: 0.96rem;
  }

  .hero-copy,
  .about-copy p {
    line-height: 1.6;
  }

  .category-row {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 24px;
  }

  .catalog-panel {
    padding: 22px;
  }

  .catalog-category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-category-card {
    min-height: 188px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 12px;
  }

  .modal-card {
    max-height: calc(100vh - 24px);
    border-radius: 24px;
  }

  .modal-media {
    min-height: 250px;
  }

  .modal-action {
    width: 100%;
    justify-content: center;
  }

  .floating-chip {
    font-size: 0.72rem;
  }

  .social-grid {
    gap: 12px;
  }

  .social-card {
    min-height: 138px;
    padding: 18px 10px;
    border-radius: 20px;
  }

  .social-card i {
    width: 54px;
    height: 54px;
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
