/* =========================================================================
   SWM Inmobiliaria MLM — Sistema de diseño
   Paleta rojo/negro/blanco · Fraunces (display) + Archivo (cuerpo)
   Mobile-first · ligero · sin frameworks
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
	--ink:      #15171b;
	--graphite: #23262d;
	--slate:    #5c6470;
	--line:     #e5e7eb;
	--mist:     #f5f6f8;
	--paper:    #ffffff;
	--red:      #c8102e;
	--red-700:  #a00d24;
	--red-50:   #fbeaec;

	--font-display: "Sora", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-body:    "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	/* Escala tipográfica fluida */
	--step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
	--step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
	--step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
	--step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
	--step-3:  clamp(1.95rem, 1.6rem + 1.6vw, 3rem);
	--step-4:  clamp(2.5rem, 1.9rem + 2.9vw, 4.4rem);

	--container: 1180px;
	--gap: clamp(1rem, 0.7rem + 1.5vw, 2rem);
	--radius: 6px;
	--radius-lg: 12px;

	--shadow-sm: 0 1px 2px rgba(21, 23, 27, 0.06), 0 1px 3px rgba(21, 23, 27, 0.04);
	--shadow-md: 0 6px 18px rgba(21, 23, 27, 0.08);
	--shadow-lg: 0 18px 50px rgba(21, 23, 27, 0.16);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 0.4em; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--ink); color: #fff; padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 0.6rem + 2vw, 2rem); }
.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }
.eyebrow {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--red);
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.section--ink .eyebrow { color: #ff6b7d; }
.section-head { max-width: 60ch; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--slate); font-size: var(--step-1); margin: 0; }
.section--ink .section-head p { color: #c8ccd4; }
.text-muted { color: var(--slate); }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 0.55rem;
	font-weight: 600; font-size: var(--step-0);
	padding: 0.85rem 1.5rem; border-radius: var(--radius);
	border: 1.5px solid transparent;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
		color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
	white-space: nowrap;
	position: relative; overflow: hidden;
}
/* Brillo diagonal sutil (shimmer) en botones rellenos, solo al hover */
.btn--primary::after, .btn--dark::after, .btn--wa::after {
	content: ""; position: absolute; top: 0; left: -130%;
	width: 55%; height: 100%; pointer-events: none;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
	transform: skewX(-18deg);
}
.btn--primary:hover::after, .btn--dark:hover::after, .btn--wa:hover::after {
	animation: swmShimmer 0.85s var(--ease);
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 16, 46, 0.28); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--graphite); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21, 23, 27, 0.28); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21, 23, 27, 0.18); }
.btn--block { width: 100%; justify-content: center; }
.btn--wa { background: #1faa55; color: #fff; }
.btn--wa:hover { background: #178a45; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 170, 85, 0.32); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.brand-logo { height: clamp(50px, 3vw + 34px, 64px); width: auto; display: block; }
.site-footer .brand-logo { height: clamp(80px, 5vw + 56px, 110px); }
.brand .brand-mark { color: var(--red); }
.brand .brand-sub { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); align-self: center; }
.primary-nav .nav-menu { display: flex; align-items: center; gap: 1.6rem; font-size: var(--step--1); font-weight: 500; }
.primary-nav a { padding: 0.4rem 0; position: relative; color: var(--graphite); }
.primary-nav a:hover { color: var(--red); }
.primary-nav .current-menu-item > a { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
	.header-actions .btn--dark { display: none; }
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: fixed; inset: 72px 0 auto 0;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 1rem clamp(1rem, 5vw, 2rem) 1.5rem;
		box-shadow: var(--shadow-md);
		transform: translateY(-120%); transition: transform 0.3s var(--ease);
	}
	.primary-nav[data-open="true"] { transform: translateY(0); }
	.primary-nav .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .nav-menu li { border-bottom: 1px solid var(--line); }
	.primary-nav .nav-menu a { display: block; padding: 0.9rem 0; font-size: 1.05rem; }
}

/* =========================================================================
   Hero (home) — signature search console
   ========================================================================= */
