/* =========================================================
   Estilos personalizados Home 2026 Sensa-Laser Center
   Archivo externo: wp-content/themes/Divi-child/home-2026.css
   ========================================================= */

/* 1. BANNER PRINCIPAL (480px fijo, centrado vertical del bloque de texto) */
.sl-hero-section {
	position: relative;
	width: 100%;
	min-height: 480px;
	height: 480px;
	background-image: url('../../../wp-content/uploads/2026/02_banner-principal_1920x640.jpg');
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 !important;
	margin: 0;
}

.sl-hero-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1180px;
	height: 100%;
	margin: 0 auto;
	padding: 80px 30px 36px;
	display: flex;
	align-items: center;
}

.sl-hero-content {
	max-width: 560px;
	text-align: left;
}

.sl-hero-eyebrow {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 45px;
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #8f6b71;
	margin: 0 0 16px 0 !important;
	padding: 0;
	line-height: 1.15;
}

.sl-hero-subtitle {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 28px;
	font-weight: 300;
	line-height: 1.38;
	color: #4a4a4a;
	margin: 0 0 32px 0;
}

.sl-btn-link {
	display: inline-block;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	color: #a47b81;
	border-bottom: 1px solid #a47b81;
	padding-bottom: 6px;
	transition: all 0.25s ease;
}

.sl-btn-link:hover {
	color: #5f4247;
	border-bottom-color: #5f4247;
	padding-left: 4px;
}

/* 2. SECCIÓN ¿QUÉ ESTÁS BUSCANDO? (3 tarjetas cuadradas) */
.sl-search-section {
	background-color: #ffffff;
	padding: 70px 0 80px 0 !important;
}

.sl-section-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px auto;
	padding: 0 20px;
}

.sl-section-header h2 {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #a47b81;
	margin-bottom: 14px;
}

.sl-section-header p {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: #6e6e6e;
	margin: 0;
}

.sl-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.sl-card {
	position: relative;
	aspect-ratio: 1 / 1;
	min-height: 360px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 34px 30px;
	overflow: hidden;
	color: #ffffff;
}

.sl-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(32, 28, 30, 0.22) 0%, rgba(28, 22, 24, 0.72) 100%);
	z-index: 1;
	transition: background 0.3s ease;
}

.sl-card:hover::before {
	background: linear-gradient(180deg, rgba(32, 28, 30, 0.30) 0%, rgba(28, 22, 24, 0.80) 100%);
}

.sl-card-inner {
	position: relative;
	z-index: 2;
}

.sl-card-title {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ffffff !important;
	margin: 0 0 12px 0;
}

.sl-card-desc {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 20px 0;
}

.sl-card-link {
	display: inline-block;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ffffff !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.75);
	padding-bottom: 4px;
	transition: opacity 0.2s ease, padding-left 0.2s ease;
}

.sl-card-link:hover {
	opacity: 0.85;
	padding-left: 4px;
}

/* 3. TRAYECTORIA Y EXPERIENCIA (600px, fondo lila, Dra. Olga) */
.sl-doctor-section {
	background-color: #eeebf5;
	min-height: 600px;
	display: flex;
	align-items: stretch;
	padding: 0 !important;
	overflow: hidden;
}

.sl-doctor-wrapper {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	align-items: center;
}

.sl-doctor-text {
	padding: 60px 50px 60px 40px;
	color: #3f383a;
}

.sl-doctor-text h2 {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 36px;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 1.4;
	text-transform: uppercase;
	color: #a47b81;
	margin-bottom: 22px;
}

.sl-doctor-intro {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
	color: #463f41;
	margin-bottom: 28px;
	max-width: 540px;
}

.sl-doctor-signature {
	border-left: 2px solid #8f6b71;
	padding-left: 18px;
	margin-bottom: 32px;
}

.sl-doctor-signature strong {
	display: block;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #a47b81;
	margin-bottom: 4px;
}

.sl-doctor-role {
	display: block;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #6b4e53;
	margin-bottom: 8px;
	font-style: italic;
}

.sl-doctor-bio {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.6;
	color: #463f41;
	margin: 0 0 8px 0;
	max-width: 500px;
}

.sl-doctor-cedulas {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #5b4549;
	margin: 0;
}

