:root {
  --rs-fuchsia: #e51b73;
  --rs-fuchsia-dark: #b90f58;
  --rs-fuchsia-soft: #ff70ae;
  --rs-blush: #f9d8e5;
  --rs-cream: #fff8ef;
  --rs-ink: #231d21;
  --rs-muted: #756870;
  --rs-white: #ffffff;
  --rs-border: rgba(35, 29, 33, 0.10);
  --rs-card-border: rgba(124, 63, 88, 0.14);
  --rs-shadow: 0 18px 50px rgba(89, 28, 55, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--rs-ink);
  background: var(--rs-cream);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

/* Navegación */

.navbar-catalogo {
  min-height: 78px;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rs-border);
}

.header-logo {
  display: block;
  width: clamp(150px, 18vw, 220px);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-link {
  color: var(--rs-ink);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--rs-fuchsia);
}

/* Botón */

.btn-brand {
  color: var(--rs-white);
  background: var(--rs-fuchsia);
  border: 1px solid var(--rs-fuchsia);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(229, 27, 115, 0.28);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  color: var(--rs-white);
  background: var(--rs-fuchsia-dark);
  border-color: var(--rs-fuchsia-dark);
  transform: translateY(-2px);
}

/* Hero */

.hero-section {
  position: relative;
  min-height: min(820px, calc(100svh - 78px));
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #b96c4d;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(25, 12, 17, 0.86) 0%,
      rgba(25, 12, 17, 0.58) 36%,
      rgba(25, 12, 17, 0.08) 74%),
    linear-gradient(0deg,
      rgba(20, 10, 14, 0.58) 0%,
      transparent 48%);
}

.hero-container {
  width: 100%;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.hero-content {
  max-width: 690px;
  color: var(--rs-white);
}

.eyebrow {
  color: var(--rs-fuchsia);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 900;
}

.eyebrow-light {
  color: #ffdce9;
}

.display-title {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--rs-white);
  font-size: clamp(3rem, 7.2vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
}

.display-title span {
  color: var(--rs-fuchsia-soft);
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
  line-height: 1.55;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.2);
}

.hero-scroll {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll-line {
  display: block;
  width: 52px;
  height: 1px;
  background: currentColor;
}

/* Colección */

.products-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 248, 239, 0.72),
      rgba(255, 248, 239, 0.72)),
    url("assets/background-catalogo.png") center center / cover no-repeat;
}

.products-section .container {
  position: relative;
  z-index: 1;
}

.collection-heading {
  max-width: 760px;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: var(--rs-fuchsia);
}

.section-intro {
  max-width: 650px;
  color: var(--rs-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Cards */

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--rs-card-border);
  border-radius: 1.5rem;
  box-shadow: 0 10px 34px rgba(89, 28, 55, 0.07);
  backdrop-filter: blur(5px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 27, 115, 0.22);
  box-shadow: var(--rs-shadow);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbf7f9 0%, #f3eef1 100%);
  border-bottom: 1px solid rgba(35, 29, 33, 0.06);
}

.product-image {
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.025);
}

/* Información del producto */

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 232px;
  padding: 1.35rem 1.4rem 1.5rem;
}

.product-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(35, 29, 33, 0.09);
}

.product-name {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: var(--rs-fuchsia-dark);
}

.product-price {
  margin: 0;
  color: var(--rs-fuchsia-soft);
  white-space: nowrap;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 900;
}

.product-details {
  flex-grow: 1;
  padding-top: 1rem;
}

.product-details-title {
  display: block;
  margin-bottom: 0.72rem;
  color: var(--rs-fuchsia);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-features {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-features li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--rs-muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.product-features li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-fuchsia);
  box-shadow: 0 0 0 4px rgba(229, 27, 115, 0.08);
}

/* Footer */

.footer {
  color: var(--rs-ink);
  background: var(--rs-cream);
  border-top: 1px solid var(--rs-border);
}

.footer-logos {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1px minmax(220px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-brand-cavila {
  align-items: flex-end;
}

.footer-label {
  color: var(--rs-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-logo-main {
  width: min(100%, 280px);
  height: 86px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-cavila {
  width: min(100%, 330px);
  height: 92px;
  object-fit: contain;
  object-position: right center;
}

.footer-divider {
  width: 1px;
  height: 92px;
  background: var(--rs-border);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  color: var(--rs-muted);
  border-top: 1px solid var(--rs-border);
  font-size: 0.88rem;
}

/* Responsive */

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 720px;
  }

  .hero-background {
    object-position: 56% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(25, 12, 17, 0.84) 0%,
        rgba(25, 12, 17, 0.6) 52%,
        rgba(25, 12, 17, 0.18) 100%),
      linear-gradient(0deg,
        rgba(20, 10, 14, 0.58) 0%,
        transparent 48%);
  }

  .hero-container {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 72px;
  }

  .navbar-catalogo {
    min-height: 70px;
  }

  .header-logo {
    width: 150px;
    height: 42px;
  }

  .hero-section {
    min-height: 680px;
  }

  .hero-background {
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg,
        rgba(25, 12, 17, 0.9) 0%,
        rgba(25, 12, 17, 0.58) 52%,
        rgba(25, 12, 17, 0.16) 100%);
  }

  .hero-container {
    padding-top: 11rem;
    padding-bottom: 4.5rem;
  }

  .display-title {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-copy {
    max-width: 460px;
  }

  .hero-scroll {
    display: none;
  }

  .products-section {
    background-position: center top;
  }

  .product-info {
    min-height: auto;
  }

  .footer-logos {
    margin-left: 10%;
    align-items: center;
  }

  .footer-brand-cavila {
    align-items: flex-start;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
  }

  .footer-logo-main,
  .footer-logo-cavila {
    object-position: left center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 650px;
  }

  .hero-background {
    object-position: 58% center;
  }

  .hero-container {
    padding-bottom: 3.7rem;
  }

  .product-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .product-line {
    flex-direction: column;
    gap: 0.45rem;
  }

  .product-price {
    font-size: 1.2rem;
  }
}