/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
    margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
    /* 1 */
    display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
    margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
    font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
    font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
    background-color: #ff0;
    color: #000;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
    display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
    border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
    overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
    display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
    display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
    display: none;
}

body {
    background: #ededed;
    color: #000;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
}

img {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

h2 {
    font-family: sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    margin: 4rem 0 3rem;
    font-size: 20px;
    font-weight: 600;
}

h3 {
    color: #ad9841;
    font-size: 1.2em;
    font-weight: 300;
    font-style: italic;
    text-align: left;
    max-width: 800px;
    margin: 3.2rem auto 0 auto;
}

p {
    font-size: 16px;
    font-weight: 600;
    line-height: 29px;
    text-align: left;
    margin: 1.3rem auto;
}

@media only screen and (min-width: 530px) {
    p {
        text-align: justify;
    }
}

.wrapper {
    position: relative;
    padding: 2rem;
    width: 90%;
    max-width: 1066px;
    margin: 3rem auto;
    text-align: center;
    background: #fff;
}

.wrapper:first-of-type {
    margin-top: 2rem;
}

@media only screen and (min-width: 530px) {
    .wrapper {
        padding: 3rem;
    }
}

@media only screen and (min-width: 1010px) {
    .wrapper {
        padding: 2rem;
    }
}

.wrapper__side-title {
    font-family: sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    position: absolute;
    transform-origin: left;
    transform: rotate(270deg);
    top: 50%;
    left: -0.6rem;
}

.wrapper__side-title h1 {
    font-weight: 600;
    font-size: 10px;
}

@media only screen and (min-width: 530px) {
    .wrapper__side-title {
        left: -0.8rem;
    }
    .wrapper__side-title h1 {
        font-size: 11px;
    }
}

@media only screen and (min-width: 800px) {
    .wrapper__side-title {
        left: -1.2rem;
    }
    .wrapper__side-title h1 {
        font-size: 12px;
    }
}

@media only screen and (min-width: 1010px) {
    .wrapper__side-title {
        left: -2rem;
    }
}

.wrapper__side-number {
    position: absolute;
    top: -2.05rem;
    right: -16px;
    font-weight: 600;
}

.wrapper__side-number p {
    font-size: 8px;
}

@media only screen and (min-width: 530px) {
    .wrapper__side-number {
        right: -25px;
        top: -1.85rem;
    }
    .wrapper__side-number p {
        font-size: 11px;
    }
}

@media only screen and (min-width: 800px) {
    .wrapper__side-number {
        right: -35px;
    }
    .wrapper__side-number p {
        font-size: 12px;
    }
}

@media only screen and (min-width: 1010px) {
    .wrapper__side-number {
        right: -45px;
    }
}

.primary-nav {
    font-family: sans-serif;
    font-weight: 200;
    text-transform: uppercase;
}

.primary-nav__nav-items {
    list-style: none;
    font-size: 12px;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 101%;
    margin: 0;
    padding: 5rem;
    overflow: visible;
    box-shadow: 1px 1px 10px #ddd;
}

.primary-nav__nav-items li {
    margin-bottom: 0.6rem;
}

.primary-nav h2 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
    margin-top: 1rem;
}

.primary-nav a {
    text-decoration: none;
    color: #000;
    transition: all 0.15s ease-out;
}

.primary-nav a:hover {
    color: #ad9841;
    filter: blur(1px);
}

