/* Advertising offers - pages/info/info.ad_offers.php
   Scoped under .ado-wrap (with .bmm-page-wrap for the design variables). The
   dialog sits outside the wrap, so it repeats the few variables it needs. */

.ado-wrap { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(28px, 4vw, 48px); }
.ado-wrap .ado-grid { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); }
.ado-wrap, .ado-dialog { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

/* ---------- hero ---------- */
.ado-wrap .ado-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.ado-wrap .ado-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmm-accent) 12%, transparent); }
.ado-wrap .ado-h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; margin: 12px 0 10px; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.02em; line-height: 1.06; color: var(--ink); }
.ado-wrap .ado-h1 em, .ado-h2 em { font-style: italic; color: var(--bmm-accent); }
.ado-wrap .ado-sub { margin: 0; max-width: 64ch; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.ado-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ado-h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.01em; line-height: 1.2; margin: 0 0 16px; color: #14121a; }

/* ---------- buttons ---------- */
.ado-btn {
    display: inline-block; padding: 11px 20px; border: 1px solid var(--bmm-accent); border-radius: 2px;
    background: var(--bmm-accent); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.2;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ado-btn:hover { background: var(--bmm-accent-deep); border-color: var(--bmm-accent-deep); color: #fff; }
.ado-btn.is-ghost { background: transparent; color: #14121a; border-color: #e7e4ef; }
.ado-btn.is-ghost:hover { border-color: var(--bmm-accent); color: var(--bmm-accent); background: transparent; }
.ado-btn:focus-visible, .ado-x:focus-visible { outline: 2px solid var(--bmm-accent); outline-offset: 2px; }

/* ---------- offers ---------- */
.ado-wrap .ado-offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ado-wrap .ado-offer { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: clamp(20px, 3vw, 32px); }
.ado-wrap .crn { position: absolute; width: 11px; height: 11px; border: 1px solid var(--accent); opacity: .6; pointer-events: none; }
.ado-wrap .crn.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.ado-wrap .crn.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.ado-wrap .crn.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.ado-wrap .crn.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.ado-wrap .ado-offer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.ado-wrap .ado-offer-title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 24px; margin: 0; color: var(--ink); }
.ado-wrap .ado-offer-sum { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 54ch; }
.ado-wrap .ado-price { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(40px, 6vw, 60px); line-height: 1; color: var(--accent); letter-spacing: -.02em; white-space: nowrap; text-align: right; }
.ado-wrap .ado-price em { display: block; margin-top: 6px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-style: normal; font-size: 13px; letter-spacing: 0; color: var(--ink-soft); }
.ado-wrap .ado-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 28px; }
@media (min-width: 760px) { .ado-wrap .ado-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ado-wrap .ado-points li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.ado-wrap .ado-points li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border: 1px solid var(--accent); transform: rotate(45deg); }
.ado-wrap .ado-offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.ado-wrap .ado-valid { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- steps ---------- */
.ado-wrap .ado-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; counter-reset: ado; }
@media (min-width: 760px) { .ado-wrap .ado-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ado-wrap .ado-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ado-wrap .ado-steps li { counter-increment: ado; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.ado-wrap .ado-steps li::before { content: counter(ado, decimal-leading-zero); font-family: 'Fraunces', Georgia, serif; font-size: 14px; color: var(--accent); }
.ado-wrap .ado-steps b { font-size: 15px; color: var(--ink); }
.ado-wrap .ado-steps span { font-size: 13px; line-height: 1.6; color: var(--ink-soft); overflow-wrap: anywhere; }
.ado-wrap .ado-steps a { color: var(--accent); }

/* ---------- contact ---------- */
.ado-wrap .ado-contact {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
    padding: clamp(18px, 3vw, 26px); border-radius: 2px; background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--bmm-accent) 25%, transparent);
}
.ado-wrap .ado-contact b { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.ado-wrap .ado-contact span { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.ado-wrap .ado-contact-act { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- sizes dialog ---------- */
.ado-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid #e7e4ef; border-radius: 2px; background: #fff; color: #14121a; }
.ado-dialog::backdrop { background: rgba(20, 18, 26, .45); }
.ado-dialog .ado-dialog-in { padding: clamp(18px, 3vw, 26px); }
.ado-dialog .ado-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ado-dialog .ado-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #8a8797; padding: 2px 6px; }
.ado-dialog .ado-x:hover { color: var(--bmm-accent); }
.ado-dialog .ado-tablewrap { overflow-x: auto; }
.ado-dialog .ado-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ado-dialog .ado-table th { text-align: left; padding: 0 12px 8px 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8a8797; font-weight: 500; border-bottom: 1px solid #e7e4ef; }
.ado-dialog .ado-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid #f1eff5; color: #4a4757; vertical-align: top; }
.ado-dialog .ado-table td.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #14121a; white-space: nowrap; }
.ado-dialog .ado-dialog-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: #4a4757; }

@media (max-width: 560px) {
    .ado-wrap .ado-price { text-align: left; }
    .ado-wrap .ado-contact-act, .ado-wrap .ado-contact-act .ado-btn { width: 100%; text-align: center; }
    .ado-wrap .ado-offer-foot .ado-btn { width: 100%; text-align: center; }
}
