/* myYardPros – page components (home, pillar and service pages, footer, estimate form).
   Reuses the design tokens defined in myp-header.css (:root --myp-*). */

/* 0. Brand serif (self-hosted, variable) + luxury tokens --------------------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fraunces-latin-var.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; }
:root { --pg-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif; --lx-ivory: #f6f2ea; --lx-gold: #b8935a; --lx-gold-soft: #d9c39a; --lx-night: #081726; }

/* 1. Base ------------------------------------------------------------------ */
body.myp-page { margin: 0; background: #fff; color: var(--myp-ink); font-family: var(--myp-font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.pg, .pg *, .pg *::before, .pg *::after, .myp-foot, .myp-foot * { box-sizing: border-box; }
.pg { --pg-pad: clamp(48px, 7vw, 88px); padding-block: var(--pg-pad); font-family: var(--myp-font); color: var(--myp-ink); }
.pg-wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--myp-gutter); }
.pg-wrap--narrow { max-width: 860px; }
.pg :where(h1, h2, h3, p, ul, ol, dl, dd, figure, table) { margin: 0; padding: 0; }
.pg :where(h1, h2, h3) { color: var(--myp-navy); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; font-family: var(--myp-font); }
.pg :where(h1, h2) { font-family: var(--pg-serif); font-optical-sizing: auto; font-weight: 500; letter-spacing: -.022em; line-height: 1.08; }
.pg h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.pg h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.pg h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.pg p { text-wrap: pretty; }
.pg a { color: var(--myp-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pg a:hover { color: var(--myp-accent); }
.pg a:focus-visible, .pg summary:focus-visible, .pg button:focus-visible, .pg input:focus-visible, .pg select:focus-visible, .pg textarea:focus-visible, .myp-foot a:focus-visible { outline: 3px solid var(--myp-focus); outline-offset: 2px; border-radius: 4px; }
.pg img, .pg video { display: block; max-width: 100%; height: auto; }
.pg--tint { background: var(--lx-ivory); }
.pg--navy { background: radial-gradient(1100px 520px at 12% -10%, #14304b 0, transparent 60%), var(--lx-night); color: #dbe5f0; }
.pg--navy :where(h2, h3) { color: #fff; }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--myp-accent); margin-bottom: 16px; }
.pg-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--lx-gold); }
.pg--navy .pg-eyebrow, .lx-cta .pg-eyebrow { color: var(--lx-gold-soft); }
.pg-lead { font-size: 1.125rem; color: var(--myp-ink-2); max-width: 68ch; margin-top: 14px; }
.pg-head { margin-bottom: clamp(28px, 4vw, 44px); }
.pg-prose > * + * { margin-top: 1.05em; }
.pg-prose { max-width: 70ch; color: var(--myp-ink-2); }
.pg-prose h3 { margin-top: 1.6em; }
.pg-prose ul, .pg-prose ol { padding-left: 1.25em; }
.pg-prose li + li { margin-top: .45em; }
.pg-prose strong { color: var(--myp-ink); }
.pg .myp-btn { text-decoration: none; }
.pg-btn-call { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--myp-line); background: #fff; color: var(--myp-navy) !important; font-weight: 650; text-decoration: none !important; }
.pg-btn-call:hover { border-color: var(--myp-ink-3); }
.pg-btn-call svg { width: 18px; height: 18px; color: var(--myp-accent); }
.pg--navy .pg-btn-call { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.pg--navy .pg-btn-call svg { color: var(--myp-cta); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.pg-actions .myp-btn { min-height: 48px; padding-inline: 24px; font-size: 16px; }

/* 2. Hero ------------------------------------------------------------------ */
.pg-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--lx-ivory), #fff); }
.pg-crumbs { font-size: 13.5px; color: var(--myp-ink-3); margin-bottom: clamp(18px, 3vw, 32px); }
.pg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--myp-line); }
.pg-crumbs a { color: var(--myp-ink-3); text-decoration: none; }
.pg-crumbs a:hover { color: var(--myp-accent); text-decoration: underline; }
.pg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pg-hero__answer { font-size: 1.14rem; color: var(--myp-ink-2); margin-top: 18px; max-width: 60ch; }
.pg-checks { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.pg-checks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--myp-ink); }
.pg-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--myp-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pg-trustline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14px; color: var(--myp-ink-3); list-style: none; }
.pg-trustline li { display: inline-flex; align-items: center; gap: 6px; }
.pg-trustline svg { width: 16px; height: 16px; color: var(--myp-accent); }
.pg-fig { position: relative; }
.pg-fig img { width: 100%; border-radius: 16px; background: var(--myp-surface-2); object-fit: cover; aspect-ratio: 3 / 2; }
.pg-fig figcaption { font-size: 13px; color: var(--myp-ink-3); margin-top: 8px; }
.pg-hero .pg-fig img { box-shadow: var(--myp-shadow); }

