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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background-color: var(--negro-profundo);
  color: var(--blanco-pergamino);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.text-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--naranja-accion) 0%, #E65100 100%);
  color: var(--blanco-pergamino);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-cta);
  transition: var(--transition-smooth);
  min-height: 48px;
  min-width: 48px;
}

.btn-primary:hover {
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--oro-sagrado);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: 1px solid var(--oro-sagrado);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--blanco-pergamino);
  color: var(--blanco-pergamino);
}

/* HEADER / NAV */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.header__nav-link {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blanco-pergamino);
  transition: var(--transition-fast);
  padding: var(--space-sm) 0;
}

.header__nav-link:hover {
  color: var(--oro-sagrado);
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco-pergamino);
  transition: var(--transition-fast);
}

.header__menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blanco-pergamino);
  transition: var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--oro-sagrado);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.7) 0%,
    rgba(5, 5, 5, 0.85) 50%,
    rgba(5, 5, 5, 0.95) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  max-width: 900px;
}

.hero__title {
  color: var(--blanco-pergamino);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__title span {
  display: block;
  color: var(--oro-sagrado);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--gris-ceniza);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: var(--oro-sagrado);
  opacity: 0.7;
}

/* PROBLEMA */
.problema {
  padding: var(--space-3xl) 0;
  background: var(--negro-profundo);
}

.problema__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.problema__intro .text-body {
  color: var(--gris-ceniza);
  margin-bottom: var(--space-lg);
}

.problema__intro .text-body:first-child {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--blanco-pergamino);
}

.problema__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.problema__card {
  text-align: center;
  padding: var(--space-xl);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(11, 16, 38, 0.5);
}

.problema__card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--oro-sagrado);
}

.problema__card h3 {
  color: var(--oro-sagrado);
  margin-bottom: var(--space-sm);
}

.problema__card p {
  font-family: var(--font-body);
  color: var(--gris-ceniza);
}

/* REPRESENTA */
.representa {
  padding: var(--space-3xl) 0;
  background: var(--pergamino);
  color: var(--negro-profundo);
}

.representa__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.representa__logo {
  height: 53px;
  width: auto;
  margin: 0 auto var(--space-lg);
  display: block;
}

.representa h2 {
  color: var(--negro-profundo);
  margin-bottom: var(--space-xl);
}

.representa .text-body {
  color: var(--gris-carbon);
  margin-bottom: var(--space-lg);
}

.representa .text-body strong {
  color: var(--negro-profundo);
  font-weight: 600;
}

.representa__divider {
  width: 60px;
  height: 2px;
  background: var(--oro-sagrado);
  margin: var(--space-xl) auto;
}

/* COLECCIONES */
.colecciones {
  padding: var(--space-3xl) 0;
  background: var(--negro-profundo);
}

.colecciones__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.colecciones__header h2 {
  color: var(--blanco-pergamino);
  margin-bottom: var(--space-md);
}

.colecciones__header p {
  font-family: var(--font-body);
  color: var(--gris-ceniza);
  font-size: 1.125rem;
}

.colecciones__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.coleccion-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.15);
  background: var(--azul-cosmos);
  transition: var(--transition-smooth);
}

.coleccion-card:hover {
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.coleccion-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.coleccion-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.coleccion-card:hover .coleccion-card__image img {
  transform: scale(1.05);
}

.coleccion-card__content {
  padding: var(--space-xl);
}

.coleccion-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--oro-sagrado);
  margin-bottom: var(--space-sm);
}

.coleccion-card__desc {
  font-family: var(--font-body);
  color: var(--gris-ceniza);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.coleccion-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.coleccion-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--oro-sagrado);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

/* DESTACADOS */
.destacados {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--negro-profundo) 0%, var(--azul-cosmos) 100%);
}

.destacados__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.destacados__header h2 {
  color: var(--blanco-pergamino);
  margin-bottom: var(--space-md);
}

