/* Elementor sector adapter. Visual values come only from Rubicello tokens. */
.rpa-sector-page {
  --rpa-ink: var(--rbc-ink);
  --rpa-muted: var(--rbc-muted);
  --rpa-wine: var(--rbc-brand-dark);
  --rpa-wine-dark: var(--rbc-brand-deep);
  --rpa-gold: var(--rbc-gold);
  --rpa-ivory: var(--rbc-bg-warm);
  --rpa-line: var(--rbc-border);
  color: var(--rbc-ink);
  background: #fff;
  font-family: var(--rbc-font-ui);
}
.rpa-sector-page, .rpa-sector-page * { box-sizing: border-box; }
.rpa-sector-page,
.rpa-sector-section,
.rpa-sector-heading,
.rpa-sector-fact,
.rpa-sector-card {
  display: flex;
  flex-direction: column;
}
.rpa-sector-page, .rpa-sector-section { align-items: stretch; }
.rpa-sector-heading { gap: 10px; }
.rpa-sector-fact { gap: 6px; }
.rpa-sector-card { gap: 12px; }
.rpa-sector-page > .e-con-inner { max-width: none !important; }
.rpa-sector-section { width: 100%; padding: var(--rbc-section-space) max(20px, calc((100vw - var(--rbc-container)) / 2)); }
.rpa-sector-hero { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); background: linear-gradient(125deg, #fff 0%, var(--rbc-bg-warm) 62%, #efe5de 100%); }
.rpa-sector-hero::after { position: absolute; right: -10%; bottom: -55%; width: 55%; aspect-ratio: 1; border: 1px solid rgba(179, 145, 84, .22); border-radius: 50%; content: ""; pointer-events: none; }
.rpa-sector-breadcrumbs { margin-bottom: 24px; color: var(--rbc-muted); font-size: var(--rbc-small); }
.rpa-sector-breadcrumbs a { color: inherit; text-decoration: none; }
.rpa-sector-kicker .elementor-heading-title { margin: 0; color: var(--rbc-brand-dark); font-family: var(--rbc-font-ui); font-size: var(--rbc-eyebrow); font-weight: 800; line-height: 1.35; letter-spacing: .16em; text-transform: uppercase; }
.rpa-sector-title .elementor-heading-title { max-width: 900px; margin: 0; color: var(--rbc-ink); font-family: var(--rbc-font-display); font-size: var(--rbc-h1); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.rpa-sector-lead { max-width: 760px; }
.rpa-sector-lead, .rpa-sector-copy { color: var(--rbc-muted); font-size: var(--rbc-body-large); line-height: 1.75; }
.rpa-sector-actions { display: flex; flex-flow: row wrap; gap: 12px; margin-top: 12px; }
.rpa-sector-actions .elementor-button { min-height: var(--rbc-control-height); display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; color: #fff; border: 1px solid var(--rbc-brand-dark); border-radius: var(--rbc-radius-sm); background: var(--rbc-brand-dark); box-shadow: none; font-family: var(--rbc-font-ui); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rpa-sector-actions .rpa-button-secondary .elementor-button { color: var(--rbc-brand-dark); background: #fff; }
.rpa-sector-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; padding-bottom: 0; border-block: 1px solid var(--rbc-border); background: #fff; }
.rpa-sector-fact { min-height: 120px; justify-content: center; padding: 24px; border-right: 1px solid var(--rbc-border); }
.rpa-sector-fact:last-child { border-right: 0; }
.rpa-sector-fact .elementor-heading-title { margin: 0; color: var(--rbc-brand-dark); font: 600 20px/1.25 var(--rbc-font-display); }
.rpa-sector-fact .elementor-widget-text-editor { color: var(--rbc-muted); font-size: 14px; line-height: 1.55; }
.rpa-sector-heading { max-width: 820px; margin: 0 auto 38px; text-align: center; }
.rpa-sector-heading > .elementor-widget-heading:not(.rpa-sector-kicker) .elementor-heading-title { margin: 0; color: var(--rbc-ink); font: 500 var(--rbc-h2)/1.12 var(--rbc-font-display); letter-spacing: -.035em; text-wrap: balance; }
.rpa-sector-heading .elementor-widget-text-editor { max-width: 760px; margin: 0 auto; color: var(--rbc-muted); font-size: 17px; line-height: 1.75; }
.rpa-sector-soft { background: var(--rbc-bg-warm); }
.rpa-sector-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rpa-sector-card { min-width: 0; padding: 28px; border: 1px solid var(--rbc-border); border-radius: var(--rbc-radius-lg); background: #fff; box-shadow: var(--rbc-shadow-sm); }
.rpa-sector-card .elementor-heading-title { margin: 0; color: var(--rbc-ink); font: 600 var(--rbc-h3)/1.3 var(--rbc-font-display); }
.rpa-sector-card .elementor-widget-text-editor { color: var(--rbc-muted); line-height: 1.7; }
.rpa-sector-number .elementor-heading-title { color: var(--rbc-gold); font: 850 12px/1.3 var(--rbc-font-ui); letter-spacing: .13em; text-transform: uppercase; }
.rpa-sector-products .rpa-listing { margin: 0; }
.rpa-sector-products .rpa-listing__title { display: none; }
.rpa-sector-dark {
  color: #fff;
  background-color: var(--rbc-brand-deep, #571014);
  background-image: linear-gradient(135deg, var(--rbc-brand-deep, #571014), #171516);
}
.rpa-sector-dark .rpa-sector-heading :where(.elementor-heading-title, .elementor-widget-text-editor), .rpa-sector-dark .rpa-sector-card :where(.elementor-heading-title, .elementor-widget-text-editor) { color: #fff; }
.rpa-sector-dark .rpa-sector-heading > .elementor-widget-heading:not(.rpa-sector-kicker) .elementor-heading-title { color: #fff; }
.rpa-sector-dark .rpa-sector-heading .elementor-widget-text-editor, .rpa-sector-dark .rpa-sector-card .elementor-widget-text-editor { opacity: .82; }
.rpa-sector-dark .rpa-sector-card { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .065); box-shadow: none; }
.rpa-sector-dark .rpa-sector-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rpa-sector-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rpa-related-link { height: 100%; }
.rpa-related-link .elementor-button { width: 100%; min-height: 74px; display: inline-flex; align-items: center; justify-content: space-between; padding: 18px 20px; color: var(--rbc-ink); border: 1px solid var(--rbc-border); border-radius: var(--rbc-radius-lg); background: #fff; box-shadow: var(--rbc-shadow-sm); font: 800 15px/1.25 var(--rbc-font-ui); text-align: left; }
.rpa-sector-final { text-align: center; background: linear-gradient(125deg, #fff, var(--rbc-bg-warm)); }
.rpa-sector-final .rpa-sector-heading { margin-bottom: 22px; }
.rpa-sector-final .rpa-sector-actions { justify-content: center; }
.rpa-sector-page .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .rpa-sector-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpa-sector-fact:nth-child(2) { border-right: 0; }
  .rpa-sector-fact:nth-child(-n + 2) { border-bottom: 1px solid var(--rbc-border); }
  .rpa-sector-cards, .rpa-sector-related { grid-template-columns: 1fr 1fr; }
  .rpa-sector-cards .rpa-sector-card:last-child, .rpa-sector-related .rpa-related-link:last-child { grid-column: 1 / -1; }
  .rpa-sector-dark .rpa-sector-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpa-sector-dark .rpa-sector-cards .rpa-sector-card:last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  .rpa-sector-section { padding: 46px 20px; }
  .rpa-sector-hero { padding-top: 36px; padding-bottom: 48px; }
  .rpa-sector-title .elementor-heading-title { font-size: var(--rbc-h1); }
  .rpa-sector-lead, .rpa-sector-copy { font-size: var(--rbc-body); }
  .rpa-sector-actions { display: grid; grid-template-columns: 1fr; }
  .rpa-sector-actions :where(.elementor-widget-button, .elementor-button) { width: 100%; }
  .rpa-sector-trust, .rpa-sector-cards, .rpa-sector-related { grid-template-columns: 1fr; }
  .rpa-sector-dark .rpa-sector-cards { grid-template-columns: 1fr; }
  .rpa-sector-fact, .rpa-sector-fact:nth-child(2) { min-height: 94px; border-right: 0; border-bottom: 1px solid var(--rbc-border); }
  .rpa-sector-fact:last-child { border-bottom: 0; }
  .rpa-sector-cards .rpa-sector-card:last-child, .rpa-sector-related .rpa-related-link:last-child { grid-column: auto; }
  .rpa-sector-card { padding: 24px; }
}
