/* ==========================================================================
   RegionalPrice – site stylesheet
   Loaded after css/style.css (Bootstrap 4 grid/utilities). Everything the
   old theme got wrong is neutralised here. New components use the rp- prefix.
   ========================================================================== */

:root {
  --rp-bg: #ffffff;
  --rp-alt: #f6f8fa;
  --rp-ink: #101828;
  --rp-body: #344054;
  --rp-muted: #667085;
  --rp-line: #e4e7ec;
  --rp-line-strong: #d0d5dd;
  --rp-link: #1d4ed8;
  --rp-btn: #101828;
  --rp-btn-hover: #263248;
  --rp-up: #067647;
  --rp-down: #b42318;
  --rp-radius: 10px;
  --rp-font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --rp-head: 'Poppins', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --rp-header-h: 64px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rp-header-h) + 12px); }
body {
  margin: 0;
  background: var(--rp-bg) !important;
  color: var(--rp-body) !important;
  font-family: var(--rp-font) !important;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rp-head);
  color: var(--rp-ink);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p, li { color: var(--rp-body); }
a { color: var(--rp-link); text-decoration: none; }
a:hover { color: #1e40af; text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; }
.ftco-animate { opacity: 1 !important; visibility: visible !important; }
#ftco-loader { display: none !important; }
.rp-ad-slot--inactive { display: none !important; }
#rp-cookie-settings-button { display: none !important; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
#header-placeholder { min-height: var(--rp-header-h); }
.rp-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rp-line);
}
.rp-header.is-scrolled { box-shadow: 0 1px 6px rgba(16, 24, 40, 0.06); }
.rp-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--rp-header-h);
}
.rp-brand {
  font-family: var(--rp-head); font-weight: 700; font-size: 1.2rem;
  color: var(--rp-ink) !important; text-decoration: none !important; letter-spacing: -0.02em;
}
.rp-nav { display: flex; align-items: center; gap: 4px; }
.rp-nav a {
  color: var(--rp-body); font-weight: 500; font-size: 0.94rem;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.rp-nav a:hover { background: var(--rp-alt); color: var(--rp-ink); text-decoration: none; }
.rp-nav a.is-active { color: var(--rp-ink); background: var(--rp-alt); }
.rp-nav .rp-nav__cta {
  background: var(--rp-btn); color: #fff !important; margin-left: 8px; font-weight: 600;
}
.rp-nav .rp-nav__cta:hover { background: var(--rp-btn-hover); }
.rp-nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -8px;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.rp-nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--rp-ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.rp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .rp-nav-toggle { display: flex; }
  .rp-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rp-line);
    padding: 8px 16px 14px; box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
  }
  .rp-nav.is-open { display: flex; }
  .rp-nav a { padding: 13px 8px; border-radius: 0; border-bottom: 1px solid var(--rp-line); font-size: 1rem; }
  .rp-nav a:last-child { border-bottom: 0; }
  .rp-nav .rp-nav__cta { margin: 10px 0 0; text-align: center; border-radius: 8px; }
}

/* ---------- Buttons ---------- */
.btn, .rp-btn {
  display: inline-block; font-family: var(--rp-font); font-weight: 600; font-size: 15px;
  line-height: 1.4; padding: 11px 20px; border-radius: 8px; text-transform: none;
  letter-spacing: 0; text-align: center; cursor: pointer; text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn.btn-primary, .rp-btn {
  background: var(--rp-btn) !important; border: 1px solid var(--rp-btn) !important; color: #fff !important;
}
.btn.btn-primary:hover, .rp-btn:hover { background: var(--rp-btn-hover) !important; border-color: var(--rp-btn-hover) !important; }
.btn.btn-white, .btn.btn-outline-secondary, .rp-btn--ghost {
  background: #fff !important; border: 1px solid var(--rp-line-strong) !important; color: var(--rp-ink) !important;
}
.btn.btn-white:hover, .btn.btn-outline-secondary:hover, .rp-btn--ghost:hover { background: var(--rp-alt) !important; }
.rp-btn--sm { padding: 7px 12px; font-size: 13px; }
.rp-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Forms ---------- */
label { font-size: 0.84rem; font-weight: 600; color: var(--rp-ink); margin-bottom: 6px; display: block; }
.form-control, .rp-input, .rp-select {
  display: block; width: 100%; min-height: 46px; padding: 10px 12px;
  font-family: var(--rp-font); font-size: 16px; line-height: 1.4; color: var(--rp-ink);
  background-color: #fff; border: 1px solid var(--rp-line-strong); border-radius: 8px;
  box-shadow: none; -webkit-appearance: none; appearance: none;
}
select.form-control, select.rp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
textarea.form-control { min-height: 110px; resize: vertical; }
.form-control:focus, .rp-input:focus, .rp-select:focus {
  outline: none; border-color: var(--rp-ink); box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.1);
}
.form-control::placeholder { color: #98a2b3; }
.form-group { margin-bottom: 14px; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--rp-ink); }

