@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --rv-blue: #075fff;
  --rv-blue-dark: #0647c8;
  --rv-navy: #07152b;
  --rv-ink: #080d37;
  --rv-text: #53627b;
  --rv-line: #dfe7f0;
  --rv-soft: #f5f8fc;
  --rv-white: #fff;
  --rv-max: 1180px;
  --rv-shadow: 0 16px 40px rgba(8, 28, 58, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; overflow-x: hidden; color: var(--rv-ink); background: #fff; font-family: Montserrat, Arial, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.rv3-shell { width: min(var(--rv-max), calc(100% - 48px)); margin-inline: auto; }
.rv3-skip { position: fixed; top: -80px; left: 12px; z-index: 1000; padding: 10px 14px; color: var(--rv-ink); background: #fff; box-shadow: var(--rv-shadow); }
.rv3-skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(7, 95, 255, .28); outline-offset: 3px; }

.rv3-header { position: sticky; top: 0; z-index: 100; height: 78px; border-bottom: 1px solid var(--rv-line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.rv3-header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.rv3-brand { flex: 0 0 auto; }
.rv3-brand img { width: 178px; height: auto; }
.rv3-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.rv3-menu a { position: relative; color: #172846; font-size: 11.5px; font-weight: 600; }
.rv3-menu a::after { content: ""; position: absolute; right: 0; bottom: -13px; left: 0; height: 2px; background: var(--rv-blue); transform: scaleX(0); transition: transform .2s ease; }
.rv3-menu a:hover, .rv3-menu a.is-current { color: var(--rv-blue); }
.rv3-menu a:hover::after, .rv3-menu a.is-current::after { transform: scaleX(1); }
.rv3-menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; border: 0; background: transparent; }
.rv3-menu-toggle span { width: 22px; height: 2px; background: var(--rv-ink); }
.rv3-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rv3-button:hover { transform: translateY(-1px); }
.rv3-button-primary { color: #fff; background: linear-gradient(110deg, #064edb, var(--rv-blue)); box-shadow: 0 10px 24px rgba(7,95,255,.2); }
.rv3-button-outline { border-color: var(--rv-blue); color: var(--rv-blue); background: #fff; }
.rv3-header-cta { white-space: nowrap; }

.rv3-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rv-line); background: #f7f9fc; }
.rv3-hero-frame { min-height: 440px; position: relative; }
.rv3-hero-art { position: absolute; inset: 0 0 0 32%; min-width: 0; overflow: hidden; }
.rv3-hero-art img { width: 108%; max-width: none; height: 100%; object-fit: cover; object-position: center; transform: translateX(-7.4%); }
.rv3-hero-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #f7f9fc 0%, rgba(247,249,252,.94) 9%, rgba(247,249,252,.48) 27%, rgba(247,249,252,.08) 43%, transparent 58%); pointer-events: none; }
.rv3-hero-copy { position: relative; z-index: 2; width: 62%; padding: 52px 28px 52px 0; }
.rv3-hero h1 { max-width: 730px; margin: 0 0 16px; font-size: clamp(39px, 3.05vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.rv3-hero-title-line { display: block; white-space: nowrap; }
.rv3-hero-copy > p { max-width: 630px; margin: 0; color: #4d5a73; font-family: Lora, Georgia, serif; font-size: 17px; line-height: 1.45; }
.rv3-actions { display: flex; gap: 12px; margin-top: 23px; }

.rv3-pillars { position: relative; z-index: 3; margin-top: 22px; padding-bottom: 30px; }
.rv3-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rv3-pillar { min-height: 78px; display: grid; grid-template-columns: 43px 1fr; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid #eef2f7; border-radius: 7px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(8,28,58,.055); }
.rv3-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--rv-blue); }
.rv3-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rv3-pillar strong, .rv3-pillar span { display: block; }
.rv3-pillar strong { margin-bottom: 3px; font-size: 13px; }
.rv3-pillar span { color: var(--rv-text); font-family: Lora, Georgia, serif; font-size: 11.5px; line-height: 1.35; }

.rv3-section { padding: 38px 0; }
.rv3-soft { background: linear-gradient(180deg, #fff, #f8fafd); }
.rv3-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--rv-blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rv3-eyebrow::after { content: ""; width: 64px; height: 2px; background: var(--rv-blue); }
.rv3-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.rv3-section-head h2 { margin: 7px 0 3px; font-size: clamp(29px, 3vw, 36px); line-height: 1.05; letter-spacing: -.035em; }
.rv3-section-head p { max-width: 900px; margin: 0; color: var(--rv-text); font-family: Lora, Georgia, serif; font-size: 14px; line-height: 1.5; }
.rv3-text-link { flex: 0 0 auto; color: var(--rv-blue); font-size: 11px; font-weight: 700; }

.rv3-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rv3-product { min-height: 274px; position: relative; overflow: hidden; border: 1px solid #dce5ef; border-radius: 7px; background: #fff; box-shadow: 0 10px 25px rgba(8,28,58,.045); }
.rv3-product-image { position: absolute; inset: 0 0 0 38%; }
.rv3-product-image img { width: 100%; height: 100%; object-fit: cover; }
.rv3-product-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 0%, #fff 10%, rgba(255,255,255,.84) 35%, rgba(255,255,255,.12) 72%); }
.rv3-product-copy { position: relative; z-index: 2; width: 58%; padding: 18px 0 17px 20px; }
.rv3-product-kind { color: var(--rv-blue); font-size: 9px; font-weight: 800; }
.rv3-product h3 { margin: 6px 0 8px; font-size: 24px; line-height: 1.05; letter-spacing: -.03em; }
.rv3-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #b9d4ff; border-radius: 999px; color: var(--rv-blue); background: #eff5ff; font-size: 9px; font-weight: 700; }
.rv3-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rv-blue); }
.rv3-product p { margin: 10px 0; color: var(--rv-text); font-family: Lora, Georgia, serif; font-size: 11px; line-height: 1.45; }
.rv3-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.rv3-tags span { padding: 4px 7px; border-radius: 999px; color: #33435d; background: #f0f3f7; font-size: 8px; font-weight: 600; }
.rv3-product a { color: var(--rv-blue); font-size: 10px; font-weight: 700; }
.rv3-value-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding: 13px 0; border-top: 1px solid var(--rv-line); border-bottom: 1px solid var(--rv-line); }
.rv3-value { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 8px; padding: 0 18px; }
.rv3-value + .rv3-value { border-left: 1px solid var(--rv-line); }
.rv3-value strong, .rv3-value span { display: block; }
.rv3-value strong { font-size: 12px; }
.rv3-value span { margin-top: 2px; color: var(--rv-text); font-family: Lora, Georgia, serif; font-size: 10px; line-height: 1.35; }

.rv3-partners { padding: 24px 0; border-bottom: 1px solid #edf1f6; background: #fbfcfe; }
.rv3-partner-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.rv3-partner-head h2 { margin: 4px 0 0; font-size: 18px; }
.rv3-partner-controls { display: flex; gap: 7px; }
.rv3-partner-arrow { width: 31px; height: 31px; padding-bottom: 2px; border: 1px solid #d8e2ee; border-radius: 50%; color: var(--rv-blue); background: #fff; cursor: pointer; }
.rv3-partner-track { display: flex; gap: 11px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rv3-partner-track::-webkit-scrollbar { display: none; }
.rv3-partner-slide { flex: 0 0 calc((100% - 55px)/6); height: 70px; display: grid; place-items: center; overflow: hidden; scroll-snap-align: start; border: 1px solid #e3eaf2; border-radius: 6px; background: #fff; }
.rv3-partner-slide img { width: auto; height: auto; max-width: calc(100% - 14px); max-height: 58px; padding: 0; object-fit: contain; object-position: center; align-self: center; justify-self: center; }

.rv3-content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.rv3-content-card { overflow: hidden; border: 1px solid #dfe7ef; border-radius: 7px; background: #fff; }
.rv3-content-card img { width: 100%; height: 168px; object-fit: cover; }
.rv3-content-body { padding: 15px 17px 16px; }
.rv3-content-type { color: var(--rv-blue); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rv3-content-card h3 { margin: 7px 0 7px; font-size: 18px; line-height: 1.22; letter-spacing: -.025em; }
.rv3-content-card p { margin: 0 0 14px; color: var(--rv-text); font-family: Lora, Georgia, serif; font-size: 11px; line-height: 1.45; }
.rv3-content-card a { color: var(--rv-blue); font-size: 10px; font-weight: 700; }

.rv3-consult { padding: 26px 0; color: #fff; background: linear-gradient(135deg, #07152b, #0d315e); }
.rv3-consult-head { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 34px; margin-bottom: 13px; }
.rv3-consult .rv3-eyebrow { color: #6edfe2; }
.rv3-consult .rv3-eyebrow::after { background: #6edfe2; }
.rv3-consult h2 { margin: 6px 0 0; font-size: 25px; }
.rv3-consult-head > p { margin: 0; color: #bdcada; font-family: Lora, Georgia, serif; font-size: 12px; line-height: 1.45; }
.rv3-consult-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.rv3-consult-card { min-height: 112px; padding: 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; background: rgba(255,255,255,.045); color: #fff; text-align: left; }
.rv3-consult-card span { color: #6edfe2; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.rv3-consult-card h3 { margin: 10px 0 5px; font-size: 13px; line-height: 1.3; }
.rv3-consult-card p { margin: 0; color: #bcc9da; font-size: 9px; line-height: 1.45; }

.rv3-faq { padding-top: 34px; }
.rv3-faq-list { display: grid; gap: 6px; }
.rv3-faq details { border: 1px solid #dfe7f0; border-radius: 7px; background: #fff; }
.rv3-faq summary { display: grid; grid-template-columns: 31px minmax(0, 1fr) 28px; align-items: center; gap: 15px; min-height: 52px; padding: 10px 15px; list-style: none; cursor: pointer; }
.rv3-faq summary::-webkit-details-marker { display: none; }
.rv3-faq-number { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #66758a; background: #eef2f6; font-size: 10px; font-weight: 700; }
.rv3-faq details[open] .rv3-faq-number { color: #fff; background: var(--rv-blue); }
.rv3-faq-question { font-size: 12px; font-weight: 700; line-height: 1.4; }
.rv3-faq-preview { display: none; }
.rv3-faq-chevron { width: 25px; height: 25px; display: grid; place-items: center; justify-self: end; border-radius: 50%; color: var(--rv-blue); background: #f1f6ff; font-size: 17px; line-height: 1; }
.rv3-faq-chevron::before { content: "+"; }
.rv3-faq details[open] .rv3-faq-chevron::before { content: "−"; }
.rv3-faq details[open] summary { border-bottom: 1px solid #edf2f7; }
.rv3-faq-answer { display: none; max-width: 980px; margin: 0; padding: 13px 58px 15px 61px; color: var(--rv-text); font-size: 11.5px; line-height: 1.55; }
.rv3-faq details[open] .rv3-faq-answer { display: block; }

.rv3-footer-cta { position: relative; overflow: hidden; color: #fff; background: #0a1b31; }
.rv3-footer-cta::before { content: ""; position: absolute; inset: 0; opacity: .35; background: linear-gradient(90deg, #07152b 8%, rgba(7,21,43,.74), #07152b), url('../images/hero-territorial-v4.webp') center 57%/cover; }
.rv3-footer-cta-inner { min-height: 104px; position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.rv3-footer-cta h2 { margin: 0 0 5px; font-size: 22px; }
.rv3-footer-cta p { margin: 0; color: #d0d9e5; font-family: Lora, Georgia, serif; font-size: 12px; }
.rv3-footer-actions { display: flex; gap: 10px; }
.rv3-button-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.04); }

.rv3-footer { color: #fff; background: var(--rv-navy); }
.rv3-footer-main { min-height: 116px; display: grid; grid-template-columns: 1.15fr 1fr .7fr 1fr; align-items: center; gap: 30px; padding: 20px 0; }
.rv3-footer-brand img { width: 220px; height: auto; }
.rv3-footer-brand small { display: block; margin-top: 7px; color: #9fb0c4; font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.rv3-contact-item { min-height: 56px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.rv3-contact-item svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.7; }
.rv3-contact-item p, .rv3-contact-item a { margin: 0; color: #e3e9f0; font-size: 10px; line-height: 1.55; }
.rv3-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); color: #9dafc1; font-size: 8px; }
.rv3-footer-bottom > div { display: flex; align-items: center; gap: 12px; }
.rv3-footer-bottom a:hover { color: #fff; }

@media (max-width: 1050px) {
  .rv3-header-cta { display: none; }
  .rv3-menu { gap: 19px; }
  .rv3-hero-art { left: 38%; }
  .rv3-hero-copy { width: 60%; }
  .rv3-hero-title-line { display: inline; white-space: normal; }
  .rv3-product-copy { width: 67%; }
  .rv3-partner-slide { flex-basis: calc((100% - 44px)/5); }
  .rv3-footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .rv3-menu-toggle { display: flex; }
  .rv3-menu { display: none; position: absolute; top: 78px; right: 0; left: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 14px 24px 20px; border-bottom: 1px solid var(--rv-line); background: #fff; box-shadow: var(--rv-shadow); }
  .rv3-menu.is-open { display: flex; }
  .rv3-menu a { padding: 11px 0; border-bottom: 1px solid #edf1f6; }
  .rv3-menu a::after { display: none; }
  .rv3-hero-frame { min-height: 430px; }
  .rv3-hero-art { left: 42%; }
  .rv3-hero-copy { width: 64%; padding-right: 26px; }
  .rv3-hero h1 { font-size: clamp(37px, 5.4vw, 46px); }
  .rv3-pillar-grid { grid-template-columns: 1fr 1fr; }
  .rv3-product-grid, .rv3-content-grid { grid-template-columns: 1fr; }
  .rv3-product { min-height: 255px; }
  .rv3-value-strip { grid-template-columns: 1fr; }
  .rv3-value { padding: 11px 18px; }
  .rv3-value + .rv3-value { border-top: 1px solid var(--rv-line); border-left: 0; }
  .rv3-partner-slide { flex-basis: calc((100% - 22px)/3); }
  .rv3-consult-grid { grid-template-columns: 1fr 1fr; }
  .rv3-faq summary { grid-template-columns: 31px 1fr 28px; }
  .rv3-footer-cta-inner { align-items: flex-start; flex-direction: column; padding: 25px 0; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 70px; }
  .rv3-shell { width: min(var(--rv-max), calc(100% - 28px)); }
  .rv3-header { height: 70px; }
  .rv3-header-inner { gap: 12px; }
  .rv3-brand img { width: 154px; }
  .rv3-menu { top: 70px; }
  .rv3-hero { min-height: auto; padding-bottom: 0; }
  .rv3-hero-frame { min-height: 0; display: flex; flex-direction: column; }
  .rv3-hero-art { position: relative; inset: auto; order: 2; height: 220px; opacity: 1; }
  .rv3-hero-art img { width: 100%; transform: none; }
  .rv3-hero-art::before { background: linear-gradient(180deg, #f7f9fc, transparent 30%); }
  .rv3-hero-copy { order: 1; width: auto; padding: 34px 0 23px; }
  .rv3-hero h1 { font-size: clamp(32px, 9vw, 38px); }
  .rv3-hero-copy > p { font-size: 15px; }
  .rv3-actions { align-items: stretch; }
  .rv3-actions .rv3-button { flex: 1; padding-inline: 12px; }
  .rv3-pillars { margin-top: 0; padding-top: 15px; }
  .rv3-pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .rv3-pillar { min-height: 102px; grid-template-columns: 1fr; align-content: start; gap: 5px; padding: 12px; }
  .rv3-pillar .rv3-icon { width: 30px; height: 30px; }
  .rv3-pillar .rv3-icon svg { width: 26px; height: 26px; }
  .rv3-section { padding: 32px 0; }
  .rv3-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rv3-section-head h2 { font-size: 29px; }
  .rv3-product { min-height: 360px; }
  .rv3-product-image { inset: 45% 0 0; }
  .rv3-product-image::before { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.75) 20%, transparent 58%); }
  .rv3-product-copy { width: 100%; padding: 18px 18px 0; }
  .rv3-partner-slide { flex-basis: calc((100% - 11px)/2); height: 64px; }
  .rv3-partner-slide img { max-height: 52px; }
  .rv3-content-card img { height: 150px; }
  .rv3-consult-head { grid-template-columns: 1fr; gap: 8px; }
  .rv3-consult-grid { grid-template-columns: 1fr; }
  .rv3-faq summary { gap: 10px; padding: 10px; }
  .rv3-faq-answer { padding: 12px 16px 14px 55px; }
  .rv3-footer-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .rv3-footer-main { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .rv3-contact-item { padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .rv3-footer-bottom { align-items: flex-start; flex-direction: column; }
  .rv3-footer-bottom > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