/* 3. Key facts + on-page nav ------------------------------------------------ */
.pg-facts { padding-block: 0; }
.pg-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--myp-line); border-radius: 16px; background: #fff; overflow: hidden; }
.pg-facts dl > div { padding: 18px 22px; border-left: 1px solid var(--myp-line); }
.pg-facts dl > div:first-child { border-left: 0; }
.pg-facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--myp-ink-3); }
.pg-facts dd { font-size: 1.06rem; font-weight: 700; color: var(--myp-navy); margin-top: 4px; }
.pg-toc { margin-top: 20px; font-size: 14.5px; }
.pg-toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pg-toc li:first-child { font-weight: 700; color: var(--myp-ink-3); margin-right: 4px; }
.pg-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--myp-surface-2); color: var(--myp-ink-2); text-decoration: none; font-weight: 600; }
.pg-toc a:hover { background: #e8eef5; color: var(--myp-navy); }
.pg [id] { scroll-margin-top: 110px; }

/* 4. Split (prose + media) -------------------------------------------------- */
.pg-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pg-split--flip > :first-child { order: 2; }
.pg-split .pg-fig { position: sticky; top: 120px; }
.pg-split h2 { margin-bottom: 18px; }

/* 5. Cards ------------------------------------------------------------------ */
.pg-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pg-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-card { background: #fff; border: 1px solid var(--myp-line); border-radius: 14px; padding: 22px; }
.pg-card h3 { margin-bottom: 8px; }
.pg-card p { font-size: .97rem; color: var(--myp-ink-2); }
.pg-card--link { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--myp-dur) var(--myp-ease), box-shadow var(--myp-dur) var(--myp-ease), border-color var(--myp-dur) var(--myp-ease); }
.pg-card--link:hover { transform: translateY(-3px); box-shadow: var(--myp-shadow); border-color: transparent; }
.pg-card--link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--myp-surface-2); }
.pg-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pg-card--link h3 a { color: var(--myp-navy); text-decoration: none; }
.pg-card--link h3 a::after { content: ""; position: absolute; inset: 0; }
.pg-card__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--myp-accent); }
.pg-card--link:hover .pg-card__more { text-decoration: underline; text-underline-offset: 3px; }

