/* Ajustes de la landing de Clínica Ángeles sobre ClinicMaster */

html[data-theme-color=skin-2] {
	--bs-body-color: #3b4350;
	--bs-body-color-rgb: 59, 67, 80;
	--bs-heading-color: #3b4350;
	--bs-heading-color-rgb: 59, 67, 80;
	--bs-primary: #47a3a8;
	--bs-secondary: #3b4350;
	--bs-light: #ffffff;
	--bs-primary-rgb: 71, 163, 168;
	--bs-secondary-rgb: 59, 67, 80;
	--bs-light-rgb: 255, 255, 255;
	--bs-primary-text-emphasis: #2f6e72;
	--bs-secondary-text-emphasis: #2a303a;
	--bs-light-text-emphasis: #3b4350;
	--bs-primary-bg-subtle: #e9f4f5;
	--bs-secondary-bg-subtle: #eef0f2;
	--bs-light-bg-subtle: #ffffff;
	--bs-primary-border-subtle: #b7dfe1;
	--bs-secondary-border-subtle: #c5c9cf;
	--bs-light-border-subtle: #e6e8eb;
	--bs-primary-btn-hover-bg: #3c8b8f;
	--bs-primary-btn-hover-border-color: #3c8b8f;
	--bs-secondary-btn-hover-bg: #2f3640;
	--bs-secondary-btn-hover-border-color: #2f3640;
	--bs-light-btn-hover-bg: #f3f4f6;
	--bs-light-btn-hover-border-color: #f3f4f6;
	--bs-link-color: #47a3a8;
	--bs-link-hover-color: #3b4350;
}

body {
	background-color: #ffffff;
}

::selection {
	color: #ffffff;
	background: #47a3a8;
}

.hero-banner.style-1 {
	background-color: #ffffff;
	background-image: linear-gradient(to right, rgb(243, 249, 249) 0%, rgba(243, 249, 249, 0) 50%, rgb(243, 249, 249) 100%);
}

.hero-banner.style-1::after {
	background-image: url(../images/hero-banner/pattern.webp?v=20261005h);
}

.hero-banner.style-1 .circle-wrapper {
	background-image: linear-gradient(to bottom, rgba(71, 163, 168, 0.15) 0%, rgba(243, 249, 249, 0) 80%);
	backdrop-filter: blur(20px);
}

.content-bx.style-2:not(.right) {
	background-image: linear-gradient(45deg, rgba(71, 163, 168, 0.12), transparent 78%);
}

.content-bx.style-2.right {
	background-image: linear-gradient(270deg, rgba(71, 163, 168, 0.12), transparent 78%);
}

#nosotros {
	position: relative;
	background-color: #f3f9f9;
	background-image: url("../images/background/bg4.webp?v=20261005h");
	background-repeat: repeat;
}

#nosotros::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 88%, #ffffff 100%);
	pointer-events: none;
	z-index: 0;
}

#nosotros > .container {
	position: relative;
	z-index: 1;
}

#blog,
#blog.bg-light {
	background-color: #ffffff !important;
	background-image: linear-gradient(to right, rgb(243, 249, 249) 0%, rgba(243, 249, 249, 0) 50%, rgb(243, 249, 249) 100%) !important;
}

.content-bx.style-1 {
	background-image: none;
	background-blend-mode: normal;
}

.content-bx.style-1.bg-color1,
.content-bx.style-1.bg-color2,
.content-bx.style-1.bg-color3 {
	border-radius: 20px;
}

.content-bx.style-1.bg-color1 {
	background-color: #ffffff;
	border-bottom: 4px solid #47a3a8;
	box-shadow: 0 12px 30px rgba(59, 67, 80, 0.08);
}

.content-bx.style-1.bg-color1 .content-text {
	color: #47a3a8 !important;
}

.content-bx.style-1.bg-color2 {
	background-color: #47a3a8;
}

.content-bx.style-1.bg-color3 {
	background-color: #3b4350;
}

.content-bx.style-1.bg-color2 .content-text,
.content-bx.style-1.bg-color2 .title,
.content-bx.style-1.bg-color3 .content-text,
.content-bx.style-1.bg-color3 .title {
	color: #ffffff !important;
}

.icon-bx-wraper.style-3 .dz-title:after,
.icon-bx-wraper.style-3.active .dz-title:after,
.icon-bx-wraper.style-3:hover .dz-title:after {
	width: 48px;
	height: 3px;
	opacity: 1;
	background: #47a3a8;
}

.icon-bx-wraper.style-3.active .dz-title:after,
.icon-bx-wraper.style-3:hover .dz-title:after {
	background: #ffffff;
}

#cita {
	background-color: #3b4350;
	background-image: none !important;
	background-blend-mode: normal;
}

