/* IPTV Romania: alb și crem, verde de brad, butoane roșii, accente galbene. Toate clasele: rx- */
:root {
  --pine: #1f5e46;
  --pine-deep: #16241e;
  --pine-soft: #e8f1ec;
  --red: #c8102e;
  --red-dark: #a10d25;
  --yellow: #f3c84b;
  --cream: #f7f4ec;
  --cream-line: #e6dfcc;
  --ink: #1c2420;
  --grey: #5b6660;
  --line: #e3e7df;
  --white: #ffffff;
  --ck-accent: #1f5e46;
  --ck-accent-ink: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.7 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
h1, h2, h3 { font-family: 'Literata', Georgia, 'Times New Roman', serif; color: var(--pine-deep); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin: 0 0 16px; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--pine); text-decoration-color: rgba(31,94,70,.4); text-underline-offset: 3px; }
a:hover { color: var(--red); }
svg { max-width: 100%; }
.rx-page { width: min(1160px, 100% - 32px); margin-inline: auto; }
.rx-narrow { width: min(810px, 100% - 32px); }
.rx-sr, .rx-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rx-trap { left: -9999px; }
.rx-skip { position: absolute; left: -999px; top: 6px; z-index: 99; background: var(--pine); color: #fff; padding: 8px 14px; border-radius: 6px; }
.rx-skip:focus { left: 8px; }

/* Antet */
.rx-top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(22,36,30,.05); }
.rx-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.rx-logo { display: flex; }
.rx-links { display: flex; align-items: center; gap: 4px; }
.rx-links a { padding: 8px 11px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.rx-links a:hover, .rx-links a[aria-current="page"] { background: var(--pine-soft); color: var(--pine); }
.rx-links .rx-links-go { margin-left: 8px; color: #fff; }
.rx-links .rx-links-go:hover { color: #fff; }
.rx-burger { display: none; width: 46px; height: 42px; border: 0; border-radius: 10px; background: var(--pine-soft); padding: 11px; cursor: pointer; }
.rx-burger i { display: block; height: 2.5px; background: var(--pine); margin: 4px 0; border-radius: 2px; }

/* Butoane */
.rx-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.rx-btn-red { background: var(--red); color: #fff; }
.rx-btn-red:hover { background: var(--red-dark); color: #fff; }
.rx-btn-green { background: var(--pine); color: #fff; }
.rx-btn-green:hover { background: var(--pine-deep); color: #fff; }
.rx-btn-yellow { background: var(--yellow); color: var(--pine-deep); }
.rx-btn-yellow:hover { background: #f7d672; color: var(--pine-deep); }
.rx-btn-outline { border-color: var(--pine); color: var(--pine); background: #fff; }
.rx-btn-outline-w { border-color: rgba(255,255,255,.8); color: #fff; }
.rx-btn-outline-w:hover { color: var(--yellow); border-color: var(--yellow); }
.rx-btn-xl { padding: 14px 26px; font-size: 1.04rem; }
.rx-btn-sm { padding: 8px 14px; font-size: .9rem; }
.rx-btn-full { width: 100%; }

/* Erou: text centrat, ilustrația dedesubt pe mobil */
.rx-hero { background: radial-gradient(circle at 85% 20%, rgba(243,200,75,.22), rgba(243,200,75,0) 40%), linear-gradient(180deg, var(--cream), #fff); border-bottom: 1px solid var(--cream-line); }
.rx-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 62px 0 56px; }
.rx-hero-in > * { min-width: 0; }
.rx-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--red); font-weight: 700; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.rx-label::before { content: ''; width: 22px; height: 3px; background: linear-gradient(90deg, #2b7a5c 33%, var(--yellow) 33% 66%, var(--red) 66%); }
.rx-sub { font-size: 1.14rem; color: var(--grey); max-width: 640px; }
.rx-hero-go { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 20px; }
.rx-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rx-where span { font-weight: 700; color: var(--pine-deep); margin-right: 4px; }
.rx-where a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--cream-line); text-decoration: none; color: var(--pine); font-weight: 600; font-size: .92rem; }
.rx-where a:hover { border-color: var(--pine); }

/* Ilustrația cu două ecrane */
.rx-duo { position: relative; max-width: 470px; margin-inline: auto; padding-bottom: 30px; }
.rx-duo-tv { background: #111a16; border-radius: 16px; padding: 11px; box-shadow: 0 22px 46px rgba(22,36,30,.25); }
.rx-duo-scr { position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 320 / 170; }
.rx-duo-scr svg { display: block; width: 100%; height: 100%; }
.rx-duo-live { position: absolute; left: 10px; top: 9px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.rx-duo-score { position: absolute; right: 10px; top: 9px; background: rgba(22,36,30,.88); color: #fff; font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 5px; }
.rx-duo-score em { color: var(--yellow); font-style: normal; margin-left: 5px; }
.rx-duo-foot { width: 30%; height: 12px; margin: 0 auto; background: #111a16; border-radius: 0 0 10px 10px; }
.rx-duo-phone { position: absolute; right: -6px; bottom: 0; width: 46%; background: #fff; border: 7px solid #111a16; border-radius: 22px; padding: 12px 12px 6px; box-shadow: 0 16px 34px rgba(22,36,30,.25); }
.rx-duo-h { font-weight: 800; font-size: .85rem; color: var(--pine-deep); margin: 0 0 6px; }
.rx-duo-row { font-size: .8rem; margin: 0 0 6px; padding: 6px 8px; background: var(--cream); border-radius: 8px; line-height: 1.3; }
.rx-duo-row b { color: var(--red); margin-right: 6px; }

/* Secțiuni */
.rx-part { padding: 64px 0; }
.rx-part-cream { background: var(--cream); }
.rx-part-green { background: var(--pine-deep); color: #dce8e2; }
.rx-part-green h2, .rx-part-green h3 { color: #fff; }
.rx-t2 { margin-bottom: 28px; max-width: 760px; }
.rx-t2-c { margin-inline: auto; text-align: center; }
.rx-t2-c .rx-label { justify-content: center; }
.rx-t2-sub { color: var(--grey); font-size: 1.05rem; }
.rx-head1 { background: var(--cream); border-bottom: 1px solid var(--cream-line); padding: 26px 0 30px; }
.rx-trail { background: var(--cream); padding-top: 14px; font-size: .86rem; }
.rx-trail ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--grey); }
.rx-trail li + li::before { content: '→'; margin-right: 6px; color: var(--red); }
.rx-dated { font-size: .88rem; color: var(--grey); }

/* Blocuri */
.rx-short { border-left: 5px solid var(--red); background: #fff; box-shadow: 0 8px 22px rgba(22,36,30,.07); border-radius: 0 14px 14px 0; padding: 18px 22px 4px; margin: 0 0 24px; }
.rx-short-t { font-family: 'Literata', serif; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.rx-hint { background: var(--pine-soft); border-radius: 14px; padding: 16px 20px 4px; margin: 24px 0; }
.rx-bullets { list-style: none; padding: 0; margin: 0 0 16px; }
.rx-bullets li { position: relative; padding-left: 26px; margin: 8px 0; }
.rx-bullets li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.rx-boxes { display: grid; gap: 18px; }
.rx-boxes-2 { grid-template-columns: repeat(2, 1fr); }
.rx-boxes-3 { grid-template-columns: repeat(3, 1fr); }
.rx-boxes-4 { grid-template-columns: repeat(4, 1fr); }
.rx-boxes > * { min-width: 0; }
.rx-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.rx-part-cream .rx-box { border-color: var(--cream-line); }
.rx-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.rx-more { font-weight: 700; }
.rx-more::after { content: ' →'; }

/* Tabele */
.rx-grid-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); margin: 0 0 22px; }
.rx-grid { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .96rem; background: #fff; }
.rx-grid caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--pine-deep); }
.rx-grid th, .rx-grid td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: left; }
.rx-grid thead th { background: var(--pine); color: #fff; border-top: 0; }
.rx-grid tbody tr:nth-child(odd) { background: #fbfaf6; }

/* Abonamente ca tabel de comparație */
.rx-plans-wrap { overflow-x: auto; }
.rx-plans { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.rx-plans th, .rx-plans td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.rx-plans tbody th { text-align: left; color: var(--grey); font-weight: 600; }
.rx-plans thead th { font-family: 'Literata', serif; font-size: 1.15rem; color: var(--pine-deep); padding-top: 22px; position: relative; }
.rx-plans tr:last-child td, .rx-plans tr:last-child th { border-bottom: 0; }
.rx-pick { background: #fff7e0; }
.rx-flag { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font: 700 .7rem 'Albert Sans', sans-serif; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.rx-price { font: 800 1.45rem 'Literata', serif; color: var(--pine-deep); }

/* Întrebări */
.rx-asks details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; }
.rx-asks summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--pine-deep); position: relative; }
.rx-asks summary::-webkit-details-marker { display: none; }
.rx-asks summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--pine-soft); color: var(--pine); display: grid; place-items: center; font-size: 1.1rem; }
.rx-asks details[open] summary::after { content: '−'; background: var(--red); color: #fff; }
.rx-asks details > div { padding: 0 18px 6px; color: var(--grey); }

/* Linie de pași (orizontală pe ecrane mari) */
.rx-line { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; position: relative; }
.rx-line li { counter-increment: p; background: #fff; border: 1px solid var(--cream-line); border-radius: 16px; padding: 46px 18px 16px; position: relative; }
.rx-line li::before { content: counter(p); position: absolute; top: 14px; left: 18px; font: 800 1.6rem 'Literata', serif; color: var(--red); }
.rx-line p { margin: 0; color: var(--grey); font-size: .96rem; }
.rx-contents { border: 2px dotted var(--cream-line); border-radius: 14px; padding: 14px 20px; margin: 0 0 26px; }
.rx-contents p { font-weight: 800; margin: 0 0 6px; }
.rx-contents ol { margin: 0; padding-left: 20px; }

/* Dispozitive */
.rx-devs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rx-devs > * { min-width: 0; }
.rx-devs a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 700; color: var(--pine-deep); }
.rx-devs a:hover { border-color: var(--red); }
.rx-devs svg { width: 26px; height: 26px; flex: 0 0 26px; fill: none; stroke: var(--pine); stroke-width: 1.8; }

/* Final */
.rx-finale { background: var(--pine-deep); color: #d9e6df; padding: 56px 0; text-align: center; position: relative; }
.rx-finale::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #2b7a5c 33%, var(--yellow) 33% 66%, var(--red) 66%); }
.rx-finale h2 { color: #fff; }
.rx-finale-go { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }

/* Text lung */
.rx-prose h2 { font-size: 1.4rem; margin-top: 32px; }
.rx-prose ul, .rx-prose ol { padding-left: 22px; }
.rx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.rx-split > * { min-width: 0; }

/* Formulare */
.rx-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 16px 36px rgba(22,36,30,.08); }
.rx-form-t { font-size: 1.35rem; }
.rx-row { display: grid; gap: 6px; margin: 0 0 14px; }
.rx-row label { font-weight: 700; font-size: .95rem; }
.rx-row input, .rx-row select, .rx-row textarea { width: 100%; font: inherit; padding: 12px 13px; border: 1.5px solid #cfd6cd; border-radius: 12px; background: #fff; color: var(--ink); }
.rx-row input:focus, .rx-row select:focus, .rx-row textarea:focus { outline: 3px solid rgba(31,94,70,.25); border-color: var(--pine); }
.rx-muted { font-weight: 400; color: var(--grey); }
.rx-fine { font-size: .86rem; color: var(--grey); margin-top: 10px; }
.rx-msg { display: none; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.rx-msg.rx-visible { display: block; }
.rx-msg-ok { background: #e7f4ec; color: #1d6a3e; }
.rx-msg-bad { background: #fdecee; color: #a10d25; }

/* Subsol */
.rx-foot { background: #121c18; color: #b3c2ba; font-size: .95rem; }
.rx-foot a { color: #e3ece7; text-decoration: none; }
.rx-foot a:hover { color: var(--yellow); }
.rx-foot-in { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 26px; padding: 52px 0 32px; }
.rx-foot-in > * { min-width: 0; }
.rx-foot-t { color: #fff; font-weight: 800; margin-bottom: 8px; }
.rx-foot ul { list-style: none; margin: 0; padding: 0; }
.rx-foot li { margin: 6px 0; }
.rx-foot-low { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: .85rem; }
.rx-foot-low a { text-decoration: underline; }

@media (max-width: 1000px) {
  .rx-hero-in, .rx-split { grid-template-columns: 1fr; }
  .rx-boxes-3, .rx-boxes-4 { grid-template-columns: repeat(2, 1fr); }
  .rx-foot-in { grid-template-columns: 1fr 1fr; }
  .rx-burger { display: block; }
  .rx-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px 16px 18px; box-shadow: 0 10px 20px rgba(22,36,30,.08); }
  .rx-links.rx-open { display: flex; }
  .rx-links .rx-links-go { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .rx-part { padding: 46px 0; }
  .rx-hero-in { padding: 38px 0; }
  .rx-boxes-2, .rx-boxes-3, .rx-boxes-4, .rx-devs, .rx-foot-in { grid-template-columns: 1fr; }
  .rx-btn-xl { width: 100%; }
  .rx-form { padding: 20px; }
  .rx-duo-phone { width: 52%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
