/* ==========================================================================
   Paginile de conținut (SPEC_019): Despre noi, Recrutare, Servicii, Întrebări,
   Informații, articole, pagini legale și 404. Mobile first, prefix .stgx.
   Peste home-editorial.css (.stge: spațiere, titluri, grila cu pătrățele din .stge-hero).
   ========================================================================== */

.stgx { overflow-x: clip; --stgx-serif: var(--stm-font-serif, 'Playfair Display', Georgia, serif); }
.stgx .stgx-center { margin-right: auto; margin-left: auto; text-align: center; }
.stgx section { scroll-margin-top: 90px; }

/* ---------- Prim ecran ---------- */
.stgx .stge.stgx-hero { padding: 28px 0 32px; }
.stgx-head { max-width: 920px; margin: 0 auto; text-align: center; }
.stgx-head .stge-kicker { justify-content: center; }
.stgx-head .stge-kicker a { color: inherit; text-decoration: none; }
.stgx .stgx-h1 { margin: 0 0 14px; font-family: var(--stgx-serif); font-size: 32px; font-weight: 600; line-height: 1.16; color: var(--stm-ink); text-align: center; text-wrap: balance; }
.stgx .stgx-h1--long { font-size: 28px; }
.stgx-h1 em, .stgx-h1 .text-gold { font-style: italic; font-family: var(--stgx-serif); color: var(--stm-champagne-deep) !important; }
.stgx-lead { max-width: 44em; margin: 0 auto; font-size: 15px; line-height: 1.65; }
.stgx-lead p { margin: 0 0 10px; }
.stgx .stgx-lead, .stgx .stgx-lead * { text-align: center !important; }
.stgx-meta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stm-muted); }
.stgx-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 420px; margin: 18px auto 0; }
.stgx .stgx-actions .stm-btn { justify-content: center; min-height: 52px; }
.stgx .stgx-sublink { margin: 14px 0 0; font-size: 13.5px; text-align: center; }
.stgx .stgx-sublink a { font-weight: 700; color: var(--stm-champagne-ink); text-decoration: underline; text-underline-offset: 4px; }

.stgx-hero-img { max-width: 1000px; margin: 22px auto 0; }
.stgx-hero-img img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: cover; border: 6px solid var(--stm-white); border-radius: 18px; box-shadow: var(--stm-shadow); }
.stgx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 920px; margin: 22px auto 0; }
.stgx-trio img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--stm-white); border-radius: 12px; box-shadow: var(--stm-shadow); }

.stgx-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 940px; margin: 22px auto 0; }
.stgx .stgx-chips a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--stm-line); border-radius: 12px; background: var(--stm-white); font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; color: var(--stm-ink); }
.stgx .stgx-chips a:hover { border-color: var(--stm-noir); }
.stgx-chips i { color: var(--stm-champagne-ink); }
.stgx-chips a:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Benzi închise ---------- */
.stgx .stge.stgx-dark { background: radial-gradient(90% 120% at 50% 0%, rgba(196, 154, 108, 0.16), rgba(196, 154, 108, 0) 62%), var(--stm-noir); color: var(--stm-on-noir); }
.stgx .stgx-dark .stge-h2, .stgx .stgx-dark h3 { color: #FFFFFF; }
.stgx .stgx-dark .stge-kicker { color: var(--stm-champagne-light); }

/* ---------- Carduri ---------- */
.stgx-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.stgx .stgx-cards:first-child { margin-top: 0; }
.stgx .stgx-card { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 22px 18px; border: 1px solid var(--stm-line); border-radius: 18px; background: var(--stm-white); text-align: center; }
.stgx .stgx-dark .stgx-card { border-color: var(--stm-noir-line); background: var(--stm-noir-soft); }
.stgx-card > i { margin-bottom: 10px; font-size: 22px; color: var(--stm-champagne-ink); }
.stgx .stgx-dark .stgx-card > i { color: var(--stm-champagne-light); }
.stgx .stgx-card h2, .stgx .stgx-card h3 { margin: 0 0 6px; font-family: var(--stgx-serif); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--stm-ink); text-align: center; }
.stgx .stgx-dark .stgx-card h3 { color: #FFFFFF; }
.stgx-card-text { font-size: 13.5px; line-height: 1.6; }
.stgx-card-text p { margin: 0 0 8px; }
.stgx .stgx-card-text, .stgx .stgx-card-text * { text-align: center !important; }

.stgx-card-media { position: relative; display: block; align-self: stretch; margin: -22px -18px 16px; overflow: hidden; border-radius: 17px 17px 0 0; }
.stgx-card-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
/* Primul card (Hostess) e o fotografie portret: încadrare sus, ca să rămână fața */
.stgx-cards--media .stgx-card:first-child .stgx-card-media img { object-position: center 6%; }
.stgx-card-media span { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 6px; background: var(--stm-noir); font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--stm-champagne-light); }
.stgx .stgx-price { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--stm-champagne-ink); }
.stgx-cards--media .stm-btn { align-self: stretch; justify-content: center; margin-top: auto; }