.primary-nav__nav-wrapper {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.primary-nav__nav-wrapper--is-expanded {
    opacity: 1;
}

.primary-nav__nav-wrapper--is-expanded .primary-nav__main-logo--mobile {
    display: relative;
    margin-bottom: 2rem;
}

.primary-nav__nav-wrapper--is-expanded .primary-nav__main-logo--mobile img {
    width: 80px;
    position: absolute;
    top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

.primary-nav__social-icons {
    margin-left: -1rem;
    margin-top: 0.7rem;
}

.primary-nav__social-icons a {
    margin-left: 10px;
}

.primary-nav__main-logo img {
    width: 40%;
}

@media only screen and (min-width: 1010px) {
    .primary-nav {
        position: relative;
        margin-bottom: 7rem;
        padding: 3rem 2rem 0 2rem;
    }
    .primary-nav::after {
        content: "";
        clear: both;
        display: table;
    }
    .primary-nav__nav-items {
        background: none;
        transform: none;
        position: static;
        display: flex;
        justify-content: space-between;
        padding: 0;
        box-shadow: none;
    }
    .primary-nav__nav-items--push-right {
        margin-left: 20rem;
        transform: translateX(-18%);
    }
    .primary-nav__main-logo {
        position: absolute;
        left: 50%;
        top: -0.5rem;
        transform: translateX(-50%);
        z-index: 0;
    }
    .primary-nav__main-logo--mobile {
        display: none;
    }
    .primary-nav__main-logo img {
        width: 70%;
        transition: all 0.3s ease-out;
    }
    .primary-nav__main-logo img:hover {
        filter: blur(1px);
        transform: scale(1.01);
    }
    .primary-nav__nav-wrapper {
        opacity: 1;
    }
    .primary-nav__social-icons {
        margin-left: 0;
        margin-top: 0;
    }
}

.site-header {
    position: relative;
}

.site-header__menu-icon {
    position: relative;
    width: 20px;
    height: 19px;
    top: -1rem;
    left: -1rem;
    z-index: 20;
    opacity: 0.6;
    cursor: pointer;
}

@media only screen and (min-width: 1010px) {
    .site-header__menu-icon {
        display: none;
    }
}

.site-header__menu-icon--sticky {
    position: fixed;
    top: 1.65rem;
    left: 2rem;
    animation: fadeInIcon 1.5s;
}

@keyframes fadeInIcon {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

.site-header__menu-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: #000;
    transform-origin: 0 0;
    transition: transform 0.2s ease-out;
}

.site-header__menu-icon__middle {
    position: absolute;
    top: 8px;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: #000;
    transition: all 0.2s ease-out;
    transform-origin: 0 50%;
}

.site-header__menu-icon::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: #000;
    transform-origin: 0 100%;
    transition: transform 0.2s ease-out;
}

.site-header__menu-icon--close-x::before {
    transform: rotate(45deg) scaleX(1.25);
}

.site-header__menu-icon--close-x .site-header__menu-icon__middle {
    opacity: 0;
    transform: scaleX(0);
}

.site-header__menu-icon--close-x::after {
    transform: rotate(-45deg) scaleX(1.25) translateY(1px);
}

.site-header__menu-icon--close-x--is-visible {
    opacity: 1;
    z-index: 1;
    margin: 0;
    text-align: center;
}

@media only screen and (min-width: 1010px) {
    .site-header__menu-icon--close-x--is-visible {
        display: flex;
        background: none;
    }
}

.site-header__menu-icon--close-x--is-visible:nth-child(3) {
    margin-top: 3rem;
    background: #ad9841;
}

.hero {
    margin-top: 1rem;
}

@media only screen and (min-width: 530px) {
    .hero {
        margin-top: 2.4rem;
    }
}

@media only screen and (min-width: 1010px) {
    .hero {
        margin-top: 8rem;
    }
}

.content-section__generic-content {
    margin: 0 auto;
    max-width: 800px;
}

.content-section__generic-content strong {
    color: #ad9841;
}

.content-section__generic-content--centered p {
    text-align: center;
}

.content-section__generic-content .quote {
    display: block;
    font-weight: 200;
    font-style: italic;
}

.content-section__header {
    display: flex;
    margin-left: -2rem;
    margin-top: -2rem;
    margin-right: -2rem;
    padding: 2rem 2rem;
    background-image: url("../../assets/images/leaves-banner.jpg");
    background-position: center center;
    min-height: 5rem;
    justify-content: space-around;
    flex-wrap: wrap;
}

@media only screen and (min-width: 530px) {
    .content-section__header {
        margin-left: -3rem;
        margin-top: -3rem;
        margin-right: -3rem;
    }
}

@media only screen and (min-width: 1010px) {
    .content-section__header {
        margin-left: -2rem;
        margin-top: -2rem;
        margin-right: -2rem;
    }
}

.content-section__header__feature-box {
    font-family: sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    border: 2px solid #ad9841;
    color: #ad9841;
    line-height: 1.2rem;
    background: #fff;
    margin: 1rem 0.5rem;
    padding: 1rem;
    min-width: 200px;
}

.content-section__header__feature-box h3 {
    margin: 0;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
}

@media only screen and (min-width: 530px) {
    .content-section__header__feature-box {
        line-height: 1.4rem;
        font-size: 0.75em;
        margin: 2rem 0;
    }
}

@media only screen and (min-width: 800px) {
    .content-section__header__feature-box {
        width: 28%;
        margin: 4rem 0;
    }
    .content-section__header__feature-box h3 {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1010px) {
    .content-section__header__feature-box {
        border: 3px solid #ad9841;
        padding: 1rem;
        line-height: 29px;
        width: 22%;
        max-width: 260px;
    }
    .content-section__header__feature-box h3 {
        font-size: 20px;
        line-height: 28px;
    }
}

.content-section__header__feature-box span {
    display: block;
}

.content-section__testimonials-single {
    max-width: 450px;
    text-align: justify;
    margin-bottom: 2.5rem;
    font-size: 12px;
}

.content-section__testimonials-single p {
    line-height: 24px;
}

.content-section__testimonials-single .author {
    color: #ad9841;
}

@media only screen and (min-width: 800px) {
    .content-section__testimonials {
        display: flex;
        justify-content: space-around;
    }
    .content-section__testimonials-single {
        width: 40%;
    }
}

@media only screen and (min-width: 1010px) {
    .content-section__testimonials {
        display: flex;
        justify-content: space-between;
    }
    .content-section__testimonials-single {
        width: 45%;
    }
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 40%;
    justify-content: center;
}

.client-logos__logo {
    flex-basis: 50%;
}

.client-logos i {
    height: 200px;
}

@media only screen and (min-width: 530px) {
    .client-logos {
        flex-wrap: nowrap;
        margin: 3rem -2rem 1rem;
    }
}

.client-logos img {
    transition: transform 0.2s ease-out;
}

.client-logos img:hover {
    transform: scale(1.2);
}

.btn {
    display: flex;
    max-width: 800px;
    margin: 2rem 0 1rem;
}

.btn__content {
    margin: 0;
    border: 2px solid #ad9841;
    background: none;
    display: inline-block;
    padding: 0.75rem 1rem;
    color: #ad9841;
    font-family: sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2em;
    transition: all 0.3s ease-out;
}

.btn__content:hover,
.btn__content:focus {
    cursor: pointer;
    background: #ad9841;
    color: #fff;
    transform: rotate(4deg);
}

.btn__content:active {
    transform: scale(0.9);
}

.form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.form__field {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.7rem 0;
    text-align: left;
}

@media only screen and (min-width: 530px) {
    .form__field {
        width: 45%;
        padding: 1rem 0;
    }
}

.form__field label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form__field input,
.form__field textarea {
    min-height: 2.5em;
    background: #eee;
    border: none;
    padding: 0 0.5rem;
    margin: 0;
}

.form__field input:focus,
.form__field textarea:focus {
    outline: #ad9841 auto 5px;
}

.form__field textarea {
    min-height: 6em;
    padding: 0.5rem;
}

.form__field--large {
    width: 100%;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery__item {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 50%;
}

.gallery__item img {
    display: block;
}

@media only screen and (min-width: 530px) {
    .gallery__item {
        width: 33%;
    }
}

@media only screen and (min-width: 800px) {
    .gallery__item {
        width: 25%;
    }
}

.list {
    list-style: none;
    padding-left: 0;
}

@media only screen and (min-width: 530px) {
    .list {
        column-count: 2;
    }
}

@media only screen and (min-width: 1010px) {
    .list {
        column-count: 3;
    }
}

.list li {
    font-weight: 600;
    text-align: left;
    line-height: 29px;
}

.list li::before {
    content: ">";
    padding-right: 0.5rem;
    font-size: 0.9em;
}

.primary-nav--sticky {
    animation: fadeIn 1s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 19;
    background: #fff;
    width: 100%;
    padding: 0.6rem 2rem 0.6rem;
    box-shadow: 1px 1px 10px #ddd;
}

.primary-nav--sticky .primary-nav__nav-wrapper {
    visibility: hidden;
}

.primary-nav--sticky .primary-nav__nav-wrapper--is-expanded {
    visibility: visible;
}

.primary-nav--sticky .primary-nav__main-logo img {
    width: 80px;
}

.primary-nav--sticky .primary-nav__main-logo h2 {
    display: none;
}

@media only screen and (min-width: 530px) {
    .primary-nav--sticky .primary-nav__main-logo img {
        width: 80px;
    }
}

@media only screen and (min-width: 800px) {
    .primary-nav--sticky .primary-nav__main-logo img {
        width: 80px;
    }
}

@media only screen and (min-width: 1010px) {
    .primary-nav--sticky {
        padding: 2rem 4rem 1rem;
    }
    .primary-nav--sticky .primary-nav__nav-wrapper {
        visibility: visible;
    }
    .primary-nav--sticky .primary-nav__nav-wrapper--is-expanded {
        visibility: visible;
    }
    .primary-nav--sticky .primary-nav__main-logo {
        top: 0.5rem;
    }
    .primary-nav--sticky .primary-nav__main-logo img {
        width: 30%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.primary-nav__sub-nav {
    padding: 1rem;
    margin: 0;
    list-style: none;
    position: absolute;
    left: -1000px;
    width: auto;
    background: #fff;
    border: 2px solid #ad9841;
    opacity: 0;
    transition: opacity 0.7s ease-out;
}

.primary-nav__sub-nav li:last-of-type {
    margin-bottom: 0;
}

.primary-nav__sub-nav--open {
    left: 0;
    top: 1rem;
    transform: translateX(-50%);
    opacity: 1;
}
