@font-face {
  font-family: Nunito;
  src: url('/static/nunito-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

.r-mobile, [hidden] { display: none !important; }
.r-office-details { grid-column: 1 / -1; margin-top: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.r-office-details p { margin: 4px 0; }
.r-office-details a { color: inherit; text-underline-offset: 3px; }
.r-preview [data-r-main] { display: contents; }
.r-preview :focus-visible { outline: 3px solid #2f2a33; outline-offset: 3px; }
.r-skip { position: absolute; top: -200px; left: 12px; }
.r-skip:focus { z-index: 10; top: 12px; background: white; padding: 12px; }
.r-preview [data-r-inert] { cursor: default; text-decoration: none; }
.r-preview [data-preview-field] { opacity: 1; color: #4a4250; cursor: default; }
.r-preview input[type=file] { max-width: 100%; }

.r-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .r-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .r-grid-three { grid-template-columns: minmax(0, 1fr); }
}

.r-seo-faq { display: grid; gap: 12px; }
.r-seo-faq details { border-radius: 22px; background: #fff; }
.r-seo-faq details[open] { background: #f4eaf4; }
.r-seo-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
}
.r-seo-faq summary::-webkit-details-marker { display: none; }
.r-seo-faq summary::after {
  content: '';
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(#2f2a33, #2f2a33) center / 12px 2px no-repeat,
              linear-gradient(#2f2a33, #2f2a33) center / 2px 12px no-repeat #f2c9c4;
}
.r-seo-faq details[open] summary::after { background-size: 12px 2px, 0 0; }
.r-seo-faq details p { margin: 0; padding: 0 20px 18px; line-height: 1.65; }

.r-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.r-photo-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .r-desktop { display: none !important; }
  .r-mobile:not([hidden]) { display: flex !important; }
  html:has([data-r-header][data-r-open]),
  body:has([data-r-header][data-r-open]) { overflow: hidden; }
  [data-r-header][data-r-open] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top);
  }
  [data-r-header][data-r-open] > header {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fbf7f3;
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)) !important;
  }
  [data-r-header][data-r-open] #menu-movil {
    flex: 1 0 auto;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom))
             max(16px, env(safe-area-inset-left)) !important;
  }
}

@media (max-width: 480px) {
  [data-r-header] > header { gap: 10px !important; }
  [data-r-header] > header > a:first-child > span { gap: 8px !important; }
  [data-r-header] > header > a:first-child svg { width: 34px; height: 34px; }
  [data-r-header] .r-site-name { font-size: clamp(12px, 3.4vw, 19px) !important; }
  [data-r-header] .r-site-name + span { letter-spacing: 0.12em !important; }
  [data-r-header] .r-mobile { flex: none; }
}
@media (max-width: 360px) {
  [data-r-header] .r-site-name + span { font-size: 8px !important; }
  [data-r-header] .r-mobile > :is(a, button) { width: 42px !important; height: 42px !important; }
}

