:root {
  --color-bg: #fcf8f2;
  --color-bg-alt: #f4ede4;
  --color-surface: rgba(255, 255, 255, 0.76);
  --color-surface-strong: #fffdfa;
  --color-border: rgba(74, 61, 53, 0.14);
  --color-text: #2f2723;
  --color-text-soft: #6d6058;
  --color-accent: #c6a88e;
  --color-accent-strong: #b48d6b;
  --shadow-soft: 0 18px 50px rgba(74, 61, 53, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1200px, calc(100% - 2rem));
  --header-height: 78px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(210, 182, 157, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, var(--color-bg) 55%, #f9f3eb 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding-top: 0.8rem;
}

.site-header.is-scrolled .header-inner,
.site-header.menu-open .header-inner {
  background: rgba(255, 250, 244, 0.94);
  border-color: rgba(74, 61, 53, 0.12);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 250, 245, 0.26);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(47, 39, 35, 0.14);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 49%;
  width: 10rem;
  height: 3rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 248, 240, 0.58) 0%, rgba(255, 248, 240, 0.26) 38%, rgba(255, 248, 240, 0.06) 62%, rgba(255, 248, 240, 0) 82%);
  filter: blur(9px);
  z-index: -1;
  pointer-events: none;
  animation: brand-cloud-drift 7.8s ease-in-out infinite;
}

.brand img {
  width: min(11.2rem, 100%);
  height: auto;
  filter:
    saturate(1.9)
    contrast(1.34)
    brightness(0.62)
    drop-shadow(0 0 2px rgba(255, 248, 240, 0.98))
    drop-shadow(0 0 10px rgba(255, 248, 240, 0.62))
    drop-shadow(0 10px 22px rgba(47, 39, 35, 0.24));
  opacity: 1;
  transform-origin: 50% 58%;
  animation: brand-float 6.4s ease-in-out infinite;
}

@keyframes brand-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0.12rem, -0.12rem, 0) rotate(-0.8deg);
  }
}

@keyframes brand-cloud-drift {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.92;
  }

  50% {
    transform: translate(-49.2%, -51%) scale(1.03);
    opacity: 1;
  }
}

.menu-toggle {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
}

.menu-toggle span {
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 1.35rem;
  background: rgba(255, 252, 247, 0.97);
  box-shadow: var(--shadow-soft);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  position: relative;
  z-index: 1;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: rgba(47, 39, 35, 0.88);
  font-weight: 500;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: calc(100% - 0.1rem);
  height: 2.85rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 248, 240, 0.92) 0%, rgba(255, 248, 240, 0.55) 38%, rgba(255, 248, 240, 0.14) 68%, rgba(255, 248, 240, 0) 86%);
  filter: blur(11px);
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text);
  background: rgba(198, 168, 142, 0.14);
}

.header-tools {
  display: none;
  align-items: center;
  gap: 0.38rem;
}

.icon-pill {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
}

.icon-pill svg {
  width: 0.92rem;
  height: 0.92rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 2.2rem) 0 2rem;
  overflow: clip;
}

.hero-slider,
.hero-shade,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(34, 25, 20, 0.42) 0%, rgba(34, 25, 20, 0.24) 16%, rgba(34, 25, 20, 0.08) 30%, transparent 42%),
    linear-gradient(180deg, rgba(34, 25, 20, 0.18) 0%, rgba(34, 25, 20, 0.42) 62%, rgba(34, 25, 20, 0.7) 100%),
    linear-gradient(90deg, rgba(34, 25, 20, 0.48) 0%, rgba(34, 25, 20, 0.08) 52%, rgba(34, 25, 20, 0.22) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.hero-copy {
  max-width: 38rem;
  color: #fffdf9;
}

.section-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.section-kicker::after {
  content: "";
  display: block;
  width: 1.6rem;
  height: 1px;
  margin-top: 0.55rem;
  background: var(--color-accent);
  opacity: 0.6;
}

.hero .section-kicker {
  color: rgba(255, 248, 238, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 0.94;
}

h3 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.02;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 33rem;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255, 248, 238, 0.88);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  margin-top: 1.5rem;
  background: #fff8ef;
  color: var(--color-text);
  box-shadow: 0 8px 28px rgba(34, 25, 20, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fffff8;
  box-shadow: 0 14px 38px rgba(34, 25, 20, 0.28);
}

.button-secondary {
  margin-top: 1.4rem;
  background: transparent;
  border-color: rgba(74, 61, 53, 0.18);
  color: var(--color-text);
}

.hero-dots {
  position: absolute;
  inset: auto 0 1.2rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.hero-dot {
  cursor: pointer;
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  transition: background-color 300ms ease, width 300ms ease, opacity 300ms ease;
}

.hero-dot.is-active {
  width: 1.65rem;
  background: #fff8ef;
}

.hero-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.62);
}

