@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

:root {
  --paper: #f8f4ea;
  --sheet: #fffdf8;
  --ink: #282b24;
  --ink-soft: #5b6458;
  --sage: #345340;
  --sage-deep: #294333;
  --sage-soft: #e6efe6;
  --whatsapp: #345340;
  --accent: #a44d31;
  --pine: #d8b88a;
  --wood: #a44d31;
  --wood-deep: #282b24;
  --line: #e3d4c2;
  --logo: #000000;
  --logo-inverse: #ffffff;
  --focus: #a44d31;
  --header-h: 5.4rem;
  --display: "Nunito Sans", "Segoe UI", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(40, 43, 36, 0.035) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  text-rendering: optimizeLegibility;
}

body.has-wa-bar {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

p {
  margin-bottom: 0.9rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--sage);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.band-ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--paper);
}

::selection {
  background: #d5e3d8;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  top: 0.6rem;
}

.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;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 244, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(40, 43, 36, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-img {
  display: block;
  height: 34px;
  width: auto;
}

.brand-tag {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(40, 43, 36, 0.08);
}

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

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-list li:last-child a {
  border-bottom: 0;
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
  color: var(--sage);
}

.header-home {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.4rem);
}

.hero {
  padding: 1.75rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

.hero-mark {
  margin: 0 0 1.15rem;
}

.hero-mark img {
  display: block;
  width: min(240px, 70%);
  height: auto;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.15rem, 5.4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

h2 {
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.8rem;
  background: var(--accent);
}

h3 {
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.real-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: var(--sage);
  font-weight: 600;
}

.real-note::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--sage);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1.4rem;
}

.actions .btn {
  flex: 1 1 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  min-height: 56px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-wrap: balance;
}

.btn:hover {
  text-decoration: none;
}

.btn-solid {
  background: var(--sage);
  color: var(--sheet);
}

.btn-solid:hover {
  background: var(--sage-deep);
  color: var(--sheet);
}

.btn-wa {
  flex-direction: column;
  gap: 0.05rem;
}

.btn-note {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-wa.is-pending {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--pine);
}

.btn-wa.is-pending:hover {
  background: rgba(216, 184, 138, 0.22);
  color: var(--ink);
}

.btn-wa.is-live,
.wa-bar.is-live {
  background: var(--whatsapp);
  color: var(--sheet);
  box-shadow: none;
}

.btn-wa.is-live:hover,
.wa-bar.is-live:hover {
  background: var(--sage-deep);
  color: var(--sheet);
}

.btn[aria-disabled="true"] {
  cursor: not-allowed;
}

.btn[aria-disabled="true"]:hover {
  background: transparent;
}

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

h3 .intro {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.piece-copy h3:not(:first-child) {
  margin-top: 1.5rem;
}

.intro {
  margin: 0;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.band-sheet {
  background: var(--sheet);
}

.band-ink {
  background: var(--ink);
  color: var(--paper);
}

#contacto {
  min-height: calc(100vh - var(--header-h) - 4.75rem);
  min-height: calc(100svh - var(--header-h) - 4.75rem);
  display: grid;
  align-content: center;
}

.band-ink h2,
.band-ink h3,
.site-footer h2 {
  color: var(--paper);
}

.band-ink h2::after {
  background: var(--pine);
}

.band-ink p,
.band-ink .intro,
.site-footer p {
  color: var(--paper);
}

.band-ink a:not(.btn),
.site-footer a {
  color: var(--paper);
}

.band-ink a:not(.btn):hover,
.site-footer a:hover {
  color: var(--pine);
}

.band-ink .btn-wa.is-pending {
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--pine);
}

.band-ink .btn-wa.is-pending:hover {
  background: rgba(216, 184, 138, 0.16);
  color: var(--paper);
}

.band-ink .btn-note {
  color: var(--paper);
}

.photo {
  margin: 0;
}

.photo-mat {
  padding: 0.55rem;
  background: var(--pine);
  border: 1px solid var(--line);
}

.photo-stage {
  position: relative;
  overflow: hidden;
  background: var(--sheet);
}

.photo-tall .photo-stage {
  aspect-ratio: 4 / 5;
}

