* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: #171717;
  background: #fff;
  font:
    14px Arial,
    sans-serif;
  --logo-size: 29px;
  --header-opacity: 0.7;
  --hero-height: 680px;
  --columns: 3;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #555;
  outline-offset: 5px;
}
header {
  position: fixed;
  z-index: 10;
  top: 0;
  width: 100%;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  background: rgb(255 255 255 / var(--header-opacity));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ffffff65;
}
.brand {
  font-size: var(--logo-size);
  letter-spacing: -1.5px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}
nav a:hover,
footer a:hover {
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--hero-height);
}
.photo {
  background: #e1e0dc;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.photo > span {
  position: absolute;
  top: 110px;
  left: 7%;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #666;
}
.hero-photo {
  background: linear-gradient(145deg, #d7d6d2, #eeede9 62%, #c9c8c4);
}
.secondary {
  background: linear-gradient(125deg, #aaa9a5, #d3d2ce 58%, #bebdb9);
  border-left: 1px solid #fff;
}
.secondary > p {
  position: absolute;
  left: 7%;
  bottom: 46px;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
}
.hero-title {
  position: absolute;
  left: 8%;
  bottom: 58px;
}
.hero-title p,
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
}
.hero-title h1 {
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -1.6px;
  margin: 20px 0 30px;
}
.hero-title a {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid #777;
  background: #ffffff48;
  backdrop-filter: blur(12px);
  font-size: 12px;
}
.catalog {
  padding: 68px 4% 80px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.section-head > span {
  font-size: 11px;
  color: #777;
}
.filters {
  display: flex;
  gap: 24px;
  margin: 22px 0 24px;
  overflow: auto;
}
.filters button {
  white-space: nowrap;
  border: 0;
  background: none;
  color: #777;
  padding: 0 0 9px;
}
.filters button.active {
  color: #111;
  border-bottom: 1px solid #111;
}
.demo-note {
  font-size: 11px;
  color: #777;
  margin: 0 0 26px;
  line-height: 1.6;
}
.products {
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: 42px 22px;
}
.product {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  color: inherit;
  width: 100%;
}
.product-photo {
  aspect-ratio: 3/4;
  background: #f0f0ee;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product:nth-child(2) .product-photo {
  background: #e5e5e2;
}
.product:nth-child(3) .product-photo {
  background: #f4f3f0;
}
.product-photo .number {
  font-size: 70px;
  font-weight: 400;
  color: #d0d0ca;
  letter-spacing: -5px;
}
.photo-label {
  position: absolute;
  bottom: 22px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #777;
}
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.product h3 {
  font-size: 12px;
  font-weight: 400;
  margin: 15px 0 6px;
}
.product p {
  font-size: 11px;
  color: #777;
  margin: 0;
}
.product:hover .product-photo {
  filter: brightness(0.97);
}
.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f6f6f3;
}
.story > .photo {
  min-height: 440px;
  background: linear-gradient(120deg, #d1d0cb, #e9e8e3);
}
.story .photo span {
  top: 30px;
}
.story > div:last-child {
  padding: 70px 13%;
  align-content: center;
}
.story h2 {
  font-size: 34px;
  line-height: 1.15;
}
.story p:not(.eyebrow) {
  color: #777;
  line-height: 1.8;
  max-width: 340px;
}
.story a {
  display: inline-block;
  border-bottom: 1px solid #888;
  padding-bottom: 6px;
  margin-top: 20px;
  font-size: 12px;
}
.info {
  padding: 70px 8%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
details {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary:after {
  content: "+";
}
details[open] summary:after {
  content: "−";
}
details p {
  color: #777;
  line-height: 1.8;
  max-width: 550px;
}
footer {
  margin: 0 4%;
  border-top: 1px solid #ddd;
  padding: 35px 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
footer > a:not(.brand),
footer span {
  font-size: 11px;
}
footer span {
  color: #777;
}
.edit-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  background: #171717;
  color: #fff;
  border: 0;
  padding: 14px 21px;
  border-radius: 30px;
  box-shadow: 0 3px 15px #0002;
}
aside {
  position: fixed;
  right: 20px;
  bottom: 76px;
  width: 320px;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 100px);
  overflow: auto;
  background: #fff;
  padding: 24px;
  z-index: 25;
  box-shadow: 0 10px 60px #0003;
  border: 1px solid #ddd;
}
aside h2 {
  font-size: 18px;
}
aside p,
aside small {
  font-size: 11px;
  line-height: 1.6;
  color: #666;
}
aside label {
  display: block;
  font-size: 12px;
  margin: 20px 0;
}
aside input,
aside select {
  display: block;
  width: 100%;
  margin-top: 10px;
  accent-color: #222;
}
aside button {
  padding: 10px;
  background: #f3f3f3;
  border: 1px solid #ddd;
  margin: 5px 0;
}
aside .section-head button {
  border: 0;
  background: none;
  font-size: 24px;
}
aside small {
  display: block;
  margin-top: 12px;
}
dialog {
  width: 900px;
  max-width: 94vw;
  max-height: 90dvh;
  border: 0;
  padding: 42px;
}
dialog::backdrop {
  background: #0006;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: white;
  font-size: 25px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.detail-grid .product-photo {
  aspect-ratio: 3/4;
}
.detail-grid p {
  line-height: 1.8;
  color: #666;
}
.detail-grid h2 {
  font-size: 28px;
}
.detail-grid .cta {
  display: block;
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin: 25px 0;
}
.detail-grid small {
  color: #777;
}
.views {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.views button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 11px;
}
.one-photo .hero {
  grid-template-columns: 1fr;
}
.one-photo .secondary {
  display: none;
}
@media (max-width: 650px) {
  header {
    height: 88px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  nav {
    font-size: 11px;
    gap: 24px;
  }
  .hero {
    min-height: 600px;
    grid-template-columns: 1fr;
  }
  .secondary {
    display: none;
  }
  .hero-title {
    left: 7%;
    bottom: 40px;
  }
  .hero-title h1 {
    font-size: 38px;
  }
  .catalog {
    padding: 36px 5% 45px;
  }
  .section-head > span {
    display: none;
  }
  .filters {
    gap: 18px;
    font-size: 12px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
  .product-photo .number {
    font-size: 50px;
  }
  .badge {
    left: 9px;
    top: 10px;
    font-size: 8px;
  }
  .photo-label {
    font-size: 8px;
    bottom: 14px;
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story > .photo {
    min-height: 320px;
  }
  .story > div:last-child {
    padding: 35px 7% 45px;
  }
  .story h2 {
    font-size: 30px;
  }
  .info {
    padding: 35px 6%;
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 100px;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  dialog {
    padding: 35px 20px;
  }
  .detail-grid .product-photo {
    aspect-ratio: 4/3;
  }
}

/* FOTOGRAFIAS DE CAMPANA — cambia las rutas en index.html.
   object-position ajusta el encuadre sin modificar el archivo original. */
.hero {
  grid-template-columns: 1.2fr 1fr;
}
.campaign-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.secondary .campaign-image {
  object-position: 50% 58%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  pointer-events: none;
}
.hero-title {
  z-index: 1;
  color: white;
  right: 6%;
}
.hero-title a {
  border-color: #ffffffb0;
  background: #ffffff20;
}
.editorial-image {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 48%;
}
.story > .photo {
  min-height: 640px;
}
@media (max-width: 650px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 88px;
  }
  .hero-photo {
    min-height: 420px;
  }
  .hero-photo .campaign-image {
    object-position: 48% 50%;
  }
  .hero-title {
    bottom: 22px;
  }
  .hero-title p {
    font-size: 9px;
  }
  .hero-title h1 {
    font-size: 29px;
    margin: 12px 0 18px;
  }
  .secondary {
    display: block;
    min-height: 540px;
    border-left: 0;
    border-top: 2px solid white;
  }
  .secondary .campaign-image {
    object-position: 50% 58%;
  }
  .story > .photo {
    min-height: 0;
    aspect-ratio: 2/3;
  }
  .one-photo .secondary {
    display: none;
  }
}
