/* Nurse escort / private nurse page - approved mock fidelity */

.lla-nurse-hero {
	position: relative;
	min-height: 405px;
	overflow: hidden;
	background: linear-gradient(180deg, #eef9ff 0%, #f9fcff 58%, #edf7f2 100%);
	border-bottom: 1px solid var(--lla-line);
}

.lla-nurse-hero__photo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 9%;
	color: #7aa6b6;
	font-weight: 700;
	letter-spacing: .08em;
	text-align: center;
	background:
		radial-gradient(circle at 80% 38%, rgba(255,255,255,.92) 0 13%, rgba(255,255,255,0) 14%),
		linear-gradient(120deg, rgba(255,255,255,.96) 0 38%, rgba(255,255,255,.40) 58%, rgba(255,255,255,.08) 100%);
}

.lla-nurse-hero__photo small {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .03em;
}

.lla-nurse-hero__copy {
	position: relative;
	z-index: 2;
	padding-top: 72px;
	padding-bottom: 68px;
}

.lla-nurse-hero__copy h1 {
	max-width: 760px;
	margin: 0 0 22px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(34px, 3vw, 46px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .04em;
	color: #244c79;
}

.lla-nurse-hero__copy p {
	max-width: 650px;
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: #3f4e56;
}

.lla-nurse-section {
	padding: 40px 0;
}

.lla-nurse-section--soft {
	background: #fbfcfd;
	padding-top: 34px;
	padding-bottom: 38px;
}

.lla-nurse-title {
	margin: 0 0 20px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .06em;
	color: #244c79;
}

.lla-nurse-use-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.lla-nurse-use-card {
	min-height: 150px;
	padding: 22px 12px 18px;
	border: 1px solid #e2edf2;
	border-radius: 8px;
	background: #fff;
	text-align: center;
	box-shadow: 0 6px 18px rgba(56, 87, 101, .04);
}

.lla-nurse-use-card:nth-child(1) { background: #f7fbff; }
.lla-nurse-use-card:nth-child(2) { background: #f6fbff; }
.lla-nurse-use-card:nth-child(3) { background: #fff7f8; }
.lla-nurse-use-card:nth-child(4) { background: #fffaf4; }
.lla-nurse-use-card:nth-child(5) { background: #f5fbf8; }

.lla-nurse-use-card img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin: 0 auto 14px;
}

.lla-nurse-use-card h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #294d6b;
}

.lla-nurse-strength {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
	gap: 42px;
	align-items: center;
}

.lla-nurse-strength__copy p {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.95;
	color: #4a555b;
}

.lla-nurse-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lla-nurse-badge {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 14px;
	border: 1px solid #dcecef;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	color: #2d7588;
}

.lla-nurse-badge::before {
	content: "●";
	margin-right: 7px;
	font-size: 8px;
	color: #45a8b0;
}

.lla-nurse-strength__photo {
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	border: 1px solid #e8eeee;
	background: linear-gradient(135deg, #f6fbfb, #edf7f8);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #83a2a8;
	font-weight: 700;
	letter-spacing: .07em;
}

.lla-nurse-strength__photo small {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	font-weight: 500;
}

.lla-nurse-cta {
	padding: 10px 0 36px;
}

.lla-nurse-cta__inner {
	padding: 28px 24px;
	border-radius: 8px;
	background: linear-gradient(105deg, #f5f8e9 0%, #fff8df 100%);
	text-align: center;
}

.lla-nurse-cta h2 {
	margin: 0 0 16px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 25px;
	font-weight: 600;
	color: #244c79;
}

.lla-nurse-cta__buttons {
	display: flex;
	justify-content: center;
	gap: 14px;
}

@media (max-width: 900px) {
	.lla-nurse-hero {
		min-height: 0;
	}

	.lla-nurse-hero__photo {
		position: relative;
		min-height: 230px;
		padding: 0;
		justify-content: center;
		background: linear-gradient(180deg, #edf8fd, #f6fbf8);
	}

	.lla-nurse-hero__copy {
		padding-top: 34px;
		padding-bottom: 42px;
	}

	.lla-nurse-use-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.lla-nurse-use-card {
		display: grid;
		grid-template-columns: 56px 1fr;
		align-items: center;
		min-height: 78px;
		padding: 11px 16px;
		text-align: left;
	}

	.lla-nurse-use-card img {
		width: 46px;
		height: 46px;
		margin: 0;
	}

	.lla-nurse-strength {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 640px) {
	.lla-nurse-hero__copy h1 {
		font-size: 31px;
		line-height: 1.5;
	}

	.lla-nurse-hero__copy p {
		font-size: 14px;
		line-height: 1.9;
	}

	.lla-nurse-section {
		padding: 36px 0;
	}

	.lla-nurse-section--soft {
		padding-top: 32px;
		padding-bottom: 34px;
	}

	.lla-nurse-title {
		font-size: 23px;
		margin-bottom: 18px;
	}

	.lla-nurse-cta {
		padding-top: 8px;
		padding-bottom: 30px;
	}

	.lla-nurse-cta__buttons {
		flex-direction: column;
	}
}

/* Approved nurse escort hero image */
.lla-nurse-hero__photo {
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.80) 35%, rgba(255,255,255,.05) 75%),
        url("../images/nurse-hero.png");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
}

.lla-nurse-hero__photo > span {
    display: none;
}

/* Nurse hero: move text to the right */
.lla-nurse-hero__copy {
    position: relative;
    z-index: 2;
    width: 46%;
    margin-left: auto;
    margin-right: 5%;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 767px) {
    .lla-nurse-hero__copy {
        width: auto;
        margin-left: 5%;
        margin-right: 5%;
    }
}

/* STEP 116: right-aligned copy and reversed gradient */
.lla-nurse-hero__photo {
    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,.03) 0%,
            rgba(255,255,255,.08) 35%,
            rgba(255,255,255,.65) 60%,
            rgba(255,255,255,.92) 100%
        ),
        url("../images/nurse-hero.png");
}

@media (min-width: 768px) {
    .lla-nurse-hero__copy {
        transform: translateX(80px);
    }
}

@media (max-width: 767px) {
    .lla-nurse-hero__copy {
        transform: none;
    }
}

/* Nurse service photo cards */
.lla-nurse-use-card {
    overflow: hidden;
    padding: 0 0 18px;
}
.lla-nurse-use-card img {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: cover;
    margin: 0 0 14px;
}
.lla-nurse-use-card h3 {
    padding: 0 10px;
}
@media (max-width: 767px) {
    .lla-nurse-use-card {
        display: block;
        padding: 0 0 14px;
        text-align: center;
    }
    .lla-nurse-use-card img {
        width: 100%;
        height: 190px;
        margin: 0 0 12px;
    }
}

/* STEP 231: Nurse hero mobile final layout */
@media screen and (max-width: 640px) {
    .lla-nurse-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .lla-nurse-hero__photo {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: 260px;
        min-height: 0;
        padding: 0;
        background-size: cover, cover;
        background-position: center, center;
        background-repeat: no-repeat;
    }

    .lla-nurse-hero__copy {
        display: contents;
    }

    .lla-nurse-hero__copy h1 {
        position: relative;
        z-index: 2;
        align-self: flex-end;
        box-sizing: border-box;
        width: 49%;
        min-height: 260px;
        margin: 0;
        padding: 35px 12px 12px 0;
        font-size: 21px;
        line-height: 1.55;
        color: #244c79;
    }

    .lla-nurse-hero__copy p {
        position: relative;
        z-index: 2;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding: 16px 20px 18px;
        background: #f7fbfd;
        font-size: 15px;
        line-height: 1.85;
    }
}

/* STEP 235: Mobile heading */
.lla-nurse-heading-mobile { display: none; }

@media screen and (max-width: 640px) {
    .lla-nurse-heading-desktop { display: none; }
    .lla-nurse-heading-mobile { display: inline; }

    .lla-nurse-hero__copy h1 {
        font-size: 20px;
        line-height: 1.5;
        letter-spacing: 0;
    }
}

/* STEP 237: Nurse mobile hero 470px overlay */
@media screen and (max-width: 640px) {
    .lla-nurse-hero {
        min-height: 470px;
        height: 470px;
        display: block;
    }

    .lla-nurse-hero__photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover, cover;
    }

    .lla-nurse-hero__copy {
        display: block;
        position: relative;
        z-index: 2;
        width: 49%;
        margin-left: auto;
        margin-right: 0;
        padding: 35px 12px 0 0;
    }

    .lla-nurse-hero__copy h1 {
        width: 100%;
        min-height: 0;
        padding: 0;
        margin: 0 0 16px;
    }

    .lla-nurse-hero__copy p {
        width: 100%;
        padding: 0;
        margin: 0;
        background: transparent;
        font-size: 13px;
        line-height: 1.7;
    }
}

/* STEP 238: Mobile heading 20px left */
@media screen and (max-width: 640px) {
    .lla-nurse-hero__copy h1 {
        transform: translateX(-20px);
    }
}

/* STEP 239: Mobile heading width adjustment */
@media screen and (max-width: 640px) {
    .lla-nurse-hero__copy h1 {
        width: calc(100% + 20px);
    }
}

/* STEP 240: Mobile heading wrapping fix */
@media screen and (max-width: 640px) {
    .lla-nurse-hero__copy h1 {
        width: calc(100% + 65px);
    }
}