/* ---------- Layout helpers ---------- */
.rp-section { padding: 56px 0; }
.rp-section--alt { background: var(--rp-alt); border-top: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); }
.rp-eyebrow {
  display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--rp-muted); margin-bottom: 8px;
}
.rp-h2 { font-size: 1.6rem; margin: 0 0 10px; }
.rp-lede { font-size: 1.05rem; color: var(--rp-body); max-width: 680px; margin: 0; }
.rp-card {
  background: #fff; border: 1px solid var(--rp-line); border-radius: 12px; padding: 22px;
}
.rp-card h3 { font-size: 1.02rem; margin: 0 0 8px; }
.rp-card p:last-child, .rp-card ul:last-child { margin-bottom: 0; }
.rp-link-list { list-style: none; padding: 0; margin: 0; }
.rp-link-list li { padding: 7px 0; border-bottom: 1px solid var(--rp-line); font-size: 0.95rem; }
.rp-link-list li:last-child { border-bottom: 0; }
.rp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ---------- Hero + calculator ---------- */
.rp-hero { padding: 40px 0 48px; background: var(--rp-alt); border-bottom: 1px solid var(--rp-line); }
.rp-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 10px; }
.rp-hero__copy { margin-bottom: 24px; max-width: 760px; }
.rp-lede { font-size: 1.05rem; line-height: 1.6; color: var(--rp-body); max-width: 680px; margin: 0; }
.rp-calc__grid .rp-btn { min-height: 46px; width: 100%; }
.rp-check { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; min-height: 46px; }
.rp-calc { background: #fff; border: 1px solid var(--rp-line); border-radius: 14px; padding: 24px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.rp-calc__grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr auto; gap: 14px; align-items: end; }
.rp-calc__grid .form-group { margin: 0; }
.rp-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.rp-presets__label { font-size: 0.82rem; color: var(--rp-muted); font-weight: 500; margin-right: 2px; }
.rp-chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px;
  background: #fff; color: var(--rp-body); border: 1px solid var(--rp-line-strong);
  border-radius: 999px; font-family: var(--rp-font); font-size: 0.85rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rp-chip:hover { border-color: var(--rp-ink); background: var(--rp-alt); }
.rp-chip.is-active { background: var(--rp-ink); border-color: var(--rp-ink); color: #fff; }
.rp-advanced { margin-top: 16px; border-top: 1px solid var(--rp-line); padding-top: 14px; }
.rp-advanced summary {
  cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--rp-ink); list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.rp-advanced summary::-webkit-details-marker { display: none; }
.rp-advanced summary::before { content: '+'; display: inline-block; width: 16px; font-size: 1.1rem; line-height: 1; color: var(--rp-muted); }
.rp-advanced[open] summary::before { content: '\2212'; }
.rp-advanced__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.rp-advanced__grid .rp-check { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.rp-advanced__grid .rp-check input { flex: none; }
.rp-hint { font-size: 0.8rem; color: var(--rp-muted); margin: 6px 0 0; }
.rp-error { color: var(--rp-down); font-size: 0.9rem; font-weight: 500; margin: 12px 0 0; min-height: 0; }
.rp-note-example {
  margin: 16px 0 0; padding: 10px 12px; font-size: 0.88rem; color: var(--rp-body);
  background: var(--rp-alt); border: 1px solid var(--rp-line); border-radius: 8px;
}

/* ---------- Results ---------- */
.rp-results { margin-top: 24px; border-top: 1px solid var(--rp-line); padding-top: 22px; }
.rp-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.rp-stat { background: var(--rp-alt); border: 1px solid var(--rp-line); border-radius: 10px; padding: 12px 14px; }
.rp-stat__label { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rp-muted); }
.rp-stat__value { display: block; font-family: var(--rp-head); font-weight: 600; font-size: 1.15rem; color: var(--rp-ink); margin-top: 2px; font-variant-numeric: tabular-nums; }
.rp-stat__sub { display: block; font-size: 0.8rem; color: var(--rp-muted); }
.rp-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rp-toolbar__search { flex: 1 1 240px; max-width: 360px; }
.rp-toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-regions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; }
.rp-regions__label { font-size: 0.8rem; color: var(--rp-muted); margin-right: 2px; }
.rp-table-wrap { border: 1px solid var(--rp-line); border-radius: 10px; overflow: auto; max-height: 560px; background: #fff; -webkit-overflow-scrolling: touch; }
.rp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; min-width: 460px; }
.rp-table th {
  position: sticky; top: 0; z-index: 1; background: var(--rp-alt); color: var(--rp-muted);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--rp-line); white-space: nowrap;
}
.rp-table th.rp-num, .rp-table td.rp-num { text-align: right; }
.rp-table th button {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit;
  letter-spacing: inherit; cursor: pointer;
}
.rp-table th button:hover { color: var(--rp-ink); }
.rp-table th[aria-sort="ascending"] button::after { content: ' \25B2'; font-size: 0.65rem; }
.rp-table th[aria-sort="descending"] button::after { content: ' \25BC'; font-size: 0.65rem; }
.rp-table td { padding: 11px 14px; border-bottom: 1px solid var(--rp-line); color: var(--rp-ink); font-size: 0.94rem; vertical-align: middle; }
.rp-table tbody tr:last-child td { border-bottom: 0; }
.rp-table tbody tr:hover td { background: #fafbfc; }
.rp-table tr.is-home td { background: #f2f6ff; }
.rp-country { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rp-flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; flex: none; background: var(--rp-line); }
.rp-country__name { font-weight: 500; }
.rp-country__sub { display: none; font-size: 0.78rem; color: var(--rp-muted); font-weight: 400; }
.rp-price { font-weight: 600; }
.rp-up { color: var(--rp-up); }
.rp-down { color: var(--rp-down); }
.rp-zero { color: var(--rp-muted); }
.rp-empty { padding: 28px 16px; text-align: center; color: var(--rp-muted); }
.rp-more { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.rp-method { font-size: 0.82rem; color: var(--rp-muted); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.rp-faq details { background: #fff; border: 1px solid var(--rp-line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
.rp-faq summary {
  cursor: pointer; list-style: none; padding: 15px 0; font-family: var(--rp-head); font-weight: 600;
  font-size: 0.98rem; color: var(--rp-ink); display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--rp-muted); flex: none; }
.rp-faq details[open] summary::after { content: '\2212'; }
.rp-faq details p { margin: 0 0 16px; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.rp-contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; }
.rp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rp-success {
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: #ecfdf3; border: 1px solid #abefc6; color: #067647; padding: 12px 14px;
  border-radius: 8px; margin-bottom: 14px; font-size: 0.92rem;
}
.rp-success button { background: none; border: 0; font-size: 1.3rem; line-height: 1; color: inherit; cursor: pointer; }
.rp-captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rp-captcha .form-control { width: 96px; }

/* ---------- Page headers (blog index, docs, legal) ---------- */
.rp-page-head { padding: 40px 0 28px; background: var(--rp-alt); border-bottom: 1px solid var(--rp-line); }
.rp-page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; }
.rp-intent { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- Blog index cards ---------- */
.rp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rp-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rp-line); border-radius: 12px; overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.rp-post:hover { border-color: var(--rp-line-strong); box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06); }
.rp-post__img { display: block; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--rp-alt); border-bottom: 1px solid var(--rp-line); }
.rp-post__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.rp-post__meta { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rp-muted); margin-bottom: 8px; }
.rp-post__title { font-size: 1.05rem; margin: 0 0 8px; line-height: 1.35; }
.rp-post__title a { color: var(--rp-ink); text-decoration: none; }
.rp-post__title a:hover { color: var(--rp-link); }
.rp-post__desc { font-size: 0.92rem; color: var(--rp-body); margin: 0 0 14px; flex: 1; }
.rp-post__more { font-size: 0.9rem; font-weight: 600; }

