/* =============================================================
   Inmobiliaria Romero - hoja de estilo principal (2026)
   Se carga DESPUES de Bootstrap 5 y lo personaliza.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
	/* Marca (granate del logotipo) */
	--ir-brand:        #7B0000;
	--ir-brand-dark:   #5A0000;
	--ir-brand-soft:   #FBF1F1;

	/* Neutros calidos */
	--ir-ink:          #1C1917;
	--ir-ink-soft:     #44403C;
	--ir-muted:        #78716C;
	--ir-line:         #E7E2DB;
	--ir-surface:      #FAF8F5;
	--ir-surface-2:    #F3EFE9;
	--ir-white:        #FFFFFF;

	--ir-radius:       16px;
	--ir-radius-sm:    10px;
	--ir-shadow:       0 1px 2px rgba(28,25,23,.05), 0 12px 32px -18px rgba(28,25,23,.35);
	--ir-shadow-lg:    0 2px 4px rgba(28,25,23,.05), 0 28px 60px -30px rgba(28,25,23,.45);

	--ir-nav-h:        76px;

	/* Bootstrap */
	--bs-primary:      #7B0000;
	--bs-body-color:   #1C1917;
	--bs-body-bg:      #FFFFFF;
	--bs-border-color: #E7E2DB;
	--bs-border-radius: 12px;
	--bs-link-color:   #7B0000;
	--bs-link-hover-color: #5A0000;
	--bs-font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }

body {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--ir-ink);
	background: var(--ir-white);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.015em;
	color: var(--ir-ink);
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
h4 { font-size: 1.0625rem; letter-spacing: 0; }

a { color: var(--ir-brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ir-brand-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--ir-brand); color: #fff; }

:focus-visible { outline: 2px solid var(--ir-brand); outline-offset: 3px; border-radius: 4px; }

.lead-ir {
	font-size: 1.075rem;
	color: var(--ir-ink-soft);
	max-width: 62ch;
}

.eyebrow {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ir-brand);
	margin-bottom: .75rem;
	display: block;
}
.eyebrow--light { color: rgba(255,255,255,.82); }

.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.25rem, 1.5rem + 3vw, 3.5rem) 0; }
.section--surface { background: var(--ir-surface); }

.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.rule { height: 3px; width: 44px; background: var(--ir-brand); border-radius: 3px; margin-top: 1.25rem; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- 3. Botones ---------- */
.btn {
	--bs-btn-padding-y: .7rem;
	--bs-btn-padding-x: 1.5rem;
	--bs-btn-font-size: .95rem;
	--bs-btn-font-weight: 550;
	--bs-btn-border-radius: 999px;
	letter-spacing: .01em;
	transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg, .arrow-link svg, .breadcrumb-ir svg { vertical-align: -.18em; }

.btn-brand {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--ir-brand);
	--bs-btn-border-color: var(--ir-brand);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--ir-brand-dark);
	--bs-btn-hover-border-color: var(--ir-brand-dark);
	--bs-btn-active-bg: var(--ir-brand-dark);
	--bs-btn-active-border-color: var(--ir-brand-dark);
	box-shadow: 0 10px 24px -14px rgba(123,0,0,.9);
}

.btn-outline-brand {
	--bs-btn-color: var(--ir-brand);
	--bs-btn-border-color: rgba(123,0,0,.35);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--ir-brand);
	--bs-btn-hover-border-color: var(--ir-brand);
	--bs-btn-active-bg: var(--ir-brand-dark);
	--bs-btn-active-border-color: var(--ir-brand-dark);
}

.btn-ink {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--ir-ink);
	--bs-btn-border-color: var(--ir-ink);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #000;
	--bs-btn-hover-border-color: #000;
}

.btn-light-ir {
	--bs-btn-color: var(--ir-ink);
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #fff;
	--bs-btn-hover-color: var(--ir-brand);
	--bs-btn-hover-bg: #fff;
	--bs-btn-hover-border-color: #fff;
}

