/* =================================================================
   Subpages (loaded after site.css)
   ================================================================= */
.nav a[aria-current="page"] { color: var(--g-700); background: var(--leaf-50); box-shadow: inset 0 0 0 1px var(--line); }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .88rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--g-700); text-decoration: underline; text-underline-offset: .2em; }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.section-lead { margin-top: 12px; max-width: 46em; color: var(--ink-2); font-size: 1.05rem; }

/* Page hero: copy left, photo right on a green stage */
.phero { position: relative; isolation: isolate; padding: clamp(80px, 7vw, 100px) 0 clamp(48px, 5vw, 72px); background: linear-gradient(180deg, var(--leaf-50), var(--white)); }
.phero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 64px; left: calc(50% + 60px); right: 0; background-color: var(--g-800); background-image: linear-gradient(160deg, var(--g-600), var(--g-900)); border-bottom-left-radius: 180px; }
.phero--plain::before, .phero--form::before { display: none; }
.phero--plain { padding-bottom: 24px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.phero h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.02; }
.phero .hero__lead { margin-top: 18px; max-width: 38em; }
.phero .hero__lead a { color: var(--g-700); font-weight: 700; }
.phero__fig { position: relative; margin: 0; justify-self: center; width: min(100%, 480px); }
.phero__fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.phero__chips { position: absolute; left: -28px; bottom: 28px; display: grid; gap: 10px; }
.phero__chips li { display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--white); box-shadow: var(--sh-2); font-size: .95rem; color: var(--ink-2); }
.phero__chips li:nth-child(2) { margin-left: 34px; }
.phero__chips .ic { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--leaf-50); color: var(--g-600); }
.phero__chips b { color: var(--ink); font-weight: 900; font-size: 1.1rem; letter-spacing: -0.02em; }
.phero--center { text-align: center; padding-bottom: clamp(72px, 8vw, 120px); }
.hero__actions--center { justify-content: center; }

/* Info: prose + sticky facts card */
.info { padding: clamp(56px, 6vw, 88px) 0; }
.info__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.prose p { margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; line-height: 1.65; }
.prose p.small { font-size: .9rem; color: var(--ink-3); }
.prose a { color: var(--g-700); font-weight: 700; }
.ticks-list { display: grid; gap: 8px; margin-top: 14px; }
.ticks-list li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.5; }
.ticks-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--leaf-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7319' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.timeline { display: grid; margin: 22px 0 6px; border-left: 3px solid var(--leaf-100); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--g-600); box-shadow: 0 0 0 4px var(--white); }
.timeline li:last-child::before { background: var(--yellow); }
.timeline b { display: block; font-size: 1.05rem; font-weight: 800; }
.timeline span { color: var(--ink-2); }
.facts-card { position: sticky; top: 24px; padding: 26px; border-radius: var(--r-lg); background: var(--g-900); color: var(--on-g); box-shadow: var(--sh-2); }
.facts-card__title { font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--white); margin-bottom: 14px; }
.facts-card ul { display: grid; gap: 12px; margin-bottom: 22px; }
.facts-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-g-2); }
.facts-card li .ic { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--yellow); color: var(--ink); stroke-width: 2.6; margin-top: 1px; }

