/*Home Hero*/
.hero{ position: relative; min-height: 620px; height: calc(100vh - 70px); max-height: 760px; overflow: hidden; background: var(--grey-111); }
.hero .bg{ position: absolute; inset: -11% 0; z-index: 0; background: url('../img/clinics.webp') center top/cover no-repeat; }
.hero:before{ content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.6) 100%); }
.hero .content{ position: relative; z-index: 2; align-items: flex-start; justify-content: center; }
.hero .text{ width: 100%; align-items: flex-start; }
.hero .text .eyebrow{ margin-bottom: 20px; color: var(--white); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.hero .text h1{ font-size: 66px; line-height: 1.04; letter-spacing: -1px; text-align: left; text-shadow: none; }
.hero .text h1 span{ }
.hero .text p{ max-width: 550px; margin: 28px 0 34px; font-size: 18px; line-height: 1.65; text-align: left; }
.hero .hero-note{ position: absolute; right: 0; bottom: 52px; z-index: 2; max-width: 210px; padding-top: 14px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; transform: translateY(40px); transition-duration: .5s; transition-delay: .7s; }
.hero .hero-note.active{ transform: translateY(0); }
.hero .hero-note:before{ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.6); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease-out) .9s; }
.hero .hero-note.active:before{ transform: scaleX(1); }
.hero .hero-note strong{ display: block; color: var(--white); font-family: var(--poppins); font-size: 14px; font-weight: 600; }

