:root {
  --jre-bg: #ffffff;
  --jre-surface: #ffffff;
  --jre-surface-alt: #f5f1ea;
  --jre-text: #2a2520;
  --jre-muted: #7a7066;
  --jre-accent: #5c5549;
  --jre-accent-dark: #2a2520;
  --jre-border: #e4dccb;
  --jre-shadow: 0 14px 35px rgba(42, 37, 32, 0.08);
  --jre-radius: 0;
  --jre-container: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--jre-bg);
  color: var(--jre-text);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.jre-container {
  width: min(100% - 2.25rem, var(--jre-container));
  margin-inline: auto;
}

.jre-main {
  min-height: 65vh;
  padding-top: 0;
}

.jre-stack-sm > * + * {
  margin-top: 1rem;
}

.jre-stack-md > * + * {
  margin-top: 1.5rem;
}

.jre-stack-lg > * + * {
  margin-top: 2.25rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(92, 85, 73, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 20px;
  width: 100%;
  max-width: none;
  padding-inline: 28px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.logo-justrent {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--jre-accent);
  text-transform: uppercase;
}

.logo-location {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--jre-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-nav a {
  color: var(--jre-muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--jre-accent);
  border-bottom: 1px solid var(--jre-accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--jre-accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-cta {
  display: inline-block;
  position: relative;
  z-index: 2;
  background: var(--jre-accent);
  color: #fff;
  border: 0;
  padding: 9px 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--jre-accent-dark);
}

.nav-cta--alt {
  background: transparent;
  border: 1px solid var(--jre-border);
  color: var(--jre-accent);
}

.nav-cta--alt:hover {
  background: var(--jre-surface-alt);
  color: var(--jre-accent);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-block: 5px;
  background: var(--jre-text);
}

.jre-hero {
  position: relative;
  color: #fff;
  background-image: linear-gradient(120deg, rgba(59, 39, 22, 0.88), rgba(43, 31, 22, 0.55)), url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  padding: 6.75rem 0 5.5rem;
}

.jre-hero__inner {
  max-width: 780px;
  animation: jre-rise 500ms ease both;
}

.jre-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.58rem;
  font-weight: 700;
  margin: 0;
}

.jre-hero__title,
.jre-title,
.jre-heading {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}

.jre-hero__title {
  font-size: clamp(2.1rem, 5vw, 4rem);
  margin-top: 1rem;
}

.jre-hero__subtitle {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 62ch;
}

.jre-hero__search {
  margin-top: 2rem;
}

.jre-section {
  padding: 5rem 0;
}

.jre-section--tight {
  padding: 4rem 0;
}

.jre-section--alt {
  background: linear-gradient(to bottom, rgba(239, 230, 216, 0.62), rgba(250, 247, 241, 0.7));
}

.jre-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.jre-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.jre-card {
  background: var(--jre-surface);
  border: 1px solid var(--jre-border);
  border-radius: var(--jre-radius);
  padding: 1.5rem;
}

.jre-image-block {
  min-height: 390px;
  border-radius: var(--jre-radius);
  background-image: url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.jre-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.jre-heading {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.jre-content p,
.jre-content li,
.jre-card p {
  color: var(--jre-muted);
}

.jre-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--jre-accent);
  background: var(--jre-accent);
  color: #fff;
  border-radius: 0;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.jre-btn:hover {
  transform: translateY(-1px);
  background: var(--jre-accent-dark);
  border-color: var(--jre-accent-dark);
}

.jre-btn--ghost {
  background: transparent;
  color: var(--jre-accent);
}

.jre-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.jre-cta {
  background: var(--jre-surface-alt);
  border: 1px solid #dbc7aa;
  border-radius: var(--jre-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jre-embed-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.jre-embed-placeholder {
  color: var(--jre-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Keep client Avantio widget aligned with theme palette. */
.jre-embed-box--avantio .fwk-bg,
.jre-embed-box--avantio #miniformulario_slider .popover .cerrar_ninyos,
.jre-embed-box--avantio #miniformulario_slider #sombrap #tabla_form #contenido_buscar a,
.jre-embed-box--avantio .bloque_edadesNinyos #acepta_ninos .botonNinyo {
  background-color: var(--jre-accent) !important;
}

.jre-embed-box--avantio .fwk-color,
.jre-embed-box--avantio #ui-datepicker-div .ui-datepicker-days-cell-over .ui-state-default,
.jre-embed-box--avantio .ui-datepicker-close,
.jre-embed-box--avantio li.ui-autocomplete-category {
  color: var(--jre-accent) !important;
}

.site-footer {
  background: #2a2520;
  border-top: 1px solid rgba(228, 220, 203, 0.08);
  margin-top: 4rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 4rem 0 3rem;
}

.site-footer__title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(228, 220, 203, 0.7);
}

.site-footer__label {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(228, 220, 203, 0.28);
  margin-bottom: 16px;
}

.site-footer__text {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(228, 220, 203, 0.45);
}

.site-footer__bottom {
  border-top: 1px solid rgba(228, 220, 203, 0.07);
  color: rgba(228, 220, 203, 0.18);
  font-size: 11px;
}

.site-footer__bottom p {
  margin: 0;
  padding: 1.2rem 0;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.15);
}

.footer-logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.site-footer__subtitle {
  margin: 3px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(228, 220, 203, 0.35);
}

@keyframes jre-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .jre-grid-2,
  .jre-grid-3,
  .jre-cta-row,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .nav-right {
    display: none;
  }

  .jre-image-block {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(92, 85, 73, 0.18);
    padding: 0.5rem 1.15rem 1rem;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .jre-section {
    padding: 3.25rem 0;
  }

  /* Mobile fixes for Avantio widget */
  .jre-embed-box--avantio #miniformulario_slider #sombrap #tabla_form {
    flex-direction: column;
  }

  .jre-embed-box--avantio #miniformulario_slider #sombrap #tabla_form > * {
    flex-basis: auto;
    border-left: 0 !important;
    border-top: 1px solid #ccc;
    padding: 12px;
  }

  .jre-embed-box--avantio #miniformulario_slider #sombrap #tabla_form > *:first-child {
    border-top: 0;
  }

  .jre-embed-box--avantio #miniformulario_slider .popover {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  .jre-embed-box--avantio #miniformulario_slider #sombrap #contenido_buscar {
    margin-top: 0;
    position: static;
    width: 100% !important;
  }

  .jre-embed-box--avantio #miniformulario_slider #sombrap #contenido_buscar a {
    width: 100%;
    min-height: 48px;
  }
}