footer.site-footer.footer-dark {
	--bs-heading-color: #ffffff;
	--bs-body-color: #ffffff;
	background-color: #3b4350;
	color: #ffffff;
}

footer.site-footer.footer-dark a:hover {
	color: #47a3a8;
}

.dz-preloader-2 .loader {
	width: 340px;
	white-space: nowrap;
}

.dz-preloader-2 .loader::before,
.dz-preloader-2 .loader::after {
	animation-name: load-angeles;
}

@keyframes load-angeles {
	0% {
		left: 0;
		height: 30px;
		width: 15px;
	}
	50% {
		height: 5px;
		width: 40px;
	}
	100% {
		left: 325px;
		height: 30px;
		width: 15px;
	}
}

html {
	scroll-behavior: smooth;
}

section[id],
.hero-banner[id] {
	scroll-margin-top: 130px;
}

.logo-header {
	width: 190px;
	height: 72px;
	background: transparent;
	padding: 0;
}

.logo-header img,
.footer-logo img {
	width: 100%;
	height: 64px;
	object-fit: contain;
}

.footer-logo {
	display: inline-block;
	background: transparent;
	padding: 0;
	margin-bottom: 16px;
	max-width: 210px;
}

@media only screen and (max-width: 991px) {
	.header-nav .logo-header {
		background: var(--bs-secondary);
		border-radius: 12px;
		width: 210px !important;
		padding: 8px 14px !important;
		margin: 18px 20px;
	}
}

.hero-banner.style-1 .title {
	font-size: clamp(42px, 4.6vw, 68px);
	line-height: 1.08;
}

.hero-banner.style-1 .hero-thumbnail .thumbnail {
	width: 78%;
	height: 78%;
	object-fit: cover;
	border-radius: 40px;
	margin-top: 40px;
}

.service-photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.team-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
	background: #f3e6c8;
}

.blog-photo {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.map-wrapper iframe {
	width: 100%;
	min-height: 460px;
	border: 0;
	border-radius: 20px;
}

.hours-table {
	width: 100%;
}

.hours-table td {
	padding: 8px 0;
	border-bottom: 1px solid rgba(48, 38, 109, 0.12);
}

.hours-table td:last-child {
	text-align: right;
	font-weight: 600;
	padding-left: 16px;
	white-space: nowrap;
}

.whatsapp-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1000;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
	transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
	color: #fff;
	background: #1ebe5d;
	transform: translateY(-3px);
}

.hero-whatsapp {
	white-space: normal;
	line-height: 1.3;
	padding-top: 10px;
	padding-bottom: 10px;
}

.hero-whatsapp span {
	display: block;
	white-space: nowrap;
}

.scroltop {
	bottom: 100px;
}

@media only screen and (max-width: 575px) {
	.whatsapp-float {
		width: 52px;
		height: 52px;
		right: 15px;
		bottom: 15px;
		font-size: 30px;
	}

	.scroltop {
		bottom: 78px;
	}
}

.section-head.style-1 .title,
.section-head.style-2 .title,
.section-head.style-3 .title,
.widget_services ul li a {
	text-transform: none;
}

.clinica-galeria {
	margin-top: 10px;
}

.galeria-slider {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 52px;
	align-items: center;
	gap: 14px;
}

.galeria-nav {
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--bs-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.galeria-nav:hover {
	background: var(--bs-secondary);
	color: #fff;
	transform: translateY(-2px);
}

.galeria-viewport {
	overflow: hidden;
	min-width: 0;
}

.galeria-track {
	display: flex;
	gap: 20px;
	transition: transform 0.45s ease;
}

.galeria-item {
	flex: 0 0 calc((100% - 40px) / 3);
	min-width: 0;
}

.galeria-item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 20px;
	display: block;
}

@media only screen and (max-width: 575px) {
	.galeria-slider {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		gap: 8px;
	}

	.galeria-nav {
		width: 42px;
		height: 42px;
		font-size: 18px;
	}
}

.mfp-bg {
	position: fixed;
	inset: 0;
	background: #3b4350;
	opacity: 0.92;
}

.mfp-wrap {
	position: fixed;
	inset: 0;
}

.mfp-container {
	position: absolute;
	inset: 0;
	text-align: center;
	padding: 24px 72px;
	box-sizing: border-box;
}

.mfp-container:before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.mfp-content {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 auto;
	text-align: left;
	max-width: 100%;
	z-index: 2;
}

.mfp-figure {
	line-height: 0;
	margin: 0;
}

.mfp-figure figure {
	margin: 0;
}

img.mfp-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 82vh;
	margin: 0 auto;
	padding: 0;
	border-radius: 16px;
}

.mfp-bottom-bar {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 10px;
	line-height: 1.4;
}

.mfp-title {
	color: #fff;
	font-size: 15px;
	padding-right: 72px;
}

