:root {
  --bg:        #fbfaf7;
  --bg-soft:   #f3eee6;
  --ink:       #0d0d0d;
  --ink-soft:  #4a4843;
  --line:      #e6e1d8;
  --accent:    #8b6f47;
  --accent-2:  #c9a982;

  --font-display: "Italiana", serif;
  --font-serif:   "Fraunces", serif;
  --font-sans:    "Outfit", sans-serif;

  --radius: 2px;
  --max:    1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- BARRA SUPERIOR ---------- */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.header__nav a {
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .35s ease;
}
.header__nav a:hover::after { width: 100%; }

.brand {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.45em;
  text-align: center;
  padding-left: 0.45em;
}

.header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .25s ease;
  position: relative;
}
.icon-btn:hover { background: var(--bg-soft); }
.btn-ingresar {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all .3s ease;
}
.btn-ingresar:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Hamburger - solo visible en mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.05em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav__sub {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.mobile-nav__sub a {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: none !important;
  padding: 0 !important;
  color: var(--ink-soft);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("https://images.pexels.com/photos/5531541/pexels-photo-5531541.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(0.85);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(251,250,247,0.55) 0%,
    rgba(251,250,247,0.25) 40%,
    rgba(251,250,247,0.85) 100%);
}
.hero__content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
}
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 14ch;
  margin-bottom: 32px;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero__sub {
  font-size: 17px;
  max-width: 48ch;
  color: var(--ink-soft);
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 999px;
  transition: all .3s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 40px;
  background: var(--ink-soft);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.3); transform-origin: top; }
}

/* ---------- SECCIÓN ---------- */
.section { padding: 100px 32px; }
.section__head {
  max-width: var(--max);
  margin: 0 auto 64px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.section__eyebrow {
  font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section__link {
  font-size: 12px; letter-spacing: 0.25em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}

/* ---------- SPLIT (Mujer / Hombre) ---------- */
.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split__card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-soft);
}
.split__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.split__card:hover img { transform: scale(1.06); }
.split__card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.split__caption {
  position: absolute;
  left: 32px; bottom: 32px;
  z-index: 2;
  color: #fff;
}
.split__caption h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 84px);
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.split__caption span {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
  padding-bottom: 3px;
}

/* ---------- CATEGORÍAS ---------- */
.cats {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  transition: background .35s ease;
  cursor: pointer;
}
.cat:hover { background: var(--ink); color: var(--bg); }
.cat__num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.1em;
}
.cat__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.cat__arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .35s ease;
}
.cat:hover .cat__arrow { transform: rotate(-45deg); }

/* ---------- PRODUCTOS ---------- */
.section--cream { background: var(--bg-soft); }
.products {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.product { cursor: pointer; }
.product__image {
  aspect-ratio: 3/4;
  background: var(--bg);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.product__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.product:hover .product__image img { transform: scale(1.05); }
.product__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--bg);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.product__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}
.product__cat {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.product__price {
  font-family: var(--font-serif);
  font-size: 16px;
}

/* ---------- EDITORIAL ---------- */
.editorial {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.editorial__img {
  aspect-ratio: 4/5;
  background: url("https://images.pexels.com/photos/5531541/pexels-photo-5531541.jpeg") center/cover;
}
.editorial__text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.05;
  margin-bottom: 28px;
}
.editorial__text p {
  font-size: 16px; line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 50ch;
}

/* ---------- VALORES ---------- */
.values {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.value h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.value p {
  font-size: 14px; color: var(--ink-soft); line-height: 1.6;
}
.value__icon {
  width: 36px; height: 36px;
  margin-bottom: 20px;
  display: grid; place-items: center;
  color: var(--accent);
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 100px 32px;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 60px);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.newsletter p {
  color: rgba(251,250,247,0.7);
  margin-bottom: 40px;
  max-width: 50ch;
  margin-inline: auto;
}
.newsletter__form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(251,250,247,0.3);
  padding-bottom: 12px;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bg);
  font-family: inherit;
  font-size: 15px;
  padding: 8px 0;
}
.newsletter__form input::placeholder { color: rgba(251,250,247,0.5); }
.newsletter__form button {
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 32px 40px;
  border-top: 1px solid rgba(251,250,247,0.1);
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.4em;
  margin-bottom: 20px;
}
.footer__tag {
  font-size: 13px;
  color: rgba(251,250,247,0.6);
  max-width: 32ch;
  line-height: 1.7;
}
.footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(251,250,247,0.5);
}
.footer__col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(251,250,247,0.85);
  transition: color .25s;
}
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(251,250,247,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(251,250,247,0.5);
}

/* ---------- ANIMACIÓN ENTRADA ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: .1s; }
.fade-up:nth-child(2) { animation-delay: .25s; }
.fade-up:nth-child(3) { animation-delay: .4s; }
.fade-up:nth-child(4) { animation-delay: .55s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .brand { text-align: left; padding-left: 0; font-size: 26px; }
  .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 24px; }
}

/* Mobile */
@media (max-width: 560px) {
  .header__inner { padding: 14px 20px; }
  .brand { font-size: 22px; }
  .btn-ingresar { padding: 9px 18px; font-size: 11px; }
  .header__actions .icon-btn:not(:last-child) { display: none; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat { padding: 20px; aspect-ratio: auto; min-height: 120px; }
  .products { grid-template-columns: 1fr 1fr; gap: 16px; }
  .values { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__sub { font-size: 15px; }
  .btn { padding: 14px 28px; font-size: 11px; }
  .section { padding: 60px 20px; }
  .section__head { margin-bottom: 40px; }
  .split { gap: 12px; }
  .split__caption { left: 20px; bottom: 20px; }
  .mobile-nav { padding: 90px 24px 40px; }
  .mobile-nav a { font-size: 28px; padding: 12px 0; }
}
