/* Shared styles for the Info pages (help/legal/notice pages). Include with: @section Head { <partial name="_InfoStyles" /> }
   Cinematic theme: dark glass panels, warm white type, gold accents, round icons (no squares). Tokens come from site.css.
   (was inline in Views/Info/_InfoStyles.cshtml; now a cached file) */
/* ---------- document panel ---------- */
.info-doc { container-type: inline-size; padding: clamp(1rem, 4vw, 2.75rem); max-width: none; overflow-wrap: break-word; }
.info-doc > :first-child { margin-top: 0; }
.info-doc p { color: var(--text-2); }
.info-doc .lead { font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); color: var(--text); }
.info-block { margin-top: clamp(1.75rem, 3.5vw, 2.6rem); }
.info-block:first-child { margin-top: 0; }

/* ---------- round gold icon (section headings, cards) ---------- */
.info-h { display: flex; align-items: center; gap: .9rem; margin: 0 0 1rem; }
.info-h h2 { margin: 0; min-width: 0; font-size: clamp(1.15rem, 1rem + .9vw, 1.5rem); }
.ico-orb {
    position: relative; display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%;
    color: var(--gold); font-size: 1.3rem;
    background: radial-gradient(circle at 35% 30%, rgba(255, 226, 122, .26), rgba(245, 197, 24, .07) 62%);
    box-shadow: inset 0 0 0 1px rgba(245, 197, 24, .32), 0 0 1.6rem -.5rem rgba(245, 197, 24, .45);
    transition: transform .55s var(--spring), color .3s, box-shadow .4s;
}
.ico-orb.lg { width: 3.75rem; height: 3.75rem; font-size: 1.7rem; }
.info-h:hover .ico-orb, .ico-card:hover .ico-orb, .ico-orb.solid {
    color: var(--on-gold); background: radial-gradient(circle at 35% 30%, #fff2b8, var(--gold) 55%, var(--gold-3));
    box-shadow: 0 0 0 .35rem rgba(245, 197, 24, .14), 0 0 2rem -.2rem rgba(245, 197, 24, .55);
}
.info-h:hover .ico-orb, .ico-card:hover .ico-orb { transform: scale(1.08); }

/* ---------- bullet list: soft rounded rows with a glowing dot ---------- */
.info-list { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: grid; gap: .6rem; }
.info-list > li {
    --dot: var(--gold);
    position: relative; margin: 0 !important; padding: .8rem 1.1rem; padding-inline-start: 2.6rem; border-radius: var(--r);
    background: rgba(255, 255, 255, .025); border: 1px solid var(--line); color: var(--text-2);
    transition: background-color .3s, border-color .3s, translate .5s var(--spring);
}
.info-list > li::before {
    content: ""; position: absolute; inset-inline-start: 1.1rem; top: calc(.8rem + .875em - .275rem); width: .55rem; height: .55rem; border-radius: 50%;
    background: var(--dot); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--dot) 18%, transparent), 0 0 .8rem var(--dot);
    transition: transform .5s var(--spring);
}
.info-list > li:hover { background: color-mix(in srgb, var(--dot) 6%, transparent); border-color: color-mix(in srgb, var(--dot) 40%, transparent); translate: var(--nudge, 4px) 0; }
[dir="rtl"] .info-list > li:hover { --nudge: -4px; }
.info-list > li:hover::before { transform: scale(1.35); }
.info-list.danger > li { --dot: var(--danger); }
.info-list.warn > li { --dot: var(--warning); }
.info-list.ok > li { --dot: var(--success); }

/* ---------- numbered list with gold number circles (terms) ---------- */
.info-steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 0; display: grid; gap: .7rem; }
.info-steps > li {
    counter-increment: step; position: relative; margin: 0 !important; min-height: 3.6rem; padding: .9rem 1.15rem; padding-inline-start: 4.1rem;
    border-radius: var(--r-lg); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); color: var(--text-2);
    transition: background-color .3s, border-color .3s, translate .5s var(--spring);
}
.info-steps > li::before {
    content: counter(step); position: absolute; inset-inline-start: .8rem; top: .75rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%;
    font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--on-gold);
    background: radial-gradient(circle at 35% 30%, #fff2b8, var(--gold) 55%, var(--gold-3));
    box-shadow: 0 0 0 .3rem rgba(245, 197, 24, .12), 0 0 1.2rem -.2rem rgba(245, 197, 24, .55);
    transition: transform .5s var(--spring);
}
.info-steps > li:hover { background: rgba(245, 197, 24, .05); border-color: rgba(245, 197, 24, .35); translate: 0 -2px; }
.info-steps > li:hover::before { transform: scale(1.1); }