.stgx-checks { align-self: stretch; margin: 12px 0 16px; }
.stgx-checks li { position: relative; padding: 4px 0 4px 22px; font-size: 13px; line-height: 1.5; text-align: left; }
.stgx-checks li::before { content: ""; position: absolute; top: 9px; left: 2px; width: 10px; height: 5px; border-left: 1.5px solid var(--stm-champagne); border-bottom: 1.5px solid var(--stm-champagne); transform: rotate(-45deg); }

.stgx .stgx-combo { margin-top: 16px; padding: 24px 18px; border-radius: 20px; background: var(--stm-noir); color: var(--stm-on-noir); text-align: center; }
.stgx-combo .stge-kicker { justify-content: center; }
.stgx .stgx-combo .stge-kicker { color: var(--stm-champagne-light); }
.stgx .stgx-combo h3 { margin: 0 0 8px; font-family: var(--stgx-serif); font-size: 22px; color: #FFFFFF; }
.stgx-combo .stm-btn { margin-top: 12px; }

/* ---------- Text + imagine (banda Planner) ---------- */
.stgx-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.stgx-split-text { min-width: 0; text-align: center; }
.stgx-split-text .stge-kicker { justify-content: center; }
.stgx-split-media img { display: block; width: 100%; height: auto; border: 5px solid rgba(255, 255, 255, 0.9); border-radius: 14px; }
.stgx-split .stgx-checks { max-width: 360px; margin-right: auto; margin-left: auto; }
.stgx .stgx-text, .stgx .stgx-text * { text-align: center !important; }
.stgx .stgx-ghost { min-height: 52px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: transparent; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; cursor: pointer; }
.stgx .stgx-ghost:hover { border-color: var(--stm-champagne-light); color: var(--stm-champagne-light); }
.stgx .stgx-cta { text-align: center; }
.stgx-cta .stge-kicker { justify-content: center; }
.stgx .stgx-cta .stge-h2 { max-width: 24em; margin-right: auto; margin-left: auto; text-align: center; }

/* ---------- Text lung (poveste, răspunsuri) ---------- */
.stgx-prose { max-width: 720px; margin: 0 auto; font-size: 15px; line-height: 1.75; color: var(--stm-text); }
.stgx-prose p { margin: 0 0 14px; }
.stgx .stgx-prose, .stgx .stgx-prose p, .stgx .stgx-prose p * , .stgx .stgx-prose li { text-align: left !important; }
.stgx-prose a { font-weight: 700; color: var(--stm-champagne-ink); text-decoration: underline; }
.stgx-prose ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.stgx-prose ol { margin: 0 0 14px; padding-left: 20px; list-style: decimal; }
.stgx-prose--story > p:first-child { font-size: 17px; color: var(--stm-ink); }
.stgx-quote blockquote { max-width: 760px; margin: 0 auto; font-family: var(--stgx-serif); font-size: 22px; font-style: italic; line-height: 1.45; text-align: center; color: #FFFFFF; }
.stgx-quote blockquote::after { content: ""; display: block; width: 48px; height: 2px; margin: 20px auto 0; background: var(--stm-champagne); }

/* ---------- Întrebări frecvente ---------- */
.stgx-faq-head { max-width: 820px; margin: 0 auto 14px; text-align: center; }
.stgx .stgx-faq-head .stge-h2 { text-align: center; }
.stgx .stgx-faq-head p { margin: 0; font-size: 13.5px; text-align: center; color: var(--stm-muted); }
.stgx-faq-list { max-width: 820px; margin: 0 auto; }
.stgx .stgx-faq-list details { margin-bottom: 8px; padding: 0 16px; border: 1px solid var(--stm-line); border-radius: 14px; background: var(--stm-white); }
.stgx-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 56px; padding: 12px 0; font-size: 14.5px; font-weight: 700; line-height: 1.4; text-align: left; color: var(--stm-ink); list-style: none; cursor: pointer; }
.stgx-faq-list summary::-webkit-details-marker { display: none; }
.stgx-faq-list summary::after { content: "+"; flex: 0 0 auto; font-size: 20px; font-weight: 400; color: var(--stm-champagne); }
.stgx-faq-list details[open] summary::after { content: "−"; }
.stgx-faq-list .stgx-prose { padding-bottom: 14px; font-size: 14px; }
.stgx .stgx-dark .stgx-faq-head p { color: var(--stm-on-noir-muted); }
.stgx .stgx-dark .stgx-faq-list details { border-color: var(--stm-noir-line); background: var(--stm-noir-soft); }
.stgx .stgx-dark .stgx-faq-list summary { color: #FFFFFF; }
.stgx .stgx-dark .stgx-faq-list .stgx-prose { color: var(--stm-on-noir); }
.stgx .stgx-dark .stgx-prose a { color: var(--stm-champagne-light); }

/* ---------- Formular de recrutare ---------- */
.stgx-form-card { max-width: 720px; margin: 0 auto; padding: 22px 16px; border: 1px solid var(--stm-line); border-radius: 20px; background: var(--stm-white); box-shadow: var(--stm-shadow); }
.stgx-form-card .validate-field { border-radius: 12px; box-shadow: none; }
.stgx .stgx-form-card input[type="text"], .stgx .stgx-form-card input[type="tel"], .stgx .stgx-form-card input[type="email"], .stgx .stgx-form-card textarea { font-size: 16px; }
.stgx .stgx-form-card input[type="file"] { min-width: 0; max-width: 100%; }
.stgx .stgx-form-card button[type="submit"] { min-height: 52px; border-radius: 10px; background: var(--stm-noir); box-shadow: none !important; color: #FFFFFF; }
.stgx .stgx-form-card button[type="submit"]:hover { color: var(--stm-champagne-light); }

/* ---------- Legale și pagini simple ---------- */
.stgx .stge.stgx-legal { padding: 0 16px 48px; }
.stgx-legal-card { padding: 22px 16px; border: 1px solid var(--stm-line); border-radius: 20px; background: var(--stm-white); font-size: 15px; line-height: 1.7; box-shadow: var(--stm-shadow); overflow-wrap: anywhere; }
.stgx .stgx-legal-card p, .stgx .stgx-legal-card li { text-align: left !important; }

/* ---------- Informații: filtre și articole ---------- */
.stgx .info-filter-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.stgx .info-tab-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--stm-line); border-radius: 10px; background: var(--stm-white); font-size: 12px; font-weight: 700; color: var(--stm-ink); cursor: pointer; }
.stgx .info-tab-btn.active { border-color: var(--stm-noir); background: var(--stm-noir); color: #FFFFFF; }
.stgx .info-badge-count { padding: 1px 6px; border-radius: 4px; background: var(--stm-pearl); font-size: 10px; color: var(--stm-muted); }
.stgx .article-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--stm-line); border-radius: 18px; background: var(--stm-white); box-shadow: var(--stm-shadow); }
.stgx .card-img-wrapper { position: relative; display: block; overflow: hidden; }
.stgx .card-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.stgx .article-card-content { display: flex; flex: 1 1 auto; flex-direction: column; padding: 20px; }