.mfp-counter {
	position: absolute;
	top: 0;
	right: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
}

.mfp-preloader {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	color: #fff;
	text-align: center;
}

.mfp-s-ready .mfp-preloader,
.mfp-s-error .mfp-content {
	display: none;
}

button.mfp-close,
button.mfp-arrow {
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 3;
}

button.mfp-close {
	position: absolute;
	top: 12px;
	right: 16px;
	width: 44px;
	height: 44px;
	color: #fff;
	font-size: 36px;
	line-height: 44px;
}

.mfp-arrow {
	position: absolute;
	top: 50%;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	border-radius: 50%;
	background: var(--bs-primary);
	color: #fff;
	font-size: 0;
}

.mfp-arrow:hover {
	background: #fff;
}

.mfp-arrow:before,
.mfp-arrow:after {
	content: "";
	position: absolute;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.mfp-arrow:hover:before,
.mfp-arrow:hover:after {
	border-color: var(--bs-secondary);
}

.mfp-arrow-left {
	left: 16px;
}

.mfp-arrow-left:before,
.mfp-arrow-left:after {
	left: 20px;
	transform: rotate(-135deg);
}

.mfp-arrow-right {
	right: 16px;
}

.mfp-arrow-right:before,
.mfp-arrow-right:after {
	right: 20px;
	transform: rotate(45deg);
}

@media only screen and (max-width: 575px) {
	.mfp-container {
		padding: 56px 12px 48px;
	}

	.mfp-arrow {
		width: 42px;
		height: 42px;
		margin-top: -21px;
	}
}

#blog .icon-bx-wraper {
	cursor: pointer;
}

#blog .icon-bx-wraper.style-3 {
	padding: 26px 96px 22px 24px;
}

#blog .icon-bx-wraper.style-3 .dz-title {
	position: static;
	font-size: 22px;
	margin-bottom: 14px;
	padding-bottom: 0;
}

#blog .icon-bx-wraper.style-3 .dz-title::after {
	position: static;
	display: block;
	margin-top: 14px;
}

#blog .icon-bx-wraper.style-3 .icon-bx {
	width: 74px;
	height: 74px;
}

#blog .icon-bx-wraper.style-3 .icon-bx i {
	font-size: 42px;
}

#blog .icon-content {
	position: static;
}

#blog .icon-bx-wraper .stretched-link::after {
	z-index: 3;
}

#blog .icon-bx-wraper .dz-meta {
	margin: 18px 0 0;
}

#blog .icon-bx-wraper .dz-meta ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#blog .icon-bx-wraper .dz-meta li {
	display: inline-block;
	background-color: var(--bs-primary);
	color: #fff;
	border-radius: 15px;
	font-weight: 500;
	font-size: 13px;
	padding: 5px 15px 5px 23px;
	line-height: 1.4;
	position: relative;
}

#blog .icon-bx-wraper .dz-meta li::after {
	content: "";
	position: absolute;
	height: 6px;
	width: 6px;
	border-radius: 50%;
	background-color: #fff;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

#blog .icon-bx-wraper.style-3:hover .dz-meta li,
#blog .icon-bx-wraper.style-3.active .dz-meta li {
	background-color: #fff;
	color: var(--bs-secondary);
}

#blog .icon-bx-wraper.style-3:hover .dz-meta li::after,
#blog .icon-bx-wraper.style-3.active .dz-meta li::after {
	background-color: var(--bs-secondary);
}

.blog-modal .modal-content {
	border: 0;
	border-radius: 24px;
	overflow: hidden;
}

.blog-modal .modal-header {
	align-items: flex-start;
	background: var(--bs-secondary);
	color: #fff;
	border: 0;
	padding: 22px 28px;
}

.blog-modal .modal-title {
	color: #fff;
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 4px;
}

.blog-modal .article-date {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

.blog-modal .btn-close {
	filter: invert(1);
	margin-top: 6px;
}

.blog-modal .modal-body {
	padding: 8px 32px 36px;
	color: #3d3a55;
}

.blog-modal .modal-body h3 {
	color: var(--bs-secondary);
	font-size: 22px;
	font-weight: 600;
	margin: 28px 0 10px;
}

.blog-modal .modal-body h4 {
	color: var(--bs-secondary);
	font-size: 18px;
	font-weight: 600;
	margin: 18px 0 8px;
}

.blog-modal .modal-body ul {
	padding-left: 1.2rem;
	margin-bottom: 12px;
}

.blog-modal .modal-body li + li {
	margin-top: 6px;
}

.icon-bx-wraper.style-3:hover .list-check li,
.icon-bx-wraper.style-3.active .list-check li {
	color: #fff;
}

.cita-note {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.85);
}

#citaServicio {
	height: 58px;
	border-radius: 30px;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
	padding: 0 22px;
}

#citaServicio option {
	color: #222;
}
