:root {
  --color-primary: #00567E;
  --color-secondary: #75C6E8;
  --color-accent: #739F3E;
  --color-gray: #F4F4F4;
  --color-bluetint: #E3F4FA;
  --color-body: #4A3B2C;
}


/* =========================
   RESET / NORMALIZE
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: 'proxima-nova', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-body);
    background-color: #fff;
}

html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

b,
strong {
    font-weight: 700;
}

a {
    transition: all 0.3s ease;
}

/* =========================
   TYPOGRAPHY DEFAULTS
========================= */

h1, h2, h3, h4, h5, h6 {
    font-family: 'roboto-slab', ui-serif, "Apple Garamond", "Times New Roman", Times, serif;
    line-height: 1.2;
    font-weight: 400;
}

h2 {
    color: var(--color-primary);
    font-size: clamp(24px, 5vw, 48px);
    line-height: calc(100% + 15px);
}

table,
form,
blockquote,
dl,
ol,
p,
ul {
    margin-bottom: clamp(32px, 2.3px + 1.85vw, 40px);
}

table:last-child,
form:last-child,
blockquote:last-child,
dl:last-child,
ol:last-child,
p:last-child,
ul:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   MEDIA DEFAULTS
========================= */

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   FORM ELEMENTS
========================= */

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================
   LISTS
========================= */

ul,
ol {
    list-style: none;
}

/* =========================
   LAYOUT HELPERS
========================= */

.container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* Breakpoints (Bootstrap-like) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1230px;
    }
}

.page-section,
.inner-section {
    padding: clamp(40px, calc(19px + 6.5625vw), 124px) 0;
}

/* =========================
   UTILITIES (optional)
========================= */

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

/* Small ≥576px */
@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-block {
    display: block !important;
  }
}

/* Medium ≥768px */
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
}

/* Large ≥992px */
@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
}

/* Extra large ≥1200px */
@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-block {
    display: block !important;
  }
}

/* Extra extra large ≥1400px */
@media (min-width: 1400px) {
  .d-xxl-none {
    display: none !important;
  }
  .d-xxl-block {
    display: block !important;
  }
}

.text-center {
    text-align: center !important;
}

@media (min-width: 992px) {
    .text-lg-left {
        text-align: left !important;
    }
}

.invisible {
    visibility: hidden !important;
}

.text-white {
    color: white !important;
}

.text-body {
    color: var(--color-body) !important;
}

.bg-body {
    background-color: var(--color-body) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.bg-primary .heading,
.bg-primary .content,
.bg-secondary .heading,
.bg-secondary .content,
.bg-accent .heading,
.bg-accent .content {
    color: white;
}

.content {
    font-size: clamp(17px, 15.5px + 0.47vw, 21px);
    font-weight: 500;
    line-height: calc(100% + clamp(15px, 15.5px + 0.47vw, 19px));
}

.content.fs-large {
    font-size: clamp(19px, 15.5px + 0.47vw, 23px);
    line-height: calc(100% + clamp(17px, 15.5px + 0.47vw, 21px));
}

.content.fs-small {
    font-size: clamp(13px, 15.5px + 0.47vw, 17px);
    line-height: calc(100% + clamp(11px, 15.5px + 0.47vw, 15px));
}

.divider {
    margin: 18px 0 24px;
    line-height: 0;
}

.divider::before {
    content: '';
    display: inline-block;
    width: 275px;
    height: clamp(2px, calc(1.125px + 0.1875vw), 5px);
    background-color: var(--color-accent);
}

.dots-divider {
    margin: 20px 0;
}

.dots-divider::before {
    content: '';
    display: block;
    border-bottom: clamp(2px, calc(1.125px + 0.1875vw), 5px) dotted var(--color-accent);
}

.btn {
    cursor: pointer;
    display: inline-block;
    padding: 11px 32px;
    border-width: 2px;
    font-weight: 500;
    border-radius: 0;
    letter-spacing: unset;
    text-indent: unset;
    text-transform: unset;
    min-width: 250px;
    text-align: center;
    font-size: clamp(16px, 15px + 0.31vw, 20px);
    line-height: calc(100% + 8px);
    transition: all 0.3s ease;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
}

.btn.btn-primary,
.btn.btn-primary-white {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-body);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.btn.btn-primary-white:hover,
.btn.btn-primary-white:focus {
    background-color: white;
    border-color: white;
    color: var(--color-primary);
}

.mtd {
    margin-top: calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) !important;
}

.mt-1 {
    margin-top: calc(calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) / 4) !important;
}

.mt-2 {
    margin-top: calc(calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) / 2) !important;
}

.mbd {
    margin-bottom: calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) !important;
}

