/* ==== DETALLE DE ESPACIO ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
  padding: calc(var(--header-height) + 48px) 8% 90px;
  background: #fff;
}

.detail-page--mesas_sillas .detail-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: #faf9f7;
}

.detail-page--mesas .detail-hero {
  position: relative;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 0;
  min-height: clamp(620px, 84vh, 900px);
  padding: calc(var(--header-height) + 34px) 5.5% 80px;
  background: linear-gradient(145deg, #f7f4ef 0%, #f3efe8 45%, #ece7df 100%);
  border-bottom: 1px solid #e1dbd1;
}

.detail-page--mesas .detail-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
  align-self: center;
  padding: 20px 36px 24px 12px;
}

.detail-page--mesas .detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 1.02rem;
  color: #2c312f;
}

.detail-page--mesas .detail-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.detail-page--mesas .detail-breadcrumb a:hover {
  color: var(--brand);
}

.detail-page--mesas .detail-breadcrumb span:nth-child(2) {
  color: #7aac7f;
  font-weight: 700;
}

.detail-page--mesas .detail-hero-line {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: var(--brand);
}

.detail-page--mesas .detail-copy h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-family: "Iowan Old Style", "Book Antiqua", "Palatino Linotype", Georgia, serif;
  font-size: clamp(3rem, 8.6vw, 6.35rem);
  line-height: 0.92;
  letter-spacing: 0;
  color: #1e2426;
}

.detail-page--mesas .detail-copy p {
  max-width: 26ch;
  margin-bottom: 30px;
  font-size: clamp(1.15rem, 1.58vw, 1.85rem);
  line-height: 1.42;
  color: #3f4346;
}

.detail-page--mesas .detail-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 32px;
}

.detail-page--mesas .detail-hero-tags span {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 24px;
  color: #424649;
  font-size: 1.08rem;
  font-weight: 500;
}

.detail-page--mesas .detail-hero-tags span + span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 20px;
  border-radius: 50%;
  background: rgba(79, 176, 104, 0.8);
}

.detail-page--mesas .detail-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(79, 176, 104, 0.52);
  padding-bottom: 8px;
}

.detail-page--mesas .detail-hero-link::after {
  content: "→";
  font-size: 1.4em;
  line-height: 1;
}

.detail-page--mesas .detail-hero-link:hover {
  color: var(--brand-dark);
}

.detail-page--mesas .detail-image {
  position: relative;
  min-height: clamp(470px, 62vw, 760px);
  border-radius: 0 18px 18px 0;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(34, 29, 22, 0.16);
}

.detail-page--mesas .detail-image::before {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: -220px;
  width: 360px;
  border-radius: 50%;
  background: #f3efe8;
  z-index: 2;
  pointer-events: none;
}

.detail-page--mesas .detail-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.detail-page--descanso .detail-hero {
  background: #f8fbf9;
}

.detail-page--cocinas .detail-hero {
  background: #f8f8f8;
}

.detail-page--salones .detail-hero {
  background: #fffaf6;
}

.detail-copy {
  max-width: 620px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--brand-dark);
}

.detail-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.detail-copy p {
  color: #555;
  font-size: 1.08rem;
  line-height: 1.7;
}

.detail-image img {
  width: 100%;
  height: min(560px, 58vw);
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.detail-section {
  padding: 86px 8%;
  background: #f7f7f7;
}

.detail-page--mesas_sillas .detail-section {
  background: #fff;
}

.product-families {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 8% 80px;
  background: #faf9f7;
}

.detail-page--mesas_sillas .product-families {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-families article {
  min-height: 210px;
  padding: 34px;
  background: #fff;
  border: 1px solid #ece7df;
}

.product-families h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.product-families p {
  color: #555;
  line-height: 1.65;
}

.product-detail-list {
  background: #fff;
}

.product-detail-item {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 54px;
  padding: 86px 8%;
}

.product-detail-item:nth-child(even) {
  background: #faf9f7;
}

.product-detail-item--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.product-detail-item--reverse .product-detail-copy {
  order: 2;
}

.product-detail-item--reverse .product-detail-image {
  order: 1;
}

.product-detail-copy h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
  font-size: 2rem;
}

.product-detail-copy h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.product-detail-copy p {
  color: #555;
  line-height: 1.75;
  font-size: 1.04rem;
}

.product-detail-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.detail-section > div {
  max-width: 820px;
}

.detail-section h2 {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 22px;
}

.detail-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.detail-section p {
  color: #555;
  line-height: 1.7;
  font-size: 1.04rem;
  margin-bottom: 30px;
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.detail-cta:hover {
  background: var(--brand-dark);
}

.detail-quote {
  padding: 86px 8%;
  background: #fff;
}

.detail-page--mesas_sillas .detail-quote {
  background: #1f1f1f;
}

.detail-page--mesas_sillas .detail-quote p {
  color: #fff;
  max-width: 1060px;
}

.detail-page--descanso .detail-quote p {
  max-width: 860px;
  font-weight: 600;
}

.detail-page--cocinas .detail-quote {
  background: #f7f7f7;
}

.detail-page--cocinas .detail-quote p {
  max-width: 920px;
}

.detail-quote p {
  max-width: 980px;
  color: #1f1f1f;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1.1;
  font-weight: 700;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 80px 8%;
  background: #f7f7f7;
}

.detail-page--mesas_sillas .detail-features {
  background: #faf9f7;
}

.detail-page--mesas_sillas .detail-features article {
  box-shadow: none;
  border: 1px solid #ece7df;
}

.detail-page--descanso .detail-features article {
  border-left: 4px solid var(--brand);
}

.detail-features article {
  min-height: 220px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.detail-features h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.detail-features p {
  color: #555;
  line-height: 1.65;
}

.detail-gallery {
  padding: 90px 8%;
  background: #fff;
}

.detail-gallery-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.detail-gallery-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  font-size: 2rem;
}

.detail-gallery-heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.detail-gallery-heading p {
  color: #555;
  line-height: 1.7;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.detail-page--mesas_sillas .detail-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
}

.detail-page--mesas_sillas .detail-gallery-grid img:first-child {
  grid-row: auto;
}

.detail-page--dormitorios .detail-gallery-grid {
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
}

.detail-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.detail-gallery-grid img:first-child {
  grid-row: span 2;
}

.footer {
  text-align: center;
  padding: 40px 20px;
  background: #333;
  font-size: 0.95rem;
  color: #f5f5f5;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.detail-hero.reveal {
  opacity: 1;
  transform: none;
}

.detail-page--mesas .detail-hero-link::after {
  content: "\2192";
}

@media (max-width: 820px) {
  .detail-hero {
    grid-template-columns: 1fr;
    padding: 126px 6% 64px;
    gap: 34px;
  }

  .detail-page--mesas .detail-hero {
    gap: 20px;
    min-height: 0;
    padding: 118px 6% 58px;
  }

  .detail-page--mesas .detail-copy {
    padding: 0;
    max-width: none;
  }

  .detail-page--mesas .detail-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.96rem;
  }

  .detail-page--mesas .detail-hero-line {
    margin-bottom: 20px;
  }

  .detail-page--mesas .detail-copy h1 {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 13vw, 3.6rem);
    line-height: 0.98;
  }

  .detail-page--mesas .detail-copy p {
    max-width: none;
    margin-bottom: 18px;
    font-size: 1.02rem;
  }

  .detail-page--mesas .detail-hero-tags {
    gap: 14px;
    margin-bottom: 22px;
  }

  .detail-page--mesas .detail-hero-tags span {
    font-size: 0.95rem;
  }

  .detail-page--mesas .detail-hero-link {
    font-size: 1.24rem;
    padding-bottom: 4px;
  }

  .detail-page--mesas .detail-image::before {
    display: none;
  }

  .detail-page--mesas .detail-image {
    min-height: 0;
    border-radius: 12px;
  }

  .detail-image img {
    height: auto;
    min-height: 0;
  }

  .detail-section {
    padding: 64px 6%;
  }

  .detail-quote,
  .product-families,
  .detail-features,
  .detail-gallery {
    padding: 64px 6%;
  }

  .product-detail-item,
  .product-detail-item--reverse {
    grid-template-columns: 1fr;
    padding: 64px 6%;
    gap: 28px;
  }

  .product-detail-item--reverse .product-detail-copy,
  .product-detail-item--reverse .product-detail-image {
    order: initial;
  }

  .product-detail-image img {
    height: auto;
  }

  .product-families,
  .detail-features,
  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery-grid {
    grid-auto-rows: 220px;
  }

  .detail-gallery-grid img:first-child {
    grid-row: auto;
  }
}

/* Rework final de Mesas: tipografia de marca y hero sin curva */
.detail-page--mesas .detail-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 52px;
  min-height: auto;
    padding: calc(var(--header-height) + 48px) 8% 90px;
  background: #faf9f7;
  border-bottom: 1px solid #ece7df;
}

