/* ==========================================================================
   Sant Cugat Fisioterapia — client skin
   ========================================================================== */

:root {
	--sc-black: #000000;
	--sc-white: #ffffff;
	--sc-muted: rgba(255, 255, 255, 0.72);
	--sc-line: rgba(255, 255, 255, 0.25);
	--sc-header-h: 72px;
	--sc-share-w: 56px;
	--sc-slider-w: 640px;
	--sc-gutter: calc(var(--sc-share-w) + 1rem);
	--sc-footer-h: 700px;
	--sc-split-h: 600px;
	--sc-panel: #1c1c1c;
	--ml-color-bg: #000000;
	--ml-color-text: #ffffff;
	--ml-color-primary: #ffffff;
	--ml-color-secondary: rgba(255, 255, 255, 0.7);
	--ml-color-header: transparent;
	--ml-color-header-text: #ffffff;
	--ml-color-header-link: #ffffff;
	--ml-color-footer: #000000;
	--ml-color-footer-text: #ffffff;
	/* Las tipografías NO se declaran aquí: vienen de Themonkylab → Tipografía
	   (--ml-font-heading / body / menu / button). */
}

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

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

body.ml-client-scfisio {
	background: var(--sc-black);
	color: var(--sc-white);
	font-family: var(--ml-font-body);
	font-weight: 400;
	overflow-x: hidden;
}

body.ml-client-scfisio.sc-menu-open {
	overflow: hidden;
}

body.ml-client-scfisio .ml-site {
	background: var(--sc-black);
}

body.ml-client-scfisio .ml-main {
	padding: 0;
	min-height: 0;
}

/* Container único de la web. El ancho sale del admin (--ml-container-max)
   y los gutters dejan libre la barra fija de SOCIAL SHARE. */
body.ml-client-scfisio .ml-container {
	width: min(var(--ml-container-max, 1200px), calc(100% - var(--sc-gutter) * 2));
	margin-inline: auto;
	padding-inline: 0;
}

body.ml-client-scfisio .ml-header-offset {
	display: none;
}

body.ml-client-scfisio a {
	color: inherit;
}

/* ---- SOCIAL SHARE (fixed) ---- */
.sc-social-share {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	z-index: 90;
	width: var(--sc-share-w);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	pointer-events: none;
	color: var(--sc-white);
}

.sc-social-share__line {
	width: 1px;
	height: 72px;
	background: var(--sc-white);
	opacity: 0.85;
}

.sc-social-share__label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 0.65rem;
	letter-spacing: 0.28em;
	font-weight: 500;
	text-transform: uppercase;
}

.sc-social-share__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: auto;
}

.sc-social-share__link {
	display: inline-flex;
	color: var(--sc-white);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.sc-social-share__link:hover {
	opacity: 0.7;
	transform: scale(1.08);
}

/* ---- Header bar (logo on scroll + hamburger) ---- */
.sc-site-header.ml-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.sc-site-header.is-scrolled {
	background: rgba(0, 0, 0, 0.72) !important;
	backdrop-filter: blur(10px);
}

.sc-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--sc-header-h);
	padding: 0.75rem clamp(1rem, 3vw, 2rem);
	padding-left: calc(var(--sc-share-w) + 0.5rem);
}

.sc-header-logo {
	display: inline-flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
	text-decoration: none;
}

.sc-site-header.is-scrolled .sc-header-logo {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.sc-header-logo__img {
	display: block;
	max-height: 42px;
	width: auto;
}

.sc-fullscreen-menu__brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.sc-fullscreen-menu__brand-img {
	display: block;
	max-height: 56px;
	width: auto;
}

/* Hamburger */
.sc-nav-toggle.ml-nav-toggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	color: var(--sc-white);
	z-index: 2;
}

.sc-nav-toggle__lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 26px;
}

.sc-nav-toggle__lines span {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

body.sc-menu-open .sc-nav-toggle__lines span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

body.sc-menu-open .sc-nav-toggle__lines span:nth-child(2) {
	opacity: 0;
}

body.sc-menu-open .sc-nav-toggle__lines span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Hide default parent nav if present */
.sc-site-header .ml-nav:not(.sc-fullscreen-menu__nav) {
	display: none !important;
}

/* ---- Fullscreen menu ---- */
.sc-fullscreen-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	grid-template-columns: minmax(0, var(--sc-slider-w)) minmax(0, 1fr);
	background: var(--sc-black);
	color: var(--sc-white);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sc-fullscreen-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sc-fullscreen-menu__close {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	z-index: 5;
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--sc-white);
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.sc-fullscreen-menu__close:hover {
	opacity: 0.7;
	transform: rotate(90deg);
}

.sc-fullscreen-menu__media {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: var(--sc-slider-w);
	height: 100vh;
	height: 100dvh;
	background: #111;
}

.sc-fullscreen-menu__placeholder,
.sc-menu-slider,
.sc-menu-slider__slide,
.sc-menu-slider img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-menu-slider__slide {
	opacity: 0;
	transition: opacity 1.1s ease;
}

.sc-menu-slider__slide.is-active {
	opacity: 1;
}

.sc-fullscreen-menu__placeholder {
	background:
		linear-gradient(160deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55)),
		radial-gradient(circle at 30% 40%, #5a4a5c, #1a1a1a 70%);
}

.sc-fullscreen-menu__panel {
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	padding: clamp(1.5rem, 4vw, 3rem);
	padding-right: clamp(2rem, 5vw, 4rem);
	overflow-y: auto;
	background: var(--sc-black);
}

.sc-fullscreen-menu__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--sc-line);
	margin-bottom: 2rem;
}

.sc-fullscreen-menu__ig {
	color: var(--sc-white);
	margin-top: 0.35rem;
	margin-right: 2.5rem;
}