/* 6. Steps ------------------------------------------------------------------ */
.pg-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pg-steps li { counter-increment: step; position: relative; padding-top: 58px; }
.pg-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--myp-navy); color: #fff; font-weight: 800; font-size: 17px; }
.pg-steps li::after { content: ""; position: absolute; top: 21px; left: 54px; right: -6px; height: 2px; background: var(--myp-line); }
.pg-steps li:last-child::after { display: none; }
.pg-steps h3 { margin-bottom: 6px; }
.pg-steps p { font-size: .95rem; color: var(--myp-ink-2); }
.pg--navy .pg-steps li::before { background: var(--myp-cta); color: var(--myp-navy); }
.pg--navy .pg-steps li::after { background: rgba(255, 255, 255, .18); }
.pg--navy .pg-steps p, .pg--navy .pg-lead { color: #c3d0df; }

/* 7. Video ------------------------------------------------------------------ */
.pg-video { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.pg-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0b1f33; object-fit: cover; box-shadow: var(--myp-shadow); }
.pg-video figcaption h3 { margin-bottom: 8px; }
.pg-video figcaption p { font-size: .97rem; color: var(--myp-ink-2); }
.pg--navy .pg-video figcaption p { color: #c3d0df; }

/* 8. Table ------------------------------------------------------------------ */
.pg-tablewrap { overflow-x: auto; border: 1px solid var(--myp-line); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.pg-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .97rem; }
.pg-table th, .pg-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--myp-line); }
.pg-table thead th { background: var(--myp-navy); color: #fff; font-weight: 700; font-size: .92rem; }
.pg-table tbody th { font-weight: 700; color: var(--myp-navy); width: 22%; background: #fbf9f5; }
.pg-table tbody tr:last-child > * { border-bottom: 0; }
.pg-table a { font-weight: 700; }
.pg-note { font-size: 14px; color: var(--myp-ink-3); margin-top: 12px; }

/* 9. Checklist panel --------------------------------------------------------- */
.pg-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--lx-ivory); border-radius: 20px; padding: clamp(24px, 4vw, 48px); }
.pg-panel .pg-checks { margin-top: 20px; }
.pg-panel .pg-checks li { font-weight: 500; color: var(--myp-ink-2); }
.pg-panel__cta { background: #fff; border: 1px solid var(--myp-line); border-radius: 16px; padding: 26px; }
.pg-panel__cta p { color: var(--myp-ink-2); font-size: .97rem; margin-top: 8px; }
.pg-panel__cta .pg-actions { margin-top: 18px; }

/* 10. Areas ------------------------------------------------------------------ */
.pg-areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pg-areas li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--myp-line); background: #fff; color: var(--myp-ink-2); }
.pg-areabox { background: var(--lx-ivory); border-radius: 16px; padding: 26px; }
.pg-areabox h3 { margin-bottom: 4px; }
.pg-areabox p { font-size: .95rem; color: var(--myp-ink-2); }

/* 11. FAQ -------------------------------------------------------------------- */
.pg-faq { display: grid; gap: 10px; }
.pg-faq details { border: 1px solid var(--myp-line); border-radius: 12px; background: #fff; }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 56px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary h3 { font-size: 1.06rem; }
.pg-faq summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2.5px solid var(--myp-accent); border-bottom: 2.5px solid var(--myp-accent); transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--myp-dur) var(--myp-ease); }
.pg-faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pg-faq details > div { padding: 0 22px 20px; color: var(--myp-ink-2); max-width: 75ch; }

/* 12. CTA band --------------------------------------------------------------- */
.pg-cta { text-align: center; }
.pg-cta h2 { max-width: 22ch; margin-inline: auto; }
.pg-cta p { max-width: 58ch; margin: 16px auto 0; color: #c3d0df; font-size: 1.1rem; }
.pg-cta .pg-actions { justify-content: center; }
.pg-updated { font-size: 13px; color: var(--myp-ink-3); margin-top: 28px; }

/* 13. Home: link columns ------------------------------------------------------ */
.pg-linkcols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; }
.pg-linkcols h3 { margin-bottom: 10px; }
.pg-linkcols h3 a { color: var(--myp-navy); text-decoration: none; }
.pg-linkcols ul { list-style: none; display: grid; gap: 2px; }
.pg-linkcols li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--myp-ink-2); text-decoration: none; font-size: .97rem; }
.pg-linkcols li a:hover { color: var(--myp-accent); text-decoration: underline; }