.detail-page--mesas .detail-copy {
  max-width: 620px;
  padding: 0;
}

.detail-page--mesas .detail-breadcrumb {
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.detail-page--mesas .detail-hero-line {
  margin-bottom: 22px;
}

.detail-page--mesas .detail-copy h1 {
  max-width: 10.4ch;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.03;
  font-weight: 700;
}

.detail-page--mesas .detail-copy p {
  max-width: 29ch;
  margin-bottom: 24px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.detail-page--mesas .detail-hero-tags {
  gap: 20px;
  margin-bottom: 26px;
}

.detail-page--mesas .detail-hero-tags span {
  font-size: 0.98rem;
}

.detail-page--mesas .detail-hero-tags span + span::before {
  width: 6px;
  height: 6px;
  margin-right: 14px;
}

.detail-page--mesas .detail-hero-link {
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 2px solid rgba(79, 176, 104, 0.45);
  padding-bottom: 4px;
}

.detail-page--mesas .detail-hero-link::after {
  content: "\2192";
  font-size: 1.25em;
}

.detail-page--mesas .detail-image {
  min-height: clamp(420px, 52vw, 560px);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(34, 29, 22, 0.14);
}

.detail-page--mesas .detail-image::before {
  display: none;
}

.detail-page--mesas .detail-image img {
  border-radius: 8px;
}

/* Continuacion del hero en Mesas */
.mesas-continuation {
  padding: 0 8% 88px;
  background: #faf9f7;
}

.mesas-continuation-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece7df;
}

.mesas-continuation-copy {
  padding: 56px 52px;
}

.mesas-continuation-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #5d8e62;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mesas-continuation-line {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--brand);
}