/*Home Services*/
.services-block{ padding: 108px 0; background: var(--white); }
.services-block .content{ display: flex; align-items: center; gap: 90px; }
.services-block .gallery{ width: 460px; height: 440px; flex-shrink: 0; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.services-block .gallery figure{ overflow: hidden; }
.services-block .gallery img{ width: 100%; height: 100%; object-fit: cover; }
.services-block .gallery .img-1{ grid-column: 1 / 2; grid-row: 1 / 3; }
.services-block .gallery .img-2{ grid-column: 2 / 3; grid-row: 1 / 2; }
.services-block .gallery .img-3{ grid-column: 2 / 3; grid-row: 2 / 3; }
.services-block .text{ flex: 1; }
.services-block .text .eyebrow{ margin-bottom: 18px; color: var(--green); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.services-block .text h2{ margin-bottom: 18px; font-size: 40px; line-height: 1.14; letter-spacing: -1px; color: var(--grey-111); }
.services-block .text p{ max-width: 520px; margin-bottom: 22px; font-size: 16px; line-height: 1.65; }
.services-block .text strong{ font-weight: bold; }
.services-block .text .button{ margin-top: 20px; }

/*Home Rebuild*/
.rebuild-block{ padding: 108px 0; background: var(--white-eee); }
.rebuild-block .head{ max-width: 620px; margin: 0 auto 64px; align-items: center; text-align: center; }
.rebuild-block .head .eyebrow{ margin-bottom: 18px; color: var(--green-a100); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.rebuild-block .head h2{ margin-bottom: 16px; font-size: 40px; line-height: 1.14; letter-spacing: 0; color: var(--grey-111); letter-spacing: -1px; }
.rebuild-block .head .description{ font-size: 16px; line-height: 1.65; }
.rebuild-block .rebuild-list{ display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.rebuild-block .rebuild-item{ height: 100%; }
.rebuild-block .rebuild-row{ height: 100%; display: flex; flex-direction: column; gap: 20px; padding: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.06); color: inherit; text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.rebuild-block .rebuild-row:hover{ transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.rebuild-block .rebuild-row:hover .button{ background-size: 100% 100%; color: var(--white); }
.rebuild-block .rebuild-row:hover .button .arrow{ transform: translateX(5px); }
.rebuild-block .rebuild-row .service-image{ width: 100%; height: 220px; flex-shrink: 0; overflow: hidden; margin-bottom: 15px; }
.rebuild-block .rebuild-row .service-image img{ width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.rebuild-block .rebuild-row:hover .service-image img{ transform: scale(1.08); }
.rebuild-block .rebuild-row .service-content{ display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 0 28px 28px; }
.rebuild-block .rebuild-row .service-content .button{ margin-top: auto; }
.rebuild-block .rebuild-row h3{ margin-bottom: 18px; color: var(--green-a500); font-size: 24px; font-weight: 600; line-height: 1.16; letter-spacing: 0; }
.rebuild-block .rebuild-row p{ margin-bottom: 28px; font-size: 15px; line-height: 1.6; }

/*Home Tech*/
.tech-block{ padding: 108px 0; background: var(--grey-111); color: var(--white); }
.tech-block .head{ max-width: 680px; margin: 0 auto 64px; align-items: center; text-align: center; }
.tech-block .head .eyebrow{ margin-bottom: 18px; color: var(--green-600); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.tech-block .head h2{ margin-bottom: 20px; font-size: 40px; line-height: 1.14; letter-spacing: 0; color: var(--white); }
.tech-block .head .description{ color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; }
.tech-block .tech-grid{ display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.tech-block .tech-col{}
.tech-block .tech-col h3{ display: flex; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--white); font-family: var(--poppins); font-size: 26px; font-weight: 600; line-height: 1.3; }
.tech-block .tech-col ul{ display: flex; flex-direction: column; gap: 22px; }
.tech-block .tech-col h3 i{ display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; flex-shrink: 0; background: var(--green); color: var(--white); font-size: 32px; line-height: 1; }
.tech-block .tech-col ul li{ position: relative; padding-left: 46px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; }
.tech-block .tech-col ul li i{ position: absolute; top: 0; left: 0; color: var(--green); font-size: 30px; line-height: 1.1; }
.tech-block .tech-col ul li strong{ color: var(--white); }

/*Home Intro*/
.intro-block{ position: relative; overflow: hidden; padding: 108px 0; background: linear-gradient(135deg, var(--green) 0%, #0d2b21 100%); color: var(--white); }
.intro-block:before{ }
.intro-block:after{ }
.intro-block .content{ max-width: 1040px; gap: 90px; position: relative; z-index: 1; }
.intro-block .left{ width: 580px; }
.intro-block .left .eyebrow{ margin-bottom: 18px; color: var(--white); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.intro-block .left h2{ margin-bottom: 24px; color: var(--white); font-size: 44px; line-height: 1.1; letter-spacing: 0; }
.intro-block .left p{ margin-bottom: 22px; color: var(--white); font-size: 17px; line-height: 1.4; }
.intro-block .left p strong{ color: var(--white); font-weight: 700; }
.intro-block .right{ width: 500px; height: 440px; position: relative; overflow: visible; }
.intro-block .right .gallery{ width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; gap: 10px; }
.intro-block .right .gallery figure{ overflow: hidden; }
.intro-block .right .gallery img{ width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; filter: saturate(.8) contrast(1.04); }
.intro-block .right .gallery .img-1{ grid-column: 1 / 3; grid-row: 1 / 2; }
.intro-block .right .gallery .img-2{ grid-column: 1 / 2; grid-row: 2 / 3; }
.intro-block .right .gallery .img-3{ grid-column: 2 / 3; grid-row: 2 / 3; }
.intro-block .left .button{ margin-top: 20px; }

/*Home Why*/
.why-block{ padding: 108px 0; background: var(--white-eee); }
.why-block .content{ display: flex; align-items: flex-start; gap: 90px; }
.why-block .left{ width: 320px; flex-shrink: 0; }
.why-block .left .eyebrow{ margin-bottom: 18px; color: var(--green-a100); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.why-block .left h2{ font-size: 34px; line-height: 1.14; letter-spacing: 0; color: var(--grey-111); }
.why-block .right{ flex: 1; display: grid; grid-template-columns: repeat(2,1fr); gap: 32px 40px; }
.why-block .why-item{ position: relative; padding-left: 22px; }
.why-block .why-item:before{ content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--green); transform: scaleY(0); transform-origin: top center; transition: transform .25s var(--ease-out); }
.why-block .why-item.active:before{ transform: scaleY(1); }
.why-block .why-item .icon{ display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--green); color: var(--white); font-size: 26px; line-height: 1; }
.why-block .why-item h3{ margin-bottom: 8px; color: var(--grey-111); font-family: var(--poppins); font-size: 17px; font-weight: 600; line-height: 1.3; }
.why-block .why-item p{ font-size: 14px; line-height: 1.55; }

/*Home Reasons*/
.reasons-block{ padding: 108px 0; background: var(--white); }
.reasons-block .head{ max-width: 620px; margin: 0 auto 64px; align-items: center; text-align: center; }
.reasons-block .head .eyebrow{ margin-bottom: 18px; color: var(--green); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.reasons-block .head h2{ font-size: 40px; line-height: 1.14; letter-spacing: 0; color: var(--grey-111); }
.reasons-block .reasons-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.reasons-block .reason-item{}
.reasons-block .reason-item .icon{ display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 26px; background: var(--green); color: var(--white); font-size: 42px; line-height: 1; }
.reasons-block .reason-item h3{ margin-bottom: 12px; color: var(--grey-111); font-family: var(--poppins); font-size: 22px; font-weight: 600; line-height: 1.3; }
.reasons-block .reason-item p{ font-size: 14px; line-height: 1.55; }

/*Home Press*/
.press-block{ padding: 108px 0; background: var(--white-eee); }
.press-block .head{ max-width: 620px; margin: 0 auto 64px; align-items: center; text-align: center; }
.press-block .head .eyebrow{ margin-bottom: 18px; color: var(--green-a100); font-family: var(--poppins); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.press-block .head h2{ margin-bottom: 16px; font-size: 40px; line-height: 1.14; letter-spacing: -1px; color: var(--grey-111); }
.press-block .head .description{ font-size: 16px; line-height: 1.65; }
.press-block .press-list{ display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.press-block .bottom{ display: flex; justify-content: center; margin-top: 48px; }

@media(max-width: 1023px){

	/*Home Hero*/
	.hero{ min-height: 560px; height: auto; max-height: none; }
	.hero .content{ min-height: 560px; padding-top: 80px; padding-bottom: 100px; }
	.hero .text h1{ font-size: 52px; }
	.hero .hero-note{ right: 20px; bottom: 36px; }

	/*Home Intro*/
	.intro-block{ padding: 80px 0; }
	.intro-block:after{ width: 55%; }
	.intro-block .content{ gap: 48px; }
	.intro-block .left{ width: 100%; }
	.intro-block .left h2{ font-size: 36px; }
	.intro-block .right{ width: min(100%,520px); height: 430px; margin-bottom: 0; }

	/*Home Services*/
	.services-block{ padding: 80px 0; }
	.services-block .content{ gap: 48px; }
	.services-block .gallery{ width: min(100%,340px); height: 400px; }
	.services-block .text h2{ font-size: 30px; }

	/*Home Rebuild*/
	.rebuild-block{ padding: 80px 0; }
	.rebuild-block .head{ margin-bottom: 48px; }
	.rebuild-block .head h2{ font-size: 34px; }
	.rebuild-block .rebuild-list{ grid-template-columns: 1fr; }
	.rebuild-block .rebuild-row h3{ font-size: 27px; }

	/*Home Tech*/
	.tech-block{ padding: 80px 0; }
	.tech-block .head{ margin-bottom: 48px; }
	.tech-block .head h2{ font-size: 34px; }
	.tech-block .tech-grid{ grid-template-columns: 1fr; gap: 24px; }

	/*Home Why*/
	.why-block{ padding: 80px 0; }
	.why-block .content{ flex-direction: column; gap: 40px; }
	.why-block .left{ width: 100%; }
	.why-block .left h2{ font-size: 34px; }

	/*Home Reasons*/
	.reasons-block{ padding: 80px 0; }
	.reasons-block .head{ margin-bottom: 48px; }
	.reasons-block .head h2{ font-size: 34px; }
	.reasons-block .reasons-grid{ grid-template-columns: repeat(2,1fr); gap: 32px; }

	/*Home Press*/
	.press-block{ padding: 80px 0; }
	.press-block .head{ margin-bottom: 48px; }
	.press-block .head h2{ font-size: 34px; }
	.press-block .press-list{ grid-template-columns: 1fr; }

}

@media(max-width: 767px){

	/*Home Hero*/
	.hero{ min-height: 540px; }
	.hero .bg{ inset: -2% 0; background-position: 5% top; }
	.hero:before{ background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.6) 100%); }
	.hero:after{ width: 72%; }
	.hero .content{ min-height: 540px; padding-top: 70px; padding-bottom: 112px; }
	.hero .content:before{ width: 270px; height: 270px; right: -95px; bottom: -145px; }
	.hero .text .eyebrow{ margin-bottom: 14px; font-size: 12px; }
	.hero .text h1{ font-size: 34px; line-height: 1.1; }
	.hero .text h1 span{ display: block; }
	.hero .text p{ margin: 20px 0 28px; font-size: 15px; line-height: 1.6; }
	.hero .text .button{ width: 100%; justify-content: center; }
	.hero .hero-note{ left: 20px; right: 20px; bottom: 30px; max-width: none; }

	/*Home Intro*/
	.intro-block{ padding: 64px 0; }
	.intro-block:before{ width: 340px; height: 340px; top: -210px; left: -190px; }
	.intro-block:after{ width: 65%; }
	.intro-block .content{ gap: 38px; }
	.intro-block .left .eyebrow{ margin-bottom: 14px; }
	.intro-block .left h2{ font-size: 30px; }
	.intro-block .left p{ font-size: 15px; }
	.intro-block .right{ height: 350px; }

	/*Home Services*/
	.services-block{ padding: 64px 0; }
	.services-block .content{ flex-direction: column; gap: 32px; }
	.services-block .gallery{ width: 100%; height: 340px; gap: 8px; }
	.services-block .text h2{ font-size: 26px; }

	/*Home Rebuild*/
	.rebuild-block{ padding: 64px 0; }
	.rebuild-block .head{ margin-bottom: 36px; }
	.rebuild-block .head h2{ font-size: 28px; }
	.rebuild-block .rebuild-row h3{ font-size: 24px; }

	/*Home Tech*/
	.tech-block{ padding: 64px 0; }
	.tech-block .head{ margin-bottom: 36px; }
	.tech-block .head h2{ font-size: 28px; }
	.tech-block .tech-col{}
	.tech-block .tech-col h3{ font-size: 22px; }
	.tech-block .tech-col ul li{ font-size: 16px; }

	/*Home Why*/
	.why-block{ padding: 64px 0; }
	.why-block .left h2{ font-size: 28px; }
	.why-block .right{ grid-template-columns: 1fr; gap: 24px; }

	/*Home Reasons*/
	.reasons-block{ padding: 64px 0; }
	.reasons-block .head{ margin-bottom: 36px; }
	.reasons-block .head h2{ font-size: 28px; }
	.reasons-block .reasons-grid{ grid-template-columns: 1fr; gap: 24px; }
	.reasons-block .reason-item{}

	/*Home Press*/
	.press-block{ padding: 64px 0; }
	.press-block .head{ margin-bottom: 36px; }
	.press-block .head h2{ font-size: 28px; }
	.press-block .bottom{ margin-top: 36px; }

}
