/* Joel Pietsch Group — faithful static replica of the live Wix site.
   White bg, black/gray light-weight type. Montserrat Light headings,
   Mulish Light body (stand-ins for Brandon Grotesque / Avenir LT Light).
   Accent uses match the LIVE page only: pale blue-gray nav highlight,
   red serif credentials (Contact), gold stars (reviews), pale review panel. */

/* ---- Self-hosted fonts (latin + latin-ext cover Spanish accents) ---- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/montserrat-light-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/montserrat-light-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Mulish is a variable font — one file covers weights 300–400. */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/mulish-light-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/mulish-light-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Theme tokens (live-site palette) ---- */
:root {
  --white: #ffffff;
  --ink: #1a1a1a;             /* near-black body text */
  --black: #000000;
  --gray-soft: #4a4a4a;       /* header sub-lines */
  --gray-nav: #5c5c5c;        /* nav links */
  --gray-foot: #757575;       /* footer */
  --nav-hi: #f0f5f7;          /* pale blue-gray current-page highlight */
  --cred-red: #a5352c;        /* Contact credential red serif */
  --serif-gray: #6b6b6b;      /* Contact phone/email serif gray */
  --band-gray: #c9c9c9;       /* Contact full-width band */
  --card-gray: #f5f5f5;       /* Forms cards */
  --review-panel: #f2f7f7;    /* Client Reviews panel */
  --star-gold: #e0a63c;       /* review stars (the one gold the live site has) */
  --hairline: #e3e3e3;
  --body-font: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head-font: 'Montserrat', 'Mulish', Helvetica, Arial, sans-serif;
  --serif-font: Georgia, 'Times New Roman', serif;
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover, a:focus { color: var(--black); }
strong, b { font-weight: 400; }

/* Screen-reader-only (home/Spanish h1 — live pages have no visible heading) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Header: LEFT brand + RIGHT nav (live Wix layout) ---- */
.site-header {
  background: var(--white);
  padding: 2rem 8vw 1.6rem 11vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.brand__mark {
  font-family: var(--head-font);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0 0 0.55rem;
  line-height: 1.2;
}
.brand__lines {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-soft);
}
.brand__lines a { color: var(--gray-soft); text-decoration: none; }
.brand__lines a:hover, .brand__lines a:focus { color: var(--black); text-decoration: underline; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
}
.nav a {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 15px;
  color: var(--gray-nav);
  text-decoration: none;
  padding: 12px 22px;
  white-space: nowrap;
}
.nav a:hover, .nav a:focus { color: var(--black); }
.nav a[aria-current="page"] {
  background: var(--nav-hi);
  color: var(--ink);
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.6rem 1rem 1rem;
    gap: 0.9rem;
  }
  .nav { justify-content: center; }
  .nav a { padding: 8px 10px; }
}

/* ---- Hero banner (home + Spanish only) ---- */
.hero { display: block; width: 100%; }
.hero img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .hero img { height: 200px; }
}

/* ---- Main / headings ---- */
main { padding: 3rem 0 5rem; }
.wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
h1, h2, h3 {
  font-family: var(--head-font);
  font-weight: 300;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 1.2rem;
}
p { margin: 0 0 1.3rem; }

/* Home / Spanish body: centered, airy */
.prose-center {
  text-align: center;
  font-size: 19px;
  line-height: 1.75;
}
.prose-center p { margin: 0 0 1.6rem; }

/* ---- Pill outline buttons (the live site's own button pattern) ---- */
.pill {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 15px;
  text-decoration: none;
  padding: 0.72rem 1.9rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  line-height: 1.3;
}
.pill:hover, .pill:focus { background: var(--ink); color: var(--white); }

.cta-line {
  text-align: center;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---- Client Reviews (home only; recreated from the dead Wix widget) ---- */
.reviews { margin: 4.5rem 0 0; }
.reviews__head {
  text-align: center;
  font-size: 40px;
  margin-bottom: 0.4rem;
}
.reviews__leave {
  text-align: center;
  font-size: 15px;
  margin: 0 0 2rem;
}
.reviews__leave a { color: var(--gray-nav); }
.review-panel {
  background: var(--review-panel);
  border-radius: 4px;
  padding: 2.2rem 2rem 1.6rem;
  text-align: left;
}
.review { padding: 0 0 1.6rem; margin: 0 0 1.6rem; border-bottom: 1px solid var(--hairline); }
.review:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0.4rem; }
.review__name {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 0.15rem;
}
.review__stars {
  color: var(--star-gold);
  font-size: 17px;
  letter-spacing: 0.12em;
  margin: 0 0 0.7rem;
}
.review__text { font-size: 16px; line-height: 1.7; }
.review__text p { margin: 0 0 0.9rem; }
.review__text p:last-child { margin-bottom: 0; }