.hero {
	position: relative; color: #fff; isolation: isolate;
	background:
		radial-gradient(120% 80% at 80% 0%, rgba(200,16,46,0.28), transparent 55%),
		linear-gradient(180deg, #1b1e24 0%, var(--ink) 100%);
}
/* Trama arquitectónica sutil */
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
	background-image:
		linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Oscurecido solo cuando hay imagen de fondo */
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(21,23,27,0.25) 0%, rgba(21,23,27,0.12) 45%, rgba(21,23,27,0.45) 100%);
}
.hero-inner { padding-block: clamp(2.25rem, 1.4rem + 4vw, 4rem) clamp(3.5rem, 2.2rem + 4.5vw, 5.5rem); max-width: 48rem; }
.hero .eyebrow { color: #ff7d8d; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.5rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 0.4em; text-wrap: balance; }
.hero h1 em { font-style: normal; font-weight: 700; color: #ff8a99; }
.hero-lead { font-size: var(--step-1); color: #dfe2e7; max-width: 48ch; margin: 0 0 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2rem; font-size: var(--step--1); color: #c8ccd4; }
.hero-trust b { color: #fff; font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1; margin-bottom: 0.2rem; }

/* Search console — el elemento firma */
.search-console {
	position: relative; z-index: 2;
	margin-top: -4.5rem; margin-bottom: 0;
	background: #fff; color: var(--ink);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--line);
	overflow: hidden;
}
.search-console__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0.9rem 1.4rem; border-bottom: 1px solid var(--line);
	background: var(--ink); color: #fff;
}
.search-console__head .tag { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: #ff7d8d; font-weight: 600; }
.search-console__head .ref { font-size: var(--step--1); color: #9aa1ad; font-family: var(--font-display); }
.search-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.search-form .field { display: flex; flex-direction: column; padding: 0.85rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-form .field label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: 0.25rem; }
.search-form select, .search-form input {
	border: 0; background: transparent; font-family: inherit; font-size: var(--step-0);
	color: var(--ink); padding: 0.15rem 0; width: 100%;
}
.search-form select:focus, .search-form input:focus { outline: none; }
.search-form .field:focus-within { background: var(--red-50); }
.search-form .search-submit { grid-column: 1 / -1; border: 0; }
.search-form .search-submit .btn { border-radius: 0; padding-block: 1.05rem; }

@media (min-width: 720px) {
	.search-form { grid-template-columns: repeat(4, 1fr); }
	.search-form .search-submit { grid-column: auto; }
	.search-form .search-submit .btn { height: 100%; }
}

/* =========================================================================
   Property card
   ========================================================================= */
.property-grid {
	display: grid; gap: clamp(1.1rem, 0.8rem + 1.5vw, 1.8rem);
	grid-template-columns: 1fr;
}
@media (min-width: 560px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }


.property-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3d7dd; }
.property-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.property-card:hover .property-card__media img { transform: scale(1.03); }
.property-card__op {
	position: absolute; top: 0.85rem; left: 0.85rem;
	background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 4px;
}
.property-card__type {
	position: absolute; top: 0.85rem; right: 0.85rem;
	background: rgba(21,23,27,0.78); color: #fff; backdrop-filter: blur(4px);
	font-size: 0.72rem; font-weight: 500; padding: 0.35rem 0.7rem; border-radius: 4px;
}
.property-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.property-card__price { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1; margin-bottom: 0.5rem; }
.property-card__title { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; line-height: 1.35; margin: 0 0 0.4rem; }
.property-card__title a:hover { color: var(--red); }
.property-card__loc { font-size: var(--step--1); color: var(--slate); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.35rem; }

/* Strip de datos — estructura tipográfica, no iconos decorativos */
.specs { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding-top: 0.9rem; margin-top: auto; border-top: 1px solid var(--line); font-size: var(--step--1); }
.specs .spec { display: inline-flex; align-items: baseline; gap: 0.3rem; }
.specs .spec b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.specs .spec span { color: var(--slate); }
.property-card__actions { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.property-card__actions .btn { padding: 0.6rem 0.9rem; font-size: var(--step--1); flex: 1; justify-content: center; }

/* =========================================================================
   Filtros (archive)
   ========================================================================= */
/* Tarjeta de filtros */
.property-filters-card {
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-md);
	border-radius: 18px;
	padding: clamp(1.25rem, 1rem + 1.4vw, 1.9rem);
	margin: 0.5rem 0 2.2rem;
}
.property-filters-card__header { max-width: 60ch; margin-bottom: 1.3rem; }
.property-filters-card__header .eyebrow { margin-bottom: 0.5rem; }
.property-filters-card__header h2 { font-size: var(--step-1); margin: 0 0 0.3rem; }
.property-filters-card__header p { color: var(--slate); font-size: var(--step--1); margin: 0; }

.property-filters {
	display: grid; gap: 0.9rem 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
}
@media (min-width: 680px) { .property-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .property-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.property-filters .field { display: flex; flex-direction: column; min-width: 0; }
.property-filters label {
	font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--slate); font-weight: 600; margin-bottom: 0.45rem;
}
.property-filters select,
.property-filters input {
	width: 100%; height: 46px;
	font-family: inherit; font-size: var(--step--1);
	padding: 0 0.8rem;
	border: 1px solid var(--line); border-radius: 10px;
	background: var(--mist); color: var(--ink);
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.property-filters select:focus,
.property-filters input:focus {
	outline: none; border-color: var(--red); background: #fff;
	box-shadow: 0 0 0 3px var(--red-50);
}
.property-filters__actions {
	grid-column: 1 / -1;
	display: flex; flex-wrap: wrap; gap: 0.7rem;
	margin-top: 0.4rem;
}
.property-filters__actions .btn { height: 46px; padding-inline: 1.5rem; }
@media (max-width: 520px) { .property-filters__actions .btn { flex: 1; } }

.htmx-request .property-grid { opacity: 0.45; transition: opacity 0.2s; }
.results-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.results-meta .count { font-size: var(--step--1); color: var(--slate); }
.results-meta .count b { color: var(--ink); font-family: var(--font-display); }

/* Paginación premium */
.swm-pagination {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: 0.45rem;
	margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
	margin-bottom: 0.5rem;
}
.swm-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 0.9rem;
	border: 1px solid var(--line); border-radius: 999px;
	background: #fff; color: var(--graphite);
	font-size: var(--step--1); font-weight: 600; line-height: 1;
	box-shadow: var(--shadow-sm);
	transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
}
.swm-pagination a.page-numbers:hover {
	border-color: var(--red); color: var(--red); transform: translateY(-1px);
}
.swm-pagination .page-numbers.current {
	background: var(--red); border-color: var(--red); color: #fff;
	box-shadow: 0 4px 12px rgba(200, 16, 46, 0.28);
}
.swm-pagination .page-numbers.dots {
	min-width: auto; padding: 0 0.3rem;
	border-color: transparent; background: transparent; box-shadow: none;
	color: var(--slate); letter-spacing: 0.05em;
}
.swm-pagination .prev, .swm-pagination .next { padding: 0 1.15rem; }
.swm-pagination .prev::before { content: "\2039"; margin-right: 0.45rem; font-size: 1.15rem; line-height: 1; }
.swm-pagination .next::after { content: "\203A"; margin-left: 0.45rem; font-size: 1.15rem; line-height: 1; }
.swm-pagination .page-numbers:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

@media (max-width: 520px) {
	.swm-pagination { gap: 0.35rem; }
	.swm-pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 0.65rem; }
	.swm-pagination .prev, .swm-pagination .next { padding: 0 0.85rem; }
}

/* =========================================================================
   Estado vacío
   ========================================================================= */
.empty-state { text-align: center; padding: clamp(2.5rem, 2rem + 4vw, 5rem) 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--mist); }
.empty-state h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.empty-state p { color: var(--slate); max-width: 46ch; margin: 0 auto 1.5rem; }

/* =========================================================================
   Single propiedad
   ========================================================================= */
.single-head { padding-block: 1.5rem 0; }
.single-head h1 { font-size: var(--step-3); max-width: 22ch; }
.single-head .single-loc { color: var(--slate); font-size: var(--step-0); }
.single-price-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin: 1rem 0 1.5rem; }
.single-price { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; line-height: 1; }
.single-op { background: var(--red-50); color: var(--red-700); font-weight: 600; font-size: var(--step--1); padding: 0.35rem 0.8rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

.single-layout { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: start; }
@media (min-width: 960px) { .single-layout { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); } }
.single-aside { position: sticky; top: 90px; display: grid; gap: 1.2rem; }

/* Galería (Alpine) */
.gallery__main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-top: 0.6rem; }
.gallery__thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--mist); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--red); }