.hero-scroll {
  position: absolute;
  inset: auto 0 2.8rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-scroll-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: scroll-bounce 2.4s ease-in-out infinite;
  opacity: 0.62;
}

.hero-scroll-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #fff8ef;
  stroke-width: 1.5;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.62; }
  50%       { transform: translateY(5px); opacity: 0.88; }
}

.section {
  padding: 4.8rem 0;
  scroll-margin-top: calc(var(--header-height) + 1.8rem);
}

.section-intro {
  padding-top: 5.8rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
}

.section-heading-compact {
  margin-bottom: 2rem;
}

.heading-row {
  display: grid;
  gap: 1rem;
}

.heading-row p {
  max-width: 34rem;
  color: var(--color-text-soft);
}

.category-grid,
.product-grid,
.mixura-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.category-card,
.product-card,
.mixura-card,
.contact-card,
.legal-card,
.store-visual,
.map-frame iframe,
.novedades-panel {
  box-shadow: var(--shadow-soft);
}

.category-card {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #efe6dc;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.category-card:hover img,
.category-card:focus-within img {
  transform: scale(1.04);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(34, 25, 20, 0.24) 100%);
  opacity: 0;
  transition: opacity 380ms ease;
  border-radius: inherit;
}

.category-card:hover::after {
  opacity: 1;
}

.category-label {
  position: absolute;
  inset: auto 1rem 1rem;
  z-index: 1;
}

.category-label span {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
  backdrop-filter: blur(6px);
  color: var(--color-text);
  font-weight: 600;
  transition: background-color 280ms ease;
}

.category-card:hover .category-label span {
  background: rgba(255, 252, 247, 0.97);
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-strong);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(74, 61, 53, 0.14);
  border-color: rgba(74, 61, 53, 0.22);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 600ms ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-copy {
  padding: 1.25rem;
}

.product-tag {
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.product-copy p:last-child,
.mixura-card p,
.contact-copy p,
.store-copy p {
  color: var(--color-text-soft);
}

.novedades-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.3rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(246, 237, 228, 0.82));
}

.novedades-copy {
  padding: 0.5rem;
}

.novedades-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem;
}

.novedades-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.novedades-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.novedades-tall {
  grid-row: span 2;
  min-height: 26rem;
}

.novedades-small {
  min-height: 12.6rem;
}

.section-mixura {
  background: linear-gradient(180deg, rgba(244, 237, 228, 0.62), rgba(255, 253, 250, 0));
}

.mixura-card,
.contact-card {
  padding: 1.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.8);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.mixura-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(74, 61, 53, 0.1);
}

.store-layout {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.store-visual {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 2px);
}

.store-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-copy {
  display: grid;
  gap: 1rem;
}

address {
  font-style: normal;
  font-weight: 600;
  line-height: 1.7;
}

.map-frame {
  margin-top: 1.25rem;
}

.map-frame iframe {
  width: 100%;
  min-height: 24rem;
  border: 0;
  border-radius: calc(var(--radius-lg) + 2px);
}

.section-contact {
  padding-bottom: 5.4rem;
}

