/* ==========================================================================
   Clínica Montequinto — Estilos base
   Tema: clinica-montequinto
   --------------------------------------------------------------------------
   Base de páginas internas y accesibilidad; la nueva identidad común
   y los estilos encapsulados de la Home están en el segundo bloque.
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
	--color-text: #263238;
	--color-muted: #607d8b;
	--color-bg: #ffffff;
	--color-primary: #00796b; /* Ajustar a la identidad de la clínica */
	--color-primary-dark: #004d40;
	--color-border: #e0e0e0;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--spacing: 1.5rem;
}

/* ---------- Reset mínimo ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	line-height: 1.65;
	color: var(--color-text);
	background-color: var(--color-bg);
}

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

p,
ul,
ol,
figure {
	margin: 0 0 var(--spacing);
}

ul,
ol {
	padding-left: 1.5rem;
}

a {
	color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	z-index: 9999;
	padding: 0.5rem 1rem;
	background-color: var(--color-primary-dark);
	color: #ffffff;
	text-decoration: none;
}

.skip-link:focus {
	top: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Cabecera ---------- */
.site-header {
	padding: var(--spacing) 1rem;
}

.site-branding {
	margin-bottom: 1rem;
}

.custom-logo {
	height: auto;
	max-height: 96px;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
}

.site-title a {
	color: var(--color-text);
	text-decoration: none;
}

.site-description {
	margin: 0.25rem 0 0;
	color: var(--color-muted);
}

/* ---------- Navegación principal ---------- */
.primary-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	text-decoration: none;
}

.menu-toggle {
	display: none;
	padding: 0.5rem 0.75rem;
	font: inherit;
	cursor: pointer;
}

/* ---------- Contenido ---------- */
.site-main {
	padding: var(--spacing) 1rem;
}

.entry-title {
	line-height: 1.2;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: var(--spacing);
	color: var(--color-muted);
	font-size: 0.9rem;
}

.post-thumbnail {
	margin: 0 0 var(--spacing);
}

.page-links {
	clear: both;
	margin: 0 0 var(--spacing);
}

/* ---------- Pie de página ---------- */
.site-footer {
	padding: var(--spacing) 1rem;
	border-top: 1px solid var(--color-border);
}

.site-info .copyright {
	margin: 0 0 0.75rem;
	color: var(--color-muted);
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Responsive: menú colapsable en móviles ---------- */
@media (max-width: 767px) {
	.menu-toggle {
		display: inline-block;
	}

	.primary-navigation ul {
		display: none;
		flex-direction: column;
		gap: 0.5rem;
	}

	.primary-navigation ul.toggled {
		display: flex;
	}
}

/* ==========================================================================
   Identidad visual: elementos comunes cm-* y Home encapsulada en .cm-home.
   Las reglas .site-main / .entry-* anteriores se conservan para páginas internas.
   ========================================================================== */
:root {
	--cm-blue: #1267a5;
	--cm-blue-dark: #0b3556;
	--cm-ink: #17364b;
	--cm-muted: #617484;
	--cm-pale: #f3f7fa;
	--cm-line: #e2eaf0;
	--cm-radius: 16px;
}
[hidden] { display: none !important; }
html { scroll-padding-top: 170px; }
.cm-container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.cm-icon { width: 24px; height: 24px; flex: 0 0 24px; vertical-align: middle; }
.cm-header, .cm-footer, .cm-home { color: var(--cm-ink); }
.cm-header *, .cm-footer *, .cm-home * { min-width: 0; }
.cm-header a, .cm-footer a, .cm-home a { text-decoration: none; }
.cm-header address, .cm-footer address { font-style: normal; }
.cm-header button, .cm-home button { font: inherit; cursor: pointer; }
.cm-header :focus-visible, .cm-footer :focus-visible, .cm-home :focus-visible {
	outline: 3px solid var(--cm-blue); outline-offset: 4px;
}
.cm-button {
	display: inline-flex; justify-content: center; align-items: center; gap: 10px;
	min-height: 50px; padding: 14px 23px; border: 1px solid transparent;
	border-radius: 8px; font-size: 12px; font-weight: 750; line-height: 1.35;
	letter-spacing: .07em; text-align: center; transition: background-color .2s, border-color .2s;
}
.cm-button-primary { color: #fff; background: var(--cm-blue); }
.cm-button-primary:hover { color: #fff; background: var(--cm-blue-dark); }
.cm-button-outline { color: var(--cm-blue-dark); border-color: #a9c1d2; background: #ffffffdb; }
.cm-button-outline:hover { background: #eaf2f8; border-color: var(--cm-blue); }
.cm-button-pending { opacity: .65; cursor: default; }
.cm-button-group { display: flex; flex-wrap: wrap; gap: 14px; }
.cm-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--cm-blue); font-size: 14px; font-weight: 650; min-height: 44px; }
.cm-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.cm-pending, .cm-link-pending { color: var(--cm-muted); font-size: 13px; }
.cm-link-pending { cursor: default; }
.skip-link { clip: auto; width: auto; height: auto; }
.skip-link:focus { position: fixed; z-index: 200; }

/* Cabecera común: dos niveles, menú de WordPress y respaldo sin JavaScript. */
.cm-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 15px #183a5010; }
.admin-bar .cm-header { top: 32px; }
.cm-header-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 102px; padding-block: 16px; }
.cm-brand { flex: 0 1 285px; }
.cm-brand-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--cm-blue-dark); }
.cm-brand-symbol { display: block; width: 76px; height: auto; flex: 0 0 76px; object-fit: contain; }
.cm-wordmark { display: inline-flex; flex-direction: column; color: var(--cm-blue-dark); line-height: 1.15; }
.cm-wordmark > span { font-size: 12px; letter-spacing: .29em; margin-bottom: 4px; }
.cm-wordmark strong { font-size: 23px; font-weight: 750; letter-spacing: .015em; }
.cm-wordmark small { margin-top: 7px; font-size: 10px; color: var(--cm-muted); }
.cm-brand .custom-logo, .cm-footer .custom-logo { display: block; width: auto; max-width: 240px; max-height: 70px; object-fit: contain; }
.cm-header-detail { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.5; }
.cm-header-detail > .cm-icon { color: var(--cm-blue); width: 21px; flex-basis: 21px; margin-top: 4px; }
.cm-detail-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; color: var(--cm-muted); margin-bottom: 3px; }
.cm-header-phones a { display: block; color: var(--cm-blue-dark); font-size: 15px; font-weight: 650; }
.cm-header-hours { max-width: 155px; }
.cm-header-bottom { border-top: 1px solid var(--cm-line); }
.cm-navigation { position: relative; }
.cm-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 0 34px; list-style: none; margin: 0; padding: 0; }
.cm-menu > li { position: relative; }
.cm-menu > li > a, .cm-menu > li > span { display: block; padding-block: 16px; font-size: 13px; font-weight: 600; color: var(--cm-ink); }
.cm-menu > li > a:hover, .cm-menu .current-menu-item > a { color: var(--cm-blue); }
.cm-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 2; min-width: 220px; padding: 10px; margin: 0; list-style: none; background: #fff; border: 1px solid var(--cm-line); border-radius: 8px; box-shadow: 0 10px 25px #17364b12; visibility: hidden; opacity: 0; }
.cm-menu li:hover > .sub-menu, .cm-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.cm-menu .sub-menu a { display: block; padding: 10px; color: var(--cm-ink); }
.cm-menu .sub-menu .sub-menu { left: 100%; top: 0; }
.cm-menu-toggle { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 0; border: 0; background: none; color: var(--cm-blue-dark); }
.cm-menu-bars, .cm-menu-bars::before, .cm-menu-bars::after { display: block; width: 22px; height: 2px; background: currentColor; }
.cm-menu-bars { position: relative; }
.cm-menu-bars::before, .cm-menu-bars::after { position: absolute; content: ''; left: 0; }
.cm-menu-bars::before { top: -7px; }
.cm-menu-bars::after { top: 7px; }

/* Solo Home: tipografía y espacios amplios. */
.cm-home { overflow: clip; }
.cm-home h1, .cm-home h2, .cm-home h3 { margin: 0; color: var(--cm-blue-dark); letter-spacing: -.035em; line-height: 1.15; }
.cm-home h2 { font-size: clamp(30px, 3.1vw, 44px); font-weight: 650; }
.cm-home p { color: var(--cm-muted); }
.cm-home .cm-eyebrow { margin: 0 0 20px; color: var(--cm-blue); font-size: 11px; font-weight: 750; letter-spacing: .16em; line-height: 1.6; }
.cm-section { padding-block: 100px; }
.cm-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.cm-home .cm-section-title { font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.025em; }
.cm-home .cm-section-copy > p:not(.cm-eyebrow) { margin-block: 24px; max-width: 520px; }
.cm-home .cm-lead { font-size: 20px; color: var(--cm-blue-dark); }