/* ---------- Articles (blog posts) ---------- */
.ftco-section { padding: 40px 0 56px; background: transparent !important; }
.rp-article { max-width: 780px; }
.rp-article h1 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); margin-bottom: 14px; }
.rp-article h2 { font-size: 1.5rem; margin: 2.2rem 0 0.8rem; }
.rp-article h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.rp-article p, .rp-article li { font-size: 1.04rem; line-height: 1.75; color: var(--rp-body); }
.rp-article p { margin-bottom: 1.1rem; }
.rp-article .lead { font-size: 1.15rem; font-weight: 400; color: var(--rp-ink); }
.rp-article ul, .rp-article ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.rp-article li { margin-bottom: 0.4rem; }
.rp-article img { border-radius: 10px; border: 1px solid var(--rp-line); margin: 0.5rem 0 1.2rem; }
.rp-article strong { color: var(--rp-ink); }
.rp-article small { color: var(--rp-muted); }
.rp-article code { color: #b42318; background: var(--rp-alt); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; }
.rp-article pre { background: var(--rp-alt); border: 1px solid var(--rp-line); border-radius: 8px; padding: 14px; overflow-x: auto; }
.rp-article .table-responsive { margin: 1.2rem 0; }
.rp-article .table, .legal-container .table, .table { width: 100%; background: #fff; color: var(--rp-body) !important; border: 1px solid var(--rp-line); border-collapse: separate; border-spacing: 0; border-radius: 8px; font-size: 0.95rem; }
.table th, .table td { padding: 11px 14px; border-top: 0 !important; border-bottom: 1px solid var(--rp-line) !important; color: var(--rp-body) !important; text-align: left; vertical-align: top; }
.table thead th, .table .thead-dark th { background: var(--rp-alt) !important; color: var(--rp-ink) !important; border-color: var(--rp-line) !important; font-weight: 600; }
.table tbody tr:last-child td { border-bottom: 0 !important; }
.bg-light, .rp-article .bg-light {
  background: var(--rp-alt) !important; border: 1px solid var(--rp-line); border-radius: 12px !important; color: var(--rp-body) !important;
}
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4 { color: var(--rp-ink) !important; }
.bg-light p, .bg-light li { color: var(--rp-body) !important; }
.bg-light a { color: var(--rp-link) !important; font-weight: 500; }
.about-author { margin-top: 2rem; }
.about-author h3 { margin: 0 0 4px; font-size: 1.05rem; }
.about-author p { margin: 0; font-size: 0.92rem; }

.sidebar-box { background: #fff; border: 1px solid var(--rp-line); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.sidebar-box h3 { font-size: 0.95rem; margin: 0 0 14px; }
.sidebar .block-21 { margin-bottom: 14px !important; padding-bottom: 14px; border-bottom: 1px solid var(--rp-line); }
.sidebar .block-21:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0 !important; }
.block-21 .text { width: 100%; }
.block-21 .text .heading { font-size: 0.95rem; font-weight: 600; margin: 0 0 4px; line-height: 1.4; }
.block-21 .text .heading a { color: var(--rp-ink); }
.block-21 .text .heading a:hover { color: var(--rp-link); }
.block-21 .text .meta { font-size: 0.78rem; color: var(--rp-muted); }
.block-21 .text .meta > div { display: inline-block; }

/* ---------- Legal / docs / error pages ---------- */
.page-section { padding: 40px 0 64px; background: transparent !important; color: var(--rp-body) !important; min-height: 60vh; }
.legal-container, .rp-doc { max-width: 820px; margin: 0 auto; }
.legal-container h1, .rp-doc h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; color: var(--rp-ink) !important; }
.legal-container h2, .rp-doc h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; color: var(--rp-ink) !important; }
.legal-container p, .legal-container li, .rp-doc p, .rp-doc li { font-size: 1rem; line-height: 1.75; color: var(--rp-body) !important; }
.legal-container a, .rp-doc a { color: var(--rp-link) !important; }
.rp-doc pre {
  background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 16px; overflow-x: auto;
  font-size: 0.88rem; line-height: 1.6; margin: 0 0 1rem;
}
.rp-center { text-align: center; padding: 72px 0 88px; }
.rp-center .rp-code { font-family: var(--rp-head); font-size: clamp(3rem, 10vw, 5rem); font-weight: 700; color: var(--rp-ink); line-height: 1; margin: 0 0 12px; }