/* ---------- callout + mail strip ---------- */
.callout {
    display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; margin: 1.4em 0; border-radius: var(--r-lg);
    background: radial-gradient(120% 160% at var(--os) 0%, rgba(245, 197, 24, .12), transparent 60%), rgba(255, 255, 255, .025);
    border: 1px solid rgba(245, 197, 24, .24);
}
.callout > i { align-self: flex-start; display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 1.25rem; color: var(--gold); background: rgba(245, 197, 24, .12); }
.callout p { margin: 0 0 .5em; min-width: 0; color: var(--text-2); }
.callout p:last-child { margin: 0; }
.mail-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.2rem; margin-top: 2.4em;
    padding: 1rem 1.2rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2);
}
.mail-strip p { margin: 0; flex: 1 1 16rem; min-width: 0; display: flex; gap: .75rem; align-items: center; color: var(--text-2); }
.mail-strip p > i { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 1.2rem; color: var(--gold); background: rgba(245, 197, 24, .12); }
.mail-strip p > span { min-width: 0; }
.mail-strip a.ltr { overflow-wrap: anywhere; }

/* ---------- figures: logo plate, cinematic photo, intro split ---------- */
.info-figure {
    position: relative; display: grid; place-items: center; margin: 0 0 1.6em; padding: 1.4rem; overflow: hidden; border-radius: var(--r-lg);
    background: radial-gradient(70% 80% at 50% 45%, rgba(245, 197, 24, .14), transparent 70%), linear-gradient(180deg, #1a1714, #100f0d);
    border: 1px solid rgba(245, 197, 24, .2);
}
.info-figure img { position: relative; z-index: 1; max-height: 230px; width: auto; max-width: 100%; }
.info-photo {
    position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-xl); background: #1b1916;
    border: 1px solid rgba(245, 197, 24, .22); box-shadow: 0 2rem 4rem -2rem rgba(0, 0, 0, .9), 0 0 3.5rem -1.5rem rgba(245, 197, 24, .35);
}
.info-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.info-photo:hover img { transform: scale(1.05); }
.info-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8, 8, 8, .82), rgba(8, 8, 8, 0) 55%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .5)); }
.info-photo .seal {
    position: absolute; z-index: 1; bottom: .8rem; inset-inline-start: .8rem; max-width: calc(100% - 1.6rem); display: inline-flex; align-items: center; gap: .5rem;
    padding: .3rem; padding-inline-end: .95rem; border-radius: var(--pill); background: rgba(16, 15, 14, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 197, 24, .45); color: var(--gold); font-weight: 900; font-size: 1.05rem; line-height: 1.2;
}
.info-photo .seal i { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; font-size: 1.1rem; color: var(--on-gold); background: radial-gradient(circle at 35% 30%, #fff2b8, var(--gold) 55%, var(--gold-3)); }
.intro-split { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: clamp(1.25rem, 3vw, 2rem); align-items: center; margin-bottom: 1.6em; }
.intro-split > * { min-width: 0; }
.intro-split .info-figure { margin: 0; }
@container (max-width: 40rem) {
    .intro-split { grid-template-columns: minmax(0, 1fr); }
    .intro-split > figure, .intro-split > .info-figure { order: -1; }
    .intro-split .info-photo { aspect-ratio: 16 / 9; }
}

/* ---------- small icon cards (cookie kinds, contact options, how it works) ---------- */
.ico-cards { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); margin: 1em 0 1.6em; }
.ico-card {
    position: relative; min-width: 0; padding: 1.25rem 1.15rem; border-radius: var(--r-lg);
    background: linear-gradient(180deg, #181614, #11100f); border: 1px solid var(--line);
    transition: translate .55s var(--spring), border-color .35s, box-shadow .45s;
}
.ico-card:hover { translate: 0 -.3rem; border-color: rgba(245, 197, 24, .4); box-shadow: 0 1.2rem 2.6rem -1.2rem rgba(245, 197, 24, .35); }
.ico-card .ico-orb { margin-bottom: .85rem; }
.ico-card h3 { font-size: 1.05rem; margin: 0 0 .35em; }
.ico-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.ico-card .btn { margin-top: 1rem; }
.ico-card .step-no {
    position: absolute; top: .5rem; inset-inline-end: .85rem; font-weight: 900; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums;
    color: transparent; -webkit-text-stroke: 1.2px rgba(245, 197, 24, .6); pointer-events: none;
}

/* ---------- key / value facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: .7rem; margin: 1em 0 1.4em; }
.facts > div { min-width: 0; padding: .85rem 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .3s, translate .5s var(--spring); }
.facts > div:hover { border-color: rgba(245, 197, 24, .4); translate: 0 -3px; }
.facts dt { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.facts dt::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 .6rem var(--gold); }
.facts dd { margin: .2rem 0 0; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6em 0 1.2em; }

/* ---------- side column ---------- */
.info-aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 640px) and (max-width: 1000px) { .info-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.info-nav { padding: .5rem; }
.info-nav .nav-title { padding: .6rem .8rem .35rem; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.info-nav a {
    display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .45rem .85rem; border-radius: var(--pill);
    color: var(--text-2); font-weight: 600; line-height: 1.45; transition: background-color .25s, color .25s, padding .35s var(--ease);
}
.info-nav a i { flex: none; font-size: 1.15rem; color: var(--gold); }
.info-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); padding-inline-start: 1.1rem; }
.info-nav a.active { background: rgba(245, 197, 24, .1); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(245, 197, 24, .3); }
.info-nav a.active::after { content: ""; flex: none; margin-inline-start: auto; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 .7rem var(--gold); }

/* "add your service" call to action: cinematic picture card */
.info-cta {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 21rem; padding: 1.5rem 1.4rem; border-radius: var(--r-lg); background: #0d0c0b; border: 1px solid rgba(245, 197, 24, .24);
    box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, .9), 0 0 3rem -1.5rem rgba(245, 197, 24, .4);
}
.info-cta-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 74% 30%; transition: transform 1.6s var(--ease-out); }
.info-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(to top, rgba(10, 10, 10, .97) 32%, rgba(10, 10, 10, .62) 62%, rgba(10, 10, 10, .12)), radial-gradient(70% 45% at 50% 100%, rgba(245, 197, 24, .2), transparent 70%);
}
.info-cta:hover .info-cta-media { transform: scale(1.05); }
.info-cta h3 { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .45rem; font-size: 1.15rem; color: var(--text); }
.info-cta h3 i { color: var(--gold); line-height: 1.35; }
.info-cta p { margin: 0 0 1.1rem; font-size: .93rem; color: var(--text-2); }

