/* ==========================================================================
   Homino (site13) — marketing pages: areas, services, about, contact, team,
   FAQs, guides, market reports, mortgage calculator, careers, legal.

   Namespaced pg- and scoped under .pg-page. Same palette and radii as
   home.css and property.css so the whole site reads as one product.
   ========================================================================== */

.pg-page,
.pg-page h1,
.pg-page h2,
.pg-page h3,
.pg-page h4,
.pg-page b,
.pg-page strong,
.pg-page button,
.pg-page input,
.pg-page select,
.pg-page textarea {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.pg-page {
  --t: #0DA9A5;
  --t-dark: #0B8F8C;
  --t-soft: #E6F7F6;
  --navy: #08283D;
  --ink: #102A43;
  --muted: #62778C;
  --line: #E8EEF3;
  --bg-soft: #F7FAFC;
  --blue: #2F80ED;
  --purple: #8B5CF6;
  --orange: #F59E0B;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --pill: 999px;

  --sh-sm: 0 2px 10px rgba(16, 42, 67, .05);
  --sh: 0 10px 30px rgba(16, 42, 67, .08);
  --sh-lg: 0 20px 55px rgba(16, 42, 67, .13);

  --max: 1220px;
  --gut: 28px;

  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.pg-page *,
.pg-page *::before,
.pg-page *::after { box-sizing: border-box; }

.pg-page img { max-width: 100%; }

.pg-wrap {
  width: min(var(--max), calc(100% - var(--gut) * 2));
  margin-inline: auto;
}

.pg-section { padding: 56px 0; }
.pg-section--tight { padding: 34px 0; }
.pg-section--soft { background: var(--bg-soft); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.pg-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 60px;
  color: #fff;
  background: linear-gradient(112deg, #08283D 0%, #0B6E77 52%, #0DA9A5 100%);
}

.pg-hero::after {
  content: "";
  position: absolute;
  top: -140px;
  inset-inline-end: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.pg-hero__inner { position: relative; z-index: 1; max-width: 720px; }

.pg-eyebrow {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pg-hero h1 {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
}

.pg-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 16.5px;
  line-height: 1.7;
}

.pg-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* breadcrumb strip under the hero */
.pg-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  color: var(--muted);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}

.pg-crumbs a { color: var(--muted); text-decoration: none; }
.pg-crumbs a:hover { color: var(--t); }
.pg-crumbs i { font-size: 9px; opacity: .55; }
.pg-crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Headings & prose
   -------------------------------------------------------------------------- */
.pg-head { margin-bottom: 30px; max-width: 760px; }
.pg-head--center { margin-inline: auto; text-align: center; }

.pg-head h2 { margin: 0 0 10px; font-size: 28px; font-weight: 700; line-height: 1.25; }
.pg-head p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

.pg-prose { max-width: 760px; color: #3B5266; font-size: 15.5px; line-height: 1.85; }
.pg-prose h3 { margin: 32px 0 10px; color: var(--ink); font-size: 19px; font-weight: 700; }
.pg-prose h3:first-child { margin-top: 0; }
.pg-prose p { margin: 0 0 14px; }
.pg-prose ul { margin: 0 0 16px; padding-inline-start: 20px; }
.pg-prose li { margin-bottom: 7px; }
.pg-prose a { color: var(--t); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.pg-btn:hover { transform: translateY(-2px); }
.pg-btn--primary { color: #fff; background: var(--t); }
.pg-btn--primary:hover { background: var(--t-dark); color: #fff; }
.pg-btn--light { color: var(--ink); background: #fff; }
.pg-btn--light:hover { color: var(--t); }
.pg-btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.pg-btn--ghost:hover { color: var(--t); border-color: var(--t); }
.pg-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.pg-btn--outline:hover { color: var(--navy); background: #fff; }
.pg-btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Grids & cards
   -------------------------------------------------------------------------- */
.pg-grid { display: grid; gap: 22px; }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pg-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}

.pg-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }

.pg-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--t);
  border-radius: 13px;
  background: var(--t-soft);
  font-size: 18px;
}

.pg-card__icon--blue   { color: var(--blue);   background: #E8F1FD; }
.pg-card__icon--purple { color: var(--purple); background: #F1EBFE; }
.pg-card__icon--orange { color: var(--orange); background: #FEF3E2; }

.pg-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.pg-card p  { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.pg-card__link {
  margin-top: 16px;
  color: var(--t);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.pg-card__list { margin: 14px 0 0; padding: 0; list-style: none; }

.pg-card__list li {
  position: relative;
  padding: 5px 0;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 13.5px;
}

.pg-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t);
}

/* --------------------------------------------------------------------------
   Stat band
   -------------------------------------------------------------------------- */
.pg-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--line);
}

.pg-stat { padding: 26px 22px; background: #fff; text-align: center; }
.pg-stat strong { display: block; color: var(--t); font-size: 30px; font-weight: 700; line-height: 1.1; }
.pg-stat span   { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Area tiles
   -------------------------------------------------------------------------- */
.pg-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.pg-area {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r);
  text-decoration: none;
}

.pg-area img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pg-area:hover img { transform: scale(1.07); }

.pg-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 40, 61, 0) 42%, rgba(8, 40, 61, .82) 100%);
}

.pg-area__body { position: absolute; inset: auto 16px 14px; z-index: 1; color: #fff; }
.pg-area__name { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.pg-area__meta { display: block; margin-top: 3px; color: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 600; }

.pg-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin-bottom: 24px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
}

.pg-filter i { color: var(--muted); }

.pg-filter input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 14px;
  color: var(--ink);
  background: none;
}

/* --------------------------------------------------------------------------
   Advisor cards
   -------------------------------------------------------------------------- */
.pg-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.pg-person {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}

.pg-person:hover { transform: translateY(-4px); box-shadow: var(--sh); }

.pg-person img {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
}

.pg-person h3 { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
.pg-person h3 a { color: inherit; text-decoration: none; }
.pg-person h3 a:hover { color: var(--t); }
.pg-person__role { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; font-weight: 600; }

.pg-person__count {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  color: var(--t);
  border-radius: var(--pill);
  background: var(--t-soft);
  font-size: 11.5px;
  font-weight: 700;
}

.pg-person__acts { display: flex; justify-content: center; gap: 8px; }

.pg-person__acts a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

.pg-person__acts a:hover { color: var(--t); border-color: var(--t); }
.pg-person__acts a.is-wa:hover { color: #25D366; border-color: #25D366; }

/* --------------------------------------------------------------------------
   Tables (market reports)
   -------------------------------------------------------------------------- */
.pg-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.pg-table { width: 100%; border-collapse: collapse; min-width: 620px; }

.pg-table th {
  padding: 14px 20px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: start;
  text-transform: uppercase;
  white-space: nowrap;
}

.pg-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  white-space: nowrap;
}

.pg-table tr:last-child td { border-bottom: 0; }
.pg-table tbody tr:hover { background: var(--bg-soft); }
.pg-table td:first-child { font-weight: 700; }
.pg-table td a { color: var(--ink); text-decoration: none; }
.pg-table td a:hover { color: var(--t); }
.pg-table .pg-num { color: var(--t); font-weight: 700; }

/* inline-block, not inline: width and height do not apply to a bare inline
   span, so the whole column collapsed to nothing */
.pg-bar {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 6px;
  border-radius: var(--pill);
  background: var(--line);
  vertical-align: middle;
}

/* inset-inline-start so the bar grows from the same edge the numbers are
   read from, rather than always from the left. */
.pg-bar span { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: var(--pill); background: var(--t); }

.pg-tabs { display: flex; gap: 8px; margin-bottom: 22px; }

.pg-tab {
  padding: 10px 20px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.pg-tab.is-active { color: #fff; border-color: var(--t); background: var(--t); }

/* --------------------------------------------------------------------------
   Accordion (FAQs)
   -------------------------------------------------------------------------- */
.pg-faq { max-width: 820px; }

.pg-faq details {
  margin-bottom: 12px;
  padding: 4px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}

.pg-faq details[open] { border-color: rgba(13, 169, 165, .4); box-shadow: var(--sh-sm); }

.pg-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.pg-faq summary::-webkit-details-marker { display: none; }

.pg-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--t);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.pg-faq details[open] summary::after { content: "–"; }
.pg-faq p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.pg-form { display: grid; gap: 16px; }
.pg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; }

.pg-field input,
.pg-field select,
.pg-field textarea {
  width: 100%;
  padding: 12px 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 14.5px;
}

.pg-field textarea { min-height: 130px; resize: vertical; }

.pg-field input:focus,
.pg-field select:focus,
.pg-field textarea:focus {
  border-color: var(--t);
  box-shadow: 0 0 0 3px rgba(13, 169, 165, .15);
  outline: 0;
}

.pg-req { color: #E5484D; }

.pg-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 18px;
  color: #0B6E6B;
  border: 1px solid rgba(13, 169, 165, .3);
  border-radius: var(--r-sm);
  background: var(--t-soft);
  font-size: 14px;
  font-weight: 600;
}

/* contact split */
.pg-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }

.pg-contact-list { margin: 0; padding: 0; list-style: none; }

.pg-contact-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pg-contact-list li:last-child { border-bottom: 0; }

.pg-contact-list i {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--t);
  border-radius: 11px;
  background: var(--t-soft);
  font-size: 15px;
}

.pg-contact-list strong { display: block; font-size: 13px; font-weight: 700; }
.pg-contact-list span   { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.pg-contact-list a      { color: var(--muted); text-decoration: none; }
.pg-contact-list a:hover { color: var(--t); }

/* --------------------------------------------------------------------------
   Mortgage calculator
   -------------------------------------------------------------------------- */
.pg-calc { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; }

.pg-calc__panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.pg-calc__result {
  position: sticky;
  top: 104px;
  padding: 30px 28px;
  color: #fff;
  border-radius: var(--r);
  background: linear-gradient(150deg, #08283D 0%, #0B6E77 60%, #0DA9A5 100%);
  box-shadow: var(--sh);
}

.pg-calc__result h3 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, .78);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pg-calc__big { font-size: 38px; font-weight: 700; line-height: 1.1; }
.pg-calc__big small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .76); font-size: 12.5px; font-weight: 600; }

.pg-calc__rows { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); }

.pg-calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 13.5px;
}

