/* Ascension Property Management -- style guide B, "Hill Country".
   The whole visual language of the AscensionPM template, served as a template asset
   (/assets/templates/AscensionPM/css/site.css). Class names are the template's own (apm-*), each
   the outerTagClass of one Arrangement Definition in apm-data.php; the menus are the Foundation
   menu builders, styled here through the data-pal-menu-* attributes PALjs menu.css places.

   Every client page loads payattn.css, Bootstrap 5.3, Font Awesome and Tabler before this file
   and privacy.css after it -- so the corrections to Bootstrap's reboot (line-height, a:hover
   underline, img vertical-align) sit here, scoped to apm-* classes. */

@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-medium.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-semibold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-bold.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("../fonts/lato-regular.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("../fonts/lato-bold.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/lato-italic.woff2") format("woff2"); }

:root {
  --apm-forest: #3F5749;
  --apm-forest-deep: #2A3B31;
  --apm-brass: #B89B4A;
  --apm-brass-deep: #9A8039;
  --apm-crimson: #A81414;
  --apm-crimson-deep: #7E0F0F;
  --apm-cream: #F4F1E8;
  --apm-moss: #E3E8E2;
  --apm-ink: #1F2A22;
  --apm-body: #3D4A42;
  --apm-muted: #5F6B63;
  --apm-line: #D5DCD6;
  --apm-shell: 1180px;
  --apm-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --apm-text: "Lato", "Segoe UI", Arial, sans-serif;
  --apm-radius: 18px;
  --apm-contour: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='rgba(184,155,74,.09)' stroke-width='0.9'%3E%3Cpath d='M0 30 C 20 10, 40 50, 60 30 S 100 10, 120 30'/%3E%3Cpath d='M0 50 C 20 30, 40 70, 60 50 S 100 30, 120 50'/%3E%3Cpath d='M0 70 C 20 50, 40 90, 60 70 S 100 50, 120 70'/%3E%3Cpath d='M0 90 C 20 70, 40 110, 60 90 S 100 70, 120 90'/%3E%3Cpath d='M0 110 C 20 90, 40 130, 60 110 S 100 90, 120 110'/%3E%3Cpath d='M0 10 C 20 -10, 40 30, 60 10 S 100 -10, 120 10'/%3E%3C/g%3E%3C/svg%3E");
  --apm-contour-dark: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='rgba(255,255,255,.07)' stroke-width='0.9'%3E%3Cpath d='M0 30 C 20 10, 40 50, 60 30 S 100 10, 120 30'/%3E%3Cpath d='M0 50 C 20 30, 40 70, 60 50 S 100 30, 120 50'/%3E%3Cpath d='M0 70 C 20 50, 40 90, 60 70 S 100 50, 120 70'/%3E%3Cpath d='M0 90 C 20 70, 40 110, 60 90 S 100 70, 120 90'/%3E%3Cpath d='M0 110 C 20 90, 40 130, 60 110 S 100 90, 120 110'/%3E%3Cpath d='M0 10 C 20 -10, 40 30, 60 10 S 100 -10, 120 10'/%3E%3C/g%3E%3C/svg%3E");
}

body.apm-home, body.apm-inner {
  margin: 0;
  font-family: var(--apm-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--apm-body);
  background: var(--apm-cream);
  -webkit-font-smoothing: antialiased;
}
.apm-shell { max-width: var(--apm-shell); margin: 0 auto; padding: 0 24px; }
.apm-narrow { max-width: 860px; }
[class^="apm-"] img, [class*=" apm-"] img { max-width: 100%; }

/* ---- type ------------------------------------------------------------------------------------ */
.apm-eyebrow {
  margin: 0 0 12px;
  font-family: var(--apm-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--apm-brass);
}
.apm-display, .apm-heading, .apm-page-title {
  margin: 0 0 16px;
  font-family: var(--apm-display);
  font-weight: 700;
  color: var(--apm-forest);
  line-height: 1.12;
}
.apm-display { font-size: clamp(34px, 4.4vw, 52px); }
.apm-heading, .apm-page-title { font-size: clamp(28px, 3.2vw, 40px); }
.apm-heading-small { font-size: 24px; }
.apm-lead { margin: 0 0 24px; font-size: 19px; line-height: 1.6; color: var(--apm-body); max-width: 60ch; }
.apm-section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.apm-section-head .apm-lead { margin-left: auto; margin-right: auto; }

/* ---- buttons --------------------------------------------------------------------------------- */
.apm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--apm-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.apm-button:hover, .apm-button:focus-visible { text-decoration: none; transform: translateY(-1px); }
.apm-button-primary { background: var(--apm-crimson); color: #fff; border-color: var(--apm-crimson); }
.apm-button-primary:hover, .apm-button-primary:focus-visible { background: var(--apm-crimson-deep); border-color: var(--apm-crimson-deep); color: #fff; }
.apm-button-secondary { background: transparent; color: var(--apm-forest); border-color: var(--apm-forest); }
.apm-button-secondary:hover, .apm-button-secondary:focus-visible { background: var(--apm-forest); color: #fff; }
.apm-button-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.apm-button-ghost:hover, .apm-button-ghost:focus-visible { background: #fff; color: var(--apm-forest); border-color: #fff; }
.apm-button-small { padding: 10px 18px; font-size: 12px; }
.apm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- header ---------------------------------------------------------------------------------- */
.apm-header { background: var(--apm-forest); color: #fff; position: relative; z-index: 20; }
.apm-header-inner { display: flex; align-items: center; gap: 16px; min-height: 92px; }
.apm-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.apm-brand .apm-brand-logo { height: 58px; width: auto; display: block; }
.apm-header-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.apm-header-phone {
  font-family: var(--apm-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.apm-header-phone:hover { color: var(--apm-brass); text-decoration: none; }

/* The header menu: a bar (ul[data-pal-menu-depth="0"]) of links, a hamburger (button[data-pal-menu-toggle])
   and the off-canvas panel; the bar shows from lg up, the hamburger below it. */
.apm-nav { display: flex; align-items: center; margin-left: 4px; min-width: 0; }
.apm-nav ul[data-pal-menu-depth="0"] { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 4px; }
.apm-nav ul[data-pal-menu-depth="0"] > li { position: relative; }
.apm-nav ul[data-pal-menu-depth="0"] > li > a.nav-link,
.apm-nav ul[data-pal-menu-depth="0"] > li > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  font-family: var(--apm-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.apm-nav ul[data-pal-menu-depth="0"] > li > a.nav-link:hover,
.apm-nav ul[data-pal-menu-depth="0"] > li > a.nav-link:focus-visible,
.apm-nav ul[data-pal-menu-depth="0"] > li[data-pal-menu-open] > a.nav-link { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.apm-nav .dropdown-menu {
  border: 0;
  border-radius: 14px;
  padding: 10px;
  min-width: 280px;
  box-shadow: 0 18px 40px rgba(31, 42, 34, .18);
  background: #fff;
}
.apm-nav .dropdown-menu .dropdown-item,
.apm-nav .dropdown-menu [data-pal-menu-row] > .dropdown-item {
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--apm-text);
  font-size: 15px;
  color: var(--apm-ink);
}
.apm-nav .dropdown-menu .dropdown-item:hover,
.apm-nav .dropdown-menu .dropdown-item:focus-visible { background: var(--apm-moss); color: var(--apm-forest); }
.apm-nav .dropdown-menu .dropdown-item.active { background: var(--apm-forest); color: #fff; }
.apm-nav button[data-pal-menu-toggle] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: 4px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.apm-nav button[data-pal-menu-toggle]:hover { background: rgba(255, 255, 255, .12); }
.apm-nav button[data-pal-menu-toggle]::before {
  content: "";
  width: 20px;
  height: 14px;
  background: linear-gradient(#fff 0 2px, transparent 2px 6px, #fff 6px 8px, transparent 8px 12px, #fff 12px 14px);
}
.apm-nav .offcanvas { background: var(--apm-cream); color: var(--apm-ink); width: min(360px, 90vw); }
.apm-nav .offcanvas-header { border-bottom: 1px solid var(--apm-line); }
.apm-nav .offcanvas-title { font-family: var(--apm-display); font-weight: 700; color: var(--apm-forest); }
.apm-nav .offcanvas ul { list-style: none; margin: 0; padding: 0; }
.apm-nav .offcanvas ul[data-pal-menu-depth="0"] { display: block; }
.apm-nav .offcanvas ul[data-pal-menu-depth="0"] > li { border-bottom: 1px solid var(--apm-line); }
.apm-nav .offcanvas ul[data-pal-menu-depth="0"] > li > a.nav-link,
.apm-nav .offcanvas ul[data-pal-menu-depth="0"] > li > span {
  display: flex;
  width: 100%;
  padding: 14px 4px;
  border-radius: 0;
  color: var(--apm-forest);
  font-size: 14px;
}
.apm-nav .offcanvas ul[data-pal-menu-depth="0"] > li > a.nav-link:hover { background: transparent; color: var(--apm-crimson); }
.apm-nav .offcanvas .dropdown-menu { box-shadow: none; background: transparent; padding: 0 0 10px 12px; min-width: 0; }
.apm-nav .offcanvas .dropdown-item { padding: 9px 10px; }
@media (min-width: 992px) {
  .apm-nav ul[data-pal-menu-depth="0"] { display: flex; }
  .apm-nav button[data-pal-menu-toggle] { display: none; }
}
@media (max-width: 1199.98px) {
  .apm-header-cta .apm-button { display: none; }
}
@media (max-width: 991.98px) {
  .apm-header-inner { min-height: 76px; gap: 12px; }
  .apm-brand .apm-brand-logo { height: 48px; }
  .apm-header-cta .apm-button { display: none; }
  .apm-header-phone { font-size: 14px; }
}
/* The phone line is also in the footer and on every call-to-action; the bar has no room for it until the widest screens. */
@media (max-width: 1599.98px) {
  .apm-header-phone { display: none; }
}

/* ---- hero ------------------------------------------------------------------------------------ */
.apm-hero { background: var(--apm-cream) var(--apm-contour); background-size: 320px 320px; }
.apm-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.apm-hero-copy .apm-lead { max-width: 54ch; }
.apm-hero-media { position: relative; }
.apm-hero-photo { display: block; width: 100%; border-radius: var(--apm-radius) var(--apm-radius) 72px var(--apm-radius); box-shadow: 0 28px 60px rgba(42, 59, 49, .22); }
.apm-hero-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--apm-brass);
  border-radius: var(--apm-radius) var(--apm-radius) 72px var(--apm-radius);
  z-index: -1;
  opacity: .7;
}
@media (max-width: 991.98px) {
  .apm-hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
  .apm-hero-media::after { display: none; }
}

/* ---- sections -------------------------------------------------------------------------------- */
.apm-section { padding: 72px 0; background: #fff; }
.apm-section-cream { background: var(--apm-cream); }
.apm-section-forest { background: var(--apm-forest) var(--apm-contour-dark); background-size: 320px 320px; color: #fff; }
.apm-section-forest .apm-heading, .apm-section-forest .apm-lead { color: #fff; }
.apm-section-forest .apm-eyebrow { color: var(--apm-brass); }
@media (max-width: 767.98px) { .apm-section { padding: 52px 0; } }

/* why: three cards */
.apm-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.apm-card { background: var(--apm-moss); border-radius: var(--apm-radius); padding: 30px 28px; }
.apm-card-title { margin: 0 0 10px; font-family: var(--apm-display); font-size: 19px; font-weight: 700; color: var(--apm-forest); }
.apm-card-text { margin: 0; font-size: 16px; }
@media (max-width: 991.98px) { .apm-card-grid { grid-template-columns: 1fr; } }

/* services: four cards with the brochure's illustrations */
.apm-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.apm-service { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; background: #fff; border-radius: var(--apm-radius); padding: 28px; box-shadow: 0 10px 30px rgba(42, 59, 49, .08); }
.apm-service-icon { width: 120px; height: auto; }
.apm-service-title { margin: 4px 0 10px; font-family: var(--apm-display); font-size: 19px; font-weight: 700; color: var(--apm-forest); }
.apm-list { margin: 0; padding: 0 0 0 18px; }
.apm-list-item { margin: 0 0 6px; font-size: 16px; }
.apm-list-item::marker { color: var(--apm-brass); }
@media (max-width: 991.98px) { .apm-service-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .apm-service { grid-template-columns: 1fr; } .apm-service-icon { width: 96px; } }

/* guarantees: three on forest */
.apm-guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.apm-guarantee { padding: 26px 26px 26px 26px; border-left: 3px solid var(--apm-brass); background: rgba(255, 255, 255, .06); border-radius: 0 var(--apm-radius) var(--apm-radius) 0; }
.apm-guarantee-title { margin: 0 0 10px; font-family: var(--apm-display); font-size: 18px; font-weight: 700; color: #fff; }
.apm-guarantee-text { margin: 0; color: rgba(255, 255, 255, .88); font-size: 16px; }
@media (max-width: 991.98px) { .apm-guarantee-grid { grid-template-columns: 1fr; } }

/* call to action */
.apm-cta { background: var(--apm-brass); padding: 64px 0; }
.apm-cta-inner { text-align: center; }
.apm-cta-title { color: var(--apm-forest-deep); }
.apm-cta-text { color: var(--apm-forest-deep); margin-left: auto; margin-right: auto; }
.apm-cta .apm-actions { justify-content: center; }
.apm-cta .apm-button-ghost { color: var(--apm-forest-deep); border-color: var(--apm-forest-deep); }
.apm-cta .apm-button-ghost:hover { background: var(--apm-forest-deep); color: #fff; }

/* ---- inner pages ----------------------------------------------------------------------------- */
.apm-page-banner { background: var(--apm-forest) var(--apm-contour-dark); background-size: 320px 320px; color: #fff; padding: 56px 0 48px; }
.apm-page-banner .apm-page-title, .apm-page-banner .apm-lead { color: #fff; }
.apm-page-banner .apm-lead { margin-bottom: 0; color: rgba(255, 255, 255, .88); }
.apm-prose h2 { margin: 36px 0 12px; font-family: var(--apm-display); font-size: 24px; font-weight: 700; color: var(--apm-forest); }
.apm-prose h2:first-child { margin-top: 0; }
.apm-prose p { margin: 0 0 16px; max-width: 70ch; }
.apm-prose a { color: var(--apm-crimson); }
.apm-steps { counter-reset: step; list-style: none; margin: 0 0 24px; padding: 0; max-width: 70ch; }
.apm-steps > li { position: relative; padding: 0 0 18px 56px; counter-increment: step; }
.apm-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--apm-forest);
  color: #fff;
  font-family: var(--apm-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apm-steps ul { margin: 10px 0 0; padding-left: 18px; }
.apm-steps ul li { margin-bottom: 6px; }

/* the Homeowners accordion -- Bootstrap's Collapse, dressed */
.apm-accordion { --bs-accordion-border-color: var(--apm-line); --bs-accordion-active-bg: var(--apm-moss); --bs-accordion-active-color: var(--apm-forest); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(63, 87, 73, .25); }
.apm-accordion-item { border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; border: 1px solid var(--apm-line); }
.apm-accordion-button { font-family: var(--apm-display); font-weight: 600; font-size: 16px; color: var(--apm-forest); background: #fff; text-decoration: none; }
.apm-accordion-button:hover, .apm-accordion-button:focus { text-decoration: none; color: var(--apm-crimson); }
.apm-accordion-button:not(.collapsed) { color: var(--apm-forest); background: var(--apm-moss); box-shadow: none; }
.apm-accordion-body { font-size: 16px; }
.apm-accordion-body p:last-child { margin-bottom: 0; }
.apm-accordion-body .apm-button { margin-top: 6px; }
.apm-accordion-item:target { box-shadow: 0 0 0 3px var(--apm-brass); }

/* the form slot the deferred forms land in */
.apm-form-slot { background: var(--apm-cream); }
.apm-form-note { padding: 22px 24px; border: 2px dashed var(--apm-line); border-radius: 12px; color: var(--apm-muted); font-style: italic; margin: 0 0 32px; }

/* ---- footer ---------------------------------------------------------------------------------- */
.apm-footer { background: var(--apm-forest-deep); color: #D7DED8; }
.apm-footer a { color: #fff; text-decoration: none; }
.apm-footer a:hover { color: var(--apm-brass); text-decoration: none; }
.apm-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.apm-footer-logo { width: 220px; height: auto; display: block; margin-bottom: 18px; }
.apm-footer-contact { display: flex; flex-direction: column; gap: 4px; }
.apm-footer-link { font-family: var(--apm-display); font-weight: 600; font-size: 16px; }
.apm-footer-text { margin: 8px 0 0; font-size: 15px; color: #B9C4BC; }
.apm-footer-menu h3 { margin: 0 0 14px; font-family: var(--apm-display); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--apm-brass); }
.apm-footer-menu ul { list-style: none; margin: 0; padding: 0; }
.apm-footer-menu li { margin: 0 0 8px; font-size: 15px; }
.apm-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #B9C4BC; }
.apm-footer-copy { margin: 0; }
.apm-legal-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.apm-legal-menu li { margin: 0; }
.apm-attribution { margin-left: auto; }
.apm-attribution a, .apm-privacy-choices a, .apm-privacy-choices button { color: #B9C4BC; }
@media (max-width: 991.98px) {
  .apm-footer-inner { grid-template-columns: 1fr 1fr; }
  .apm-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .apm-footer-inner { grid-template-columns: 1fr; }
  .apm-attribution { margin-left: 0; }
}