/* Fotografías reales o placeholders explícitos, sin imágenes externas. */
.cm-home img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cm-image-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; padding: 24px; background: #edf3f7; color: #567184; text-align: center; }
.cm-image-placeholder > .cm-icon { width: 38px; height: 38px; flex: 0 0 38px; margin-bottom: 8px; opacity: .6; }
.cm-image-placeholder > span { font-size: 14px; font-weight: 600; }
.cm-image-placeholder > small { font-size: 11px; }

/* Carruseles: una fotografía visible, controles táctiles y respaldo sin JS. */
.cm-carousel { position: relative; isolation: isolate; }
.cm-carousel-track { position: relative; width: 100%; height: 100%; }
.cm-slide { position: absolute; inset: 0; }
.cm-slide.is-active { animation: cm-slide-enter .5s ease both; }
@keyframes cm-slide-enter { from { opacity: .25; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.cm-carousel-controls { position: absolute; z-index: 4; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 32px; background: #ffffffed; box-shadow: 0 3px 18px #183a5010; max-width: calc(100% - 24px); }
.cm-carousel-arrow { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--cm-line); border-radius: 50%; background: #fff; color: var(--cm-blue-dark); }
.cm-carousel-arrow:hover { background: var(--cm-pale); }
.cm-carousel-dots { display: flex; align-items: center; }
.cm-carousel-dot { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; border: 0; background: transparent; }
.cm-carousel-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a2b7c7; }
.cm-carousel-dot[aria-current="true"]::after { width: 9px; height: 9px; background: var(--cm-blue); }
.cm-carousel-pause { border: 0; background: none; color: var(--cm-blue-dark); font-size: 11px !important; min-height: 44px; min-width: 52px; padding: 4px; }
.cm-gallery-caption { position: absolute; top: 20px; left: 20px; margin: 0 !important; padding: 7px 12px; border-radius: 6px; background: #ffffffeb; color: var(--cm-blue-dark) !important; font-size: 12px; }

/* Hero: formato amplio y texto sobre un velo blanco a la izquierda. */
.cm-hero { position: relative; min-height: clamp(650px, 48vw, 860px); display: flex; align-items: center; background: #fff; isolation: isolate; }
/* El marco fotográfico conserva más altura útil que un recorte panorámico extremo. */
.cm-hero-carousel { position: absolute; inset: 0 0 0 32%; }
.cm-hero-carousel::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fffffffa 0%, #ffffffe0 12%, #ffffff00 45%); }
.cm-hero-carousel [data-photo="hero-clinica-01"] img { object-position: 72% 48%; }
.cm-hero-carousel [data-photo="hero-clinica-02"] img { object-position: 38% 66%; }
.cm-hero-carousel [data-photo="hero-clinica-03"] img { object-position: 38% 20%; }
.cm-hero-carousel .cm-image-placeholder { align-items: flex-end; padding-right: max(8%, 24px); text-align: right; }
.cm-hero-content { position: relative; z-index: 2; pointer-events: none; padding-block: 75px 120px; }
.cm-hero-copy { max-width: 610px; pointer-events: auto; }
.cm-home .cm-hero h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 750; letter-spacing: -.055em; overflow-wrap: anywhere; }
.cm-hero h1 > span { display: block; font-weight: 400; font-size: .78em; letter-spacing: .035em; margin-bottom: 8px; }
.cm-home .cm-hero-professional { color: var(--cm-blue-dark); font-size: clamp(17px, 1.8vw, 23px); margin: 24px 0 18px; }
.cm-home .cm-hero-description { font-size: 17px; line-height: 1.8; margin-bottom: 30px; max-width: 475px; color: #4b6475; }
.cm-hero .cm-carousel-controls { left: auto; right: max(5%, 24px); transform: none; }

/* Franja de confianza. */
.cm-trust { border-bottom: 1px solid var(--cm-line); background: #fff; }
.cm-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 30px; }
.cm-trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 16px; padding-inline: 20px; }
.cm-trust-grid > div + div { border-left: 1px solid var(--cm-line); }
.cm-trust .cm-icon { color: var(--cm-blue); width: 32px; height: 32px; flex-basis: 32px; }
.cm-trust p { margin: 0; font-size: 14px; }
.cm-trust strong { display: block; color: var(--cm-blue-dark); font-weight: 650; }
.cm-trust p > span { display: block; }

/* Servicios: 6 / 3 / 2 / 1 según el espacio disponible. */
.cm-services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cm-service-card { overflow: hidden; border: 1px solid var(--cm-line); border-radius: 12px; background: #fff; box-shadow: 0 4px 16px #17364b05; display: flex; flex-direction: column; }
.cm-service-image { aspect-ratio: 4 / 3; overflow: hidden; }
.cm-service-image .cm-image-placeholder { padding: 12px; gap: 3px; }
.cm-service-image .cm-image-placeholder > .cm-icon { width: 26px; height: 26px; flex-basis: 26px; margin-bottom: 4px; }
.cm-service-image .cm-image-placeholder > span { font-size: 11px; }
.cm-service-image .cm-image-placeholder > small { font-size: 10px; }
.cm-service-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 16px 15px; }
.cm-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--cm-pale); color: var(--cm-blue); margin-bottom: 16px; }
.cm-home .cm-service-card h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; }
.cm-home .cm-service-card p { font-size: 13px; line-height: 1.7; margin: 12px 0 16px; }
.cm-service-card .cm-text-link { margin-top: auto; font-size: 12px; }
.cm-service-card .cm-text-link .cm-icon { width: 18px; flex-basis: 18px; }

/* Ángela, clínica y reseñas. */
.cm-about { background: var(--cm-pale); }
.cm-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.cm-about-image { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; }
.cm-about-image img { object-fit: cover; object-position: 22% 50%; }
.cm-registration { display: flex; gap: 10px; align-items: center; color: var(--cm-blue) !important; font-size: 14px; }
.cm-editorial-placeholder { margin-block: 26px; padding: 20px; border: 1px dashed #b8cbd8; border-radius: 10px; }
.cm-editorial-placeholder p { margin: 0; font-size: 14px; }
.cm-clinic-layout { grid-template-columns: .85fr 1.15fr; }
.cm-clinic-carousel { aspect-ratio: 4 / 3; border-radius: var(--cm-radius); overflow: hidden; }
.cm-clinic-carousel [data-photo="clinica-recepcion"] img { object-position: 70% 50%; }
.cm-clinic-carousel [data-photo="clinica-gabinete"] img { object-position: 38% 60%; }
.cm-clinic-carousel [data-photo="clinica-fachada"] img { object-position: 36% 20%; }
.cm-clinic-carousel [data-photo="clinica-biomecanica"] img { object-position: 45% 55%; }
.cm-clinic-carousel [data-photo="clinica-despacho"] img { object-position: 50% 50%; }
.cm-clinic-carousel .cm-image-placeholder { padding-bottom: 90px; }
.cm-reviews { background: var(--cm-pale); text-align: center; }
.cm-reviews h2 { margin-bottom: 22px; }
.cm-home .cm-reviews-widget { width: 100%; min-width: 0; max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.cm-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; text-align: left; }
.cm-review-card { padding: 28px; background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius); }