.mesas-continuation-copy h2 {
  max-width: 16ch;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  color: #1f2428;
}

.mesas-continuation-copy p {
  max-width: 33ch;
  color: #545a60;
  font-size: 1.16rem;
  line-height: 1.6;
}

.mesas-continuation-main-image {
  position: relative;
  min-height: 420px;
}

.mesas-continuation-main-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0));
}

.mesas-continuation-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mesas-continuation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.mesas-info-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 222px;
  border: 1px solid #e8e3da;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.mesas-info-copy {
  padding: 28px 24px;
}

.mesas-info-copy h3 {
  margin-bottom: 14px;
  font-size: 1.74rem;
  line-height: 1.08;
  color: #1f2428;
}

.mesas-info-copy p {
  color: #555b61;
  line-height: 1.55;
  font-size: 1.03rem;
}

.mesas-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mesas-info-card--wide {
  grid-column: span 2;
}

@media (max-width: 820px) {
  .detail-page--mesas .detail-hero {
    gap: 28px;
    padding: 118px 6% 58px;
  }

  .detail-page--mesas .detail-copy h1 {
    max-width: none;
    font-size: clamp(2.45rem, 13vw, 3.6rem);
    line-height: 1.05;
  }

  .detail-page--mesas .detail-copy p {
    max-width: none;
    font-size: 1.02rem;
    margin-bottom: 18px;
  }

  .detail-page--mesas .detail-hero-tags {
    gap: 14px;
    margin-bottom: 22px;
  }

  .detail-page--mesas .detail-hero-link {
    font-size: 1.05rem;
  }

  .mesas-continuation {
    padding: 0 6% 64px;
  }

  .mesas-continuation-intro {
    grid-template-columns: 1fr;
  }

  .mesas-continuation-copy {
    padding: 34px 24px;
  }

  .mesas-continuation-copy h2 {
    max-width: none;
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .mesas-continuation-copy p {
    max-width: none;
    font-size: 1.02rem;
  }

  .mesas-continuation-main-image {
    min-height: 280px;
  }

  .mesas-continuation-grid {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .mesas-info-card,
  .mesas-info-card--wide {
    grid-template-columns: 1fr;
    grid-column: auto;
    min-height: 0;
  }

  .mesas-info-copy h3 {
    font-size: 1.42rem;
  }

  .mesas-info-image {
    min-height: 200px;
  }
}

/* Ajuste final solicitado: solo 3 cuadros con icono + efecto */
.detail-page--mesas .mesas-continuation {
  padding: 30px 8% 88px;
  background: #faf9f7;
}

.detail-page--mesas .mesas-continuation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.detail-page--mesas .mesas-info-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.detail-page--mesas .mesas-info-card:hover {
  transform: translateY(-8px);
  border-color: #d9d2c7;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.11);
}

.detail-page--mesas .mesas-info-copy {
  padding: 22px 20px;
  min-width: 0;
}

.detail-page--mesas .mesas-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #eaf3e8;
  color: var(--brand);
}

.detail-page--mesas .mesas-info-icon svg {
  width: 22px;
  height: 22px;
}

.detail-page--mesas .mesas-info-icon svg * {
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-page--mesas .mesas-info-copy h3 {
  max-width: 10ch;
  font-size: clamp(1.55rem, 2.25vw, 1.9rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

/* Piloto descanso: Canapes */
.canape-story {
  display: grid;
  grid-template-columns: minmax(440px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 640px;
  padding: 0;
  background: #2f2c2a;
}

.canape-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 640px;
  padding: clamp(42px, 6vw, 92px) clamp(34px, 5vw, 76px);
  background: #2f2c2a;
  color: #fff;
  position: relative;
  z-index: 1;
}

.canape-story-copy span,
.canape-guide span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.canape-story-copy h2,
.canape-guide h2,
.canape-section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4.7vw, 5rem);
  line-height: 1.05;
  color: inherit;
}

.canape-story-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 3.7vw, 4.5rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.canape-story-copy p {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.canape-story-image {
  min-width: 0;
  min-height: 640px;
  overflow: hidden;
}

.canape-story-image img,
.canape-model-grid img,
.canape-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.canape-models {
  padding: 88px 8%;
  background: #fff;
}

.canape-section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.canape-section-heading h2 {
  max-width: 16ch;
  color: #1f2428;
}

.canape-section-heading p {
  max-width: 58ch;
  margin: 0;
  color: #555b61;
  font-size: 1.08rem;
  line-height: 1.7;
}

.canape-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.canape-model-grid article {
  overflow: hidden;
  border: 1px solid #e8e3da;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.canape-model-grid article:hover {
  transform: translateY(-7px);
  border-color: #d7cec1;
  box-shadow: 0 18px 34px rgba(35, 28, 20, 0.12);
}

.canape-model-grid img {
  height: 310px;
}

.canape-model-grid div {
  padding: 28px;
}

.canape-model-grid h3,
.canape-guide-grid h3 {
  margin: 0 0 12px;
  color: #1f2428;
  font-size: 1.45rem;
  line-height: 1.15;
}

.canape-model-grid p,
.canape-guide-grid p {
  margin: 0;
  color: #555b61;
  line-height: 1.65;
}

.canape-guide {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(42px, 7vw, 96px);
  padding: 96px 8%;
  background: #f4f1eb;
}

.canape-guide > div:first-child {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding-top: 4px;
}

.canape-guide h2 {
  max-width: 10.5ch;
  color: #1f2428;
}

.canape-guide-grid {
  display: grid;
  gap: 18px;
}

.canape-guide-grid article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-height: 122px;
  padding: 34px 38px;
  border: 1px solid rgba(40, 34, 28, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(35, 28, 20, 0.09);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.canape-guide-grid article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: calc(100% - 48px);
  border-radius: 999px;
  background: var(--brand);
}

.canape-guide-grid article::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(79, 176, 104, 0.075);
  pointer-events: none;
}

.canape-guide-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 176, 104, 0.18);
  box-shadow: 0 20px 42px rgba(35, 28, 20, 0.12);
}