.sc-fullscreen-menu__grid {
	display: grid;
	grid-template-columns: 1.1fr auto 1fr 1fr;
	gap: 1.5rem 2rem;
	align-items: start;
	flex: 1;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--sc-line);
}

.sc-fullscreen-menu__heading {
	font-family: var(--ml-font-menu);
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 1rem;
	letter-spacing: 0.02em;
}

.sc-fullscreen-menu__plus {
	font-size: 1.25rem;
	opacity: 0.7;
	padding-top: 0.15rem;
}

.sc-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.sc-menu-list .menu-item-has-children > .sc-menu-item__head > a {
	cursor: pointer;
}

.sc-menu-list .sc-menu-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.sc-menu-list .sc-menu-toggle:hover {
	opacity: 0.65;
}

.sc-menu-list .sub-menu {
	list-style: none;
	margin: 0.35rem 0 0.15rem;
	padding: 0 0 0 0.85rem;
	display: none;
	flex-direction: column;
	gap: 0.45rem;
}

.sc-menu-list .menu-item-has-children.is-open > .sub-menu {
	display: flex;
}

.sc-menu-list .sub-menu a {
	font-size: 0.92rem;
	opacity: 0.85;
}

.sc-menu-list a {
	text-decoration: none;
	font-weight: 300;
	font-size: 1rem;
	transition: opacity 0.2s ease, padding-left 0.25s ease;
}

.sc-menu-list a:hover {
	opacity: 0.65;
	padding-left: 0.35rem;
}

.sc-fullscreen-menu__col p {
	margin: 0 0 0.5rem;
	font-weight: 300;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--sc-muted);
}

.sc-fullscreen-menu__col a {
	text-decoration: none;
	color: var(--sc-muted);
	transition: color 0.2s ease;
}

.sc-fullscreen-menu__col a:hover {
	color: var(--sc-white);
}

.sc-fullscreen-menu__footer {
	padding-top: 1.75rem;
	text-align: center;
}

.sc-fullscreen-menu__footer p {
	margin: 0 auto;
	max-width: 36rem;
	font-weight: 300;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--sc-muted);
}

/* ---- Hero ---- */
.sc-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: calc(var(--sc-header-h) + 2rem) 0 clamp(2rem, 6vh, 4rem);
	overflow: hidden;
	color: var(--sc-white);
}

.sc-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vh, 3rem);
}

.sc-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.sc-hero__video,
.sc-hero__img,
.sc-hero__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-hero__fallback {
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect fill='%23222' width='40' height='40'/%3E%3C/svg%3E") center/cover;
}

.sc-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.25) 0%,
		rgba(0, 0, 0, 0.15) 45%,
		rgba(0, 0, 0, 0.45) 100%
	);
	pointer-events: none;
}

.sc-hero__brand {
	text-align: center;
	animation: sc-fade-up 1s ease both;
}

.sc-hero__brand-img {
	display: block;
	margin: 0 auto;
	width: clamp(220px, 32vw, 420px);
	height: auto;
}

.sc-hero__card {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 1.5rem 2rem;
	margin-bottom: 100px;
	background: var(--sc-white);
	color: #111;
	padding: clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem);
	border-radius: 4px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	animation: sc-fade-up 1s 0.15s ease both;
}

.sc-hero__card-title {
	border-right: 1px solid #d8d8d8;
	padding-right: 1.5rem;
	display: flex;
	align-items: center;
}

.sc-hero__card-title h1 {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	color: #000000;
}

.sc-hero__card-body {
	display: flex;
	flex-direction: column;
}

.sc-hero__card-body p {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.65;
	color: #333;
	font-weight: 400;
	text-align: left;
}

.sc-hero__cta {
	align-self: flex-end;
	font-family: var(--ml-font-button);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	color: #111;
	transition: opacity 0.2s ease, gap 0.25s ease;
}

.sc-hero__cta:hover {
	opacity: 0.65;
	gap: 0.65rem;
}

/* ---- Tagline ---- */
.sc-tagline {
	background: var(--sc-black);
	padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.sc-tagline__text {
	margin: 0;
	text-align: center;
	color: var(--sc-white);
	font-family: var(--ml-font-body);
	font-size: clamp(0.95rem, 1.4vw, 1.0625rem);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

/* ---- Especialidades (tarjetas home) ---- */
.sc-areas {
	padding: clamp(2rem, 5vw, 4rem) 0;
}

.sc-areas__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.85rem, 1.6vw, 1.35rem);
}

.sc-areas__card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 8px;
	background: #1a1a1a;
}

.sc-areas__media,
.sc-areas__img,
.sc-areas__veil {
	position: absolute;
	inset: 0;
}

.sc-areas__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.sc-areas__card:hover .sc-areas__img {
	transform: scale(1.05);
}

.sc-areas__img--placeholder {
	background: radial-gradient(circle at 40% 30%, #5b5450, #16130f 75%);
}

.sc-areas__veil {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 30%,
		rgba(0, 0, 0, 0.35) 60%,
		rgba(0, 0, 0, 0.8) 100%
	);
}

.sc-areas__body {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: clamp(1rem, 2vw, 1.5rem);
	color: var(--sc-white);
}

.sc-areas__title {
	margin: 0 0 0.65rem;
	font-family: var(--ml-font-heading);
	font-size: clamp(1rem, 1.25vw, 1.15rem);
	font-weight: 600;
	line-height: 1.3;
}

.sc-areas__text {
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.85);
}

.sc-areas__foot {
	display: flex;
	justify-content: flex-end;
	margin: 1.25rem 0 0;
}

.sc-areas__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ml-font-button);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: var(--sc-white);
	transition: gap 0.25s ease, opacity 0.2s ease;
}

