* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #3c3c3c;
    font-family:
        "Trebuchet MS",
        Arial,
        Helvetica,
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    position: relative;
    height: 830px;
    min-height: 680px;
    overflow: hidden;
    color: #ffffff;

    background-image:
        linear-gradient(
            rgba(18, 10, 11, .58),
            rgba(22, 8, 6, .62)
        ),
        linear-gradient(
            90deg,
            rgba(63, 13, 3, .42),
            rgba(0, 0, 0, .10),
            rgba(81, 23, 5, .35)
        ),
        url("/site-assets/images/hero-mountain.jpg");

    background-size: cover;
    background-position: center 48%;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 44%,
            rgba(255, 77, 20, .13),
            transparent 38%
        );

    pointer-events: none;
}


.nav {
    position: relative;
    z-index: 10;

    width: min(1135px, calc(100% - 50px));
    height: 82px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.4px;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 37px;

    font-size: 13px;
    font-weight: 600;
}


.nav-links a {
    transition:
        opacity .2s ease,
        color .2s ease;
}


.nav-links a:hover {
    opacity: .72;
}


.subscribe-nav {
    padding: 12px 18px;

    border-radius: 25px;

    background: #ff6845;

    color: #ffffff !important;
}


.hero-center {
    position: absolute;
    z-index: 5;

    top: 49%;
    left: 50%;

    width: calc(100% - 40px);

    transform: translate(-50%, -50%);

    text-align: center;
}


.hero-small {
    margin-bottom: 8px;

    font-size: 22px;
    letter-spacing: 10px;
    font-weight: 400;
}


.hero h1 {
    margin: 0;

    font-size: clamp(65px, 6.4vw, 105px);
    line-height: .96;

    font-weight: 700;
    letter-spacing: -4px;
}


.scroll-indicator {
    position: absolute;
    z-index: 8;

    left: 50%;
    bottom: 28px;

    width: 23px;
    height: 38px;

    transform: translateX(-50%);

    border: 2px solid #ffffff;
    border-radius: 15px;
}


.scroll-indicator span {
    position: absolute;

    top: 7px;
    left: 50%;

    width: 3px;
    height: 7px;

    transform: translateX(-50%);

    border-radius: 4px;

    background: #ffffff;

    animation: wheel 1.8s infinite;
}


@keyframes wheel {

    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 10px);
        opacity: 0;
    }

}


.hero-curve {
    position: absolute;
    z-index: 6;

    left: -5%;
    bottom: -72px;

    width: 110%;
    height: 110px;

    background: #ffffff;

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;
}


/* --------------------------------------------------
   TITLES
-------------------------------------------------- */

.section-title {
    text-align: center;
}


.section-title h2 {
    margin: 0;

    color: #3e4043;

    font-size: 39px;
    line-height: 1.2;
    font-weight: 700;
}


.section-title p {
    margin: 12px 0 0;

    color: #707070;

    font-size: 14px;
}


/* --------------------------------------------------
   SERVICES
-------------------------------------------------- */

.services {
    padding:
        64px 25px
        100px;
}


.services .section-title {
    margin-bottom: 60px;
}


.service-grid {
    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 29px;
}


.service-card {
    min-height: 188px;

    padding:
        28px 20px
        25px;

    border: 1px solid #d9d9d9;

    background: #ffffff;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 17px 38px
        rgba(0, 0, 0, .07);
}


.service-number {
    display: block;

    margin-bottom: 21px;

    color: #ff5738;

    font-size: 13px;
    font-weight: 700;
}


.service-card h3 {
    margin: 0 0 10px;

    color: #242424;

    font-size: 20px;
    font-weight: 500;
}


.service-card p {
    margin: 0;

    color: #737373;

    font-size: 14px;
    line-height: 1.5;
}


/* --------------------------------------------------
   ABOUT
-------------------------------------------------- */

.about {
    padding:
        80px 25px
        66px;

    background: #f4f7fb;
}


.about-inner {
    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        .95fr 1.05fr;

    gap: 90px;

    align-items: center;
}


.about-copy {
    align-self: start;

    padding-top: 5px;
}


