/* NEXOGIR · estilos comunes de todas las páginas (basado en la plantilla Sill de 8B, licencia MIT) */
html{scrollbar-width:none}html::-webkit-scrollbar{display:none}
/* latin-ext */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/gabarito/v9/QGYtz_0dZAGKJJ4t3HtmW4XUng.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/gabarito/v9/QGYtz_0dZAGKJJ4t3HtoW4U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Rethink Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rethinksans/v7/AMOWz4SDuXOMCPfdoglY9JQEWli389k.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rethink Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rethinksans/v7/AMOWz4SDuXOMCPfdoglY9JQEVFi3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@layer tokens, base, atoms, layout, sections, scenes;
@layer tokens {
:root {
  --color-0: #ffffff;
  --color-1: #0e1b2b;
  --color-2: #f6f7f2;
  --color-3: #1fc77e;
  --color-4: #123a5c;
  --color-5: #2c56e0;
  --color-6: #d6ddd2;
  --color-7: #9fd0ea;
  --color-8: #0b6e57;
  --color-9: #b5e8c9;
  --color-10: #f7d046;
  --font-1: "Gabarito", "Gabarito Fallback", Arial, sans-serif;
  --font-2: "Rethink Sans", "Rethink Sans Fallback", Arial, sans-serif;
  --space-1: clamp(8px, 1.1vw, 16px);
  --space-2: clamp(18px, 2.3vw, 34px);
}
}
@layer base {
/* font fallbacks: start */
@font-face { font-family: "Gabarito Fallback"; src: local("Arial Black"), local("Arial-Black"), local("Arial Bold"); font-weight: 800 1000; size-adjust: 80.9%; ascent-override: 116.2%; descent-override: 32.1%; line-gap-override: 0%; }
@font-face { font-family: "Gabarito Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 98.7%; ascent-override: 95.3%; descent-override: 26.4%; line-gap-override: 0%; }
@font-face { font-family: "Rethink Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 550 799; size-adjust: 94.4%; ascent-override: 104.9%; descent-override: 32.9%; line-gap-override: 0%; }
@font-face { font-family: "Rethink Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 103.9%; ascent-override: 95.3%; descent-override: 29.8%; line-gap-override: 0%; }
/* font fallbacks: end */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { margin: 0; background: var(--color-0); color: var(--color-1); font-family: var(--font-2); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  img, svg { display: block; max-width: 100%; }
  h1, h2, h3, p, ol, ul, figure, blockquote, address, dl, dd { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  address { font-style: normal; }
  a { color: inherit; }
  button, input, select, textarea { font: inherit; color: inherit; }
  :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
  html.lenis, html.lenis body { height: auto; }
  .lenis-stopped { overflow: clip; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-smooth iframe { pointer-events: none; }
}
@layer atoms {
.m-text { font-family: var(--font-2); font-size: clamp(16px, 1.15vw, 18px); font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; font-style: normal; }
.m-text-2 { font-family: var(--font-1); font-size: clamp(46px, 7.2vw, 116px); font-weight: 900; line-height: .9; letter-spacing: -.035em; text-transform: none; font-style: normal; }
.m-text-3 { font-family: var(--font-1); font-size: clamp(36px, 4.6vw, 72px); font-weight: 800; line-height: .94; letter-spacing: -.03em; text-transform: none; font-style: normal; }
.m-text-4 { font-family: var(--font-2); font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; font-style: normal; }
.m-text-6 { font-family: var(--font-1); font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-transform: none; font-style: normal; }
.m-text-7 { font-family: var(--font-2); font-size: clamp(18px, 1.55vw, 22px); font-weight: 400; line-height: 1.4; letter-spacing: -.005em; text-transform: none; font-style: normal; }
.m-text-8 { font-family: var(--font-1); font-size: clamp(40px, 4.6vw, 72px); font-weight: 500; line-height: .95; letter-spacing: -.025em; text-transform: none; font-style: normal; }

.m-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border: 0; background: var(--color-1); color: var(--color-2); font-family: var(--font-2); font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.m-btn::before { content: ""; position: absolute; z-index: -1; left: -12%; right: -12%; top: 0; height: 150%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--color-10); transform: translateY(101%); transition: transform .5s cubic-bezier(.25, .8, .25, 1); }
.m-btn__label { transition: color .3s; }
.m-btn:focus-visible { outline-color: var(--color-1); }
@media (hover: hover) {
  .m-btn:hover::before { transform: translateY(-12%); }
  .m-btn:hover .m-btn__label { color: var(--color-1); }
}
.m-btn-2 { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; background: var(--color-1); color: var(--color-0); font-family: var(--font-2); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.m-btn-2::before { content: ""; position: absolute; z-index: -1; left: -12%; right: -12%; top: 0; height: 150%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--color-3); transform: translateY(101%); transition: transform .5s cubic-bezier(.25, .8, .25, 1); }
.m-btn-2__label { transition: color .3s; }
.m-btn-2:focus-visible { outline-color: var(--color-1); }
@media (hover: hover) {
  .m-btn-2:hover::before { transform: translateY(-12%); }
  .m-btn-2:hover .m-btn-2__label { color: var(--color-1); }
}
.m-btn--call { background: var(--color-3); color: var(--color-1); gap: 10px; }
.m-btn--call svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.m-btn--call::before { background: var(--color-1); }
@media (hover: hover) {
  .m-btn--call:hover .m-btn__label { color: var(--color-0); }
  .m-btn--call:hover svg { fill: var(--color-0); }
}
.m-btn--call svg { position: relative; transition: fill .3s; }
.m-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.call-fab { position: fixed; z-index: 40; right: 16px; bottom: 16px; box-shadow: 0 10px 30px rgba(14, 27, 43, .25); }
@media (max-width: 767.98px) {
  .call-fab { left: 16px; right: 16px; }
}
.m-link { color: inherit; font-weight: 600; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 2px; background-position: 100% 100%; padding-bottom: 3px; }
@keyframes m-link-swipe { 0% { background-size: 100% 2px; background-position: 100% 100%; } 45% { background-size: 0% 2px; background-position: 100% 100%; } 46% { background-size: 0% 2px; background-position: 0% 100%; } 100% { background-size: 100% 2px; background-position: 0% 100%; } }
@media (hover: hover) {
  .m-link:hover { animation: m-link-swipe .7s cubic-bezier(.6, 0, .3, 1); }
}
.m-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid currentColor; background: transparent; color: var(--color-1); cursor: pointer; }
.m-iconbtn__icon { position: relative; width: 18px; height: 12px; transition: transform .45s cubic-bezier(.3, .8, .3, 1); }
.m-iconbtn__icon::before, .m-iconbtn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: currentColor; }
.m-iconbtn__icon::before { top: 0; }
.m-iconbtn__icon::after { bottom: 0; }
@media (hover: hover) {
  .m-iconbtn:hover .m-iconbtn__icon { transform: rotate(90deg); }
}

.m-surface { background: var(--color-3); color: var(--color-1); }
.m-surface-2 { background: var(--color-4); color: var(--color-2); }
.m-surface-3 { background: var(--color-5); color: var(--color-2); }
.m-surface-4 { background: var(--color-6); color: var(--color-1); }
.m-surface-5 { background: var(--color-7); color: var(--color-1); }
.m-surface-6 { background: var(--color-8); color: var(--color-2); }
.m-surface-7 { background: var(--color-9); color: var(--color-1); }
.m-surface-8 { background: var(--color-10); color: var(--color-1); }

.m-photo { position: relative; overflow: hidden; background: var(--color-1); }
.m-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.m-field { display: grid; gap: 6px; }
.m-field__label { font-family: var(--font-2); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.m-field__input { width: 100%; min-height: 48px; padding: 11px 14px; border: 2px solid var(--color-1); border-radius: 0; background: transparent; color: var(--color-1); font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.4; }
.m-field__input:focus-visible { outline: 3px solid var(--color-1); outline-offset: 2px; }
textarea.m-field__input { min-height: 104px; resize: vertical; }
/* desplegable del formulario con la marca (Chrome/Edge recientes; el resto usa el nativo) */
select.m-field__input option { background: var(--color-2); color: var(--color-1); }
@supports (appearance: base-select) {
  select.m-field__input, select.m-field__input::picker(select) { appearance: base-select; }
  select.m-field__input { cursor: pointer; }
  select.m-field__input::picker-icon { color: var(--color-1); transition: rotate .2s; }
  select.m-field__input:open::picker-icon { rotate: 180deg; }
  select.m-field__input::picker(select) { margin-top: 4px; padding: 0; border: 2px solid var(--color-1); border-radius: 0; background: var(--color-2); box-shadow: 0 10px 24px rgba(14, 27, 43, .18); }
  select.m-field__input option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 17px; cursor: pointer; }
  select.m-field__input option::checkmark { order: 1; margin-left: auto; color: var(--color-8); }
  select.m-field__input option:hover, select.m-field__input option:focus-visible { background: var(--color-1); color: var(--color-0); outline: 0; }
  select.m-field__input option:checked { font-weight: 600; }
}
.m-check { display: flex; align-items: center; gap: 10px; }
.m-check input { width: 20px; height: 20px; accent-color: var(--color-1); }
/* el trazo "curl" de la plantilla se convierte en un rayo */
.m-curl { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.m-curl path { stroke-dasharray: 1; stroke-dashoffset: 0; }
}
@layer layout {
  .u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@layer sections {
  #nav .nav__bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 var(--space-1) 0 calc(var(--space-1) + 10px); background: var(--color-0); color: var(--color-1); border-bottom: 1px solid rgba(14, 27, 43, .1); transition: transform .4s cubic-bezier(.3, .7, .2, 1); }
  #nav[data-hidden] .nav__bar { transform: translateY(-100%); }
  #nav .nav__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-1); font-size: 28px; font-weight: 900; letter-spacing: -.03em; line-height: 1; text-decoration: none; }
  #nav .nav__brand img { display: block; height: 42px; width: auto; }
  #nav .nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
  #nav .nav__book { font-size: 15px; white-space: nowrap; }
  #nav .nav__toggle { display: none; }
  #nav .nav__menu:not([hidden]) { position: fixed; z-index: 60; inset: 0; display: grid; grid-template-rows: auto 1fr; gap: var(--space-1); padding: var(--space-1); background: var(--color-0); overflow-y: auto; }
  #nav .nav__close { justify-self: end; margin: 2px 2px 0 0; }
  #nav .nav__close .m-iconbtn__icon { transform: rotate(45deg); height: 18px; }
  #nav .nav__close .m-iconbtn__icon::before, #nav .nav__close .m-iconbtn__icon::after { top: 50%; bottom: auto; margin-top: -1.5px; }
  #nav .nav__close .m-iconbtn__icon::after { transform: rotate(90deg); }
  #nav .nav__menu ul { display: grid; gap: var(--space-1); grid-auto-rows: minmax(64px, 1fr); }
  #nav .nav__menu a { display: flex; align-items: flex-end; height: 100%; padding: 16px 18px; font-family: var(--font-1); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; text-decoration: none; }
  @media (max-width: 860px) {
    #nav .nav__bar { height: 56px; gap: 10px; }
    #nav .nav__links { display: none; }
    #nav .nav__book { margin-left: auto; }
    #nav .nav__toggle { display: inline-grid; }
  }
  @media (max-width: 380px) {
    #nav .nav__brand img { height: 34px; }
    #nav .nav__book { padding: 10px 14px; font-size: 14px; }
  }
}
@layer sections {
  #opening { position: relative; overflow: clip; }
  #opening .op-s1 { position: relative; z-index: 1; height: 100svh; min-height: 640px; padding: calc(64px + var(--space-1)) var(--space-1) var(--space-1); }
  #opening .op-grid { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-1); }
  #opening .op-cell { display: grid; min-width: 0; min-height: 0; }
  #opening .op-panel { position: relative; min-height: 0; padding: var(--space-2); display: flex; flex-direction: column; gap: 14px; }
  #opening .op-a { grid-column: 1 / 9; grid-row: 1; }
  #opening .op-a .op-panel { justify-content: flex-end; }
  #opening .op-title { font-size: clamp(44px, 7.2vw, 112px); max-width: 8em; }
  #opening .op-b { grid-column: 9 / 13; grid-row: 1 / 3; }
  #opening .op-b .op-panel { padding: 0; gap: 0; }
  #opening .op-photo { flex: 1; min-height: 0; }
  #opening .op-photo img { width: 124%; left: -12%; object-position: 50% 30%; }
  #opening .op-ledge { padding: 16px var(--space-2) 18px; }
  #opening .op-c { grid-column: 1 / 4; grid-row: 2; }
  #opening .op-c .op-panel { justify-content: flex-end; }
  #opening .op-d { grid-column: 4 / 7; grid-row: 2; }
  #opening .op-d .op-panel { justify-content: space-between; }
  #opening .op-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
  #opening .op-curl { position: absolute; right: 9%; top: 11%; width: clamp(50px, 5.6vw, 88px); height: auto; transform-origin: 50% 100%; }
  #opening .op-d .m-text-4 { max-width: 10em; }
  #opening .op-e { grid-column: 7 / 9; grid-row: 2; }
  #opening .op-e .op-panel { justify-content: space-between; }
  #opening .op-e .m-text { font-size: 16px; }

  #opening .op-s2 { position: relative; z-index: 3; min-height: 100svh; padding: calc(64px + var(--space-1)) var(--space-1) var(--space-1); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); }
  #opening .op-s2__text { position: relative; z-index: 1; grid-column: 1 / 5; align-self: start; display: grid; gap: 22px; justify-items: start; padding: 0 var(--space-2) var(--space-2) 10px; }
  #opening .op-house { position: relative; z-index: 1; grid-column: 5 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: var(--space-1); }
  #opening .op-win { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; clip-path: inset(0 0 0 0); }
  #opening .op-win__photo { position: absolute; inset: 0 0 42px; }
  #opening .op-win__label { position: absolute; left: 0; right: 0; bottom: 0; height: 42px; padding: 10px 12px 0; border-top: var(--space-1) solid var(--color-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #opening .op-win--plain::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 42px; width: var(--space-1); margin-left: calc(var(--space-1) / -2); background: var(--color-0); }
  #opening .op-win--plain::after { content: ""; position: absolute; left: 0; right: 0; top: 40%; height: var(--space-1); background: var(--color-0); }
  #opening .op-ink { display: none; position: absolute; z-index: 0; top: 0; left: -3%; width: 106%; height: 220svh; pointer-events: none; color: var(--color-0); }
  #opening .op-ink__hill { width: 100%; height: 100%; fill: currentColor; }
  #opening .op-ink__curl { position: absolute; left: 16%; top: -17svh; width: clamp(90px, 10vw, 160px); height: auto; color: var(--color-3); }

  @media (prefers-reduced-motion: no-preference) {
    #opening .op-a .op-panel { animation: op-from-left .9s cubic-bezier(.2, .7, .2, 1) backwards; }
    #opening .op-b .op-panel { animation: op-from-right 1s .05s cubic-bezier(.2, .7, .2, 1) backwards; }
    #opening .op-c .op-panel { animation: op-from-below .9s .1s cubic-bezier(.2, .7, .2, 1) backwards; }
    #opening .op-d .op-panel { animation: op-from-below .9s .16s cubic-bezier(.2, .7, .2, 1) backwards; }
    #opening .op-e .op-panel { animation: op-from-above .9s .2s cubic-bezier(.2, .7, .2, 1) backwards; }
    #opening .op-photo img { animation: op-look 6s ease-in-out infinite alternate; }
    #opening .op-curl { animation: op-sway 2.6s ease-in-out infinite alternate; }
    #opening .op-s1[data-paused] .op-photo img, #opening .op-s1[data-paused] .op-curl { animation-play-state: paused; }
  }
  @keyframes op-from-left { from { transform: translateX(-32px); } }
  @keyframes op-from-right { from { transform: translateX(32px); } }
  @keyframes op-from-below { from { transform: translateY(32px); } }
  @keyframes op-from-above { from { transform: translateY(-32px); } }
  @keyframes op-look { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
  @keyframes op-sway { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }

  @media (max-width: 767.98px) {
    #opening .op-s1 { height: auto; min-height: 100svh; padding-top: calc(56px + var(--space-1)); }
    #opening .op-grid { height: auto; min-height: calc(100svh - 56px - 2 * var(--space-1)); grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto minmax(190px, 1fr) auto auto; }
    #opening .op-title { font-size: clamp(38px, 11.4vw, 56px); }
    #opening .op-a { grid-column: 1 / 7; grid-row: 1; }
    #opening .op-b { grid-column: 1 / 4; grid-row: 2; }
    #opening .op-ledge { padding: 10px 14px 12px; }
    #opening .op-e { grid-column: 4 / 7; grid-row: 2; }
    #opening .op-e .op-panel { gap: 8px; }
    #opening .op-e .m-text { font-size: 15px; line-height: 1.4; }
    #opening .op-c { grid-column: 1 / 7; grid-row: 3; }
    #opening .op-d { grid-column: 1 / 7; grid-row: 4; }
    #opening .op-d .op-panel { gap: 14px; }
    #opening .op-curl { width: 40px; top: 14px; right: 18px; }
    #opening .op-s2 { padding-top: calc(56px + var(--space-1)); grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    #opening .op-s2__text { grid-column: 1; align-self: start; padding: 10px 6px 18px; gap: 16px; }
    #opening .op-house { grid-column: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(104px, 1fr)); }
    #opening .op-win { min-height: 104px; }
    #opening .op-win__photo { bottom: 34px; }
    #opening .op-win--plain::before { bottom: 34px; }
    #opening .op-win__label { height: 34px; padding: 7px 8px 0; font-size: 11px; letter-spacing: .04em; }
    #opening .op-ink { height: 240svh; }
    #opening .op-ink__curl { left: 12%; top: -9svh; width: 70px; }
  }
}
@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #opening[data-ink] .op-ink { display: block; }
  }
}
@layer sections {
  #eficiencia { padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); }
  #eficiencia .rm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(320px, 42svh) minmax(280px, 36svh); gap: var(--space-1); }
  #eficiencia .rm-head { grid-column: 1 / 9; grid-row: 1; padding: var(--space-2); display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px 36px; align-items: end; }
  #eficiencia .rm-room { position: relative; clip-path: inset(0 0 0 0); }
  #eficiencia .rm-body { padding: var(--space-2); display: flex; flex-direction: column; gap: 12px; }
  #eficiencia .rm-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
  #eficiencia .rm-price strong { font-family: var(--font-1); font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.02em; }
  #eficiencia .rm-ledge { grid-column: 1 / 9; grid-row: 2; display: grid; grid-template-columns: 1fr 1.15fr; }
  #eficiencia .rm-ledge .m-photo { order: 2; }
  #eficiencia .rm-tower { grid-column: 9 / 13; grid-row: 1 / 4; display: grid; grid-template-rows: minmax(0, 1.1fr) auto; }
  #eficiencia .rm-tower .rm-body { display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; align-content: start; }
  #eficiencia .rm-tower .rm-name { grid-row: 1 / 4; align-self: start; width: max-content; font-size: clamp(40px, 4.4vw, 68px); margin-block: calc((var(--len) * .5em - 1.02em) / 2); margin-inline: calc((var(--len) * -.5em + 1.02em) / 2); transform: rotate(-90deg); }
  #eficiencia .rm-tower .rm-body > :not(.rm-name) { grid-column: 2; }
  #eficiencia .rm-burrow { grid-column: 1 / 6; grid-row: 3; display: grid; grid-template-columns: 1fr 1fr; }
  #eficiencia .rm-every { grid-column: 6 / 9; grid-row: 3; padding: var(--space-2); display: flex; flex-direction: column; gap: 14px; }
  #eficiencia .rm-every ul { display: grid; gap: 8px; }
  #eficiencia .rm-every li { padding-left: 22px; position: relative; }
  #eficiencia .rm-every li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--color-1); }
  @media (max-width: 1100px) and (min-width: 768px) {
    #eficiencia .rm-head { grid-template-columns: 1fr; }
    #eficiencia .rm-burrow { grid-column: 1 / 9; }
    #eficiencia .rm-every { grid-column: 1 / 9; grid-row: 4; }
    #eficiencia .rm-tower { grid-row: 1 / 5; }
    #eficiencia .rm-grid { grid-template-rows: auto minmax(320px, 42svh) minmax(280px, 36svh) auto; }
  }
  @media (max-width: 767.98px) {
    #eficiencia .rm-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    #eficiencia .rm-head, #eficiencia .rm-ledge, #eficiencia .rm-tower, #eficiencia .rm-burrow, #eficiencia .rm-every { grid-column: 1; grid-row: auto; }
    #eficiencia .rm-head { grid-template-columns: 1fr; }
    #eficiencia .rm-ledge, #eficiencia .rm-burrow { grid-template-columns: 1fr; }
    #eficiencia .rm-ledge .m-photo { order: 0; }
    #eficiencia .rm-ledge .m-photo, #eficiencia .rm-burrow .m-photo { aspect-ratio: 16 / 10; }
    #eficiencia .rm-tower { grid-template-rows: none; }
    #eficiencia .rm-tower .m-photo { aspect-ratio: 4 / 5; }
  }
}
@layer sections {
  #obra { position: relative; padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); }
  #obra .dy-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  #obra .dy-rail { min-width: 0; }
  #obra .dy-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; padding: 0 10px 10px; }
  #obra .dy-head .m-text { max-width: 36ch; }
  #obra .dy-sky { display: none; }
  #obra .dy-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-1); }
  #obra .dy-hour { display: flex; flex-direction: column; gap: 10px; padding: var(--space-2) var(--space-2) 0; }
  #obra .dy-time { font-family: var(--font-1); font-size: clamp(40px, 4.2vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
  #obra .dy-hour .m-text { max-width: 34ch; }
  #obra .dy-photo { aspect-ratio: 4 / 3; margin: auto calc(-1 * var(--space-2)) 0; }
  @media (max-width: 1000px) { #obra .dy-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) { #obra .dy-track { grid-template-columns: 1fr; } }
}
@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #obra[data-track] { padding: 0; }
    #obra[data-track] .dy-stage { height: 100svh; padding: calc(64px + var(--space-1)) var(--space-1) var(--space-1); grid-template-rows: auto minmax(0, .5fr) minmax(0, 1fr); overflow: hidden; }
    #obra[data-track] .dy-sky { display: block; position: relative; overflow: hidden; background: var(--color-7); }
    #obra[data-track] .dy-disc { position: absolute; left: 0; top: 0; width: clamp(84px, 15vmin, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--color-10); box-shadow: 0 0 0 14px rgba(247, 208, 70, .35); }
    #obra[data-track] .dy-rail { min-height: 0; }
    #obra[data-track] .dy-track { display: flex; width: max-content; height: 100%; }
    #obra[data-track] .dy-hour { width: clamp(290px, 31vw, 450px); padding-top: clamp(16px, 2vw, 28px); gap: 6px; }
    #obra[data-track] .dy-photo { aspect-ratio: auto; flex: 1 1 0; min-height: 90px; }
  }
  @media (prefers-reduced-motion: no-preference) and (max-width: 767.98px) {
    #obra[data-track] .dy-stage { padding-top: calc(56px + var(--space-1)); grid-template-rows: auto minmax(0, .38fr) minmax(0, 1fr); }
    #obra[data-track] .dy-hour { width: 80vw; }
    #obra[data-track] .dy-head .m-text { display: none; }
  }
}
@layer sections {
  #rehabilitacion { padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); overflow-x: clip; }
  #rehabilitacion .cy-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); }
  #rehabilitacion .cy-window { --cy-g: var(--space-1); grid-column: 1 / 9; grid-row: 1 / 3; position: relative; aspect-ratio: 3 / 2; }
  #rehabilitacion .cy-pane { position: absolute; inset: 0;
    clip-path: inset(calc(var(--r) * ((100% - var(--cy-g)) / 2 + var(--cy-g))) calc((2 - var(--c)) * ((100% - 2 * var(--cy-g)) / 3 + var(--cy-g))) calc((1 - var(--r)) * ((100% - var(--cy-g)) / 2 + var(--cy-g))) calc(var(--c) * ((100% - 2 * var(--cy-g)) / 3 + var(--cy-g)))); }
  #rehabilitacion .cy-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  #rehabilitacion .cy-tint { position: absolute; inset: 0; opacity: 0; }
  #rehabilitacion .cy-pane:nth-child(1) .cy-tint { background: var(--color-3); }
  #rehabilitacion .cy-pane:nth-child(2) .cy-tint { background: var(--color-5); }
  #rehabilitacion .cy-pane:nth-child(3) .cy-tint { background: var(--color-10); }
  #rehabilitacion .cy-pane:nth-child(4) .cy-tint { background: var(--color-7); }
  #rehabilitacion .cy-pane:nth-child(5) .cy-tint { background: var(--color-4); }
  #rehabilitacion .cy-pane:nth-child(6) .cy-tint { background: var(--color-9); }
  #rehabilitacion .cy-text { grid-column: 9 / 13; grid-row: 1; padding: var(--space-2); display: flex; flex-direction: column; gap: 16px; }
  #rehabilitacion .cy-text ul { display: grid; gap: 6px; margin-top: auto; }
  #rehabilitacion .cy-text :is(h1, h2) { font-size: clamp(32px, 3vw, 48px); overflow-wrap: anywhere; }
  #rehabilitacion .cy-perk { grid-column: 9 / 13; grid-row: 2; display: grid; grid-template-rows: 1fr auto; min-height: 220px; }
  #rehabilitacion .cy-perk figcaption { padding: 14px var(--space-2) 18px; display: grid; gap: 6px; }
  @media (max-width: 900px) {
    #rehabilitacion .cy-text { grid-column: 1 / 13; grid-row: 1; }
    #rehabilitacion .cy-window { grid-column: 1 / 13; grid-row: 2; }
    #rehabilitacion .cy-perk { grid-column: 1 / 13; grid-row: 3; }
    #rehabilitacion .cy-perk .m-photo { aspect-ratio: 16 / 9; }
  }
  @media (max-width: 767.98px) {
    #rehabilitacion .cy-window { aspect-ratio: 3 / 4; }
    #rehabilitacion .cy-pane {
      clip-path: inset(calc(var(--mr) * ((100% - 2 * var(--cy-g)) / 3 + var(--cy-g))) calc((1 - var(--mc)) * ((100% - var(--cy-g)) / 2 + var(--cy-g))) calc((2 - var(--mr)) * ((100% - 2 * var(--cy-g)) / 3 + var(--cy-g))) calc(var(--mc) * ((100% - var(--cy-g)) / 2 + var(--cy-g)))); }
  }
}
@layer sections {
  #proceso { padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); }
  #proceso .vs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(74px, auto)); gap: var(--space-1); }
  #proceso .vs-head { grid-column: 1 / 3; grid-row: 1 / 4; display: flex; flex-direction: column; gap: 18px; padding: 0 10px 10px; align-self: start; }
  #proceso .vs-step { display: flex; flex-direction: column; gap: 10px; padding: var(--space-2); }
  #proceso .vs-step:nth-of-type(1) { grid-column: 1; grid-row: 5 / 8; }
  #proceso .vs-step:nth-of-type(2) { grid-column: 2; grid-row: 4 / 8; }
  #proceso .vs-step:nth-of-type(3) { grid-column: 3; grid-row: 3 / 8; }
  #proceso .vs-step:nth-of-type(4) { grid-column: 4; grid-row: 1 / 8; }
  #proceso .vs-num { font-family: var(--font-1); font-size: clamp(48px, 5vw, 80px); font-weight: 900; line-height: .9; letter-spacing: -.04em; }
  #proceso .vs-step .m-text { max-width: 30ch; }
  #proceso .vs-photo { flex: 1 1 auto; min-height: 200px; margin: 0 calc(-1 * var(--space-2)) 8px; order: -1; margin-top: calc(-1 * var(--space-2)); }
  #proceso .vs-photo img { object-position: 50% 30%; }
  #proceso .vs-curl { width: clamp(50px, 5vw, 80px); height: auto; color: var(--color-3); }
  @media (max-width: 767.98px) {
    #proceso .vs-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: none; }
    #proceso .vs-head { grid-column: 1 / 9; grid-row: auto; }
    #proceso .vs-step:nth-of-type(n) { grid-row: auto; }
    #proceso .vs-step:nth-of-type(1) { grid-column: 1 / 7; }
    #proceso .vs-step:nth-of-type(2) { grid-column: 2 / 8; }
    #proceso .vs-step:nth-of-type(3) { grid-column: 3 / 9; }
    #proceso .vs-step:nth-of-type(4) { grid-column: 1 / 9; }
    #proceso .vs-photo { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
    #proceso .vs-curl { position: absolute; right: 18px; top: 4px; width: 40px; }
    #proceso .vs-head { position: relative; padding-right: 70px; }
  }
}
@layer sections {
  #gestion { padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); overflow-x: clip; }
  #gestion .qt-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); margin-bottom: clamp(28px, 6svh, 64px); padding: 0 10px; }
  #gestion .qt-head h2 { grid-column: 1 / 7; }
  #gestion .qt-head > p { grid-column: 8 / 12; align-self: end; }
  #gestion .qt-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); }
  #gestion .qt-rule { min-height: clamp(280px, 40svh, 380px); padding: var(--space-2); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
  #gestion .qt-word { font-size: clamp(34px, 3.8vw, 60px); }
  @media (max-width: 900px) {
    #gestion .qt-head h2, #gestion .qt-head .m-cta-wrap { grid-column: 1 / 13 !important; }
    #gestion .qt-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 767.98px) {
    #gestion .qt-rule { min-height: 240px; padding: 16px; }
    #gestion .qt-word { font-size: clamp(26px, 8vw, 40px); }
    #gestion .qt-rule .m-text { font-size: 15px; line-height: 1.4; }
  }
}
@layer sections {
  #faq { padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); }
  #faq .fq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); align-items: stretch; }
  #faq .fq-head { grid-column: 1 / 6; padding: var(--space-2); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 380px; }
  #faq .fq-list { grid-column: 6 / 13; display: grid; gap: var(--space-1); align-content: start; }
  #faq .fq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--space-2); cursor: pointer; list-style: none; }
  #faq .fq-item summary::-webkit-details-marker { display: none; }
  #faq .fq-item summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat, linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat; transition: transform .35s; }
  #faq .fq-item[open] summary::after { transform: rotate(45deg); }
  #faq .fq-item summary:focus-visible { outline-offset: -6px; }
  #faq .fq-a { padding: 0 var(--space-2) var(--space-2); max-width: 62ch; }
  @media (max-width: 900px) {
    #faq .fq-head, #faq .fq-list { grid-column: 1 / 13; }
    #faq .fq-head { min-height: 0; }
  }
}
@layer sections {
  #contacto { padding: clamp(56px, 9svh, 110px) var(--space-1) var(--space-1); overflow: clip; }
  #contacto .ct-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: var(--space-1); }
  #contacto .ct-side { position: relative; padding: var(--space-2); display: flex; flex-direction: column; gap: 14px; }
  #contacto .ct-call { grid-column: 1 / 3; grid-row: 1 / 4; justify-content: space-between; align-items: flex-start; }
  #contacto .ct-write { grid-column: 11 / 13; grid-row: 1 / 4; justify-content: space-between; align-items: flex-end; text-align: right; }
  #contacto .ct-visit { grid-column: 3 / 11; grid-row: 1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
  #contacto .ct-hours { grid-column: 3 / 11; grid-row: 3; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
  #contacto .ct-label { font-size: clamp(44px, 5.4vw, 84px); }
  #contacto .ct-call .ct-label, #contacto .ct-write .ct-label { width: max-content; align-self: center; margin-block: calc((var(--len) * .56em - .94em) / 2); margin-inline: calc((var(--len) * -.56em + .94em) / 2); }
  #contacto .ct-call .ct-label { transform: rotate(-90deg); }
  #contacto .ct-write .ct-label { transform: rotate(90deg); }
  #contacto .ct-detail { display: grid; gap: 4px; }
  #contacto .ct-write .ct-detail { justify-items: end; }
  #contacto .ct-form { grid-column: 3 / 11; grid-row: 2; padding: var(--space-2); }
  #contacto .ct-form form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px var(--space-2); }
  #contacto .ct-form h2 { grid-column: 1 / 7; }
  #contacto .ct-form .m-field { grid-column: span 3; }
  #contacto .ct-form .ct-short { grid-column: span 2; }
  #contacto .ct-form .ct-wide { grid-column: 1 / 7; }
  #contacto .ct-send { grid-column: 1 / 7; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  @media (max-width: 1100px) {
    #contacto .ct-call { grid-column: 1 / 3; }
    #contacto .ct-form .ct-short { grid-column: span 3; }
  }
  @media (max-width: 900px) {
    #contacto .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    #contacto .ct-call, #contacto .ct-write, #contacto .ct-visit, #contacto .ct-hours { grid-row: auto; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; min-height: 150px; }
    #contacto .ct-call { grid-column: 1; grid-row: 1; }
    #contacto .ct-write { grid-column: 2; grid-row: 1; }
    #contacto .ct-visit { grid-column: 1; grid-row: 2; }
    #contacto .ct-hours { grid-column: 2; grid-row: 2; }
    #contacto .ct-write .ct-detail { justify-items: start; }
    #contacto .ct-call .ct-label, #contacto .ct-write .ct-label { width: auto; margin: 0; align-self: flex-start; transform: none; }
    #contacto .ct-label { font-size: clamp(30px, 8vw, 52px); }
    #contacto .ct-form { grid-column: 1 / 3; grid-row: 3; }
    #contacto .ct-form .m-field, #contacto .ct-form .ct-short { grid-column: 1 / 7; }
  }
  @media (max-width: 420px) {
    #contacto .ct-side { padding: 14px; }
    #contacto .ct-detail .m-text { font-size: 15px; overflow-wrap: anywhere; }
  }
}
@layer sections {
  #footer { padding: clamp(64px, 11svh, 120px) var(--space-1) 0; color: var(--color-1); border-top: 1px solid rgba(14, 27, 43, .1); margin-top: clamp(40px, 8svh, 90px); }
  #footer .ft-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--space-1); padding: 0 10px; }
  #footer .ft-nav { grid-column: 1 / 5; }
  #footer .ft-nav ul { display: grid; gap: 10px; }
  #footer .ft-contact { grid-column: 5 / 9; display: grid; gap: 10px; align-content: start; justify-items: start; }
  #footer .ft-note { grid-column: 9 / 13; display: grid; gap: 10px; align-content: start; }
  #footer .ft-mark { position: relative; overflow: hidden; margin-top: clamp(40px, 8svh, 90px); margin-bottom: 84px; }
  #footer .ft-curl { position: absolute; left: 86%; bottom: 10%; height: 74%; width: auto; color: var(--color-10); stroke-width: 6; }
  #footer .ft-word { color: var(--color-3); font-size: min(46vw, calc((100vw - 2 * var(--space-1)) / (var(--len) * .6))); line-height: 1; padding-top: .02em; }
  @media (max-width: 767.98px) {
    #footer .ft-nav, #footer .ft-contact, #footer .ft-note { grid-column: 1 / 13; }
  }
}
/* ===== multipágina: páginas interiores, reformas, enlaces y accesibilidad ===== */
@layer sections {
  main.pg-inner { padding-top: 64px; }
  @media (max-width: 860px) { main.pg-inner { padding-top: 56px; } }
  .u-skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; padding: 12px 18px; background: var(--color-1); color: var(--color-0); font-weight: 600; }
  #opening .op-win__label a { color: inherit; text-decoration: none; }
  #opening .op-win__label a:hover, #opening .op-win__label a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
  .pg-hero .pg-hero__text ul { display: grid; gap: 8px; }
  .pg-hero .pg-hero__text li { position: relative; padding-left: 22px; }
  .pg-hero .pg-hero__text li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: currentColor; }
  /* páginas interiores: la primera sección arranca pegada a la barra, como la portada */
  main.pg-inner > section:first-child { padding-top: var(--space-1) !important; }
  @media (min-width: 768px) {
    #faq .fq-grid { align-items: start; }
    #faq .fq-head { position: sticky; top: calc(64px + var(--space-1)); }
  }
  #faq .fq-group { display: grid; gap: var(--space-1); scroll-margin-top: 90px; }
  #faq .fq-theme { padding: 22px 10px 2px; }
  #faq .fq-group:first-child .fq-theme { padding-top: 0; }
  #faq .fq-item summary h3 { font: inherit; }
  #faq .fq-a a { font-weight: 600; }

  #nav .nav__links a[aria-current="page"] { color: var(--color-8); }
  .pg-hero { padding: var(--space-1) var(--space-1) 0; }
  .pg-hero .pg-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); min-height: min(62svh, 620px); }
  .pg-hero .pg-hero__text { grid-column: 1 / 8; padding: var(--space-2); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
  .pg-hero .pg-hero__text h1 { max-width: 9em; }
  .pg-hero .pg-hero__text .m-text-7 { max-width: 34ch; }
  .pg-hero .pg-hero__photo { grid-column: 8 / 13; min-height: 260px; }
  /* submenú de reformas: barra fija bajo la navegación */
  .rf-sub { position: sticky; z-index: 30; top: 64px; padding: var(--space-1); background: var(--color-0); border-bottom: 1px solid rgba(14, 27, 43, .1); transition: top .4s cubic-bezier(.3, .7, .2, 1); }
  #nav[data-hidden] ~ main .rf-sub { top: 0; }
  .rf-sub ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-1); }
  .rf-sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 12px 18px; font-family: var(--font-1); font-size: clamp(18px, 1.6vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1; text-decoration: none; transition: filter .25s, transform .25s; }
  .rf-sub a::after { content: "↓"; font-size: .8em; }
  .rf-sub a:hover { filter: brightness(1.08); transform: translateY(-2px); }
  .rf-sub a[aria-current="true"] { outline: 3px solid var(--color-1); outline-offset: -3px; }
  /* bloques de cada tipo de reforma */
  .rf-block { scroll-margin-top: calc(64px + 96px); padding: clamp(40px, 7svh, 90px) var(--space-1) 0; }
  .rf-block__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); }
  .rf-block__text { grid-column: 1 / 7; padding: var(--space-2); display: flex; flex-direction: column; gap: 18px; }
  .rf-block__num { font-family: var(--font-1); font-size: clamp(40px, 4.2vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
  .rf-block__text .m-text { max-width: 52ch; }
  .rf-block__text ul { display: grid; gap: 8px; }
  .rf-block__text li { position: relative; padding-left: 22px; }
  .rf-block__text li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: currentColor; }
  .rf-block__text .m-cta { margin-top: auto; padding-top: 8px; }
  .rf-block__photo { grid-column: 7 / 13; min-height: 340px; }
  .rf-block:nth-of-type(even) .rf-block__text { grid-column: 7 / 13; grid-row: 1; }
  .rf-block:nth-of-type(even) .rf-block__photo { grid-column: 1 / 7; grid-row: 1; }
  .m-surface-2 .m-btn, .m-surface-3 .m-btn, .m-surface-6 .m-btn { background: var(--color-0); color: var(--color-1); }
  @media (max-width: 900px) {
    .rf-sub { overflow-x: auto; scrollbar-width: none; }
    .rf-sub::-webkit-scrollbar { display: none; }
    .rf-sub ul { grid-template-columns: repeat(5, max-content); }
    .rf-sub a { min-height: 48px; font-size: 18px; }
    .rf-sub a::after { content: none; }
    .rf-sub { top: 56px; }
    .rf-block { scroll-margin-top: calc(56px + 76px); }
    .pg-hero .pg-hero__text, .pg-hero .pg-hero__photo,
    .rf-block__text, .rf-block__photo,
    .rf-block:nth-of-type(even) .rf-block__text, .rf-block:nth-of-type(even) .rf-block__photo { grid-column: 1 / 13; grid-row: auto; }
    .rf-block__photo { min-height: 240px; order: -1; }
  }


  /* páginas legales */
  .lg { padding: var(--space-1) var(--space-1) 0; }
  .lg-head { padding: var(--space-2); display: grid; gap: 14px; }
  .lg-body { max-width: 780px; padding: clamp(28px, 5svh, 56px) 10px 0; display: grid; gap: 14px; }
  .lg-body h2 { margin-top: 24px; }
  .lg-body ul { display: grid; gap: 8px; }
  .lg-body li { position: relative; padding-left: 22px; }
  .lg-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--color-3); }
  .lg-body p, .lg-body li { overflow-wrap: anywhere; }
  .lg-table { overflow-x: auto; }
  .lg-table table { width: 100%; min-width: 480px; border-collapse: collapse; }
  .lg-table th, .lg-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(14, 27, 43, .15); }
  .lg-table th { font-family: var(--font-2); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--color-2); }
  .lg-pending { background: var(--color-10); color: var(--color-1); padding: 0 4px; font-weight: 600; }
  #contacto .ct-legal { font-size: 13px; line-height: 1.45; }
}