.editorial-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 24px 0;
    padding: 18px 22px;
    border-radius: 22px;
    background: #d6e0c7;
    color: #2e2833;
}
.editorial-cta--1 { background: #e6ddeb; }
.editorial-cta a {
    padding: 10px 16px;
    border-radius: 999px;
    background: #2e2833;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.editorial-cta a:hover { text-decoration: underline; }
.editorial-cta a:focus-visible { outline: 2px solid #2e2833; outline-offset: 4px; }

.r-instagram { margin: clamp(28px, 5vw, 64px) 0 !important; }

.r-landing-block {
    margin: clamp(32px, 6vw, 72px) 0;
    color: #2f2a33;
}
.r-landing-block h2 {
    margin: 0 0 24px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.025em;
}
.r-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
}
.r-landing-grid article,
.r-landing-grid li {
    background: #fff;
    border-radius: 28px;
    padding: 18px;
    min-width: 0;
}
.r-landing-picture { aspect-ratio: 4 / 3; border-radius: 20px; }
.r-landing-grid h3 { margin: 16px 0 6px; font-size: 21px; line-height: 1.25; }
.r-landing-grid p,
.r-landing-actions p { margin: 0; line-height: 1.55; }
.r-landing-related { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 20px 0 0; }
.r-landing-process,
.r-landing-actions { border-radius: 36px; padding: clamp(22px, 5vw, 50px); }
.r-landing-process { background: #d9e2c8; }
.r-landing-process ol { margin: 0; padding: 0; list-style: none; counter-reset: landing-step; }
.r-landing-process li { counter-increment: landing-step; }
.r-landing-process li::before {
    content: counter(landing-step);
    display: grid;
    place-items: center;
    background: #bfd3df;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-weight: 800;
}
.r-landing-process li:first-child::before { background: #f2c9c4; }
.r-landing-process li:last-child::before { background: #f4e3c3; }
.r-landing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #bfd3df;
}
.r-landing-actions h2 { margin-bottom: 10px; }
.r-landing-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.r-landing-buttons a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    background: #2f2a33;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.r-landing-buttons a + a { background: #fff; color: #2f2a33; }
.r-landing-buttons a:hover { text-decoration: underline; }
@media (max-width: 680px) {
    .r-landing-grid { grid-template-columns: minmax(0, 1fr); }
}

.r-landing-contact {
    margin-top: clamp(32px, 6vw, 72px);
    scroll-margin-top: 100px;
}
@media (max-width: 560px) {
    .r-preview :is(.r-page-wrap, .wrap) { padding-inline: 12px !important; }
    .r-preview main :is(section, article, aside)[style*="background:"][style*="padding:"],
    .r-preview main [data-r-starting-prices],
    .r-preview main :is(.hero, .panel, .zones-panel, .r-landing-process, .r-landing-actions, .r-landing-contact) {
        padding-inline: 12px !important;
    }
    #inicio, .r-landing-contact { gap: 24px !important; }
    #inicio { border-radius: 28px !important; }
    .r-landing-contact form { padding: 16px 12px !important; }
    .r-landing-contact form :is(input, select, textarea) { min-width: 0; }
}

.r-guide-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.r-guide-links a {
    padding: 6px 12px;
    border-radius: 999px;
    background: #2f2a33;
    color: #fbf7f3;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
}
.r-guide-links a:hover { text-decoration: underline; }

.r-price-formula {
    margin-top: 20px;
    padding: clamp(16px, 3vw, 28px);
    background: #fff;
    border: 1px solid #e6dcd3;
    border-radius: 22px;
}
.r-price-formula p { margin: 0; font-weight: 700; }
.r-price-formula ul { display: grid; gap: 8px 20px; padding-left: 20px; }
.r-price-formula ul + p { border-top: 1px solid #e6dcd3; padding-top: 12px; }
.r-price-formula p span { color: #574e57; font-weight: 500; }
.r-price-field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; min-width: 0; }
.r-price-field :is(input, select) { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 12px; border: 1.5px solid #9a8f98; border-radius: 14px; background: #fff; font: inherit; }
.r-price-field small { color: #574e57; font-weight: 400; }
.r-upload-progress { grid-column: 1 / -1; font-size: 14px; }
.r-upload-progress:not(:has(p:not(:empty), progress:not([hidden]))) { display: none; }
.r-upload-progress p { margin: 0; }
.r-upload-progress progress:not([hidden]) { display: block; width: 100%; margin-top: 6px; accent-color: #2f2a33; }
.r-landing-contact button:disabled { opacity: .65; cursor: wait !important; }

.r-faq-topic {
    margin: 24px 0 4px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    letter-spacing: -.02em;
}
.r-faq-topic:first-child { margin-top: 0; }

.r-hardware { margin: clamp(32px, 6vw, 76px) 0; color: #2f2a33; }
.r-hardware h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 38px); line-height: 1.15; }
.r-hardware p { max-width: 76ch; margin: 0 0 22px; line-height: 1.65; }
.r-hardware ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 10px; }
.r-hardware li { display: grid; place-items: center; flex: 1 1 132px; min-width: 0; height: 84px; background: white; border-radius: 16px; }
.r-hardware .button { display: inline-block; margin-top: 16px; }
.r-hardware img { display: block; width: min(100px, 75%); height: 48px; object-fit: contain; }
@media (max-width: 600px) {
  .r-hardware li { flex-basis: 26%; height: 64px; }
  .r-hardware img { height: 38px; }
}

.finish-book { margin: clamp(40px, 6vw, 84px) 0; }
.finish-book h2 { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.finish-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.finish-choice { position: absolute; width: 1px; height: 1px; opacity: 0; }
.finish-choice + label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 6px; border: 1px solid #d6cdc6; border-radius: 24px; color: #2f2a33; cursor: pointer; box-sizing: border-box; }
.finish-choice + label img { width: 29px; height: 29px; border-radius: 50%; object-fit: cover; }
.finish-choice:checked + label { background: #2f2a33; border-color: #2f2a33; color: white; }
.finish-choice:focus-visible + label { outline: 3px solid #815354; outline-offset: 3px; }
.finish-view { display: none; order: 1; flex: 0 0 100%; margin-top: 8px; background: white; border-radius: 26px; overflow: hidden; }
.finish-choice:checked + label + .finish-view { display: grid; grid-template-columns: 3fr 2fr; }
.finish-scene { min-height: 300px; }
.finish-detail { align-self: center; padding: clamp(22px,4vw,54px); }
.finish-detail > img { width: 88px; height: 80px; object-fit: cover; border-radius: 12px; }
.finish-detail h3 { margin: 16px 0 8px; font-size: clamp(23px, 2.8vw, 36px); line-height: 1.1; }
.finish-detail p { margin: 0; line-height: 1.55; }
@media (max-width: 680px) {
  .finish-choice:checked + label + .finish-view { grid-template-columns: 1fr; }
  .finish-scene { min-height: 0; aspect-ratio: 1.65; }
  .finish-detail { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 18px 14px; }
  .finish-detail > img { width: 54px; height: 62px; }
  .finish-detail h3 { margin-top: 0; }
  .finish-options { gap: 6px; }
  .finish-choice + label { padding: 3px 8px 3px 5px; font-size: 14px; gap: 4px; }
  .finish-choice + label img { width: 21px; height: 21px; }
}

.storage-guide { margin: clamp(40px, 6vw, 84px) 0; scroll-margin-top: 92px; }
.storage-guide h2 { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.storage-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(18px, 3vw, 44px); }
.storage-photo { margin: 0; overflow: hidden; border-radius: 24px; }
.storage-photo img { display: block; width: 100%; height: auto; }
.storage-list details { border-bottom: 1px solid #d8cec5; }
.storage-list details:first-child { border-top: 1px solid #d8cec5; }
.storage-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; min-height: 48px; box-sizing: border-box; font-size: clamp(17px, 2vw, 22px); line-height: 1.25; font-weight: 700; cursor: pointer; list-style: none; }
.storage-list summary::-webkit-details-marker { display: none; }
.storage-list summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-right: 6px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.storage-list details[open] summary::after { transform: rotate(225deg); }
.storage-list summary:focus-visible { outline: 2px solid #815354; outline-offset: 2px; }
.storage-list p { margin: 0; padding: 0 22px 18px 2px; line-height: 1.55; max-width: 56ch; }
@media (max-width: 700px) {
  .storage-layout { grid-template-columns: 1fr; gap: 14px; }
  .storage-photo img { aspect-ratio: 1.9; object-fit: cover; }
}

.ig-gallery { color: #2f2a33; }
.ig-gallery h2 { margin: 0 0 10px; font-size: clamp(27px,3.5vw,46px); line-height: 1.1; }
.ig-gallery p { margin: 0 0 22px; }
.ig-gallery a { color: inherit; text-underline-offset: 3px; }
.ig-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ig-tiles a { display: block; border-radius: 24px; overflow: hidden; }
.ig-tiles img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ig-gallery .ig-view-all { display: inline-block; text-decoration: none; margin: 16px 0; padding: 10px 16px; border-radius: 14px; border: 1px solid #847882; background: transparent; color: inherit; cursor: pointer; font: inherit; }
@media (max-width: 700px) {
  .ig-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ig-tiles a { border-radius: 20px; }
}

/* Cookie preferences */
#cookie-panel:not([hidden]) {
  display: block; position: fixed; z-index: 2147483646; inset: auto 12px max(12px, env(safe-area-inset-bottom)) auto;
  width: min(430px, calc(100% - 24px)); box-sizing: border-box; max-height: 80dvh; overflow: auto;
  padding: 20px; border: 1px solid #d6cfc9; border-radius: 22px; background: #fffaf6; color: #2f2a33;
  box-shadow: 0 5px 28px #2f2a3325; font-family: Nunito, sans-serif;
}
#cookie-panel h2 { margin: 0 0 6px; font-size: 1.35rem; }
#cookie-panel p { margin: 0 0 14px; font-size: 1rem; line-height: 1.45; }
#cookie-panel a, .cookie-settings { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { flex: 1 1 120px; min-height: 44px; padding: 8px; color: #fff; background: #2f2a33; border: 0; border-radius: 12px; cursor: pointer; font: inherit; }
.cookie-settings { border: 0; background: none; padding: 8px; font: inherit; cursor: pointer; }

@media (max-width: 700px) {
  #acabados { padding-bottom: 0 !important; }
  #acabados + .r-hardware { margin-top: 24px; }
}
