/* ==========================================================================
   /cere-oferta/ „Modern Luxury” (SPEC_015.4) - mobile first
   Alb pur + gri-perlat neutru + noir + auriu șampanie (tokeni --stm-* din design-system.css).
   Prefix .stgo. Atenție: cere-oferta.js rescrie className pe cardurile de alegere, deci selectorii
   pornesc de la ID-uri / wrapper-e și citesc starea din clasele puse de JS (border-gold, border-dark).
   ========================================================================== */

.stgo {
    --stgo-serif: var(--stm-font-serif, 'Playfair Display', Georgia, serif);
    background: var(--stm-pearl);
    color: var(--stm-text);
    font-family: var(--stm-font-sans, 'Montserrat', sans-serif);
}
.stgo *, .stgo *::before, .stgo *::after { box-sizing: border-box; }
/* Stilurile de aici bat utilitarele Tailwind, deci reafirmăm ascunderea cerută de JS */
.stgo .hidden { display: none !important; }

.stgo-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Antet */
.stgo-hero {
    padding: 28px 0 30px;
    background:
        radial-gradient(90% 120% at 88% 0%, rgba(196, 154, 108, 0.17), rgba(196, 154, 108, 0) 60%),
        var(--stm-noir);
    text-align: center;
}
.stgo .stgo-kicker {
    margin: 0 0 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--stm-champagne-light);
}
.stgo .stgo-title {
    max-width: 18em;
    margin: 0 auto;
    font-family: var(--stgo-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.18;
    color: #FFFFFF;
    text-wrap: balance;
}

.stgo-body { padding-top: 20px; padding-bottom: 56px; }

/* Aranjare: pe telefon pașii 1-4 la rând, rezumatul complet dedesubt (prețul stă în bara de jos) */
.stgo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "config" "form" "aside";
    gap: 16px;
}
.stgo-config { grid-area: config; display: grid; gap: 16px; min-width: 0; }
.stgo-aside { grid-area: aside; min-width: 0; }
.stgo-formcol { grid-area: form; min-width: 0; }

.stgo-card {
    min-width: 0;
    padding: 20px 16px;
    border: 1px solid var(--stm-line);
    border-radius: var(--stm-radius-m);
    background: var(--stm-white);
}

.stgo .stgo-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-family: var(--stgo-serif);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--stm-ink);
}
.stgo-step-num {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--stm-noir);
    font-family: var(--stm-font-sans, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--stm-champagne-light);
}

/* ---------- Pas cu pas (assets/js/oferta-steps.js) ---------- */
.stgo-formcol #stigmova-offer-form { display: grid; gap: 16px; margin: 0; }
.stgo-stepcard { scroll-margin-top: calc(var(--stm-header-h, 80px) + 12px); }
.stgo-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 16px; }
.stgo .stgo-step-head .stgo-step { flex: 1 1 auto; min-width: 0; margin: 0; outline: none; }
.stgo-step-edit { display: none; }
.stgo .stgo-step-summary { display: none; }
.stgo button.stgo-next { display: none; width: 100%; margin-top: 16px; }
.stgo .stgo-step-error { margin: 12px 0 0; font-size: 12.5px; font-weight: 600; color: #B91C1C; }
.stgo.is-stepped button.stgo-next { display: inline-flex; }

/* Pas închis, deja completat: rezumat pe un rând și „Modifică” */
.stgo.is-stepped .stgo-stepcard[data-state="done"] { padding-top: 14px; padding-bottom: 14px; }
.stgo.is-stepped .stgo-stepcard[data-state="done"] .stgo-step-head { margin: 0; cursor: pointer; }
.stgo.is-stepped .stgo-stepcard[data-state="done"] .stgo-step { font-size: 16px; }
.stgo.is-stepped .stgo-stepcard[data-state="done"] .stgo-step-num { background: var(--stm-champagne); color: var(--stm-noir); }
.stgo.is-stepped .stgo-stepcard[data-state="done"] .stgo-step-summary:not(:empty) {
    display: block;
    order: 3;
    width: 100%;
    margin: 0;
    padding-left: 44px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--stm-muted);
}
.stgo.is-stepped .stgo-stepcard[data-state="done"] .stgo-step-edit {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    font: 700 12px/1.2 var(--stm-font-sans, 'Montserrat', sans-serif);
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--stm-champagne-ink);
    cursor: pointer;
}

