/* Internal pages for Ottica Iezzi — built on the Ophtical visual system. */
:root{
	--iezzi-blue: #285d84;
	--iezzi-peach: #f29470;
	--iezzi-pale: #f3f8fc;
	--iezzi-ink: #203d57;
}

.inner-page{
	background: #fff;
	color: var(--pbmit-body-typography-color);
}

.inner-header{
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 10px 30px 0;
	padding: 18px 30px;
	border-radius: 20px;
	background: var(--iezzi-pale);
}

.inner-brand{
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
}

.inner-brand img{
	width: 118px;
	height: 118px;
	object-fit: contain;
}

.inner-nav{
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	gap: clamp(18px, 3vw, 46px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.inner-nav a{
	color: var(--iezzi-ink);
	font-weight: 600;
}

.inner-nav a[aria-current="page"],
.inner-nav a:hover{
	color: var(--iezzi-peach);
}

.inner-contact-link{
	flex: 0 0 auto;
	color: var(--iezzi-blue);
	font-weight: 600;
	white-space: nowrap;
}

.inner-contact-link i{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-right: 9px;
	border-radius: 50%;
	color: #fff;
	background: var(--iezzi-blue);
}

.page-hero{
	position: relative;
	display: flex;
	align-items: end;
	min-height: 345px;
	margin: 10px 30px 0;
	padding: 54px 7%;
	overflow: hidden;
	border-radius: 20px;
	background-color: var(--iezzi-blue);
	background-image: linear-gradient(90deg, rgba(22, 55, 80, .86) 0%, rgba(22, 55, 80, .62) 45%, rgba(22, 55, 80, .16) 100%), url('../img/promo-poster.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover, 110% auto;
}

.page-hero::after{
	position: absolute;
	top: 35px;
	right: 7%;
	width: 150px;
	height: 150px;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 50%;
	content: '';
}

.page-hero-content{
	position: relative;
	z-index: 1;
	max-width: 690px;
}

.page-hero .breadcrumb,
.page-hero h1,
.page-hero p{
	color: #fff;
}

.page-hero .breadcrumb{
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.page-hero h1{
	margin: 0;
	font-size: clamp(42px, 5vw, 68px);
	line-height: .98;
}

.page-hero p{
	max-width: 580px;
	margin: 20px 0 0;
	font-size: 18px;
}

.inner-main{
	padding: 120px 0;
}

.section-kicker{
	margin: 0 0 12px;
	color: var(--iezzi-peach);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.section-title{
	margin: 0;
	color: var(--iezzi-ink);
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.03;
}

.page-copy{
	font-size: 17px;
	line-height: 1.7;
}

.page-copy p:last-child{
	margin-bottom: 0;
}

.story-layout,
.contact-layout{
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(42px, 7vw, 110px);
	align-items: center;
}

.story-photo{
	position: relative;
	min-height: 570px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--iezzi-pale);
}

.story-photo img{
	width: 135%;
	height: auto;
	max-width: none;
	transform: translateX(-13%);
	transform-origin: top center;
}

.story-badge{
	position: absolute;
	bottom: 28px;
	left: 28px;
	width: 142px;
	height: 142px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	background: var(--iezzi-blue);
}

.values-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 55px;
}

.value-item{
	padding-top: 20px;
	border-top: 1px solid rgba(32, 61, 87, .16);
}

.value-item strong{
	display: block;
	margin-bottom: 8px;
	color: var(--iezzi-ink);
	font-size: 19px;
}

.value-item p{
	margin: 0;
	line-height: 1.5;
}

.services-intro{
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 55px;
}

.services-intro .page-copy{
	max-width: 570px;
}

.service-list{
	border-top: 1px solid rgba(32, 61, 87, .16);
}

.service-row{
	display: grid;
	grid-template-columns: 88px minmax(190px, .8fr) minmax(260px, 1.35fr) auto;
	gap: 28px;
	align-items: center;
	padding: 32px 0;
	border-bottom: 1px solid rgba(32, 61, 87, .16);
}

.service-number{
	color: var(--iezzi-peach);
	font-size: 18px;
	font-weight: 700;
}

.service-row h2{
	margin: 0;
	color: var(--iezzi-ink);
	font-size: 28px;
	line-height: 1.1;
}

.service-row p{
	margin: 0;
	line-height: 1.55;
}

.service-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	color: #fff;
	background: var(--iezzi-blue);
	font-size: 20px;
}

.service-note{
	margin-top: 80px;
	padding: 48px;
	border-radius: 20px;
	color: #fff;
	background: var(--iezzi-blue);
}

.service-note h2,
.service-note p{
	color: #fff;
}

.team-intro{
	max-width: 760px;
	margin-bottom: 65px;
}

.team-profile{
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(35px, 6vw, 90px);
	align-items: center;
	padding: 50px 0;
	border-top: 1px solid rgba(32, 61, 87, .16);
}

.team-profile:last-of-type{
	border-bottom: 1px solid rgba(32, 61, 87, .16);
}

.team-profile:nth-child(even) .team-image{
	background: var(--iezzi-peach);
}

.team-image{
	height: 340px;
	overflow: hidden;
	border-radius: 18px;
	background: var(--iezzi-pale);
}

.team-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.team-profile h2{
	margin: 0;
	color: var(--iezzi-ink);
	font-size: 38px;
}

.team-role{
	margin: 8px 0 20px;
	color: var(--iezzi-peach);
	font-size: 17px;
	font-weight: 700;
}

.team-points{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.team-points li{
	padding-top: 12px;
	border-top: 1px solid rgba(32, 61, 87, .16);
	color: var(--iezzi-ink);
	font-weight: 600;
}

.contact-details{
	padding: 42px;
	border-radius: 20px;
	background: var(--iezzi-pale);
}

.contact-detail{
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 16px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(32, 61, 87, .13);
}

.contact-detail:last-child{
	border-bottom: 0;
}

.contact-detail i{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: #fff;
	background: var(--iezzi-blue);
}

.contact-detail strong,
.contact-detail p{
	display: block;
	margin: 0;
}

.contact-detail strong{
	margin-bottom: 4px;
	color: var(--iezzi-ink);
}

.contact-form-wrap{
	padding: 48px;
	border: 1px solid rgba(32, 61, 87, .14);
	border-radius: 20px;
}

.contact-form-wrap label{
	display: block;
	margin-bottom: 7px;
	color: var(--iezzi-ink);
	font-weight: 700;
}

.contact-form-wrap .form-control{
	min-height: 54px;
	margin-bottom: 20px;
	border: 1px solid rgba(32, 61, 87, .18);
	border-radius: 10px;
}

.contact-form-wrap textarea.form-control{
	min-height: 142px;
	resize: vertical;
}

.inner-footer{
	margin: 0 30px 30px;
	padding: 44px 6%;
	border-radius: 20px;
	color: #fff;
	background: var(--iezzi-blue);
}

.inner-footer-row{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.inner-footer p,
.inner-footer a{
	margin: 0;
	color: #fff;
}

.inner-footer nav{
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

@media (max-width: 991px){
	.inner-header{
		gap: 20px;
		padding: 16px 24px;
	}

	.inner-brand img{
		width: 82px;
		height: 82px;
	}

	.inner-contact-link{
		display: none;
	}

	.inner-nav{
		justify-content: flex-end;
		gap: 18px;
	}

	.story-layout,
	.contact-layout{
		grid-template-columns: 1fr;
	}

	.story-photo{
		max-width: 520px;
		min-height: 500px;
	}

	.service-row{
		grid-template-columns: 64px minmax(180px, .8fr) minmax(220px, 1.2fr) auto;
		gap: 20px;
	}
}

@media (max-width: 767px){
	.inner-header{
		margin: 0;
		padding: 16px 20px;
		border-radius: 0;
	}

	.inner-brand img{
		width: 92px;
		height: 92px;
	}

	.inner-nav{
		justify-content: flex-start;
		gap: 10px 16px;
		flex-wrap: wrap;
	}

	.inner-nav a{
		font-size: 14px;
	}

	.page-hero{
		min-height: 290px;
		margin: 0;
		padding: 38px 22px;
		border-radius: 0;
		background-size: cover, 160% auto;
	}

	.page-hero::after{
		width: 110px;
		height: 110px;
		top: 20px;
		right: 18px;
	}

	.page-hero p{
		font-size: 16px;
	}

	.inner-main{
		padding: 70px 0;
	}

	.values-grid,
	.team-points{
		grid-template-columns: 1fr;
	}

	.values-grid{
		gap: 18px;
		margin-top: 38px;
	}

	.story-photo{
		min-height: 400px;
	}

	.story-photo img{
		width: 145%;
		transform: translateX(-16%);
	}

	.story-badge{
		width: 112px;
		height: 112px;
		padding: 13px;
		font-size: 13px;
	}

	.services-intro{
		display: block;
		margin-bottom: 38px;
	}

	.service-row{
		grid-template-columns: 48px 1fr;
		gap: 12px 18px;
		padding: 27px 0;
	}

	.service-row p{
		grid-column: 2;
	}

	.service-icon{
		grid-column: 2;
		grid-row: 1 / span 2;
		justify-self: end;
		width: 48px;
		height: 48px;
	}

	.service-row h2{
		padding-right: 54px;
		font-size: 25px;
	}

	.service-note,
	.contact-details,
	.contact-form-wrap{
		padding: 30px 24px;
	}

	.team-intro{
		margin-bottom: 36px;
	}

	.team-profile{
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 38px 0;
	}

	.team-image{
		max-width: 280px;
		height: 320px;
	}

	.team-profile h2{
		font-size: 32px;
	}

	.inner-footer{
		margin: 0;
		border-radius: 0;
	}

	.inner-footer-row{
		align-items: flex-start;
		flex-direction: column;
	}
}