/* ---------- 4. Cabecera ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(255,255,255,.88);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
	border-bottom-color: var(--ir-line);
	box-shadow: 0 8px 30px -24px rgba(28,25,23,.6);
}
.site-header__inner {
	min-height: var(--ir-nav-h);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: .35rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.site-nav a {
	display: block;
	padding: .55rem .85rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--ir-ink-soft);
	border-radius: 999px;
	position: relative;
}
.site-nav a:hover { color: var(--ir-brand); background: var(--ir-brand-soft); }
.site-nav .is-active a { color: var(--ir-brand); }
.site-nav .is-active a::after {
	content: "";
	position: absolute;
	left: .85rem; right: .85rem; bottom: .2rem;
	height: 2px;
	background: var(--ir-brand);
	border-radius: 2px;
}
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	font-size: .9rem;
	color: var(--ir-ink);
	padding: .55rem 1.1rem;
	border: 1px solid var(--ir-line);
	border-radius: 999px;
	white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--ir-brand); }
.header-phone:hover { color: var(--ir-brand); border-color: rgba(123,0,0,.35); background: var(--ir-brand-soft); }

.nav-toggle {
	margin-left: auto;
	border: 1px solid var(--ir-line);
	background: #fff;
	border-radius: 12px;
	width: 44px; height: 44px;
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--ir-ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

.offcanvas .site-nav { flex-direction: column; align-items: stretch; gap: .25rem; margin: 0; }
.offcanvas .site-nav a { padding: .8rem .25rem; font-size: .95rem; letter-spacing: .08em; border-bottom: 1px solid var(--ir-line); border-radius: 0; }
.offcanvas .site-nav a:hover { background: transparent; }
.offcanvas .site-nav .is-active a::after { display: none; }

@media (max-width: 991.98px) {
	.site-nav--main, .header-phone--main { display: none; }
	.nav-toggle { display: inline-flex; }
	.brand img { height: 38px; }
}

/* ---------- 5. Hero de portada ---------- */
.hero {
	position: relative;
	min-height: clamp(30rem, 26rem + 22vw, 42rem);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ir-ink);
	isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.4s ease;
	transform: scale(1.03);
}
.hero__slide.is-on { opacity: 1; }
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(20,12,12,.92) 0%, rgba(20,12,12,.72) 38%, rgba(20,12,12,.28) 68%, rgba(20,12,12,.35) 100%),
		linear-gradient(to top, rgba(20,12,12,.55), transparent 45%);
}
.hero__content { padding: clamp(4rem, 3rem + 6vw, 7rem) 0 clamp(6rem, 4rem + 8vw, 9rem); color: #fff; max-width: 40rem; }
.hero__content h1 { color: #fff; text-wrap: balance; }
.hero__content p { color: rgba(255,255,255,.86); font-size: 1.1rem; margin-top: 1.25rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__caption {
	position: absolute;
	right: 0; bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .7rem 1.1rem;
	background: rgba(20,12,12,.55);
	backdrop-filter: blur(8px);
	border-top-left-radius: 14px;
	color: rgba(255,255,255,.9);
	font-size: .8rem;
}
.hero__caption a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767.98px) { .hero__caption { display: none; } }

/* Buscador flotante */
.search-card {
	position: relative;
	z-index: 3;
	margin-top: -4.25rem;
	background: #fff;
	border: 1px solid var(--ir-line);
	border-radius: var(--ir-radius);
	box-shadow: var(--ir-shadow-lg);
	padding: 1.25rem;
}
.search-card__tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.search-card__tab {
	padding: .45rem 1.1rem;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ir-muted);
	background: var(--ir-surface-2);
}
.search-card__tab.is-on, .search-card__tab:hover { background: var(--ir-brand); color: #fff; }

.form-select, .form-control {
	border-color: var(--ir-line);
	border-radius: var(--ir-radius-sm);
	padding: .7rem .9rem;
	font-size: .95rem;
	color: var(--ir-ink);
	background-color: #fff;
}
.form-select:focus, .form-control:focus {
	border-color: rgba(123,0,0,.5);
	box-shadow: 0 0 0 .2rem rgba(123,0,0,.1);
}
.form-label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ir-muted); margin-bottom: .35rem; }

/* ---------- 6. Cabecera de paginas interiores ---------- */
.page-head {
	background: var(--ir-surface);
	border-bottom: 1px solid var(--ir-line);
	padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem);
}
.page-head p { margin-top: .85rem; color: var(--ir-ink-soft); max-width: 60ch; }