.sl-doctor-photo {
	height: 600px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.sl-doctor-photo img {
	width: 100%;
	height: 100%;
	max-height: 600px;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* 4. CIERRE (Fondo recepción 07 + recuadro blanco centrado) */
.sl-cta-section {
	position: relative;
	min-height: 720px;
	background-image: url('../../../wp-content/uploads/2026/07_fondo-cierre-recepcion_1440x678.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px 20px !important;
}

.sl-cta-card {
	background-color: #ffffff;
	max-width: 560px;
	width: 100%;
	padding: 48px 42px;
	text-align: center;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.sl-cta-card h2 {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: .5px;
	line-height: 1.45;
	text-transform: uppercase;
	color: #a47b81;
	margin: 0 0 16px 0;
}

.sl-cta-card p {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: #666666;
	margin: 0 0 28px 0;
}

.sl-cta-button {
	display: inline-block;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #ffffff !important;
	background-color: #a47b81;
	padding: 15px 34px;
	text-decoration: none;
	transition: background-color 0.25s ease;
}

.sl-cta-button:hover {
	background-color: #886167;
}

/* 5. AJUSTES FOOTER 2026 */
#footer-bottom {
	text-align: center;
}

#footer-bottom .info1 a,
#footer-bottom .sl-footer-link {
	color: inherit;
	text-decoration: underline;
}

.sl-cofepris-block {
	margin: 14px auto 0 auto;
	max-width: 760px;
	text-align: center !important;
	font-size: 12px;
	line-height: 1.7;
}

.sl-footer-social {
	list-style: none;
	padding: 0;
	margin: 22px auto 0 auto;
	display: flex;
	justify-content: center;
	gap: 14px;
}

.sl-footer-social li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: #818181;
	color: #ffffff !important;
	text-decoration: none;
	transition: background-color 0.25s ease;
}

.sl-footer-social li a:hover {
	background-color: #a47b81;
}

/* 6. MENÚ MÓVIL */
@media only screen and (max-width: 1180px) {
	#mega-menu-wrap-primary-menu > ul#mega-menu-primary-menu {
		display: none !important;
	}

	#et_mobile_nav_menu {
		display: block !important;
		position: relative;
		z-index: 9999;
	}

	#et_mobile_nav_menu .mobile_nav {
		position: relative;
		z-index: 9999;
	}

	#et_mobile_nav_menu .mobile_menu_bar_toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		cursor: pointer;
		position: relative;
		z-index: 10000;
	}

	#et_mobile_nav_menu .mobile_nav.closed .et_mobile_menu {
		display: none !important;
	}

	#et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu {
		display: block !important;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		background-color: #ffffff !important;
		border-top: 1px solid #e5e8eb;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
		z-index: 10001;
		padding: 12px 20px;
		margin: 0;
		list-style: none;
		text-align: left;
	}
}

#sl-mobile-drawer {
	display: none;
	position: fixed;
	top: 78px;
	left: 0;
	right: 0;
	width: 100%;
	max-height: calc(100vh - 78px);
	overflow-y: auto;
	background-color: #ffffff;
	border-top: 1px solid #e5e8eb;
	border-bottom: 2px solid #8f6b71;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
	z-index: 999999;
	padding: 14px 20px 22px;
	box-sizing: border-box;
}

#sl-mobile-drawer.is-open {
	display: block !important;
}

#sl-mobile-drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sl-mobile-drawer li {
	border-bottom: 1px solid #f0ecec;
}

#sl-mobile-drawer a {
	display: block;
	padding: 12px 4px;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #3f383a;
	text-decoration: none;
}

#sl-mobile-drawer a:hover {
	color: #8f6b71;
}

#sl-mobile-drawer .sl-sub-list {
	display: none;
	padding-left: 16px;
	border-left: 2px solid #d8c6ca;
	margin: 4px 0 10px 4px;
}

#sl-mobile-drawer li.is-expanded > .sl-sub-list {
	display: block;
}

#sl-mobile-drawer .sl-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#sl-mobile-drawer .sl-item-row > a {
	flex: 1;
}

#sl-mobile-drawer .sl-sub-toggle {
	background: none;
	border: none;
	color: #8f6b71;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 12px;
	cursor: pointer;
}

/* 7. RESPONSIVO */
@media only screen and (max-width: 980px) {
	.sl-hero-section {
		height: auto;
		min-height: 420px;
		background-position: 72% center;
	}
	.sl-hero-section::before {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.90) 0%,
			rgba(255, 255, 255, 0.72) 62%,
			rgba(255, 255, 255, 0.25) 100%
		);
		z-index: 1;
		pointer-events: none;
	}
	.sl-hero-container {
		padding: 76px 20px 32px;
	}
	.sl-hero-eyebrow {
		font-size: 28px;
		letter-spacing: 1px;
		line-height: 1.2;
		word-break: break-word;
	}
	.sl-hero-subtitle {
		font-size: 20px;
		margin-bottom: 24px;
	}
	.sl-cards-grid {
		grid-template-columns: 1fr;
		max-width: 480px;
	}
	.sl-doctor-section {
		min-height: auto;
	}
	.sl-doctor-wrapper {
		grid-template-columns: 1fr;
	}
	.sl-doctor-text {
		padding: 48px 25px;
	}
	.sl-doctor-photo {
		height: 460px;
	}
}

@media only screen and (max-width: 600px) {
	.sl-hero-container {
		padding: 72px 18px 28px;
	}
	.sl-hero-eyebrow {
		font-size: 22px;
		letter-spacing: 0.5px;
	}
	.sl-hero-subtitle {
		font-size: 17px;
	}
	.sl-section-header h2 {
		font-size: 18px;
		letter-spacing: 0.12em;
	}
	.sl-cta-card {
		padding: 36px 24px;
	}
}