/* rumisoc — black, plum and lavender, as on the original site; DM Sans + Montserrat (self-hosted) */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/DMSans-normal-latin.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; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/DMSans-normal-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(/fonts/DMSans-italic-latin.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; }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(/fonts/DMSans-italic-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url(/fonts/Montserrat-normal-latin.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url(/fonts/Montserrat-normal-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #000;
  --night: #0c0b0f;
  --coal: #151318;
  --plum: #3d2a4d;
  --plum-deep: #21172b;
  --lav: #b5a6c9;
  --lav-hi: #d9cfe6;
  --cream: #f6f4f1;
  --muted: #bdb6c7;
  --gold: #dcc874;
  --line: rgb(255 255 255 / .14);
  --line-strong: rgb(255 255 255 / .38);
  --head: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 300 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
/* inline links: the underline only shows on hover (links styled with text-decoration: none never get one) */
a { color: inherit; text-decoration: underline transparent; text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
a:hover, a:focus-visible { text-decoration-color: currentColor; }
/* external links: the icon never wraps away from the text */
.ext { white-space: nowrap; }
.ext-ico { display: inline-block; width: 1em; height: 1em; margin-left: .25em; vertical-align: -.08em; fill: currentColor; }
a:hover { color: var(--lav-hi); }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 .6em; font-family: var(--head); font-weight: 300; line-height: 1.15; letter-spacing: .06em; text-wrap: balance; }
strong { font-weight: 600; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--ink); padding: .6em 1em; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 200; text-transform: uppercase; }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 200; text-transform: uppercase; }
.h3 { font-size: 1.25rem; font-weight: 400; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow { font: 500 .75rem/1.4 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--lav); margin-bottom: 1.2em; }
.eyebrow a { text-decoration: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46em; }
.center .lead { margin-inline: auto; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center .btns, .btns.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 2em .8em 2.22em; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 500 .78rem/1.2 var(--head); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); background: transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  text-box: trim-both cap alphabetic; /* centre the capitals, not the line box */
}
.btn:hover { border-color: var(--lav); background: rgb(181 166 201 / .12); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--lav); border-color: var(--lav); color: var(--ink); }
.round {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--cream); cursor: pointer; transition: background .3s, border-color .3s;
}
/* icons drawn with lines, so they sit in the geometric centre (text glyphs ride on the font baseline) */
.chev { width: 10px; height: 10px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.chev--r { rotate: 45deg; translate: -3.5px 0; }
.chev--l { rotate: -135deg; translate: 3.5px 0; }
.ico-x { position: relative; width: 18px; height: 18px; }
.ico-x::before, .ico-x::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; rotate: 45deg; }
.ico-x::after { rotate: -45deg; }
.round:hover { background: rgb(255 255 255 / .08); border-color: var(--lav); }

