/* Child Custom CSS */

/* -------------------------------------------------------------------------- */
/* Header — logo más arriba, menú sin subir, menos espacio bajo el menú       */
/* -------------------------------------------------------------------------- */

#header {
	padding-top: 28px;
	padding-bottom: 10px;
}

#header .logo {
	margin-top: -12px;
	margin-bottom: 0;
}

#header .logo img,
#header .logo .custom-logo,
#header .custom-logo-link img {
	margin-top: 0 !important;
	max-height: 78px;
	width: auto;
	height: auto;
	display: block;
}

#header .custom-logo-link {
	display: inline-block;
	line-height: 0;
	vertical-align: top;
}

@media (min-width: 768px) {
	nav.main-menu {
		margin-top: 22px;
	}
}

/* Variación Reborn (por si se activa en el tema) */
.site-header-middle .row {
	padding-top: 0.6rem;
	padding-bottom: 0.8rem;
	min-height: 80px;
}

.site-header-middle .site-logo,
.site-header-middle-col-left .site-logo {
	margin-top: -0.8rem;
	align-self: flex-start;
}

.site-header-middle .site-logo img,
.site-header-middle .custom-logo-link img {
	margin-top: 0 !important;
	max-height: 78px;
	width: auto;
}

@media (min-width: 768px) {
	.site-header-middle-col-right {
		padding-top: 1.2rem;
	}
}

@media (max-width: 767px) {
	#header {
		padding-top: 18px;
		padding-bottom: 14px;
	}

	#header .logo {
		margin-top: 0;
		margin-bottom: 16px;
	}

	nav.main-menu {
		margin-top: 0;
	}
}

/* Barra superior — Doctor Wilton */
.mp-header-top .mp-header-top__tagline,
.mp-header-top .mp-header-top__contact {
	margin: 0;
}

.mp-header-top .mp-header-top__contact .phone {
	color: #fefefe;
	text-decoration: none;
}

.mp-header-top .mp-header-top__contact .phone:hover {
	color: var(--mp-teal-light, #d9f2f1);
}

@media (max-width: 991px) {
	.mp-header-top .mp-header-top__tagline,
	.mp-header-top .mp-header-top__contact {
		text-align: center;
		font-size: 13px;
		line-height: 1.5;
	}

	.header-top .text-right {
		text-align: center !important;
		margin-top: 6px;
	}
}

/* -------------------------------------------------------------------------- */
/* Menú principal — CTA "Agenda tu Cita"                                      */
/* -------------------------------------------------------------------------- */

nav.main-menu ul > li.menu-item-cta > a {
	display: inline-block;
	padding: 10px 18px !important;
	margin-left: 6px;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	color: #fff !important;
	background: linear-gradient(135deg, #3ab5b0 0%, #2d9a96 55%, #1c3d5e 100%);
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(58, 181, 176, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

nav.main-menu ul > li.menu-item-cta:hover > a,
nav.main-menu ul > li.menu-item-cta.current-menu-item > a {
	color: #fff !important;
	background: linear-gradient(135deg, #45c9c4 0%, #3ab5b0 55%, #254a6e 100%);
	box-shadow: 0 6px 22px rgba(58, 181, 176, 0.45);
	transform: translateY(-1px);
}

@media (max-width: 767px) {
	nav.main-menu ul > li.menu-item-cta > a {
		display: block;
		margin: 10px 0 0;
		text-align: center;
	}
}