/* Pas care urmează: doar titlul, estompat */
.stgo.is-stepped .stgo-stepcard[data-state="locked"] { padding-top: 14px; padding-bottom: 14px; background: transparent; border-style: dashed; }
.stgo.is-stepped .stgo-stepcard[data-state="locked"] .stgo-step-head { margin: 0; }
.stgo.is-stepped .stgo-stepcard[data-state="locked"] .stgo-step { font-size: 16px; color: var(--stm-muted); }
.stgo.is-stepped .stgo-stepcard[data-state="locked"] .stgo-step-num { background: var(--stm-pearl-deep); color: var(--stm-muted); }
.stgo.is-stepped .stgo-stepcard[data-state="done"] .stgo-step-body,
.stgo.is-stepped .stgo-stepcard[data-state="locked"] .stgo-step-body { display: none; }
.stgo.is-stepped .stgo-stepcard[data-state="active"] { border-color: var(--stm-champagne); box-shadow: var(--stm-shadow); }

/* Înainte de prima alegere: niciun serviciu marcat, rezumatul e înlocuit de o îndrumare */
.stgo .stgo-aside-empty { display: none; }
.stgo.is-nochoice #service-selector-wrapper > label.border-gold:not(#label-svc-combo) { border-color: var(--stm-line); box-shadow: none; }
.stgo.is-nochoice #service-selector-wrapper > label.border-gold > [id^="icon-svc-"] { border-color: var(--stm-line-strong); background: var(--stm-white); color: transparent; }
.stgo.is-nochoice .stgo-aside .stgo-sum { display: none; }

/* ---------- Bara cu prețul pe telefon ---------- */
.stgo-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--stm-noir);
    color: var(--stm-on-noir);
    box-shadow: 0 -10px 26px -16px rgba(14, 19, 29, 0.6);
}
.stgo-bar[hidden] { display: none; }
.stgo-bar-info { min-width: 0; }
.stgo-bar-name { display: block; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; color: var(--stm-on-noir-muted); }
.stgo-bar-price { display: block; font-size: 19px; line-height: 1.25; color: var(--stm-champagne-light); }
.stgo button.stgo-bar-more {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(223, 191, 153, 0.55);
    border-radius: var(--stm-radius-s);
    background: transparent;
    font: 700 11.5px/1.2 var(--stm-font-sans, 'Montserrat', sans-serif);
    color: #FFFFFF;
    cursor: pointer;
}
/* Butonul WhatsApp urcă deasupra barei */
@media (max-width: 1023px) { body.stgo-has-bar #stigmova-whatsapp-widget { bottom: 82px !important; } }

/* ---------- Pasul 1: carduri de serviciu ---------- */
.stgo-services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.stgo #service-selector-wrapper > label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 68px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--stm-line);
    border-radius: var(--stm-radius-s);
    background: var(--stm-white);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stgo #service-selector-wrapper > label:hover { border-color: var(--stm-line-strong); }
.stgo #service-selector-wrapper > label.border-gold {
    border-color: var(--stm-noir);
    box-shadow: 0 0 0 1px var(--stm-noir), var(--stm-shadow);
}
.stgo-svc-media { display: flex; flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; border-radius: 10px; background: var(--stm-pearl-deep); gap: 1px; }
.stgo-svc-media img { display: block; flex: 1 1 0; width: 0; min-width: 0; height: 100%; object-fit: cover; }
.stgo-svc-text { display: block; flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.stgo-svc-prefix { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stm-muted); }
.stgo-svc-name { display: block; font-size: 15px; font-weight: 700; color: var(--stm-ink); }
.stgo-svc-desc { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--stm-muted); }

/* Combo: scos în față discret (rând întreg, contur auriu, eticheta reducerii) */
.stgo #service-selector-wrapper > label#label-svc-combo { grid-column: 1 / -1; border-color: var(--stm-champagne); background: linear-gradient(100deg, rgba(196, 154, 108, 0.14), rgba(196, 154, 108, 0.02) 70%), var(--stm-white); }
.stgo #service-selector-wrapper > label#label-svc-combo.border-gold { border-color: var(--stm-noir); }
.stgo.is-nochoice #service-selector-wrapper > label#label-svc-combo { border-color: var(--stm-champagne); box-shadow: none; }
.stgo-combo-flag {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--stm-noir);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--stm-champagne-light);
}