/* Variante sobre granate: va DESPUES de la regla generica para que gane el blanco */
.page-head--brand {
	background: linear-gradient(135deg, #4A0000 0%, #7B0000 55%, #8E1414 100%);
	border-bottom: 0;
	color: #fff;
}
.page-head--brand h1,
.page-head--brand h2,
.page-head--brand .eyebrow { color: #fff; }
.page-head--brand p,
.page-head--brand .lead-ir { color: rgba(255,255,255,.88); }
.page-head--brand a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-head--brand .text-muted-ir { color: rgba(255,255,255,.72) !important; }

.breadcrumb-ir { font-size: .85rem; color: var(--ir-muted); margin-bottom: 1rem; }
.breadcrumb-ir a { color: var(--ir-muted); }
.breadcrumb-ir a:hover { color: var(--ir-brand); }

/* ---------- 7. Tarjeta de inmueble ---------- */
.card-prop {
	position: relative;	/* imprescindible: acota el area de .stretched-link a la tarjeta */
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--ir-line);
	border-radius: var(--ir-radius);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-prop:hover { transform: translateY(-4px); box-shadow: var(--ir-shadow); border-color: #DCD5CB; }
.card-prop__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ir-surface-2); }
.card-prop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.card-prop:hover .card-prop__media img { transform: scale(1.06); }
.card-prop__tag {
	position: absolute; top: .75rem; left: .75rem;
	background: rgba(255,255,255,.94);
	color: var(--ir-ink);
	font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
	padding: .3rem .7rem; border-radius: 999px;
}
.card-prop__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-prop__price { font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; font-weight: 600; color: var(--ir-brand); line-height: 1; }
.card-prop__title { font-size: 1rem; font-weight: 600; color: var(--ir-ink); margin: 0; line-height: 1.35; }
.card-prop__place { font-size: .875rem; color: var(--ir-muted); margin: 0; }
.card-prop__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .75rem; }
.chip {
	display: inline-flex; align-items: center; gap: .35rem;
	font-size: .78rem; color: var(--ir-ink-soft);
	background: var(--ir-surface); border: 1px solid var(--ir-line);
	padding: .28rem .6rem; border-radius: 999px;
}
.chip svg { width: 14px; height: 14px; opacity: .6; }
.card-prop .stretched-link::after { border-radius: var(--ir-radius); }

/* ---------- 8. Servicios / valores ---------- */
.service-card {
	height: 100%;
	background: #fff;
	border: 1px solid var(--ir-line);
	border-radius: var(--ir-radius);
	padding: 1.75rem;
	transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--ir-shadow); }
.service-card__icon {
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: var(--ir-brand-soft);
	color: var(--ir-brand);
	margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--ir-ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.arrow-link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem; }
.stat__num { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 600; color: var(--ir-brand); line-height: 1; }
.stat__label { font-size: .85rem; color: var(--ir-muted); margin-top: .4rem; }

/* ---------- 9. Banda CTA ---------- */
.cta-band {
	background: linear-gradient(120deg, #2A1A1A 0%, #4A0000 55%, #7B0000 100%);
	color: #fff;
	border-radius: var(--ir-radius);
	padding: clamp(2rem, 1.5rem + 3vw, 3.25rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }

/* ---------- 10. Ficha de inmueble ---------- */
.prop-gallery { border-radius: var(--ir-radius); overflow: hidden; background: var(--ir-surface-2); }
.prop-gallery .carousel-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; cursor: zoom-in; }
.prop-gallery .carousel-control-prev-icon, .prop-gallery .carousel-control-next-icon {
	background-color: rgba(20,12,12,.55); border-radius: 999px; padding: 1.1rem; background-size: 45%;
}
.prop-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin-top: .5rem; }
.prop-thumbs button {
	padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; aspect-ratio: 4/3;
}
.prop-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-thumbs button.is-on { border-color: var(--ir-brand); }

.price-tag { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); font-weight: 600; color: var(--ir-brand); line-height: 1; }

.badge-ir {
	display: inline-block;
	font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	padding: .35rem .75rem; border-radius: 999px;
	background: var(--ir-brand); color: #fff;
}
.badge-ir--soft { background: var(--ir-surface-2); color: var(--ir-ink-soft); }