.photo-wide .photo-stage {
  aspect-ratio: 3 / 2;
}

.photo-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem;
  text-align: center;
  color: var(--ink);
}

.photo-fallback p {
  margin: 0;
  max-width: 12rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.photo.is-loaded .photo-fallback {
  display: none;
}

.ph-icon {
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid var(--sage);
  border-radius: 3px;
  position: relative;
  color: var(--sage);
}

.ph-icon::before {
  content: "";
  position: absolute;
  width: 0.42rem;
  height: 0.42rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  top: 0.38rem;
  right: 0.38rem;
}

.ph-icon::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.42rem;
  height: 0.85rem;
  background: currentColor;
  clip-path: polygon(0 100%, 28% 42%, 48% 72%, 68% 28%, 100% 100%);
}

figcaption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.product,
.piece,
.taller-photos,
.product-more,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.35rem;
}

.product-copy,
.piece-copy {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem 1.5rem;
}

.specs p {
  margin: 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.price-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price,
.price-ask {
  font-family: var(--sans);
  font-weight: 700;
  font-style: normal;
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.price-ask {
  font-weight: 600;
  font-size: 1.35rem;
}

.care,
.callout {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: var(--sage-soft);
  color: var(--ink);
  font-weight: 600;
}

.building {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.deadline {
  margin-top: 1rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}

.puntos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.puntos li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.1rem 1.1rem 1.2rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.punto-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.punto-detail {
  color: var(--ink-soft);
}

.meta-list {
  margin: 1.15rem 0 0;
}

.meta-list p {
  margin: 0;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.taller-lead {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

address {
  font-style: normal;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.5rem 0 1rem;
  padding: 0;
}

.contact-links a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.wa-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--sheet);
  color: var(--ink);
  border-top: 1px solid var(--pine);
  box-shadow: 0 -8px 24px rgba(40, 43, 36, 0.06);
  text-decoration: none;
  font-weight: 700;
}

.wa-bar:hover {
  color: var(--ink);
}

.wa-bar.is-live {
  border-top-color: var(--whatsapp);
}

.site-footer {
  padding: 2.6rem 0 3rem;
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.footer-logo {
  display: block;
  width: min(200px, 62%);
  height: auto;
  margin: 0 0 0.9rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.footer-note {
  margin: 0.85rem 0 0;
}

.missing {
  min-height: calc(100vh - 8rem);
  display: grid;
  align-content: center;
  padding: 3rem 0 4rem;
}

.missing h1 {
  max-width: 12em;
}

.missing .btn {
  margin-top: 0.5rem;
  justify-self: start;
}

@media (min-width: 640px) {
  .actions .btn {
    flex: 0 1 auto;
    min-height: 52px;
  }
}

@media (min-width: 720px) {
  .wrap {
    width: min(1080px, calc(100% - 4rem));
  }

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

  .product-more,
  .taller-photos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .piece {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
  }

  .piece-photo-first {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .piece-photo-first .photo {
    order: -1;
  }

  .contact-grid,
  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 880px) {
  body.has-wa-bar {
    padding-bottom: 0;
  }

  #contacto {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }

  .brand-img {
    height: 42px;
  }

  .nav-toggle,
  .wa-bar {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.2rem;
    padding: 0;
  }

  .nav-list a {
    padding: 0.35rem 0;
    border-bottom: 0;
    white-space: nowrap;
    box-shadow: inset 0 -2px 0 transparent;
  }

  .nav-list a[aria-current="true"] {
    box-shadow: inset 0 -2px 0 currentColor;
  }

  .hero {
    padding: 2.6rem 0 5.25rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 3.25rem;
    align-items: center;
  }

  .section {
    padding: 5.5rem 0;
  }

  .product {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    align-items: start;
  }

  .photo-main {
    grid-column: 1;
    grid-row: 1;
  }

  .product-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .product-more {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media print {
  .wa-bar,
  .nav-toggle,
  .site-nav {
    display: none !important;
  }

  body.has-wa-bar {
    padding-bottom: 0;
  }

  .site-header {
    position: static;
  }

  body {
    background: var(--paper);
  }
}