/* Bifa rotundă a cardurilor (serviciu + cale) */
.stgo #service-selector-wrapper > label > [id^="icon-svc-"],
.stgo .stgo-paths > label > [id^="icon-path-"] {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--stm-line-strong);
    border-radius: 50%;
    background: var(--stm-white);
    color: transparent;
    font-size: 10px;
    box-shadow: none;
}
.stgo #service-selector-wrapper > label.border-gold > [id^="icon-svc-"],
.stgo .stgo-paths > label.border-gold > [id^="icon-path-"] {
    border-color: var(--stm-noir);
    background: var(--stm-noir);
    color: var(--stm-champagne-light);
}
.stgo label:focus-within { outline: 2px solid var(--stm-champagne); outline-offset: 2px; }

/* ---------- Câmpuri ---------- */
.stgo-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.stgo-full { grid-column: 1 / -1; }
.stgo-field { min-width: 0; }
.stgo .stgo-field > label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--stm-ink);
}
.stgo .stgo-field input,
.stgo .stgo-field textarea,
.stgo .stgo-field select {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--stm-line-strong);
    border-radius: var(--stm-radius-s);
    background: var(--stm-white);
    color: var(--stm-ink);
    font-family: inherit;
    font-size: 16px; /* sub 16px iOS mărește pagina la focus */
    font-weight: 500;
    line-height: 1.4;
}
.stgo .stgo-field textarea { min-height: 96px; resize: vertical; }
.stgo .stgo-field input:focus,
.stgo .stgo-field textarea:focus,
.stgo .stgo-field select:focus {
    border-color: var(--stm-noir);
    outline: 2px solid var(--stm-champagne);
    outline-offset: 1px;
}
.stgo .stgo-field input::placeholder { color: #8B93A1; font-weight: 400; }

.stgo-select { position: relative; }
.stgo .stgo-select select { padding-right: 40px; -webkit-appearance: none; appearance: none; font-weight: 600; cursor: pointer; }
.stgo-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 17px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--stm-muted);
    border-bottom: 2px solid var(--stm-muted);
    transform: rotate(45deg);
    pointer-events: none;
}

/* Erorile puse de validarea din JS (border-red-500 pe .validate-field) */
.stgo .stgo-field.border-red-500,
.stgo .stgo-gdpr.border-red-500 { border-radius: var(--stm-radius-s); background: transparent; }
.stgo .stgo-field.border-red-500 input,
.stgo .stgo-field.border-red-500 select,
.stgo .stgo-field.border-red-500 textarea { border-color: #DC2626; background: #FEF2F2; }
.stgo .custom-error-text { margin: 6px 0 0; color: #B91C1C; }

/* ---------- Pachete Welcome / Memories ---------- */
.stgo-pkg { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--stm-line); }
.stgo .stgo-pkg-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--stm-ink);
}
.stgo-pkg-title span { font-weight: 600; color: var(--stm-champagne-ink); }
.stgo-pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stgo .stgo-pkg-grid > button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
    min-height: 72px;
    padding: 12px 6px;
    border: 1px solid var(--stm-line-strong);
    border-radius: var(--stm-radius-s);
    background: var(--stm-white);
    color: var(--stm-ink);
    font: 700 11.5px/1.3 var(--stm-font-sans, 'Montserrat', sans-serif);
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.stgo .stgo-pkg-grid > button span { font-size: 10px; font-weight: 500; line-height: 1.35; color: var(--stm-muted); }
.stgo .stgo-pkg-grid > button.border-gold { border-color: var(--stm-noir); background: var(--stm-noir); color: #FFFFFF !important; }
.stgo .stgo-pkg-grid > button.border-gold span { color: var(--stm-champagne-light); }

.stgo .stgo-addon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--stm-line);
    border-radius: var(--stm-radius-s);
    background: var(--stm-pearl);
    cursor: pointer;
}
.stgo .stgo-addon input,
.stgo .stgo-gdpr input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--stm-noir); cursor: pointer; }
.stgo-addon-body { display: block; flex: 1 1 auto; min-width: 0; }
.stgo-addon-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: 13px; color: var(--stm-ink); }
.stgo-addon-head em { font-style: normal; font-weight: 700; color: var(--stm-champagne-ink); }
.stgo-addon-note { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.45; color: var(--stm-muted); }