.panel {
	background: #fff;
	border: 1px solid var(--ir-line);
	border-radius: var(--ir-radius);
	padding: 1.5rem;
}
.panel--sticky { position: sticky; top: calc(var(--ir-nav-h) + 1.25rem); }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--ir-line); border: 1px solid var(--ir-line); border-radius: var(--ir-radius); overflow: hidden; }
.spec { background: #fff; padding: 1rem 1.1rem; }
.spec__label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ir-muted); }
.spec__value { font-size: 1.05rem; font-weight: 600; color: var(--ir-ink); margin-top: .2rem; }

.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--ir-line); font-size: .95rem; margin: 0; }
.kv:last-of-type { border-bottom: 0; }
.kv dt { color: var(--ir-muted); font-weight: 400; }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

.mapa { height: 320px; border-radius: var(--ir-radius); overflow: hidden; border: 1px solid var(--ir-line); }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 2000;
	background: rgba(15,10,10,.94);
	display: none; align-items: center; justify-content: center;
	padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox__close, .lightbox__nav {
	position: absolute; background: rgba(255,255,255,.12); color: #fff;
	border: 0; border-radius: 999px; width: 48px; height: 48px;
	display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
}
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }

/* ---------- 11. Seguros / listas ---------- */
.ins-card {
	height: 100%;
	background: #fff;
	border: 1px solid var(--ir-line);
	border-radius: var(--ir-radius);
	padding: 1.6rem;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ins-card:hover { transform: translateY(-3px); box-shadow: var(--ir-shadow); }
.ins-card h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.ins-card ul { list-style: none; padding: 0; margin: 0; }
.ins-card li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--ir-ink-soft); line-height: 1.5; margin-bottom: .35rem; }
.ins-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ir-brand); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .8rem; color: var(--ir-ink-soft); }
.check-list li::before {
	content: "";
	position: absolute; left: 0; top: .28em;
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--ir-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237B0000'%3E%3Cpath d='M13.485 1.929a1 1 0 0 1 .086 1.411l-7 8a1 1 0 0 1-1.464.049l-3-3a1 1 0 1 1 1.414-1.414l2.242 2.242 6.31-7.211a1 1 0 0 1 1.412-.077z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.media-figure { border-radius: var(--ir-radius); overflow: hidden; border: 1px solid var(--ir-line); }
.media-figure img { width: 100%; display: block; }

/* ---------- 12. Pie ---------- */
.site-footer {
	background: #1C1917;
	color: #C7C0B8;
	padding: clamp(3rem, 2rem + 4vw, 4.5rem) 0 2rem;
}
.site-footer h4 {
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 1.1rem;
}
.site-footer p, .site-footer li { font-size: .92rem; color: #A8A29E; }
.site-footer a { color: #E7E2DB; }
.site-footer a:hover { color: #fff; }
.site-footer__brand img { height: 46px; background: #fff; padding: .4rem .6rem; border-radius: 10px; }
.site-footer__bottom {
	margin-top: 2.75rem; padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,.1);
	display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
	font-size: .82rem; color: #78716C;
}
.site-footer__bottom a { color: #A8A29E; }
.social-link {
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-grid; place-items: center;
	background: rgba(255,255,255,.08);
	color: #E7E2DB;
	transition: background .2s ease, color .2s ease;
}
.social-link:hover { background: var(--ir-brand); color: #fff; }
.social-link svg { width: 18px; height: 18px; }

/* ---------- 13. Utilidades ---------- */
.text-muted-ir { color: var(--ir-muted) !important; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state svg { width: 56px; height: 56px; color: var(--ir-line); margin-bottom: 1rem; }
.video-frame { border-radius: var(--ir-radius); overflow: hidden; background: #000; }

/* Contenido escrito con el editor enriquecido del panel (Summernote) */
.texto-rico { color: var(--ir-ink-soft); }
.texto-rico p { margin-bottom: .75rem; }
.texto-rico p:last-child { margin-bottom: 0; }
.texto-rico b, .texto-rico strong { color: var(--ir-ink); font-weight: 600; }
.texto-rico ul, .texto-rico ol { display: inline-block; text-align: left; margin: .5rem 0; }
.texto-rico img { border-radius: var(--ir-radius-sm); }
.texto-rico a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