/* 14. Estimate form ---------------------------------------------------------- */
.myp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: #fff; border: 1px solid var(--myp-line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--myp-shadow); }
.myp-form__f { display: grid; gap: 6px; }
.myp-form__f--full { grid-column: 1 / -1; }
.myp-form label { font-size: 14px; font-weight: 700; color: var(--myp-navy); }
.myp-form input, .myp-form select, .myp-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--myp-ink); background: #fff; border: 1px solid #b9c4d1; border-radius: 10px; }
.myp-form textarea { min-height: 120px; resize: vertical; }
.myp-form button { grid-column: 1 / -1; min-height: 52px; font-size: 17px; cursor: pointer; border: 0; }
.myp-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.myp-form__note { grid-column: 1 / -1; font-size: 13px; color: var(--myp-ink-3); }
.myp-form__msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.myp-form__msg--ok { background: #e6f4ea; color: #14532d; }
.myp-form__msg--err { background: #fdecea; color: #8a1c13; }

/* 15. Footer ----------------------------------------------------------------- */
footer.wp-block-template-part, .site-footer { display: none !important; }
.myp-foot { background: #071626; color: #b9c6d6; font-family: var(--myp-font); font-size: 15px; line-height: 1.6; }
.myp-foot a { color: #dbe5f0; text-decoration: none; }
.myp-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.myp-foot__grid { max-width: 1320px; margin-inline: auto; padding: clamp(40px, 6vw, 64px) var(--myp-gutter) 32px; display: grid; grid-template-columns: 1.25fr repeat(5, 1fr); gap: 28px; }
.myp-foot h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.myp-foot h2 a { color: #fff; }
.myp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.myp-foot li a { display: inline-flex; min-height: 32px; align-items: center; }
.myp-foot address { font-style: normal; display: grid; gap: 6px; margin-top: 14px; }
.myp-foot__brand strong { display: block; color: #fff; font-size: 20px; letter-spacing: -.01em; }
.myp-foot__brand p { margin: 8px 0 0; max-width: 34ch; }
.myp-foot__areas { max-width: 1200px; margin-inline: auto; padding: 20px var(--myp-gutter); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.myp-foot__areas strong { color: #fff; }
.myp-foot__legal { max-width: 1200px; margin-inline: auto; padding: 18px var(--myp-gutter) 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: #8fa0b5; }

/* 16. Elementor shell: let sections run full bleed --------------------------- */
.elementor .e-con.myp-sec { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; padding: 0; }
.elementor .myp-sec > .elementor-widget-html, .elementor .myp-sec > .e-con-inner > .elementor-widget-html { width: 100%; }
main#wp--skip-link--target { display: block; }

/* 17. Responsive ------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .pg-hero__grid, .pg-split, .pg-panel, .pg-video { grid-template-columns: 1fr; }
  .pg-split--flip > :first-child { order: 0; }
  .pg-split .pg-fig { position: static; }
  .pg-cards, .pg-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { grid-template-columns: 1fr; gap: 22px; }
  .pg-steps li { padding: 0 0 0 60px; min-height: 42px; }
  .pg-steps li::after { top: 48px; bottom: -18px; left: 20px; right: auto; width: 2px; height: auto; }
  .pg-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-facts dl > div:nth-child(odd) { border-left: 0; }
  .pg-facts dl > div:nth-child(n+3) { border-top: 1px solid var(--myp-line); }
  .pg-linkcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .myp-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .myp-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  body.myp-page { font-size: 16px; }
  .pg-cards, .pg-cards--2, .pg-cards--4, .pg-linkcols, .myp-form { grid-template-columns: 1fr; }
  .pg-actions .myp-btn, .pg-actions .pg-btn-call { width: 100%; justify-content: center; }
  .pg-toc ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .pg-toc a { white-space: nowrap; }
  .myp-foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pg *, .myp-foot * { transition: none !important; } }
@media print { .pg-actions, .pg-toc, .pg-video, .myp-foot { display: none; } }

/* 18. Home (lx-*): cinematic hero, editorial sections, motion ------------------ */
.lx-ivory { background: var(--lx-ivory); }
.lx-display { font-size: clamp(2rem, 4vw, 3.2rem) !important; line-height: 1.06 !important; }
.lx-head { max-width: 780px; }
.lx-head--center { margin-inline: auto; text-align: center; }
.lx-head--center .pg-lead { margin-inline: auto; }
.lx-head--center .pg-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--lx-gold); }

.lx-hero { position: relative; padding: 0; min-height: clamp(600px, calc(100svh - 124px), 900px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--lx-night); overflow: hidden; isolation: isolate; }
.lx-hero__media { position: absolute; inset: 0; z-index: -2; }
.lx-hero__media img, .lx-hero__video, .lx-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; max-width: none; }
.lx-hero__media img { animation: lx-drift 24s ease-out both; }
.lx-hero__video { opacity: 0; transition: opacity 1.2s ease; }
.lx-hero__video.is-on { opacity: 1; }
.lx-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 24, .82) 0%, rgba(5, 14, 24, .55) 38%, rgba(5, 14, 24, .08) 70%), linear-gradient(0deg, rgba(5, 14, 24, .85) 0%, rgba(5, 14, 24, 0) 42%); }
.lx-hero__shade--even { background: linear-gradient(0deg, rgba(5, 14, 24, .82), rgba(5, 14, 24, .5)); }
.lx-hero__inner { width: 100%; padding-block: clamp(72px, 10vw, 140px) clamp(40px, 5vw, 64px); }
.lx-hero__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold-soft); margin-bottom: 22px !important; display: flex; align-items: center; gap: 14px; animation: lx-rise .9s .1s both; }
.lx-hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--lx-gold); }
.lx-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 1.02; letter-spacing: -.028em; max-width: 15ch; font-weight: 400; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); animation: lx-rise 1s .2s both; }
.lx-hero__sub { font-size: clamp(1.06rem, 1.5vw, 1.3rem); line-height: 1.55; color: #e6edf5; max-width: 46ch; margin-top: 24px !important; animation: lx-rise 1s .35s both; }
.lx-hero .pg-actions { margin-top: 34px; animation: lx-rise 1s .5s both; }
.lx-hero .pg-actions .myp-btn, .lx-cta .pg-actions .myp-btn { min-height: 56px; padding-inline: 32px; font-size: 17px; border-radius: 999px; }
.lx-btn-ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); color: #fff !important; font-weight: 600; text-decoration: none !important; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); transition: background-color var(--myp-dur) var(--myp-ease), border-color var(--myp-dur) var(--myp-ease); }
.lx-btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.lx-btn-ghost svg { width: 18px; height: 18px; transition: transform var(--myp-dur) var(--myp-ease); }
.lx-btn-ghost:hover svg { transform: translateX(4px); }
.lx-hero__bar { list-style: none; margin: 0; padding: 0 var(--myp-gutter); width: 100%; max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .22); animation: lx-rise 1s .65s both; }
.lx-hero__bar li { padding: 20px 20px 24px 0; display: grid; gap: 2px; }
.lx-hero__bar li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .16); }
.lx-hero__bar strong { font-family: var(--pg-serif); font-weight: 500; font-size: 1.12rem; color: #fff; }
.lx-hero__bar span { font-size: 13.5px; color: #b9c6d6; }
.lx-hero__pause { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(5, 14, 24, .35); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.lx-hero__pause[hidden] { display: none; }
.lx-hero__pause span[aria-hidden] { width: 12px; height: 14px; border-inline: 4px solid #fff; }
.lx-hero__pause[aria-pressed="true"] span[aria-hidden] { width: 0; height: 0; border: 0; border-block: 8px solid transparent; border-left: 13px solid #fff; margin-left: 3px; }
.lx-hero__pause:focus-visible { outline: 3px solid var(--myp-cta); outline-offset: 2px; }
@keyframes lx-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lx-drift { from { transform: scale(1.08); } to { transform: scale(1); } }

.lx-state { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.lx-state .pg-prose { margin-top: 26px; font-size: 1.08rem; }
.lx-points { list-style: none; counter-reset: pt; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px !important; padding-top: 28px !important; border-top: 1px solid #ddd3c1; }
.lx-points li { display: grid; gap: 6px; align-content: start; }
.lx-points strong { font-family: var(--pg-serif); font-weight: 500; font-size: 1.2rem; color: var(--myp-navy); line-height: 1.2; }
.lx-points span { font-size: .95rem; color: var(--myp-ink-2); }
.lx-state__fig { position: relative; }
.lx-state__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px 120px 4px 4px; box-shadow: 0 40px 80px -40px rgba(8, 23, 38, .55); }
.lx-state__fig::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--lx-gold); border-radius: 4px 120px 4px 4px; z-index: -1; }
.lx-state__fig { isolation: isolate; }
.lx-state__fig figcaption { font-size: 13px; color: var(--myp-ink-3); margin-top: 30px; }

.lx-svcs { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lx-svc { position: relative; min-height: clamp(380px, 38vw, 520px); border-radius: 6px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--lx-night); }
.lx-svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; max-width: none; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.lx-svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 14, 24, .92) 0%, rgba(5, 14, 24, .35) 48%, rgba(5, 14, 24, .05) 75%); transition: background-color .4s; }
.lx-svc:hover img, .lx-svc:focus-within img { transform: scale(1.07); }
.lx-svc__body { padding: 24px 20px 24px; display: grid; gap: 8px; width: 100%; }
.lx-svc__n { font-family: var(--pg-serif); font-size: 14px; letter-spacing: .14em; color: var(--lx-gold-soft); }
.lx-svc h3 { font-family: var(--pg-serif); font-weight: 500; font-size: clamp(1.25rem, 1.7vw, 1.55rem); letter-spacing: -.015em; }
.lx-svc h3 a { color: #fff !important; text-decoration: none !important; }
.lx-svc h3 a::after { content: ""; position: absolute; inset: 0; }
.lx-svc p { font-size: .97rem; color: #d6e0eb; }
.lx-svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--myp-cta); }
.lx-svc__more svg { width: 16px; height: 16px; transition: transform var(--myp-dur) var(--myp-ease); }
.lx-svc:hover .lx-svc__more svg { transform: translateX(5px); }
.lx-svc:focus-within { outline: 3px solid var(--myp-focus); outline-offset: 3px; }

.lx-night .lx-display { color: #fff; }
.lx-mosaic { list-style: none; display: grid; grid-template-columns: 1.25fr .8fr 1.25fr; gap: 18px; align-items: end; margin-top: clamp(8px, 2vw, 24px) !important; }
.lx-tile { position: relative; border-radius: 6px; overflow: hidden; isolation: isolate; background: #0d2135; }
.lx-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.lx-tile--tall img { aspect-ratio: 4 / 5; }
.lx-tile:hover img, .lx-tile:focus-within img { transform: scale(1.05); }
.lx-tile__body { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(5, 14, 24, .9), rgba(5, 14, 24, 0)); }
.lx-tile h3 { font-family: var(--pg-serif); font-weight: 500; font-size: 1.3rem; }
.lx-tile h3 a { color: #fff !important; text-decoration: none !important; }
.lx-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.lx-tile p { font-size: .93rem; color: #cfdae6; margin-top: 4px; }

.lx-standards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); }
.lx-standards li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 28px 0; border-top: 1px solid #ddd3c1; }
.lx-num { font-family: var(--pg-serif); font-size: 1.7rem; font-weight: 400; color: var(--lx-gold); line-height: 1.1; }
.lx-standards h3 { font-family: var(--pg-serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 8px; }
.lx-standards p { color: var(--myp-ink-2); font-size: 1rem; }
.lx-night .pg-steps { margin-bottom: 8px; }
.lx-night .pg-steps h3 { font-family: var(--pg-serif); font-weight: 500; font-size: 1.2rem; }
.lx-night .pg-steps li::before { background: transparent; color: var(--lx-gold-soft); border: 1px solid var(--lx-gold); font-family: var(--pg-serif); font-weight: 500; }
.lx-night .pg-actions { margin-top: 44px; }

.lx-cta { position: relative; overflow: hidden; isolation: isolate; color: #e6edf5; text-align: center; padding-block: clamp(88px, 12vw, 160px); background: var(--lx-night); }
.lx-cta__media { position: absolute; inset: 0; z-index: -2; }
.lx-cta__media img { object-position: 50% 60%; }
.lx-cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.lx-cta__inner > p { max-width: 56ch; margin: 20px auto 0; font-size: 1.14rem; color: #dbe5f0; }
.lx-cta .pg-actions { justify-content: center; margin-top: 34px; }
.lx-cta .pg-btn-call { background: rgba(255, 255, 255, .06); color: #fff !important; border-color: rgba(255, 255, 255, .5); border-radius: 999px; min-height: 56px; padding-inline: 26px; backdrop-filter: blur(6px); }
.lx-cta .pg-btn-call svg { color: var(--myp-cta); }
.lx-cta .pg-updated { color: #9fb0c3; margin-top: 36px; }

/* Scroll reveal: only when JS is running, never for reduced motion */
.myp-js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.myp-js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1023.98px) {
  .lx-state, .lx-standards { grid-template-columns: 1fr; }
  .lx-state__fig { max-width: 440px; }
  .lx-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-mosaic { grid-template-columns: 1fr 1fr; }
  .lx-mosaic .lx-tile:first-child { grid-column: 1 / -1; }
  .lx-hero__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-hero__bar li:nth-child(3) { padding-left: 0; border-left: 0; }
  .lx-hero__bar li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .lx-hero__shade { background: linear-gradient(0deg, rgba(5, 14, 24, .92) 0%, rgba(5, 14, 24, .55) 55%, rgba(5, 14, 24, .2) 100%); }
}
@media (max-width: 599.98px) {
  .lx-hero { min-height: clamp(620px, calc(100svh - 96px), 820px); }
  .lx-hero__media img, .lx-hero__video { object-position: 68% 50%; }
  .lx-svcs, .lx-mosaic, .lx-points { grid-template-columns: 1fr; }
  .lx-svc { min-height: 340px; }
  .lx-hero__bar li { padding: 14px 12px 16px 0; }
  .lx-hero__bar li + li { padding-left: 14px; }
  .lx-hero__bar li:nth-child(3) { padding-left: 0; }
  .lx-standards li { grid-template-columns: 48px 1fr; }
  .lx-state__fig::before { inset: 12px -10px -12px 12px; }
  .lx-hero .pg-actions .lx-btn-ghost { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-hero__media img, .lx-hero__eyebrow, .lx-hero h1, .lx-hero__sub, .lx-hero .pg-actions, .lx-hero__bar { animation: none; }
  .myp-js .rv { opacity: 1; transform: none; }
}
/* Elementor sets `.elementor img { height: auto; max-width: 100% }`: restore cover behaviour for layered images */
.elementor .lx-hero__media img, .elementor .lx-cta__media img, .elementor .lx-svc > img { height: 100%; max-width: none; }
@media (max-width: 599.98px) { .lx-hero__eyebrow { letter-spacing: .12em; font-size: 11.5px; } .lx-hero__eyebrow::before { display: none; } }

/* Five service panels: 3 + 2 on tablets, last one spans on small tablets */
@media (min-width: 600px) and (max-width: 1023.98px) { .lx-svcs .lx-svc:last-child { grid-column: 1 / -1; min-height: 300px; } .pg-linkcols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Heroes Discount page + home band */
.lx-hero--short { min-height: clamp(520px, 68svh, 720px); }
.lx-hero--short h1 { max-width: 18ch; font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
.lx-hero--short .lx-hero__inner { padding-bottom: clamp(48px, 7vw, 88px); }
.lx-crumbs { color: #c9d4e0; margin-bottom: 28px; }
.lx-crumbs a { color: #c9d4e0 !important; }
.lx-crumbs li + li::before { color: rgba(255, 255, 255, .4); }
.pg-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lx-bandwrap { padding-block: clamp(28px, 4vw, 48px); }
.lx-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--lx-gold); border-radius: 6px; background: linear-gradient(120deg, #fbf8f2, var(--lx-ivory)); }
.lx-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lx-band p { color: var(--myp-ink-2); margin-top: 8px; }
.lx-band .myp-btn { min-height: 52px; padding-inline: 28px; border-radius: 999px; }
.myp-form__check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--lx-gold); border-radius: 10px; background: #fbf8f2; }
.myp-form__check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--myp-accent); }
.myp-form__check label { font-weight: 600; }
.myp-form__check small { display: block; font-weight: 400; color: var(--myp-ink-3); font-size: 13px; }
@media (max-width: 1023.98px) { .pg-steps--3 { grid-template-columns: 1fr; } }

/* Company, guide and resource pages */
.lx-prose { max-width: 72ch; font-size: 1.06rem; margin-top: 22px; }
.lx-prose h3 { font-family: var(--pg-serif); font-weight: 500; font-size: 1.3rem; }
.pg-steps[style*="--steps"] { grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); }
.pg-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.lx-checkpanel { border: 1px solid var(--lx-gold); border-radius: 6px; padding: clamp(24px, 4vw, 44px); background: #fff; }
.lx-checkpanel .pg-checks li { font-weight: 500; color: var(--myp-ink-2); }
.pg-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); margin: 0; }
.pg-dl > div { padding: 18px 0; border-top: 1px solid #ddd3c1; break-inside: avoid; }
.pg-dl dt { font-family: var(--pg-serif); font-weight: 500; font-size: 1.2rem; color: var(--myp-navy); }
.pg-dl dd { margin: 6px 0 0; color: var(--myp-ink-2); font-size: .98rem; }
.pg-card--text { padding: 0; }
.pg-card--text .pg-card__body { padding: 24px; }
.pg-card--text h3 { font-family: var(--pg-serif); font-weight: 500; font-size: 1.3rem; }
.lx-faqwide { max-width: 860px; }
.lx-gallery { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lx-gallery .lx-tile h3 { font-size: 1.15rem; }
.lx-vids { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.lx-vid video { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--lx-night); object-fit: cover; }
.lx-vid h3 { font-family: var(--pg-serif); font-weight: 500; font-size: 1.15rem; margin-top: 12px; }
.lx-vid h3 a { color: var(--myp-navy); text-decoration: none; }
.lx-vid h3 a:hover { color: var(--myp-accent); text-decoration: underline; }
.lx-vid p { font-size: .93rem; color: var(--myp-ink-3); margin-top: 2px; }
@media (max-width: 1023.98px) { .pg-steps[style*="--steps"] { grid-template-columns: 1fr; } .pg-dl, .pg-checks--2 { grid-template-columns: 1fr; } .lx-gallery, .lx-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .lx-gallery, .lx-vids { grid-template-columns: 1fr; } }

/* Before / after comparison slider */
.lx-ba { margin: 22px 0 8px !important; }
.lx-ba__frame { position: relative; overflow: hidden; border-radius: 6px; background: var(--lx-night); aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -36px rgba(8, 23, 38, .55); }
.lx-ba__frame img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
.lx-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.lx-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(8, 23, 38, .25); pointer-events: none; }
.lx-ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b1f33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 6px 18px rgba(8, 23, 38, .4); }
.lx-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.lx-ba__range:focus-visible ~ .lx-ba__handle, .lx-ba__frame:focus-within .lx-ba__handle { box-shadow: 0 0 0 3px var(--myp-focus); }
.lx-ba__tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(8, 23, 38, .7); backdrop-filter: blur(4px); pointer-events: none; }
.lx-ba__tag--b { left: 14px; } .lx-ba__tag--a { right: 14px; background: rgba(30, 105, 59, .85); }
.lx-ba figcaption { font-size: 13.5px; color: var(--myp-ink-3); margin-top: 10px; }
.lx-ba figcaption strong { color: var(--myp-navy); }
.lx-bagrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.lx-bagrid .lx-ba { margin: 0 !important; }
.lx-bagrid .lx-ba:first-child { grid-column: 1 / -1; max-width: 900px; margin-inline: auto !important; width: 100%; }
@media (max-width: 799.98px) { .lx-bagrid { grid-template-columns: 1fr; } }
