/* J5 Ventures — static rebuild stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --color-primary: #0c71c3;
  --color-navy: #3550a0;
  --color-accent: #7cda24;
  --color-text: #2b2b2b;
  --color-muted: #555;
  --color-border: #e0e0e0;
  --color-bg-alt: rgba(219, 219, 219, 0.34);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-label: 'Lato', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  --max-width: 1328px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7em;
  color: var(--color-text);
  background: #fff;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top info bar */
#top-header {
  background-color: var(--color-primary);
}

#top-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
  padding-bottom: 10px;
}

#et-info a {
  color: #fff;
  font-size: 14px;
}

#et-info a:hover {
  text-decoration: underline;
}

/* Main header / nav */
#main-header {
  border-bottom: 1px solid var(--color-border);
}

#main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo_container img {
  display: block;
  width: 43px;
  height: 43px;
}

#top-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

#top-menu li a {
  color: var(--color-text);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#top-menu li.current-menu-item a,
#top-menu li a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Hero section */
.hero-section {
  background-color: var(--color-bg-alt);
  padding: 3vh 2vw;
}

.hero-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-copy,
.hero-image {
  flex: 1 1 420px;
  min-width: 280px;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 70px;
  line-height: 1.5em;
  margin: 0 0 8px;
}

.hero-copy h3 {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.5em;
  margin: 0 0 28px;
}

.value-prop {
  margin-bottom: 20px;
}

.value-prop p.prompt {
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 6px;
}

.value-prop p.detail {
  margin: 0;
  font-size: 15px;
  line-height: 2.1em;
  color: var(--color-muted);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Content sections */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.content-row {
  padding: 3vh 0;
}

.content-section h2 {
  font-weight: 700;
  font-size: 21px;
  padding-top: 3vh;
  margin: 0 0 1vh;
}

.content-section p {
  font-size: 15px;
  line-height: 2.1em;
  color: var(--color-muted);
  max-width: 90%;
}

.content-section ul.checklist,
.content-section ul.handshake-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.content-section ul.checklist li,
.content-section ul.handshake-list li {
  font-size: 15px;
  line-height: 2.1em;
  color: var(--color-muted);
}

/* Quotes page */
.quotes-intro {
  text-align: center;
  padding: 6vh 0 4vh;
}

.quotes-intro h2 {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.5em;
  max-width: 900px;
  margin: 0 auto 16px;
}

.quotes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3%;
  padding-bottom: 6vh;
}

.quotes-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quotes-col-1,
.quotes-col-2 {
  width: 20.875%;
}

.quotes-col-3 {
  width: 47.25%;
}

.quote-card {
  background: #f5f5f5;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  padding: 28px 22px;
  text-align: center;
}

.quote-card .quote-title {
  font-weight: 700;
  margin: 0 0 12px;
}

.quote-card p {
  font-size: 15px;
  line-height: 1.9em;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.quote-card .quote-author {
  font-weight: 700;
  color: var(--color-text);
}

.quote-card .quote-meta {
  font-size: 13px;
  color: var(--color-muted);
}

@media only screen and (max-width: 980px) {
  .quotes-col-1,
  .quotes-col-2,
  .quotes-col-3 {
    width: 100%;
  }
}

/* Contact form */
.contact-section {
  padding: 3vh 0 9vh;
  width: 76.4%;
  max-width: 900px;
  margin: 0 auto;
}

.contact-section h2 {
  text-align: left;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.contact-form .field {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.captcha-field {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.captcha-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
}

.captcha-field input {
  width: 60px;
  text-align: center;
}

.form-submit-row {
  flex: 1 1 100%;
  text-align: right;
}

.et_pb_button,
.form-submit-row button {
  background-color: var(--color-accent);
  color: #fff;
  border: 1px solid #fff;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  padding: 0.8em 1.6em;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.3);
}

.et_pb_button:hover,
.form-submit-row button:hover {
  opacity: 0.9;
}

/* Footer */
#main-footer {
  background-color: #1b1b1b;
  color: #ccc;
  padding: 32px 0;
  margin-top: 32px;
  text-align: center;
}

#main-footer a {
  color: #fff;
}

@media only screen and (min-width: 1660px) {
  .content-row,
  .hero-section {
    padding-top: 66px;
    padding-bottom: 66px;
  }
}

@media only screen and (max-width: 980px) {
  .hero-copy h1 {
    font-size: 50px;
  }
}

@media only screen and (max-width: 767px) {
  .hero-copy h1 {
    font-size: 32px;
  }

  #main-header .container,
  #top-header .container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  #top-menu {
    gap: 20px;
  }
}