/* ---------- notice pages (prohibited, payment failures, reset password error) ---------- */
.notice { --tone: var(--danger); position: relative; overflow: hidden; max-width: 56rem; margin-inline: auto; padding: clamp(1.25rem, 5vw, 3.25rem); }
.notice[data-tone="warn"] { --tone: var(--warning); }
.notice[data-tone="info"] { --tone: var(--gold); }
.notice::before { content: ""; position: absolute; inset: 0 0 auto; height: 16rem; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, color-mix(in srgb, var(--tone) 13%, transparent), transparent 72%); }
.notice > * { position: relative; }
.notice-top { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.notice-top h2 { margin: 0; min-width: 0; font-size: clamp(1.1rem, 1rem + 1vw, 1.5rem); }
.notice-icon {
    position: relative; flex: none; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; margin: .55rem; border-radius: 50%;
    color: var(--tone); font-size: 1.9rem;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tone) 32%, transparent), color-mix(in srgb, var(--tone) 9%, transparent) 65%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 45%, transparent), 0 0 2.4rem -.4rem color-mix(in srgb, var(--tone) 55%, transparent);
}
.notice-icon::after { content: ""; position: absolute; inset: -.55rem; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--tone) 55%, transparent); }
@media (prefers-reduced-motion: no-preference) {
    .notice-icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--tone); animation: notice-ring 2.4s var(--ease) infinite; }
}
@keyframes notice-ring { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
.notice .mail-strip { margin-top: 1.75rem; }
.notice .info-actions { margin-top: 1.5rem; }
@media (max-width: 520px) { .notice-top { flex-direction: column; align-items: flex-start; gap: .9rem; } }

.info-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.info-actions.centered { justify-content: center; }
@media (max-width: 479.98px) { .info-actions > .btn { flex: 1 1 100%; } }