/* bands: the original's black → plum gradients */
.band { background: linear-gradient(180deg, var(--ink) 0%, var(--plum) 100%); }
.band--up { background: linear-gradient(180deg, var(--plum) 0%, var(--ink) 75%); }
/* Sobre mí, Contacto: plum at the top edge, fading into the black middle of the page */
.band--down { background: linear-gradient(180deg, var(--plum) 0%, var(--ink) 100%); }
.band--rise { background: linear-gradient(180deg, var(--ink) 25%, var(--plum) 100%); }
/* Showroom (header + whole gallery): plum on the left, black on the right */
.band--side { background: linear-gradient(90deg, var(--plum) 0%, var(--ink) 85%); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgb(0 0 0 / .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s; }
.is-home .top { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-home .top.is-scrolled, .is-home .top.is-open { background: rgb(0 0 0 / .78); border-color: var(--line); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.top__in { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__mark { width: 64px; height: auto; }
.brand__name { font: 300 1.05rem/1 var(--head); letter-spacing: .32em; text-transform: lowercase; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); list-style: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav a { text-decoration: none; font: 400 .82rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; padding: .8em 0; position: relative; }
.nav .lang { display: flex; flex-direction: row; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav .lang a { display: grid; place-items: center; min-width: 32px; min-height: 34px; padding: 0; border-radius: 6px; text-decoration: none; border: 0; opacity: .5; transition: opacity .3s; }
.nav .lang a::after { display: none; }
.nav .lang a:hover, .nav .lang a[aria-current] { opacity: 1; }
/* English has two flags (UK + US): hovering either one lights up both */
.nav .lang:has(a[hreflang="en"]:hover) a[hreflang="en"] { opacity: 1; }
.flag { display: block; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(255 255 255 / .18); }
.nav .lang a[aria-current] .flag { box-shadow: 0 0 0 1px var(--ink), 0 0 0 2.5px var(--cream); }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35em; height: 1px; background: var(--lav); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--lav-hi); }
.nav__tel { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); }
.nav__tel svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .menu-btn__bars { position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gut) 1.5rem; background: rgb(0 0 0 / .94); border-bottom: 1px solid var(--line); display: none; }
  .top.is-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 1.1em 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav__tel { display: flex; padding-top: 1.2em; border: 0; }
  .nav .lang { padding-top: .8em; gap: 0; }
  .nav .lang a { min-width: 44px; min-height: 44px; }
  .flag { width: 30px; height: 20px; }
}
.js-free .menu-btn { display: none; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .4s; }
/* the still image appears only when the video cannot play (reduced motion, data saver, autoplay blocked, error) */
.hero__poster { display: none; }
.hero.is-still .hero__poster { display: block; animation: fade-in .8s var(--ease) both; }
@media (scripting: none) { .hero__poster { display: block; } }
@keyframes fade-in { from { opacity: 0; } }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgb(0 0 0 / .15) 0%, rgb(0 0 0 / .55) 60%, #000 100%); }
.hero__in { text-align: center; padding-block: 120px 140px; }
.hero__title { font-size: clamp(1.9rem, 5vw, 3.8rem); font-weight: 200; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5em; text-shadow: 3px 4px 5px #0d0d40, 0 2px 30px rgb(0 0 0 / .6); }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 400; max-width: 34em; margin: 0 auto 2.2em; text-shadow: 2px 3px 4px #0d0d40, 0 1px 14px rgb(0 0 0 / .8); }
.hero__down { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; }
.hero__down span { width: 10px; height: 10px; border-right: 1.5px solid; border-bottom: 1.5px solid; rotate: 45deg; translate: 0 -3.5px; }
@media (prefers-reduced-motion: no-preference) { .hero__down span { animation: bob 2.4s var(--ease) infinite; } }
@keyframes bob { 50% { translate: 0 0; } }

/* técnicas */
.tecnicas { padding-block: clamp(70px, 10vw, 130px); background: radial-gradient(ellipse at 50% 55%, var(--plum-deep) 0%, #000 60%); }
.tecnicas .h2 { margin-bottom: clamp(30px, 5vw, 60px); }
.tecnicas__grid { display: grid; grid-template-columns: 1fr minmax(280px, 460px) 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; margin-bottom: 50px; }
.tecnicas__col { list-style: none; display: grid; gap: 34px; }
.tecnicas__col--r { text-align: right; }
.tec__name { font: 400 1rem/1.35 var(--head); letter-spacing: .08em; color: var(--lav); margin-bottom: .45em; text-transform: none; }
.tec__name a { text-decoration: none; display: inline-flex; flex-direction: column; }
.tec__name a:hover { color: var(--lav-hi); }
.tec__n { font: 500 .7rem/1.6 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: .2em; }
.tecnicas__col--r .tec__name a { align-items: flex-end; }
.tec p { margin: 0; color: var(--muted); font-size: .98rem; }
.tecnicas__gem img { width: 100%; mix-blend-mode: lighten; cursor: zoom-in; }
@media (prefers-reduced-motion: no-preference) {
  .tecnicas__gem img { animation: float 9s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }
}
@media (max-width: 900px) {
  .tecnicas__grid { grid-template-columns: 1fr; }
  .tecnicas__gem { order: -1; width: min(70vw, 320px); margin-inline: auto; }
  .tecnicas__col, .tecnicas__col--r { text-align: left; gap: 26px; }
  .tecnicas__col--r .tec__name a { align-items: flex-start; }
}

/* cards */
.grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; } }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card a { display: block; text-decoration: none; }
.card__img { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--coal); border-radius: var(--radius); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__img::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .22) 48%, rgb(220 200 255 / .12) 52%, transparent 62%);
  translate: -70% 0; transition: translate 1.1s var(--ease);
}
.card a:hover .card__img img, .card a:focus-visible .card__img img { transform: scale(1.04); }
.card a:hover .card__img::after, .card a:focus-visible .card__img::after { translate: 70% 0; }
.card[data-estado] .card__img img { filter: grayscale(.5) brightness(.8); }
.card__cat { display: block; margin-top: .9em; font: 500 .66rem/1.4 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--lav); }
.card__title { font: 400 1.05rem/1.3 var(--head); letter-spacing: .04em; margin: .3em 0 .2em; text-transform: none; }
.card__price { display: block; color: var(--muted); font-size: .95rem; }
.card[data-estado] .card__price { color: var(--gold); text-transform: uppercase; font-size: .75rem; letter-spacing: .18em; }

