/* Mi Casa RD – Agentes (estilo de la portada) */
.mca {
	--mca-navy: #0b2447;
	--mca-ink: #12223f;
	--mca-muted: #5b6577;
	--mca-line: #e3e8f0;
	--mca-soft: #f5f7fb;
	--mca-yellow: #ffcc00;
	--mca-blue: #0094cc;
	--mca-teal: #4fb7c2;
	--mca-wa: #22c35e;
	background: var(--mca-soft);
	color: var(--mca-ink);
	padding-bottom: 56px;
	overflow-x: clip;
}
.mca *, .mca *::before, .mca *::after { box-sizing: border-box; }
.mca a { text-decoration: none; }
.mca em { font-style: normal; color: var(--mca-yellow); }
.mca h2 em, .mca h3 em { color: var(--mca-blue); }
.mca-i { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.mca-hero {
	position: relative;
	min-height: clamp(380px, 52vh, 480px);
	background: var(--mca-navy);
	color: #fff;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.mca-hero--sm { min-height: clamp(300px, 40vh, 380px); }
.mca-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.mca-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(6,20,50,.9) 0%, rgba(6,20,50,.62) 55%, rgba(6,20,50,.3) 100%), linear-gradient(0deg, rgba(6,20,50,.65), transparent 50%);
}
.mca-hero__inner { position: relative; z-index: 2; width: min(1240px, 100%); margin: 0 auto; padding: 36px 28px 84px; }
.mca-hero--sm .mca-hero__inner { padding-bottom: 64px; }
.mca-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; opacity: .85; margin-bottom: 22px; }
.mca-crumbs a { color: #fff !important; }
.mca-crumbs a:hover { text-decoration: underline; }
.mca-crumbs b { font-weight: 600; }
.mca-hero__row { display: flex; align-items: center; gap: 32px; }
.mca-tag {
	display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
	backdrop-filter: blur(6px); border-radius: 30px; padding: 6px 14px; font-size: 12px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.mca-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; margin: 14px 0 10px; font-weight: 700; }
.mca-hero__sub { margin: 0; font-size: clamp(15px, 1.6vw, 19px); opacity: .94; max-width: 580px; color: #fff; }
.mca-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Avatar ---------- */
.mca-avatar {
	position: relative; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%;
	width: 96px; height: 96px; background: linear-gradient(135deg, var(--mca-teal), var(--mca-blue));
	color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 34px;
	box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 14px 34px rgba(6,20,50,.35);
}
.mca-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mca-avatar--xl { width: 168px; height: 168px; font-size: 58px; }
.mca-avatar--lg { width: 150px; height: 150px; font-size: 52px; }

/* ---------- Botones ---------- */
.mca-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
	border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; line-height: 1;
}
.mca-btn:hover { transform: translateY(-1px); }
.mca-btn--wa { background: var(--mca-wa); color: #fff !important; box-shadow: 0 8px 20px rgba(34,195,94,.3); }
.mca-btn--mca-wa:hover { background: #1aa851; }
.mca-btn--yellow { background: var(--mca-yellow); color: var(--mca-ink) !important; box-shadow: 0 8px 20px rgba(255,204,0,.3); }
.mca-btn--mca-yellow:hover { background: #f2c200; }
.mca-btn--glass { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff !important; backdrop-filter: blur(6px); }
.mca-btn--glass:hover { background: rgba(255,255,255,.24); }
.mca-btn--outline { background: #fff; border-color: var(--mca-line); color: var(--mca-ink) !important; }
.mca-btn--outline:hover { border-color: var(--mca-blue); color: #0077a3 !important; }
.mca-btn--block { width: 100%; }
.mca-btn:focus-visible, .mca-chips button:focus-visible, .mca-card:focus-visible { outline: 3px solid rgba(0,148,204,.45); outline-offset: 2px; }

/* ---------- Estadísticas (tarjeta flotante como el buscador) ---------- */
.mca-stats {
	position: relative; z-index: 3; width: min(980px, calc(100% - 32px)); margin: -44px auto 0;
	background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(6,20,50,.18);
	display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 8px;
}
.mca-stats > div { text-align: center; padding: 4px 10px; border-left: 1px solid var(--mca-line); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mca-stats > div:first-child { border-left: 0; }
.mca-stats b { font-size: 26px; line-height: 1.1; color: var(--mca-ink); display: flex; }
.mca-stats b .mca-i { width: 28px; height: 28px; color: var(--mca-wa); }
.mca-stats span { font-size: 13px; color: var(--mca-muted); }

/* ---------- Secciones ---------- */
.mca-wrap { width: min(1240px, 100%); margin: 0 auto; padding: 48px 28px 0; }
.mca-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.mca-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mca-blue); margin-bottom: 6px; }
.mca h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0; color: var(--mca-ink); }
.mca h3 { font-size: 16px; margin: 22px 0 10px; color: var(--mca-ink); }

.mca-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.mca-chips::-webkit-scrollbar { display: none; }
.mca-chips button {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--mca-line);
	border-radius: 30px; background: #fff; color: var(--mca-ink); font-size: 14px; font-weight: 600; cursor: pointer;
}
.mca-chips button small { font-size: 12px; color: var(--mca-muted); font-weight: 700; }
.mca-chips button:hover { border-color: var(--mca-blue); color: #0077a3; }
.mca-chips button.is-on { background: var(--mca-ink); border-color: var(--mca-ink); color: #fff; }
.mca-chips button.is-on small { color: var(--mca-yellow); }

/* ---------- Tarjetas de propiedad (todas iguales) ---------- */
.mca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mca-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mca-line); border-radius: 16px; overflow: hidden;
	color: var(--mca-ink) !important; transition: transform .18s ease, box-shadow .18s ease;
}
.mca-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(6,20,50,.12); }
.mca-card[hidden] { display: none; }
.mca-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #e6e9ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6bfcc' stroke-width='1.4'%3E%3Cpath d='M3 11 12 4l9 7M5 10v10h14V10'/%3E%3C/svg%3E") center / 56px no-repeat; }
.mca-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mca-badge { position: absolute; left: 12px; top: 12px; background: rgba(11,36,71,.85); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; }
.mca-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.mca-card__type { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mca-blue); }
.mca-card__price { font-size: 19px; font-weight: 800; color: var(--mca-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mca-card__title { font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.mca-card__loc { display: flex; align-items: flex-start; gap: 5px; font-size: 13px; color: var(--mca-muted); line-height: 1.35; }
.mca-card__loc .mca-i { width: 15px; height: 15px; margin-top: 1px; }
.mca-card__feat { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--mca-line); font-size: 13px; font-weight: 600; }
.mca-card__feat span { display: inline-flex; align-items: center; gap: 5px; }
.mca-card__feat .mca-i { width: 17px; height: 17px; color: var(--mca-muted); }
.mca-more { text-align: center; margin-top: 26px; }
.mca-more[hidden] { display: none; }
.mca-empty { background: #fff; border: 1px dashed var(--mca-line); border-radius: 16px; padding: 30px; text-align: center; color: var(--mca-muted); }

/* ---------- Sobre mí + Contacto ---------- */
.mca-two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.mca-box { background: #fff; border: 1px solid var(--mca-line); border-radius: 16px; padding: 28px; }
.mca-bio { font-size: 16px; line-height: 1.7; color: #3b4558; margin: 14px 0 0; }
.mca-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mca-tags li { display: inline-flex; align-items: center; gap: 6px; background: #eaf6fb; color: #075b7d; border-radius: 30px; padding: 7px 13px; font-size: 13px; font-weight: 600; }
.mca-tags--soft li { background: var(--mca-soft); color: var(--mca-ink); border: 1px solid var(--mca-line); }
.mca-tags .mca-i { width: 15px; height: 15px; }
.mca-facts { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--mca-line); }
.mca-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mca-line); font-size: 14px; }
.mca-facts dt { color: var(--mca-muted); font-weight: 600; }
.mca-facts dd { margin: 0; }
.mca-facts a { color: #0077a3 !important; }

.mca-contact { position: sticky; top: 110px; }
.mca-contact > p { color: var(--mca-muted); margin: 10px 0 18px; }
.mca-form { display: grid; gap: 12px; }
.mca-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; }
.mca-form input, .mca-form select, .mca-form textarea {
	width: 100%; border: 1px solid #dfe4ec; border-radius: 10px; padding: 11px 12px; font-size: 15px; color: var(--mca-ink);
	background: #f8fafc; outline: 0; font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 400;
}
.mca-form input, .mca-form select { height: 46px; padding-top: 0; padding-bottom: 0; }
.mca-form input:focus, .mca-form select:focus, .mca-form textarea:focus { border-color: var(--mca-blue); background: #fff; box-shadow: 0 0 0 3px rgba(0,148,204,.12); }
.mca-direct { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.mca-direct a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--mca-line); border-radius: 12px; color: var(--mca-ink) !important; font-weight: 700; font-size: 15px; word-break: normal; overflow-wrap: anywhere; }
.mca-direct a:hover { border-color: var(--mca-blue); }
.mca-direct .mca-i { width: 22px; height: 22px; color: var(--mca-blue); }
.mca-direct small { display: block; font-size: 11px; font-weight: 700; color: var(--mca-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Equipo ---------- */
.mca-team { padding-top: 0; margin-top: -40px; position: relative; z-index: 3; display: grid; gap: 22px; }
.mca-agent {
	display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 30px; align-items: center; background: #fff; border-radius: 18px;
	box-shadow: 0 14px 40px rgba(6,20,50,.14); padding: 30px;
}
.mca-agent__photo .mca-avatar { box-shadow: 0 0 0 5px #fff, 0 10px 28px rgba(6,20,50,.2); }
.mca-agent h2 a { color: var(--mca-ink) !important; }
.mca-agent__main p { color: #3b4558; line-height: 1.6; margin: 10px 0 14px; }
.mca-mini { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mca-muted); }
.mca-mini b { color: var(--mca-ink); font-size: 16px; }
.mca-agent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mca-agent__recent { display: grid; gap: 10px; border-left: 1px solid var(--mca-line); padding-left: 26px; }
.mca-recent { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; color: var(--mca-ink) !important; }
.mca-recent__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #e6e9ef; }
.mca-recent__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mca-recent b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.35; font-weight: 600; }
.mca-recent em { display: block; color: var(--mca-ink) !important; font-weight: 800; font-size: 13px; margin-top: 2px; }
.mca-recent:hover b { color: #0077a3; }

.mca-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mca-why > div { background: #fff; border: 1px solid var(--mca-line); border-radius: 16px; padding: 24px; }
.mca-why .mca-i { width: 34px; height: 34px; color: var(--mca-blue); background: #eaf6fb; border-radius: 10px; padding: 6px; }
.mca-why h3 { margin: 14px 0 6px; }
.mca-why p { margin: 0; color: var(--mca-muted); line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.mca-agent { grid-template-columns: auto 1fr; }
	.mca-agent__recent { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--mca-line); padding-top: 18px; grid-template-columns: repeat(3, 1fr); }
	.mca-agent__recent .mca-kicker { grid-column: 1 / -1; }
	.mca-recent { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
	.mca-grid { grid-template-columns: repeat(2, 1fr); }
	.mca-two { grid-template-columns: 1fr; }
	.mca-contact { position: static; }
	.mca-why { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
	.mca-hero__inner { padding: 24px 16px 76px; }
	.mca-hero__row { flex-direction: column; align-items: flex-start; gap: 18px; }
	.mca-avatar--xl { width: 116px; height: 116px; font-size: 40px; }
	.mca-hero__btns .mca-btn { flex: 1 1 auto; }
	.mca-stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.mca-stats > div:nth-child(3) { border-left: 0; }
	.mca-wrap { padding: 36px 16px 0; }
	.mca-grid { grid-template-columns: 1fr; gap: 16px; }
	.mca-box { padding: 22px 18px; }
	.mca-facts > div { grid-template-columns: 1fr; gap: 2px; }
	.mca-team { margin-top: -36px; }
	.mca-agent { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; text-align: left; }
	.mca-avatar--lg { width: 110px; height: 110px; font-size: 38px; }
	.mca-agent__recent { grid-template-columns: 1fr; }
	.mca-recent { grid-template-columns: 78px 1fr; }
	.mca-agent__btns .mca-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.mca-btn, .mca-card { transition: none; }
	.mca-btn:hover, .mca-card:hover { transform: none; }
}

/* ---------- Blindaje contra estilos globales del sitio (a[href*="tel"], a[href*="whatsapp"], button…) ---------- */
.mca a.mca-btn {
	display: inline-flex !important; width: auto !important; margin: 0 !important; height: 46px !important;
	padding: 0 20px !important; border-radius: 10px !important; gap: 8px !important; font-weight: 700 !important;
	align-items: center !important; justify-content: center !important; font-size: 15px !important; line-height: 1 !important;
}
.mca a.mca-btn--wa, .mca button.mca-btn--wa { background: #22c35e !important; color: #fff !important; border: 1px solid #22c35e !important; }
.mca a.mca-btn--wa:hover, .mca button.mca-btn--wa:hover { background: #1aa851 !important; }
.mca a.mca-btn--yellow { background: #ffcc00 !important; color: #12223f !important; border: 1px solid #ffcc00 !important; }
.mca a.mca-btn--yellow:hover { background: #f2c200 !important; }
.mca a.mca-btn--glass { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; }
.mca a.mca-btn--glass:hover { background: rgba(255,255,255,.26) !important; }
.mca a.mca-btn--outline, .mca button.mca-btn--outline { background: #fff !important; color: #12223f !important; border: 1px solid #e3e8f0 !important; }
.mca a.mca-btn--outline:hover, .mca button.mca-btn--outline:hover { border-color: #0094cc !important; color: #0077a3 !important; }
.mca button.mca-btn { display: inline-flex !important; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; align-items: center; justify-content: center; gap: 8px; }
.mca button.mca-btn--block { display: flex !important; width: 100% !important; }
.mca .mca-direct a {
	display: flex !important; width: 100% !important; margin: 0 !important; justify-content: flex-start !important;
	padding: 12px 14px !important; background: #fff !important; color: #12223f !important; border: 1px solid #e3e8f0 !important;
	border-radius: 12px !important; gap: 12px !important; font-weight: 700 !important;
}
.mca .mca-direct a:hover { border-color: #0094cc !important; }
.mca .mca-chips button { background: #fff !important; color: #12223f !important; border: 1px solid #e3e8f0 !important; }
.mca .mca-chips button.is-on { background: #12223f !important; color: #fff !important; border-color: #12223f !important; }
.mca .mca-chips button.is-on small { color: #ffcc00 !important; }
.mca .mca-kicker { color: #0094cc !important; }
.mca h2 em, .mca h3 em { color: #0094cc !important; }
.mca .mca-hero em { color: #ffcc00 !important; }
.mca-hero h1, .mca-hero .mca-hero__sub, .mca-hero .mca-crumbs, .mca-hero .mca-crumbs a { color: #fff !important; }
@media (max-width: 767.98px) {
	.mca .mca-hero__btns a.mca-btn { flex: 1 1 100% !important; width: 100% !important; }
	.mca .mca-hero__btns a.mca-btn--glass { flex: 1 1 calc(50% - 5px) !important; width: auto !important; }
	.mca .mca-agent__btns a.mca-btn { flex: 1 1 100% !important; width: 100% !important; }
}

/* ---------- Agencias ---------- */
.mca-logo {
	flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; background: #fff; border-radius: 22px;
	width: 120px; height: 120px; padding: 14px; box-shadow: 0 14px 34px rgba(6,20,50,.3);
	color: #12223f; font-weight: 800; font-size: 34px;
}
.mca-logo img { width: 100%; height: 100%; object-fit: contain; }
.mca-logo--xl { width: 190px; height: 150px; }
.mca-logo--lg { width: 170px; height: 135px; box-shadow: 0 10px 28px rgba(6,20,50,.14); border: 1px solid #e3e8f0; }
.mca-logo--ini { background: linear-gradient(135deg, #4fb7c2, #0094cc); color: #fff; }

.mca-person { display: flex; align-items: center; gap: 12px; color: #12223f !important; }
.mca-person .mca-avatar { width: 52px; height: 52px; font-size: 18px; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(6,20,50,.15); }
.mca-person b { display: block; font-size: 15px; }
.mca-person small { display: block; color: #5b6577; font-size: 13px; }
.mca-person:hover b { color: #0077a3; }

.mca-alliance {
	display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; padding: 34px;
	border-radius: 18px; color: #fff; background: linear-gradient(120deg, #0b2447 0%, #12407a 60%, #0094cc 130%);
	box-shadow: 0 14px 40px rgba(6,20,50,.18);
}
.mca .mca-alliance h2 { color: #fff; }
.mca .mca-alliance h2 em { color: #ffcc00 !important; }
.mca .mca-alliance .mca-kicker { color: #ffcc00 !important; }
.mca-alliance p { color: rgba(255,255,255,.9); line-height: 1.6; margin: 10px 0 16px; }
.mca-alliance .mca-tags--soft li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.mca-alliance__cta { display: grid; gap: 12px; }
.mca .mca-alliance__cta a.mca-btn { width: 100% !important; height: 54px !important; font-size: 16px !important; }
.mca .mca-alliance__num {
	display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; margin: 0 !important;
	padding: 14px !important; border-radius: 10px !important; background: rgba(255,255,255,.12) !important;
	border: 1px solid rgba(255,255,255,.35) !important; color: #fff !important; font-weight: 800; font-size: 18px; letter-spacing: .02em;
}

.mca-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.mca-pcard { background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; padding: 26px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mca-pcard .mca-avatar { margin-bottom: 8px; box-shadow: 0 0 0 4px #fff, 0 8px 22px rgba(6,20,50,.16); }
.mca-pcard h3 { margin: 4px 0 0; font-size: 19px; }
.mca-pcard h3 a { color: #12223f !important; }
.mca-pcard small { color: #5b6577; }
.mca-pcard__btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.mca .mca-pcard__btns a.mca-btn { height: 42px !important; padding: 0 16px !important; font-size: 14px !important; }

.mca-alliance-mini { margin-top: 18px; padding: 16px; border-radius: 12px; background: #fff8d6; border: 1px solid #ffe580; display: grid; gap: 4px; font-size: 14px; }
.mca-alliance-mini b { font-size: 15px; }
.mca-alliance-mini a { color: #12223f !important; font-weight: 800; margin-top: 4px; }

@media (max-width: 991.98px) {
	.mca-alliance { grid-template-columns: 1fr; padding: 26px 22px; }
}
@media (max-width: 767.98px) {
	.mca-logo--xl { width: 150px; height: 118px; }
	.mca-logo--lg { width: 150px; height: 118px; }
}

/* ---------- Contacto ---------- */
.mca-contact-page { padding-top: 0; margin-top: -48px; position: relative; z-index: 3; grid-template-columns: 1.5fr 1fr; }
.mca-box--float { box-shadow: 0 14px 40px rgba(6,20,50,.16); border: 0; padding: 32px; }
.mca-note { color: #5b6577; margin: 10px 0 20px; }
.mca-form--2 { grid-template-columns: 1fr 1fr; gap: 14px; }
.mca-form__full { grid-column: 1 / -1; }
.mca-privacy { margin: 0; font-size: 13px; color: #5b6577; }
.mca .mca-form--2 button.mca-btn { height: 52px; font-size: 16px; }
.mca-side { display: grid; gap: 22px; }
.mca-hours { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 12px; background: #f5f7fb; font-size: 14px; }
.mca-hours .mca-i { width: 24px; height: 24px; color: #0094cc; }
.mca-hours b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5b6577; }
.mca-agent-mini { display: flex; align-items: center; gap: 16px; color: #12223f !important; transition: border-color .15s ease; }
.mca-agent-mini:hover { border-color: #0094cc; }
.mca-agent-mini .mca-avatar { width: 72px; height: 72px; font-size: 24px; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(6,20,50,.18); }
.mca-agent-mini small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #0094cc; }
.mca-agent-mini b { display: block; font-size: 18px; }
.mca-agent-mini em { display: block; font-style: normal; color: #5b6577 !important; font-size: 14px; }
@media (max-width: 991.98px) { .mca-contact-page { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) {
	.mca-contact-page { margin-top: -40px; }
	.mca-box--float { padding: 22px 18px; }
	.mca-form--2 { grid-template-columns: 1fr; }
}

/* ---------- Calculadora hipotecaria ---------- */
.mch-main { padding-top: 0; margin-top: -48px; position: relative; z-index: 3; display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.mch-field { display: grid; gap: 8px; margin: 18px 0 0; }
.mch-field label, .mch-row label { font-size: 14px; font-weight: 600; color: #3b4558; }
.mch-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mch-row output { font-weight: 800; color: #12223f; font-size: 16px; white-space: nowrap; }
.mch-sep { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e3e8f0; }
.mch input[type=range] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: 0; margin: 6px 0; border: 0; padding: 0;
	background: linear-gradient(90deg, #0094cc var(--p, 50%), #e3e8f0 var(--p, 50%));
}
.mch input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #0094cc; box-shadow: 0 2px 8px rgba(6,20,50,.25); cursor: pointer; }
.mch input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #0094cc; box-shadow: 0 2px 8px rgba(6,20,50,.25); cursor: pointer; }
.mch-money { display: flex; border: 1px solid #dfe4ec; border-radius: 10px; overflow: hidden; background: #f8fafc; }
.mch-money span { display: grid; place-items: center; padding: 0 14px; font-weight: 700; color: #5b6577; border-right: 1px solid #dfe4ec; background: #eef2f7; }
.mch-money input { flex: 1; border: 0; height: 48px; padding: 0 14px; font-size: 17px; font-weight: 700; color: #12223f; background: transparent; outline: 0; min-width: 0; }
.mch-plazos { flex-wrap: wrap; overflow: visible; }
.mch-switch { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px; border-radius: 12px; background: #f5f7fb; cursor: pointer; position: relative; }
.mch-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mch-switch__ui { flex: 0 0 auto; width: 44px; height: 26px; border-radius: 20px; background: #c9d1dd; position: relative; transition: background .2s; }
.mch-switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .2s; }
.mch-switch input:checked + .mch-switch__ui { background: #0094cc; }
.mch-switch input:checked + .mch-switch__ui::after { transform: translateX(18px); }
.mch-switch input:focus-visible + .mch-switch__ui { outline: 3px solid rgba(0,148,204,.4); outline-offset: 2px; }
.mch-switch b { display: block; font-size: 14px; }
.mch-switch small { color: #5b6577; font-size: 12px; }

.mch-result {
	position: sticky; top: 110px; border-radius: 18px; padding: 28px; color: #fff;
	background: linear-gradient(150deg, #0b2447 0%, #12407a 70%, #0b5d8a 120%); box-shadow: 0 14px 40px rgba(6,20,50,.22);
}
.mca .mch-result .mca-kicker { color: #ffcc00 !important; }
.mch-cuota { font-size: clamp(38px, 5vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-top: 4px; }
.mch-conv { min-height: 22px; margin-top: 6px; color: rgba(255,255,255,.85); font-weight: 600; }
.mch-curs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.mca .mch-curs button { border: 1px solid rgba(255,255,255,.3) !important; background: rgba(255,255,255,.08) !important; color: #fff !important; border-radius: 20px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.mca .mch-curs button.is-on { background: #ffcc00 !important; border-color: #ffcc00 !important; color: #12223f !important; }
.mch-stats { margin: 0 0 20px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.mch-stats > div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.mch-stats dt { font-weight: 500; color: rgba(255,255,255,.8); }
.mch-stats dd { margin: 0; font-weight: 800; }
.mca .mch-result button.mca-btn--block { height: 52px; font-size: 15px; }
.mca .mch-link { display: block; text-align: center; margin-top: 14px; color: #fff !important; font-weight: 700; }
.mca .mch-link:hover { color: #ffcc00 !important; }
.mch-rates { margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.7); text-align: center; }

.mch-legend { display: flex; gap: 16px; font-size: 13px; font-weight: 600; }
.mch-l::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mch-l--cap::before { background: #0094cc; }
.mch-l--int::before { background: #ffcc00; }
.mch-chart { display: grid; gap: 14px; }
.mch-bar { display: grid; grid-template-columns: 64px 1fr 150px; gap: 14px; align-items: center; }
.mch-bar__y { font-size: 13px; font-weight: 700; color: #5b6577; }
.mch-bar__t { display: grid; gap: 4px; }
.mch-bar__t i { display: block; height: 10px; border-radius: 6px; min-width: 3px; }
.mch-bar__c { background: #0094cc; }
.mch-bar__i { background: #ffcc00; }
.mch-bar__v { font-size: 13px; font-weight: 700; text-align: right; line-height: 1.25; }
.mch-bar__v small { display: block; font-weight: 600; color: #8a6d00; }

.mch-banks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mca .mch-bank { display: flex; gap: 14px; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 18px; color: #12223f !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.mca .mch-bank[hidden] { display: none; }
.mca .mch-bank:hover { border-color: #0094cc; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,20,50,.08); }
.mch-bank__ini { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eaf6fb; color: #0077a3; font-weight: 800; }
.mch-bank__body { display: grid; gap: 3px; align-content: start; }
.mch-bank__body small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0094cc; }
.mch-bank__body b { font-size: 16px; }
.mch-bank__body span { font-size: 13px; color: #5b6577; line-height: 1.45; }
.mch-bank__body em { font-style: normal; font-size: 13px; font-weight: 700; color: #0077a3; margin-top: 4px; }
.mch-disc { margin: 18px 0 0; font-size: 13px; color: #5b6577; }

@media (max-width: 991.98px) {
	.mch-main { grid-template-columns: 1fr; }
	.mch-result { position: static; }
	.mch-banks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
	.mch-main { margin-top: -40px; }
	.mch-banks { grid-template-columns: 1fr; }
	.mch-bar { grid-template-columns: 52px 1fr 110px; gap: 10px; }
	.mch-result { padding: 22px 18px; }
}

/* ---------- Calculadora v2: pasos, propiedades, bancos, solicitud ---------- */
.mch-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.mch-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 30px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; font-weight: 700; }
.mch-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ffcc00; color: #12223f; font-size: 12px; }
.mch-left { display: grid; gap: 22px; min-width: 0; }
.mch-left .mch-form { margin: 0; }
.mch-help { color: #5b6577; margin: 8px 0 12px; font-size: 14px; }
.mch-search { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe4ec; border-radius: 12px; padding: 0 14px; background: #f8fafc; }
.mch-search .mca-i { color: #5b6577; }
.mch-search input { flex: 1; border: 0 !important; background: transparent !important; height: 48px; font-size: 15px; outline: 0; color: #12223f; min-width: 0; box-shadow: none !important; }
.mch-search:focus-within { border-color: #0094cc; box-shadow: 0 0 0 3px rgba(0,148,204,.12); background: #fff; }
.mch-list { margin-top: 10px; max-height: 340px; overflow-y: auto; display: grid; gap: 6px; padding-right: 4px; overscroll-behavior: contain; }
.mca .mch-item {
	display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left;
	padding: 8px; border: 1px solid #e3e8f0 !important; border-radius: 12px; background: #fff !important; color: #12223f !important; cursor: pointer;
}
.mca .mch-item:hover, .mca .mch-item:focus-visible { border-color: #0094cc !important; background: #f3faff !important; outline: 0; }
.mch-item__img { display: block; width: 64px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #e6e9ef; }
.mch-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mch-item__txt { min-width: 0; }
.mch-item__txt b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mch-item__txt small { display: block; color: #5b6577; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mch-item em { font-style: normal; font-weight: 800; font-size: 13px; color: #12223f; white-space: nowrap; }
.mch-empty { color: #5b6577; padding: 14px; text-align: center; }
.mch-sel { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; margin-top: 10px; padding: 12px; border: 2px solid #0094cc; border-radius: 14px; background: #f3faff; }
.mch-sel[hidden], .mch-finder[hidden], .mch-note[hidden] { display: none; }
.mch-sel__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #e6e9ef; }
.mch-sel__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mch-sel__img.is-empty img { display: none; }
.mch-sel__txt { display: grid; gap: 2px; min-width: 0; }
.mch-sel__txt small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0094cc; }
.mch-sel__txt b { font-size: 16px; line-height: 1.3; }
.mch-sel__txt span { font-size: 13px; color: #5b6577; }
.mch-sel__txt em { font-style: normal; font-weight: 800; font-size: 17px; color: #12223f; }
.mch-sel__act { display: grid; gap: 8px; justify-items: end; }
.mca .mch-sel__act a { color: #0077a3 !important; font-weight: 700; font-size: 14px; }
.mca .mch-sel__act button { border: 1px solid #e3e8f0 !important; background: #fff !important; color: #12223f !important; border-radius: 8px; padding: 7px 12px; font-weight: 700; font-size: 13px; cursor: pointer; }
.mch-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff8d6; border: 1px solid #ffe580; font-size: 13px; color: #5c4a00; }

.mca .mch-bank { flex-direction: row; cursor: default; }
.mca .mch-bank:hover { transform: none; }
.mca .mch-bank.is-on { border: 2px solid #22c35e; background: #f2fcf6; }
.mch-bank__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; }
.mca .mch-bank__pick { border: 0 !important; background: #12223f !important; color: #fff !important; border-radius: 8px; padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.mca .mch-bank.is-on .mch-bank__pick { background: #22c35e !important; }
.mca .mch-bank__act a { color: #0077a3 !important; font-weight: 700; font-size: 13px; }

.mch-apply { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.mch-apply .mca-box--float { margin: 0; }
.mch-summary { position: sticky; top: 110px; }
.mch-sum { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid #e3e8f0; }
.mch-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e3e8f0; font-size: 14px; }
.mch-sum li span { color: #5b6577; flex: 0 0 auto; }
.mch-sum li b { text-align: right; }
.mca .mch-banklink { display: block; margin-top: 14px; font-weight: 700; color: #0077a3 !important; }
.mca .mch-banklink[hidden] { display: none; }
.mca .mch-result a.mca-btn--block { width: 100% !important; display: flex !important; height: 50px !important; }

@media (max-width: 991.98px) {
	.mch-apply { grid-template-columns: 1fr; }
	.mch-summary { position: static; }
}
@media (max-width: 767.98px) {
	.mch-sel { grid-template-columns: 90px 1fr; }
	.mch-sel__act { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
	.mca .mch-item { grid-template-columns: 56px 1fr; }
	.mch-item em { grid-column: 2; }
	.mch-steps li { font-size: 12px; }
}

