/* /pricing/ — Middletown HVAC published price list. Scope #mtown-pricing, prefix mtpr. System fonts, no dependencies. */
#mtown-pricing, #mtown-pricing * { box-sizing: border-box; min-width: 0; }
#mtown-pricing {
  --navy-1000: #04111f; --navy-900: #081d31; --navy-800: #12334e;
  --white: #fff; --ivory: #f7f4ed; --ivory-2: #eee8dc; --ink: #102231; --copy: #334b5d; --muted-dark: #d7e3eb;
  --orange: #ff6500; --orange-2: #eb5a00; --gold: #ffd740; --gold-2: #ffaa23; --cyan: #65d9ff; --blue: #2a6dff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--ivory); line-height: 1.55; overflow-x: clip;
}
#mtown-pricing .mtpr-shell { width: min(1120px, 100% - 32px); margin: 0 auto; }
#mtown-pricing .mtpr-section { padding: 56px 0; }
#mtown-pricing .mtpr-light { background: var(--white); }
#mtown-pricing .mtpr-ivory { background: var(--ivory); }
#mtown-pricing .mtpr-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-1000)); color: var(--white); }
#mtown-pricing .mtpr-dark p, #mtown-pricing .mtpr-dark li { color: var(--muted-dark); }
#mtown-pricing .mtpr-dark h2, #mtown-pricing .mtpr-dark h3 { color: var(--white); }

#mtown-pricing .mtpr-kicker { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 999px; color: #6a4800; background: #fff1bf; border: 1px solid #ffd77a; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
#mtown-pricing .mtpr-dark .mtpr-kicker { color: #fff2ad; background: rgba(255, 215, 64, .12); border-color: rgba(255, 215, 64, .35); }
#mtown-pricing h1, #mtown-pricing h2, #mtown-pricing h3 { margin: 0 0 12px; line-height: 1.08; letter-spacing: -.02em; font-weight: 900; }
#mtown-pricing h1 { font-size: clamp(34px, 5.6vw, 62px); color: var(--white); }
#mtown-pricing h1 span { display: block; margin-top: 8px; font-size: .5em; font-weight: 800; color: var(--gold); letter-spacing: 0; }
#mtown-pricing h2 { font-size: clamp(26px, 3.6vw, 40px); }
#mtown-pricing h3 { font-size: 20px; }
#mtown-pricing p { margin: 0 0 14px; }
#mtown-pricing .mtpr-lead { font-size: 18px; max-width: 760px; color: var(--copy); }
#mtown-pricing .mtpr-dark .mtpr-lead { color: var(--muted-dark); }
#mtown-pricing a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
#mtown-pricing .mtpr-dark a:not(.mtpr-btn) { color: var(--cyan); }
#mtown-pricing a:focus-visible, #mtown-pricing summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* hero */
#mtown-pricing .mtpr-hero { padding: 64px 0 52px; background: radial-gradient(1100px 500px at 15% 0%, #12334e 0%, var(--navy-900) 45%, var(--navy-1000) 100%); color: var(--white); }
#mtown-pricing .mtpr-hero .mtpr-lead { color: #e8f1f7; }
#mtown-pricing .mtpr-hero-updated { font-size: 14px; color: var(--muted-dark); }