/* ---------- Articol ---------- */
.stgx-article .single-article-card { border: 1px solid var(--stm-line) !important; }
@media (max-width: 767px) { .stgx-article .single-article-card { padding: 22px 16px; } }

@media (min-width: 768px) {
    .stgx .stgx-h1 { font-size: 46px; }
    .stgx .stgx-h1--long { font-size: 40px; }
    .stgx-actions { flex-direction: row; justify-content: center; max-width: none; }
    .stgx .stgx-actions .stm-btn { min-width: 220px; }
    .stgx-trio { gap: 14px; }
    .stgx-chips { display: flex; flex-wrap: wrap; justify-content: center; }
    .stgx .stgx-chips a { padding: 8px 18px; }
    .stgx-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .stgx-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .stgx-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; }
    .stgx-split-text { text-align: left; }
    .stgx-split-text .stge-kicker { justify-content: flex-start; }
    .stgx .stgx-split-text .stge-h2 { text-align: left; }
    .stgx .stgx-split-text .stgx-text, .stgx .stgx-split-text .stgx-text * { text-align: left !important; }
    .stgx-split .stgx-checks { margin-left: 0; }
    .stgx-split-text .stgx-actions { justify-content: flex-start; flex-wrap: wrap; }
    .stgx-form-card { padding: 34px; }
    .stgx-legal-card { padding: 44px; }
    .stgx-quote blockquote { font-size: 28px; }
}

@media (min-width: 1024px) {
    .stgx-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
