:root {
  --papel: #ebe3d0;
  --papel-2: #e4dbc6;
  --tinta: #2b2318;
  --suave: #5c5346;
  --olivo: #3b4a2d;
  --olivo-2: #2c3722;
  --linea: rgba(43, 35, 24, 0.18);
  --serif: "EB Garamond", Palatino, "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--papel); overflow-x: hidden; }
body {
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.42;
  overflow-x: hidden;
}
body.menu-abierto { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.grano {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lamina {
  width: 1240px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  position: relative;
}

/* ========== HEADER ~78px ========== */
.banda-header {
  height: 78px;
  border-bottom: 1px solid var(--linea);
  background: var(--papel);
  position: relative;
  z-index: 60;
}
.fila-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.marca {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sello-link {
  flex-shrink: 0;
  line-height: 0;
}
.sello-link:hover img { opacity: 0.88; }
.marca img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.marca-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.marca-nom {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.marca-lema {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olivo);
}
.menu { display: flex; gap: 26px; }
.menu a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--suave);
}
.menu a.ahora {
  color: var(--tinta);
  box-shadow: inset 0 -1px 0 var(--tinta);
}
.hamb {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--linea);
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.hamb i {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0;
  background: var(--tinta);
}

/* ========== HERO ~560px — composición, no dos cajas ========== */
.banda-hero {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.hero-grabado {
  position: absolute;
  z-index: 0;
  left: 26%;
  right: -12px;
  top: -48px;
  bottom: -80px;
  overflow: hidden;
}
.hero-grabado img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 44%;
  mix-blend-mode: multiply;
}
.hero-texto {
  position: relative;
  z-index: 1;
  width: 430px;
  padding-top: 72px;
}
.hero-texto h1 {
  margin: 0 0 14px;
  font-size: 48px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.hero-texto p {
  margin: 0 0 18px;
  color: var(--suave);
  font-size: 16px;
  line-height: 1.4;
  max-width: 34ch;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--olivo);
  color: #f2ead8;
  font-family: var(--sans);
  font-size: 14px;
  padding: 9px 18px;
  border: 0;
}
.boton:hover { background: var(--olivo-2); }

/* ========== PRINCIPIOS ~152px ========== */
.banda-principios {
  height: 168px;
  background: var(--papel-2);
}
.fila-4 {
  height: 168px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.principio {
  text-align: center;
  border-right: 1px solid var(--linea);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.principio:last-child { border-right: 0; }
.principio img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.principio span {
  font-size: 16px;
  color: var(--tinta);
}

/* ========== PRODUCTOS ~300px ========== */
.banda-productos {
  height: 330px;
  padding-top: 24px;
}
.titulo-banda { text-align: center; margin: 0 0 10px; }
.titulo-banda h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}
.floron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 110px;
  margin: 6px auto 0;
  color: var(--olivo);
}
.floron b { flex: 1; height: 1px; background: currentColor; opacity: .45; font-size: 0; }
.floron svg { width: 13px; height: 13px; }
.fila-productos {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 6px 0 0;
}
.producto { text-align: center; width: 200px; }
.producto img {
  width: 176px;
  height: 176px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.producto strong {
  display: block;
  font-weight: 500;
  font-size: 16px;
  color: var(--tinta);
}

/* ========== HISTORIA ~340px ========== */
.banda-historia {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.historia-grabado {
  position: absolute;
  z-index: 0;
  left: 36%;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}
.historia-grabado img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: multiply;
}
.historia-texto {
  position: relative;
  z-index: 1;
  width: 460px;
  padding-top: 72px;
}
.historia-texto h2 { margin: 0; font-size: 30px; }
.historia-texto .floron { margin-left: 0; }
.historia-texto p {
  margin: 12px 0 0;
  color: var(--suave);
  font-size: 16px;
  line-height: 1.45;
  max-width: 42ch;
}

/* ========== PASOS ~265px ========== */
.banda-pasos {
  height: 300px;
  padding-top: 24px;
}
.fila-pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 220px;
}
.paso {
  text-align: center;
  padding: 8px 18px 0;
  border-right: 1px solid var(--linea);
}
.paso:last-child { border-right: 0; }
.paso img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.paso h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.paso h3 i { font-style: normal; color: var(--olivo); }
.paso p {
  margin: 0;
  font-size: 14px;
  color: var(--suave);
  line-height: 1.38;
}

/* ========== CTA ~168px ========== */
.banda-cta {
  position: relative;
  height: 210px;
  overflow: hidden;
  text-align: center;
}
.banda-cta .centro {
  position: relative;
  z-index: 1;
  padding-top: 42px;
}
.banda-cta h2 { margin: 0; font-size: 28px; }
.banda-cta p {
  margin: 6px 0 12px;
  color: var(--suave);
  font-family: var(--sans);
  font-size: 14px;
}
.ornato {
  position: absolute;
  top: -10%;
  height: 120%;
  width: 30%;
  object-fit: contain;
  object-position: bottom left;
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}
.ornato.iz { left: 0; object-position: bottom left; }
.ornato.de { right: 0; object-position: bottom right; }

/* ========== FOOTER ~155px ========== */
.banda-pie {
  height: 248px;
  background: var(--papel-2);
  border-top: 1px solid var(--linea);
  padding-top: 18px;
}
.pie-grid {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 0;
  align-items: center;
}
.pie-marca {
  padding-right: 28px;
  border-right: 1px solid var(--linea);
}
.pie-marca img {
  width: 140px;
  height: auto;
  mix-blend-mode: multiply;
}
.pie-datos {
  font-size: 14px;
  color: var(--suave);
  padding: 0 28px;
  border-right: 1px solid var(--linea);
}
.pie-datos p { margin: 4px 0; display: flex; gap: 8px; align-items: center; }
.pie-datos svg { width: 13px; height: 13px; flex-shrink: 0; }
.pie-derecha {
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.pie-compa {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}
.pie-compa img {
  width: 72px;
  height: auto;
  flex-shrink: 0;
}
.pie-compa span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 8em;
}
.redes {
  display: flex;
  gap: 10px;
  align-items: center;
}
.redes a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(43,35,24,.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.redes svg { width: 13px; height: 13px; }
.copia {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(43,35,24,.12);
  text-align: center;
  font-size: 12px;
  color: var(--suave);
}

@media (max-width: 1099px) {
  .lamina { width: calc(100% - 40px); max-width: 920px; }
  .banda-header {
    position: sticky;
    top: 0;
    height: 64px;
  }
  .fila-header { height: 64px; }
  .marca { gap: 8px; min-width: 0; }
  .marca img { width: 44px; height: 44px; }
  .marca-nom { font-size: 16px; }
  .marca-lema { font-size: 9px; letter-spacing: 0.12em; }
  .hamb { display: flex; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: var(--papel);
    border-bottom: 1px solid var(--linea);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: none;
  }
  .menu.is-open { display: flex; }
  .menu a {
    font-size: 15px;
    padding: 12px 24px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .menu a.ahora { box-shadow: inset 3px 0 0 var(--olivo); }

  .banda-hero, .banda-principios, .banda-productos,
  .banda-historia, .banda-pasos, .banda-cta, .banda-pie { height: auto; }
  .fila-4, .fila-pasos { height: auto; }

  .banda-hero {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .hero-texto {
    order: 1;
    width: 100%;
    padding: 28px 0 16px;
  }
  .hero-texto h1 { font-size: 36px; max-width: 14ch; }
  .hero-texto p { font-size: 16px; max-width: 46ch; }
  .hero-grabado {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 280px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .hero-grabado img {
    object-position: center 42%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .banda-principios { padding: 10px 0; }
  .fila-4 { grid-template-columns: repeat(4, 1fr); }
  .principio { padding: 10px 6px; }
  .principio img { width: 56px; height: 56px; }
  .principio span { font-size: 13px; }

  .banda-productos { padding: 28px 0 12px; }
  .titulo-banda h2 { font-size: 26px; }
  .fila-productos { flex-wrap: wrap; justify-content: center; gap: 12px 8px; }
  .producto { width: 18%; min-width: 110px; }
  .producto img { width: 96px; height: 96px; }

  .banda-historia { overflow: visible; display: flex; flex-direction: column; }
  .historia-texto {
    order: 1;
    width: 100%;
    padding: 28px 0 8px;
  }
  .historia-texto p { max-width: 54ch; }
  .historia-grabado {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 260px;
    width: 100%;
  }

  .banda-pasos { padding: 28px 0 8px; }
  .fila-pasos {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .paso { padding: 12px 16px 20px; }

  .banda-cta { padding: 36px 16px; }
  .banda-cta .centro { padding-top: 0; }
  .banda-cta h2 { font-size: 24px; }
  .ornato { max-width: 22%; width: 22%; opacity: 0.7; }

  .boton { min-height: 44px; padding: 10px 18px; }

  .banda-pie { padding: 24px 0 16px; }
  .pie-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    align-items: start;
  }
  .pie-marca, .pie-datos { border-right: 0; padding: 0; }
  .pie-marca img { width: 110px; }
  .pie-derecha {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    padding-top: 8px;
    border-top: 1px solid var(--linea);
  }
}

@media (max-width: 759px) {
  .lamina { width: calc(100% - 32px); }
  .marca-lema { display: none; }
  .marca-nom { font-size: 15px; line-height: 1.15; }

  .hero-texto { padding: 22px 0 12px; }
  .hero-texto h1 { font-size: 30px; line-height: 1.12; }
  .hero-texto p { font-size: 15px; }
  .hero-grabado { height: 200px; }

  .fila-4 { grid-template-columns: repeat(2, 1fr); }
  .principio {
    border-right: 0;
    border-bottom: 1px solid var(--linea);
    padding: 16px 8px;
  }
  .principio:nth-child(odd) { border-right: 1px solid var(--linea); }
  .principio:nth-last-child(-n+2) { border-bottom: 0; }
  .principio img { width: 52px; height: 52px; }
  .principio span { font-size: 14px; }

  .producto { width: 44%; min-width: 0; }
  .producto img { width: 108px; height: 108px; }

  .historia-grabado { height: 200px; }
  .historia-texto h2 { font-size: 26px; }

  .fila-pasos { grid-template-columns: 1fr; }
  .paso {
    border-right: 0;
    border-bottom: 1px solid var(--linea);
    padding: 18px 8px;
  }
  .paso:last-child { border-bottom: 0; }

  .ornato { display: none; }
  .banda-cta { padding: 32px 8px; }
  .banda-cta h2 { font-size: 22px; }

  .pie-grid { grid-template-columns: 1fr; text-align: center; }
  .pie-marca { display: flex; justify-content: center; }
  .pie-datos { padding: 0; }
  .pie-datos p { justify-content: center; }
  .pie-derecha {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .pie-compa { text-align: center; }
}