.mb-1 {
    margin-bottom: calc(calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) / 4) !important;
}

.mb-2 {
    margin-bottom: calc(calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) / 2) !important;
}

/* =========================
   SITE HEADER
========================= */
.site-header {
    padding: 16px 0;
}

.site-header .logo-wrap {}

.site-header .logo-wrap .logo {
    width: 420px;
    height: 80px;
    display: block;
    background: url("../images/logo.jpg") center / contain no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .site-header .logo-wrap .logo {
        width: 210px;
        height: 40px;
    }
}


/* =========================
   SECTION HERO
========================= */

#hero {
    position: relative;
    padding: 0;
}

#hero .image-wrap {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    #hero .image-wrap::after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        opacity: .92;
    }
}

#hero .image-wrap .image {
    background-position: 75% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    aspect-ratio: 334 / 500;
}

@media (min-width: 375px) and (max-width: 575px) {
    #hero .image-wrap .image {
        aspect-ratio: 375 / 500;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #hero .image-wrap .image {
        aspect-ratio: 576 / 500;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #hero .image-wrap .image {
        aspect-ratio: 768 / 500;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #hero .image-wrap .image {
        aspect-ratio: 960 / 500;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    #hero .image-wrap .image {
        aspect-ratio: 1230 / 500;
    }
}

@media (min-width: 1600px) {
    #hero .image-wrap .image {
        aspect-ratio: 1500 / 500;
    }
}

#hero .container {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#hero .content-wrap {
    position: relative;
    padding: 40px 0 65px 0;
}

@media (max-width: 991px) {
    #hero .content-wrap::before {
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 992px) {

    #hero .content-wrap {
        width: calc(50% + 100px);
        max-width: 550px;
        padding-right: 40px;
    }

    #hero .content-wrap::before {
        content: '';
        display: block;
        width: 9999px;
        height: 100%;
        background-color: var(--color-primary);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        opacity: .92;
    }
}

#hero .container.clone {
    z-index: 0;
}

#hero .container.clone .content-wrap {
    margin-left: 50%;
}

#hero .container.clone .content-wrap::before {
    right: unset;
    left: 0;
    background-color: var(--color-gray);
}

#hero .content-wrap .content-inner {
    position: relative;
    z-index: 2;
}

#hero .heading {
    font-size: clamp(32px, 5vw, 56px);
    line-height: calc(100% + 18px);
}

.divider {
    margin: 24px 0;
}

#hero .divider::before {
    width: 233px;
    background-color: var(--color-secondary);
}

#hero .content {
    line-height: calc(100% + 13px);
}

@media (max-width: 991px) {
    #hero .cta {
        text-align: center;
        margin-top: clamp(32px, 2.3px + 1.85vw, 40px);
    }
}

@media (min-width: 992px) {
    #hero .cta {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 2;
        transform: translateY(50%);
    }
}

#hero .dots-divider {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 1;
    transform: translateX(-50%);
    max-width: 1500px;
    width: 100%;
}

@media (max-width: 991px) {
    #hero .dots-divider {
        top: calc(100% - 5px);
    }
}


/* =========================
   TWO COLUMNS SECTION
========================= */

.two-columns .two-columns-inner {
  display: grid;
  gap: calc(clamp(32px, 2.3px + 1.85vw, 40px) + calc(clamp(32px, 2.3px + 1.85vw, 40px) / 2)) clamp(clamp(32px, 2.3px + 1.85vw, 40px), 5vw, clamp(80px, 1.25vw + 72px, 100px));
}

@media (min-width: 992px) {
  .two-columns .two-columns-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.two-columns .content-wrap,
.two-columns .image-wrap {
  width: 100%;
}

@media (min-width: 992px) {
    .two-columns .image-wrap {
        position: relative;
    }

    .two-columns .image-wrap::before {
        content: '';
        display: block;
        width: 9999px;
        height: 100%;
        background-color: var(--color-gray);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: .92;
    }
}

.two-columns .image-wrap .image-inner {
    position: relative;
    z-index: 2;
}

.two-columns .image-wrap .image-inner .image {
  width: 100%;
  aspect-ratio: 550 / 400;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* =========================
   TWO COLUMNS EXPANDED
========================= */

.two-columns-expanded {
    position: relative;
    padding: 0;
}

.two-columns-expanded .inner-section {
    position: relative;
}

.tce-visual-cue {
    position: absolute;
    top: -30px;
    right: 30px;
    z-index: 1;
    width: 23.4375vw;
}

.tce-visual-cue::before {
    content: '';
    display: block;
    padding-bottom: 100%;
    background: url("../images/tce-visual-cue@2x.png") center / cover no-repeat;
}

.two-columns-expanded .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .two-columns-expanded .content-wrap {
        width: 50%;
        max-width: 580px;
        padding-left: 0;
        padding-right: 30px;
    }

    .two-columns-expanded .image-wrap {
        position: absolute;
        top: 0;
        left: 50%;
        width: 50%;
        height: 100%;
    }

    .two-columns-expanded.reverse .content-wrap {
        margin-left: auto;
        padding-left: 30px;
        padding-right: 0;
    }

    .two-columns-expanded.reverse .image-wrap {
        left: 0;
    }
}

.two-columns-expanded .image-wrap .image-inner {
    width: 100%;
    height: 100%;
}

.two-columns-expanded .image-wrap .image-inner .image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.two-columns-expanded .image-wrap .image-inner .image::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.tce-divider {
    position: relative;
    z-index: 2;
}

.tce-divider::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1920 / 31;
    background: url("../images/tce-divider@2x.jpg") center / cover repeat-x;
}