/* Franja final: fondo fotográfico reservado y texto siempre legible. */
.cm-final-cta { position: relative; isolation: isolate; padding-block: 85px; background: #eaf2f8; }
.cm-cta-background { position: absolute; inset: 0; z-index: -1; }
.cm-cta-background::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #eaf2fffa, #eaf2ffdb 60%, #eaf2ff8c); }
.cm-cta-background .cm-image-placeholder { align-items: flex-end; justify-content: flex-end; padding: 20px 32px; }
.cm-cta-background .cm-image-placeholder > .cm-icon { display: none; }
.cm-cta-background .cm-image-placeholder > span, .cm-cta-background .cm-image-placeholder > small { position: relative; z-index: 1; }
.cm-cta-content { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding-bottom: 20px; }
.cm-home .cm-final-cta h2 { font-size: clamp(30px, 3.5vw, 48px); }
.cm-final-cta h2 > span { font-weight: 400; }

/* Footer común. */
.cm-footer { padding-top: 70px; background: #fff; }
.cm-footer-grid { display: grid; grid-template-columns: 1.15fr 1.25fr 1fr .8fr; gap: 40px; padding-bottom: 55px; font-size: 13px; color: var(--cm-muted); }
.cm-footer-title { font-size: 14px; color: var(--cm-blue-dark); font-weight: 700; margin: 0 0 20px; }
.cm-footer-brand .cm-brand-link { flex-wrap: wrap; }
.cm-contact-link { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--cm-muted); overflow-wrap: anywhere; }
.cm-contact-link .cm-icon { width: 18px; flex-basis: 18px; color: var(--cm-blue); }
.cm-footer address { margin-bottom: 12px; line-height: 1.9; }
.cm-footer .cm-pending { margin-bottom: 20px; }
.cm-social-pending { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; color: var(--cm-muted); }
.cm-social-pending > span { display: inline-flex; }
.cm-social-pending small { width: 100%; font-size: 11px; }
.cm-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 30px; border-top: 1px solid var(--cm-line); padding-block: 24px; font-size: 11px; color: var(--cm-muted); }
.cm-footer-bottom p { margin: 0; }
.cm-legal { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.cm-legal a, .cm-legal span { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; color: var(--cm-muted); }
.cm-footer-extra { padding-bottom: 20px; }

@media (max-width: 1199px) {
	.cm-header-top { gap: 18px; }
	.cm-header-hours { display: none; }
	.cm-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.cm-service-body { padding: 24px; }
	.cm-home .cm-service-card h3 { font-size: 20px; }
	.cm-home .cm-service-card p { font-size: 14px; }
	.cm-split { gap: 44px; }
	.cm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cm-cta-content { flex-direction: column; align-items: flex-start; gap: 30px; }
}
@media (max-width: 900px) {
	.cm-header-location { display: none; }
	.cm-menu { gap: 0 20px; }
	.cm-menu > li > a, .cm-menu > li > span { font-size: 12px; }
	.cm-trust-grid > div { gap: 10px; padding-inline: 12px; }
	.cm-trust p { font-size: 12px; }
	.cm-hero-copy { max-width: 540px; }
}
@media (max-width: 782px) {
	.admin-bar .cm-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .cm-header { top: 0; }
}
@media (max-width: 767px) {
	html { scroll-padding-top: 138px; }
	.cm-container { width: calc(100% - 40px); }
	.cm-header-top { min-height: 76px; padding-block: 12px; gap: 12px; }
	.cm-brand { flex-basis: auto; }
	.cm-brand-link { gap: 8px; }
	.cm-brand-symbol { width: 48px; flex-basis: 48px; }
	.cm-brand .custom-logo { max-width: 190px; max-height: 52px; }
	.cm-wordmark strong { font-size: 18px; }
	.cm-wordmark > span { font-size: 9px; }
	.cm-wordmark small { font-size: 8px; margin-top: 5px; }
	.cm-header-phones { display: none; }
	.cm-header-appointment { min-height: 44px; padding: 12px 14px; font-size: 10px; white-space: nowrap; }
	.cm-header-bottom { position: relative; }
	.cm-navigation .cm-menu { gap: 0; flex-direction: column; align-items: stretch; padding-block: 8px; }
	.cm-navigation .cm-menu > li > a, .cm-navigation .cm-menu > li > span { padding: 12px; font-size: 14px; }
	.cm-navigation { min-height: 48px; }
	.cm-js .cm-navigation > .cm-menu { display: none; }
	.cm-navigation.cm-menu-ready .cm-menu { display: none; }
	.cm-navigation.cm-menu-ready .cm-menu.is-open { display: flex; max-height: min(65vh, 500px); overflow-y: auto; }
	.cm-navigation.cm-menu-ready > .cm-menu.is-open { position: absolute; top: 100%; left: -20px; right: -20px; padding: 10px 20px; background: #fff; box-shadow: 0 14px 20px #17364b15; border-top: 1px solid var(--cm-line); }
	.cm-menu .sub-menu { position: static; visibility: visible; opacity: 1; border: 0; box-shadow: none; min-width: 0; padding: 0 0 0 16px; }
	.cm-menu .sub-menu .sub-menu { position: static; }
	.cm-menu-toggle { width: 100%; }
	.cm-section { padding-block: 64px; }
	.cm-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 28px; }
	.cm-home .cm-eyebrow { font-size: 10px; letter-spacing: .12em; }
	.cm-hero { display: block; min-height: 770px; }
	.cm-hero-carousel { inset: auto 0 0; height: 360px; }
	.cm-hero-carousel [data-photo="hero-clinica-01"] img { object-position: 85% 48%; }
	.cm-hero-carousel::after { background: linear-gradient(180deg, #f3f7fa 0%, #f3f7fa00 32%); }
	.cm-hero-carousel .cm-image-placeholder { align-items: center; justify-content: center; padding: 25px 20px 60px; text-align: center; }
	.cm-hero-content { padding-block: 45px 380px; background: linear-gradient(180deg, #fff, #f3f7fa 65%, transparent 65%); }
	.cm-hero-copy { max-width: 100%; }
	.cm-home .cm-hero h1 { font-size: clamp(34px, 8.6vw, 58px); }
	.cm-home .cm-hero-professional { font-size: 18px; margin-top: 20px; }
	.cm-home .cm-hero-description { font-size: 15px; }
	.cm-hero .cm-carousel-controls { left: 50%; right: auto; transform: translateX(-50%); bottom: 14px; }
	.cm-trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
	.cm-trust-grid > div { justify-content: flex-start; padding: 20px 4px; gap: 18px; }
	.cm-trust-grid > div + div { border-left: 0; border-top: 1px solid var(--cm-line); }
	.cm-trust p { font-size: 14px; }
	.cm-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.cm-service-body { padding: 20px 16px; }
	.cm-home .cm-service-card h3 { font-size: 18px; }
	.cm-split, .cm-clinic-layout { grid-template-columns: 1fr; gap: 35px; }
	.cm-about-image { aspect-ratio: 4 / 3; }
	.cm-clinic-carousel { aspect-ratio: 4 / 3; }
	.cm-reviews-grid { grid-template-columns: 1fr; }
	.cm-final-cta { padding-block: 60px; }
	.cm-final-cta .cm-button-group { width: 100%; }
	.cm-footer { padding-top: 50px; }
	.cm-footer-grid { gap: 35px 24px; padding-bottom: 35px; }
	.cm-footer-bottom { align-items: flex-start; }
	.cm-carousel-controls { gap: 4px; padding: 5px; }
	.cm-carousel-dot { width: 25px; }
	.cm-desktop-break { display: none; }
}
@media (max-width: 420px) {
	.cm-container { width: calc(100% - 32px); }
	.cm-brand .custom-logo { max-width: 165px; }
	.cm-brand-link { gap: 6px; }
	.cm-brand-symbol { width: 38px; flex-basis: 38px; }
	.cm-wordmark strong { font-size: 16px; }
	.cm-wordmark small { max-width: 160px; line-height: 1.5; }
	.cm-button-group { gap: 10px; }
	.cm-button-group .cm-button { flex: 1 1 145px; padding-inline: 12px; font-size: 11px; }
	.cm-services-grid, .cm-footer-grid { grid-template-columns: 1fr; }
	.cm-service-image { aspect-ratio: 16 / 9; }
	.cm-navigation.cm-menu-ready > .cm-menu.is-open { left: -16px; right: -16px; }
	.cm-carousel-arrow { width: 40px; height: 44px; flex-basis: 40px; }
	.cm-carousel-dot { width: 24px; }
	.cm-carousel-pause { min-width: 48px; font-size: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.cm-slide.is-active { animation: none; }
	.cm-button { transition: none; }
}

/* Primera revisión visual: exclusivamente cabecera, navegación y Hero.
   Las variables anteriores siguen vigentes en las secciones inferiores. */
:root {
	--cm-primary: #104ca0;
	--cm-primary-dark: #0b3574;
	--cm-accent: #279bcb;
}
.cm-header,
.cm-home .cm-hero {
	--cm-blue: var(--cm-primary);
	--cm-blue-dark: var(--cm-primary-dark);
}
.cm-header .cm-header-top {
	display: grid;
	grid-template-columns: minmax(375px, 1.65fr) minmax(112px, .65fr) minmax(190px, 1.1fr) minmax(190px, .6fr) auto;
	gap: 14px;
	min-height: 100px;
	padding-block: 10px;
}
.cm-header .cm-brand { justify-self: start; }
.cm-header .cm-brand-link { gap: 9px; align-items: center; }
.cm-header .cm-brand-symbol { width: 160px; flex-basis: 160px; }
.cm-header .cm-wordmark { color: var(--cm-primary-dark); }
.cm-header .cm-wordmark > span { font-size: 12px; letter-spacing: .22em; margin-bottom: 3px; }
.cm-header .cm-wordmark strong { font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.cm-header .cm-wordmark small { font-size: 10px; line-height: 1.5; margin-top: 5px; }
.cm-header .cm-header-detail { display: flex; color: var(--cm-ink); gap: 8px; font-size: 12px; }
.cm-header .cm-header-detail > .cm-icon { color: var(--cm-accent); flex-basis: 20px; width: 20px; }
.cm-header .cm-header-phones a { font-size: 14px; font-weight: 700; }
.cm-header .cm-header-location:hover address { color: var(--cm-primary); }
.cm-header .cm-header-hours { display: flex; max-width: none; }
.cm-header .cm-header-hours .cm-opening-hours-compact { display: block; line-height: 1.25; }
.cm-header-hours-day, .cm-header-hours-time { display: block; }
.cm-header-hours-time { white-space: nowrap; }
.cm-header .cm-location-short { display: none; }
.cm-header .cm-header-appointment { justify-self: end; padding-inline: 21px; min-height: 48px; }
.cm-header .cm-header-appointment .cm-icon { width: 18px; height: 18px; flex-basis: 18px; }
.cm-header .cm-header-bottom { display: block; background: #fff; border-top-color: var(--cm-line); }
.cm-header .cm-navigation { display: block; }
.cm-header .cm-menu { gap: 0 clamp(20px, 3vw, 42px); }
.cm-header .cm-menu > li > a,
.cm-header .cm-menu > li > span {
	position: relative;
	min-height: 44px;
	padding-block: 11px;
	font-size: 13px;
	color: var(--cm-primary-dark);
}
.cm-header .cm-menu > li > a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--cm-primary);
	opacity: 0;
}
.cm-header .cm-menu > li > a:hover,
.cm-header .cm-menu > li > a:focus-visible,
.cm-header .cm-menu .current-menu-item > a { color: var(--cm-primary); }
.cm-header .cm-menu > li > a:hover::after,
.cm-header .cm-menu > li > a:focus-visible::after,
.cm-header .cm-menu > .current-menu-item > a::after { opacity: 1; }
.cm-header .cm-menu > li > .cm-link-pending { color: var(--cm-muted); }

.cm-home .cm-hero { min-height: clamp(560px, 42vw, 660px); }
.cm-home .cm-hero-content { padding-block: 52px 76px; }
.cm-home .cm-hero-copy { max-width: 590px; }
.cm-home .cm-hero .cm-eyebrow { font-size: 11px; letter-spacing: .13em; margin-bottom: 18px; }
.cm-home .cm-hero h1 { color: var(--cm-primary-dark); font-size: clamp(42px, 4.8vw, 68px); font-weight: 800; letter-spacing: -.05em; }
.cm-home .cm-hero h1 > span { font-size: .66em; font-weight: 400; letter-spacing: .04em; margin-bottom: 7px; }
.cm-home .cm-hero-professional { font-size: clamp(18px, 1.6vw, 23px); margin-block: 22px 18px; }
.cm-home .cm-hero-description { font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.cm-home .cm-hero .cm-button { min-height: 52px; min-width: 176px; }
.cm-home .cm-hero .cm-button-outline { color: var(--cm-primary); border-color: var(--cm-primary); background: #fffffff0; }
.cm-home .cm-hero .cm-button-outline:hover { background: #edf4fc; border-color: var(--cm-primary-dark); }

@media (min-width: 768px) {
	/* El menú de escritorio no depende del estado del botón móvil. */
	.cm-header .cm-navigation > .cm-menu { display: flex; align-items: center; justify-content: center; }
	.cm-header .cm-menu-toggle { display: none; }
}
@media (min-width: 768px) and (max-width: 1100px) {
	.cm-header .cm-header-top {
		grid-template-columns: minmax(115px, 1fr) minmax(190px, 1.4fr) minmax(max-content, 1fr);
		grid-template-areas: 'identity identity appointment' 'phones location hours';
		gap: 8px 20px;
		padding-block: 10px;
	}
	.cm-header .cm-brand { grid-area: identity; }
	.cm-header .cm-header-appointment { grid-area: appointment; }
	.cm-header .cm-header-phones { grid-area: phones; }
	.cm-header .cm-header-location { grid-area: location; }
	.cm-header .cm-header-hours { grid-area: hours; }
	.cm-header .cm-header-hours .cm-opening-hours-compact { line-height: 1.125; }
	.cm-header .cm-brand-symbol { width: 116px; flex-basis: 116px; }
	.cm-header .cm-menu { gap: 0 22px; }
	.cm-header .cm-menu > li > a, .cm-header .cm-menu > li > span { font-size: 12px; }
}
@media (max-width: 767px) {
	.cm-header .cm-header-top {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: 'identity appointment' 'phones location' 'hours hours';
		gap: 4px 10px;
		min-height: 0;
		padding-block: 10px 6px;
	}
	.cm-header .cm-brand { grid-area: identity; }
	.cm-header .cm-brand-symbol { width: 76px; flex-basis: 76px; }
	.cm-header .cm-brand-link { gap: 7px; }
	.cm-header .cm-wordmark > span { font-size: 9px; margin-bottom: 2px; }
	.cm-header .cm-wordmark strong { font-size: clamp(16px, 4.2vw, 20px); }
	.cm-header .cm-wordmark small { font-size: 9px; line-height: 1.4; margin-top: 4px; }
	.cm-header .cm-header-appointment { grid-area: appointment; min-height: 44px; padding: 12px 13px; font-size: 10px; }
	.cm-header .cm-header-appointment .cm-icon { display: none; }
	.cm-header .cm-header-phones { grid-area: phones; align-items: center; }
	.cm-header .cm-header-phones > .cm-icon,
	.cm-header .cm-header-phones .cm-detail-label { display: none; }
	.cm-header .cm-header-phones > div { display: flex; flex-wrap: wrap; gap: 0 12px; }
	.cm-header .cm-header-phones a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
	.cm-header .cm-header-location { grid-area: location; align-items: center; justify-self: end; min-height: 44px; gap: 5px; font-size: 11px; }
	.cm-header .cm-header-location address,
	.cm-header .cm-header-location .cm-detail-label { display: none; }
	.cm-header .cm-location-short { display: inline; }
	.cm-header .cm-header-location > .cm-icon { margin-top: 0; width: 18px; flex-basis: 18px; }
	.cm-header .cm-header-hours { grid-area: hours; align-items: center; gap: 6px; font-size: 11px; }
	.cm-header .cm-header-hours .cm-opening-hours-compact { display: grid; grid-template-columns: max-content max-content; column-gap: 8px; line-height: 1.5; }
	.cm-header .cm-header-hours .cm-detail-label { display: none; }
	.cm-header .cm-header-hours > .cm-icon { width: 16px; height: 16px; flex-basis: 16px; margin-top: 0; }
	.cm-header .cm-navigation { min-height: 44px; }
	.cm-header .cm-menu-toggle { min-height: 44px; padding-block: 8px; font-size: 13px; }
	.cm-header .cm-menu > li > a, .cm-header .cm-menu > li > span { padding: 12px; font-size: 14px; }
	.cm-header .cm-menu > li > a::after { left: 12px; right: auto; width: 28px; }
	.cm-home .cm-hero { min-height: 0; }
	.cm-home .cm-hero-content { padding-block: 32px 320px; background: none; }
	.cm-home .cm-hero-carousel { height: 300px; }
	.cm-home .cm-hero-carousel::after { background: linear-gradient(180deg, #fff 0%, #ffffff00 32%); }
	.cm-home .cm-hero-copy { max-width: 100%; }
	.cm-home .cm-hero .cm-eyebrow { font-size: 10px; }
	.cm-home .cm-hero h1 { font-size: clamp(34px, 8.6vw, 58px); }
	.cm-home .cm-hero-professional { font-size: 18px; margin-block: 20px 16px; }
	.cm-home .cm-hero-description { font-size: 15px; margin-bottom: 24px; }
	.cm-home .cm-hero .cm-button { min-width: 0; flex: 1 1 145px; }
	.cm-home .cm-hero .cm-button.cm-button-whatsapp { flex-basis: 100%; }
}
@media (max-width: 420px) {
	.cm-header .cm-brand-symbol { width: 64px; flex-basis: 64px; }
	.cm-header .cm-brand-link { gap: 6px; }
	.cm-header .cm-header-top { column-gap: 8px; }
	.cm-header .cm-header-phones > div { gap: 0 9px; }
	.cm-header .cm-header-phones a { font-size: 11px; }
	.cm-home .cm-hero .cm-button { flex-basis: 125px; padding-inline: 10px; font-size: 10.5px; gap: 8px; }
	.cm-home .cm-hero .cm-button .cm-icon { width: 20px; flex-basis: 20px; }
}

@media (max-width: 359px) {
	.cm-header .cm-brand-symbol { width: 50px; flex-basis: 50px; }
}

/* Sección nueva de ubicación; sin cambios de diseño en las secciones existentes. */
.cm-home .cm-location {
	--cm-blue: var(--cm-primary);
	--cm-blue-dark: var(--cm-primary-dark);
	background: #fff;
}
.cm-location-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 64px; }
.cm-home .cm-location h2 { font-size: clamp(28px, 3vw, 40px); }
.cm-home .cm-location-name { margin-block: 26px 18px; }
.cm-location-name strong { color: var(--cm-primary-dark); }
.cm-location address { font-style: normal; color: var(--cm-muted); line-height: 1.9; margin-bottom: 18px; }
.cm-location-phones { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cm-location-phones a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cm-primary); font-weight: 650; }
.cm-home .cm-location-hours { display: flex; align-items: center; gap: 8px; margin-block: 18px 26px; }
.cm-location-map { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; border: 1px dashed #b8cbd8; border-radius: var(--cm-radius); background: var(--cm-pale); text-align: center; color: var(--cm-muted); }
.cm-location-map > .cm-icon { width: 40px; height: 40px; flex-basis: 40px; color: var(--cm-accent); }
.cm-home .cm-location-map p { margin: 18px 0 8px; }
.cm-location-map small { font-size: 12px; }
@media (max-width: 767px) {
	.cm-location-grid { grid-template-columns: 1fr; gap: 32px; }
	.cm-location-map { min-height: 260px; padding: 24px; }
}

/* Acciones WhatsApp: verde reservado exclusivamente a esta acción. */
.cm-button.cm-button-whatsapp,
.cm-header .cm-button.cm-button-whatsapp,
.cm-home .cm-hero .cm-button.cm-button-whatsapp {
	background: #25D366; border-color: #25D366; color: #fff;
}
.cm-button.cm-button-whatsapp:hover,
.cm-header .cm-button.cm-button-whatsapp:hover,
.cm-home .cm-hero .cm-button.cm-button-whatsapp:hover {
	background: #1EBE5D; border-color: #1EBE5D; color: #fff;
}
.cm-button-whatsapp .cm-icon { color: #fff; }

/* Catálogo editorial: una pieza principal y cinco tratamientos complementarios. */
.cm-services-grid.cm-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cm-treatment-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 350px; overflow: hidden; border-radius: 16px; background: #104CA0; }
.cm-treatment-visual { position: absolute; inset: 0; z-index: -2; }
.cm-treatment-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cm-treatment-quiropodia .cm-treatment-visual img { object-position: 42% 40%; }
.cm-treatment-cirugia-del-pie .cm-treatment-visual img { object-position: 47% 52%; }
.cm-treatment-unas-encarnadas .cm-treatment-visual img { object-position: 78% 54%; }
.cm-treatment-papilomas .cm-treatment-visual img { object-position: 60% 48%; }
.cm-treatment-podologia-deportiva .cm-treatment-visual img { object-position: 100% 65%; }
.cm-treatment-podologia-infantil .cm-treatment-visual img { object-position: 48% 42%; }
.cm-treatment-unas-encarnadas .cm-treatment-visual img,
.cm-treatment-papilomas .cm-treatment-visual img { position: absolute; top: -55%; height: 145%; }
@media (min-width: 1024px) {
	/* El formato panorámico del bento conserva la escena infantil completa. */
	.cm-bento .cm-treatment-podologia-infantil .cm-treatment-visual img { object-fit: contain; object-position: 100% 50%; }
}
.cm-treatment-visual .cm-image-placeholder { background: radial-gradient(ellipse at 80% 15%, #b0d6e7, #52799a 70%); color: #fff; justify-content: flex-start; padding-top: 30px; }
.cm-treatment-visual .cm-image-placeholder > span { display: none; }
.cm-treatment-visual .cm-image-placeholder small { font-size: 11px; }
.cm-treatment-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #09244800 0%, #092448c9 45%, #092448fa 100%); transition: opacity .3s; }
.cm-treatment-content { width: 100%; padding: 28px; color: #fff; }
.cm-treatment-content > .cm-icon { width: 30px; height: 30px; margin-bottom: 12px; }
.cm-home .cm-treatment-card h3, .cm-page .cm-treatment-card h3 { color: #fff; font-size: 22px; text-transform: uppercase; line-height: 1.2; }
.cm-home .cm-treatment-card p, .cm-page .cm-treatment-card p { color: #fff; font-size: 14px; line-height: 1.65; margin: 14px 0; }
.cm-treatment-content a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .06em; }
.cm-treatment-content a .cm-icon { width: 20px; flex-basis: 20px; transition: transform .25s; }
.cm-treatment-card:hover .cm-treatment-visual img { transform: scale(1.035); }
.cm-treatment-card:hover::after { opacity: .92; }
.cm-treatment-card:hover a .cm-icon { transform: translateX(3px); }
.cm-treatment-card:focus-within { outline: 3px solid #104CA0; outline-offset: 4px; }
.cm-bento .cm-treatment-cirugia-del-pie { grid-column: span 2; grid-row: span 2; min-height: 720px; }
.cm-bento .cm-treatment-cirugia-del-pie h3 { font-size: clamp(30px, 3vw, 42px); }
.cm-bento .cm-treatment-podologia-infantil { grid-column: span 4; min-height: 280px; }
.cm-bento .cm-treatment-podologia-infantil .cm-treatment-content { max-width: 680px; }
.cm-featured-label { display: block; width: fit-content; padding: 6px 10px; border: 1px solid #ffffff8c; border-radius: 5px; margin-bottom: 20px; font-size: 10px; letter-spacing: .12em; }
.cm-services-more { margin-top: 36px; text-align: center; }
.cm-services-more p { margin-bottom: 14px; }
.cm-google-rating { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cm-stars { display: inline-flex; gap: 3px; }
.cm-stars .cm-icon, .cm-trust .cm-stars .cm-icon { width: 18px; height: 18px; flex-basis: 18px; color: #a96a00; fill: currentColor; }
.cm-google-rating strong { color: #0B3574; }
.cm-google-rating a { display: inline-flex; align-items: center; min-height: 44px; color: #104CA0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.cm-home .cm-home-trust-rating .cm-stars .cm-icon { color: #D49A16; fill: #D49A16; }
.cm-home-trust-rating a { gap: 5px; text-align: center; }
.cm-home-trust-rating .cm-review-arrow { flex: 0 0 14px; }
.cm-reviews-link { margin-top: 20px; }
.cm-home .cm-location-label { margin-top: 20px; font-size: 12px; letter-spacing: .08em; }
.cm-location-photo { margin: 0; overflow: hidden; border-radius: 16px; background: #f3f7fa; }
.cm-home .cm-location-photo img { height: auto; aspect-ratio: 4 / 3; }
.cm-location-photo figcaption { padding: 16px 20px; }
.cm-location-photo a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #104CA0; }
.cm-gallery-caption { text-transform: uppercase; }
.cm-footer-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; }
.cm-footer-menu a { display: inline-flex; align-items: center; min-height: 44px; color: #104CA0; font-size: 13px; }

/* Páginas SEO y fichas: sin metadatos ni datos estructurados paralelos. */
.cm-page { --cm-blue: #104CA0; --cm-blue-dark: #0B3574; color: var(--cm-ink); padding-bottom: 60px; }
.cm-page * { min-width: 0; }
.cm-page a { color: #104CA0; text-underline-offset: 4px; }
.cm-page .cm-treatment-content a { color: #fff; }
.cm-page .cm-button { text-decoration: none; }
.cm-page :focus-visible { outline: 3px solid #104CA0; outline-offset: 4px; }
.cm-page h1, .cm-page h2, .cm-page h3 { color: #0B3574; line-height: 1.2; letter-spacing: -.025em; }
.cm-page h1 { font-size: clamp(32px, 4vw, 54px); margin: 0 0 28px; }
.cm-page h2 { font-size: clamp(25px, 3vw, 36px); margin: 0 0 24px; }
.cm-page h3 { font-size: 21px; margin: 0 0 12px; }
.cm-page p { color: #536879; }
.cm-page address { font-style: normal; margin-bottom: 20px; }
.cm-page-intro { padding-block: 70px 36px; }
.cm-page-intro > p:not(.cm-eyebrow) { max-width: 850px; font-size: 18px; }
.cm-page .cm-eyebrow { color: #104CA0; font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.cm-page-section { padding-block: 42px; }
.cm-page-callout { padding: 36px; background: #f3f7fa; border-radius: 16px; }
.cm-page-callout .cm-text-link { display: flex; width: fit-content; margin-top: 18px; }
.cm-page-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cm-page-photo { overflow: hidden; border-radius: 16px; }
.cm-page-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cm-professional-photo img { object-position: 35% 50%; }
.cm-page-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cm-page-photo-grid figure { margin: 0; }
.cm-page-photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.cm-page-photo-grid figcaption { padding-block: 12px; }
.cm-treatment-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cm-landing-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 30px 0; }
.cm-landing-services li { padding: 24px; background: #f3f7fa; border-radius: 12px; }
.cm-landing-services h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.cm-related-links { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; }
.cm-related-links a { display: inline-flex; align-items: center; min-height: 44px; }
.cm-faq details { border-bottom: 1px solid #dce6ee; padding-block: 12px; }
.cm-faq summary { min-height: 44px; padding: 10px 0; font-weight: 650; cursor: pointer; color: #0B3574; }
.cm-faq details p { margin: 14px 0; }
@media (max-width: 1023px) {
	.cm-services-grid.cm-bento, .cm-treatment-index, .cm-landing-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cm-bento .cm-treatment-cirugia-del-pie { grid-column: span 2; grid-row: auto; min-height: 420px; }
	.cm-bento .cm-treatment-podologia-infantil { grid-column: auto; min-height: 350px; }
	.cm-page-split { gap: 28px; }
}
@media (max-width: 767px) {
	.cm-services-grid.cm-bento, .cm-treatment-index, .cm-landing-services, .cm-page-split, .cm-page-photo-grid { grid-template-columns: 1fr; }
	.cm-bento .cm-treatment-cirugia-del-pie { grid-column: auto; min-height: 400px; }
	.cm-treatment-content { padding: 24px; }
	.cm-page-intro { padding-block: 42px 20px; }
	.cm-page-section { padding-block: 30px; }
	.cm-page-callout { padding: 26px 20px; }
	.cm-page .cm-button { max-width: 100%; }
	.cm-home .cm-final-cta .cm-button { max-width: 100%; }
	.cm-trust-grid > div { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.cm-treatment-visual img, .cm-treatment-card::after, .cm-treatment-content a .cm-icon { transition: none; }
	.cm-treatment-card:hover .cm-treatment-visual img, .cm-treatment-card:hover a .cm-icon { transform: none; }
}

/* Fase local SEO: ajustes limitados, sin alterar cabecera ni carruseles aprobados. */
.cm-home .cm-reviews { padding-block: 52px; }
.cm-home .cm-final-cta { padding-block: 64px; }
.cm-home .cm-final-cta .cm-cta-content { padding-bottom: 0; }
.cm-home .cm-location-map { min-height: 390px; border-style: solid; background: linear-gradient(135deg, #f3f7fa, #e7f0f7); }
.cm-home .cm-location-map p { max-width: 280px; color: #0B3574; font-size: 19px; }
.cm-location-map .cm-text-link { justify-content: center; text-wrap: balance; }
.cm-local-hero { background: linear-gradient(120deg, #f3f7fa, #fff 65%); padding-block: 54px; }
.cm-local-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cm-local-hero-copy .cm-eyebrow { margin-bottom: 20px; }
.cm-local-hero-copy h1 { margin-bottom: 24px; }
.cm-local-hero-copy .cm-local-lead { color: #0B3574; font-size: 19px; }
.cm-local-hero-copy .cm-button-group { margin-top: 28px; }
.cm-local-hero-photo { overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; }
.cm-local-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.cm-local-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 30px 0 0; }
.cm-local-reasons li { border-top: 2px solid #104CA0; padding-top: 20px; }
.cm-local-reasons p { margin-bottom: 0; }
.cm-local-directions .cm-text-link { margin-top: 18px; }
.cm-treatment-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.cm-treatment-intro-contact { padding: 28px; border-left: 3px solid #104CA0; background: #f3f7fa; border-radius: 0 12px 12px 0; }
.cm-treatment-intro-contact p:first-child { color: #0B3574; font-size: 21px; font-weight: 650; }
.cm-treatment-intro-copy > p:not(.cm-eyebrow) { font-size: 18px; }
.cm-treatment-location { border-top: 1px solid var(--cm-line); }
@media (max-width: 1023px) {
	.cm-local-hero-grid, .cm-treatment-intro { gap: 28px; }
	.cm-local-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cm-local-hero-copy .cm-button { max-width: 100%; }
}
@media (max-width: 767px) {
	.cm-home .cm-reviews { padding-block: 40px; }
	.cm-home .cm-final-cta { padding-block: 48px; }
	.cm-home .cm-location-map { min-height: 280px; }
	.cm-local-hero { padding-block: 36px; }
	.cm-local-hero-grid, .cm-treatment-intro, .cm-local-reasons { grid-template-columns: 1fr; }
	.cm-local-hero-photo { order: 2; }
	.cm-local-hero-copy .cm-local-lead { font-size: 17px; }
	.cm-treatment-intro-contact { padding: 24px; }
}

/* Segunda revisión: todas las reglas quedan limitadas a la landing Dos Hermanas. */
.cm-dos-hermanas { padding-bottom: 0; }
.cm-dos-hermanas .cm-dh-section { padding-block: 50px; }
.cm-dos-hermanas .cm-dh-pale { background: #f3f7fa; }
.cm-dos-hermanas .cm-dh-hero { padding-block: 40px; background: linear-gradient(115deg, #f3f7fa, #fff 75%); }
.cm-dos-hermanas .cm-dh-hero-grid { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: 48px; }
.cm-dos-hermanas .cm-dh-hero-copy h1 { font-size: clamp(34px, 4.2vw, 58px); margin-bottom: 24px; }
.cm-dos-hermanas .cm-dh-lead { font-size: 18px; line-height: 1.8; max-width: 620px; }
.cm-dos-hermanas .cm-dh-highlight { color: #0B3574; font-size: clamp(19px, 2vw, 25px); font-weight: 650; border-left: 3px solid #279BCB; padding-left: 18px; margin-block: 24px; }
.cm-dos-hermanas .cm-dh-hero-photo { overflow: hidden; border-radius: 14px 14px 50px 14px; aspect-ratio: 1 / 1; }
.cm-dos-hermanas .cm-dh-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.cm-dos-hermanas .cm-dh-trust { border-block: 1px solid #e2eaf0; }
.cm-dos-hermanas .cm-dh-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 18px; }
.cm-dos-hermanas .cm-dh-trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 18px; }
.cm-dos-hermanas .cm-dh-trust-grid > div + div { border-left: 1px solid #e2eaf0; }
.cm-dos-hermanas .cm-dh-trust-grid > div > .cm-icon { color: #104CA0; width: 28px; height: 28px; flex-basis: 28px; }
.cm-dos-hermanas .cm-dh-trust p { margin: 0; color: #0B3574; font-size: 14px; }
.cm-dos-hermanas .cm-dh-trust .cm-google-rating { gap: 2px; font-size: 14px; }
.cm-dos-hermanas .cm-dh-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.cm-dos-hermanas .cm-dh-section-heading > div { max-width: 800px; }
.cm-dos-hermanas .cm-dh-section-heading h2 { margin-bottom: 18px; }
.cm-dos-hermanas .cm-dh-section-heading p:last-child { margin-bottom: 0; }
.cm-dos-hermanas .cm-dh-section-heading > .cm-button { flex-shrink: 0; }
.cm-dos-hermanas .cm-dh-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cm-dos-hermanas .cm-dh-service { min-height: 345px; border-radius: 12px; }
.cm-dos-hermanas .cm-dh-service .cm-treatment-content { padding: 26px; }
.cm-dos-hermanas .cm-dh-service h3 { font-size: 22px; text-transform: none; }
.cm-dos-hermanas .cm-dh-service .cm-treatment-content a { font-size: 13px; letter-spacing: 0; }
.cm-dos-hermanas .cm-dh-services-more { margin-top: 26px; text-align: center; }
.cm-dos-hermanas .cm-dh-professional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cm-dos-hermanas .cm-dh-professional { padding-block: 44px; }
.cm-dos-hermanas .cm-dh-professional-photo { overflow: hidden; aspect-ratio: 8 / 5; border-radius: 12px; }
.cm-dos-hermanas .cm-dh-professional-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 20% 18%; }
.cm-dos-hermanas .cm-dh-professional-copy .cm-eyebrow { margin-bottom: 14px; }
.cm-dos-hermanas .cm-dh-professional-copy h2 { margin-bottom: 12px; }
.cm-dos-hermanas .cm-dh-subtitle { color: #0B3574; font-size: 19px; margin-bottom: 18px; }
.cm-dos-hermanas .cm-dh-professional-copy .cm-dh-highlight { margin-block: 18px 22px; }
.cm-dos-hermanas .cm-dh-clinic { padding-top: 68px; }
.cm-dos-hermanas .cm-dh-clinic .cm-dh-section-heading { margin-bottom: 30px; }
.cm-dos-hermanas .cm-dh-clinic .cm-eyebrow { margin-bottom: 14px; }
.cm-dos-hermanas .cm-dh-clinic-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.cm-dos-hermanas .cm-dh-clinic-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 10px; }
.cm-dos-hermanas .cm-dh-clinic-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.cm-dos-hermanas .cm-dh-clinic-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cm-dos-hermanas .cm-dh-clinic-gallery figure:first-child img { object-position: 70% 50%; }
.cm-dos-hermanas .cm-dh-clinic-gallery figcaption { position: absolute; bottom: 14px; left: 14px; max-width: calc(100% - 28px); background: #fffffff0; color: #0B3574; padding: 6px 10px; border-radius: 5px; font-size: 12px; line-height: 1.4; box-shadow: 0 2px 8px #17364b12; }
.cm-dos-hermanas .cm-dh-reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.cm-dos-hermanas .cm-dh-reasons article { border-top: 1px solid #c6d9e7; padding-top: 20px; }
.cm-dos-hermanas .cm-dh-reasons .cm-icon { display: block; color: #104CA0; margin-bottom: 14px; width: 28px; height: 28px; }
.cm-dos-hermanas .cm-dh-reasons h3 { font-size: 15px; letter-spacing: .04em; line-height: 1.4; }
.cm-dos-hermanas .cm-dh-reasons p { margin-bottom: 0; font-size: 15px; }
.cm-dos-hermanas .cm-dh-reviews { padding-block: 20px; border-block: 1px solid #e2eaf0; }
.cm-dos-hermanas .cm-dh-reviews-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 20px; align-items: center; }
.cm-dos-hermanas .cm-dh-reviews h2 { margin: 0; font-size: clamp(22px, 2.1vw, 28px); }
.cm-dos-hermanas .cm-dh-reviews .cm-google-rating { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 0 10px; }
.cm-dos-hermanas .cm-dh-reviews .cm-stars { grid-column: 1 / -1; justify-self: center; }
.cm-dos-hermanas .cm-dh-reviews .cm-google-rating strong { font-size: 14px; }
.cm-dos-hermanas .cm-dh-reviews .cm-google-rating a { font-size: 13px; }
.cm-dos-hermanas .cm-dh-location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cm-dos-hermanas .cm-dh-location-grid address { color: #536879; line-height: 1.9; }
.cm-dos-hermanas .cm-dh-phones { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cm-dos-hermanas .cm-dh-phones a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; text-decoration: none; }
.cm-dos-hermanas .cm-dh-hours { display: flex; align-items: center; gap: 8px; margin-block: 16px 24px; }
.cm-dos-hermanas a[href^="mailto:"] { overflow-wrap: anywhere; }
.cm-dos-hermanas .cm-dh-location-grid .cm-text-link { margin-top: 14px; }
.cm-dos-hermanas .cm-dh-map { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; min-height: 280px; padding: 26px; border: 1px solid #cfdee9; border-radius: 12px; background: linear-gradient(140deg, #fff, #e7f0f7); text-align: center; }
.cm-dos-hermanas .cm-dh-map > .cm-icon { width: 34px; height: 34px; color: #279BCB; }
.cm-dos-hermanas .cm-dh-map p { color: #0B3574; margin: 0; font-size: 19px; max-width: 270px; }
.cm-dos-hermanas .cm-dh-map .cm-text-link { justify-content: center; margin-top: 0; }
.cm-dos-hermanas .cm-dh-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: start; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq details:first-child { padding-top: 0; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq details { padding-block: 8px; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq summary { position: relative; list-style: none; padding: 14px 40px 14px 10px; border-radius: 6px; transition: background-color .2s; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq summary::-webkit-details-marker { display: none; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq summary::after { content: '+'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #104CA0; font-size: 23px; font-weight: 400; line-height: 1; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq details[open] summary::after { content: '−'; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq summary:hover { background: #f3f7fa; }
.cm-dos-hermanas .cm-dh-faq-grid .cm-faq details p { padding-inline: 10px; margin-block: 12px; }
.cm-dos-hermanas .cm-dh-final-cta { padding-block: 38px; background: #eaf2f8; }
.cm-dos-hermanas .cm-dh-cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.cm-dos-hermanas .cm-dh-final-cta h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 750; margin-bottom: 16px; }
.cm-dos-hermanas .cm-dh-final-cta h2 span { display: block; font-size: .8em; font-weight: 400; margin-top: 5px; }
.cm-dos-hermanas .cm-dh-cta-grid > .cm-button-group { justify-content: flex-end; }
.cm-dos-hermanas .cm-dh-final-cta p { margin-bottom: 0; }
@media (max-width: 1023px) {
	.cm-dos-hermanas .cm-dh-hero-grid, .cm-dos-hermanas .cm-dh-professional-grid, .cm-dos-hermanas .cm-dh-location-grid { gap: 28px; }
	.cm-dos-hermanas .cm-dh-services-grid, .cm-dos-hermanas .cm-dh-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cm-dos-hermanas .cm-dh-reviews-grid { grid-template-columns: 1fr 1fr; }
	.cm-dos-hermanas .cm-dh-reviews-grid h2 { grid-column: span 2; text-align: center; }
	.cm-dos-hermanas .cm-dh-reviews-grid > .cm-button { justify-self: center; }
	.cm-dos-hermanas .cm-dh-clinic-gallery { grid-auto-rows: 180px; gap: 12px; }
	.cm-dos-hermanas .cm-dh-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 767px) {
	.cm-dos-hermanas .cm-dh-section { padding-block: 38px; }
	.cm-dos-hermanas .cm-dh-hero { padding-block: 30px; }
	.cm-dos-hermanas .cm-dh-hero-grid, .cm-dos-hermanas .cm-dh-professional-grid, .cm-dos-hermanas .cm-dh-location-grid, .cm-dos-hermanas .cm-dh-faq-grid, .cm-dos-hermanas .cm-dh-cta-grid, .cm-dos-hermanas .cm-dh-services-grid, .cm-dos-hermanas .cm-dh-reviews-grid { grid-template-columns: 1fr; }
	.cm-dos-hermanas .cm-dh-hero-copy h1 { font-size: clamp(34px, 9vw, 46px); }
	.cm-dos-hermanas .cm-dh-lead { font-size: 16px; }
	.cm-dos-hermanas .cm-dh-hero-photo { aspect-ratio: 4 / 3; border-bottom-right-radius: 30px; }
	.cm-dos-hermanas .cm-dh-trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
	.cm-dos-hermanas .cm-dh-trust-grid > div { padding: 14px 0; justify-content: flex-start; }
	.cm-dos-hermanas .cm-dh-trust-grid > div + div { border-left: 0; border-top: 1px solid #e2eaf0; }
	.cm-dos-hermanas .cm-dh-trust .cm-google-rating { align-items: flex-start; }
	.cm-dos-hermanas .cm-dh-professional-copy h2 { font-size: 30px; }
	.cm-dos-hermanas .cm-dh-professional { padding-block: 34px; }
	.cm-dos-hermanas .cm-dh-professional-photo { aspect-ratio: 3 / 2; }
	.cm-dos-hermanas .cm-dh-clinic { padding-top: 48px; }
	.cm-dos-hermanas .cm-dh-clinic-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 155px; }
	.cm-dos-hermanas .cm-dh-clinic-gallery figure:first-child { grid-column: span 2; grid-row: auto; height: 220px; }
	.cm-dos-hermanas .cm-dh-clinic-gallery { grid-template-rows: 220px 155px 155px; }
	.cm-dos-hermanas .cm-dh-clinic-gallery figcaption { bottom: 10px; left: 10px; max-width: calc(100% - 20px); font-size: 11px; }
	.cm-dos-hermanas .cm-dh-reasons { gap: 22px; }
	.cm-dos-hermanas .cm-dh-reviews-grid { gap: 12px; text-align: center; }
	.cm-dos-hermanas .cm-dh-reviews-grid h2 { grid-column: auto; }
	.cm-dos-hermanas .cm-dh-reviews-grid > .cm-button { grid-column: auto; }
	.cm-dos-hermanas .cm-dh-map { min-height: 240px; padding: 24px; }
	.cm-dos-hermanas .cm-dh-faq-grid { gap: 8px; }
	.cm-dos-hermanas .cm-dh-final-cta { padding-block: 32px; }
	.cm-dos-hermanas .cm-dh-cta-grid { gap: 24px; }
	.cm-dos-hermanas .cm-dh-cta-grid > .cm-button-group { justify-content: flex-start; }
}
@media (max-width: 374px) {
	.cm-dos-hermanas .cm-dh-reasons { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.cm-dos-hermanas .cm-dh-faq-grid .cm-faq summary { transition: none; }
}

/* El iframe oficial llena los contenedores existentes sin alterar las columnas. */
/* Ocho servicios: filas completas sin modificar cabecera ni estilos globales. */
.cm-home .cm-services-grid.cm-services-eight { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cm-services-eight .cm-treatment-card { min-height: 350px; }
.cm-treatment-plantillas-personalizadas h3 { overflow-wrap: anywhere; }
.cm-treatment-card h3 { overflow-wrap: anywhere; }
.cm-home .cm-services-grid.cm-services-eleven, .cm-page .cm-treatment-index { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.cm-services-eleven .cm-treatment-card, .cm-treatment-index .cm-treatment-card { grid-column: span 3; }
.cm-services-eleven .cm-treatment-card:nth-last-child(-n+3), .cm-treatment-index .cm-treatment-card:nth-last-child(-n+3) { grid-column: span 4; }
.cm-home .cm-service-featured { border: 2px solid #279BCB; }
.cm-home .cm-service-featured h3 { font-size: clamp(24px, 2vw, 29px); }
.cm-treatment-cirugia-del-pie .cm-treatment-visual img, .cm-treatment-plantillas-personalizadas .cm-treatment-visual img { object-fit: contain; object-position: 50% 0; }
.cm-service-detail { overflow-wrap: anywhere; }
.cm-service-detail h1 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.15; }
.cm-clinical-photo { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: #f3f7fa; }
.cm-clinical-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cm-clinical-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; padding-block: 40px; }
.cm-clinical-section { padding-bottom: 20px; border-bottom: 1px solid #dbe8f0; }
.cm-clinical-section:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cm-clinical-section h2 { margin-bottom: 18px; }
.cm-clinical-list { padding-left: 22px; }
.cm-clinical-list li { margin-bottom: 10px; }
@media (max-width: 1100px) {
	.cm-home .cm-services-grid.cm-services-eleven, .cm-page .cm-treatment-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cm-services-eleven .cm-treatment-card, .cm-treatment-index .cm-treatment-card,
	.cm-services-eleven .cm-treatment-card:nth-last-child(-n+3), .cm-treatment-index .cm-treatment-card:nth-last-child(-n+3) { grid-column: auto; }
	.cm-services-eleven .cm-treatment-card:last-child, .cm-treatment-index .cm-treatment-card:last-child { grid-column: span 2; }
}
@media (max-width: 767px) {
	.cm-home .cm-services-grid.cm-services-eleven, .cm-page .cm-treatment-index, .cm-clinical-sections { grid-template-columns: 1fr; }
	.cm-services-eleven .cm-treatment-card:last-child, .cm-treatment-index .cm-treatment-card:last-child { grid-column: auto; }
	.cm-clinical-sections { padding-block: 30px; gap: 24px; }
}
.cm-treatment-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cm-dos-hermanas .cm-dh-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cm-biomechanics { overflow-wrap: anywhere; }
.cm-biomechanics h1 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.15; }
.cm-bio-hero { padding-block: 44px; background: linear-gradient(115deg, #f3f7fa, #fff); }
.cm-bio-hero-grid, .cm-bio-columns, .cm-bio-location { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.cm-bio-columns, .cm-bio-location { align-items: start; }
.cm-bio-subtitle { color: #104CA0; font-size: 20px; line-height: 1.5; }
.cm-bio-photo { overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 9; }
.cm-bio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cm-professional-badge { display: flex; align-items: flex-start; gap: 16px; padding: 22px; margin-top: 20px; background: #f3f9fc; border: 1px solid #dbe8f0; border-radius: 16px; color: #0B3574; }
.cm-professional-badge strong, .cm-professional-badge span { display: block; }
.cm-professional-badge strong { font-size: 20px; line-height: 1.3; }
.cm-professional-badge p { margin-block: 12px 4px; padding-top: 12px; border-top: 1px solid #c9ddea; font-weight: 600; }
.cm-badge-icon { width: 48px; height: 48px; flex-shrink: 0; color: #104CA0; }
.cm-bio-section { padding-block: 48px; }
.cm-bio-pale { background: #f3f7fa; }
.cm-bio-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cm-bio-features .cm-icon { width: 36px; height: 36px; color: #104CA0; margin-bottom: 14px; }
.cm-bio-features h2 { font-size: 17px; }
.cm-bio-features p { margin-bottom: 0; }
.cm-biomechanics .cm-bio-editorial, .cm-biomechanics .cm-bio-journey { padding-block: 40px; }
.cm-bio-editorial h2 { margin-bottom: 18px; }
.cm-bio-line-icon { display: block; width: 26px; height: 26px; flex-shrink: 0; color: #104CA0; }
.cm-bio-mini-list { list-style: none; padding: 0; margin: 18px 0 0; }
.cm-bio-mini-list li { display: flex; align-items: flex-start; gap: 12px; padding-block: 9px; line-height: 1.55; }
.cm-bio-mini-list li + li { border-top: 1px solid #dbe8f0; }
.cm-bio-checks .cm-bio-line-icon { width: 23px; height: 23px; padding: 4px; margin-top: 1px; border-radius: 50%; background: #e5f3fa; }
.cm-bio-insoles .cm-bio-audience { padding-left: 28px; border-left: 1px solid #dbe8f0; }
.cm-bio-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.cm-bio-metrics li { padding-block: 16px; border-bottom: 1px solid #dbe8f0; }
.cm-bio-metrics li + li { border-top: 0; }
.cm-bio-metrics .cm-bio-line-icon { margin-top: 2px; }
.cm-bio-related-columns { align-items: stretch; }
.cm-bio-insoles-link { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid #dbe8f0; border-radius: 16px; background: #fff; }
.cm-bio-insoles-link > .cm-bio-line-icon { width: 48px; height: 48px; margin-bottom: 18px; }
.cm-bio-insoles-link .cm-button { margin-top: auto; max-width: 100%; }
.cm-bio-process { --cm-step-count: 4; position: relative; list-style: none; padding: 0; margin-block: 28px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.cm-bio-process::before { content: ''; position: absolute; top: 21px; left: calc(50% / var(--cm-step-count)); right: calc(50% / var(--cm-step-count)); height: 1px; background: #b6cee1; }
.cm-bio-process li { position: relative; counter-increment: step; padding-inline: 8px; }
.cm-bio-process li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #c5ddeb; border-radius: 50%; background: #e5f3fa; color: #104CA0; font-size: 22px; font-weight: 700; margin: 0 auto 20px; }
.cm-bio-insoles .cm-bio-process li::before { border-radius: 12px; }
.cm-bio-process h3 { font-size: 17px; margin-bottom: 12px; }
.cm-bio-process p { margin-bottom: 0; }
.cm-bio-process-five { --cm-step-count: 5; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cm-bio-training { padding-block: 12px 20px; }
.cm-bio-professional-band { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border: 1px solid #dbe8f0; border-left: 3px solid #279BCB; border-radius: 14px; background: #f3f9fc; }
.cm-bio-professional-band > .cm-bio-line-icon { width: 44px; height: 44px; }
.cm-bio-professional-band h2 { font-size: 22px; margin-bottom: 8px; }
.cm-bio-training p { max-width: 850px; margin-bottom: 0; }
.cm-bio-location address { margin-bottom: 20px; font-style: normal; }
.cm-bio-map { height: 340px; border-radius: 16px; }
.cm-bio-related { display: flex; gap: 24px; flex-wrap: wrap; padding-block: 24px; }
.cm-bio-final { background: #104CA0; color: #fff; padding-block: 44px; }
.cm-biomechanics .cm-bio-final h2, .cm-biomechanics .cm-bio-final p { color: #fff; }
.cm-bio-final .cm-bio-columns { align-items: center; }
.cm-bio-final p { margin-bottom: 0; }
@media (max-width: 1023px) {
	.cm-home .cm-services-grid.cm-services-eight, .cm-treatment-index, .cm-dos-hermanas .cm-dh-services-grid,
	.cm-bio-features, .cm-bio-process, .cm-bio-process-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cm-bio-hero-grid, .cm-bio-columns, .cm-bio-location { gap: 28px; }
	.cm-bio-process::before { display: none; }
	.cm-bio-process li:nth-child(odd):not(:last-child)::after { content: ''; position: absolute; left: 50%; top: 21px; width: calc(100% + 24px); height: 1px; background: #b6cee1; }
	.cm-bio-metrics { grid-template-columns: 1fr; }
	.cm-bio-insoles .cm-bio-audience { padding-left: 20px; }
	.cm-bio-insoles-link { padding: 22px; }
}
@media (max-width: 767px) {
	.cm-home .cm-services-grid.cm-services-eight, .cm-treatment-index, .cm-dos-hermanas .cm-dh-services-grid,
	.cm-bio-hero-grid, .cm-bio-columns, .cm-bio-location, .cm-bio-features, .cm-bio-process, .cm-bio-process-five { grid-template-columns: 1fr; }
	.cm-bio-section { padding-block: 32px; }
	.cm-bio-hero, .cm-bio-final { padding-block: 30px; }
	.cm-bio-subtitle { font-size: 18px; }
	.cm-professional-badge { padding: 18px; gap: 12px; }
	.cm-professional-badge strong { font-size: 18px; }
	.cm-badge-icon { width: 36px; height: 36px; }
	.cm-bio-map { height: 280px; }
	.cm-biomechanics .cm-bio-editorial, .cm-biomechanics .cm-bio-journey { padding-block: 30px; }
	.cm-bio-insoles .cm-bio-audience { padding-left: 0; border-left: 0; }
	.cm-bio-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.cm-bio-metrics li { gap: 9px; }
	.cm-bio-process { gap: 24px; }
	.cm-bio-process li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 18px; padding: 0; }
	.cm-bio-process li::before { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
	.cm-bio-process h3, .cm-bio-process p { grid-column: 2; }
	.cm-bio-process h3 { margin-block: 6px 10px; }
	.cm-bio-process li:nth-child(odd):not(:last-child)::after, .cm-bio-process li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 42px; bottom: -24px; width: 1px; height: auto; background: #b6cee1; }
	.cm-bio-training { padding-block: 8px 12px; }
	.cm-bio-professional-band { display: flow-root; padding: 12px 14px; }
	.cm-bio-professional-band > .cm-bio-line-icon { float: left; width: 30px; height: 30px; margin: 2px 12px 4px 0; }
	.cm-bio-professional-band h2 { font-size: 19px; line-height: 1.25; }
	.cm-bio-professional-band p { clear: both; line-height: 1.6; }
}

.cm-map-embed { position: relative; overflow: hidden; }
.cm-home .cm-location-map.cm-map-embed { padding: 0; height: 390px; min-height: 390px; }
.cm-dos-hermanas .cm-dh-map.cm-map-embed { padding: 0; height: 280px; min-height: 280px; }
.cm-map-embed iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
@media (max-width: 767px) {
	.cm-home .cm-location-map.cm-map-embed,
	.cm-dos-hermanas .cm-dh-map.cm-map-embed { height: 280px; min-height: 280px; }
}
