h1 {margin-top: 1em !important;}
.home main {margin-top: 0;}

/* HERO SECTION */
.hero {
    background-size: cover;
    position: relative;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background-position: center;
    overflow: hidden;
}
.hero .hero-inner:before {
    content: '';
    width: 70vw;
	min-width: 600px;
	max-width: 900px;
    height: 70vw;
	min-height: 600px;
	max-height: 900px;
    border-radius: 100%;
    aspect-ratio: 1;
    background-color: var(--background-dark);
    mix-blend-mode: multiply;
    position: absolute;
    top: 0;
    right: 50%;
    transform: scale(1.5) translateX(-20%);
	transform-origin: center;
    backdrop-filter: grayscale(100%) blur(1.5px);
    -webkit-backdrop-filter: grayscale(100%) blur(3px);
	z-index: 1;
	display: block;
}
.hero .hero-inner {width: 1440px; max-width: 1440px; margin: auto; padding: 90px 1em clamp(60px, 10vw, 90px);}
.hero .hero-text {max-width: 49ch; color: var(--background-light); position: relative; z-index: 1;}
.hero .hero-btns {letter-spacing: 1em; margin-top: 3em; display: flex; gap: 1em;}

/* TRUST SECTION */
.trust .trust-inner {
    display: grid;
    gap: 2em;
    max-width: 1440px;
    margin: auto;
    grid-template-columns: 1fr 1fr;
    padding: clamp(60px, 10vw, 90px) 1em;
}
.trust img {width: 100%; height: 100%; object-fit: cover; border-radius: 2em; box-shadow: 0px 6px 6px 0px rgb(0 0 0 / 12%);}
.trust .points {display: flex; flex-direction: column; gap: 1em; margin: 2em 0 0;}
.trust .point {margin: 0; padding: 2em; border-radius: 1em; box-shadow: 0px 6px 6px 0px rgb(0 0 0 / 12%); display: flex; align-items: center; gap: 1em;}
.trust .point:before {
    content: ''; 
    background-image: url(../images/icon-safe.svg);
    width: 3em;
    height: 3em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}
.trust .point:nth-of-type(2):before {background-image: url(../images/icon-house.svg);}
.trust .point:nth-of-type(3):before {background-image: url(../images/icon-money.svg);}

/* SERVICES SECTION */
.services {background: linear-gradient(#000 -60%, var(--background-dark));}
.services .services-inner {
    max-width: 1440px;
    margin: auto;
    padding: clamp(60px, 10vw, 90px) 1em;
    color: var(--background-light);
}
.services .services-inner h2 {margin-top: 0;}
.services .services-inner p {max-width: 70ch; margin: 2em 0;}
.services .services-inner #serviceCards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
    margin-top: 6em;
}
.services .services-inner #serviceCards a {
    height: clamp(230px, 30vw, 400px);
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0px 6px 6px rgb(0 0 0 / 12%);
    border-radius: 1em;
    padding: 1em;
    display: flex;
    align-items: self-end;
    color: var(--background-light);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    background-position: center;
}
.services .services-inner #serviceCards a:nth-of-type(even) {
    margin-top: 6em;
}
.services .services-inner #serviceCards a:before {
    content: '';
    position: absolute;
    height: 60%;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, var(--accent));
    mix-blend-mode: multiply;
}
.services .services-inner #serviceCards a:hover {
    transform: translateY(-1em);
    box-shadow: 0px 12px 6px rgb(0 0 0 / 24%);
    filter: brightness(1.2);
}
.services .services-inner #serviceCards a h3 {z-index: 1; text-shadow: 0px 0px 30px rgb(0 0 0 / 70%);}

/* MOBILE STYLES */
@media only screen and (max-width: 1300px) {
    .hero .hero-inner:before {right:35%;}
}
@media only screen and (max-width: 992px) {
    .hero .hero-inner:before {right: 20%;}
    .trust .trust-inner {grid-template-columns: 1fr;}
    .trust img {display: none;}
    .trust .points {margin: auto; flex-direction: row;}
    .trust .point {flex: 1 1 100%; text-align: center; flex-direction: column;}
    .services .services-inner #serviceCards {grid-template-columns: 1fr 1fr;}
}

@media only screen and (max-width: 768px) {
    .hero .hero-inner:before {right: auto; filter: brightness(0.5);}
    .trust .points {flex-direction: column;}
}