.sc-areas__cta::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sc-areas__card:hover .sc-areas__cta {
	gap: 0.75rem;
	opacity: 0.8;
}

.sc-areas__arrow {
	display: inline-block;
	position: relative;
	width: 22px;
	height: 1px;
	background: currentColor;
}

.sc-areas__arrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}

/* ---- Bloque imagen + texto ---- */
.sc-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: var(--sc-panel);
	color: var(--sc-white);
}

.sc-split__media {
	position: relative;
	min-height: var(--sc-split-h);
	overflow: hidden;
}

.sc-split__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-split__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

.sc-split--media-right .sc-split__media {
	order: 2;
}

.sc-split__body {
	display: flex;
	align-items: center;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 5rem);
}

.sc-split__inner {
	max-width: 36rem;
}

.sc-split__title {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.25rem, 1.9vw, 1.75rem);
	font-weight: 600;
	line-height: 1.35;
}

.sc-split__rule {
	display: block;
	height: 1px;
	background: rgba(255, 255, 255, 0.3);
	margin: clamp(1.25rem, 2.5vw, 2rem) 0;
}

.sc-split__text {
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.sc-split__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.sc-split__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.85);
}

.sc-split__check {
	position: relative;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-top: 0.2em;
	border: 1px solid currentColor;
}

.sc-split__check::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
}

/* ---- Patologías: paneles split ---- */
.sc-patho {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: min(100vh, 900px);
	background: var(--sc-black);
	color: var(--sc-white);
}

.sc-patho--media-right .sc-patho__media {
	order: 2;
}

.sc-patho__media {
	position: relative;
	min-height: 420px;
	overflow: hidden;
}

.sc-patho__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-patho__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

.sc-patho__body {
	display: flex;
	align-items: center;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.75rem, 5vw, 4.5rem);
	background: var(--sc-black);
}

.sc-patho__inner {
	width: 100%;
	max-width: 34rem;
	margin-inline: auto;
}

.sc-patho__header {
	padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	text-align: left;
}

.sc-patho__eyebrow {
	margin: 0;
	font-size: clamp(0.9rem, 1.2vw, 1rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--sc-white);
}

.sc-patho__title {
	margin: 0.35rem 0 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--sc-white);
}

.sc-patho__subtitle {
	margin: 1rem 0 0;
	font-size: clamp(0.72rem, 1vw, 0.82rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.45;
	text-transform: uppercase;
	color: var(--sc-white);
}

.sc-patho__list {
	display: flex;
	flex-direction: column;
}

.sc-patho__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(0.85rem, 1.5vw, 1.25rem);
	padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.sc-patho__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sc-patho__icon {
	width: 48px;
	height: 48px;
	margin-top: 0.15rem;
}

.sc-patho__icon-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sc-patho__icon-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
}

.sc-patho__item-title {
	margin: 0 0 0.65rem;
	font-family: var(--ml-font-heading);
	font-size: clamp(0.85rem, 1.1vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--sc-white);
}