.showcase-guide-number {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: 4px;
  border-radius: 999px;
  background: #edf3e9;
  color: #4f8b55;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.canape-guide-grid .showcase-guide-card--media {
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 0.58fr);
  align-items: stretch;
  gap: 0;
  min-height: 178px;
  padding: 0;
  border: 1px solid #e9e3d9;
  background: #fff;
}

.canape-guide-grid .showcase-guide-card--media::before {
  top: 0;
  left: auto;
  right: 32px;
  width: 58px;
  height: 3px;
}

.canape-guide-grid .showcase-guide-card--media::after {
  right: 28px;
  bottom: 24px;
  width: 74px;
  height: 74px;
  background: transparent;
  border: 1px solid rgba(79, 176, 104, 0.18);
}

.showcase-guide-media {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  background: #ece7df;
}

.showcase-guide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.showcase-guide-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}

.showcase-guide-card--media:hover .showcase-guide-media img {
  transform: scale(1.045);
}

.canape-guide-grid .showcase-guide-card--media > div:last-child {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 34px;
}

.canape-gallery {
  padding: 88px 8% 96px;
  background: #fff;
}

.canape-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: 270px;
  gap: 18px;
}

.canape-gallery-grid img {
  border-radius: 8px;
}

.canape-gallery-grid img:first-child {
  grid-row: span 2;
}

