/* Savonia 2026-11-03 – /cum-comand guide (Savonia_Ghid, body.sv-ghid-page). Loaded only on that page (?v=filemtime).
   Mobile first (most orders come from phones): one column, big text, 48px buttons, phone screenshots stacked;
   from 900px the text sits left and the screenshots right. Colours: the Savonia tokens from savonia-rail.css, like savonia-contact.css. */
.sv-gh { --gh-ink: var(--sv-text, #2f2f2f); --gh-green: var(--sv-green, #a9cf45); --gh-dark: var(--sv-green-dark, #7fa12a); --gh-soft: var(--sv-green-soft, #f3f8e6);
    --gh-line: #e6ead9; --gh-mute: #555; --gh-link: #4f6b10; --gh-ring: #e67e22;
    max-width: 1080px; margin: 0 auto 48px; color: var(--gh-ink); font-size: 17px; line-height: 1.6; }
.sv-gh svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-gh h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--gh-ink); font-size: 22px; font-weight: 700; line-height: 1.3;
    letter-spacing: 0; text-transform: none; }
.sv-gh p { margin: 0 0 12px; font-size: 17px; }
.sv-gh b { font-weight: 700; }
.sv-gh p a, .sv-gh li a {color: var(--gh-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sv-ghid-page .sv-gh__title { margin: 8px 0 4px; padding: 0; border: 0; text-align: left; }
.sv-ghid-page .sv-gh__title h1 { margin: 0; color: var(--gh-ink); font-size: 32px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.sv-gh__lead { margin: 0 0 18px !important; color: var(--gh-mute); font-size: 18px !important; }

/* buttons: 48px, pill, full width on phones */
.sv-gh-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-gh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--gh-line);
    border-radius: 24px; background: #fff; color: var(--gh-ink) !important; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none !important;
    transition: background-color .15s, border-color .15s; }
.sv-gh-btn:hover { border-color: var(--gh-green); background: var(--gh-soft); }
.sv-gh-btn:focus-visible, .sv-gh-toc a:focus-visible, .sv-gh-faq summary:focus-visible { outline: 3px solid var(--gh-link); outline-offset: 2px; }
.sv-gh-btn--primary { border-color: var(--gh-green); background: var(--gh-green); }
.sv-gh-btn--primary:hover { border-color: var(--gh-dark); background: var(--gh-dark); color: #fff !important; }

/* phone order box */
.sv-gh-call { margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--gh-line); border-radius: 16px; background: var(--gh-soft); }
.sv-gh-call__text { display: flex; gap: 10px; }
.sv-gh-call__text svg { margin-top: 4px; color: var(--gh-link); }

/* the 8 steps */
.sv-gh-toc { margin: 0 0 28px; }
.sv-gh-toc h2 { font-size: 20px; }
.sv-gh-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.sv-gh-toc li { margin: 0; }
.sv-gh-toc a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px 6px 8px; border: 1px solid var(--gh-line); border-radius: 14px;
    background: #fff; color: var(--gh-ink) !important; font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none !important; }
.sv-gh-toc a:hover { border-color: var(--gh-green); background: var(--gh-soft); }
.sv-gh-toc__hint { display: flex; gap: 8px; color: var(--gh-mute); font-size: 16px !important; }
.sv-gh-toc__hint svg { margin-top: 4px; }
.sv-gh-ring { padding: 0 6px; border: 2.5px solid var(--gh-ring); border-radius: 10px; color: var(--gh-ink); }

.sv-gh-num { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--gh-link); color: #fff; font-size: 17px; font-weight: 700; line-height: 1; }
.sv-gh-step h2 .sv-gh-num { flex-basis: 40px; width: 40px; height: 40px; font-size: 20px; }

.sv-gh-step { scroll-margin-top: 90px; margin: 0 0 20px; padding: 22px 18px; border: 1px solid var(--gh-line); border-radius: 20px; background: #fff; }
.sv-gh-list { margin: 0 0 12px; padding: 0 0 0 22px; }
.sv-gh-list li { margin: 0 0 8px; padding-left: 2px; font-size: 17px; list-style: disc; }
.sv-gh-list--num li { list-style: decimal; }
.sv-gh-req { color: #b3261e; }

.sv-gh-fields { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0 0 14px; }
.sv-gh-fields dt { margin-top: 8px; font-weight: 700; }
.sv-gh-fields dd { margin: 0; color: var(--gh-mute); }

.sv-gh-tip { display: flex; gap: 10px; margin: 0 0 10px !important; padding: 12px 14px; border-radius: 12px; background: var(--gh-soft); font-size: 16px !important; }
.sv-gh-tip svg { margin-top: 3px; color: var(--gh-link); }
.sv-gh-tip--warn { background: #fff4e5; }
.sv-gh-tip--warn svg { color: #a35a00; }

/* screenshots: phone-sized, framed, stacked on phones */
.sv-gh-shots { display: flex; flex-direction: column; align-items: center; gap: 26px; margin-top: 26px; }
.sv-gh-shot { position: relative; width: 100%; max-width: 320px; margin: 0; }
/* "only a picture" label, so nobody tries to tap the screenshot */
.sv-gh-shot:before { content: "Exemplu"; position: absolute; top: -11px; left: 14px; z-index: 1; padding: 0 10px; border-radius: 10px;
    background: #555; color: #fff; font-size: 13px; font-weight: 600; line-height: 22px; pointer-events: none; }
.sv-gh-shot img { display: block; width: 100%; height: auto; border: 1px solid #dcdfd3; border-radius: 18px; background: #fafbf7;
    box-shadow: 0 8px 24px rgba(47, 47, 47, .1); }
.sv-gh-shot figcaption { margin-top: 8px; color: var(--gh-mute); font-size: 15px; text-align: center; }

/* after the order, questions, help */
.sv-gh-done { margin: 0 0 24px; padding: 22px 20px; border-radius: 20px; background: var(--gh-soft); }
.sv-gh-done h2 svg { width: 28px; height: 28px; flex-basis: 28px; padding: 4px; border-radius: 50%; background: var(--gh-link); color: #fff; stroke-width: 2.6; }

.sv-gh-faq { margin: 0 0 24px; }
.sv-gh-faq details { border-bottom: 1px solid var(--gh-line); }
.sv-gh-faq summary { position: relative; min-height: 52px; padding: 13px 40px 13px 0; font-size: 17px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.sv-gh-faq summary::-webkit-details-marker { display: none; }
.sv-gh-faq summary:after { content: "+"; position: absolute; top: 10px; right: 4px; color: var(--gh-link); font-size: 26px; font-weight: 400; line-height: 1; }
.sv-gh-faq details[open] summary:after { content: "−"; }
.sv-gh-faq details p { padding: 0 0 6px; }

.sv-gh-help { padding: 22px 20px; border: 1.5px solid var(--gh-green); border-radius: 20px; background: #fff; }
.sv-gh-help__more { margin: 14px 0 0 !important; color: var(--gh-mute); font-size: 16px !important; }

@media (max-width: 599px) {
    .sv-gh-actions .sv-gh-btn { flex: 1 1 100%; }
    .sv-gh-step { margin-left: -4px; margin-right: -4px; }
}
@media (max-width: 359px) {
    .sv-gh-toc ol { grid-template-columns: 1fr; }
}
@media (min-width: 600px) {
    .sv-gh-shots { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
    .sv-gh-shot { width: calc(50% - 9px); max-width: 300px; }
    .sv-gh-toc ol { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
    .sv-gh-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 32px; align-items: start; padding: 28px; }
    .sv-gh-step__text { position: sticky; top: 76px; }   /* below the sticky desktop menu bar */
    .sv-gh-shots { margin-top: 0; justify-content: flex-end; }
    .sv-gh-shot { width: calc(50% - 9px); max-width: 270px; }
    .sv-gh-shots .sv-gh-shot:only-child { width: 100%; max-width: 360px; }
    .sv-gh-fields { grid-template-columns: max-content 1fr; gap: 6px 16px; }
    .sv-gh-fields dt { margin-top: 0; }
    .sv-gh-done, .sv-gh-help { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .sv-gh-btn { transition: none; }
}