/* ---------- Footer ---------- */
.rp-footer { background: #0f172a; color: #cbd5e1; padding: 52px 0 28px; margin-top: 0; }
.rp-footer a { color: #cbd5e1; text-decoration: none; }
.rp-footer a:hover { color: #fff; text-decoration: underline; }
.rp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 32px; }
.rp-footer h4 { color: #fff !important; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; font-family: var(--rp-font); }
.rp-footer p { color: #94a3b8; font-size: 0.92rem; margin: 0 0 10px; max-width: 340px; }
.rp-footer ul { list-style: none; margin: 0; padding: 0; }
.rp-footer li { margin-bottom: 9px; font-size: 0.92rem; }
.rp-footer .rp-brand { color: #fff !important; display: inline-block; margin-bottom: 12px; }
.rp-footer__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: #94a3b8;
}
.rp-footer__bottom span { color: #94a3b8; }
.rp-footer button.rp-linkbtn { background: none; border: 0; padding: 0; color: #cbd5e1; font: inherit; cursor: pointer; text-align: left; }
.rp-footer button.rp-linkbtn:hover { color: #fff; text-decoration: underline; }

/* ---------- Cookie banner (compact, mobile friendly) ---------- */
#rp-cookie-banner { z-index: 2000; }
#rp-cookie-banner .rp-cookie-banner__card { padding: 18px; border-radius: 14px; max-height: calc(100vh - 32px); overflow-y: auto; }
#rp-cookie-banner .rp-cookie-banner__card h2 { font-size: 1.05rem; color: #fff !important; font-family: var(--rp-head); }
#rp-cookie-banner .rp-cookie-banner__card p { color: #cbd5e1 !important; font-size: 0.86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .rp-posts { grid-template-columns: repeat(2, 1fr); }
  .rp-footer__grid { grid-template-columns: 1fr 1fr; }
  .rp-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .rp-section { padding: 40px 0; }
  .rp-hero { padding: 26px 0 32px; }
  .rp-calc { padding: 16px; border-radius: 12px; }
  .rp-calc__grid { grid-template-columns: 1fr 1fr; }
  .rp-calc__grid .rp-field--country { grid-column: 1 / -1; }
  .rp-calc__grid .rp-field--submit { grid-column: 1 / -1; }
  .rp-calc__grid .rp-field--submit .rp-btn { width: 100%; }
  .rp-advanced__grid { grid-template-columns: 1fr 1fr; }
  .rp-summary { grid-template-columns: 1fr; gap: 8px; }
  .rp-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .rp-stat__value { margin: 0; font-size: 1.05rem; }
  .rp-toolbar__search { max-width: none; flex-basis: 100%; }
  .rp-toolbar__actions { width: 100%; }
  .rp-toolbar__actions .rp-btn { flex: 1 1 0; }
  .rp-grid-3, .rp-grid-2 { grid-template-columns: 1fr; }
  .rp-posts { grid-template-columns: 1fr; }
  .rp-form-row { grid-template-columns: 1fr; gap: 0; }
  .rp-table { min-width: 0; }
  .rp-table th, .rp-table td { padding: 10px 10px; }
  .rp-col-local { display: none; }
  .rp-country__sub { display: block; }
  .rp-table-wrap { max-height: 480px; }
  .ftco-section { padding: 28px 0 40px; }
  .rp-article .table-responsive, .table-responsive { overflow-x: auto; }
  .table { min-width: 520px; }
  .rp-footer { padding: 40px 0 24px; }
  .rp-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .rp-footer__grid > div:first-child { grid-column: 1 / -1; }
  .sidebar { margin-top: 28px; }
}
@media (max-width: 420px) {
  .rp-calc__grid { grid-template-columns: 1fr; }
  .rp-advanced__grid { grid-template-columns: 1fr; }
  .container { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
