/* MVC Silver — portada comercial boutique v1
   Alcance intencional: solo la página de inicio. */

.home-boutique {
  --home-ink: #10243a;
  --home-green: #0e8f6e;
  --home-green-dark: #08634f;
  --home-cream: #fbf7ef;
  --home-gold: #c99d4d;
  --home-line: #e7dac4;
}

.home-boutique .hero.hero-banner {
  position: relative;
  display: block;
  width: calc(100% - 40px);
  max-width: 1200px;
  height: auto;
  min-height: 560px;
  margin: 18px auto 44px;
  padding: 0;
  border: 1px solid rgba(201, 157, 77, 0.32);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(16, 36, 58, 0.13);
  isolation: isolate;
}

.home-boutique .hero.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 39, 35, 0.82) 0%, rgba(7, 39, 35, 0.66) 34%, rgba(7, 39, 35, 0.08) 66%, rgba(7, 39, 35, 0.02) 100%),
    linear-gradient(0deg, rgba(16, 36, 58, 0.18), transparent 45%);
  pointer-events: none;
}

.home-boutique .hero-banner .hero-bg {
  position: absolute;
  inset: 0;
}

.home-boutique .hero-banner .hero-bg img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  transform: scale(1.01);
}

.home-boutique .hero-banner .hero-overlay {
  position: relative;
  inset: auto;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start !important;
  min-height: 560px;
  padding: 64px 68px !important;
  text-align: left;
  color: #fff;
  text-shadow: none;
}

.home-boutique .home-hero-copy {
  width: min(100%, 560px);
}

.home-boutique .home-hero-kicker,
.home-boutique .home-section-kicker {
  margin: 0 0 12px;
  font: 700 0.77rem/1.2 "Work Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-boutique .home-hero-kicker {
  display: inline-flex;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.home-boutique .hero-banner .hero-title {
  position: static !important;
  top: auto !important;
  left: auto;
  max-width: 490px !important;
  margin: 13px 0 18px;
  padding: 0 !important;
  transform: none;
  color: #fff;
  font: 600 clamp(2.7rem, 4.5vw, 4.1rem)/0.96 "Cormorant Garamond", serif !important;
  letter-spacing: -0.025em;
  text-align: left;
  white-space: normal;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.26);
}

.home-boutique .hero-banner .home-hero-subtitle {
  max-width: 520px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font: 500 clamp(1rem, 1.5vw, 1.15rem)/1.6 "Work Sans", sans-serif;
}

.home-boutique .hero-banner .hero-actions {
  position: static;
  left: auto;
  bottom: auto;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  transform: none;
}

.home-boutique .hero-banner .hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 700 0.94rem/1 "Work Sans", sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-boutique .hero-banner .hero-actions a:hover {
  transform: translateY(-2px);
}

.home-boutique .hero-banner .hero-actions .home-hero-primary {
  border: 1px solid #fff;
  background: #fff;
  color: var(--home-green-dark);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.home-boutique .hero-banner .home-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(4, 44, 36, 0.28);
  color: #fff;
  backdrop-filter: blur(7px);
}

.home-boutique .home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.9);
  font: 600 0.78rem/1.3 "Work Sans", sans-serif;
}

.home-boutique .home-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-boutique .home-hero-proof span::before {
  content: "✓";
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
}

.home-boutique .home-categories,
.home-boutique .home-trust-strip,
.home-boutique .home-featured-heading {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.home-boutique .home-section-heading,
.home-boutique .home-featured-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.home-boutique .home-section-heading {
  margin-bottom: 20px;
}

.home-boutique .home-section-kicker {
  color: var(--home-green-dark);
}

.home-boutique .home-section-heading h2,
.home-boutique .home-featured-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font: 600 clamp(2rem, 3vw, 2.85rem)/1 "Cormorant Garamond", serif;
  letter-spacing: -0.015em;
}

.home-boutique .home-section-intro {
  max-width: 470px;
  margin: 8px 0 0;
  color: #657181;
  font: 400 0.98rem/1.55 "Work Sans", sans-serif;
}

.home-boutique .home-section-heading > .home-section-intro {
  margin-bottom: 4px;
  text-align: right;
}

.home-boutique .home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-boutique .home-category-card {
  position: relative;
  min-height: 350px;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  overflow: hidden;
  background: #eee8de;
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.09);
  isolation: isolate;
  text-decoration: none;
}

.home-boutique .home-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(8, 34, 39, 0.8) 0%, rgba(8, 34, 39, 0.06) 58%, transparent 100%);
}

.home-boutique .home-category-card img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.home-boutique .home-category-card:hover img {
  transform: scale(1.045);
}

