/*
Theme Name: Bjurman Notary Corp
Theme URI: https://bjurmannotary.com
Author: Bjurman Notary Corp
Description: Custom WordPress theme for Peter A Bjurman Notary Corp., converted from Adobe Muse.
Version: 4.0
License: GNU General Public License v2 or later
Text Domain: bjurman
*/

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body, div, dl, dt, dd, ul, ol, li, nav,
h1, h2, h3, h4, h5, h6, pre, code, form,
fieldset, legend, input, button, textarea,
p, blockquote, th, td, a {
  margin: 0; padding: 0; border: 0;
}
table  { border-collapse: collapse; border-spacing: 0; }
li     { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: inherit; }
img    { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font-family: inherit; font-size: inherit; }

/* Body base — site_global.css */
body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 17px;
  color: #181818;
  background: #FFFFFF;
}

a:link    { color: #6A777F; text-decoration: none; }
a:visited { color: #6A777F; text-decoration: none; }
a:hover   { color: #6A777F; text-decoration: underline; }
a:active  { color: #EE0000; text-decoration: underline; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --serif: "mrs-eaves-xl-serif", Georgia, "Times New Roman", serif;
  --sans:  "mr-eaves-xl-modern", "Gill Sans", Optima, sans-serif;
}

/* =============================================
   NAMED TYPE CLASSES — exact from site_global.css
   ============================================= */

/* 65px white centred */
.h1-display-center-light {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
}

/* 65px dark (#181818) centred */
.h1-display-center-dark {
  color: #181818;
  font-family: var(--serif);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
}

/* 17px white centred, line-height 34px */
.h2-display-center-light {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 34px;
  text-align: center;
}

/* 25px dark (#181818) left, line-height 35px */
.h1-heading-left-dark {
  color: #181818;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 35px;
  text-align: left;
}

/* 25px light (#F2F3F4) left, line-height 35px */
.h1-heading-left-light {
  color: #F2F3F4;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 35px;
  text-align: left;
}

/* 14px sans white caps, weight 700, letter-spacing 1px */
.h3-subheading-center-light {
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* 14px sans dark caps */
.h3-subheading-center-dark {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* 18px serif #181818 left, line-height 32px, letter-spacing 1px */
.p-body-copy {
  color: #181818;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 32px;
  text-align: left;
}

/* 10px sans white uppercase, weight 700, letter-spacing 2px */
.nav-links, .footer-links {
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 15px;
  text-align: right;
  text-transform: uppercase;
}

/* 12px sans hover state */
.nav-links-hover {
  color: #6A777F;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 18px;
  text-align: right;
  text-transform: uppercase;
}

/* =============================================
   DIVIDER — 23px × 3px #DFE2E4
   ============================================= */
.site-divider {
  width: 23px;
  height: 3px;
  background-color: #DFE2E4;
  margin: 0 auto;
}
.site-divider--left { margin-left: 0; }

/* =============================================
   HEADER — position:absolute ALL pages
   Nav text: 14px/21px (master_b override, not 10px)
   ============================================= */
#site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
}

#site-header .header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a { display: block; }
.site-logo img { width: 172px; height: 49px; }
.site-logo-text { font-family: var(--serif); font-size: 20px; color: #FFFFFF; text-decoration: none; }

#site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }

/* master_b-master.css override: #u19914-3 = font-size 14px, line-height 21px */
#site-nav ul li a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  padding: 5px 10px;
  display: block;
  transition: opacity 0.4s ease;
}
#site-nav ul li a:hover { opacity: 0.6; text-decoration: none; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #FFFFFF; margin: 5px 0; transition: all 0.3s; }

/* =============================================
   SECTION 1 — HERO
   min-height: 711px | bg: mnt.jpg
   Title: 65px white / line-height 78px
   Subtitle: 16px/32px white (NOT 17px — #u6708-5 override)
   Button: btn-ghost, border-radius 100px
   ============================================= */
.hero {
  position: relative;
  min-height: 711px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3a4a40;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 40px 60px;
  max-width: 800px;
  width: 100%;
}

.hero__title {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 78px;
  text-align: center;
  margin-bottom: 20px;
}

/* #u6708-5 override: 16px / 32px — NOT 17px h2 class */
.hero__subtitle {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 40px;
}

/* btn-ghost: border 1px white, border-radius 100px, 186px wide, 14px sans */
.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  border-radius: 100px;
  padding: 15px 36px;
  width: 186px;
  background: transparent;
  text-decoration: none;
  transition: background-color 0.4s ease, color 0.4s ease;
}
.btn-ghost:hover { background-color: #FFFFFF; color: #181818; text-decoration: none; }
.btn-ghost--square { border-radius: 0; }
.btn-ghost--square:hover { color: #181818; }

/* =============================================
   SECTION 2 — ABOUT US  bg: #F2F3F4
   Body text: 18px/25px center #193340 (from #u17501-11,-13)
   Secondary text: 18px/25px center #91A99C (from #u18429-4)
   ============================================= */
.about-section { background-color: #F2F3F4; padding: 80px 0; }
.about-section__inner { max-width: 960px; margin: 0 auto; padding: 0 40px; text-align: center; }

.about-section .section-heading {
  color: #193340;
  font-family: var(--serif);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 78px;
  text-align: center;
}

/* #u17501-11,-13: 18px / 25px / center / #193340 */
.about-body {
  color: #193340;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 25px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 12px;
}

/* #u18429-4: same but #91A99C */
.about-body--sage { color: #91A99C; }

/* =============================================
   SECTION 3 — VIEW CLIENTS  bg: moretreeees.jpg
   min-height: 872px | bg-position: center bottom
   Quote: 25px/35px white centred
   Author: 18px italic #91A99C centred
   ============================================= */
.testimonial-section {
  min-height: 872px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2a3a30;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 80px 40px;
}
.testimonial-section__inner { max-width: 865px; margin: 0 auto; text-align: center; }

/* h1---heading-left-light: 25px / 35px white, centred in block */
.testimonial__quote {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 35px;
  text-align: center;
  margin-bottom: 16px;
}

/* #u18384-9: 18px italic serif #91A99C */
.testimonial__author {
  color: #91A99C;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  margin-bottom: 40px;
}

/* =============================================
   SECTION 4 — SERVICES  bg: #FFFFFF
   Heading: 65px / 78px / #193340 centre
   Intro: 25px / 45px / center / #193340
   List left:  16px / 19px / #91A99C  mrs-eaves
   List right: 16px / 19px / #193340  mrs-eaves
   ============================================= */
.services-section { background-color: #FFFFFF; padding: 80px 0; }
.services-section__inner { max-width: 960px; margin: 0 auto; padding: 0 40px; }

.services-section .section-heading {
  color: #193340;
  font-family: var(--serif);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 78px;
  text-align: center;
}

/* #u7915-11,-13: 25px / 45px / center / #193340 */
.services-intro {
  color: #193340;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 45px;
  text-align: center;
}

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 20px; }

/* #u8071-40, #u17991-37: 16px / 19px / #91A99C */
.services-list--sage { list-style: none; padding: 0; margin: 0; }
.services-list--sage li {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #91A99C;
  padding: 3px 0;
}

/* Right col also sage — #u17991-37: color:#91A99C (same as left) */
.services-list--teal { list-style: none; padding: 0; margin: 0; }
.services-list--teal li {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #91A99C;
  padding: 3px 0;
}

/* =============================================
   SECTION 5 — KEEP IT IN-HOUSE  bg: #F2F3F4
   Heading: 44px / 62px / #193340 (from #u18461-12)
   Partner names: 18px / 25px / #91A99C italic (#u18461-9)
   Detail: 18px / 25px / #91A99C / center (#u18028-18,-19)
   ============================================= */
.partners-section { background-color: #F2F3F4; padding: 80px 0; }
.partners-section__inner { max-width: 960px; margin: 0 auto; padding: 0 40px; text-align: center; }

/* #u18461-12: 44px / 62px / #193340 / centre */
.partners-heading {
  color: #193340;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 62px;
  text-align: center;
}

/* #u18461-9: 18px / 25px / #91A99C italic */
.partner-name {
  color: #91A99C;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
}

/* #u18028-18,-19: 18px / 25px / #91A99C / centre */
.partner-detail {
  color: #91A99C;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
}
.partner-detail a { color: #91A99C; }

/* =============================================
   SECTION 6 — CTA  bg: tress.jpg  min-height ~657px
   Text: 25px / 35px white centre
   "Send" / "note" italic
   ============================================= */
.cta-section {
  min-height: 657px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3a4a40;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 40px;
}
.cta-section__inner { max-width: 800px; margin: 0 auto; text-align: center; }

.cta-text {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 35px;
  text-align: center;
  margin-bottom: 40px;
}
.cta-text em { font-style: italic; font-family: var(--serif); }

/* =============================================
   SECTION 7 — FOOTER  bg: #91A99C  min-height 377px
   Text: mr-eaves-xl-modern, 12px, line-height 18px,
         uppercase, #FFFFFF, weight 700, letter-spacing 2px
   ============================================= */
#site-footer {
  background-color: #91A99C;
  min-height: 377px;
  padding: 60px 0 50px;
  display: flex;
  align-items: center;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

/* #u20576-20: 12px / 18px / uppercase / #FFFFFF / weight 700 */
.footer-contact {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  color: #FFFFFF;
}
.footer-contact p { letter-spacing: 2px; margin-bottom: 2px; }
.footer-contact .footer-copyright { letter-spacing: 0; margin-top: 20px; }
.footer-contact a { color: #FFFFFF; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

/* #u20578: white 1px line */
.footer-divider { width: 20px; height: 1px; background: #FFFFFF; margin: 14px 0; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { width: 175px; height: auto; }

.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-end; }
.footer-nav ul li a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 22px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  padding: 5px 5px 5px 10px;
  transition: opacity 0.4s ease;
}
.footer-nav ul li a:hover { opacity: 0.6; text-decoration: none; }

/* =============================================
   INTERIOR PAGE HERO BANNER
   About: min-height 623px, bg-position center top, padding-bottom 207px
   Clients: min-height 448px, bg-position center top, padding-bottom 181px
   Contact: min-height 472px, bg-position center center, padding-bottom 107px
   ============================================= */
.page-hero {
  position: relative;
  min-height: 623px;
  display: flex;
  align-items: flex-end;
  background-color: #3a4a40;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding-top: 20px;
  padding-bottom: 207px;
}

.page-hero--clients {
  min-height: 448px;
  padding-bottom: 181px;
  background-position: center top;
}

.page-hero--contact {
  min-height: 472px;
  padding-bottom: 107px;
  background-position: center center;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* h1---display-center-light: 65px / 78px / white */
.page-hero__title {
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 78px;
  text-align: center;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-form-toggle { text-align: center; }
details.contact-form-details summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #193340;
  list-style: none;
  display: inline-block;
  border-bottom: 1px solid #193340;
  padding-bottom: 2px;
}
details.contact-form-details summary::-webkit-details-marker { display: none; }

.wpcf7 input[type="text"], .wpcf7 input[type="email"],
.wpcf7 input[type="tel"], .wpcf7 textarea {
  width: 100%; font-family: var(--serif); font-size: 16px;
  padding: 12px 16px; border: 1px solid #ccc; background: #FFFFFF;
  margin-bottom: 14px; border-radius: 0; box-sizing: border-box; display: block;
}
.wpcf7 input[type="submit"] {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; padding: 14px 36px;
  border: 1px solid #193340; background: transparent; color: #193340;
  cursor: pointer; transition: all 0.4s; border-radius: 0;
}
.wpcf7 input[type="submit"]:hover { background: #193340; color: #FFFFFF; }

/* =============================================
   CLIENTS PAGE
   ============================================= */
.clients-photo {
  width: 167px; height: 167px;
  border-radius: 50%; border: 1px solid #FFFFFF;
  background-color: #d0dbd5; background-size: cover;
  flex-shrink: 0;
}

/* Quote: #193340, 18px/32px serif */
.clients-quote p {
  color: #193340;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 32px;
  margin-bottom: 8px;
}

/* Name/org: 12px / #91A99C / line-height 22px */
.clients-cite {
  font-family: var(--serif);
  font-size: 12px;
  color: #91A99C;
  line-height: 22px;
}

/* =============================================
   SCROLL ANIMATION
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .services-grid  { grid-template-columns: 1fr; }
  .footer-inner   { flex-wrap: wrap; }
  .footer-right   { align-items: flex-start; }
}

@media (max-width: 768px) {
  #site-nav { display: none; }
  #site-nav.is-open { display: block; }
  .menu-toggle { display: block; }
  #site-nav ul {
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #2c3a30; padding: 20px 0; z-index: 300;
  }
  #site-nav ul li a { padding: 12px 24px; }
  .hero__title, .page-hero__title { font-size: 40px; line-height: 50px; }
  .testimonial__quote { font-size: 20px; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .page-hero, .page-hero--clients, .page-hero--contact { min-height: 400px; padding-bottom: 80px; }
}

@media (max-width: 550px) {
  .hero { min-height: 558px; }
  .cta-section { min-height: 400px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — matching original breakpoints exactly
   Desktop: ≥961px | Tablet: 551–768px | Mobile: ≤550px
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet (551–768px) ── */
@media (min-width: 551px) and (max-width: 768px) {

  /* Hero title: 54px/65px at tablet (#u6708 override) */
  .hero__title { font-size: 54px !important; line-height: 65px !important; }

  /* Services grid: keep 4-col but narrower */
  .services-grid { grid-template-columns: 24px 1fr 1fr 24px; }

  /* Footer stacks at tablet */
  .footer-inner { flex-wrap: wrap; }
}

/* ── Mobile (≤550px) ── */
@media (max-width: 550px) {

  /* Hero: min-height 558px, title 40px/48px (#u6708-3 override) */
  .hero {
    min-height: 558px !important;
    padding-bottom: 92px !important;
    align-items: flex-end !important;
  }
  .hero__title {
    font-size: 40px !important;
    line-height: 48px !important;
  }
  .hero__content { padding-top: 20px; }

  /* Interior page heroes */
  .page-hero,
  .page-hero--clients,
  .page-hero--contact {
    min-height: 320px !important;
    padding-bottom: 60px !important;
  }
  .page-hero__title {
    font-size: 40px !important;
    line-height: 48px !important;
  }

  /* About section: body text 25px/35px on mobile (#u17501-11 override) */
  .about-body { font-size: 25px !important; line-height: 35px !important; }

  /* View Clients section */
  .testimonial-section {
    min-height: 650px !important;
    padding-top: 116px !important;
    padding-bottom: 160px !important;
  }
  .testimonial__quote { font-size: 20px !important; line-height: 30px !important; }

  /* Services: stack to single column, left text only (no 4-col grid) */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  /* On mobile, hide the bullet columns — show text only */
  .services-grid > div:first-child,
  .services-grid > div:last-child { display: none !important; }

  /* Services intro */
  .services-intro { font-size: 18px !important; line-height: 28px !important; }

  /* Partners section: full width, centred */
  .partners-section__inner { padding: 0 20px !important; }

  /* Keep it in-house headings scale down */
  .partners-section h2 { font-size: 32px !important; line-height: 1.2 !important; }
  .partners-section p[style*="44px"] { font-size: 32px !important; }

  /* CTA section */
  .cta-section {
    min-height: 650px !important;
    padding: 60px 20px !important;
  }
  .cta-text { font-size: 20px !important; line-height: 30px !important; }

  /* Footer: stack vertically */
  .footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .footer-right {
    align-items: flex-start !important;
    margin-top: 30px;
  }

  /* Clients page */
  .clients-row-kate,
  .clients-row-tony {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .clients-row-kate .clients-quote-block,
  .clients-row-tony .clients-quote-block {
    width: 100% !important;
    text-align: left !important;
  }
  /* Photo above text on mobile */
  .clients-row-kate .clients-photo { order: -1; }
  .clients-row-terry {
    width: 100% !important;
    margin-left: 0 !important;
  }

  /* Contact: stack 3-col grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px 0 !important;
  }

  /* General padding */
  .site-inner,
  .about-section__inner,
  .services-section__inner,
  .partners-section__inner,
  .cta-section__inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* About page content */
  .about-body { font-size: 18px !important; }
  .about-commitment-intro { font-size: 18px !important; line-height: 32px !important; }
}