.pg-calc__row span { color: rgba(255, 255, 255, .78); }
.pg-calc__row b { font-weight: 700; }

.pg-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pg-presets button {
  padding: 8px 15px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.pg-presets button:hover { color: var(--t); border-color: var(--t); }
.pg-presets button.is-active { color: #fff; border-color: var(--t); background: var(--t); }

.pg-range { display: grid; gap: 8px; margin-bottom: 22px; }

.pg-range__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pg-range__top label { color: var(--muted); font-size: 13px; font-weight: 700; }
.pg-range__top output { color: var(--ink); font-size: 15px; font-weight: 700; }

.pg-range input[type="range"] {
  width: 100%;
  height: 6px;
  margin: 0;
  border-radius: var(--pill);
  background: var(--line);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.pg-range input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--t);
  box-shadow: 0 2px 8px rgba(16, 42, 67, .25);
  appearance: none;
  -webkit-appearance: none;
}

.pg-range input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--t);
}

.pg-range__hint { color: var(--muted); font-size: 11.5px; }

/* --------------------------------------------------------------------------
   Steps / timeline (guides, careers)
   -------------------------------------------------------------------------- */
.pg-steps { display: grid; gap: 18px; counter-reset: step; }

.pg-step {
  position: relative;
  padding: 22px 26px;
  padding-inline-start: 76px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.pg-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 24px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 50%;
  background: var(--t);
  font-size: 14px;
  font-weight: 700;
}

