:root {
  /* General */
  --boxed: 85rem;
  --container-width: calc(100% - 10rem);
  --container-fluid-width: 100%;

  /* Dynamic height */
  --header-top-height: 5.709rem;
  --header-height: 6.813rem;

  /* Colors */
  --black: #000;
  --black-rgb: rgb(0, 0, 0, 100%);
  --white: #ffffff;
  --white-rgb: 255, 255, 255;

  /* Bootstrap */
  --bs-primary: #a96545;
  --bs-primary-rgb: 169, 101, 69;
  --bs-secondary: #332e27;
  --bs-secondary-rgb: 51, 46, 39;
  --bs-light: #8a7140;
  --bs-light-rgb: 138, 113, 64;
  --bs-secondary-bg: #F6F6F6;
  --bs-tertiary: #052424;
  --bs-gray: #121212;
  --bs-success: #3ebb8a;
  --bs-success-rgb: 62, 187, 138;
  --bs-light-bg-subtle: #fbf6f4;
  --bs-success-bg-subtle: rgba(var(--bs-success-rgb), 0.2);
  --bs-danger-bg-subtle: #f8e7e9;
  --bs-border-color: #E6DCCB;
  --bs-border-color2: var(--bs-secondary-bg);
  --bs-body-color: #121212;
  --bs-body-bg: #fff;
  --bs-body-font-family: 'Google Sans';
  --bs-body-font-size: 1rem;

  --bs-link-color: var(--black);
  --bs-link-hover-color: var(--bs-primary);

  /* Font Family */
  --h-font: 'Newsreader';
  --btn-font: 'Google Sans';

  /* Font size */
  --text-nano: 0.725rem;
  --text-xxs: 0.775rem;
  --text-xs: 0.875rem;
  --text-sm: 1.25rem;
  --text-md: 1.5rem;
  --text-lg: 1.75rem;
  --text-xl: 2rem;
  --text-xxl: 2.5rem;
  --text-xxxl: 3rem;

  --heading-sm: 1.5rem;
  --heading-md: 1.8rem;
  --heading-lg: 2.5rem;
  --heading-xl: 3rem;
  --heading-xxl: 3.5rem;
  --heading-xxxl: 4rem;

  /* Transition */
  --transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


/* ------------------------ FONTS ----------------------- */
@font-face {
  font-family: 'Google Sans';
  src: url('../fonts/Montserrat-VariableFont.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-VariableFont.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}


/* ---------------------- TYPOGRAPHY -------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--h-font);
}

h1 {
    font-size: var(--heading-xl);
    font-weight: 700;
    line-height: 1em;
}
h2 {
    font-size: var(--heading-xl);
    font-weight: 700;
}
h3 {
    font-size: var(--text-md);
    font-weight: 500;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.h-font,
.h-font > * {
    font-family: var(--h-font);
}

.text-regular,
.text-regular > * {
    font-size: 1rem;
}
.text-nano {
    font-size: var(--text-nano);
}
.text-xxs,
.text-xxs > * {
    font-size: var(--text-xxs);
}
.text-xs,
.text-xs > * {
    font-size: var(--text-xs);
}
.text-sm,
.text-sm > * {
    font-size: var(--text-sm);
}
.text-md,
.text-md > * {
    font-size: var(--text-md);
    line-height: 1em;
}
.text-lg,
.text-lg > * {
    font-size: var(--text-lg);
    line-height: 1.3em;
}
.text-xl,
.text-xl > * {
    font-size: var(--text-xl);
    line-height: 1.3em;
}
.text-xxl,
.text-xxl > * {
    font-size: var(--text-xxl);
    line-height: 1.3em;
}
.text-xxxl,
.text-xxxl > * {
    font-size: var(--text-xxxl);
    line-height: 1.1em;
}

.heading-sm,
.heading-sm > * {
    font-size: var(--heading-sm);
}
.heading-md,
.heading-md > * {
    font-size: var(--heading-md);
}
.heading-lg,
.heading-lg > * {
    font-size: var(--heading-lg);
    line-height: 1.2em;
}
.heading-xl,
.heading-xl > * {
    font-size: var(--heading-xl);
    line-height: 1em;
}
.heading-xxl,
.heading-xxl > * {
    font-size: var(--heading-xxl);
    line-height: 1.1em;
}
.heading-xxxl,
.heading-xxxl > * {
    font-size: var(--heading-xxxl);
    line-height: 1em;
}


.module-text a {
    text-decoration: underline;
}

p:last-of-type {
    margin-bottom: 0;
}
span {
    display: inline-block;
    line-height: 1.3;
}

.field-message {
    font-size: var(--text-xs);
    color: #e53e3e;
    margin-top: 6px;
    margin-bottom: 12px;
}

.border-secondary {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color2) !important;
}


/* ---------------- End Typography ---------------- */



/* ------------------ Appearance ------------------ */

::selection {
  background: var(--bs-primary);
  color: var(--white);
}

.module-button {
  display: flex;
}
.btn-reset {
    all: unset;
    cursor: pointer;
}

.inset-0 {
    inset: 0;
}

.gradient-bottom:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.btn {
    /* --bs-btn-font-family: var(--h-font); */
    --bs-btn-font-weight: 500;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-padding-y: 0.7rem;
    --bs-btn-border-radius: var(--bs-border-radius-pill);
    --bs-btn-color: inherit;
    --bs-btn-active-color: inherit;
    --bs-btn-active-bg: inherit;
    --bs-btn-active-border-color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.btn-icon {
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-padding-y: 0.5rem;
}
.btn-primary {
    --bs-btn-color: var(--white);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), 0.8);
}
.btn-primary.btn-outline,
.module-button.btn-outline .btn-primary,
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: transparent;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
}
.btn-secondary {
    --bs-btn-color: var(--black);
    --bs-btn-hover-color: var(--black);
    --bs-btn-bg: var(--white);
    --bs-btn-hover-bg: var(--bs-gray-100);
    --bs-btn-border-color: var(--white);
    --bs-btn-hover-border-color: var(--white);
}
.btn-secondary.btn-outline,
.module-button.btn-outline .btn-secondary {
    --bs-btn-color: var(--white);
    --bs-btn-hover-color: var(--black);
    --bs-btn-bg: transparent;
    --bs-btn-hover-bg: var(--white);
    --bs-btn-border-color: var(--white);
    --bs-btn-hover-border-color: var(--white);
}
.btn-primary:hover,
.btn-secondary:hover {
  transition: var(--transition);
}
.btn-info {
    --bs-btn-bg: rgba(var(--bs-light-rgb), 1);
    --bs-btn-border-color: rgba(var(--bs-light-rgb), 1);
    --bs-btn-color: var(--white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-border-color: rgba(var(--bs-light-rgb), 1);
}
.btn-link {
    --bs-btn-color: var(--bs-primary);
    text-underline-offset: 0.5rem;
    color: var(--bs-primary);
}

.btn-sm {
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-padding-y: 0.6rem;
    --bs-btn-border-radius: var(--bs-border-radius);
    text-transform: none;
    font-weight: 600;
}
.btn-sm svg {
    width: 1.5em;
    height: auto;
}

.btn-icon svg {
    width: 1.3em;
    height: auto;
}

svg {
    width: 1rem;
    height: auto;
    flex-shrink: 0;
}
.icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-sm svg {
    width: 0.775rem;
    height: auto;
}
.icon-sm svg {
    width: 0.875rem;
    height: auto;
}
.icon-md svg {
    width: 1rem;
    height: auto;
}
.icon-lg svg {
    width: 1.25rem;
    height: auto;
}
.icon-xl svg {
    width: 1.8rem;
    height: auto;
}

.transition {
    transition: var(--transition);
}






.tooltip {
    --bs-tooltip-color: #000;
    --bs-tooltip-bg: #fff;
    --bs-tooltip-font-size: 0.775rem;
    pointer-events: none;
    z-index: 9999;
}

.spinner-border-sm {
    --bs-spinner-border-width: 0.1em;
}

.accordion {
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-active-bg: var(--bs-body-bg);
    --bs-accordion-btn-focus-box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    --bs-accordion-border-radius: none;
    --bs-accordion-inner-border-radius: none;
}
.accordion-item {
    border: none;
    border-bottom: 1px solid var(--bs-border-color2);
    box-shadow: none;
}
.accordion-body ul {
    padding-left: 0;
    margin: 0;
}

.modal {
    --bs-modal-border-radius: var(--bs-border-radius-xl);
}

.list-group {
    --bs-list-group-bg: transparent;
    --bs-list-group-border-width: 0;
    --bs-list-group-border-radius: 0;
    --bs-list-group-active-bg: var(--bs-primary);
    --bs-list-group-action-hover-bg: var(--white);
    gap: 0.25rem;
}

.help-block {
    font-size: var(--text-xxs);
    margin-top: 0.25rem;
}

.dropdown-toggle::after {
    display: none;
}

div[data-bs-toggle="collapse"] {
    cursor: pointer;
}
div[data-bs-toggle="collapse"][aria-expanded="true"] .dropdown-icon svg {
    transform: rotate(-180deg);
    transition: var(--transition);
}
.dropdown-icon svg {
    width: 0.6rem;
    height: auto;
    transition: var(--transition);
}


.hover-scale-trigger:hover .hover-scale-element {
    transform: scale(1.04);
}

.sticky {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}






/* ------------------ Custom Margins ------------------ */

.mt-6 {
    margin-top: 6rem;
}
.mb-6 {
    margin-bottom: 6rem;
}
.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.pt-6 {
    padding-top: 6rem;
}
.pb-6 {
    padding-bottom: 6rem;
}
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* ------------------ End Custom Margins ------------------ */



/* ------------------ Structure/Layout ------------------ */


html {
    font-size: 0.95238vw;
    scroll-behavior: auto;
}

body {
    overflow-x: clip;
}
body.no-scroll {
    overflow: hidden;
}

body:not(.homepage):not(.main-no-pt) main {
    padding-top: var(--header-height);
}


.container {
    max-width: var(--container-width);
}
.container-fluid {
    max-width: var(--container-fluid-width);
}

.builder-section {
    position: relative;
}
.container .builder-section .container,
.container .builder-section .container-fluid,
form .container,
form .container-fluid {
    padding: 0;
    max-width: 100%;
}
.form-control:focus {
    outline: none;
    box-shadow: none;
}


/* Forms */
.form-group:not(.form-submit) {
    margin-bottom: 1.5rem;
}
.form-group label:not(.checkbox-label, .form-check-label) {
    font-size: var(--text-xs);
    color: var(--bs-gray-600);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.form-check-label {
    font-size: var(--text-xs);
}
.form-control {
    padding: 0.8rem 1rem;
}
.form-control:focus {
    border-color: var(--bs-primary);
}
.form-control::placeholder {
    font-size: var(--text-xs);
}


/* Newsletter fallback */
.btn_newsletter_subscribe {
    background-color: var(--bs-primary);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--bs-secondary);
}
.footer-logo img {
    max-width: 13rem;
}
.footer-menu-wrapper {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    justify-self: flex-end;
    gap: 10rem;
}
.footer-menu-wrapper a {
    display: block;
    padding: 0.35rem 0;
    color: #D8CFC2;
}
.footer-menu-wrapper a:hover {
    color: var(--white);
}
footer .nav-title {
    color: #D8BE8E;
}

footer .module-contact a {
    display: block;
    padding: 0.35rem 0;
    font-weight: 500;
}
footer .module-social a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
}

footer .copyright-wrapper {
    border-top: 1px solid #463D33;
}
footer .copyright-wrapper,
footer .copyright-wrapper p,
footer p {
    color: #D8CFC2;
}

/* ------------------ End Structure/Layout ------------------ */

/* Checkbox animated */
.checkbox-wrapper .checkbox-input {
    position: absolute;
    visibility: hidden;
}
.checkbox-wrapper .checkbox-label {
    cursor: pointer;
}
.checkbox-wrapper .checkbox-label span:first-child {
    position: relative;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    transition: all .2s ease;
    background: var(--white);
    border: 1px solid var(--bs-gray-400);
    cursor: pointer;
    margin-top: -4px;
    margin-right: .35rem;
}
.checkbox-wrapper .checkbox-input:checked+.checkbox-label span:first-child {
    background-color: var(--white);
    border-color: var(--black);
    animation: wave .4s ease;
}
.checkbox-wrapper .checkbox-label svg {
    fill: none;
    stroke: var(--black);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all .3s ease;
    display: flex;
    width: 100%;
    height: 100%;
    padding: .15rem;
}
.checkbox-wrapper .checkbox-input:checked+.checkbox-label span:first-child svg {
    stroke-dashoffset: 0;
}
.checkbox-wrapper .inline-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

@keyframes wave {
    0% {
        transform: scale(.9);
    }
}