/* Before / after 1981 split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--leaf-50); box-shadow: inset 0 0 0 1px var(--line); }
.split__card h2 { margin-top: 12px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.split__card > p { margin-top: 12px; color: var(--ink-2); }
.split__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .85rem; }
.split__card--dark { background: var(--g-900); color: var(--on-g); box-shadow: none; }
.split__card--dark h2 { color: var(--white); }
.split__card--dark > p, .split__card--dark .ticks-list li { color: var(--on-g-2); }
.split__card--dark .ticks-list li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2ca50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }

/* Price tiles on service pages */
.prices__head p { margin-top: 12px; max-width: 52em; color: var(--ink-2); }
.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.ptile { display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); transition: transform .45s var(--spring), box-shadow .3s; }
.ptile:hover { transform: translateY(-5px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.ptile__ic { width: 64px; height: 46px; margin-bottom: 8px; fill: none; stroke: var(--g-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--spring); }
.ptile:hover .ptile__ic { transform: translateY(-3px) scale(1.05); }
.ptile__name { font-weight: 700; color: var(--ink-2); line-height: 1.3; min-height: 2.6em; }
.ptile strong { font-size: 2.3rem; font-weight: 900; letter-spacing: -0.045em; line-height: 1; color: var(--g-600); font-variant-numeric: tabular-nums; }
.ptile--quote { background: var(--g-900); box-shadow: var(--sh-2); }
.ptile--quote .ptile__ic { stroke: var(--leaf); }
.ptile--quote .ptile__name { color: var(--on-g-2); }
.ptile--quote strong { font-size: 1.45rem; letter-spacing: -0.02em; color: var(--leaf); }

/* Forms */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 16px; margin-top: 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--zip { grid-template-columns: .5fr 1fr; }
.field { display: grid; gap: 6px; }
.field > span, .form__set legend { font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.field i, .form__set legend i { font-style: normal; color: #b4401f; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--leaf-50); box-shadow: inset 0 0 0 1.5px var(--line); font: 500 1rem/1.4 var(--font); color: var(--ink); transition: box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1.5px #c3cfb5; }
.field input:focus, .field textarea:focus { outline: 0; background: var(--white); box-shadow: inset 0 0 0 2px var(--g-600), 0 0 0 4px rgba(63,115,25,.12); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #c4502b; background: #fdf3ef; }
.field--date input { max-width: 260px; }
.form__set { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.form__set legend { margin-bottom: 10px; padding: 0; }
.form__set.is-invalid .spicks { border-radius: 16px; box-shadow: 0 0 0 2px #c4502b; }
.form__error { padding: 12px 14px; border-radius: 12px; background: #fdf0ec; color: #9b3818; font-weight: 600; font-size: .92rem; }
.form__note { font-size: .85rem; color: var(--ink-3); }
.form__note a { color: var(--g-700); font-weight: 700; }
.form .btn { justify-self: start; }

.spicks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spick { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.spick:hover { background: var(--leaf-50); }
.spick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.spick .chk__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px #b9c6aa; background: var(--white); flex: none; transition: background-color .15s, transform .3s var(--spring); }
.spick .chk__box .ic { width: 15px; height: 15px; stroke-width: 2.6; color: var(--white); opacity: 0; transform: scale(.4); transition: opacity .15s, transform .35s var(--spring); }
.spick:has(input:checked) { background: #fffbea; box-shadow: inset 0 0 0 2px #d9a91c; }
.spick:has(input:checked) .chk__box { background: var(--g-600); box-shadow: none; }
.spick:has(input:checked) .chk__box .ic { opacity: 1; transform: none; }
.spick:has(input:focus-visible) { outline: 3px solid #d9a91c; outline-offset: 2px; }
.spick__name { font-weight: 700; }
.spick__price { margin-left: auto; font-weight: 800; color: var(--g-600); font-size: .92rem; white-space: nowrap; }

.tpicks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tpick { position: relative; display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; font-size: .84rem; font-weight: 700; line-height: 1.2; color: var(--ink-2); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.tpick:hover { background: var(--leaf-50); }
.tpick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tpick__ic { width: 46px; height: 33px; fill: none; stroke: var(--g-600); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring); }
.tpick:has(input:checked) { background: #fffbea; box-shadow: inset 0 0 0 2px #d9a91c; color: var(--ink); }
.tpick:has(input:checked) .tpick__ic { transform: scale(1.1); }
.tpick:has(input:focus-visible) { outline: 3px solid #d9a91c; outline-offset: 2px; }

/* Price summary next to the request form */
.summary { position: sticky; top: 24px; margin-top: 110px; padding: 26px; border-radius: var(--r-xl); background: var(--g-900); color: var(--on-g); box-shadow: var(--sh-3); }
.summary__title { font-weight: 900; font-size: 1.25rem; color: var(--white); }
.summary__lines { display: grid; margin-top: 14px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--on-g-2); }
.summary__lines li b { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__lines li.summary__empty { border: 0; font-size: .92rem; }
.summary__combi { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(242,202,80,.14); color: var(--yellow); font-weight: 700; font-size: .9rem; }
.summary__combi[hidden] { display: none; }
.summary__combi b { margin-left: auto; }
.summary__total { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.summary__total span { color: var(--on-g-2); font-weight: 600; }
.summary__total strong { display: inline-block; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.045em; line-height: 1; color: var(--leaf); font-variant-numeric: tabular-nums; }
.summary__total strong.is-quote { font-size: 1.4rem; letter-spacing: -0.02em; }
.summary__eta { margin-top: 8px; min-height: 1.3em; font-size: .88rem; color: var(--on-g-2); }
.summary__facts { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: var(--on-g-2); }
.summary__facts li { display: flex; align-items: center; gap: 8px; }
.summary__facts .ic { color: var(--yellow); }

/* Contact cards */
.contact-cards { display: grid; gap: 10px; margin-top: 110px; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 800; font-size: 1.05rem; transition: transform .45s var(--spring), box-shadow .3s; overflow-wrap: anywhere; }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.ccard small { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.ccard .ic { flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--g-900); color: var(--yellow); }
.ccard:first-child { background: var(--yellow-50); box-shadow: inset 0 0 0 1px #efd98e; }

/* Confirmation + 404 */
.done { max-width: 720px; display: grid; justify-items: center; gap: 4px; }
.done > p { color: var(--ink-2); margin-top: 8px; }
.done__ic { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 28px; background: var(--yellow); color: var(--ink); box-shadow: var(--sh-2); }
.done__ic .ic { width: 40px; height: 40px; stroke-width: 2.6; }
.done__ic--muted { width: auto; padding: 0 22px; font-size: 2rem; font-weight: 900; background: var(--leaf-100); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .done__ic { animation: pop-in .7s var(--spring) .1s both; }
  @keyframes pop-in { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Legal */
.legal { padding: 8px 0 clamp(72px, 8vw, 120px); }
.prose--legal { max-width: 76ch; }
.prose--legal h2 { font-size: 1.35rem; margin-top: 36px; }
.prose--legal ul { display: grid; gap: 6px; margin: 12px 0 0 20px; list-style: disc; color: var(--ink-2); }

/* Steps with three items */
.steps--3 .steps__list { grid-template-columns: repeat(3, 1fr); }
.steps--3 .steps__track { left: 16.66%; right: 16.66%; }

@media (max-width: 1120px) {
  .ptiles { grid-template-columns: repeat(3, 1fr); }
  .tpicks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .phero::before { display: none; }
  .phero__grid, .info__grid, .form-grid, .split { grid-template-columns: 1fr; }
  .phero__fig { width: min(100%, 560px); justify-self: start; }
  .phero__chips { left: 16px; bottom: 16px; }
  .facts-card, .summary { position: static; margin-top: 0; }
  .contact-cards { margin-top: 0; }
  .ptiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .phero { padding-top: 52px; }
  .phero h1 { font-size: 2.2rem; }
  .phero__chips li { padding: 8px 12px 8px 8px; font-size: .85rem; }
  .phero__chips li:nth-child(2) { margin-left: 0; }
  .ptiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ptile { padding: 16px; }
  .ptile strong { font-size: 1.8rem; }
  .ptile--quote strong { font-size: 1.15rem; }
  .form__row, .form__row--zip, .spicks { grid-template-columns: 1fr; }
  .tpicks { grid-template-columns: repeat(2, 1fr); }
  .form .btn { justify-self: stretch; }
  .steps--3 .steps__list { grid-template-columns: 1fr 1fr; }
}

/* Pages without the overlapping close card get a normal footer top */
main:not(:has(.close)) + .footer { padding-top: 64px; }
.values + .services { padding-top: clamp(48px, 5vw, 72px); }
.phero h1 { overflow-wrap: anywhere; hyphens: auto; }
.ptiles:has(> :nth-child(5):last-child) > :last-child { grid-column: span 1; }
.ccard:first-child small { color: #5a4a12; }

/* ---- Tablet (601-960px) ---- */
@media (max-width: 960px) and (min-width: 601px) {
  .phero::before { display: block; left: 60%; bottom: 40px; border-bottom-left-radius: 120px; }
  .phero--plain::before, .phero--form::before { display: none; }
  .phero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; }
  .phero h1 { font-size: clamp(2rem, 4.8vw, 2.6rem); }
  .phero .hero__lead { font-size: 1rem; }
  .phero__fig { width: 100%; justify-self: end; }
  .phero__fig img { aspect-ratio: 4 / 5; }
  .phero__chips { left: -18px; bottom: 16px; }
  .phero__chips li { padding: 8px 12px 8px 8px; font-size: .82rem; }
  .phero__chips li:nth-child(2) { margin-left: 18px; }
  .phero__chips .ic { width: 30px; height: 30px; padding: 6px; }
  .info__grid { display: flex; flex-direction: column-reverse; gap: 32px; }
  .facts-card { width: 100%; }
  .facts-card ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ptiles { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split__card { padding: 22px; }
  .steps--3 .steps__list { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid--wide .summary { order: -1; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards .ccard:first-child { grid-column: 1 / -1; }
  .tpicks { grid-template-columns: repeat(4, 1fr); }
}

/* ---- FAQ ---- */
.faq { padding: clamp(56px, 6vw, 88px) 0; background: var(--leaf-50); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 24px; }
.faq__head p { margin-top: 12px; color: var(--ink-2); }
.faq__head a { color: var(--g-700); font-weight: 800; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r); background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--sh-2), inset 0 0 0 1.5px #c6d3b6; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: inherit; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.faq__item summary:hover h3 { color: var(--g-700); }
.faq__ic { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--leaf-50); color: var(--g-700); transition: transform .45s var(--spring), background-color .2s; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.faq__a { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.6; }
.faq__a p + p { margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: faq-in .45s var(--ease); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
.split__card .ticks-list strong { color: inherit; }
.split__card--dark .ticks-list strong { color: var(--white); }
@media (max-width: 960px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* Form sending states */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-busy { opacity: .75; cursor: progress; }
.form__error a { color: inherit; font-weight: 800; }
.form__error:focus { outline: none; }
/* Sending takes over a second: grey the form out, spinner on top (stays in view on a tall form) */
.form.is-waiting { position: relative; pointer-events: none; }
.form-wait { position: absolute; inset: 0; z-index: 20; display: flex; justify-content: center; align-items: flex-start; padding: 32px 0; border-radius: inherit; background: rgba(255, 255, 255, .62); animation: form-wait-in .25s var(--ease) both; }
.form-wait__spin { position: sticky; top: calc(50vh - 22px); width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--leaf-100); border-top-color: var(--g-600); animation: form-wait-spin .8s linear infinite; }
@keyframes form-wait-in { from { opacity: 0; } }
@keyframes form-wait-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .form-wait__spin { animation-duration: 2s; } }
.form__done { display: grid; justify-items: start; gap: 8px; padding: 8px 0; outline: none; }
.form__done .done__ic { width: 64px; height: 64px; margin-bottom: 6px; border-radius: 20px; }
.form__done h2 { font-size: 1.6rem; }
.form__done p { color: var(--ink-2); }

/* Address field with suggestions */
.field--addr { position: relative; }
.field--addr > label > span { font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.field--addr > label i { font-style: normal; color: #b4401f; }
.field__hint { font-size: .8rem; color: var(--ink-3); }
.ac { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - 22px); margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--white); box-shadow: var(--sh-3), inset 0 0 0 1px var(--line); }
.ac__item { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.ac__item b { font-weight: 700; }
.ac__item span { font-size: .85rem; color: var(--ink-3); }
.ac__item:hover, .ac__item.is-active { background: var(--leaf-50); }

/* ---- Date picker ---- */
.dp-field { position: relative; }
.dp-field > span { font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.dp-field > span i { font-style: normal; color: #b4401f; }
.dp__trigger {
  display: flex; align-items: center; gap: 12px; width: min(100%, 360px); min-height: 50px; padding: 0 14px;
  border: 0; border-radius: 14px; background: var(--leaf-50); box-shadow: inset 0 0 0 1.5px var(--line);
  font: 600 1rem/1.2 var(--font); color: var(--ink); text-align: left; cursor: pointer;
  transition: box-shadow .2s, background-color .2s, transform .12s var(--ease);
}
.dp__trigger:hover { box-shadow: inset 0 0 0 1.5px #c3cfb5; }
.dp__trigger:active { transform: scale(.985); }
.dp__trigger[aria-expanded="true"] { background: var(--white); box-shadow: inset 0 0 0 2px var(--g-600), 0 0 0 4px rgba(63,115,25,.12); }
.dp__trigger > .ic:first-child { width: 22px; height: 22px; color: var(--g-600); }
.dp__value { flex: 1; }
.dp__value.is-empty { color: var(--ink-3); font-weight: 500; }
.dp__chev { width: 16px; height: 16px; color: var(--ink-3); transform: rotate(90deg); transition: transform .35s var(--spring); }
.dp__trigger[aria-expanded="true"] .dp__chev { transform: rotate(-90deg); }
.dp-field.is-invalid .dp__trigger { box-shadow: inset 0 0 0 2px #c4502b; background: #fdf3ef; }

.dp {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: min(340px, calc(100vw - 32px));
  padding: 14px; border-radius: 22px; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 0 1px rgba(20,40,8,.08), 0 2px 6px rgba(0,0,0,.06), 0 30px 60px -20px rgba(0,0,0,.35);
  transform-origin: 24px 0; opacity: 0; transform: translateY(-6px) scale(.96); filter: blur(4px);
  transition: opacity .2s var(--ease), transform .45s var(--spring), filter .2s var(--ease);
}
.dp.is-open { opacity: 1; transform: none; filter: none; }
.dp__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.dp__chip { display: grid; gap: 1px; padding: 8px 6px; border: 0; border-radius: 12px; background: var(--leaf-50); box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: var(--ink); text-align: center; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .12s var(--ease); }
.dp__chip b { font-size: .82rem; font-weight: 800; }
.dp__chip span { font-size: .76rem; color: var(--ink-3); }
.dp__chip:hover { background: var(--leaf-100); }
.dp__chip:active { transform: scale(.96); }
.dp__chip.is-sel { background: var(--yellow); box-shadow: none; }
.dp__chip.is-sel span { color: var(--ink-2); }
.dp__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.dp__month { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; text-transform: capitalize; }
.dp__nav { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; transition: background-color .2s, transform .12s var(--ease), opacity .2s; }
.dp__nav:hover { background: var(--leaf-50); }
.dp__nav:active { transform: scale(.9); }
.dp__nav:disabled { opacity: .25; cursor: default; background: none; }
.dp__nav[data-nav="-1"] .ic { transform: scaleX(-1); }
.dp__grid { width: 100%; border-collapse: separate; border-spacing: 2px; }
.dp__grid th { padding: 4px 0 6px; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.dp__grid td { padding: 0; text-align: center; }
.dp__day {
  width: 100%; aspect-ratio: 1; max-height: 42px; border: 0; border-radius: 12px; background: none;
  font: 600 .92rem/1 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .15s, color .15s, transform .12s var(--ease);
}
.dp__day:hover:not(:disabled) { background: var(--leaf-50); }
.dp__day:active:not(:disabled) { transform: scale(.9); }
.dp__day.is-out { color: #a7b19c; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--g-600); }
.dp__day.is-sel { background: var(--yellow); color: var(--ink); font-weight: 900; }
.dp__day:disabled { color: #cdd4c4; cursor: default; }
.dp__day:focus-visible { outline: 3px solid #d9a91c; outline-offset: 1px; }
.dp__grid.is-flip tbody { animation: dp-flip .3s var(--ease); }
@keyframes dp-flip { from { opacity: .3; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.dp__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.dp__note .ic { flex: none; width: 16px; height: 16px; color: var(--g-600); margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .dp { transform: none; filter: none; } }
@media (prefers-reduced-transparency: reduce) { .dp { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (max-width: 600px) { .dp__trigger { width: 100%; } .dp { width: 100%; } }