.reviews details { margin-top: 0.4rem; text-align: center; }
.reviews details .review { text-align: left; }
.reviews summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-weight: 300;
  font-size: 15px;
  padding: 0.72rem 1.9rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  line-height: 1.3;
  margin: 0.4rem 0 1.2rem;
}
.reviews summary::-webkit-details-marker { display: none; }
.reviews summary:hover, .reviews summary:focus { background: var(--ink); color: var(--white); }
.reviews details[open] summary { display: none; }
.reviews__more-wrap { text-align: center; }
.reviews details .review:first-of-type { border-top: 1px solid var(--hairline); padding-top: 1.6rem; }

@media (max-width: 700px) {
  .reviews__head { font-size: 30px; }
  .review-panel { padding: 1.5rem 1.1rem 1rem; }
}

/* ---- Contact page (/contact-8): gray band + stacked white cards ---- */
.contact-head {
  font-size: 56px;
  font-weight: 300;
  text-align: left;
  margin: 0 0 0.6rem;
}
@media (max-width: 700px) { .contact-head { font-size: 38px; } }
.contact-band {
  background: var(--band-gray);
  padding: 3.2rem 1.2rem 3.6rem;
  margin-top: 2.4rem;
}
.provider-card {
  background: var(--white);
  max-width: 500px;
  margin: 0 auto 2rem;
  padding: 48px 32px;
  text-align: center;
}
.provider-card:last-child { margin-bottom: 0; }
.provider-card h2 {
  font-size: 22px;
  margin: 0 0 0.4rem;
}
.provider-card .cred {
  font-family: var(--serif-font);
  color: var(--cred-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin: 0 0 1.3rem;
}
.provider-card .line {
  font-family: var(--serif-font);
  color: var(--serif-gray);
  font-size: 16px;
  margin: 0 0 0.45rem;
}
.provider-card .line a {
  font-family: var(--serif-font);
  color: var(--serif-gray);
  text-decoration: none;
}
.provider-card .line a:hover, .provider-card .line a:focus { text-decoration: underline; }

/* ---- Forms page: centered heading + 3-column gray cards ---- */
.forms-head {
  text-align: center;
  text-transform: uppercase;
  font-size: 40px;
  letter-spacing: 0.05em;
  margin: 0 0 1.2rem;
}
.forms-intro { text-align: center; font-size: 17px; max-width: 620px; margin: 0 auto 2.6rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; max-width: 460px; } }
.form-card {
  background: var(--card-gray);
  padding: 2rem 1.4rem 2.2rem;
  text-align: center;
}
.form-card h2 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 19px;
  margin: 0 0 0.6rem;
}
.form-card p { font-size: 15px; color: var(--gray-soft); margin: 0 0 1.4rem; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 1.6rem 1rem 6rem; /* bottom pad clears sticky mobile bar */
  color: var(--gray-foot);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}
.site-footer a { color: var(--gray-foot); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: var(--black); text-decoration: underline; }
@media (min-width: 701px) {
  .site-footer { padding-bottom: 2.2rem; }
}

/* ---- Sticky mobile call bar (<=700px only) ---- */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: var(--black);
    padding: 0 0 env(safe-area-inset-bottom);
    text-align: center;
  }
  .call-bar a {
    display: block;
    color: var(--white);
    font-family: var(--body-font);
    font-weight: 300;
    letter-spacing: 0.02em;
    font-size: 17px;
    text-decoration: none;
    padding: 0.85rem 1rem;
  }
}

/* ---- 404 ---- */
.err { text-align: center; padding: 2rem 0 4rem; }
.err h1 { font-size: 34px; }
.err p { margin: 0 0 1.5rem; }
.err .links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: center; margin-bottom: 1.9rem; }
.err .links a { color: var(--gray-nav); }