.sc-patho__item-text p {
	margin: 0 0 0.75rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.sc-patho__item-text p:last-child {
	margin-bottom: 0;
}

/* ---- Bio: 2 imágenes + caja superpuesta ---- */
.sc-bio {
	position: relative;
	padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.sc-bio__media {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-bio__img {
	display: block;
	width: 100%;
	height: 700px;
	object-fit: cover;
}

.sc-bio__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

.sc-bio__card {
	position: relative;
	z-index: 2;
	width: min(900px, calc(100% - 2rem));
	margin: clamp(-120px, -8vw, -60px) auto 0;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
	border-radius: 20px;
	background: var(--sc-white);
	color: #111;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.sc-bio__title {
	margin: 0;
	text-align: center;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 600;
	line-height: 1.3;
}

.sc-bio__intro {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.sc-bio__text {
	margin-top: 1.5rem;
}

.sc-bio__text p {
	margin: 0 0 1rem;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.3;
	color: #333;
}

.sc-bio__text p:last-child {
	margin-bottom: 0;
}

/* ---- Reseñas (shortcode) ---- */
.sc-reviews {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #000;
	color: #fff;
}

.sc-reviews__title {
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
	font-family: var(--ml-font-heading);
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.sc-reviews__embed {
	width: 100%;
}

.sc-reviews__embed > * {
	max-width: 100%;
}

/* ---- Blog (últimas entradas) ---- */
.sc-blog {
	padding: clamp(2.5rem, 5vw, 4.5rem) 0;
	background: #000;
}

.sc-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.85rem, 1.6vw, 1.35rem);
}

.sc-blog__card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin: 0;
	border-radius: 12px;
	background: #1a1a1a;
}

.sc-blog__media,
.sc-blog__img,
.sc-blog__veil {
	position: absolute;
	inset: 0;
}

.sc-blog__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.sc-blog__card:hover .sc-blog__img {
	transform: scale(1.05);
}

.sc-blog__img--placeholder {
	background: radial-gradient(circle at 40% 30%, #5b5450, #16130f 75%);
}

.sc-blog__veil {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 28%,
		rgba(0, 0, 0, 0.4) 58%,
		rgba(0, 0, 0, 0.85) 100%
	);
}

.sc-blog__body {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: clamp(1rem, 2vw, 1.5rem);
	color: #fff;
}

.sc-blog__badge {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.sc-blog__title {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.sc-blog__foot {
	display: flex;
	justify-content: flex-end;
	margin: 1.25rem 0 0;
}

.sc-blog__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ml-font-button);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	transition: gap 0.25s ease, opacity 0.2s ease;
}

.sc-blog__cta::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sc-blog__card:hover .sc-blog__cta {
	gap: 0.75rem;
	opacity: 0.85;
}

.sc-blog__arrow {
	display: inline-block;
	position: relative;
	width: 22px;
	height: 1px;
	background: currentColor;
}

.sc-blog__arrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}

/* ---- Single post ---- */
.sc-main--single {
	background: #000;
}

.sc-single {
	position: relative;
	background: #000;
}

.sc-single__media {
	position: relative;
	overflow: hidden;
	background: #111;
}

.sc-single__img {
	display: block;
	width: 100%;
	height: clamp(420px, 52vw, 700px);
	object-fit: cover;
	object-position: center;
}

.sc-single__img--placeholder {
	background: radial-gradient(circle at 55% 35%, #5b5450, #16130f 75%);
}

.sc-single__content {
	position: relative;
	z-index: 2;
	margin-top: clamp(-140px, -9vw, -70px);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.sc-single__card {
	width: 100%;
	padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 6rem);
	background: var(--sc-panel, #1a1a1a);
	color: #fff;
}

.sc-single__header {
	max-width: 820px;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.sc-single__eyebrow {
	margin: 0;
	font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

.sc-single__title {
	margin: 0.45rem 0 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	font-weight: 400;
	line-height: 1.2;
	color: #fff;
}

.sc-single__body {
	max-width: 900px;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.sc-single__body > *:first-child {
	margin-top: 0;
}

.sc-single__body > *:last-child {
	margin-bottom: 0;
}

.sc-single__body p {
	margin: 0 0 1.1rem;
}

.sc-single__body a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.sc-single__body h2,
.sc-single__body h3,
.sc-single__body h4 {
	margin: 1.75rem 0 0.75rem;
	font-family: var(--ml-font-heading);
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.sc-single__body ul,
.sc-single__body ol {
	margin: 0 0 1.1rem;
	padding-left: 1.25rem;
}

.sc-single__body li {
	margin: 0 0 0.35rem;
}

.sc-single__body img,
.sc-single__body figure {
	max-width: 100%;
	height: auto;
}

.sc-single__body figure {
	margin: 1.5rem 0;
}

.sc-single__body blockquote {
	margin: 1.5rem 0;
	padding-left: 1.25rem;
	border-left: 2px solid rgba(255, 255, 255, 0.45);
	font-style: italic;
	color: rgba(255, 255, 255, 0.8);
}

/* ---- 404 ---- */
.sc-main--404 {
	background: #000;
	min-height: 70vh;
}

.sc-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - var(--sc-header-h, 72px));
	padding: calc(var(--sc-header-h, 72px) + 3rem) 0 4rem;
	background: #000;
	color: #fff;
	text-align: center;
}

.sc-404__inner {
	max-width: 640px;
}

.sc-404__code {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(4.5rem, 14vw, 8rem);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.18);
}

.sc-404__title {
	margin: 1.25rem 0 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.sc-404__text {
	margin: 1rem auto 0;
	max-width: 34em;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
}

.sc-404__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin: 2rem 0 0;
}

.sc-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.6rem;
	border: 1px solid #fff;
	background: #fff;
	color: #111 !important;
	font-family: var(--ml-font-button);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sc-404__btn:hover {
	opacity: 0.88;
}

.sc-404__link {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	transition: opacity 0.2s ease;
}

.sc-404__link:hover {
	opacity: 0.7;
}

/* ---- WhatsApp flotante ---- */
.sc-whatsapp {
	position: fixed;
	bottom: 1.25rem;
	z-index: 120;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sc-whatsapp--right {
	right: 1.25rem;
	left: auto;
}

.sc-whatsapp--left {
	left: 1.25rem;
	right: auto;
}

.sc-whatsapp:hover {
	transform: scale(1.06);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
	opacity: 0.95;
	color: #fff !important;
}

.sc-whatsapp__icon {
	display: block;
}

@media (max-width: 640px) {
	.sc-whatsapp {
		bottom: 1rem;
		width: 52px;
		height: 52px;
	}

	.sc-whatsapp--right {
		right: 1rem;
	}

	.sc-whatsapp--left {
		left: 1rem;
	}
}

/* ---- Blog archive (página de entradas) ---- */
.sc-main--blog {
	background: #000;
}

.sc-blog-hero {
	position: relative;
	min-height: clamp(420px, 70vh, 780px);
	overflow: hidden;
	background: #111;
}

.sc-blog-hero__media,
.sc-blog-hero__img {
	position: absolute;
	inset: 0;
}

.sc-blog-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sc-blog-hero__img--placeholder {
	background: radial-gradient(circle at 60% 40%, #5b5450, #16130f 75%);
}

.sc-blog--archive {
	padding-top: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.sc-blog__empty {
	margin: 0;
	padding: 2rem 0 4rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	font-weight: 300;
}

.sc-blog-archive-head {
	padding: calc(var(--sc-header-h, 80px) + 2rem) 0 1.5rem;
	background: #000;
	color: #fff;
}

.sc-blog-archive-head__title {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.sc-blog-archive-head__desc {
	margin-top: 0.75rem;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
}

.sc-blog-archive-head__desc p {
	margin: 0;
}

.sc-main--blog .navigation.pagination,
.sc-main--blog .sc-blog-pagination,
.sc-blog--archive .navigation {
	display: flex;
	justify-content: center;
	margin-top: clamp(2rem, 4vw, 3rem);
}

.sc-main--blog .navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.sc-main--blog .navigation .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.sc-main--blog .navigation .page-numbers:hover,
.sc-main--blog .navigation .page-numbers.current {
	background: #fff;
	border-color: #fff;
	color: #111;
}

/* ---- Preguntas frecuentes ---- */
.sc-faq {
	padding: clamp(3rem, 6vw, 5.5rem) 0;
	background: #000;
	color: #fff;
}

.sc-faq__header {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.sc-faq__title {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.sc-faq__ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin: 1rem auto 0;
}

.sc-faq__ornament::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 10px 0 0 #fff, 20px 0 0 #fff;
	margin-right: 20px;
}

.sc-faq__ornament::after {
	content: "";
	width: 52px;
	height: 1px;
	background: rgba(255, 255, 255, 0.9);
}

.sc-faq__grid {
	columns: 2;
	column-gap: clamp(1rem, 2vw, 1.5rem);
}

.sc-faq__card {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	padding: clamp(1.15rem, 2vw, 1.5rem);
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: transparent;
}

.sc-faq__question {
	margin: 0 0 0.9rem;
	padding: 0 0 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	font-family: var(--ml-font-heading);
	font-size: clamp(0.85rem, 1.1vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.35;
	text-transform: uppercase;
	color: #fff;
}

.sc-faq__answer {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.sc-faq__answer p {
	margin: 0 0 0.75rem;
}

.sc-faq__answer p:last-child {
	margin-bottom: 0;
}

.sc-faq__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-faq__list li {
	position: relative;
	padding-left: 1rem;
	margin: 0 0 0.35rem;
}

.sc-faq__list li:last-child {
	margin-bottom: 0;
}

.sc-faq__list li::before {
	content: "-";
	position: absolute;
	left: 0;
	top: 0;
}

/* ---- Servicio: cabecera 2 imágenes + caja ---- */
.sc-service-hero {
	position: relative;
	background: var(--sc-black);
}

.sc-service-hero__media {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-service-hero__img {
	display: block;
	width: 100%;
	height: clamp(380px, 44vw, 620px);
	object-fit: cover;
}

.sc-service-hero__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

.sc-service-hero__content {
	position: relative;
	z-index: 2;
	margin-top: clamp(-140px, -9vw, -70px);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.sc-service-hero__card {
	width: 100%;
	padding: 100px 150px;
	background: var(--sc-panel);
	color: var(--sc-white);
}

.sc-service-hero__header {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.sc-service-hero__eyebrow {
	margin: 0;
	font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
	font-weight: 600;
	line-height: 1.4;
}

.sc-service-hero__title {
	margin: 0.35rem 0 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--sc-white);
}

.sc-service-hero__text {
	margin-top: clamp(1rem, 2vw, 1.5rem);
}

.sc-service-hero__text p {
	margin: 0 0 0.85rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--sc-muted);
}

.sc-service-hero__text p:last-child {
	margin-bottom: 0;
}

/* ---- Servicio: beneficios ---- */
.sc-service-benefits {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--sc-white);
}

.sc-service-benefits__title {
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	font-family: var(--ml-font-heading);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-white);
}

.sc-service-benefits__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-service-benefits__list li {
	position: relative;
	margin: 0 0 0.55rem;
	padding-left: 2.1rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.sc-service-benefits__list li:last-child {
	margin-bottom: 0;
}

.sc-service-benefits__list li::before {
	content: "-->";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* ---- Servicio: patologías en cuadros (caja del FAQ, apilados) ---- */
.sc-service-boxes {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	color: var(--sc-white);
}

.sc-service-boxes__header {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.sc-service-boxes__title {
	margin: 0;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-white);
}

.sc-service-boxes__ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin: 1rem auto 0;
}

.sc-service-boxes__ornament::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 10px 0 0 #fff, 20px 0 0 #fff;
	margin-right: 20px;
}

.sc-service-boxes__ornament::after {
	content: "";
	width: 52px;
	height: 1px;
	background: rgba(255, 255, 255, 0.9);
}

.sc-service-boxes__subtitle {
	margin: 1rem 0 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--sc-white);
}

.sc-service-boxes__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2vw, 1.5rem);
}

.sc-service-boxes__card {
	padding: clamp(1.15rem, 2vw, 1.5rem);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 8px;
	background: transparent;
}

.sc-service-boxes__card-title {
	margin: 0 0 0.9rem;
	padding: 0 0 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	font-family: var(--ml-font-heading);
	font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.35;
	text-align: center;
	color: var(--sc-white);
}

.sc-service-boxes__card-text {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.sc-service-boxes__card-text p {
	margin: 0 0 0.75rem;
}

.sc-service-boxes__card-text p:last-child {
	margin-bottom: 0;
}

/* ---- Servicio: método de tratamiento (texto + imagen) ---- */
.sc-service-method {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	color: var(--sc-white);
}

.sc-service-method--media-left .sc-service-method__media {
	order: -1;
}

.sc-service-method__title {
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	font-family: var(--ml-font-heading);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-white);
}

.sc-service-method__text p {
	margin: 0 0 1rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--sc-muted);
}

.sc-service-method__text p:last-child {
	margin-bottom: 0;
}

.sc-service-method__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	border-radius: 12px;
}

.sc-service-method__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

/* ---- Servicio: bloque texto + galería ---- */
.sc-service-gallery {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	color: var(--sc-white);
}

.sc-service-gallery__title {
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	font-family: var(--ml-font-heading);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-white);
}

.sc-service-gallery__lead {
	margin: 0 0 1rem;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.55;
	color: var(--sc-white);
}

.sc-service-gallery__text p {
	margin: 0 0 1rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--sc-muted);
}

.sc-service-gallery__text p:last-child {
	margin-bottom: 0;
}

.sc-service-gallery__symptoms {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.sc-service-gallery__list-title {
	margin: 0 0 clamp(1rem, 2vw, 1.35rem);
	font-family: var(--ml-font-heading);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--sc-white);
}

.sc-service-gallery__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-service-gallery__list li {
	position: relative;
	margin: 0 0 0.75rem;
	padding-left: 2.1rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.sc-service-gallery__list li:last-child {
	margin-bottom: 0;
}

.sc-service-gallery__list li::before {
	content: "-->";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.sc-service-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.85rem, 1.6vw, 1.25rem);
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.sc-service-gallery__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
}

.sc-service-gallery__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

/* ---- Mapa (Google Maps) ---- */
.sc-map {
	position: relative;
	width: 100%;
	line-height: 0;
	background: #000;
}

.sc-map__frame {
	display: block;
	width: 100%;
	height: var(--sc-map-h, 500px);
	border: 0;
}

/* ---- Formulario de contacto ---- */
.sc-contact {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 700px;
	padding: clamp(3rem, 7vw, 6rem) 0;
	background-color: #555;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.sc-contact__veil {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.52);
}

.sc-contact__container {
	position: relative;
	z-index: 2;
}

.sc-contact__card {
	width: min(600px, 100%);
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 8px;
	background: var(--sc-white);
	color: #111;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.sc-contact__title {
	margin: 0 0 1rem;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.3;
}

.sc-contact__intro {
	margin: 0 0 1.5rem;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: #444;
}

.sc-contact__form {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.sc-contact__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.sc-contact__form input:not([type="checkbox"]),
.sc-contact__form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid #777;
	border-radius: 3px;
	background: #fff;
	color: #111;
	font: inherit;
	font-size: 16px;
	line-height: 1.3;
	outline: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-contact__form textarea {
	min-height: 120px;
	resize: vertical;
}

.sc-contact__form input:focus,
.sc-contact__form textarea:focus {
	border-color: #111;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.sc-contact__privacy,
.sc-contact__privacy * {
	box-sizing: border-box;
}

.sc-contact__privacy {
	position: relative;
	width: fit-content;
	margin-left: -8px;
	font-size: 14px;
	color: #555;
}

/* Visible pero transparente: mantiene el foco y la validación nativa. */
.sc-contact__privacy .input {
	position: absolute;
	top: 6px;
	left: 8px;
	z-index: 2;
	width: 18px;
	height: 18px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.sc-contact__privacy .checkbox {
	display: inline-block;
	padding: 6px 8px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	user-select: none;
	transition: background 0.2s ease;
}

.sc-contact__privacy .checkbox:hover {
	background: rgba(0, 0, 0, 0.05);
}

.sc-contact__privacy .checkbox span {
	float: left;
	vertical-align: middle;
	transform: translate3d(0, 0, 0);
}

.sc-contact__privacy .checkbox span:first-child {
	position: relative;
	width: 18px;
	height: 18px;
	border: 1px solid #cccfdb;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 16, 75, 0.05);
	transform: scale(1);
	transition: all 0.2s ease;
}

.sc-contact__privacy .checkbox span:first-child svg {
	position: absolute;
	top: 3px;
	left: 2px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16px;
	stroke-dashoffset: 16px;
	transition: all 0.3s ease;
	transition-delay: 0.1s;
	transform: translate3d(0, 0, 0);
}

.sc-contact__privacy .checkbox span:last-child {
	padding-left: 8px;
	line-height: 18px;
}

.sc-contact__privacy .checkbox:hover span:first-child {
	border-color: #111;
}

.sc-contact__privacy .input:checked + .checkbox span:first-child {
	background: #111;
	border-color: #111;
	animation: sc-check-wave 0.4s ease;
}

.sc-contact__privacy .input:checked + .checkbox span:first-child svg {
	stroke-dashoffset: 0;
}

.sc-contact__privacy .input:focus-visible + .checkbox span:first-child {
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.sc-contact__privacy .inline-svg {
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
	user-select: none;
}

.sc-contact__privacy a {
	color: inherit;
	text-decoration: underline;
}

@keyframes sc-check-wave {
	50% {
		transform: scale(0.9);
	}
}

.sc-contact__submit {
	align-self: flex-start;
	min-width: 100px;
	padding: 0.8rem 1.4rem;
	border: 1px solid #000;
	border-radius: 3px;
	background: #000;
	color: #fff;
	font-family: var(--ml-font-button);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.sc-contact__submit:hover {
	background: #fff;
	color: #000;
}

.sc-contact__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid currentColor;
	font-size: 15px;
	line-height: 1.4;
}

.sc-contact__notice--success {
	background: #edf8ef;
	color: #246c32;
}

.sc-contact__notice--error {
	background: #fff0f0;
	color: #9a2525;
}

.sc-contact__form input.is-invalid,
.sc-contact__form textarea.is-invalid {
	border-color: #9a2525;
	box-shadow: 0 0 0 1px rgba(154, 37, 37, 0.25);
}

.sc-contact__privacy.is-invalid .checkbox {
	outline: 1px solid #9a2525;
	outline-offset: 2px;
}

.sc-contact__trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- Contacto: split imagen + formulario ---- */
.sc-contact-page {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: min(100vh, 900px);
	background: var(--sc-black);
	color: var(--sc-white);
}

.sc-contact-page__media {
	position: relative;
	min-height: 420px;
	overflow: hidden;
}

.sc-contact-page__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-contact-page__img--placeholder {
	background: radial-gradient(circle at 45% 35%, #5b5450, #16130f 75%);
}

.sc-contact-page__body {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.75rem, 5vw, 4.5rem);
	background: var(--sc-black);
}

.sc-contact-page__inner {
	width: 100%;
	max-width: 420px;
}

.sc-contact-page__title {
	margin: 0 0 1rem;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-white);
}

.sc-contact-page__intro {
	margin: 0 0 1.75rem;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.sc-contact-page__form {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.sc-contact-page__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.sc-contact-page__form input:not([type="checkbox"]),
.sc-contact-page__form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 0;
	border-radius: 4px;
	background: var(--sc-white);
	color: #111;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
}

.sc-contact-page__form textarea {
	min-height: 120px;
	resize: vertical;
}

.sc-contact-page__form input:focus,
.sc-contact-page__form textarea:focus {
	outline: 2px solid rgba(255, 255, 255, 0.55);
	outline-offset: 2px;
}

.sc-contact-page__privacy,
.sc-contact-page__privacy * {
	box-sizing: border-box;
}

.sc-contact-page__privacy {
	position: relative;
	width: fit-content;
	margin-left: -8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

.sc-contact-page__privacy .input {
	position: absolute;
	top: 6px;
	left: 8px;
	z-index: 2;
	width: 18px;
	height: 18px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.sc-contact-page__privacy .checkbox {
	display: inline-block;
	padding: 6px 8px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
}

.sc-contact-page__privacy .checkbox span {
	float: left;
	vertical-align: middle;
	transform: translate3d(0, 0, 0);
}

.sc-contact-page__privacy .checkbox span:first-child {
	position: relative;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 4px;
	background: transparent;
}

.sc-contact-page__privacy .checkbox span:first-child svg {
	position: absolute;
	top: 3px;
	left: 2px;
	fill: none;
	stroke: #111;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16;
	stroke-dashoffset: 16;
	transition: stroke-dashoffset 0.25s ease;
}

.sc-contact-page__privacy .checkbox span:last-child {
	padding-left: 8px;
	line-height: 18px;
}

.sc-contact-page__privacy .input:checked + .checkbox span:first-child {
	background: var(--sc-white);
	border-color: var(--sc-white);
}

.sc-contact-page__privacy .input:checked + .checkbox span:first-child svg {
	stroke-dashoffset: 0;
}

.sc-contact-page__privacy .inline-svg {
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
	user-select: none;
}

.sc-contact-page__privacy a {
	color: inherit;
	text-decoration: underline;
}

.sc-contact-page__submit {
	align-self: flex-start;
	min-width: 120px;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 3px;
	background: var(--sc-white);
	color: #111;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.sc-contact-page__submit:hover {
	opacity: 0.85;
}

.sc-contact-page__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid currentColor;
	font-size: 15px;
	line-height: 1.4;
}

.sc-contact-page__notice--success {
	background: rgba(36, 108, 50, 0.2);
	color: #9be0a8;
}

.sc-contact-page__notice--error {
	background: rgba(154, 37, 37, 0.25);
	color: #ffb3b3;
}

.sc-contact-page__form input.is-invalid,
.sc-contact-page__form textarea.is-invalid {
	border-color: #ffb3b3;
	box-shadow: 0 0 0 1px rgba(255, 179, 179, 0.35);
}

.sc-contact-page__privacy.is-invalid .checkbox {
	outline: 1px solid #ffb3b3;
	outline-offset: 2px;
}

.sc-contact-page__trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- Footer (full width) ---- */
body.ml-client-scfisio .ml-site-footer.ml-footer--scfisio {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: var(--sc-black) !important;
	border-top: 1px solid var(--sc-line);
	color: var(--sc-muted);
}

body.ml-client-scfisio .ml-site-footer.ml-footer--scfisio .ml-container {
	width: 100%;
	max-width: none;
}

.sc-footer {
	width: 100%;
}

.sc-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.sc-footer__main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

/* Left: info */
.sc-footer__info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: var(--sc-footer-h);
	padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
	padding-left: max(var(--sc-gutter), clamp(1.5rem, 4vw, 3.5rem));
	background: var(--sc-black);
}

.sc-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--sc-line);
}

.sc-footer__brand-link {
	display: inline-flex;
	align-items: center;
}

.sc-footer__logo {
	display: block;
	max-height: 44px;
	width: auto;
}

.sc-footer__ig {
	display: inline-flex;
	color: var(--sc-white);
}

.sc-footer__ig:hover {
	opacity: 0.65;
}

.sc-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
	border-bottom: 1px solid var(--sc-line);
}

.sc-footer__heading {
	margin: 0 0 1.1rem;
	font-family: var(--ml-font-menu);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--sc-white);
}

.sc-footer__col p,
.sc-footer__location p {
	margin: 0 0 0.55rem;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--sc-muted);
}

.sc-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.sc-footer__list a,
.sc-footer__col a {
	font-size: 16px;
	font-weight: 300;
	color: var(--sc-muted);
}

.sc-footer__list a:hover,
.sc-footer__col a:hover {
	color: var(--sc-white);
}

.sc-footer__location {
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

/* Right: brand panel */
.sc-footer__panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--sc-footer-h);
	overflow: hidden;
	background: var(--sc-black);
}