.destacados__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.producto-card {
  background: rgba(11, 16, 38, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.producto-card:hover {
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.producto-card__image {
  aspect-ratio: 1;
  background: var(--sombra-amatista);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.producto-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-card__placeholder {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--oro-sagrado);
  opacity: 0.3;
}

.producto-card__info {
  padding: var(--space-md);
}

.producto-card__name {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blanco-pergamino);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.producto-card__price {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--oro-sagrado);
  margin-bottom: var(--space-sm);
}

.producto-card__btn {
  width: 100%;
  padding: 10px;
  font-size: 0.75rem;
}

/* POR QUE OMNI */
.porque {
  padding: var(--space-3xl) 0;
  background: var(--negro-profundo);
}

.porque__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.porque__header h2 {
  color: var(--blanco-pergamino);
}

.porque__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.porque__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.porque__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: var(--oro-sagrado);
}

.porque__icon svg {
  width: 28px;
  height: 28px;
}

.porque__text {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blanco-pergamino);
}

/* FILOSOFIA */
.filosofia {
  padding: var(--space-4xl) 0;
  background: var(--azul-cosmos);
  text-align: center;
}

.filosofia__content {
  max-width: 700px;
  margin: 0 auto;
}

.filosofia__quote {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: var(--blanco-pergamino);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.filosofia__quote span {
  display: block;
  margin-bottom: var(--space-md);
}

.filosofia__quote strong {
  color: var(--oro-sagrado);
  font-weight: 500;
}

.filosofia__divider {
  width: 80px;
  height: 1px;
  background: var(--oro-sagrado);
  margin: 0 auto;
}

/* COMUNIDAD */
.comunidad {
  padding: var(--space-3xl) 0;
  background: var(--negro-profundo);
}

.comunidad__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.comunidad__header h2 {
  color: var(--blanco-pergamino);
  margin-bottom: var(--space-md);
}

.comunidad__header p {
  font-family: var(--font-body);
  color: var(--gris-ceniza);
}

.comunidad__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.comunidad__item {
  aspect-ratio: 1;
  background: var(--sombra-amatista);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.comunidad__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.comunidad__item:hover img {
  transform: scale(1.1);
}

.comunidad__item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sombra-amatista) 0%, var(--azul-cosmos) 100%);
}

.comunidad__item-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--oro-sagrado);
  opacity: 0.3;
}

/* NEWSLETTER */
.newsletter {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--negro-profundo) 0%, var(--sombra-amatista) 100%);
}

.newsletter__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  color: var(--blanco-pergamino);
  margin-bottom: var(--space-md);
}

.newsletter__subtitle {
  font-family: var(--font-body);
  color: var(--gris-ceniza);
  margin-bottom: var(--space-xl);
  font-size: 1.125rem;
}

.newsletter__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.newsletter__benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--oro-sagrado);
}

.newsletter__benefit svg {
  width: 16px;
  height: 16px;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.newsletter__input {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-ui);
  font-size: 1rem;
  background: rgba(26, 21, 37, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-md);
  color: var(--blanco-pergamino);
  transition: var(--transition-fast);
  min-height: 48px;
}

.newsletter__input::placeholder {
  color: var(--gris-carbon);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--oro-sagrado);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.newsletter__message {
  font-size: 0.875rem;
  margin-top: var(--space-sm);
  display: none;
}

.newsletter__message.success {
  display: block;
  color: var(--esmeralda-cuantico);
}

.newsletter__message.error {
  display: block;
  color: var(--rojo-fuego);
}

/* FOOTER */
.footer {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--negro-profundo);
  border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.footer__logo-img {
  height: 47px;
  width: auto;
  display: block;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  list-style: none;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--gris-ceniza);
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--oro-sagrado);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: var(--oro-sagrado);
  transition: var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--oro-sagrado);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__origin {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gris-carbon);
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--gris-carbon);
}

/* TABLET */
@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

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

  .colecciones__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__input {
    flex: 1;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .header__nav {
    display: block;
  }

  .header__menu-btn {
    display: none;
  }

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

  .destacados__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .porque__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .comunidad__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__links {
    justify-content: center;
  }
}