/* galería rail */
.galeria { padding-block: clamp(70px, 9vw, 120px); }
.galeria__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 30px; }
.galeria__head .h2 { margin: 0; }
.galeria__nav { display: flex; gap: .6rem; }
.rail {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 max(var(--gut), (100% - var(--wrap)) / 2) 18px; scroll-padding-inline: max(var(--gut), (100% - var(--wrap)) / 2);
  scrollbar-width: thin; scrollbar-color: var(--lav) transparent;
}
.rail > li { scroll-snap-align: start; }

/* intro (home) */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(70px, 10vw, 140px); }
.intro__img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.intro__txt p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } .intro__img { width: min(80%, 360px); } }

.cta { padding-block: clamp(80px, 10vw, 140px); }
.cta__p { max-width: 36em; margin: 0 auto 2em; font-size: 1.15rem; }

/* page heads */
.pagehead { padding-block: clamp(60px, 9vw, 120px) clamp(40px, 6vw, 70px); }
.pagehead .h1 { margin-bottom: .4em; }
.pagehead--full { min-height: 70vh; display: grid; align-items: center; }

/* showroom */
.showroom { padding-block: 40px clamp(70px, 9vw, 120px); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(30px, 4vw, 50px); }
.chips a { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: .5em 1.2em .5em 1.28em; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font: 400 .8rem/1.2 var(--head); letter-spacing: .08em; }
.chips a span { color: var(--lav); font-size: .75rem; }
.chips a[aria-current] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.chips a[aria-current] span { color: var(--plum); }

/* obra (product) */
.obra { padding-block: 30px clamp(60px, 8vw, 100px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: .4em; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.obra__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.obra__media { position: sticky; top: 100px; }
/* gallery: native swipe (scroll-snap), arrows, counter, thumbnails */
.gal { position: relative; }
.gal__track { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius); outline-offset: 4px; }
.gal__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .gal__track { scroll-behavior: smooth; } }
.gal__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; }
.obra__photo, .vid { margin: 0; min-height: 100%; background: radial-gradient(ellipse at 50% 40%, var(--plum-deep), #000 75%); display: grid; place-items: center; }
.obra__photo img { max-height: min(78vh, 900px); width: auto; object-fit: contain; cursor: zoom-in; }
.vid { position: relative; text-decoration: none; color: var(--cream); }
.vid img { max-height: min(78vh, 760px); width: auto; }
.vid iframe { display: block; height: min(78vh, 760px); width: auto; aspect-ratio: 9 / 16; max-width: 100%; border: 0; }
.vid__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .7); background: rgb(0 0 0 / .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, scale .3s var(--ease); }
.vid__play::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -38% -50%; width: 22px; height: 26px; background: var(--cream); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.vid__note { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; width: max-content; max-width: 80%; text-align: center; font-size: .72rem; padding: .2em .8em; border-radius: 999px; background: rgb(0 0 0 / .45); color: rgb(246 244 241 / .8); text-shadow: 0 1px 6px #000; }
.vid:hover .vid__play, .vid:focus-visible .vid__play { background: rgb(61 42 77 / .8); scale: 1.06; }
.gal__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgb(0 0 0 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gal__nav--prev { left: 12px; } .gal__nav--next { right: 12px; }
.gal__nav:disabled, .lb__nav:disabled { opacity: 0; pointer-events: none; }
.gal__count { position: absolute; right: 12px; top: 12px; margin: 0; padding: .25em .8em; border-radius: 999px; background: rgb(0 0 0 / .5); font: 500 .75rem/1.6 var(--head); letter-spacing: .12em; pointer-events: none; }
.thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; }
.thumbs a { position: relative; display: block; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; opacity: .55; transition: opacity .3s, border-color .3s; }
.thumbs a[aria-current], .thumbs a:hover { opacity: 1; border-color: var(--lav); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs a.is-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 16px; translate: 2px 0; background: var(--cream); clip-path: polygon(0 0, 100% 50%, 0 100%); filter: drop-shadow(0 0 4px #000); }
.card__badge { position: absolute; left: 10px; top: 10px; z-index: 2; padding: .2em .75em; border-radius: 999px; background: rgb(0 0 0 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 .62rem/1.7 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); }
.obra__title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 200; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3em; }
.obra__price { font: 300 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--head); color: var(--gold); margin-bottom: 1.4em; letter-spacing: .04em; }
.obra__price[data-estado="vendida"], .obra__price[data-estado="reservada"] { text-transform: uppercase; font-size: 1rem; letter-spacing: .2em; }
.obra__text { font-size: 1.12rem; line-height: 1.75; border-left: 1px solid var(--plum); padding-left: 1.2em; margin-bottom: 1.6em; }
.obra__text:empty { display: none; }
.obra__text a { color: var(--lav); word-break: break-word; }
.obra__note { color: var(--muted); font-size: .95rem; }
.obra__info .btns { margin: 1.8em 0; }
.obra__contact { list-style: none; display: grid; gap: .5em; font-size: .95rem; color: var(--muted); }
.obra__contact a { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; overflow-wrap: anywhere; }
.obra__contact svg { width: 18px; height: 18px; flex: none; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); padding-top: 26px; }
.pager a { text-decoration: none; font: 300 1.1rem/1.3 var(--head); letter-spacing: .04em; }
.pager a span { display: block; font: 500 .68rem/1.6 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--lav); margin-bottom: .3em; }
.pager a[rel="next"] { text-align: right; }
.related { padding-bottom: clamp(70px, 9vw, 120px); }
.related .h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 1.2em; }
@media (max-width: 860px) {
  .obra__grid { grid-template-columns: 1fr; }
  .obra__media { position: static; }
  .obra__photo img, .vid img { max-height: 70vh; }
  .vid iframe { height: 70vh; }
  .gal__nav { width: 40px; height: 40px; }
}

