@font-face {
  font-family: "Cormorant Local";
  src: url("cormorant-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Local";
  src: url("cormorant-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Local";
  src: url("cormorant-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope Local";
  src: url("manrope-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope Local";
  src: url("manrope-semibold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --ivory: #f3f0ea;
  --sand: #cec4b5;
  --paper: #fbf9f5;
  --chocolate: #49392d;
  --petrol: #183b48;
  --petrol-soft: #315965;
  --ink: #2b2926;
  --line: rgba(73, 59, 48, 0.22);
  --serif: "Cormorant Local", Georgia, serif;
  --sans: "Manrope Local", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a,
button {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #eabf77;
  outline-offset: 4px;
}

.proposal-label {
  position: fixed;
  z-index: 20;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100vw - 2rem);
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(243, 240, 234, 0.3);
  border-radius: 999px;
  background: rgba(24, 59, 72, 0.94);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0.4rem 1.8rem rgba(24, 59, 72, 0.22);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
}

.nav {
  width: min(100% - 3rem, 86rem);
  margin: 0 auto;
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.brand {
  color: inherit;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

.nav-links a,
.client-link {
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.client-link {
  border: 0;
  background: none;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 49rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(25, 24, 21, 0.72) 0%,
      rgba(25, 24, 21, 0.26) 56%,
      rgba(25, 24, 21, 0.08) 100%
    ),
    linear-gradient(135deg, #493b30 0%, #867768 46%, #c8baaa 100%);
  color: white;
}

.hero.has-image {
  background-image:
    linear-gradient(
      90deg,
      rgba(25, 24, 21, 0.72) 0%,
      rgba(25, 24, 21, 0.26) 56%,
      rgba(25, 24, 21, 0.08) 100%
    ),
    url("hero.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: clamp(1.5rem, 7vw, 7rem);
  bottom: 3rem;
  width: 6.5rem;
  height: 6.5rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 86rem);
  margin: 0 auto;
  padding: 11rem 0 7rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.5rem, 7.5vw, 7.8rem);
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: 2.4rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-link:hover {
  border-bottom-width: 2px;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  background: white;
  color: var(--chocolate);
}

.button.dark:hover {
  background: var(--chocolate);
  color: var(--ivory);
}

.intro {
  width: min(100% - 3rem, 86rem);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 9rem);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index::before {
  width: 2.7rem;
  height: 1px;
  background: var(--chocolate);
  content: "";
}

.intro h2 {
  max-width: 19ch;
  margin-bottom: 1.6rem;
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  letter-spacing: -0.03em;
}

.intro-copy p {
  max-width: 42rem;
  margin: 0;
  color: #62594f;
  font-size: 1rem;
}

.collection {
  width: min(100% - 3rem, 86rem);
  margin: 0 auto;
  padding: 0 0 clamp(6rem, 10vw, 10rem);
}

.collection-grid {
  width: min(100%, 86rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1rem;
}

.category {
  min-height: 35rem;
  display: flex;
  align-items: end;
  padding: 1.5rem;
  overflow: hidden;
  text-decoration: none;
}

.category:nth-child(2) {
  margin-top: 5rem;
}

.category-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 35rem;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--sand);
}

.category-visual::before,
.category-visual::after {
  position: absolute;
  content: "";
}

.living .category-visual {
  background: #62564b;
}

.living .category-visual::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 23, 19, 0.18));
}

.living .category-visual::after {
  display: none;
}

.dining .category-visual {
  background: #c2b4a2;
}

.dining .category-visual::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 23, 19, 0.18));
}

.dining .category-visual::after {
  display: none;
}

.bedroom .category-visual {
  background: #c9bca9;
}

.bedroom .category-visual::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 23, 19, 0.18));
}

.bedroom .category-visual::after {
  display: none;
}

.category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.living .category-image {
  object-position: 20% center;
}

.category-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.15rem 1.2rem;
  background: rgba(243, 240, 234, 0.92);
}

.category-caption small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--petrol);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-caption h3 {
  margin-bottom: 0;
  font-size: 1.65rem;
}

.editorial {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  background: var(--petrol);
  color: var(--ivory);
}

