:root {
  --forest: #1a261c;
  --forest-deep: #111a13;
  --forest-light: #263a2b;
  --gold: #d2bd8a;
  --gold-dark: #aa8754;
  --cream: #efe6d6;
  --paper: #f6f0e6;
  --ink: #243026;
  --muted: #70776d;
  --line: rgba(210, 189, 138, .38);
  --display: "Cinzel", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  color: var(--forest);
  background: var(--gold);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  height: 92px;
  padding: 10px clamp(24px, 5vw, 80px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, height .35s;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(17, 26, 19, .96);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand img { width: 128px; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
}
.main-nav a, .header-whatsapp {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a { position: relative; }
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-whatsapp {
  justify-self: end;
  padding: 10px 18px;
  color: var(--gold);
  border: 1px solid var(--line);
  transition: color .25s, background .25s;
}
.header-whatsapp:hover { color: var(--forest); background: var(--gold); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
  min-height: 100svh;
  padding: 140px clamp(24px, 7vw, 110px) 70px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 73% 40%, rgba(102, 126, 95, .25), transparent 34%),
    linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
}
.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 49%;
  height: 100%;
  content: "";
  opacity: .35;
  background-image: linear-gradient(rgba(210,189,138,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(210,189,138,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, black, transparent);
}
.hero-text { align-self: center; position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .87;
  text-transform: uppercase;
}
h1 em, h2 em {
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.hero h1 em { font-size: .74em; }
.hero-copy {
  max-width: 480px;
  margin: 36px 0 0;
  color: rgba(239, 230, 214, .78);
  font-size: 22px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 40px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s, color .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--forest); background: var(--gold); }
.button-gold:hover { background: var(--cream); }
.button-outline { color: var(--forest); border-color: var(--gold-dark); background: transparent; }
.text-link {
  color: var(--cream);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.text-link span { color: var(--gold); padding-left: 8px; }
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
}
.hero-orbit {
  position: absolute;
  width: min(45vw, 610px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-orbit::before, .hero-orbit::after {
  position: absolute;
  content: "✦";
  color: var(--gold);
}
.hero-orbit::before { top: 6%; left: 12%; font-size: 24px; }
.hero-orbit::after { right: 1%; bottom: 28%; font-size: 14px; }
.hero-visual picture {
  position: relative;
  width: min(32vw, 430px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: 0 38px 80px rgba(0, 0, 0, .42);
  transform: rotate(2deg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute;
  right: 1%;
  bottom: 8%;
  padding: 12px 16px;
  color: var(--gold);
  background: var(--forest);
  border: 1px solid var(--line);
  font-size: 14px;
  font-style: italic;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  min-height: 720px;
  padding: clamp(80px, 10vw, 150px) clamp(24px, 8vw, 130px);
  color: var(--cream);
  background: var(--forest);
}
.manifesto-mark {
  align-self: center;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(250px, 28vw, 430px);
  line-height: .7;
  -webkit-text-stroke: 1px rgba(210, 189, 138, .28);
}
.manifesto-content { align-self: center; max-width: 880px; }
.manifesto h2, .section-heading h2, .shop h2, .promise h2, .contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.1;
}
.manifesto-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 44px;
  color: rgba(239, 230, 214, .72);
}
.manifesto-columns p { margin: 0; font-size: 19px; }
.manifesto-columns strong { color: var(--gold); font-weight: 500; }

.collections { padding: clamp(80px, 10vw, 140px) clamp(24px, 7vw, 110px); }
.section-heading { max-width: 760px; margin-bottom: 60px; }
.collection-links { border-top: 1px solid #cfc5b4; }
.collection-links button {
  display: grid;
  grid-template-columns: 50px minmax(170px, .5fr) 1fr 30px;
  align-items: center;
  width: 100%;
  padding: 28px 8px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #cfc5b4;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .25s, padding .25s, background .25s;
}
.collection-links button:hover {
  padding-right: 20px;
  padding-left: 20px;
  color: var(--cream);
  background: var(--forest);
}
.collection-links span {
  color: var(--gold-dark);
  font-family: var(--display);
  font-size: 11px;
}
.collection-links strong { font-family: var(--display); font-size: clamp(20px, 3vw, 34px); font-weight: 400; }
.collection-links small { color: var(--muted); font-size: 16px; font-style: italic; }
.collection-links button:hover small { color: rgba(239,230,214,.7); }
.collection-links i { color: var(--gold-dark); font-size: 22px; font-style: normal; }

.shop { padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 78px); background: #ece4d7; }
.shop-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.shop-header > div { max-width: 800px; }
.shop-count { flex: none; margin: 0 0 10px; color: var(--muted); font-style: italic; }
.shop-count span { color: var(--gold-dark); font-family: var(--display); font-size: 28px; font-style: normal; }
.shop-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 52px 0 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid #c7baa6;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  padding: 8px 15px;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
}
.filters button.active { color: var(--forest); border-color: var(--gold-dark); }
.search {
  display: flex;
  align-items: center;
  min-width: 280px;
  border-bottom: 1px solid #a99c88;
}
.search svg {
  width: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
}
.search input {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}
.search input::placeholder { color: #847d72; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px) clamp(14px, 2.5vw, 34px);
}
.product-card {
  min-width: 0;
  animation: card-in .5s both;
}
.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 0;
  background: #ddd4c5;
  cursor: pointer;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.product-image-wrap:hover img { transform: scale(1.035); }
.product-image-wrap::after {
  position: absolute;
  inset: auto 14px 14px;
  padding: 9px 12px;
  content: "Ver pieza";
  color: var(--cream);
  background: rgba(26, 38, 28, .88);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(60px);
  transition: transform .3s;
}
.product-image-wrap:hover::after { transform: none; }
.product-badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  color: var(--cream);
  background: rgba(26, 38, 28, .86);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-info { padding-top: 16px; }
.product-category {
  margin: 0 0 5px;
  color: var(--gold-dark);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.product-title {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 500;
  line-height: 1.1;
}
.product-materials {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.load-more { display: flex; margin: 58px auto 0; }
.load-more[hidden] { display: none; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state button {
  color: var(--gold-dark);
  border: 0;
  border-bottom: 1px solid;
  background: none;
  cursor: pointer;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  color: var(--cream);
  background: var(--forest-deep);
}
.promise-image { min-height: 600px; overflow: hidden; }
.promise-image img { width: 100%; height: 100%; object-fit: cover; }
.promise-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px);
}
.promise-copy ul { margin: 48px 0 0; padding: 0; list-style: none; }
.promise-copy li {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.promise-copy li > span { color: var(--gold); }
.promise-copy strong { display: block; font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.promise-copy small { display: block; margin-top: 4px; color: rgba(239,230,214,.65); font-size: 15px; }

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(90px, 12vw, 170px) 24px;
  overflow: hidden;
  text-align: center;
}
.contact::before {
  position: absolute;
  top: -180px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(170, 135, 84, .2);
  border-radius: 50%;
}
.contact-logo { width: 120px; margin-bottom: 28px; }
.contact h2 { position: relative; }
.contact > p:not(.eyebrow) { max-width: 560px; margin: 25px 0 34px; color: var(--muted); }
.phone-link { margin-top: 18px; color: var(--gold-dark); text-decoration: none; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
  padding: 45px clamp(24px, 5vw, 75px);
  color: rgba(239,230,214,.65);
  background: var(--forest-deep);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.footer-brand {
  color: var(--gold);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .12em;
  text-decoration: none;
}
.footer-brand small { display: block; color: rgba(239,230,214,.5); font-family: var(--serif); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: white;
  background: #267b4c;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  transition: transform .25s;
}
.floating-whatsapp:hover { transform: translateY(-4px); }
.floating-whatsapp svg { width: 28px; fill: currentColor; }

.product-modal {
  width: min(1050px, calc(100vw - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  padding: 0;
  color: var(--ink);
  border: 0;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}
.product-modal::backdrop { background: rgba(10, 16, 11, .86); backdrop-filter: blur(5px); }
.product-modal[open] { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); }
.modal-close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  color: var(--cream);
  border: 1px solid rgba(239,230,214,.35);
  border-radius: 50%;
  background: rgba(26,38,28,.8);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-gallery { min-width: 0; padding: 24px; background: #ded5c6; }
.modal-main-image { position: relative; height: min(67vh, 650px); }
.modal-main-image img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  color: var(--cream);
  border: 0;
  border-radius: 50%;
  background: rgba(26,38,28,.76);
  cursor: pointer;
  transform: translateY(-50%);
}
.gallery-nav.prev { left: 8px; }
.gallery-nav.next { right: 8px; }
.gallery-nav[hidden] { display: none; }
.modal-thumbnails { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
.modal-thumbnails button {
  width: 48px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
}
.modal-thumbnails button.active { border-color: var(--gold-dark); }
.modal-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.modal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
}
.modal-info h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}
.modal-materials { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0; }
.modal-materials span { padding: 6px 9px; color: var(--muted); border: 1px solid #cfc2ad; font-size: 13px; }
.modal-description { margin: 0 0 28px; color: var(--muted); }
.modal-info small { margin-top: 12px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: .85fr 1.15fr; }
  .main-nav { gap: 24px; }
  .site-header { grid-template-columns: 150px 1fr 130px; }
  .promise-copy { padding: 70px 55px; }
}
@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; padding: 8px 20px; background: rgba(17, 26, 19, .96); border-color: var(--line); }
  .brand img { width: 112px; }
  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    padding: 10px 6px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span { display: block; height: 1px; background: var(--gold); transition: transform .25s; }
  .menu-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 45px 20px;
    visibility: hidden;
    opacity: 0;
    background: var(--forest-deep);
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    transition: .25s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .header-whatsapp { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-text { text-align: center; }
  .hero-copy { margin-right: auto; margin-left: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 570px; }
  .hero-orbit { width: 88vw; max-width: 560px; }
  .hero-visual picture { width: min(65vw, 380px); }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-mark { display: none; }
  .manifesto-columns { gap: 25px; }
  .shop-tools { align-items: stretch; flex-direction: column; }
  .search { max-width: 400px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { grid-template-columns: 1fr; }
  .promise-image { min-height: 500px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p:last-child { text-align: center; }
  .product-modal[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-main-image { height: min(60vh, 540px); }
  .modal-info { padding: 40px 28px 52px; }
}
@media (max-width: 540px) {
  body { font-size: 17px; }
  .hero { padding-right: 18px; padding-left: 18px; }
  .hero h1 { font-size: clamp(55px, 19vw, 82px); }
  .hero-copy { font-size: 19px; }
  .hero-actions { flex-direction: column; gap: 22px; }
  .hero-visual { min-height: 470px; }
  .hero-visual picture { width: 72vw; }
  .hero-note { right: 0; bottom: 5%; font-size: 12px; }
  .manifesto { padding-right: 24px; padding-left: 24px; }
  .manifesto-columns { grid-template-columns: 1fr; }
  .collection-links button { grid-template-columns: 34px 1fr 25px; }
  .collection-links small { display: none; }
  .shop-header { align-items: start; flex-direction: column; }
  .filters { flex-wrap: nowrap; width: calc(100vw - 40px); padding-bottom: 5px; overflow-x: auto; }
  .filters button { flex: none; }
  .search { min-width: 0; }
  .product-grid { gap: 26px 12px; }
  .product-title { font-size: 18px; }
  .product-info { padding-top: 11px; }
  .product-materials { font-size: 12px; }
  .product-image-wrap::after { display: none; }
  .promise-copy { padding: 65px 24px; }
  .promise-image { min-height: 380px; }
  .contact-logo { width: 95px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .modal-gallery { padding: 12px; }
  .modal-main-image { height: 56vh; }
  .modal-thumbnails button { width: 42px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