/* sobre mí */
.about-hero { padding-block: clamp(50px, 8vw, 110px); }
.about-hero__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-hero__img img { width: 100%; border-radius: var(--radius); }
@media (max-width: 800px) { .about-hero__in { grid-template-columns: 1fr; } .about-hero__img { width: min(75%, 340px); } }
.story { padding-block: clamp(60px, 8vw, 110px); display: grid; gap: clamp(70px, 10vw, 140px); }
.story__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.story__row--flip .story__txt { order: 2; }
.story__txt p { font-size: 1.12rem; color: var(--muted); }
.story__txt .h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.story__img img { width: 100%; border-radius: var(--radius); }
.story__img--tall { max-width: 420px; }
.story__row--flip .story__img--tall { justify-self: start; }
@media (max-width: 800px) { .story__row { grid-template-columns: 1fr; } .story__row--flip .story__txt { order: 0; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); padding-block: 40px clamp(70px, 9vw, 120px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__list { list-style: none; display: grid; gap: 1em; margin-bottom: 2em; font-size: 1.15rem; }
.contact__list li { display: flex; align-items: center; gap: .8em; }
.contact__list a { text-decoration: none; overflow-wrap: anywhere; }
.contact__list svg { width: 22px; height: 22px; color: var(--lav); flex: none; }
.addr { border-top: 1px solid var(--line); padding-block: 1.2em .2em; }
.addr h3 { font: 500 .75rem/1.4 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--lav); }
.addr p { color: var(--muted); }
.addr__note { font-style: italic; font-size: .95rem; }
.contact__redes { border-top: 1px solid var(--line); padding-top: 1.2em; }
.form { background: linear-gradient(160deg, var(--plum-deep), var(--night)); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 4vw, 44px); }
.form .h3 { margin-bottom: 1.4em; }
.field { display: grid; gap: .4em; margin-bottom: 1.1em; }
.field label { font: 500 .78rem/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.field label span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--cream); background: rgb(0 0 0 / .45);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .8em .9em; min-height: 48px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lav) 50%), linear-gradient(-45deg, transparent 50%, var(--lav) 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
.field select option { background: var(--night); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lav); outline: 2px solid rgb(181 166 201 / .35); outline-offset: 0; }
.form__error { background: rgb(200 60 80 / .15); border: 1px solid rgb(230 120 140 / .5); border-radius: 6px; padding: .8em 1em; margin-bottom: 1.4em; font-size: .95rem; }
.check { display: flex; gap: .7em; align-items: flex-start; margin: 1.2em 0 .8em; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .2em; accent-color: var(--lav); flex: none; }
.form__legal { font-size: .82rem; color: var(--muted); }