/* ---------- Pasul 3: calea ---------- */
.stgo-paths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 16px; }
.stgo .stgo-paths > label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 16px 14px;
    border: 1px solid var(--stm-line);
    border-radius: var(--stm-radius-s);
    background: var(--stm-white);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stgo .stgo-paths > label.border-gold { border-color: var(--stm-noir); box-shadow: 0 0 0 1px var(--stm-noir); }
.stgo-path-text { display: block; flex: 1 1 auto; min-width: 0; }
.stgo-path-text strong { display: block; font-size: 13.5px; line-height: 1.35; color: var(--stm-ink); }
.stgo-path-text span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--stm-muted); }

.stgo-info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid var(--stm-line);
    border-left: 3px solid var(--stm-champagne);
    border-radius: var(--stm-radius-s);
    background: var(--stm-pearl);
    font-size: 12px;
    line-height: 1.6;
}
.stgo-info i { flex: 0 0 auto; margin-top: 3px; color: var(--stm-champagne-ink); }
.stgo-info strong { display: block; margin-bottom: 4px; color: var(--stm-ink); }

.stgo-client {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 16px;
    padding: 4px;
    border-radius: var(--stm-radius-s);
    background: var(--stm-pearl-deep);
}
.stgo .stgo-client > label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--stm-text);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}
.stgo .stgo-client > label.border-dark { background: var(--stm-noir); color: #FFFFFF; }


/* ---------- GDPR & trimitere ---------- */
.stgo-gdpr { margin-top: 18px; padding: 14px; border: 1px solid var(--stm-line); border-radius: var(--stm-radius-s); background: var(--stm-pearl); }
.stgo .stgo-gdpr.border-red-500 { border-color: #DC2626; background: #FEF2F2; }
.stgo .stgo-gdpr > label { display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer; }
.stgo-gdpr label span { font-size: 12px; line-height: 1.6; color: var(--stm-text); }
.stgo-gdpr a { font-weight: 700; color: var(--stm-champagne-ink); text-decoration: underline; }
.stgo button.stgo-submit { width: 100%; min-height: 56px; margin-top: 16px; font-size: 12px; }
.stgo button.stgo-submit:disabled { opacity: 0.7; cursor: wait; }

/* Confirmarea (HTML injectat de JS): fără fundaluri gălbui */
.stgo #stigmova-success-container .bg-amber-50\/80 { border-color: var(--stm-line); background: var(--stm-pearl); color: var(--stm-ink); }
.stgo #stigmova-success-container > div { padding: 28px 16px; box-shadow: none; }

/* ---------- Rezumat ---------- */
.stgo-sum { overflow: hidden; border: 1px solid var(--stm-line); border-radius: var(--stm-radius-m); background: var(--stm-white); }
.stgo-sum-top { padding: 22px 18px; background: var(--stm-noir); color: var(--stm-on-noir); }
.stgo .stgo-sum-kicker,
.stgo .stgo-sum-label {
    margin: 0 0 12px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stm-champagne-light);
}
.stgo #summ-info-box p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.5; color: var(--stm-on-noir-muted); }
.stgo #summ-info-box span { font-weight: 700; color: #FFFFFF; }
.stgo .stgo-sum-label { margin: 18px 0 6px; padding-top: 16px; border-top: 1px solid var(--stm-noir-line); color: var(--stm-on-noir-muted); }
.stgo #summ-price { font-family: var(--stgo-serif); font-size: 28px; color: var(--stm-champagne-light); }
/* HTML-ul de preț vine din JS cu utilitare Tailwind */
.stgo #summ-price .text-gold { color: var(--stm-champagne-light) !important; font-size: 38px; }
.stgo #summ-price .text-dark { color: #FFFFFF; }
.stgo #summ-price .text-gray-400 { color: var(--stm-on-noir-muted); }
.stgo #summ-price .bg-red-600 { background: var(--stm-champagne); color: var(--stm-noir); }

.stgo-sum-facts { display: grid; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--stm-line); }
.stgo-sum-facts > div { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; font-weight: 700; color: var(--stm-ink); }
.stgo-sum-ico {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--stm-pearl);
    font-size: 13px;
    color: var(--stm-champagne-ink);
}

