/* J Oliver Maxwell — rebuilt from the WordPress (BeTheme) site */

:root {
  --bg: #fcfcfc;
  --text: #626262;
  --heading: #5f6271;
  --dark: #1a1a1a;
  --black: #000;
  --green: #85be4b;
  --green-dark: #76a648;
  --light: #f4f8f9;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", Helvetica, Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--dark); }
p { margin: 0 0 15px; }

h1, h2, h3, h4 { font-family: var(--sans); color: #161922; margin: 0 0 15px; }
h5, h6 { font-family: var(--serif); color: var(--heading); font-style: italic; margin: 0 0 15px; }
h1 { font-size: 60px; line-height: 60px; font-weight: 800; letter-spacing: -4px; }
h2 { font-size: 20px; line-height: 20px; font-weight: 400; letter-spacing: 8px; }
h3 { font-size: 16px; line-height: 26px; font-weight: 400; }
h5 { font-size: 40px; line-height: 44px; font-weight: 400; }
h6 { font-size: 30px; line-height: 34px; font-weight: 400; }
.h1-sm { font-size: 40px; line-height: 44px; letter-spacing: -2px; }

.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #000; color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff;
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { height: 60px; width: auto; }
.action-button {
  background: var(--black); color: #fff; text-decoration: none;
  font-family: var(--serif); font-style: italic; font-size: 15px;
  padding: 10px 20px; transition: opacity .2s;
}
.action-button:hover { color: #fff; opacity: .8; }

/* Sections */
.section { position: relative; }
.bg-cover { background-size: cover; background-position: center; background-repeat: no-repeat; }
.bg-fixed { background-attachment: fixed; background-position: center top; }
.hero { padding: 220px 0 140px; margin-top: var(--header-h); }
.cta { padding: 150px 0; }
.whitebox { background: rgba(255,255,255,.6); padding: 80px; text-align: center; }
.whitebox h2, .whitebox h3 { margin-bottom: 30px; }

.greenbutton {
  display: inline-block; min-width: 320px;
  padding: 15px 55px;
  background: var(--green); color: #fff;
  font-family: "Open Sans", sans-serif; font-size: 16px; font-weight: 700;
  text-decoration: none; text-align: center; white-space: nowrap;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.greenbutton:hover { color: #fff; box-shadow: rgba(17,12,46,.15) 0 48px 100px 0; }

.section-head { text-align: center; max-width: 1100px; margin: 0 auto 30px; }
.section-head .sub { font-size: 18px; line-height: 26px; }
.divider { display: block; width: 64px; height: 5px; background: url(/assets/img/green.png) no-repeat center / contain; margin: 0 auto 25px; }
.divider.left { margin-left: 0; }
.sans { font-family: var(--sans); }

.services { padding: 60px 5% 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service { text-align: center; }
.service h6 { margin-bottom: 15px; }
.service img { width: 120px; margin: 0 auto 25px; }
.service p { font-size: 15px; line-height: 1.5em; }

.about { padding: 80px 0 40px; }
.about-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: center; }
.about-grid p { padding-top: 8%; }

.reviews { background: var(--dark); padding: 60px 0 60px; }
.reviews h5, .reviews h6 { color: #fff; }
.slider { position: relative; max-width: 900px; margin: 20px auto 0; padding: 0 60px; }
.slide { margin: 0; color: #fff; }
.slide blockquote { margin: 0 0 25px; font-style: italic; font-size: 20px; line-height: 1.6; color: var(--light); }
.slide figcaption { font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.slide figcaption strong { display: block; color: #fff; font-weight: 500; }
.slide figcaption span { color: #9a9a9a; }
.slide.is-entering { animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.slider-arrow {
  position: absolute; top: 40%; transform: translateY(-50%);
  background: none; border: 0; color: #888; font-size: 28px; cursor: pointer; padding: 8px;
}
.slider-arrow:hover { color: #fff; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #555; cursor: pointer; }
.dot.is-active { background: #fff; }

/* Contact */
.contact { background: var(--light); padding: 90px 0 60px; }
.contact h5 { color: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-wrap: wrap; gap: 0 4%; font-size: 90%; color: #666; }
.field { width: 100%; margin-bottom: 22px; }
.field.half { width: 48%; }
.field label { display: block; font-family: var(--serif); font-size: 15px; }
.field label small { font-size: 12px; color: #999; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #ccc; background: transparent;
  font: inherit; font-size: 16px; color: #333; padding: 8px 0; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 66px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #be1d33; }
.form-actions { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.form-status { font-size: 14px; line-height: 1.4; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #be1d33; }
.submit-button {
  background: var(--black); color: #fff; border: 0; cursor: pointer;
  font-family: var(--serif); font-style: italic; font-size: 15px; padding: 12px 26px;
}
.submit-button:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #fff; color: #333; text-align: center; }
.footer-widgets { padding: 40px 20px 10px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-address { font-style: italic; font-size: 16px; }
.footer-address a { color: inherit; }
.footer-copy { border-top: 1px solid rgba(0,0,0,.06); padding: 30px 0; }
.back-to-top {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: #65666c; margin-bottom: 15px;
}
.copyright { font-size: 13px; line-height: 1.7em; color: #626262; max-width: 1000px; margin: 0 auto; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide.is-entering { animation: none; }
}

/* Responsive */
@media (max-width: 959px) {
  .bg-fixed { background-attachment: scroll; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; line-height: 26px; }
  .logo img { height: 46px; }
  .action-button { font-size: 13px; padding: 8px 14px; }
  h1 { font-size: 38px; line-height: 40px; letter-spacing: -2px; }
  .h1-sm { font-size: 30px; line-height: 34px; }
  h2 { font-size: 15px; letter-spacing: 4px; line-height: 22px; }
  h5 { font-size: 32px; line-height: 36px; }
  h6 { font-size: 24px; line-height: 28px; }
  .hero { padding: 120px 0 80px; }
  .cta { padding: 80px 0; }
  .whitebox { padding: 30px 16px; }
  .greenbutton { min-width: 0; width: 100%; padding: 15px 20px; }
  .grid-3, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 360px; margin: 0 auto; }
  .about-grid p { padding-top: 0; }
  .field.half { width: 100%; }
  .slider { padding: 0 36px; }
  .slide blockquote { font-size: 17px; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
}