.pg-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.pg-step p  { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.pg-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.pg-role + .pg-role { margin-top: 14px; }
.pg-role h3 { margin: 0 0 5px; font-size: 16.5px; font-weight: 700; }

.pg-role__meta { display: flex; flex-wrap: wrap; gap: 8px; }

.pg-tag {
  padding: 5px 12px;
  color: var(--muted);
  border-radius: var(--pill);
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */
.pg-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 40px;
  color: #fff;
  border-radius: var(--r-lg);
  background: linear-gradient(112deg, #0B6E77 0%, #128C86 45%, #3FBF8A 100%);
}

.pg-cta h2 { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.pg-cta p  { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.7; }
.pg-cta__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .pg-grid--4, .pg-areas, .pg-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-calc { grid-template-columns: 1fr; }
  .pg-calc__result { position: static; }
}

@media (max-width: 900px) {
  .pg-grid--3, .pg-grid--4, .pg-areas, .pg-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-split { grid-template-columns: 1fr; gap: 30px; }
  .pg-hero h1 { font-size: 33px; }
}

@media (max-width: 620px) {
  .pg-page { --gut: 16px; }
  .pg-section { padding: 40px 0; }
  .pg-grid--2, .pg-grid--3, .pg-grid--4, .pg-areas, .pg-people { grid-template-columns: 1fr; }
  .pg-form__row { grid-template-columns: 1fr; }
  .pg-hero { padding: 46px 0 42px; }
  .pg-hero h1 { font-size: 27px; }
  .pg-head h2 { font-size: 23px; }
  .pg-cta { padding: 28px; }
  .pg-step { padding: 20px 20px 20px 68px; }
}