.sc-footer__media,
.sc-footer__media .sc-footer__img,
.sc-footer__veil {
	position: absolute;
	inset: 0;
}

.sc-footer__media .sc-footer__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 0.35;
}

.sc-footer__img--placeholder {
	background: radial-gradient(circle at 50% 30%, #4a4a4a, #111 70%);
}

.sc-footer__veil {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.45) 0%,
		rgba(0, 0, 0, 0.2) 45%,
		rgba(0, 0, 0, 0.75) 100%
	);
}

.sc-footer__panel-inner {
	position: relative;
	z-index: 2;
	max-width: 34rem;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
	text-align: center;
	color: var(--sc-white);
}

.sc-footer__title {
	margin: 0 0 1rem;
	font-family: var(--ml-font-heading);
	font-size: clamp(1.15rem, 1.8vw, 1.5rem);
	font-weight: 600;
	line-height: 1.3;
}

.sc-footer__text {
	margin: 0 0 1.75rem;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3;
	color: var(--sc-muted);
}

.sc-footer__tagline {
	margin: 0 0 1.75rem;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.sc-footer__credits {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.02em;
	color: var(--sc-muted);
}

.sc-footer__credits a:hover {
	color: var(--sc-white);
}

/* ---- Instagram strip ---- */
.sc-insta {
	position: relative;
	width: 100%;
	background: #0b0b0b;
}

.sc-insta__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--sc-insta-cols, 6), minmax(0, 1fr));
	align-items: start;
}