.spec-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 560px) { .spec-board { grid-template-columns: repeat(3, 1fr); } }
.spec-board .cell { background: #fff; padding: 1rem 1.1rem; }
.spec-board .cell .k { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.spec-board .cell .v { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }

.prose { font-size: var(--step-0); line-height: 1.75; color: var(--graphite); }
.prose p { margin: 0 0 1rem; }
.prose h2, .prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.4rem 0; padding: 0.2rem 1.3rem; border-left: 3px solid var(--red); color: var(--slate); font-style: italic; }
.prose img { border-radius: var(--radius-lg); margin: 0.4rem 0 1.2rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 1.5rem; }
.contact-card h3 { color: #fff; font-size: var(--step-1); }
.contact-card p { color: #c8ccd4; font-size: var(--step--1); margin: 0 0 1.2rem; }
.contact-card .btn { width: 100%; justify-content: center; margin-bottom: 0.6rem; }
.contact-card .ref-line { margin-top: 1rem; font-size: 0.75rem; color: #8b919c; font-family: var(--font-display); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================================
   Secciones home: servicios, zonas, CTA
   ========================================================================= */
.cards-3 { display: grid; gap: clamp(1rem, 0.7rem + 1.5vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.service-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: var(--red); transform: translateY(-3px); }
.service-card .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--red); font-weight: 600; letter-spacing: 0.1em; }
.service-card__icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: 0.7rem; border-radius: 999px; background: rgba(200, 16, 46, 0.08); color: var(--red); }
.service-card__icon svg { width: 1.6rem; height: 1.6rem; }

.intent-grid { display: grid; gap: clamp(1rem, 0.7rem + 1vw, 1.4rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .intent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .intent-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1220px) { .intent-grid { grid-template-columns: repeat(5, 1fr); } }
.intent-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.intent-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.intent-card h3 { font-size: var(--step-0); color: var(--graphite); margin: 0 0 0.4rem; }
.intent-card p { color: var(--slate); font-size: var(--step--1); margin: 0 0 1.1rem; flex-grow: 1; }
.intent-card__link { font-size: var(--step--1); font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.35rem; }
.intent-card__link span { transition: transform 0.2s; }
.intent-card:hover .intent-card__link span { transform: translateX(3px); }

.membership-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 0.7rem + 1.5vw, 1.8rem); }
.membership-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	width: 240px; padding: 2rem 1.6rem 1.6rem;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.membership-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.membership-card img { max-height: 82px; width: auto; max-width: 100%; margin-bottom: 1.1rem; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.membership-card:hover img { filter: grayscale(0); opacity: 1; }
.membership-card h3 { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.01em; margin: 0 0 0.35rem; }
.membership-card p { font-size: 0.8rem; color: var(--slate); margin: 0; }

.blog-grid { display: grid; gap: clamp(1.1rem, 0.8rem + 1.5vw, 1.8rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card__meta { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin: 0 0 0.5rem; }
.blog-card__title { font-size: var(--step-1); margin: 0 0 0.6rem; }
.blog-card__title a { color: var(--ink); }
.blog-card__title a:hover { color: var(--red); }
.blog-card__excerpt { color: var(--slate); font-size: var(--step--1); margin: 0 0 1.1rem; flex-grow: 1; }
.blog-card__link { font-size: var(--step--1); font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.35rem; }
.blog-card__link span { transition: transform 0.2s; }
.blog-card:hover .blog-card__link span { transform: translateX(3px); }

.blog-single__media { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 1.8rem; background: var(--mist); }
.blog-single__media img { width: 100%; height: auto; display: block; }

/* Enlaces sociales: banda de logotipos sobria, como la referencia del cliente. */
.social-links { padding-block: clamp(3.25rem, 2.4rem + 3vw, 5.4rem); background: #0d1015; }
.social-links__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1320px; margin: 0 auto; }
.social-links__item { min-height: 132px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; color: #858c98; background: transparent; filter: grayscale(1); opacity: 0.82; transition: color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.social-links__item svg { width: 43px; height: 43px; flex: 0 0 auto; }
.social-links__item span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; text-align: center; text-transform: uppercase; }
.social-links__item:hover, .social-links__item:focus-visible { color: #fff; opacity: 1; transform: translateY(-4px); }
.social-links__item:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.social-links__item--facebook { order: 1; }
.social-links__item--instagram { order: 2; }
.social-links__item--whatsapp { order: 3; }
.social-links__item--youtube { order: 4; }
.social-links__item--office { order: 5; }
.social-links__item--maps { order: 6; }
.social-links__item--reviews { order: 7; }
@media (min-width: 680px) { .social-links__list { grid-template-columns: repeat(7, minmax(0, 1fr)); } .social-links__item { min-height: 154px; } .social-links__item svg { width: clamp(42px, 3.5vw, 58px); height: clamp(42px, 3.5vw, 58px); } }
.service-card h3 { font-size: var(--step-1); margin: 0.5rem 0 0.5rem; }
.service-card p { color: var(--slate); font-size: var(--step--1); margin: 0; }

.team-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color 0.2s, transform 0.2s; }
.team-card:hover { border-color: var(--red); transform: translateY(-3px); }
.team-card h3 { font-size: var(--step-1); margin: 0 0 0.3rem; }
.team-card__role { color: var(--red); font-size: var(--step--1); font-weight: 600; margin: 0 0 0.8rem; }
.team-card__links { display: flex; flex-direction: column; gap: 0.4rem; font-size: var(--step--1); }
.team-card__links a { color: var(--slate); word-break: break-word; }
.team-card__links a:hover { color: var(--red); }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.chip { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); color: var(--graphite); background: #fff; }

.historia-grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .historia-grid { grid-template-columns: 1.5fr 1fr; } }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { padding: 1.1rem 1.3rem; border-left: 3px solid var(--red); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); color: var(--graphite); line-height: 1; margin-bottom: 0.3rem; }
.stat span { font-size: var(--step--1); color: var(--slate); }

.zones-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .zones-grid { grid-template-columns: repeat(4, 1fr); } }
.zone-link {
	display: flex; align-items: flex-end; min-height: 140px; padding: 1.1rem;
	border-radius: var(--radius-lg); background: var(--graphite); color: #fff; position: relative; overflow: hidden;
	font-family: var(--font-display); font-size: var(--step-1); font-weight: 500;
	transition: transform 0.25s var(--ease);
}
.zone-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(200,16,46,0.0), rgba(200,16,46,0.55)); opacity: 0; transition: opacity 0.25s; }
.zone-link:hover { transform: translateY(-3px); }
.zone-link:hover::before { opacity: 1; }
.zone-link span { position: relative; z-index: 1; }