.editorial-visual {
  min-height: 45rem;
  background:
    linear-gradient(90deg, rgba(28, 23, 19, 0.1), rgba(28, 23, 19, 0.02)),
    url("comedor.webp") center 58% / cover;
  position: relative;
  overflow: hidden;
}

.editorial-visual::before {
  display: none;
}

.editorial-visual::after {
  display: none;
}

.editorial-copy {
  align-self: center;
  padding: clamp(4rem, 8vw, 9rem);
}

.editorial-copy h2,
.advice h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5vw, 5.1rem);
  letter-spacing: -0.035em;
}

.editorial-copy p {
  max-width: 31rem;
  color: rgba(243, 240, 234, 0.76);
}

.editorial-copy .button {
  margin-top: 1.4rem;
}

.advice {
  width: min(100% - 3rem, 86rem);
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.advice p {
  max-width: 39rem;
  color: #62594f;
}

.advice-card {
  padding: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advice-card p {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.visit {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  background: var(--sand);
  text-align: center;
}

.visit h2 {
  max-width: 14ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(3rem, 5vw, 5.1rem);
  letter-spacing: -0.04em;
}

.visit p {
  max-width: 39rem;
  margin: 0 auto 2rem;
}

.site-footer {
  padding: 4rem 1.5rem 2rem;
  background: var(--chocolate);
  color: var(--ivory);
}

.footer-grid {
  width: min(100%, 86rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 9vw, 10rem);
}

.footer-brand p {
  max-width: 24rem;
  color: rgba(243, 240, 234, 0.65);
  font-size: 0.85rem;
}
.lep-demo-contact {
  display: grid;
  gap: 0.35rem;
  margin: 1.4rem 0 1.8rem;
  color: rgba(243, 240, 234, 0.8);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.55;
}
.lep-demo-contact strong {
  color: var(--ivory);
  font-weight: 600;
}
.lep-demo-contact span:first-child {
  color: var(--sand);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 1.4rem;
}

.footer-actions a {
  padding: 0 0 0.18rem;
  border-bottom: 1px solid rgba(243, 240, 234, 0.5);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-decoration: none;
}

.footer-actions a:hover {
  border-bottom-color: currentColor;
}

.footer-note {
  width: min(100%, 86rem);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 240, 234, 0.16);
  color: rgba(243, 240, 234, 0.58);
  font-size: 0.7rem;
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 44rem;
  }

  .intro,
  .editorial,
  .advice,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category:last-child {
    grid-column: 1 / -1;
    min-height: 27rem;
  }

  .category:last-child .category-visual {
    min-height: 27rem;
  }

  .editorial-copy {
    grid-row: 1;
  }

  .editorial-visual {
    min-height: 34rem;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero-inner,
  .intro,
  .collection,
  .advice {
    width: min(100% - 2rem, 86rem);
  }

  .nav {
    gap: 1.1rem;
    padding-top: 1.1rem;
  }

  .brand {
    font-size: 0.82rem;
  }

  .client-link {
    font-size: 0.62rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.64rem;
  }

  .hero {
    min-height: 42rem;
  }

  .hero-inner {
    padding-bottom: 4.8rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero::after {
    display: none;
  }

  .intro {
    padding: 5rem 0;
  }

  .site-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .category,
  .category:last-child {
    min-height: 27rem;
    padding: 0;
  }

  .category:nth-child(2) {
    margin-top: 0;
  }

  .category-visual,
  .category:last-child .category-visual {
    min-height: 27rem;
  }

  .editorial-visual {
    min-height: 28rem;
  }

  .editorial-copy {
    padding: 4rem 1.5rem;
  }

  .routes {
    grid-template-columns: 1fr;
  }

  .proposal-label {
    top: 50%;
    right: 0;
    bottom: auto;
    max-width: none;
    padding: 0.65rem 0.32rem;
    border-radius: 999px 0 0 999px;
    font-size: 0.58rem;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Identidad Lucem et Pacem: luz, silencio y proporciones editoriales. */
.site-header {
  position: relative;
  color: var(--chocolate);
  background: var(--paper);
}
.nav {
  padding: 1.8rem 0;
  border: 0;
  gap: 2rem;
}
.brand {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.15;
}
.brand em {
  font-weight: 400;
  font-size: 0.88em;
  margin: 0 0.05em;
}
.nav-links a,
.client-link {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.client-link {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.hero {
  min-height: 43rem;
  min-height: min(49rem, 83svh);
}
.hero.has-image {
  background-image:
    linear-gradient(
      90deg,
      rgba(22, 20, 17, 0.6),
      rgba(22, 20, 17, 0.16) 65%,
      rgba(22, 20, 17, 0.02)
    ),
    linear-gradient(0deg, rgba(22, 20, 17, 0.3), transparent 65%), url("hero.webp");
}
.hero::after {
  display: none;
}
.hero-inner {
  padding: 7rem 0 4.8rem;
}
h1 {
  max-width: none;
  font-size: clamp(4rem, 7.3vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin-bottom: 1.5rem;
}
h1 em,
h2 em {
  font-weight: 400;
}
.hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  margin-bottom: 1.7rem;
}
.hero-copy {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 28rem;
}
.hero .button {
  background: var(--ivory);
  color: var(--chocolate);
  border-color: var(--ivory);
  font-size: 0.64rem;
  padding: 1rem 1.7rem;
}
.hero .button:hover {
  background: #fff;
  border-color: #fff;
}
.intro h2 {
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 1.03;
}
.intro-copy p {
  max-width: 32rem;
  line-height: 1.9;
  font-size: 1rem;
}
.editorial-copy h2 {
  font-size: clamp(3rem, 5vw, 5.1rem);
}
.editorial-copy p {
  line-height: 1.9;
  font-size: 1rem;
}
.category-caption small {
  font-size: 0.55rem;
  font-weight: 600;
}
.category-caption h3 {
  font-size: 2rem;
}
.footer-brand .brand {
  font-size: 2.15rem;
}
.footer-manifesto {
  justify-self: end;
}
.manifesto {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin: 0.6rem 0 0;
}
.proposal-label {
  position: static;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 0;
  max-width: none;
  background: var(--sand);
  color: var(--chocolate);
  box-shadow: none;
  font-weight: 400;
  font-size: 0.6rem;
  text-align: center;
  letter-spacing: 0.06em;
}
@media (max-width: 1000px) {
  .nav {
    grid-template-columns: 1fr auto;
    gap: 1.3rem;
  }
  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .nav {
    padding: 1.15rem 0 1rem;
    column-gap: 0.7rem;
    row-gap: 1.2rem;
  }
  .brand {
    font-size: 1.7rem;
    letter-spacing: 0.005em;
  }
  .client-link {
    font-size: 0.54rem;
    letter-spacing: 0.04em;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
    overflow: visible;
    white-space: normal;
  }
  .nav-links a {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    text-align: center;
  }
  .hero {
    min-height: 37rem;
  }
  .hero.has-image {
    background-position: 57% center;
  }
  .hero-inner {
    padding: 6rem 0 3.4rem;
  }
  h1 {
    font-size: clamp(3.25rem, 13vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .hero-copy {
    font-size: 1rem;
  }
  .hero .eyebrow {
    font-size: 0.75rem;
  }
  .intro {
    gap: 2rem;
  }
  .footer-manifesto {
    justify-self: start;
  }
  .proposal-label {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
  }
}
@media (max-width: 350px) {
  .brand {
    font-size: 1.48rem;
  }
  .client-link {
    font-size: 0.5rem;
  }
  .nav-links {
    gap: 0.6rem;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: #fbf9f5;
  color: #49392d;
}
.skip-link:focus {
  top: 1rem;
}
.client-link {
  text-decoration: none;
}
#ambientes,
#a-medida,
#visitanos,
#informacion {
  scroll-margin-top: 1rem;
}

.lep-atencion-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.8rem;
}
.lep-atencion-links span {
  flex-basis: 100%;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.lep-atencion-links a {
  text-underline-offset: 0.3rem;
}

/* Regreso explícito común a las subpáginas públicas, también sin JS. */
.lep-home-return {
  width: min(calc(100% - 3rem), 86rem);
  margin: 1.5rem auto 0;
  color: var(--chocolate);
}
.lep-home-return .button {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.65rem;
}