.about-copy h2 {
    margin: 0 0 12px;

    color: #3d4042;

    font-size: 38px;
    font-weight: 700;
}


.about-copy p {
    max-width: 550px;

    margin: 0 0 9px;

    color: #727272;

    font-size: 14px;
    line-height: 1.55;
}


.about-images {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 28px;
}


.about-photo {
    height: 238px;

    overflow: hidden;
}


.about-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.photo-one img {
    object-position: center;
}


.photo-two img {
    object-position: center;
}


/* --------------------------------------------------
   TESTIMONIALS
-------------------------------------------------- */

.testimonials {
    padding:
        103px 25px
        80px;

    background: #ffffff;
}


.testimonials .section-title {
    margin-bottom: 48px;
}


.testimonial-grid {
    width: min(1110px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 29px;
}


.testimonial-card {
    min-height: 150px;

    padding:
        20px 21px;

    border: 1px solid #d6d6d6;

    background: #ffffff;
}


.client-row {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 16px;
}


.client-avatar {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #a4d9de,
            #568c95
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}


.client-row strong {
    color: #292929;

    font-size: 16px;
    font-weight: 500;
}


.testimonial-card p {
    margin: 0;

    color: #747474;

    font-size: 14px;
    line-height: 1.5;
}


/* --------------------------------------------------
   SUBSCRIBE / FOOTER
-------------------------------------------------- */

.subscribe {
    position: relative;

    min-height: 340px;

    padding:
        77px 25px
        20px;

    color: #ffffff;

    background-image:
        linear-gradient(
            rgba(3, 13, 23, .88),
            rgba(2, 10, 17, .94)
        ),
        url("/site-assets/images/hero-mountain.jpg");

    background-size: cover;
    background-position: center 70%;
}


.subscribe-inner {
    width: min(1120px, 100%);

    margin: 0 auto;
}


.subscribe h2 {
    margin:
        0 0 34px;

    font-size: 24px;
    font-weight: 600;
}


.subscribe-form {
    max-width: 635px;
}


.subscribe-form input {
    width: 100%;

    margin-bottom: 30px;

    padding:
        10px 10px
        12px;

    border: 0;
    border-bottom:
        1px solid
        rgba(255,255,255,.85);

    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 14px;
}


.subscribe-form input::placeholder {
    color:
        rgba(255,255,255,.55);
}


.subscribe-form button {
    padding:
        11px 20px;

    border: 0;
    border-radius: 24px;

    background: #ff6542;

    color: #ffffff;

    cursor: pointer;

    font-size: 14px;
}


.subscribe-form button:hover {
    background: #ff7658;
}


.subscribe-message {
    min-height: 20px;

    margin-top: 12px;

    color:
        rgba(255,255,255,.75);

    font-size: 12px;
}


.footer-line {
    height: 1px;

    margin-top: 27px;

    background:
        rgba(255,255,255,.34);
}


footer {
    padding-top: 24px;

    display: flex;

    align-items: center;

    gap: 4px;

    flex-wrap: wrap;

    color:
        rgba(255,255,255,.72);

    font-size: 12px;
}


footer a {
    color: #ef633f;
}


.footer-separator {
    color:
        rgba(255,255,255,.6);
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 900px) {

    .hero {
        height: 720px;
    }

    .nav-links {
        gap: 20px;
    }

    .service-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-copy {
        padding-top: 0;
    }

}


@media (max-width: 650px) {

    .nav {
        width: calc(100% - 30px);
    }

    .logo {
        font-size: 16px;
    }

    .nav-links a:not(.subscribe-nav) {
        display: none;
    }

    .subscribe-nav {
        padding: 10px 15px;
    }

    .hero {
        height: 650px;
    }

    .hero-small {
        font-size: 15px;
        letter-spacing: 6px;
    }

    .hero h1 {
        font-size: 54px;
        letter-spacing: -2px;
    }

    .services {
        padding-top: 50px;
    }

    .section-title h2,
    .about-copy h2 {
        font-size: 32px;
    }

    .about-images {
        gap: 12px;
    }

    .about-photo {
        height: 180px;
    }

    .subscribe {
        padding-top: 60px;
    }

}
