/* goldshlager.ca — cleanup 2026-08, modernized pass.
   Brand blues kept (#9BB3CD family); image-button chrome replaced with CSS;
   system font stack, responsive type + spacing. */

* { box-sizing: border-box; }
:root {
  --brand: #9BB3CD;
  --brand-deep: #3a5a80;
  --brand-pale: #f0f4f8;
  --ink: #222;
  --rule: #c5cdd6;
}
body { margin: 0; color: var(--ink); background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; }

/* ---- header ---- */
.header { width: 100%; background-color: var(--brand); }
.header_inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; }
.logo { text-align: left; flex: 1 1 580px; min-width: 280px; }
.logo_link { display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 10px 16px 10px 18px; }
.jg_mark { display: block; flex: 0 0 auto; }
.logo_text { display: flex; flex-direction: column; min-width: 0; }
.logo_name { font-family: Georgia, 'Times New Roman', serif; font-variant: small-caps;
  color: #fff; font-size: clamp(1.15rem, 2.6vw, 1.75rem); letter-spacing: 0.03em;
  line-height: 1.15; text-shadow: 0 1px 1px rgba(20, 35, 50, 0.25); }
/* gold sheen sweeps the name once on load: a nod to the old animated header */
@supports (-webkit-background-clip: text) {
  .logo_name { text-shadow: none; color: transparent;
    background: linear-gradient(100deg, #fff 42%, #e8c96a 50%, #fff 58%);
    background-size: 300% 100%; background-position: 120% 0;
    -webkit-background-clip: text; background-clip: text;
    animation: gold_sweep 2.6s ease-in-out 0.5s 1 both; }
  @keyframes gold_sweep {
    from { background-position: 120% 0; }
    to   { background-position: -180% 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .logo_name { animation: none; background-position: -180% 0; }
  }
}
.logo_sep { font-size: 0.65em; vertical-align: 0.15em; padding: 0 2px; }
.logo_creds { white-space: nowrap; }
.logo_tag { font-size: 0.78rem; font-weight: 700; color: #1c2b3a; letter-spacing: 0.02em; margin-top: 2px; }
.header_pics { display: flex; align-items: center; gap: 24px; padding: 6px 16px 6px 0; }

/* ---- two-column layout ---- */
.layout { display: flex; align-items: flex-start; width: 100%; max-width: 1240px; margin: 0 auto; }
.column_left { width: 220px; min-width: 220px; max-width: 220px; }
.column_left_sticky { position: -webkit-sticky; position: sticky; top: 10px; }
.column_main { flex: 1 1 auto; min-width: 0; }
.column_right_menu { text-align: center; }
.column_right { background-color: #fff; }
.spacer1 { height: 20px; }
#maincontent { margin: clamp(12px, 2.5vw, 28px) auto 0 auto; max-width: 920px;
  padding: 0 clamp(12px, 3vw, 32px) clamp(16px, 3vw, 32px); background-color: #fff; }

/* ---- typography ---- */
h1, h2, h3 { line-height: 1.3; color: #1c2b3a; }
h2 { font-size: 1.25rem; }
p, li, td { font-size: 1rem; }
p { text-align: left; margin: 0 0 1em; }
a { color: #2a5788; }
a:hover { color: var(--brand-deep); }

.contentheading { border-left: 3px solid var(--brand); padding: 4px 12px; margin: 1.8em 0 0.8em;
  font-size: 1.05rem; font-weight: 600; color: #1c2b3a; height: auto; max-width: none; background: none; }
.contentheading.page_title { background: var(--brand-pale); border-left: 4px solid var(--brand-deep);
  border-radius: 0 4px 4px 0; padding: 10px 14px; margin: 0.4em 0 1em; font-size: 1.15rem; }
.contentheadingtext { position: static; }
.leftmenulink { text-decoration: none; color: #888; font-size: 0.95rem; font-weight: 700; }
.leftmenulinkhighlight { text-decoration: none; color: #000; font-size: 0.95rem; font-weight: 700; }
.realestatebutton { text-align: center; padding-top: 20px; width: 322px; position: relative; height: 62px;
  background-color: #395163; background-image: url(images/button_bg.jpg);
  color: #1E2937; text-decoration: none; font-weight: bold; }
.buttonlinkcolor { color: #1E2937; text-decoration: none; font-weight: bold; }

/* ---- forms ---- */
input[type="text"], textarea { border: 1px solid #b8c2cc; border-radius: 4px; padding: 6px 8px; font: inherit; }
input[type="submit"], button { border: 1px solid var(--brand-deep); border-radius: 4px; background: var(--brand-pale);
  padding: 8px 18px; font: inherit; cursor: pointer; }
input[type="submit"]:hover, button:hover { background: #dce6f1; }

/* ---- LTT mini calculator card ---- */
.lttcalc_card { margin: 14px 12px 0; border: 1px solid var(--brand-deep); border-radius: 6px;
  background: var(--brand-pale); overflow: hidden; font-size: 0.85rem; }
.lttcalc_card .lttcalc_title { display: block; background: var(--brand); color: #1c2b3a;
  font-weight: 700; text-decoration: none; padding: 8px 10px; font-size: 0.85rem; }
.lttcalc_card .lttcalc_title:hover { background: #8aa5c2; }
.lttcalc_card form { display: block; padding: 10px; margin: 0; }
.lttcalc_card .lttcalc_label { display: block; font-weight: 600; margin-bottom: 4px; }
.lttcalc_card input[type="text"] { width: 100%; text-align: right; margin-bottom: 8px; }
.lttcalc_card label { display: block; margin: 2px 0; }
.lttcalc_card .lttcalc_result { margin-top: 10px; text-align: right; }
.lttcalc_card #landTaxMain { background: #fff; border: 1px solid #707070; border-radius: 4px;
  padding: 4px 8px; min-height: 1.5em; font-weight: 600; }
.lttcalc_card .lttcalc_result span { font-size: 0.8rem; color: #444; }

/* ---- calculators / tables ---- */
.hilite_blue { font-weight: bold; background-color: #BECFE9; }
.hilite_yellow { background-color: #f6f3c2; font-weight: bold; }
.row_top { border-top: 2px solid #444; border-bottom: 1px solid #999; }
.row_middle { border-top: 1px solid #999; border-bottom: 1px solid #999; }
.row_bottom { border-top: 1px solid #999; border-bottom: 2px solid #444; }
.details_toggle { border: 1px solid var(--brand-deep); border-radius: 6px; background: var(--brand-pale);
  padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.details_toggle:hover { background: #dce6f1; }
#plus_minus_txt { font-weight: 700; padding-left: 4px; }
#ltt_full_calc { display: block; }
#ltt_full_calc td, #ltt_details li { font-size: 0.95rem; }
#ltt_details { display: none; }
.ltt_calc_heading { padding: 6px 0; font-size: 1.05rem; font-weight: 600; height: auto; max-width: none; }

table.real_estate_residential, table.utilities, table.links, table.wills_and_estates { width: 100%; }
table.utilities td, table.links td { padding: 4px 6px; }

/* ---- home ---- */
.notice_banner { background-color: #b9f6b9; border: 1px solid #2e7d32; border-radius: 4px;
  padding: 12px 16px; margin: 8px 0 20px 0; font-weight: 600; text-align: center; }
.nb_line { display: block; }
#homecontent { float: left; width: 58%; margin: 0 2% 0 0; max-width: 100%; }
#sidebar { float: left; width: 38%; margin: 10px 0 0 0; }

/* ---- testimonials ---- */
.client { display: block; padding: 10px 0 0 0; }
.clientSignature { display: block; padding: 0 0 0 15px; }
.quote { font-style: italic; }
#sidebar .testimonial { background-color: var(--brand); padding: 3px 1px 1px 1px; border-radius: 6px; }
#sidebar .testimonial .message { background-color: #fff; padding: 10px; border-radius: 6px; }
#sidebar .testimonial .label { font-size: 1.05rem; font-weight: 600; padding: 6px 10px; color: white; }
#sidebar .client { display: block; padding: 10px 0 0 10px; }
#sidebar .clientSignature { display: block; padding: 0 0 0 25px; }
#sidebar .quote { font-style: italic; width: 98%; font-size: 0.95rem; }
#sidebar #testimonialId { display: none; }

/* ---- left menu (text, no images) ---- */
.menu_left { list-style: none; margin: 10px 0 0 0; padding: 0; }
.menu_left li { display: block; border-bottom: 1px solid var(--rule); }
.menu_left li:first-child { border-top: 1px solid var(--rule); }
.menu_left li:hover { background: #eef2f7; }
.menu_left li.selected { background: #dce6f1; box-shadow: inset 3px 0 0 var(--brand-deep); }
.menu_left li a { text-decoration: none; color: var(--ink); display: block;
  padding: 9px 10px 9px 20px; font-size: 0.95rem; }
.ext_icon { font-size: 85%; opacity: 0.6; }

/* ---- social section (below the calculator) ---- */
.social_section { margin: 18px 12px 0; }
.side_label { font-size: 0.78rem; font-weight: 600; color: #56606b; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0 0 4px 2px; border-bottom: 1px solid var(--rule); }
.social_menu { list-style: none; margin: 0; padding: 0; }
.social_menu li { border-bottom: 1px solid var(--rule); }
.social_menu li:hover { background: #eef2f7; }
.social_menu li a { text-decoration: none; color: var(--ink); display: flex; align-items: center;
  gap: 8px; padding: 8px 6px; font-size: 0.92rem; }
.social_ico { color: var(--brand-deep); flex: 0 0 auto; }

/* ---- top menu (text buttons, centered) ---- */
.top_menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2px 10px; margin: 6px 0 0; padding: 0 8px; }
.top_menu li, .top_menu li div { display: block; width: auto; height: auto; background: none; margin: 0; }
.top_menu li a { display: block; text-align: center; text-decoration: none; color: #1c2b3a;
  padding: 14px 14px 11px; margin: 0; font-size: clamp(0.85rem, 1.4vw, 1rem); font-weight: 600;
  letter-spacing: 0.04em; line-height: 1.25; border-bottom: 3px solid transparent; }
.top_menu li a br { display: none; }
.top_menu li div:hover a, .top_menu li.selected div a { border-bottom-color: var(--brand-deep); color: var(--brand-deep); }

/* ---- section sub-menu (pills, centered) ---- */
.sub_menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin: 10px 8px 0; padding: 0; }
.sub_menu li { border: 1px solid #b8c2cc; border-radius: 999px; background: #f7f9fb; }
.sub_menu li:hover { background: #e4ebf3; }
.sub_menu li.selected { background: #dce6f1; border-color: var(--brand-deep); }
.sub_menu li a { display: block; padding: 7px 16px; text-decoration: none; color: var(--ink);
  font-size: 0.9rem; white-space: nowrap; }

.utility_note { font-size: 0.9rem; color: #555; margin: 4px 0 12px; }

/* ---- utilities: city cards, degrade 4-across -> 2x2 -> stacked ---- */
.utility_cards { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.utility_card { border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.utility_head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  background: #dce6f1; padding: 8px 14px; }
.utility_city { font-weight: 700; letter-spacing: 0.02em; }
.utility_head a { font-size: 0.9rem; }
.utility_numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px 16px; padding: 10px 14px; }
.utility_numbers > div { min-width: 0; }
.utility_label { display: block; font-size: 0.78rem; font-weight: 600; color: #56606b;
  text-transform: uppercase; letter-spacing: 0.05em; }
.utility_numbers a { white-space: nowrap; text-decoration: none; font-variant-numeric: tabular-nums; }
.utility_numbers a:hover { text-decoration: underline; }

/* ---- contact page ---- */
.contact_grid { display: grid; grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 20px; margin-top: 12px; align-items: stretch; }
.contact_panel { border: 1px solid var(--rule); border-radius: 8px; background: #fbfcfd;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.contact_row { line-height: 1.5; }
.contact_label { display: block; font-size: 0.78rem; font-weight: 600; color: #56606b;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact_vcard { display: inline-block; margin-top: auto; align-self: flex-start;
  border: 1px solid var(--brand-deep); border-radius: 6px; background: var(--brand-pale);
  color: #1c2b3a; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 10px 16px; }
.contact_vcard:hover { background: #dce6f1; color: #1c2b3a; }
.contact_map { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact_map iframe { width: 100%; flex: 1 1 auto; min-height: 380px; border: 1px solid var(--rule);
  border-radius: 8px; display: block; }
.contact_map_link { font-size: 0.9rem; align-self: flex-end; }
@media (max-width: 700px) {
  .contact_grid { grid-template-columns: 1fr; }
  .contact_map iframe { min-height: 300px; }
}

/* ---- links page ---- */
.link_cards { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.link_card { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.link_card_head { background: #dce6f1; padding: 9px 16px; font-weight: 700; letter-spacing: 0.01em; }
.link_card_body { padding: 14px 16px; }
.link_card_note { margin: 0 0 10px; font-size: 0.92rem; color: #555; }
.link_pills { display: flex; flex-wrap: wrap; gap: 8px; }
.link_pills a { display: block; border: 1px solid #b8c2cc; border-radius: 999px; background: #f7f9fb;
  padding: 7px 16px; text-decoration: none; color: var(--ink); font-size: 0.9rem; white-space: nowrap; }
.link_pills a:hover { background: #e4ebf3; }
.logo_row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.logo_row a { display: flex; align-items: center; }
.logo_row img { max-height: 48px; width: auto; }

/* ---- comments form ---- */
.form_card { border: 1px solid var(--rule); border-radius: 8px; background: #fbfcfd;
  padding: 20px 22px; max-width: 560px; margin-top: 8px; }
.form_row { margin-bottom: 14px; }
.form_row label { display: block; font-size: 0.85rem; font-weight: 600; color: #3c4652; margin-bottom: 4px; }
.form_req { font-weight: 400; color: #8a939d; }
.form_row input[type="text"], .form_row input[type="email"], .form_row textarea { width: 100%; }
.form_row input:user-invalid, .form_row textarea:user-invalid { border-color: #c0392b; }
.form_counter { font-size: 0.8rem; color: #8a939d; text-align: right; margin-top: 2px; }
.form_counter_max { color: #c0392b; font-weight: 600; }
.hp_field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---- residential choice buttons + sub-page banners ---- */
.res_split { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: 12px 40px; margin-top: 16px; align-items: start; }
.res_intro p { font-size: 1.02rem; }
@media (max-width: 820px) { .res_split { grid-template-columns: 1fr; } }

.choice_list { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 8px; max-width: 620px; }
.choice_btn { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; text-decoration: none; color: #1c2b3a; font-size: 1.05rem; font-weight: 600;
  background: linear-gradient(90deg, #b6c6d6 0%, #dfe7ee 55%, #ffffff 100%);
  border: 1px solid #a9bccd; border-radius: 8px;
  transition: transform 0.08s ease, box-shadow 0.08s ease; }
.choice_btn:hover { color: var(--brand-deep); box-shadow: 0 2px 6px rgba(28, 43, 58, 0.15);
  transform: translateY(-1px); }
.choice_arrow { font-size: 1.4rem; line-height: 1; color: var(--brand-deep); }

/* ---- content elements never force horizontal scroll ---- */
#maincontent iframe { max-width: 100%; }
#maincontent textarea, #maincontent input[type="text"] { max-width: 100%; box-sizing: border-box; }
#maincontent img { max-width: 100%; height: auto; }
@media (max-width: 980px) {
  #maincontent table { display: block; overflow-x: auto; max-width: 100%; }
}

/* ---- hamburger (mobile only) ---- */
.nav_toggle { display: none; }

/* ---- footer ---- */
.footer_rule { margin: 36px 30px 0 10px; border: 0; border-top: 1px solid var(--rule); }
.site_footer { margin: 0 auto; max-width: 920px; padding: 12px clamp(12px, 3vw, 32px) 28px; color: var(--ink); }
.footer_name { font-weight: 700; font-size: 1.1rem; color: #1c2b3a; padding: 12px 0 2px; }
.footer_cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px 40px; padding: 6px 0 10px; }
.footer_cols > div { line-height: 1.7; font-size: 0.95rem; }
.footer_legal { padding: 16px 0 0 0; font-size: 0.9rem; color: #555; }
.finePrint { font-size: 85%; }
.nowrap { white-space: nowrap; }

/* ---- responsive: stack below 760px, left column behind hamburger ---- */
@media (max-width: 760px) {
  .layout { flex-direction: column; align-items: stretch; }
  .nav_toggle { display: block; width: 100%; padding: 12px 16px; margin: 0;
    font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer;
    background: var(--brand); color: #000; border: 0; border-top: 1px solid #7f99b5; }
  .column_left { display: none; width: 100%; max-width: 100%; }
  body.nav-open .column_left { display: block; border-bottom: 2px solid var(--brand); padding-bottom: 12px; }
  .column_left_sticky { position: static; }
  /* open menu: page links left, social + LTT calculator beside them */
  body.nav-open .column_left_sticky { display: grid; grid-template-columns: 1fr auto;
    justify-content: start; column-gap: 8px; }
  body.nav-open .spacer1 { display: none; }
  body.nav-open .menu_left { grid-column: 1; grid-row: 1; margin-top: 10px; }
  body.nav-open .menu_left { grid-row: 1 / span 2; }
  body.nav-open .lttcalc_card { grid-column: 2; grid-row: 1; margin: 10px 8px 0 0; min-width: 190px; align-self: start; }
  body.nav-open .social_section { grid-column: 2; grid-row: 2; margin: 12px 8px 0 0; align-self: start; }
  body.nav-open .social_menu { display: flex; gap: 8px; margin-top: 10px; }
  body.nav-open .social_menu li { border-bottom: 0; }
  body.nav-open .social_menu li a { padding: 0; width: 44px; height: 44px; justify-content: center;
    border: 1px solid var(--rule); border-radius: 8px; background: #f7f9fb; }
  body.nav-open .social_menu .social_ico { width: 22px; height: 22px; }
  body.nav-open .social_menu .social_txt { display: none; }
  .header_pics { display: none; }
  #homecontent, #sidebar { float: none; width: auto; margin: 0; }
  #sidebar { margin-top: 16px; }
  .footer_rule { margin: 28px 10px 0; }
  .top_menu li a { padding: 10px 10px 8px; }
}
