/* Ask Madhu page: burgundy and cream design approved by Madhu, Nov 7 2026 */
:root {
  --am-ink: #1b1416; --am-dark: #141112; --am-wine: #6b1e32; --am-wine-deep: #3f1420;
  --am-gold: #d4a85a; --am-gold-dark: #8a6526; --am-cream: #fbf7f0; --am-cream-2: #f3ece0;
  --am-line: #eadfcf; --am-muted: #5e5357;
  --am-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --am-sans: Inter, Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body.am { margin: 0; background: var(--am-cream); color: var(--am-ink); font-family: var(--am-sans); }
.am a { color: var(--am-wine); }
.am-skip { position: absolute; left: -9999px; }
.am-skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 14px; z-index: 10; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--am-gold); outline-offset: 2px; }
.am-wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(16px, 4vw); }

/* Top bar */
.am-top { background: var(--am-dark); padding: 14px max(16px, 4vw); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.am-brand { text-decoration: none; display: flex; flex-direction: column; gap: 5px; }
.am-brand__name { color: #fff; font: 600 15px/1 var(--am-sans); letter-spacing: .2em; }
.am-brand__name span { color: var(--am-gold); }
.am-brand__sub { color: #bfb4ab; font-size: 12px; }
.am-top__right { display: flex; align-items: center; gap: 20px; }
.am-top__tag { color: #e9e1d5; font-family: var(--am-serif); font-size: 15px; }
.am .am-top__call { display: inline-flex; align-items: center; gap: 8px; color: var(--am-gold); text-decoration: none; border: 1px solid #4a3f42; border-radius: 999px; padding: 10px 14px; font-weight: 600; font-size: 14px; min-height: 44px; }

/* Hero + chat */
.am-hero { background: linear-gradient(160deg, var(--am-dark) 0%, var(--am-wine-deep) 50%, var(--am-wine) 100%); color: #fff; }
.am-hero__inner { max-width: 1240px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) max(16px, 4vw) clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.am-who { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.am-who img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--am-gold); flex: none; }
.am-who__name { margin: 0; font-weight: 600; font-size: 16px; }
.am-who__firm { margin: 3px 0 0; color: #d8cbc4; font-size: 13px; }
.am-eyebrow { margin: 0 0 12px; font: 700 13px/1.3 var(--am-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--am-gold); }
.am-eyebrow--dark { color: var(--am-gold-dark); }
.am-hero h1 { margin: 0; font: 700 clamp(31px, 4.2vw, 52px)/1.1 var(--am-serif); letter-spacing: -.01em; text-wrap: balance; }
.am-hero__lead { margin: 18px 0 0; font: 400 clamp(16px, 1.4vw, 18px)/1.65 var(--am-serif); color: #eadfd6; max-width: 34em; }
.am-quote { margin-top: 26px; border: 1px solid rgba(212,168,90,.4); background: rgba(255,255,255,.06); border-radius: 14px; padding: 18px 20px; }
.am-quote p { margin: 0; font: italic 400 18px/1.45 var(--am-serif); }
.am .am-quote__by { margin-top: 10px; font: 400 13px/1.6 var(--am-sans); font-style: normal; color: #d9cfc3; }
.am .am-quote__by a { color: var(--am-gold); }

.am-chat { background: #fff; color: var(--am-ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.am-chat__head { display: flex; gap: 14px; align-items: center; padding: 18px 20px 14px; }
.am-chat__head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--am-wine); flex: none; }
.am-chat__kicker { margin: 0; font: 700 12px/1.2 var(--am-sans); letter-spacing: .14em; text-transform: uppercase; color: #a07a32; }
.am-chat__title { margin: 2px 0 0; font: 700 28px/1.05 var(--am-serif); }
.am-chat__sub { margin: 4px 0 0; font-size: 13px; color: #2f6b47; }
.am-chat__disclose { margin: 0; padding: 10px 20px; background: #f6efe4; border-block: 1px solid var(--am-line); font-size: 13px; color: #3b302c; }
.am-chat__paused { margin: 0; padding: 14px 20px; background: #fff4e5; border-bottom: 1px solid var(--am-line); font-size: 14px; line-height: 1.5; }
.am-chat__log { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; background: #fbf8f2; max-height: 460px; overflow-y: auto; }
.am-msg { max-width: 90%; padding: 12px 14px; border-radius: 14px; font: 400 16px/1.55 var(--am-serif); white-space: pre-line; overflow-wrap: anywhere; }
.am-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--am-line); border-radius: 14px 14px 14px 4px; }
.am-msg--me { align-self: flex-end; background: var(--am-wine); color: #fff; border-radius: 14px 14px 4px 14px; font-family: var(--am-sans); font-size: 15px; }
.am-msg--wait { color: var(--am-muted); font-style: italic; }
.am-msg__cta { display: inline-block; margin-top: 10px; background: var(--am-dark); color: var(--am-gold) !important; border: 0; border-radius: 8px; padding: 10px 14px; font: 600 14px var(--am-sans); cursor: pointer; min-height: 44px; }

.am-start { padding: 4px 20px 14px; background: #fbf8f2; display: flex; flex-direction: column; gap: 12px; }
.am-seg { display: flex; gap: 8px; }
.am-seg__btn { flex: 1; height: 46px; border-radius: 999px; border: 1px solid #d8cbb6; background: #fff; color: #3a2f33; font-weight: 600; font-size: 15px; cursor: pointer; }
.am-seg__btn[aria-pressed="true"] { background: var(--am-wine); border-color: var(--am-wine); color: #fff; }
.am-chips { display: flex; flex-direction: column; gap: 8px; }
.am-chip { text-align: left; border: 1px solid #e1d5c2; background: #fff; color: #2a2124; font: 400 15px/1.35 var(--am-sans); padding: 12px 14px; border-radius: 12px; cursor: pointer; min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.am-chip:hover { border-color: var(--am-wine); }
.am-chip svg { flex: none; }

.am-ask { padding: 14px 20px 16px; border-top: 1px solid var(--am-line); display: flex; flex-direction: column; gap: 8px; }
.am-ask label { font-weight: 600; font-size: 14px; }
.am-ask__row { display: flex; gap: 8px; align-items: stretch; }
.am-ask textarea { flex: 1; min-width: 0; border: 1px solid #cdbfa9; border-radius: 12px; padding: 12px; font-size: 16px; line-height: 1.4; resize: none; min-height: 54px; }
.am-ask__send { border: 0; border-radius: 12px; background: var(--am-wine); color: #fff; font-weight: 700; padding: 0 20px; cursor: pointer; min-height: 54px; }
.am-ask__send[disabled] { opacity: .6; cursor: default; }
.am-small { margin: 0; font-size: 12px; line-height: 1.5; color: var(--am-muted); }
.am-small--center { text-align: center; }
.am-talk { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--am-cream-2); border: 0; border-top: 1px solid var(--am-line); padding: 16px 20px; text-align: left; cursor: pointer; color: var(--am-ink); min-height: 60px; }
.am-talk > span { display: flex; flex-direction: column; gap: 3px; }
.am-talk strong { font-size: 16px; }
.am-talk span span { font-size: 13px; color: var(--am-muted); }
.am-talk svg { color: var(--am-wine); flex: none; }

/* Sections */
.am-sec { padding-block: clamp(40px, 6vw, 72px); }
.am-sec--cream { background: var(--am-cream-2); }
.am-sec h2 { margin: 0; font: 700 clamp(26px, 3vw, 36px)/1.15 var(--am-serif); text-wrap: balance; }
.am-sec__lead { margin: 10px 0 0; color: var(--am-muted); }
.am-reviews { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.am-reviews figure { margin: 0; background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.am-stars { margin: 0; color: #b08a3e; letter-spacing: 2px; }
.am-reviews blockquote { margin: 0; font: italic 400 17px/1.55 var(--am-serif); flex: 1; }
.am-reviews figcaption { font-weight: 600; font-size: 14px; }
.am-reviews figcaption span { font-weight: 400; color: var(--am-muted); }
.am-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.am-box { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.am-box--warm { background: var(--am-cream); border-color: #e4d6bf; }
.am-box h2 { font-size: 24px; }
.am-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; color: #3a2f33; }
.am-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--am-wine); color: #fff; font: 700 16px var(--am-sans); cursor: pointer; margin-top: 8px; align-self: flex-start; }
.am-btn--block { width: 100%; }
.am-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.am-steps li { display: flex; gap: 14px; align-items: flex-start; }
.am-steps li > span { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--am-wine); color: #fff; display: grid; place-items: center; font: 700 16px var(--am-serif); }
.am-steps strong { font-size: 17px; }
.am-steps p { margin: 4px 0 0; color: var(--am-muted); line-height: 1.5; }
.am-foot { background: var(--am-dark); color: #d8cfc6; padding-block: 30px 40px; }
.am-foot p { margin: 0 0 10px; line-height: 1.6; }
.am-foot__line strong { color: #fff; }
.am-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.am .am-foot a { color: #e6c58a; }
.am-foot__small { font-size: 12px; color: #bfb4ab; }

/* Consultation dialog (the old Ask Madhu form, kept as Madhu likes it) */
.am-dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 16px; padding: 0; background: #fffdf9; color: var(--am-ink); }
.am-dialog::backdrop { background: rgba(20,10,14,.6); }
.am-dialog form { padding: 24px clamp(16px, 4vw, 28px) 28px; display: flex; flex-direction: column; gap: 18px; }
#am-consult-body { display: flex; flex-direction: column; gap: 18px; }
.am-dialog__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.am-dialog__kicker { margin: 0 0 6px; font: 700 12px var(--am-sans); letter-spacing: .14em; text-transform: uppercase; color: #a07a32; }
.am-dialog h2 { margin: 0; font: 700 clamp(24px, 4vw, 30px)/1.15 var(--am-serif); }
.am-dialog__intro { margin: 8px 0 0; font: 16px/1.5 var(--am-serif); color: #4d4440; }
.am-dialog__close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; flex: none; }
.am-card { margin: 0; border: 1px solid #ece2d2; border-radius: 12px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.am-card--cream { background: #f8f2e8; }
.am-card legend { font: 700 19px var(--am-serif); padding: 0 6px; }
.am-card__title { display: flex; gap: 12px; align-items: flex-start; }
.am-card__title h3 { margin: 0; font: 700 19px var(--am-serif); }
.am-card__title p { margin: 2px 0 0; font-size: 13px; color: #4d4440; }
.am-num { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--am-wine); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.am-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; min-width: 0; }
.am-card input:not([type="checkbox"]), .am-card select, .am-card textarea { height: 46px; border: 1px solid #cdbfa8; border-radius: 8px; padding: 0 12px; font: 16px var(--am-serif); background: #fff; width: 100%; color: var(--am-ink); }
.am-card textarea { height: auto; padding: 10px 12px; resize: vertical; }
.am-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.am-help { margin: 0; font-size: 13px; line-height: 1.5; color: #4d4440; }
.am-opt { margin: 4px 0 -4px; font: 700 16px var(--am-serif); }
.am-card .am-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; color: #2b2422; }
.am-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.am-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.am-error { margin: 0; padding: 12px 14px; background: #fbeceb; color: #8c1d18; border-radius: 8px; font-size: 14px; }
.am-done { display: flex; flex-direction: column; gap: 10px; }
.am-done[hidden] { display: none; }
.am-done h3 { margin: 0; font: 700 24px var(--am-serif); }
.am-done p { margin: 0; line-height: 1.6; color: #3b302c; }

@media (max-width: 900px) {
  .am-hero__inner { grid-template-columns: 1fr; }
  .am-reviews, .am-steps, .am-split { grid-template-columns: 1fr; }
  .am-top__tag { display: none; }
}
@media (max-width: 520px) {
  .am-top__call span { display: none; }
  .am-top__call { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .am-quote { display: none; }
  .am-two { grid-template-columns: 1fr; }
  .am-chat__log { max-height: 60vh; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