.home-boutique .home-category-overlay {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.home-boutique .home-category-overlay strong {
  font: 600 2rem/1 "Cormorant Garamond", serif;
}

.home-boutique .home-category-overlay small {
  font: 600 0.74rem/1.2 "Work Sans", sans-serif;
  white-space: nowrap;
}

.home-boutique .home-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  margin-bottom: 58px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: linear-gradient(110deg, #fff 0%, var(--home-cream) 100%);
  box-shadow: 0 12px 38px rgba(16, 36, 58, 0.06);
}

.home-boutique .home-trust-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px 22px;
}

.home-boutique .home-trust-strip article + article {
  border-left: 1px solid var(--home-line);
}

.home-boutique .home-trust-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e3f3ee;
  color: var(--home-green-dark);
  font: 700 0.75rem/1 "Work Sans", sans-serif;
}

.home-boutique .home-trust-strip strong,
.home-boutique .home-trust-strip small {
  display: block;
  font-family: "Work Sans", sans-serif;
}

.home-boutique .home-trust-strip strong {
  margin-bottom: 4px;
  color: var(--home-ink);
  font-size: 0.9rem;
}

.home-boutique .home-trust-strip small {
  color: #657181;
  font-size: 0.75rem;
  line-height: 1.4;
}

.home-boutique .section-title.home-featured-heading {
  margin-top: 0;
  margin-bottom: 16px;
  padding: 0;
}

.home-boutique .home-text-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(8, 99, 79, 0.35);
  color: var(--home-green-dark);
  font: 700 0.84rem/1.3 "Work Sans", sans-serif;
  text-decoration: none;
}

.home-boutique #catalogo.grid {
  margin-top: 0;
}

.home-boutique .blog-section .wrap {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 0;
}

.home-boutique .blog-head {
  display: block;
  margin: 0;
}

.home-boutique .blog-actions {
  margin-top: 18px;
}

.home-boutique .blog-actions .home-blog-all {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .home-boutique .hero.hero-banner,
  .home-boutique .hero-banner .hero-overlay,
  .home-boutique .hero-banner .hero-bg img {
    min-height: 520px;
  }

  .home-boutique .hero-banner .hero-overlay {
    padding: 50px 42px !important;
  }

  .home-boutique .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-boutique .home-category-card,
  .home-boutique .home-category-card img {
    min-height: 330px;
  }

  .home-boutique .home-trust-strip article {
    padding: 18px 14px;
  }

}

@media (max-width: 900px) {
  .home-boutique .blog-section .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    width: calc(100% - 32px);
  }

  .home-boutique .blog-actions {
    width: auto;
  }
}

@media (max-width: 700px) {
  .home-boutique .hero.hero-banner {
    width: calc(100% - 24px);
    min-height: 570px;
    margin-top: 10px;
    margin-bottom: 38px;
    border-radius: 24px;
  }

  .home-boutique .hero.hero-banner::after {
    background: linear-gradient(0deg, rgba(5, 37, 34, 0.94) 0%, rgba(5, 37, 34, 0.74) 47%, rgba(5, 37, 34, 0.03) 78%);
  }

  .home-boutique .hero-banner .hero-bg img {
    min-height: 570px;
    object-position: center center;
  }

  .home-boutique .hero-banner .hero-overlay {
    align-items: flex-end;
    min-height: 570px;
    padding: 44px 24px 32px !important;
  }

  .home-boutique .home-hero-copy {
    width: 100%;
  }

  .home-boutique .hero-banner .hero-title {
    max-width: 100% !important;
    margin: 10px 0 13px;
    font-size: clamp(2.45rem, 12vw, 3.35rem) !important;
  }

  .home-boutique .hero-banner .home-hero-subtitle {
    margin-bottom: 20px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .home-boutique .hero-banner .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .home-boutique .hero-banner .hero-actions a {
    min-width: 0;
    padding: 12px 13px;
    font-size: 0.82rem;
  }

  .home-boutique .home-hero-proof {
    gap: 7px 12px;
    margin-top: 20px;
    font-size: 0.69rem;
  }

  .home-boutique .home-categories,
  .home-boutique .home-trust-strip,
  .home-boutique .home-featured-heading {
    width: calc(100% - 32px);
  }

  .home-boutique .home-section-heading,
  .home-boutique .home-featured-heading {
    display: block;
  }

  .home-boutique .home-section-heading > .home-section-intro {
    max-width: none;
    margin-top: 10px;
    text-align: left;
  }

  .home-boutique .home-category-grid {
    display: grid;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 13px;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .home-boutique .home-category-grid::-webkit-scrollbar {
    display: none;
  }

  .home-boutique .home-category-card {
    min-height: 350px;
    scroll-snap-align: start;
  }

  .home-boutique .home-category-card img {
    min-height: 350px;
  }

  .home-boutique .home-trust-strip {
    grid-template-columns: 1fr;
    margin-top: 22px;
    margin-bottom: 44px;
  }

  .home-boutique .home-trust-strip article + article {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-boutique .home-featured-heading .home-text-link {
    display: inline-block;
    margin-top: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-boutique .home-category-card img,
  .home-boutique .hero-banner .hero-actions a {
    transition: none;
  }
}