/* prose (legal pages) */
.prose { max-width: 820px; padding-block: 30px clamp(70px, 9vw, 120px); }
.prose h2 { font-size: 1.15rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--lav); margin-top: 2.2em; }
.prose p, .prose li { color: #ddd8e3; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose .note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--plum); padding: .2em 0 .2em 1em; margin-block: 1em 2em; }
.prose a { color: var(--lav-hi); overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: .7em 1.5em; margin: 0 0 1.5em; }
.facts dt { font: 500 .75rem/1.6 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; gap: .2em; } .facts dd { margin-bottom: .8em; } }
.placa-big { margin: 2em 0 0; background: #fff; padding: 8px; border-radius: var(--radius); }

/* footer */
.foot { background: var(--coal); border-top: 1px solid var(--line); }
.foot__main { display: grid; justify-items: center; gap: 26px; padding-block: 60px 40px; }
.foot__logo img { width: 120px; }
.social { list-style: none; display: flex; align-items: center; gap: 6px; }
.social a { width: 52px; height: 52px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; transition: color .3s, background .3s; }
.social a:hover { color: var(--cream); background: rgb(181 166 201 / .1); }
.social svg, .contact__list svg, .nav__tel svg, .obra__contact svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social svg { width: 28px; height: 28px; }
.social svg.ph { fill: currentColor; stroke: none; }
/* the owner's main channels a little larger */
.social--instagram svg, .social--youtube svg { width: 34px; height: 34px; }
svg .fill { fill: currentColor; stroke: none; }
.foot__legal { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .2em 0; font-size: .88rem; }
.foot__legal li + li::before { content: ""; display: inline-block; width: 1px; height: .9em; background: var(--line-strong); margin: 0 1em; vertical-align: -.1em; }
.foot__legal a { text-decoration: none; color: var(--muted); }
.foot__legal a:hover { color: var(--cream); }
.foot__webs { background: #1c1a20; padding-block: 36px; }
.foot__webs-in { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.foot__h { font: 500 .78rem/1.4 var(--head); letter-spacing: .2em; text-transform: uppercase; margin: 0; color: var(--lav); }
.foot__webs ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.foot__webs a { display: grid; gap: .6em; text-decoration: none; font-size: .88rem; color: var(--muted); }
.foot__webs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) {
  .foot__webs-in { grid-template-columns: 1fr; gap: 18px; }
  .foot__webs ul { grid-template-columns: 1fr; gap: 12px; }
  .foot__webs a { grid-template-columns: 64px 1fr; align-items: center; gap: 14px; font-size: .95rem; }
}
@media (max-width: 600px) {
  .foot__legal { gap: .5em 1.4em; }
  .foot__legal li + li::before { display: none; }
}
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px 40px; }
.placa { display: block; width: min(100%, 360px); background: #fff; padding: 6px; border-radius: var(--radius); }
.foot__credit { font-size: .85rem; color: var(--muted); }
.foot__credit p { margin: .2em 0; }
.foot__credit p + p { font-size: 1.3rem; color: var(--cream); margin-top: .5em; }
.foot__credit a { color: var(--cream); font-weight: 500; }

/* lightbox */
.lightbox { --lb-pad-y: 72px; --lb-pad-x: 72px; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / .94); color: var(--cream); overflow: hidden; }
.lightbox::backdrop { background: rgb(0 0 0 / .8); }
.lb__track { display: flex; height: 100%; list-style: none; margin: 0; padding: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__track li { box-sizing: border-box; flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; padding: var(--lb-pad-y) var(--lb-pad-x); overflow: hidden; }
/* real size (width/height attributes = the largest file), never larger than the viewer */
.lb__track img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 2 * var(--lb-pad-y)); }
.lb__nav { position: fixed; top: 50%; translate: 0 -50%; background: rgb(0 0 0 / .5); }
.lb__nav--prev { left: 14px; } .lb__nav--next { right: 14px; }
.lb__count { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; margin: 0; font: 500 .8rem/1 var(--head); letter-spacing: .16em; }
.lb__count:empty, .lightbox[data-single] .lb__nav { display: none; }
.lightbox__close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgb(0 0 0 / .5); color: var(--cream); display: grid; place-items: center; padding: 0; cursor: pointer; }
.lb__track .vid { background: none; min-height: 0; }
.lb__track .vid img { height: calc(100dvh - 2 * var(--lb-pad-y)); max-height: none; max-width: 100%; width: auto; object-fit: contain; }
.lb__track .vid iframe { height: calc(100dvh - 2 * var(--lb-pad-y)); width: auto; max-width: 100%; aspect-ratio: 9 / 16; }
@media (max-width: 700px) {
  .lightbox { --lb-pad-x: 0px; --lb-pad-y: 64px; }
  .lb__nav { top: auto; bottom: 8px; translate: none; width: 44px; height: 44px; }
}

/* motion: reveal on scroll where supported, page transitions */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .grid > .card, .tec, .story__row, .intro > * {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    @keyframes rise { from { opacity: 0; transform: translateY(28px); } }
  }
  @view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
