/* PHASE_AB_SERVICES_LANDING_DESIGN_2026_09_29. Scoped to this landing page. */
.ab-services-page { background: #fff; }
#ab-services {
  --svc-ink: #1c1a16;
  --svc-muted: #5a544b;
  --svc-green: #a9763b;
  color: var(--svc-ink);
  background: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
}
#ab-services, #ab-services * { box-sizing: border-box; letter-spacing: 0; }
/* Legacy site styles set typography globally, including on paragraphs and links. */
#ab-services :is(h1,h2,h3,p,a,span,strong,em,li,summary,figcaption) {
  font-family: "Hanken Grotesk", "Segoe UI", Arial, sans-serif !important;
}
#ab-services h1, #ab-services h2, #ab-services h3 {
  color: var(--svc-ink);
  font-weight: 700;
  text-transform: none;
  margin: 0;
}
#ab-services h1 { font-size: 60px; line-height: 1.06; }
#ab-services h1 em { color: var(--svc-green); font-style: normal; font-weight: inherit; }
#ab-services h2 { font-size: 36px; line-height: 1.18; }
#ab-services h3 { font-size: 23px; line-height: 1.25; }
#ab-services p { font-size: 18px; line-height: 1.6; font-weight: 400; margin: 0; color: var(--svc-muted); }
#ab-services a { text-decoration: none; border: 0; }
#ab-services a:focus-visible, #ab-services summary:focus-visible { outline: 3px solid #a9763b; outline-offset: 5px; }
#ab-services .svc-wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
#ab-services .svc-eyebrow { font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--svc-green); margin-bottom: 18px; }
#ab-services .svc-hero { position: relative; isolation: isolate; background: #fdf9f1; overflow: hidden; }
#ab-services .svc-hero-inner { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 56px; }
#ab-services .svc-copy { max-width: 600px; }
#ab-services .svc-lead { max-width: 480px; font-size: 21px; line-height: 1.5; margin-top: 22px; }
#ab-services .svc-price { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; font-size: 19px; color: var(--svc-ink); margin: 25px 0 18px; }
#ab-services .svc-price strong { font-size: 33px; line-height: 1; font-weight: 700; }
#ab-services .svc-price span { color: var(--svc-muted); font-size: 15px; }
#ab-services .svc-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px;
  min-height: 60px; padding: 16px 26px; border-radius: 6px;
  color: #fff; background: var(--svc-green); font-size: 19px; line-height: 1.3; font-weight: 700;
  transition: background-color .15s;
}
#ab-services .svc-button span { font-size: 24px; line-height: 1; font-weight: 400; }
#ab-services .svc-button:hover { background: #8a5f2e; color: #fff; }
#ab-services .svc-reassurance { font-size: 15px; line-height: 1.5; margin-top: 14px; }
#ab-services .svc-regular-option { max-width: 480px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #d8c9b2; }
#ab-services .svc-regular-option p { font-size: 14px; line-height: 1.5; }
#ab-services .svc-regular-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; font-size: 17px; line-height: 1.35; font-weight: 700; color: #80521f; text-decoration: underline; text-underline-offset: 4px; }
#ab-services .svc-regular-link:hover { color: #563613; }
#ab-services .svc-regular-link span { flex-shrink: 0; }
#ab-services .svc-hero-media { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 78%; margin: 0; pointer-events: none; }
#ab-services .svc-hero-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
#ab-services .svc-hero-media figcaption { position: absolute; right: 32px; bottom: 12px; font-size: 11px; color: #6b645a; }
#ab-services .svc-trust { border-top: 1px solid #e6dcc8; border-bottom: 1px solid #e6dcc8; background: #fff; }
#ab-services .svc-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 26px; }
#ab-services .svc-trust-grid > div { display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center; padding-inline: 20px; }
#ab-services .svc-trust-grid > div + div { border-left: 1px solid #e6dcc8; }
#ab-services .svc-trust strong { font-size: 20px; font-weight: 700; line-height: 1.3; }
#ab-services .svc-trust span { font-size: 15px; color: var(--svc-muted); line-height: 1.5; }
#ab-services .svc-section { padding-block: 64px; }
#ab-services .svc-section-heading { margin-bottom: 34px; }
#ab-services .svc-section-heading .svc-eyebrow { margin-bottom: 10px; }
#ab-services .svc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; padding: 0; margin: 0; list-style: none; }
#ab-services .svc-steps li { padding: 0; background: none; }
#ab-services .svc-step-number { display: block; color: #8a5f2e; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
#ab-services .svc-steps p { margin-top: 12px; max-width: 32ch; }
#ab-services .svc-payments { border-top: 1px solid #e6dcc8; margin-top: 30px; padding-top: 18px; font-size: 15px; }
#ab-services .svc-documents { background: #f8f2e7; }
#ab-services .svc-documents-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; padding-block: 60px; }
#ab-services .svc-documents-heading > p:not(.svc-eyebrow) { max-width: 36ch; margin-top: 18px; }
#ab-services .svc-text-link { display: inline-flex; align-items: center; gap: 14px; padding-block: 12px; margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--svc-green); }
#ab-services .svc-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
#ab-services .svc-document-list { margin: 0; padding: 0; list-style: none; align-self: center; }
#ab-services .svc-document-list li { padding: 16px 0; font-size: 20px; line-height: 1.4; border-bottom: 1px solid #e6dcc8; }
#ab-services .svc-document-list li:first-child { border-top: 1px solid #e6dcc8; }
#ab-services .svc-faq { max-width: 900px; }
#ab-services .svc-faq details { border-bottom: 1px solid #e6dcc8; }
#ab-services .svc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 21px 0; cursor: pointer; font-size: 20px; line-height: 1.4; font-weight: 600; }
#ab-services .svc-faq summary::-webkit-details-marker { display: none; }
#ab-services .svc-faq summary::after { content: "+"; color: var(--svc-green); font-size: 26px; font-weight: 400; flex: 0 0 20px; text-align: center; }
#ab-services .svc-faq details[open] summary::after { content: "\2212"; }
#ab-services .svc-faq details > p { padding: 0 40px 22px 0; max-width: 70ch; }
#ab-services .svc-final { background: #1c1a16; }
#ab-services .svc-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 44px; }
#ab-services .svc-final h2 { font-size: 32px; color: #fff; }
#ab-services .svc-final p { color: #ece0cb; margin-top: 10px; }
#ab-services .svc-button-light { background: #fff; color: #1c1a16; flex-shrink: 0; }
#ab-services .svc-button-light:hover { background: #f4ecdf; color: #1c1a16; }
@media (min-width: 1600px) {
  #ab-services .svc-hero-media { right: calc((100% - 1520px) / 2); width: 1100px; }
}
@media (max-width: 1100px) {
  #ab-services .svc-wrap { width: calc(100% - 64px); }
  #ab-services h1 { font-size: 48px; }
  #ab-services .svc-copy { max-width: 500px; }
  #ab-services .svc-lead { max-width: 400px; }
  #ab-services .svc-hero-inner { padding-block: 44px; }
  #ab-services .svc-hero-media { width: 76%; right: -5%; }
  #ab-services .svc-documents-inner { gap: 40px; }
  #ab-services .svc-steps { gap: 28px; }
}
@media (max-width: 760px) {
  #ab-services .svc-wrap { width: calc(100% - 40px); }
  #ab-services h1 { font-size: 40px; line-height: 1.08; }
  #ab-services h2 { font-size: 29px; }
  #ab-services h3 { font-size: 22px; }
  #ab-services .svc-hero-inner { padding-top: 28px; padding-bottom: 18px; }
  #ab-services .svc-copy { max-width: 560px; }
  #ab-services .svc-eyebrow { font-size: 13px; margin-bottom: 14px; }
  #ab-services .svc-lead { font-size: 18px; line-height: 1.5; margin-top: 16px; max-width: 36ch; }
  #ab-services .svc-price { margin: 18px 0 16px; }
  #ab-services .svc-button { width: 100%; min-height: 56px; font-size: 18px; padding: 15px 20px; }
  #ab-services .svc-reassurance { font-size: 14px; margin-top: 12px; }
  #ab-services .svc-reassurance br { display: none; }
  /* Keep the order action and the next section in view on small screens. */
  #ab-services .svc-hero-media { display: none; }
  #ab-services .svc-trust-grid { padding-block: 19px; }
  #ab-services .svc-trust-grid > div { padding-inline: 8px; gap: 5px; }
  #ab-services .svc-trust-grid > div:first-child { padding-left: 0; }
  #ab-services .svc-trust-grid > div:last-child { padding-right: 0; }
  #ab-services .svc-trust strong { font-size: 16px; }
  #ab-services .svc-trust span { font-size: 12px; line-height: 1.4; }
  #ab-services .svc-section { padding-block: 42px; }
  #ab-services .svc-section-heading { margin-bottom: 26px; }
  #ab-services .svc-steps { grid-template-columns: 1fr; gap: 23px; }
  #ab-services .svc-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  #ab-services .svc-step-number { grid-row: 1 / 3; margin: 4px 0 0; }
  #ab-services .svc-steps p { font-size: 17px; max-width: none; margin-top: 7px; }
  #ab-services .svc-payments { font-size: 14px; margin-top: 24px; }
  #ab-services .svc-documents-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  #ab-services .svc-documents h2 br { display: none; }
  #ab-services .svc-document-list li { font-size: 18px; padding-block: 14px; }
  #ab-services .svc-faq summary { font-size: 18px; padding-block: 18px; }
  #ab-services .svc-faq details > p { padding-right: 24px; font-size: 17px; }
  #ab-services .svc-final-inner { flex-direction: column; align-items: stretch; gap: 22px; padding-block: 36px; }
  #ab-services .svc-final h2 { font-size: 29px; }
}
@media (max-width: 380px) {
  #ab-services h1 { font-size: 34px; }
  #ab-services .svc-price span { font-size: 13px; }
  #ab-services .svc-trust strong { font-size: 14px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  #ab-services .svc-hero-inner { padding-block: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #ab-services .svc-button { transition: none; }
}

/* PHASE_ON_LANDINGS_2026_09_29: main_ON.css центрирует h1/h2 */
#ab-services h1,#ab-services h2,#ab-services h3{text-align:left!important}
/* шапка Онтарио плавающая (float), а .svc-hero с overflow:hidden сжимался рядом с ней до 0 на десктопе */
#ab-services{clear:both;display:block;width:100%}
#ab-services > section{clear:both}
/* Ontario sample restored; the mobile rule above still prioritizes the order button. */

/* PHASE_ON_LANDINGS_2026_09_29: палитра Онтарио (золото #a9763b, тёмный #1c1a16, беж #f4ecdf) вместо зелёной палитры Альберты */