@media (max-width: 1180px) {
  .canape-story {
    grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1fr);
    min-height: 560px;
  }

  .canape-story-copy,
  .canape-story-image {
    min-height: 560px;
  }

  .canape-story-copy h2 {
    font-size: clamp(2.15rem, 3.3vw, 3.6rem);
  }
}

@media (max-width: 980px) {
  .canape-story,
  .canape-guide {
    grid-template-columns: 1fr;
  }

  .canape-story-copy,
  .canape-story-image {
    border-radius: 0;
  }

  .canape-story,
  .canape-story-copy,
  .canape-story-image {
    min-height: 0;
  }

  .canape-model-grid {
    grid-template-columns: 1fr;
  }

  .canape-guide > div:first-child {
    position: static;
  }
}

@media (max-width: 640px) {
  .canape-story,
  .canape-models,
  .canape-guide,
  .canape-gallery {
    padding-left: 6%;
    padding-right: 6%;
  }

  .canape-story {
    padding-left: 0;
    padding-right: 0;
  }

  .canape-story-copy {
    padding: 42px 24px;
  }

  .canape-guide-grid article {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px 20px;
  }

  .canape-guide-grid article::before {
    top: 18px;
    height: calc(100% - 36px);
  }

  .showcase-guide-number {
    width: 40px;
    height: 40px;
  }

  .canape-guide-grid .showcase-guide-card--media {
    grid-template-columns: 1fr;
  }

  .showcase-guide-media {
    min-height: 210px;
  }

  .canape-guide-grid .showcase-guide-card--media > div:last-child {
    padding: 26px 22px;
  }

  .canape-story-image {
    min-height: 300px;
  }

  .canape-model-grid img {
    height: 240px;
  }

  .canape-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .canape-gallery-grid img:first-child {
    grid-row: auto;
  }
}

@media (max-width: 1100px) {
  .detail-page--mesas .mesas-continuation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .detail-page--mesas .mesas-continuation {
    padding: 24px 6% 64px;
  }

  .detail-page--mesas .mesas-info-copy h3 {
    font-size: 1.45rem;
  }
}

/* Cierre responsive: estas paginas comparten el layout de mesas y algunas
   reglas de escritorio aparecen mas abajo que el primer bloque movil. */
@media (min-width: 821px) and (max-width: 1100px) {
  .detail-page--mesas .detail-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: calc(var(--header-height) + 46px) 7% 72px;
  }

  .detail-page--mesas .detail-copy {
    width: 100%;
    min-width: 0;
    max-width: 760px;
  }

  .detail-page--mesas .detail-copy h1,
  .detail-page--mesas .detail-copy p {
    max-width: none;
  }

  .detail-page--mesas .detail-image {
    min-height: 0;
  }

  .detail-page--mesas .detail-image img {
    height: auto;
    max-height: 560px;
  }

  .detail-page--mesas .mesas-continuation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .detail-page--mesas .detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding: calc(var(--header-height) + 34px) 6% 58px;
  }

  .detail-page--mesas .detail-copy {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  .detail-page--mesas .detail-breadcrumb {
    margin-bottom: 16px;
  }

  .detail-page--mesas .detail-hero-line {
    margin-bottom: 18px;
  }

  .detail-page--mesas .detail-copy h1 {
    width: min(100%, calc(100vw - 12vw));
    max-width: none;
    font-size: clamp(2rem, 9.6vw, 2.85rem);
    line-height: 1.05;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .detail-page--mesas .detail-copy p {
    width: 100%;
    max-width: min(30ch, calc(100vw - 12vw));
    margin-bottom: 18px;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .detail-page--mesas .detail-image {
    width: 100%;
    min-height: 0;
    border-radius: 10px;
  }

  .detail-page--mesas .detail-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 430px;
    border-radius: 10px;
    object-fit: cover;
  }

  .detail-page--mesas .mesas-continuation {
    padding: 24px 6% 64px;
  }

  .detail-page--mesas .mesas-continuation-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .detail-page--mesas .mesas-info-card,
  .detail-page--mesas .mesas-info-card--wide {
    grid-template-columns: 1fr;
    grid-column: auto;
    min-height: 0;
  }

  .detail-page--mesas .mesas-info-copy h3 {
    max-width: none;
    font-size: 1.45rem;
  }
}