.stgo-combo { padding: 14px 18px; border-bottom: 1px solid var(--stm-line); font-size: 12.5px; }
.stgo-combo > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.stgo-combo > div > span:last-child { font-weight: 700; white-space: nowrap; color: var(--stm-ink); }
.stgo-combo i { width: 18px; color: var(--stm-champagne-ink); }
.stgo-combo #combo-total-standard-row,
.stgo-combo #combo-total-standard-row > span:last-child { color: #8B93A1; text-decoration: line-through; }
.stgo-combo #combo-discount-row,
.stgo-combo #combo-discount-row > span:last-child { font-weight: 700; color: var(--stm-champagne-ink); }
.stgo-combo #combo-final-row { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--stm-line-strong); font-size: 13.5px; font-weight: 800; color: var(--stm-ink); }

.stgo-includes { padding: 0 18px; border-bottom: 1px solid var(--stm-line); }
.stgo-includes > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stm-ink);
    list-style: none;
    cursor: pointer;
}
.stgo-includes > summary::-webkit-details-marker { display: none; }
.stgo-includes > summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--stm-champagne-ink); }
.stgo-includes[open] > summary::after { content: "−"; }
.stgo #summ-details { padding-bottom: 16px; font-size: 13px; line-height: 1.55; color: var(--stm-text); overflow-wrap: anywhere; }
.stgo #summ-details:empty::before { content: "Alege evenimentul și numărul de invitați."; color: var(--stm-muted); }
.stgo #summ-details .text-gold { color: var(--stm-champagne) !important; }
/* Rândurile puse de JS au deja iconiță: fără a doua bifă din .wysiwyg-output */
.stgo #summ-details li:has(> i) { padding-left: 0 !important; }
.stgo #summ-details li:has(> i)::before { display: none !important; }

.stgo-guarantee { display: flex; gap: 12px; padding: 16px 18px; background: var(--stm-pearl); font-size: 12px; line-height: 1.55; }
.stgo-guarantee > i { margin-top: 3px; font-size: 18px; color: var(--stm-champagne-ink); }
.stgo-guarantee strong { display: block; margin-bottom: 2px; font-size: 13px; color: var(--stm-ink); }
.stgo-guarantee > div { min-width: 0; }
.stgo-guarantee p { margin: 0 0 6px; }

@media (min-width: 640px) {
    .stgo-wrap { padding: 0 24px; }
    .stgo-card { padding: 28px 24px; }
    .stgo .stgo-step { font-size: 22px; }
    .stgo-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stgo-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stgo-sum-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .stgo-hero { padding: 52px 0 56px; }
    .stgo .stgo-title { font-size: 46px; }
    .stgo-wrap { padding: 0 32px; }
    .stgo-body { padding-top: 32px; padding-bottom: 88px; }
    .stgo-grid {
        grid-template-columns: minmax(0, 1fr) 390px;
        grid-template-rows: auto 1fr;
        grid-template-areas: "config aside" "form aside";
        gap: 24px;
        align-items: start;
    }
    .stgo-config { gap: 24px; }
    .stgo-formcol #stigmova-offer-form { gap: 24px; }
    .stgo-card { padding: 32px; }
    .stgo-bar { display: none; }
    .stgo.is-nochoice .stgo-aside-empty {
        display: block;
        margin: 0;
        padding: 28px 24px;
        border: 1px dashed var(--stm-line-strong);
        border-radius: var(--stm-radius-m);
        font-size: 13.5px;
        text-align: center;
        color: var(--stm-muted);
    }
    .stgo-aside {
        position: sticky;
        top: calc(var(--stm-header-h, 80px) + 20px);
        max-height: calc(100vh - var(--stm-header-h, 80px) - 40px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
    .stgo-sum { overflow: visible; }
    .stgo-sum-top { padding: 26px 24px; border-radius: 15px 15px 0 0; }
    .stgo-sum-facts, .stgo-combo, .stgo-guarantee { padding-left: 24px; padding-right: 24px; }
    .stgo-includes { padding: 0 24px; }
    .stgo-guarantee { border-radius: 0 0 15px 15px; }
}

/* După trimiterea contractului instant rămâne doar confirmarea */
.stgo-grid:has(#stigmova-success-container:not(.hidden)) { grid-template-areas: "form"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
.stgo-grid:has(#stigmova-success-container:not(.hidden)) > .stgo-config,
.stgo-grid:has(#stigmova-success-container:not(.hidden)) > .stgo-aside { display: none; }
