/* Kay review t517u/t519u + t530 follow-up: sample card, price defs, mobile first screen. Preview only. */
.pricestrip .book-def{display:block;font-weight:400;font-size:.82em;line-height:1.4;margin:8px 0 0;opacity:.92;max-width:none}
.sample-card{position:relative;background:#FBFAF7;color:#0B1F3A;border-radius:18px;padding:26px 26px 22px;box-shadow:0 20px 50px rgba(11,31,58,.18);border:1.5px solid #E6E2DA;margin:18px 0 0}
.sample-card .sc-chip{position:absolute;top:14px;right:14px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:#FBFAF7!important;background:#1C3A63!important;border:0!important;border-radius:6px;padding:.25em .7em;min-height:0;display:inline-flex;align-items:center;font-weight:500}
.sample-card .meta{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#1C3A63;margin:0 0 .45em}
.sample-card .q{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:1.35rem;line-height:1.2;margin:0;color:#0B1F3A}
.sample-card .sep{border-top:1.5px solid #E6E2DA;margin:14px 0}
.sample-card .reply{font-size:1.02rem;line-height:1.38;color:#0B1F3A}
.sample-card .sc-actions{display:flex;gap:.6em;margin-top:16px;flex-wrap:wrap}
.sample-card .sc-actions span{border:2px solid #0B1F3A;border-radius:10px;padding:.45em 1.05em;font-weight:700;font-size:.9rem;color:#0B1F3A;background:transparent;display:inline-block}
.sample-card .sc-actions span.ok{background:#0B1F3A;color:#FBFAF7}
.pg-hero .lead{max-width:40em}
.pg-hero .btns{margin-top:18px}
.pg-hero .pricestrip{margin:18px 0 0;max-width:46em;font-weight:700;font-size:clamp(1.02rem,1.8vw,1.22rem);line-height:1.35;background:#EFEBE4;border-radius:14px;padding:14px 18px}
.pg-hero .pricestrip small{display:block;font-weight:500;font-size:.8em;opacity:.85;margin-top:4px}
@media(min-width:960px){
  .pg-hero .hero-stack{display:grid;grid-template-columns:1.05fr .95fr;grid-template-areas:"copy card" "price card";gap:28px 40px;align-items:start}
  .pg-hero .hero-copy{grid-area:copy}
  .pg-hero .hero-stack .sample-card{grid-area:card;margin:0}
  .pg-hero .hero-stack .pricestrip{grid-area:price;margin:0}
  .pg-hero{padding:52px 0 36px!important}
  .pg-hero h1{font-size:clamp(2.15rem,3.5vw,3.15rem)!important;line-height:1.12!important}
}
body.lp-a-navy .pg-hero .pricestrip,body.lp-c-bold .pg-hero .pricestrip{background:rgba(251,250,247,.1);color:#FBFAF7}
body.lp-a-navy .pg-hero .pricestrip .book-def,body.lp-c-bold .pg-hero .pricestrip .book-def{color:#FBFAF7;opacity:.9}
body.lp-b-light .pg-hero .pricestrip{background:transparent;border-top:1px solid #E6E2DA;border-bottom:1px solid #E6E2DA;border-radius:0;padding:16px 0}
body.lp-b-light .pg-hero .wrap{max-width:1120px!important}
body.lp-d-short .one .pricestrip .book-def{display:block!important;font-weight:400!important;font-size:.9rem!important;line-height:1.4!important;margin:8px 0 0!important;color:#1C3A63!important;opacity:1!important}
body.lp-d-short .one .sample-card{margin:14px 0 0}
body.lp-d-short .one .sample-card .q{font-size:1.15rem}
body.lp-d-short .one .sample-card{padding:16px 16px 14px}
body.lp-d-short .one .pricestrip{margin-top:14px!important}
body.lp-d-short .one .btns{margin-top:14px!important}

/* Compact first screen on a 390-wide phone: card sits under intro + button, before the price box */
@media(max-width:759px){
  .pg-hero{padding:24px 0 20px!important}
  .pg-hero .crumb{display:none}
  .pg-hero .eyebrow{margin-bottom:4px}
  .pg-hero h1{font-size:1.7rem!important;line-height:1.15!important;margin:.15em 0 .35em!important}
  .pg-hero .lead{font-size:1rem!important;margin:0 0 12px!important}
  .pg-hero .btns{margin-top:0;margin-bottom:14px}
  .pg-hero .hero-stack .sample-card,.sample-card{margin:0 0 14px;padding:16px 16px 14px}
  .sample-card .q{font-size:1.12rem}
  .sample-card .reply{font-size:.95rem;line-height:1.35}
  .sample-card .sep{margin:10px 0}
  .sample-card .sc-actions{margin-top:12px}
  .pg-hero .pricestrip,.one .pricestrip{font-size:1.02rem;margin-top:0}
  body.lp-d-short section.one{padding:20px 0 16px!important}
  body.lp-d-short .one h1{font-size:1.7rem!important;margin-bottom:8px!important}
  body.lp-d-short .one .lead{font-size:1rem!important;margin-bottom:12px!important}
  body.lp-d-short .one .sample-card{margin:0 0 14px}
}

/* lp-c hero is navy/white (clay removed from the hero only) */
body.lp-c-bold .pg-hero{background:#0B1F3A!important;color:#FBFAF7!important}
body.lp-c-bold .pg-hero h1,body.lp-c-bold .pg-hero .lead,body.lp-c-bold .pg-hero .crumb,body.lp-c-bold .pg-hero .crumb a,body.lp-c-bold .pg-hero .eyebrow{color:#FBFAF7!important}
body.lp-c-bold .pg-hero .eyebrow{background:none!important;padding:0!important;opacity:.75!important}
body.lp-c-bold .pg-hero .btn{background:#FBFAF7!important;color:#0B1F3A!important;border-color:#FBFAF7!important;min-height:44px!important;font-size:1rem!important}
body.lp-c-bold .pg-hero .btn:hover{background:#fff!important}
body.lp-c-bold .pg-hero .pricestrip{background:rgba(251,250,247,.1)!important;color:#FBFAF7!important;border-radius:14px!important;padding:14px 18px!important;font-size:1.05rem!important}

@media(max-width:759px){
  body.lp-b-light .pg-hero{padding:24px 0 20px!important}
  body.lp-b-light .pg-hero h1{font-size:1.7rem!important;line-height:1.15!important}
  body.lp-b-light .pg-hero .lead{font-size:1rem!important}
}


/* Keep the fixed 'Try a quote request' pill from covering first-screen / price-box copy.
   Higher specificity so variant padding:!important shorthands don't wipe padding-right. */
@media(max-width:759px){
  /* Room below the price box for the floating pill, so the headline can use the full width of the box. */
  html body .pg-hero,html body.lp-d-short section.one{padding-bottom:88px!important}
  html body .pg-hero .pricestrip,
  html body.lp-a-navy .pg-hero .pricestrip,
  html body.lp-b-light .pg-hero .pricestrip,
  html body.lp-c-bold .pg-hero .pricestrip,
  html body.lp-d-short .one .pricestrip{
    padding-right:18px!important;
    padding-left:18px!important;
    padding-bottom:16px!important;
  }
  html body main{padding-bottom:4.5rem}
}

body.lp-d-short .formbox .form-lead{margin:0 0 14px;font-size:.92rem;color:inherit;opacity:.9}


/* Luca refund wording + selling-line stack (v9 preview, t532u) */
html body .pricestrip .price-line,
html body .pricestrip .refund-line,
html body .ptable td.pr .price-line,
html body .ptable td.pr .refund-line,
html body .optfoot .refund-line,
html body .guar .refund-line,
html body p.refund-line{
  display:block;
  font-weight:700;
  font-size:inherit;
  line-height:1.35;
  margin-top:0;
}
html body .pricestrip .refund-line,
html body .ptable td.pr .refund-line{
  margin-top:6px;
}
html body p.refund-line{margin:18px 0 8px;font-size:1.15rem}
html body .pricestrip small,
html body .pricestrip .book-def,
html body .pricestrip .refund-terms,
html body .ptable td.pr .book-def,
html body .ptable td.pr .refund-terms,
html body .optfoot .refund-terms,
html body .guar .refund-terms{
  display:block;
  font-weight:400;
  font-size:.82em;
  line-height:1.4;
  margin:8px 0 0;
  opacity:.92;
}
html body .pricestrip small{font-weight:500;opacity:.85}
html body .guar .refund-line{margin-top:0;font-size:1.15rem}


/* Keep long refund/booking copy wrapping inside the pricing table (Kay t540u).
   t544u follow-up: package-name <th> was stuck at width:18% on the stacked
   mobile table, so "Pay per booking" wrapped letter by letter. Stack at
   700px with full-width cells; overflow-wrap:anywhere only on the footnote. */
html body .ptable{
  width:100%;
  max-width:100%;
  table-layout:fixed;
}
html body .ptable th,
html body .ptable td{
  white-space:normal;
  overflow-wrap:normal;
  overflow:visible;
}
html body .ptable tbody th{
  width:22%;
  min-width:10em;
}
html body .ptable td.pr{
  white-space:normal!important;
  width:46%;
}
html body .ptable td.pr .price-line,
html body .ptable td.pr .refund-line,
html body .ptable td.pr .book-def{
  white-space:normal!important;
  overflow-wrap:normal;
  max-width:100%;
}
html body .ptable td.pr .refund-terms,
html body .guar .refund-terms,
html body .optfoot .refund-terms,
html body .refund-terms{
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-wrap:break-word;
  max-width:100%;
}
html body .guar,
html body .guar > div,
html body .optfoot,
html body p.refund-line,
html body .terms{
  max-width:100%;
  white-space:normal;
  overflow-wrap:normal;
}

@media (max-width:700px){
  html body .ptable{
    table-layout:auto;
  }
  html body .ptable tbody th,
  html body .ptable th,
  html body .ptable td,
  html body .ptable td.pr{
    width:100%!important;
    min-width:0;
    overflow-wrap:normal;
  }
  html body .ptable td.pr .refund-terms,
  html body .guar .refund-terms,
  html body .optfoot .refund-terms,
  html body .refund-terms{
    overflow-wrap:anywhere;
  }
}

html body .ptable .price-compact{display:none}

/* Compact phone pricing table (Kay t547u): one row per package, name + price on one line, short description under, thin dividers, no tall cards. */
@media (max-width:700px){
  html body .ptable{
    table-layout:auto;
    border:0;
    margin-top:16px;
    padding-left:16px;
    padding-right:16px;
    box-sizing:border-box;
  }
  html body .ptable thead{display:none!important}
  html body .ptable,html body .ptable tbody{display:block;width:100%}
  html body .ptable tr{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:12px;
    row-gap:2px;
    margin:0!important;
    padding:8px 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-bottom:1px solid #E6E2DA!important;
  }
  html body .ptable tbody th,
  html body .ptable th,
  html body .ptable td,
  html body .ptable td.pr{
    width:auto!important;
    min-width:0!important;
    border:0!important;
    padding:0!important;
    background:transparent!important;
    overflow-wrap:normal;
  }
  html body .ptable tbody th{
    grid-column:1;
    grid-row:1;
    font-size:1rem;
    line-height:1.3;
    font-weight:600;
    font-family:var(--display);
  }
  html body .ptable td.pr{
    grid-column:2;
    grid-row:1;
    text-align:right;
    font-weight:700;
    font-size:1rem;
    line-height:1.3;
    white-space:nowrap;
  }
  html body .ptable td:not(.pr){
    grid-column:1/-1;
    grid-row:2;
    font-size:.88rem;
    line-height:1.35;
    font-weight:400;
    padding-top:2px!important;
  }
  html body .ptable tr.hl td.pr{display:contents}
  html body .ptable .price-compact{
    display:block;
    grid-column:2;
    grid-row:1;
    text-align:right;
    font-weight:700;
    font-size:1rem;
    line-height:1.3;
    white-space:nowrap;
  }
  html body .ptable tr.hl td.pr .price-line,
  html body .ptable tr.hl td.pr .refund-line,
  html body .ptable tr.hl td.pr .book-def,
  html body .ptable tr.hl td.pr .refund-terms{
    grid-column:1/-1;
    text-align:left;
    font-weight:400;
    white-space:normal!important;
    margin:4px 0 0;
  }
  html body .ptable tr.hl td.pr .price-line{font-weight:600;font-size:.88rem}
  html body .ptable tr.hl td.pr .refund-line{font-weight:700;font-size:.95rem}
  html body .ptable tr.hl td.pr .book-def{font-size:.82rem;opacity:.92}
  html body .ptable tr.hl td.pr .refund-terms{font-size:.78rem;overflow-wrap:anywhere}
  html body .ptable tr.hl td:not(.pr){grid-row:2}
}

/* Slim cookie bar on phone (~56px): one line of text + buttons. Hide the chat pill while it is open. */
@media (max-width:759px){
  html body .ao-cc{
    left:0!important;
    right:0!important;
    bottom:0!important;
    max-width:none!important;
    margin:0!important;
    border-radius:0!important;
    border-width:1px 0 0!important;
    padding:6px 10px!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    box-shadow:0 -4px 16px rgba(7,20,39,.12)!important;
    min-height:0!important;
    font-size:.75rem!important;
    line-height:1.2!important;
  }
  html body .ao-cc h2{display:none!important}
  html body .ao-cc p{
    margin:0!important;
    flex:1 1 auto!important;
    min-width:0!important;
    font-size:.75rem!important;
    line-height:1.2!important;
    display:-webkit-box!important;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden!important;
  }
  html body .ao-cc .ao-cc-row{
    display:flex!important;
    flex-direction:row!important;
    flex:0 0 auto!important;
    gap:6px!important;
    margin:0!important;
    flex-wrap:nowrap!important;
  }
  html body .ao-cc .ao-cc-btn{
    flex:0 0 auto!important;
    min-height:40px!important;
    min-width:0!important;
    width:auto!important;
    padding:6px 10px!important;
    font-size:.75rem!important;
    white-space:nowrap!important;
  }
  html body.ao-cc-open #ao-chat-btn,
  html body.ao-cc-open #ao-top{
    opacity:0!important;
    pointer-events:none!important;
    visibility:hidden!important;
    transform:none!important;
  }
  html body.ao-cc-open .pg-hero,
  html body.ao-cc-open main{
    padding-bottom:calc(var(--ao-cc-h, 56px) + 8px)!important;
  }
  html body.ao-cc-open .pg-hero .pricestrip{margin-bottom:8px}
  /* Pill sits in the hero's bottom padding, below the price box, so it stays off the card and price text. */
}


/* Hide the quote-request pill while the trades/pricing hero (and price box) is on screen, so it never sits on the headline. */
@media (max-width:759px){
  html body.hero-vis #ao-chat-btn{
    opacity:0!important;
    pointer-events:none!important;
    visibility:hidden!important;
  }
}

/* Opt-in checkbox on the Ask us a question form: keep it small against roles.css input { width:100%; min-height:46px } */
form.contact .consent input[type=checkbox]{width:auto;min-width:0;min-height:0;height:1.1em;margin:4px 0 0;accent-color:var(--accent,#0A0A0A);flex-shrink:0}
form.contact .consent label{display:flex;gap:10px;align-items:flex-start;font:400 .88rem/1.5 var(--sans,inherit);font-weight:400;margin-bottom:0;text-transform:none;letter-spacing:0;color:var(--ink,#1a1a1a)}