.contact-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 6px);
  background: rgba(255, 252, 247, 0.82);
}

.contact-copy {
  display: grid;
  gap: 0.9rem;
}

.contact-grid {
  align-content: start;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 100%;
}

.contact-card h3 {
  margin-bottom: 0.55rem;
}

.contact-card p {
  max-width: 18rem;
}

.contact-card a {
  color: inherit;
}

.site-footer {
  padding: 0 0 2rem;
}

@media (max-width: 559px) {
  .header-inner {
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
  }

  .brand img {
    width: min(7.8rem, 100%);
  }

  .menu-toggle {
    width: 2.7rem;
    height: 2.7rem;
  }

  .icon-pill {
    width: 2.1rem;
    height: 2.1rem;
  }

  .hero {
    align-items: center;
    padding-top: calc(var(--header-height) + 1.4rem);
  }

  .hero-layout {
    gap: 1rem;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
    line-height: 0.94;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .category-card {
    min-height: 16.5rem;
  }

  .product-copy,
  .mixura-card,
  .contact-card,
  .legal-card {
    padding: 1.15rem;
  }

  .novedades-panel,
  .contact-panel,
  .footer-inner {
    padding: 1.1rem;
  }

  .novedades-gallery {
    grid-template-columns: 1fr;
  }

  .novedades-tall,
  .novedades-small {
    min-height: 15rem;
    grid-row: auto;
  }

  .map-frame iframe {
    min-height: 19rem;
  }
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 8px);
  background: rgba(255, 252, 247, 0.86);
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
}

.footer-brand img,
.legal-logo {
  width: min(10rem, 100%);
}

.footer-brand p {
  max-width: 24rem;
  color: var(--color-text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  color: var(--color-text-soft);
}

.legal-page {
  min-height: 100svh;
}

.legal-shell {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.2rem;
  color: var(--color-text-soft);
}

.legal-card {
  margin-top: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.9);
}

.legal-card h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 6vw, 2.6rem);
}

.legal-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.legal-list li + li {
  margin-top: 0.42rem;
}

@media (min-width: 720px) {
  .hero {
    padding-bottom: 3rem;
  }

  .hero-layout,
  .heading-row {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: end;
  }

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

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

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

  .store-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

  .contact-card:nth-child(3) {
    grid-column: span 2;
  }
}

@media (min-width: 980px) {
  .site-header {
    padding-top: 1.15rem;
  }

  .header-inner {
    justify-content: space-between;
    gap: 1.1rem;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .brand {
    flex: 0 0 auto;
    padding: 0 0.15rem 0 0;
  }

  .brand::before {
    width: 11.2rem;
    height: 3.3rem;
    filter: blur(10px);
  }

  .brand img {
    width: 11.8rem;
    filter:
      saturate(1.9)
      contrast(1.34)
      brightness(0.62)
      drop-shadow(0 0 2px rgba(255, 248, 240, 0.98))
      drop-shadow(0 0 10px rgba(255, 248, 240, 0.62))
      drop-shadow(0 10px 22px rgba(47, 39, 35, 0.24));
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    margin-left: auto;
  }

  .site-nav a {
    padding: 0.82rem 1.18rem;
    font-size: 0.98rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 6.2rem 0;
  }

  .section-intro {
    padding-top: 7rem;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 18rem;
  }

  .category-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .category-card:nth-child(6),
  .category-card:nth-child(7) {
    grid-column: span 2;
  }

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

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

  .contact-panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .contact-card {
    padding: 1.55rem;
  }

  .contact-card:nth-child(3) {
    grid-column: span 2;
  }

  .contact-card h3 {
    margin-bottom: 0.2rem;
  }

  .novedades-panel {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand::before,
  .brand img,
  .hero-scroll-icon {
    animation: none;
  }

  .category-card img,
  .product-card img,
  .product-card,
  .mixura-card,
  .category-card::after,
  .category-label span,
  .hero-dot {
    transition: none;
  }
}