.cta-band { background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 1.4rem + 3vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1.5fr 1fr; } }
.cta-band h2 { color: #fff; font-size: var(--step-3); margin: 0; }
.cta-band p { color: #ffdfe3; margin: 0.6rem 0 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-start; }
@media (min-width: 820px) { .cta-band .cta-actions { justify-content: flex-end; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1faa55; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* =========================================================================
   Breadcrumbs + footer
   ========================================================================= */
.swm-breadcrumbs {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 0.15rem 0.55rem;
	font-size: 0.8rem; line-height: 1.2;
	padding-block: 1.1rem 0.4rem;
}
.swm-breadcrumbs__link { color: var(--slate); transition: color 0.15s; }
.swm-breadcrumbs__link:hover { color: var(--red); }
.swm-breadcrumbs__separator { color: #c2c7cf; font-size: 0.95rem; line-height: 1; user-select: none; }
.swm-breadcrumbs__current { color: var(--ink); font-weight: 600; }

.site-footer { background: var(--ink); color: #c8ccd4; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .footer-about p { max-width: 40ch; font-size: var(--step--1); color: #fff; }
.footer-links li { margin-bottom: 0.5rem; font-size: var(--step--1); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; text-align: center; }

/* =========================================================================
   Microinteracciones y animaciones premium
   ========================================================================= */

/* ---- Keyframes ---- */
@keyframes swmShimmer { from { left: -130%; } to { left: 130%; } }
@keyframes swmFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* "Breathing glow" muy sutil para CTAs clave (solo box-shadow → no pisa el hover translate) */
@keyframes swmPulseGlow {
	0%, 100% { box-shadow: 0 6px 16px rgba(200, 16, 46, 0.16); }
	50%      { box-shadow: 0 8px 26px rgba(200, 16, 46, 0.38); }
}
/* Anillo de pulso para el botón flotante de WhatsApp */
@keyframes swmWaPulse {
	0%   { transform: scale(1);   opacity: 0.5; }
	70%  { transform: scale(1.7); opacity: 0; }
	100% { transform: scale(1.7); opacity: 0; }
}

/* ---- CTA con animación infinita (aplicar con moderación) ---- */
.is-animated-cta { animation: swmPulseGlow 2.8s ease-in-out infinite; }

/* ---- Header: subrayado rojo animado en la navegación ---- */
.primary-nav .nav-menu a::after {
	content: ""; position: absolute; left: 0; bottom: -3px;
	width: 100%; height: 2px; background: var(--red);
	transform: scaleX(0); transform-origin: left center;
	transition: transform 0.25s var(--ease);
}
.primary-nav .nav-menu a:hover::after,
.primary-nav .nav-menu .current-menu-item > a::after { transform: scaleX(1); }

/* ---- Cards: badges con transición suave ---- */
.property-card__op, .property-card__type { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.property-card:hover .property-card__op { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35); }
.property-card__actions .btn { transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }

/* ---- Galería single: thumbnails ---- */
.gallery__main img { transition: transform 0.4s var(--ease); }
.gallery__thumb { transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.gallery__thumb:hover { transform: translateY(-2px); border-color: #f0b8c0; }
.gallery__thumb[aria-pressed="true"] { box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25); }

/* ---- Botón ampliar sobre la imagen principal ---- */
[x-cloak] { display: none !important; }
.gallery__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery__zoom-hint {
	position: absolute; right: 0.8rem; bottom: 0.8rem;
	display: inline-flex; align-items: center; gap: 0.4rem;
	background: rgba(21, 23, 27, 0.72); color: #fff; backdrop-filter: blur(4px);
	font-size: 0.74rem; font-weight: 600; padding: 0.42rem 0.75rem; border-radius: 999px;
	opacity: 0.9; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery__open:hover .gallery__zoom-hint,
.gallery__open:focus-visible .gallery__zoom-hint { opacity: 1; transform: translateY(-2px); }
.gallery__zoom-hint svg { width: 15px; height: 15px; }

/* ---- Lightbox ---- */
.lightbox {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(15, 16, 20, 0.93);
	padding: clamp(1rem, 4vw, 3.5rem);
}
.lightbox__img {
	max-width: 100%; max-height: 100%; width: auto; height: auto;
	object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg);
}
.lightbox__close, .lightbox__nav {
	position: absolute; display: inline-flex; align-items: center; justify-content: center;
	border: 0; cursor: pointer; color: #fff; line-height: 1;
	background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
	border-radius: 50%; transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox__close { top: 1rem; right: 1rem; width: 46px; height: 46px; font-size: 1.7rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2.2rem; }
.lightbox__nav--prev { left: clamp(0.6rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.6rem, 2vw, 1.5rem); }
.lightbox__close:hover { background: var(--red); transform: rotate(90deg); }
.lightbox__nav:hover { background: var(--red); transform: translateY(-50%) scale(1.06); }
.lightbox__counter {
	position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
	color: #fff; font-size: 0.8rem; font-weight: 600;
	background: rgba(0, 0, 0, 0.45); padding: 0.32rem 0.85rem; border-radius: 999px;
}
@media (max-width: 520px) {
	.lightbox__nav { width: 44px; height: 44px; font-size: 1.9rem; }
	.lightbox__close { width: 42px; height: 42px; }
}

/* ---- Botón flotante WhatsApp: pulso infinito sutil ---- */
.wa-float { isolation: isolate; }
.wa-float::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	border-radius: 50%; background: #1faa55; pointer-events: none;
	animation: swmWaPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.06); }

/* ---- Entrada del hero al cargar (estado base visible → seguro con reduced-motion) ---- */
.hero-inner > *, .hero .search-console { animation: swmFadeUp 0.7s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.06s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.12s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.18s; }
.hero .search-console { animation-delay: 0.24s; }

/* ---------- Reveal on scroll (ligero, JS) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Motion reducido — desactiva animaciones infinitas y entradas sin ocultar nada
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.reveal { opacity: 1 !important; transform: none !important; }
	.hero-inner > *, .hero .search-console { animation: none !important; }
	.is-animated-cta { animation: none !important; }
	.wa-float::before { display: none; }
	/* El spinner del loader sí gira (indicador funcional de carga). */
	.page-loader__ring::before { animation-duration: 0.8s !important; animation-iteration-count: infinite !important; }
}

/* =========================================================================
   Landings SEO + FAQ
   ========================================================================= */
.landing-hero { padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.landing-hero h1 { font-size: var(--step-3); max-width: 20ch; }
.landing-intro { font-size: var(--step-1); color: var(--slate); max-width: 62ch; margin: 0.4rem 0 1.6rem; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.pillar-row { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin: 0.4rem 0 1.8rem; }
.pillar { display: flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); font-weight: 650; color: var(--graphite); }
.pillar .service-card__icon { width: 2.2rem; height: 2.2rem; margin-bottom: 0; flex-shrink: 0; }
.pillar .service-card__icon svg { width: 1.15rem; height: 1.15rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: var(--step--1); color: var(--slate); }
.trust-item svg { width: 1.15rem; height: 1.15rem; color: var(--red); flex-shrink: 0; }
.trust-item b { color: var(--graphite); font-weight: 700; }
.landing-body { display: grid; gap: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
@media (min-width: 760px) { .landing-body { grid-template-columns: repeat(2, 1fr); } }
.landing-block h2 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.landing-block .prose { margin: 0; }

.faq { display: grid; gap: 0.7rem; }
.faq__item {
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: #fff; padding: 0 1.1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item[open] { border-color: #f0b8c0; box-shadow: var(--shadow-sm); }
.faq__q {
	cursor: pointer; list-style: none; padding: 1rem 0;
	font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; transition: transform 0.2s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.1rem; color: var(--graphite); }
.faq__a p { margin: 0; line-height: 1.7; }

/* ---- Enlaces internos (single) ---- */
.internal-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.internal-links__chip {
	display: inline-flex; align-items: center;
	font-size: var(--step--1); font-weight: 500;
	padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 999px;
	background: var(--mist); color: var(--graphite);
	transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.internal-links__chip:hover { border-color: var(--red); color: var(--red); background: #fff; }

/* =========================================================================
   Loader de transición entre páginas
   ========================================================================= */
.page-loader {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(3px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.page-loader.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.page-loader__ring { position: relative; width: 96px; height: 96px; }
.page-loader__ring::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 3px solid var(--line); border-top-color: var(--red);
	animation: swmSpin 0.8s linear infinite;
}
.page-loader__logo { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; object-fit: contain; }
.page-loader__mark { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--red); }
.page-loader__text { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: 0.03em; }
.page-loader__text::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: swmDots 1.4s steps(4, end) infinite; }
@keyframes swmSpin { to { transform: rotate(360deg); } }
@keyframes swmDots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }
