:root{
  --rsg-bg:#0b1220;
  --rsg-card:rgba(255,255,255,.06);
  --rsg-card2:rgba(255,255,255,.08);
  --rsg-stroke:rgba(255,255,255,.10);
  --rsg-text:rgba(255,255,255,.92);
  --rsg-muted:rgba(255,255,255,.68);
  --rsg-muted2:rgba(255,255,255,.54);
  --rsg-brand:#7c5cff;
  --rsg-brand2:#22c55e;
  --rsg-danger:#ef4444;
  --rsg-shadow:0 18px 60px rgba(0,0,0,.35);
  --rsg-radius:18px;
  --rsg-radius2:24px;
  --rsg-font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.rsg-root{
  font-family:var(--rsg-font);
  color:var(--rsg-text);
  background:
    radial-gradient(900px 380px at 15% 10%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(900px 380px at 85% 20%, rgba(34,197,94,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%);
  border:1px solid var(--rsg-stroke);
  border-radius:var(--rsg-radius2);
  box-shadow:var(--rsg-shadow);
  overflow:hidden;
}

.rsg-shell{ padding:22px; }
@media (min-width: 900px){ .rsg-shell{ padding:28px; } }

.rsg-header{
  display:flex; gap:14px; align-items:flex-start; justify-content:space-between;
  padding:14px 16px;
  background:linear-gradient(135deg, rgba(124,92,255,.18), rgba(34,197,94,.10));
  border:1px solid var(--rsg-stroke);
  border-radius:var(--rsg-radius);
}

.rsg-title{ margin:0; font-size:22px; letter-spacing:-.3px; }
.rsg-subtitle{ margin:6px 0 0; color:var(--rsg-muted); font-size:13px; }

.rsg-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.rsg-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  background:rgba(0,0,0,.22); border:1px solid var(--rsg-stroke);
  font-size:12px; color:var(--rsg-text);
}
.rsg-badge-soft{ color:var(--rsg-muted); }

.rsg-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-top:14px;
}
@media (min-width: 980px){
  .rsg-grid{ grid-template-columns: 1fr 1fr; }
  .rsg-card-wide{ grid-column: 1 / -1; }
}

.rsg-card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid var(--rsg-stroke);
  border-radius:var(--rsg-radius2);
  padding:16px;
}

.rsg-card-head h3{ margin:0; font-size:16px; }
.rsg-card-head p{ margin:6px 0 0; color:var(--rsg-muted); font-size:13px; }

.rsg-row{ display:grid; gap:10px; margin-top:12px; }
.rsg-row-2{ grid-template-columns: 1fr; }
.rsg-row-3{ grid-template-columns: 1fr; }
.rsg-row-4{ grid-template-columns: 1fr; }
@media (min-width: 740px){
  .rsg-row-2{ grid-template-columns: 1fr 1fr; }
  .rsg-row-3{ grid-template-columns: 1fr 1fr 1fr; }
  .rsg-row-4{ grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.rsg-field span{ display:block; font-size:12px; color:var(--rsg-muted); margin:0 0 6px; }
.rsg-field input{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--rsg-stroke);
  background:rgba(0,0,0,.22);
  color:var(--rsg-text);
  outline:none;
}
.rsg-field input:focus{
  border-color:rgba(124,92,255,.55);
  box-shadow:0 0 0 4px rgba(124,92,255,.12);
}

.rsg-actions{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;
}

.rsg-btn{
  appearance:none;
  border:1px solid var(--rsg-stroke);
  background:rgba(0,0,0,.22);
  color:var(--rsg-text);
  padding:10px 12px;
  border-radius:14px;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
}
.rsg-btn:hover{ background:rgba(255,255,255,.06); }
.rsg-btn:active{ transform:translateY(1px); }

.rsg-btn-primary{
  border-color:rgba(124,92,255,.55);
  background:linear-gradient(135deg, rgba(124,92,255,.55), rgba(124,92,255,.25));
}
.rsg-btn-primary:hover{ filter:brightness(1.05); }

.rsg-divider{
  height:1px;
  background:var(--rsg-stroke);
  margin:14px 0;
}

.rsg-note{
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
  border-radius:16px;
  padding:12px;
}
.rsg-note-title{ font-weight:800; font-size:12px; }
.rsg-note-text{ margin-top:6px; font-size:12px; color:var(--rsg-muted); line-height:1.35; }
.rsg-muted{ color:var(--rsg-muted); }
.rsg-muted2{ color:var(--rsg-muted2); }
.rsg-small{ font-size:12px; margin-top:10px; }

.rsg-table-wrap{
  overflow:auto;
  border-radius:16px;
  border:1px solid var(--rsg-stroke);
  margin-top:12px;
}
.rsg-table{
  width:100%;
  border-collapse:collapse;
  min-width: 860px;
  background:rgba(0,0,0,.18);
}
.rsg-table th, .rsg-table td{
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:12px;
}
.rsg-table th{ color:var(--rsg-muted); text-align:left; background:rgba(255,255,255,.03); position:sticky; top:0; }
.rsg-ta-right{ text-align:right; }
.rsg-table input{
  width:100%;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  color:var(--rsg-text);
}

.rsg-preview-wrap{
  overflow:auto;
  padding:14px;
  background:rgba(0,0,0,.14);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
}

/* Receipt (A4-ish) */
.rsg-receipt{
  width: 860px;
  max-width:100%;
  margin:0 auto;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:18px;
}
.rsg-receipt-head{
  display:flex; gap:14px; justify-content:space-between; align-items:flex-start;
  border-bottom:1px solid rgba(255,255,255,.10);
  padding-bottom:14px;
}
.rsg-receipt-brand{ display:flex; gap:12px; align-items:center; }
.rsg-logo-box{
  width:64px; height:64px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  position:relative;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.rsg-logo-box img{ width:100%; height:100%; object-fit:contain; display:none; }
.rsg-logo-placeholder{ font-weight:900; font-size:12px; color:rgba(255,255,255,.45); letter-spacing:.12em; }
.rsg-receipt-title{ font-weight:900; letter-spacing:.06em; font-size:12px; }
.rsg-receipt-sub{ color:rgba(255,255,255,.65); font-size:12px; margin-top:4px; }

.rsg-receipt-meta{
  text-align:right;
  font-size:12px;
  color:rgba(255,255,255,.78);
  line-height:1.55;
}

.rsg-receipt-emp{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  font-size:12px;
}

.rsg-receipt-table{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  overflow:hidden;
}
.rsg-rt-head, .rsg-rt-row, .rsg-rt-total{
  display:grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  font-size:12px;
}
.rsg-rt-head{
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.70);
  font-weight:800;
}
.rsg-rt-row{ border-top:1px solid rgba(255,255,255,.08); }
.rsg-rt-total{
  border-top:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg, rgba(124,92,255,.20), rgba(34,197,94,.10));
  font-weight:900;
}
.rsg-rt-total-label{ letter-spacing:.06em; }
.rsg-rt-total-val{ text-align:right; font-size:14px; }

.rsg-receipt-foot{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:11px;
  color:rgba(255,255,255,.55);
}


/* --- Patch v1.0.1: Full width + better contrast (theme overrides safe) --- */
.rsg-root{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  color:var(--rsg-text) !important;
  background-color:var(--rsg-bg) !important;
}

/* Full-bleed helper: break out of WP container (safe on desktop) */
@media (min-width: 900px){
  .rsg-root{
    position:relative;
    left:50%;
    right:50%;
    margin-left:-50vw !important;
    margin-right:-50vw !important;
    width:100vw !important;
    border-radius:0;
  }
  .rsg-shell{ max-width: 1280px; margin: 0 auto; }
}

/* Ensure readable text inside even if theme sets low-contrast styles */
.rsg-root *{ box-sizing:border-box; }
.rsg-root, .rsg-root p, .rsg-root h1, .rsg-root h2, .rsg-root h3, .rsg-root h4,
.rsg-root label, .rsg-root span, .rsg-root th, .rsg-root td, .rsg-root div{
  color:var(--rsg-text) !important;
}
.rsg-muted{ color:var(--rsg-muted) !important; }
.rsg-muted2{ color:var(--rsg-muted2) !important; }

/* Make cards less transparent so they don't wash out on white backgrounds */
.rsg-card{
  background:#0f172a !important;
  border-color:rgba(255,255,255,.14) !important;
}
.rsg-header{
  background:linear-gradient(135deg, rgba(124,92,255,.28), rgba(34,197,94,.18)) !important;
  border-color:rgba(255,255,255,.14) !important;
}

/* Inputs: force readable text and background */
.rsg-field input, .rsg-table input{
  background:#0b1220 !important;
  color:var(--rsg-text) !important;
  border-color:rgba(255,255,255,.18) !important;
}
.rsg-field input::placeholder, .rsg-table input::placeholder{ color:rgba(255,255,255,.45) !important; }

/* Receipt responsive width */
.rsg-receipt{
  width:100% !important;
  max-width: 1040px !important;
}
.rsg-preview-wrap{ padding:18px !important; }

/* --- End patch --- */


/* --- Patch v1.0.2: Alignment + file inputs + signature area --- */
.rsg-field input[type="file"]{
  padding:10px 12px !important;
  line-height:1.2;
  height:44px;
}
.rsg-field input[type="file"]::file-selector-button{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:var(--rsg-text);
  padding:8px 10px;
  border-radius:12px;
  margin-right:10px;
  cursor:pointer;
}
.rsg-field input[type="file"]::file-selector-button:hover{
  background:rgba(255,255,255,.10);
}

.rsg-note-soft{
  border-style:solid;
  border-color:rgba(124,92,255,.22);
  background:rgba(124,92,255,.08);
}

/* Signature area in receipt */
.rsg-signatures{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}
@media (min-width: 740px){
  .rsg-signatures{ grid-template-columns: 1fr 1fr; }
}
.rsg-sign-box{
  padding:10px 12px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:14px;
  background:rgba(0,0,0,.10);
}
.rsg-sign-line{
  height:28px;
  border-bottom:2px solid rgba(255,255,255,.35);
  margin-bottom:8px;
}
.rsg-sign-label{
  font-size:11px;
  color:rgba(255,255,255,.62);
}


/* --- Patch v1.0.4: Full-width blocks + consistent gutters/spacing --- */
.rsg-shell{
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px !important;
}
@media (min-width: 900px){
  .rsg-shell{ padding: 34px !important; }
}
.rsg-grid{
  grid-template-columns: 1fr !important; /* stack cards full width */
  gap: 18px !important;
}
.rsg-card{
  width: 100%;
  padding: 20px !important;
}
.rsg-card-head p{ max-width: 72ch; }

.rsg-table-wrap{ margin-top: 14px !important; }
.rsg-actions{ margin-top: 16px !important; }

/* Make note boxes align height nicely in 2-col rows */
@media (min-width: 740px){
  .rsg-row-2 > .rsg-note,
  .rsg-row-2 > .rsg-signpad{ height: 100%; }
}


/* --- Patch v1.0.4: Signature pads + receipt signature images --- */
.rsg-btn-xs{
  padding:6px 10px !important;
  border-radius:12px !important;
  font-size:12px !important;
  font-weight:800 !important;
}
.rsg-signpad{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px;
}
.rsg-signpad-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  font-size:12px;
  color:var(--rsg-muted);
  font-weight:800;
}
.rsg-signpad-actions{ display:flex; gap:8px; }
.rsg-signpad-canvas{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  background:#0b1220;
  border:1px dashed rgba(255,255,255,.16);
  touch-action:none;
}
.rsg-signpad-hint{
  margin-top:8px;
  font-size:11px;
  color:rgba(255,255,255,.52);
  line-height:1.35;
}

/* File input button consistent */
.rsg-field input[type="file"]{
  padding:10px 12px !important;
  line-height:1.2;
  height:44px;
}
.rsg-field input[type="file"]::file-selector-button{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:var(--rsg-text);
  padding:8px 10px;
  border-radius:12px;
  margin-right:10px;
  cursor:pointer;
}
.rsg-field input[type="file"]::file-selector-button:hover{ background:rgba(255,255,255,.10); }

/* Receipt signatures */
.rsg-sign-imgwrap{ position:relative; }
.rsg-sign-imgwrap img{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  max-height:44px;
  width:auto;
  display:none;
  opacity:.95;
}
.rsg-sign-name{
  margin-top:6px;
  font-size:11px;
  color:rgba(255,255,255,.72);
  font-weight:800;
}


/* --- Patch v1.0.5: Max width + safe gutters + block spacing + signature room --- */

/* Keep full-bleed background, but give all content consistent side gutters */
.rsg-shell{
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: clamp(18px, 5vw, 72px) !important;  /* ~5%–10% gutters depending viewport */
  padding-right: clamp(18px, 5vw, 72px) !important;
  padding-top: 28px !important;
  padding-bottom: 34px !important;
}

/* Header and cards should truly span available width inside shell */
.rsg-header,
.rsg-card{
  width: 100% !important;
}

/* More breathing room between blocks */
.rsg-grid{
  gap: 22px !important;
}

/* Slightly larger card padding for readability on large screens */
@media (min-width: 900px){
  .rsg-card{ padding: 22px !important; }
}

/* Preview area: keep receipt centered but allow more vertical space */
.rsg-preview-wrap{
  padding: 18px !important;
}
.rsg-receipt{
  max-width: 1120px !important;
}

/* Signature boxes: increase top room so the drawn signature doesn't touch the line */
.rsg-sign-box{
  padding: 14px 14px !important;
  min-height: 108px;
}
.rsg-sign-line{
  height: 46px !important;            /* more vertical room */
  border-bottom-width: 2px !important;
  margin-bottom: 10px !important;
}

/* Place signature image a bit higher and cap its size */
.rsg-sign-imgwrap img{
  bottom: 22px !important;
  max-height: 52px !important;
}

/* Make "Firma y aclaración" text not fight with name */
.rsg-sign-name{
  margin-top: 8px !important;
}

/* In the receipt itself, ensure the signature area doesn't look cramped */
.rsg-signatures{
  margin-top: 16px !important;
  padding: 14px !important;
}


/* --- Patch v1.0.6: Company two-column layout + consistent section width --- */