.sc-insta__item {
	position: relative;
	min-width: 0;
}

.sc-insta__link {
	display: block;
	position: relative;
	width: 100%;
}

/* Sin recorte ni hover: la foto se ve completa. */
.sc-insta__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.sc-insta__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	transform: translate(-40%, -50%);
	border-left: 16px solid rgba(255, 255, 255, 0.9);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	pointer-events: none;
}

/* Sits on the seam between the footer and the Instagram strip. */
.sc-insta__card {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 3;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	width: min(480px, 80vw);
	padding: 1.6rem 2rem;
	background: var(--sc-white);
	color: #111;
	border-radius: 20px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.sc-insta__label {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.sc-insta__dots {
	display: block;
	width: 46px;
	height: 1px;
	background: #111;
	position: relative;
}

.sc-insta__dots::before {
	content: "•••";
	position: absolute;
	left: -34px;
	top: -0.85em;
	font-size: 0.6rem;
	letter-spacing: 0.15em;
	color: #111;
}

.sc-insta__user {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #111;
	font-size: 0.85rem;
	font-weight: 400;
}

.sc-insta__user:hover {
	opacity: 0.6;
}

/* ---- Motion ---- */
@keyframes sc-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ---- Responsive ---- */
@media (max-width: 1400px) {
	:root {
		--sc-slider-w: 46vw;
	}

	.sc-fullscreen-menu__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.sc-fullscreen-menu__plus {
		display: none;
	}
}

@media (max-width: 1024px) {
	.sc-fullscreen-menu {
		grid-template-columns: 1fr;
	}

	.sc-fullscreen-menu__media {
		display: none;
	}
}

@media (max-width: 1100px) {
	.sc-insta__grid {
		grid-template-columns: repeat(min(var(--sc-insta-cols, 4), 4), minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	:root {
		--sc-footer-h: 420px;
		--sc-split-h: 360px;
	}

	.sc-areas__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-faq__grid {
		columns: 1;
	}

	.sc-bio__img {
		height: 420px;
	}

	.sc-service-hero__card {
		padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
	}

	.sc-service-method {
		grid-template-columns: 1fr;
	}

	.sc-service-method--media-left .sc-service-method__media {
		order: 0;
	}

	.sc-service-method__img {
		min-height: 260px;
	}

	.sc-split {
		grid-template-columns: 1fr;
	}

	.sc-split--media-right .sc-split__media {
		order: 0;
	}

	.sc-patho {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.sc-patho--media-right .sc-patho__media {
		order: 0;
	}

	.sc-patho__media {
		min-height: 320px;
	}

	.sc-contact-page {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.sc-contact-page__media {
		min-height: 320px;
	}

	.sc-footer__main {
		grid-template-columns: 1fr;
	}

	.sc-hero__card {
		grid-template-columns: 1fr;
	}

	.sc-hero__card-title {
		border-right: 0;
		border-bottom: 1px solid #d8d8d8;
		padding-right: 0;
		padding-bottom: 1rem;
	}
}

@media (max-width: 640px) {
	:root {
		--sc-share-w: 40px;
		--sc-gutter: calc(var(--sc-share-w) + 0.25rem);
	}

	.sc-social-share__label {
		font-size: 0.55rem;
		letter-spacing: 0.2em;
	}

	.sc-social-share__line {
		height: 48px;
	}

	.sc-header-bar {
		padding-left: calc(var(--sc-share-w) + 0.25rem);
	}

	.sc-header-logo {
		max-width: calc(100% - 70px);
	}

	.sc-header-logo__img {
		max-height: 34px;
	}

	.sc-fullscreen-menu__grid {
		grid-template-columns: 1fr;
	}

	.sc-fullscreen-menu__ig {
		margin-right: 2rem;
	}

	.sc-fullscreen-menu__brand-img {
		max-height: 44px;
	}

	.sc-areas__grid {
		grid-template-columns: 1fr;
	}

	.sc-blog__grid {
		grid-template-columns: 1fr;
	}

	.sc-bio__media {
		grid-template-columns: 1fr;
	}

	.sc-bio__img {
		height: 260px;
	}

	.sc-bio__card {
		margin-top: -40px;
	}

	.sc-service-hero__media {
		grid-template-columns: 1fr;
	}

	.sc-service-hero__img {
		height: 260px;
	}

	.sc-service-hero__content {
		margin-top: -40px;
	}

	.sc-single__img {
		height: 280px;
	}

	.sc-single__content {
		margin-top: -40px;
	}

	.sc-service-gallery__grid {
		grid-template-columns: 1fr;
	}

	.sc-map__frame {
		height: min(var(--sc-map-h, 500px), 340px);
	}

	.sc-contact {
		min-height: 620px;
		background-attachment: scroll;
	}

	.sc-contact__row {
		grid-template-columns: 1fr;
	}

	.sc-contact__card {
		padding: 1.5rem;
	}

	.sc-contact-page__row {
		grid-template-columns: 1fr;
	}

	.sc-footer__grid {
		grid-template-columns: 1fr;
	}

	.sc-insta__grid {
		grid-template-columns: repeat(min(var(--sc-insta-cols, 2), 2), minmax(0, 1fr));
	}

	.sc-insta__card {
		width: min(320px, 82vw);
		padding: 1.25rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