/* Marketing page templates */
.jrp-page {
  padding-bottom: 2.5rem;
}

.jrp-container {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}

.jrp-hero {
  padding: 140px 0 72px;
}

.jrp-hero--dark {
  background: linear-gradient(145deg, #27221d, #3a3128);
  color: #fff;
}

.jrp-eyebrow {
  margin: 0 0 0.8rem;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: #5c5549;
}

.jrp-hero--dark .jrp-eyebrow {
  color: #ffd36c;
}

.jrp-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
}

.jrp-lead {
  margin: 20px 0 0;
  color: #7a7066;
  max-width: 65ch;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
}

.jrp-hero--dark .jrp-lead {
  color: rgba(255, 255, 255, 0.78);
}

.jrp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.jrp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.jrp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.jrp-section {
  padding: 80px 0;
}

.jrp-section--sand {
  background: #f4efe7;
}

.jrp-card {
  background: #fff;
  border: 1px solid #e4dccb;
  border-radius: 0;
  padding: 28px;
}

.jrp-stat {
  background: #5c5549;
  color: #fff;
  border-radius: 0;
  padding: 52px 40px;
}

.jrp-stat__num {
  margin: 0;
  font-size: 52px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
}

.jrp-stat__label {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.jrp-body {
  color: #6c6257;
}

.jrp-values {
  margin: 0;
  padding-left: 1rem;
  color: #6c6257;
}

.jrp-values li + li {
  margin-top: 0.55rem;
}

.jrp-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 0;
  border: 1px solid #e4dccb;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5c5549;
}

.jrp-team img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.jrp-team h3 {
  margin: 0.75rem 0 0.2rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
}

.jrp-team p {
  margin: 0.2rem 0;
  color: #6c6257;
}

.jrp-cta-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jrp-cta-split > div {
  padding: 80px 60px;
}

.jrp-cta-split > div:first-child {
  background: #26211c;
  color: #fff;
}

.jrp-cta-split > div:last-child {
  background: #4a3b2d;
  color: #fff;
}

.jrp-btn {
  display: inline-block;
  border: 0;
  border-radius: 0;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jrp-btn--yellow {
  background: #ffd631;
  color: #2a2520;
}

.jrp-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.jrp-calc {
  background: #f4efe7;
}

.jrp-calc__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
}

.jrp-calc__inputs,
.jrp-calc__result {
  padding: 1.4rem;
}

.jrp-calc__result {
  background: #46382c;
  color: #fff;
}

.jrp-field {
  margin-bottom: 1rem;
}

.jrp-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b6b59;
}

.jrp-field select,
.jrp-field input {
  width: 100%;
  border: 1px solid #d9cab7;
  background: #fff;
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
}

.jrp-result-big {
  margin: 0.3rem 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5rem;
}

.jrp-result-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.jrp-breakdown {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.8rem;
}

.jrp-breakdown p {
  margin: 0.35rem 0;
}

.jrp-filter {
  border-bottom: 1px solid #dfd1c1;
  background: #fff;
  position: sticky;
  top: 76px;
  z-index: 50;
}

.jrp-filter .jrp-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.jrp-filter button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 20px 24px;
  background: transparent;
  color: #6c6257;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.jrp-filter button.is-active {
  color: #2f2820;
  border-bottom-color: #6f5038;
}

.jrp-post {
  background: #fff;
  border: 0;
  overflow: hidden;
}

.jrp-post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.jrp-post__body {
  padding: 24px;
}

.jrp-post h3 {
  margin: 0.4rem 0;
  font-family: "Fraunces", Georgia, serif;
}

.jrp-post p {
  margin: 0;
  color: #6c6257;
}

.jrp-post.is-hidden {
  display: none;
}

.jrp-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
}

.jrp-article h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-family: "Fraunces", Georgia, serif;
}

.jrp-article p {
  color: #5f554a;
}

.jrp-quote {
  border-left: 3px solid #ffd631;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: #4f4337;
}

.jrp-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.jrp-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.jrp-kv {
  margin: 0.35rem 0;
  color: #6c6257;
}

@media (max-width: 980px) {
  .jrp-grid-2,
  .jrp-grid-3,
  .jrp-grid-4,
  .jrp-calc__layout,
  .jrp-article,
  .jrp-contact-grid,
  .jrp-contact-list,
  .jrp-cta-split {
    grid-template-columns: 1fr;
  }

  .jrp-hero {
    padding-top: 4rem;
  }
}