/* Make header + all cards share same visual width (centered), inside full-bleed background */
.rsg-header,
.rsg-card{
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Bigger separation between cards */
.rsg-grid{ gap: 24px !important; }

/* One-col helper */
.rsg-row-1{ grid-template-columns: 1fr !important; }

/* Company internal columns */
.rsg-company-cols{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 14px;
}
@media (min-width: 980px){
  .rsg-company-cols{
    grid-template-columns: 1fr 1fr;
    align-items:start;
  }
}

/* Keep left actions aligned and not stretched */
.rsg-actions-left{ justify-content:flex-start; }

/* Make the right column signature area visually balanced */
.rsg-company-right .rsg-signpad{ margin-top: 0; }

/* Ensure Bulk/Single/Preview match company card width and keep inner padding */
.rsg-card-wide{ max-width: 1240px !important; }


/* --- Patch v1.0.7: Extra vertical spacing between main sections --- */

/* Add top margin to every card except the first one */
.rsg-grid > .rsg-card + .rsg-card{
  margin-top: 34px !important;
}

/* Extra separation specifically for Bulk, Individual and Preview feel */
.rsg-grid > .rsg-card{
  position: relative;
}


/* --- Patch v1.0.8: Visible spacing between Bulk / Individual / Preview --- */

/* Use row-gap for clear separation between main cards */
.rsg-grid{
  row-gap: 34px !important;
}

/* Slightly larger spacing on bigger screens */
@media (min-width: 900px){
  .rsg-grid{ row-gap: 42px !important; }
}

/* Keep cards visually separated even on same-toned backgrounds */
.rsg-card{
  box-shadow: 0 18px 50px rgba(0,0,0,.35) !important;
  border-color: rgba(255,255,255,.14) !important;
}


/* --- Patch v1.0.9: Force visible vertical separation between sections --- */

/* Strong gap + margin fallback (some builders/themes override grid gaps) */
.rsg-grid{
  gap: 48px !important;
  row-gap: 48px !important;
}
@media (min-width: 900px){
  .rsg-grid{ gap: 56px !important; row-gap: 56px !important; }
}

/* Extra insurance: add top margin to each section card except the first */
.rsg-grid > .rsg-card:not(:first-child){
  margin-top: 18px !important; /* adds on top of gap to make it clearly visible */
}

/* Make separation obvious even with similar backgrounds */
.rsg-grid > .rsg-card{
  outline: 1px solid rgba(255,255,255,.10);
  outline-offset: 0;
}


/* --- Patch v1.1.0: Make section spacing immune to theme/Elementor overrides --- */

/* Force a vertical flex stack so spacing always works even if grid styles get overridden */
.rsg-grid{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Spacing between consecutive cards (this works even if "gap" is ignored) */
.rsg-grid > .rsg-card{
  margin: 0 !important;
}
.rsg-grid > .rsg-card + .rsg-card{
  margin-top: 44px !important;
}
@media (min-width: 900px){
  .rsg-grid > .rsg-card + .rsg-card{ margin-top: 56px !important; }
}


/* --- Patch v1.1.1: Re-center cards after flex-stack spacing fix --- */

/* Ensure header + all cards are centered and share same width */
.rsg-header{
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.rsg-grid > .rsg-card{
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep the immune spacing behavior */
.rsg-grid > .rsg-card + .rsg-card{
  margin-top: 44px !important;
}
@media (min-width: 900px){
  .rsg-grid > .rsg-card + .rsg-card{ margin-top: 56px !important; }
}


/* --- Patch v1.1.2: Improved lateral gutters + internal breathing space --- */

/* Global lateral safety margin (responsive) */
.rsg-shell{
  padding-left: clamp(20px, 6vw, 100px) !important;
  padding-right: clamp(20px, 6vw, 100px) !important;
}

/* More breathing space inside each section */
.rsg-grid > .rsg-card{
  padding: 30px !important;
}
@media (min-width: 900px){
  .rsg-grid > .rsg-card{
    padding: 36px !important;
  }
}

/* Slightly more vertical separation between sections */
.rsg-grid > .rsg-card + .rsg-card{
  margin-top: 64px !important;
}


/* --- Patch v1.1.3: Consistent card width/alignment across responsive + spacing for wide cards --- */

/* Make every card (including wide) share exact same sizing + centering */
.rsg-card,
.rsg-card.rsg-card-wide,
.rsg-card-wide{
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Ensure the stack container stretches but doesn't offset children */
.rsg-grid{
  align-items: stretch !important;
}

/* Force a reliable top spacing between consecutive cards */
.rsg-grid > .rsg-card + .rsg-card{
  margin-top: 56px !important;
}
@media (max-width: 899px){
  .rsg-grid > .rsg-card + .rsg-card{ margin-top: 42px !important; }
}

/* Extra top margin specifically for "wide" sections if theme collapses margins */
.rsg-card-wide{
  margin-top: 14px; /* small extra buffer */
}

/* If any theme sets text-align or float, neutralize */
.rsg-card{ float:none !important; }

/* --- v1.2.0 Intro + SEO block styling --- */

.rsg-intro{
  max-width:1240px;
  margin:0 auto 60px auto;
  padding:0 10px;
}

.rsg-intro h2{
  margin-bottom:18px;
  font-size:28px;
}

.rsg-intro p{
  font-size:16px;
  line-height:1.7;
  opacity:.9;
}

.rsg-seo-block{
  max-width:1240px;
  margin:80px auto 0 auto;
  padding:0 10px 40px 10px;
}

.rsg-seo-block h3{
  margin-top:40px;
  margin-bottom:12px;
}

.rsg-seo-block p{
  line-height:1.7;
  opacity:.9;
}

.rsg-seo-block ul{
  margin-left:20px;
  line-height:1.8;
}


/* --- v1.2.1: Improve aesthetic structure (hero + separator + end content) --- */

.rsg-intro{
  max-width: 1240px !important;
  margin: 0 auto 28px auto !important;
  padding: 0 10px !important;
}

.rsg-intro h2{
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.02em;
}

.rsg-intro p{
  max-width: 980px;
  font-size: 16px;
  line-height: 1.75;
  opacity: .92;
}

/* subtle separator between intro and tool */
.rsg-hero-sep{
  max-width: 1240px;
  margin: 26px auto 24px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.18), rgba(255,255,255,0));
}

/* end content: keep within same rhythm + slightly lighter surface */
.rsg-seo-block{
  max-width: 1240px;
  margin: 78px auto 0 auto;
  padding: 26px 28px 34px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,18,35,.55);
  backdrop-filter: blur(6px);
}

.rsg-seo-block h2{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.rsg-seo-block h3{
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 18px;
}

.rsg-seo-block p{
  line-height: 1.75;
  opacity: .92;
  margin: 0 0 10px 0;
}

.rsg-seo-block ul{
  margin: 8px 0 0 18px;
  line-height: 1.8;
}

@media (max-width: 899px){
  .rsg-seo-block{ padding: 22px 18px 28px 18px; }
}


/* --- v1.2.2 Navbar --- */

.rsg-navbar{
  width:100%;
  background:#FBFBF7;
  padding:14px 0;
  box-shadow:0 1px 0 rgba(0,0,0,0.05);
}

.rsg-navbar-inner{
  max-width:1240px;
  margin:0 auto;
  padding:0 clamp(20px,6vw,100px);
  display:flex;
  align-items:center;
}

.rsg-navbar-brand img{
  height:36px;
  width:auto;
  display:block;
}

.rsg-navbar-brand{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}


/* --- v1.2.3 Navbar Full Width + Final SEO Block --- */

.rsg-navbar{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
  background:#FBFBF7;
  padding:16px 0;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow:0 1px 0 rgba(0,0,0,0.06);
  z-index:999;
}

.rsg-navbar img{
  height:40px;
  width:auto;
}

/* Final SEO content */
.rsg-seo-final{
  max-width:1240px;
  margin:90px auto 40px auto;
  padding:28px 30px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(10,18,35,.55);
}

.rsg-seo-final h2{
  margin-top:0;
  margin-bottom:16px;
}

.rsg-seo-final h3{
  margin-top:28px;
  margin-bottom:10px;
}

.rsg-seo-final p{
  line-height:1.75;
  opacity:.92;
}

.rsg-seo-final ul{
  margin-left:20px;
  line-height:1.8;
}


/* --- v1.2.4 Hero card + Footer --- */

/* Hero card uses the same shell/header aesthetic but larger typography */
.rsg-hero-card.rsg-header{
  margin-top: 18px;
  margin-bottom: 34px;
}
.rsg-hero-title{
  margin: 0 0 12px 0;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.rsg-hero-lead{
  margin: 0;
  max-width: 980px;
  font-size: 16px;
  line-height: 1.8;
  opacity: .92;
}

/* Footer (light background like site) */
.rsg-footer{
  width:100%;
  background:#FBFBF7;
  color:#111827;
  margin-top: 90px;
  padding: 52px 0 0 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.rsg-footer-inner{
  max-width:1240px;
  margin:0 auto;
  padding: 0 clamp(20px, 6vw, 100px) 40px clamp(20px, 6vw, 100px);
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px;
  align-items:start;
}

.rsg-footer-logo img{
  height: 42px;
  width: auto;
  display:block;
}

.rsg-footer-kicker{
  margin-top: 14px;
  font-weight: 700;
}

.rsg-footer-text{
  margin: 10px 0 0 0;
  line-height: 1.8;
  color: rgba(17,24,39,.78);
  max-width: 520px;
}

.rsg-footer-section-title{
  font-weight: 700;
  margin-bottom: 14px;
  color:#111827;
}

.rsg-footer-arrow{
  color:#d28b1d; /* warm accent like screenshot */
}

.rsg-footer-links-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  color:#111827;
  margin-bottom: 22px;
}

.rsg-footer-links-row a{
  color:#111827;
  text-decoration:none;
}

.rsg-footer-links-row a:hover{
  text-decoration:underline;
}

.rsg-footer-sep{
  color: rgba(17,24,39,.45);
}

.rsg-footer-subscribe-title{
  font-weight: 600;
  margin: 8px 0 12px 0;
  color:#111827;
}

.rsg-footer-subscribe{
  display:flex;
  gap: 12px;
  align-items:center;
  background: transparent;
}

.rsg-footer-subscribe input{
  flex: 1;
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,.18);
  background: #ffffff;
  color:#111827;
  outline: none;
}

.rsg-footer-subscribe button{
  padding: 14px 18px;
  border-radius: 10px;
  border: 0;
  background: #111827;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.rsg-footer-subscribe button:hover{
  filter: brightness(1.05);
}

.rsg-footer-bottom{
  max-width:1240px;
  margin:0 auto;
  padding: 16px clamp(20px, 6vw, 100px);
  border-top: 1px solid rgba(0,0,0,.10);
  text-align:center;
  color: rgba(17,24,39,.75);
  font-size: 14px;
}

.rsg-footer-bottom a{
  color:#111827;
  text-decoration:none;
  font-weight:700;
}

.rsg-footer-bottom a:hover{
  text-decoration:underline;
}

@media (max-width: 899px){
  .rsg-footer-inner{
    grid-template-columns: 1fr;
  }
  .rsg-footer-subscribe{
    flex-direction: column;
    align-items: stretch;
  }
  .rsg-footer-subscribe input{
    width: 100%;
    min-width: 0;
  }
}

/* --- v1.2.6 SEO card --- */
.rsg-seo-card .rsg-card-head h3{ margin-bottom:6px; }
.rsg-seo-content{ padding-top: 6px; }
.rsg-seo-content h4{
  margin: 18px 0 8px 0;
  font-size: 16px;
}
.rsg-seo-content p, .rsg-seo-content li{
  line-height: 1.8;
  opacity: .92;
}
.rsg-seo-content ul{ margin: 6px 0 0 18px; }


/* --- v1.2.7 SEO section: match app cards (contrast + typography) --- */
.rsg-seo-card{
  /* keep same surface as other cards */
  background: linear-gradient(180deg, rgba(10,18,35,.72), rgba(10,18,35,.58)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.92) !important;
}

.rsg-seo-card .rsg-card-head h3{
  color: rgba(255,255,255,.98) !important;
}

.rsg-seo-card .rsg-card-head p{
  color: rgba(255,255,255,.80) !important;
  opacity: 1 !important;
}

.rsg-seo-content{
  color: rgba(255,255,255,.88) !important;
}

.rsg-seo-content h4{
  color: rgba(255,255,255,.95) !important;
  font-weight: 800;
}

.rsg-seo-content p{
  color: rgba(255,255,255,.86) !important;
  opacity: 1 !important;
}

.rsg-seo-content ul{
  margin: 10px 0 0 18px;
}

.rsg-seo-content li{
  color: rgba(255,255,255,.86) !important;
  opacity: 1 !important;
}

.rsg-seo-content strong{
  color: rgba(255,255,255,.96) !important;
}

.rsg-seo-content li::marker{
  color: rgba(255,255,255,.60);
}

/* --- v1.2.8 SEO section + FAQ (modern) --- */
.rsg-seo-section{
  background: linear-gradient(135deg, #0b1220 0%, #0e1a2f 100%);
  padding: 70px 0;
}

.rsg-seo-wrapper{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 100px);
}

/* Inner card (slightly lighter than background) */
.rsg-seo-card{
  background: linear-gradient(135deg, rgba(18,31,54,.88) 0%, rgba(22,40,67,.78) 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.92) !important;
}

/* FAQ */
.rsg-faq{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.rsg-faq-head h4{
  margin: 0 0 6px 0;
  color: rgba(255,255,255,.95);
  font-weight: 900;
}

.rsg-faq-head p{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,.78);
}

.rsg-faq-list{
  display: grid;
  gap: 12px;
}

.rsg-faq-item{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,18,35,.35);
  border-radius: 16px;
  overflow: hidden;
}

.rsg-faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.rsg-faq-item summary::-webkit-details-marker{ display:none; }

.rsg-faq-item summary::after{
  content: "⌄";
  font-size: 16px;
  opacity: .8;
  transform: translateY(-1px);
  transition: transform .18s ease;
}

.rsg-faq-item[open] summary::after{
  transform: rotate(180deg) translateY(1px);
}

.rsg-faq-body{
  padding: 0 18px 16px 18px;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
}

.rsg-faq-item[open] .rsg-faq-body{
  padding-top: 2px;
}

@media (max-width: 899px){
  .rsg-seo-section{ padding: 54px 0; }
  .rsg-faq-item summary{ padding: 14px 14px; }
  .rsg-faq-body{ padding: 0 14px 14px 14px; }
}
/* --- v1.3.0 layout polish: spacing + width align --- */

/* Más aire entre bloques “anchos” */
.rsg-card.rsg-card-wide{
  margin-top: 22px !important;
}

/* Bloque SEO: mismo ancho + más separación del bloque anterior */
.rsg-seo-section{
  background: transparent;
  padding: 28px 0 10px 0;
  margin-top: 34px; /* esto evita la “línea pegada” */
}

/* Por si quedó el wrapper viejo, lo neutralizamos */
.rsg-seo-wrapper{ max-width:none; margin:0; padding:0; }

/* Card SEO: azul oscuro coherente con la app, pero un toque más claro adentro */
.rsg-seo-card{
  background: linear-gradient(135deg, rgba(14,26,47,.88) 0%, rgba(18,31,54,.78) 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}

/* Divider de FAQ: suave (sin “corte” duro) */
.rsg-faq{
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 26px;
  padding-top: 18px;
}