/* buttons */
#mtown-pricing .mtpr-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
#mtown-pricing .mtpr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 156px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; line-height: 1.15; font-weight: 900; text-decoration: none; }
#mtown-pricing .mtpr-btn-book { color: #241900; background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: rgba(255, 232, 149, .58); }
#mtown-pricing .mtpr-btn-call { color: var(--white); background: linear-gradient(135deg, #ff8a2a, var(--orange-2)); }
#mtown-pricing .mtpr-btn-text { color: var(--ink); background: linear-gradient(135deg, #f3f6f9, #d9e0e7); }
#mtown-pricing .mtpr-btn-blue { color: var(--white); background: linear-gradient(135deg, #3b7bff, #1a4fd6); }
#mtown-pricing .mtpr-btn-ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.4); }
#mtown-pricing .mtpr-light .mtpr-btn-ghost, #mtown-pricing .mtpr-ivory .mtpr-btn-ghost { color: var(--ink); border-color: #9fb0bf; }
#mtown-pricing .mtpr-btn:hover { filter: brightness(1.05); }
#mtown-pricing .mtpr-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* price tables */
#mtown-pricing .mtpr-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 8px; border-radius: 16px; border: 1px solid #dfe5ea; background: var(--white); }
#mtown-pricing .mtpr-dark .mtpr-table-wrap { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
#mtown-pricing table { width: 100%; border-collapse: collapse; font-size: 16px; }
#mtown-pricing caption { text-align: left; padding: 14px 16px 4px; font-weight: 800; color: var(--copy); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
#mtown-pricing .mtpr-dark caption { color: var(--muted-dark); }
#mtown-pricing th, #mtown-pricing td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid #e6ebef; }
#mtown-pricing .mtpr-dark th, #mtown-pricing .mtpr-dark td { border-top-color: rgba(255,255,255,.12); }
#mtown-pricing thead th { border-top: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--copy); }
#mtown-pricing .mtpr-dark thead th { color: var(--muted-dark); }
#mtown-pricing td.mtpr-price { white-space: nowrap; font-weight: 900; font-size: 20px; color: var(--ink); }
#mtown-pricing .mtpr-dark td.mtpr-price { color: var(--gold); }
#mtown-pricing td small, #mtown-pricing th small { display: block; font-weight: 500; font-size: 14px; color: var(--copy); margin-top: 2px; }
#mtown-pricing .mtpr-dark td small { color: var(--muted-dark); }
#mtown-pricing .mtpr-note { font-size: 15px; color: var(--copy); max-width: 820px; }
#mtown-pricing .mtpr-dark .mtpr-note { color: var(--muted-dark); }

/* plan cards */
#mtown-pricing .mtpr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
#mtown-pricing .mtpr-card { background: var(--white); border: 1px solid #dfe5ea; border-radius: 18px; padding: 22px; box-shadow: 0 6px 18px rgba(8, 29, 49, .06); }
#mtown-pricing .mtpr-card-featured { border-color: var(--gold-2); box-shadow: 0 10px 26px rgba(255, 170, 35, .18); }
#mtown-pricing .mtpr-card .mtpr-amount { font-size: 38px; font-weight: 900; letter-spacing: -.02em; margin: 6px 0 2px; }
#mtown-pricing .mtpr-card .mtpr-amount small { display: inline; font-size: 15px; font-weight: 600; color: var(--copy); margin-left: 4px; }
#mtown-pricing .mtpr-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--copy); }
#mtown-pricing .mtpr-card li { margin: 6px 0; }

/* faq */
#mtown-pricing .mtpr-faq { border: 1px solid #dfe5ea; border-radius: 14px; background: var(--white); margin: 10px 0; }
#mtown-pricing .mtpr-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 17px; list-style: none; position: relative; padding-right: 44px; }
#mtown-pricing .mtpr-faq summary::-webkit-details-marker { display: none; }
#mtown-pricing .mtpr-faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; font-weight: 700; color: var(--orange); }
#mtown-pricing .mtpr-faq[open] summary::after { content: "–"; }
#mtown-pricing .mtpr-faq-answer { padding: 0 18px 18px; color: var(--copy); }

/* final */
#mtown-pricing .mtpr-final { border-radius: 22px; padding: 34px 28px; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); border: 1px solid rgba(255,255,255,.12); }

@media (max-width: 860px) {
  #mtown-pricing .mtpr-cards { grid-template-columns: 1fr; }
  #mtown-pricing .mtpr-section { padding: 44px 0; }
}
@media (max-width: 600px) {
  #mtown-pricing .mtpr-btn { width: 100%; min-width: 0; }
  /* stacked rows: each table row becomes a card, no horizontal squeeze */
  #mtown-pricing table, #mtown-pricing tbody, #mtown-pricing tr, #mtown-pricing th, #mtown-pricing td { display: block; width: 100%; }
  #mtown-pricing thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #mtown-pricing caption { display: block; }
  #mtown-pricing tr { padding: 14px 16px 16px; border-top: 1px solid #e6ebef; }
  #mtown-pricing .mtpr-dark tr { border-top-color: rgba(255,255,255,.12); }
  #mtown-pricing th, #mtown-pricing td { border-top: 0; padding: 0; }
  #mtown-pricing th[scope="row"] { font-size: 17px; margin-bottom: 6px; }
  #mtown-pricing td.mtpr-price { font-size: 24px; margin: 2px 0 6px; }
  #mtown-pricing td[data-label="Details"] { font-size: 15px; color: var(--copy); }
  #mtown-pricing .mtpr-dark td[data-label="Details"] { color: var(--muted-dark); }
  #mtown-pricing td:empty { display: none; }
}
@media (prefers-reduced-motion: reduce) { #mtown-pricing * { transition: none !important; } }