#request-brochure {
    position: relative;
}

#request-brochure .inset-bg {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

#request-brochure .inset-bg::before {
    content:  '';
    display: block;
    padding-bottom: 27.69230769230769vh;
    background-color: var(--color-secondary);
}

#request-brochure .container {
    position: relative;
    z-index: 2;
}

.brochure-form {
    background-color: var(--color-bluetint);
    font-size: clamp(14px, 15px + 0.31vw, 18px);
    padding: clamp(30px, 22.5px + 2.34375vw, 60px);
}

.brochure-form-inner {
    margin: 0 auto;
    max-width: 878px;
}

.brochure-form .form-actions {
    text-align: center;
    margin-top: clamp(16px, 12px + 1.25vw, 32px);
}

.brochure-form .form-row.two-cols,
.brochure-form .form-row.four-cols {
  display: grid;
  gap: clamp(16px, 12px + 1.25vw, 32px);
  margin-bottom: clamp(16px, 12px + 1.25vw, 32px);
}

@media (min-width: 768px) {
  .brochure-form .form-row.two-cols {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .brochure-form .form-row.four-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .brochure-form .form-row.four-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.brochure-form input[type=text],
.brochure-form input[type=tel],
.brochure-form input[type=email],
.brochure-form input[type=number],
.brochure-form input[type=password],
.brochure-form select,
.brochure-form textarea {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    border-color: var(--color-primary);
    border-style: solid;
    border-width: 2px;
    border-radius: 0;
    padding: 2px 15px;
    color: var(--color-body);
    font-size: clamp(14px, 15px + 0.31vw, 18px);
    line-height: calc(100% + 14px);
    width: 100%;
    transition: all 0.3s ease;
}

.brochure-form input[type=text]:focus,
.brochure-form input[type=tel]:focus,
.brochure-form input[type=email]:focus,
.brochure-form input[type=number]:focus,
.brochure-form input[type=password]:focus,
.brochure-form select:focus,
.brochure-form textarea:focus {
    color: var(--color-body);
    background-color: white;
    border-color: var(--color-secondary);
    outline: 0;
    box-shadow: unset;
}

.brochure-form input[type=text]::placeholder,
.brochure-form input[type=tel]::placeholder,
.brochure-form input[type=email]::placeholder,
.brochure-form input[type=number]::placeholder,
.brochure-form input[type=password]::placeholder,
.brochure-form select::placeholder,
.brochure-form textarea::placeholder {
    color: var(--color-primary);
    opacity: 1; /* Firefox */
}

.brochure-form select {
    background-image: url(../images/select-dropdown@2x.png);
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) 50%;
    background-size: 21px 8px;

    option {
        color: var(--color-body);
    }

    &:has(option[value=""]:checked) {
        color: var(--color-primary);
    }

    &:not(:has(option[value=""]:checked)) {
        color: var(--color-body);
    }
}

.brochure-form label {
    display: block;
    color: var(--color-primary);
    line-height: 20px;
}

.brochure-form label:not(:last-child) {
    margin-bottom: 12px;
}

.brochure-form label.title {
    margin-bottom: 16px;
}

/* Custom Checkbox */
.brochure-form input[type="checkbox"],
.brochure-form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    vertical-align: top;
    transition: all 0.2s ease;
    margin-right: 6px;
}

/* Checked State */
.brochure-form input[type="checkbox"]:checked,
.brochure-form input[type="radio"]:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-primary);
}

/* White Check */
.brochure-form input[type="checkbox"]:checked::before,
.brochure-form input[type="radio"]:checked::before {
    content: "";
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -1px;
}

/* =========================
   SITE FOOTER
========================= */

.site-footer {
    background-color: #7a9b62;
    padding: 8px 0;
}
