:root {
    --rawa-navy: #171744;
    --rawa-navy-dark: #0b0e2b;
    --rawa-violet: #5f56c9;
    --rawa-violet-dark: #4d45b2;
    --rawa-orange: #8a839f;
    --rawa-yellow: #e9e8f6;
    --rawa-green: #1e9b70;
    --rawa-ink: #1c2230;
    --rawa-muted: #687083;
    --rawa-surface: #ffffff;
    --rawa-bg: #f5f7fa;
    --rawa-border: #e2e6ec;
    --rawa-shadow: 0 18px 50px rgba(19, 24, 51, 0.09);
    --container: 1240px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--rawa-ink); background: var(--rawa-surface); font-family: "Golos Text", Arial, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--rawa-navy); font-family: "Manrope", Arial, sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
code { padding: .1em .35em; background: #eeeff7; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; z-index: 9999; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: #fff; color: var(--rawa-navy); border-radius: 10px; }

.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(11, 14, 43, .95); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(8, 11, 31, .18); background: rgba(11, 14, 43, .99); }
.site-header__inner { min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.site-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.site-logo img { width: 220px; max-height: 62px; object-fit: contain; }
.site-navigation { flex: 1; display: flex; justify-content: center; }
.menu { display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.menu a { display: inline-flex; padding: 11px 13px; color: rgba(255,255,255,.84); border-radius: 12px; font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 600; transition: color .2s ease, background .2s ease; }
.menu a:hover, .menu .current-menu-item > a { color: #fff; background: rgba(255,255,255,.09); }
.menu-item-has-children { position: relative; }
.sub-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; padding: 10px; margin: 0; list-style: none; background: #fff; color: var(--rawa-ink); border: 1px solid var(--rawa-border); border-radius: 16px; box-shadow: var(--rawa-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 14px; }
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { width: 100%; color: var(--rawa-ink); }
.sub-menu a:hover { color: var(--rawa-navy); background: var(--rawa-bg); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; color: #fff; font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 700; white-space: nowrap; }
.header-phone small { color: rgba(255,255,255,.55); font-family: "Golos Text", sans-serif; font-size: 11px; font-weight: 400; }
.menu-toggle, .site-navigation__mobile-actions { display: none; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(95, 86, 201, .22); outline-offset: 3px; }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button--primary { color: #fff; background: var(--rawa-violet); box-shadow: 0 12px 24px rgba(95, 86, 201, .18); }
.button--primary:hover { background: var(--rawa-violet-dark); }
.button--secondary { color: var(--rawa-navy); background: #fff; border-color: var(--rawa-border); }
.button--ghost { min-height: 44px; color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.button--light { color: var(--rawa-navy); background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.16); }
.button--outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.button--outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; padding: 0; color: var(--rawa-violet); background: none; border: 0; font-family: "Manrope", sans-serif; font-weight: 700; }
.text-link--light { color: #fff; }

.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: var(--rawa-navy-dark); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(132,30,223,.10) 0%, transparent 34%), linear-gradient(300deg, rgba(30,223,142,.045) 0%, transparent 28%), linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: auto, auto, 42px 42px, 42px 42px; pointer-events: none; }
.hero__grid { position: relative; min-height: 690px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(430px,.92fr); align-items: center; gap: 58px; padding-block: 90px 120px; }
.hero__content { max-width: 760px; }
.hero h1, .page-hero h1, .section--dark h2, .section--final h2 { color: #fff; }
.hero p, .page-hero p { max-width: 690px; color: rgba(255,255,255,.72); font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: rgba(255,255,255,.70); font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--dark { color: var(--rawa-violet); }

/* Hero symbol repeats the four rounded triangles from the RawaNet logo. */
.hero-art { position: relative; width: min(100%, 590px); aspect-ratio: 3.05 / 1; margin-left: auto; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: -35% -12%; background: linear-gradient(90deg, rgba(132,30,223,.13), rgba(223,153,30,.08) 35%, rgba(223,201,30,.07) 65%, rgba(30,223,142,.10)); filter: blur(55px); opacity: .75; transform: skewX(-8deg); }
.hero-art__shape { position: absolute; top: 15%; height: 70%; background: currentColor; filter: drop-shadow(0 22px 30px rgba(0,0,0,.24)); animation: rawanetTriangleFloat 7.5s ease-in-out infinite; transform-origin: 50% 55%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.hero-art__shape::after { content: none; }
.hero-art__shape--one { left: 0; width: 19%; color: #841edf; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E"); }
.hero-art__shape--two { left: 22%; width: 24%; color: #df991e; animation-delay: -1.4s; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M50 5Q56 5 60 13L96 80Q100 88 95 94Q92 97 84 97H16Q8 97 5 92Q2 87 6 79L42 13Q45 5 50 5Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M50 5Q56 5 60 13L96 80Q100 88 95 94Q92 97 84 97H16Q8 97 5 92Q2 87 6 79L42 13Q45 5 50 5Z'/%3E%3C/svg%3E"); }
.hero-art__shape--three { left: 49%; width: 24%; color: #dfc91e; animation-delay: -2.8s; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M16 4H84Q92 4 95 10Q98 15 94 23L58 90Q55 97 50 97Q44 97 40 90L4 23Q0 15 5 9Q8 4 16 4Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M16 4H84Q92 4 95 10Q98 15 94 23L58 90Q55 97 50 97Q44 97 40 90L4 23Q0 15 5 9Q8 4 16 4Z'/%3E%3C/svg%3E"); }
.hero-art__shape--four { right: 0; width: 24%; color: #1edf8e; animation-delay: -4.2s; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M50 5Q56 5 60 13L96 80Q100 88 95 94Q92 97 84 97H16Q8 97 5 92Q2 87 6 79L42 13Q45 5 50 5Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M50 5Q56 5 60 13L96 80Q100 88 95 94Q92 97 84 97H16Q8 97 5 92Q2 87 6 79L42 13Q45 5 50 5Z'/%3E%3C/svg%3E"); }
.hero-art__core { display: none; }
@keyframes rawanetFloat { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(0,-10px,0) rotate(2deg); } }

.coverage-check { position: relative; z-index: 4; margin-top: -72px; }
.coverage-check__panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px; padding: 42px; background: #fff; border: 1px solid rgba(20,15,92,.08); border-radius: var(--radius-lg); box-shadow: var(--rawa-shadow); }
.coverage-check__panel h2 { font-size: clamp(1.9rem,3vw,2.55rem); }
.coverage-check__panel p { color: var(--rawa-muted); }
.settlement-search { position: relative; z-index: 20; }
.settlement-search__field { position: relative; }
.settlement-search__field svg { position: absolute; top: 50%; left: 18px; width: 22px; height: 22px; fill: none; stroke: var(--rawa-violet); stroke-width: 1.8; transform: translateY(-50%); }
.settlement-search input { width: 100%; height: 60px; padding: 0 18px 0 52px; color: var(--rawa-ink); background: #fff; border: 1px solid var(--rawa-border); border-radius: 17px; box-shadow: 0 8px 26px rgba(20,15,92,.07); }
.settlement-search input:focus { border-color: rgba(95,86,201,.52); }
.settlement-search__dropdown { position: absolute; z-index: 100; top: calc(100% + 8px); left: 0; width: 100%; max-height: 330px; overflow: auto; padding: 8px; background: #fff; border: 1px solid var(--rawa-border); border-radius: 18px; box-shadow: var(--rawa-shadow); }
.settlement-search__option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 14px; border-radius: 12px; }
.settlement-search__option:hover, .settlement-search__option.is-active { background: var(--rawa-bg); }
.settlement-search__option span { font-weight: 600; }
.settlement-search__option small { text-align: right; }
.settlement-search__empty { padding: 18px; }
.settlement-search__empty strong, .settlement-search__empty span { display: block; }
.settlement-search__empty span { margin: 5px 0 12px; color: var(--rawa-muted); font-size: 14px; }

.section { padding-block: 105px; }
.section--soft { background: var(--rawa-bg); }
.section--dark { color: #fff; background: var(--rawa-navy-dark); }
.section--final { color: #fff; background: linear-gradient(120deg, var(--rawa-violet), var(--rawa-navy)); }
.section--page { padding-top: 70px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { max-width: 760px; }
.section-heading--center { justify-content: center; text-align: center; }
.tariff-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.tariff-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 28px; background: #fff; border: 1px solid var(--rawa-border); border-radius: 24px; box-shadow: 0 12px 35px rgba(20,15,92,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tariff-card:hover { transform: translateY(-6px); border-color: rgba(95,86,201,.24); box-shadow: var(--rawa-shadow); }
.tariff-card--featured { border-color: rgba(132,30,223,.42); }
.tariff-card__badge { position: absolute; top: 18px; right: 18px; padding: 6px 10px; color: var(--rawa-navy); background: #eceaf8; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.tariff-card__top small { color: var(--rawa-violet); font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.tariff-card__top h3 { margin-top: 10px; font-size: 1.65rem; }
.tariff-card__top p { min-height: 3.4em; color: var(--rawa-muted); font-size: 15px; }
.tariff-card__speed { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.tariff-card__speed strong { color: var(--rawa-navy); font-family: "Manrope", sans-serif; font-size: 2.8rem; line-height: 1; }
.tariff-card__speed span, .tariff-card__price span { color: var(--rawa-muted); font-size: 14px; }
.tariff-card__price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--rawa-border); }
.tariff-card__price strong { color: var(--rawa-violet); font-family: "Manrope", sans-serif; font-size: 1.55rem; }
.tariff-card ul { flex: 1; padding: 0; margin: 20px 0 25px; list-style: none; }
.tariff-card li { position: relative; padding-left: 25px; margin: 9px 0; color: var(--rawa-muted); font-size: 14px; }
.tariff-card li::before { content: "✓"; position: absolute; left: 0; color: var(--rawa-violet); font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.feature-card { padding: 26px; background: #fff; border: 1px solid var(--rawa-border); border-radius: 20px; }
.feature-card > span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 26px; color: var(--rawa-violet); background: rgba(95,86,201,.08); border-radius: 13px; font-family: "Manrope", sans-serif; font-weight: 700; }
.feature-card p { color: var(--rawa-muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.service-card { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; background: var(--rawa-navy); border-radius: 24px; overflow: hidden; transition: transform .25s ease; }
.service-card:hover { transform: translateY(-5px); }
.service-card--large { grid-column: span 2; min-height: 330px; }
.service-card--violet { background: linear-gradient(145deg, #403b83, var(--rawa-navy)); }
.service-card--green { color: var(--rawa-navy); background: #f0f1f7; border: 1px solid var(--rawa-border); }
.service-card small { margin-bottom: auto; font-family: "Manrope", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .72; }
.service-card h3 { color: inherit; font-size: 1.8rem; }
.service-card p { max-width: 560px; color: inherit; opacity: .78; }
.service-card > span { font-family: "Manrope", sans-serif; font-weight: 700; }
.business-cta, .final-cta, .support-strip { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.business-cta > div, .final-cta > div { max-width: 780px; }
.business-cta p { color: rgba(255,255,255,.7); }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.news-card { padding: 26px; background: #fff; border: 1px solid var(--rawa-border); border-radius: 20px; }
.news-card time, .post-date { color: var(--rawa-violet); font-size: 13px; font-weight: 600; }
.news-card h2, .news-card h3 { margin-top: 14px; }
.news-card p { color: var(--rawa-muted); font-size: 15px; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.empty-panel { grid-column: 1 / -1; padding: 35px; text-align: center; background: var(--rawa-bg); border: 1px dashed #cfd3e0; border-radius: 20px; }

.page-hero__grid { position: relative; min-height: 430px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-block: 75px; }
.page-hero--simple { padding-block: 90px; }
.page-hero--simple > .container { position: relative; }
.page-hero--simple h1 { max-width: 900px; }
.archive-description { color: rgba(255,255,255,.7); }
.settlement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.settlement-card { position: relative; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: #fff; border: 1px solid var(--rawa-border); border-radius: 20px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.settlement-card:hover { transform: translateY(-4px); border-color: rgba(95,86,201,.24); box-shadow: var(--rawa-shadow); }
.settlement-card h3 { margin: 24px 0 0; }
.settlement-card__arrow { position: absolute; right: 24px; bottom: 22px; color: var(--rawa-violet); font-size: 1.5rem; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--rawa-muted); font-size: 12px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--available { color: #0d9d61; }
.status--check { color: #b57912; }
.status--planned { color: var(--rawa-violet); }
.status--none { color: #8b8f9b; }
.status--large { margin-bottom: 20px; color: #7bd5b0; font-size: 14px; }
.settlement-summary { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 24px; backdrop-filter: blur(16px); }
.settlement-summary small { color: rgba(255,255,255,.55); }
.settlement-summary strong { font-family: "Manrope", sans-serif; font-size: 2rem; }
.settlement-summary span { color: rgba(255,255,255,.7); }
.tariff-filter { display: inline-flex; gap: 7px; padding: 6px; margin-bottom: 30px; background: var(--rawa-bg); border-radius: 15px; }
.tariff-filter button { padding: 10px 18px; color: var(--rawa-muted); background: transparent; border: 0; border-radius: 11px; font-family: "Manrope", sans-serif; font-weight: 700; }
.tariff-filter button.is-active { color: #fff; background: var(--rawa-violet); }
.content-layout { max-width: 960px; }
.entry-content { font-size: 18px; }
.entry-content h2 { margin-top: 1.7em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content a { color: var(--rawa-violet); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 18px; }
.entry-cover { margin-bottom: 34px; }
.pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rawa-border); border-radius: 11px; }
.page-numbers.current { color: #fff; background: var(--rawa-violet); border-color: var(--rawa-violet); }
.not-found { min-height: 70vh; display: grid; place-items: center; padding-block: 100px; background: var(--rawa-bg); }
.not-found__content { text-align: center; }
.not-found__code { display: block; color: var(--rawa-violet); font-family: "Manrope", sans-serif; font-size: clamp(5rem,18vw,12rem); font-weight: 700; line-height: .9; opacity: .15; }
.not-found__actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

.site-footer { padding-top: 75px; color: rgba(255,255,255,.7); background: #09062e; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 55px; }
.site-logo--footer img { width: 210px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.site-footer__brand p { max-width: 330px; }
.footer-social, .footer-phone { color: #fff; font-weight: 600; }
.footer-phone { display: block; margin-bottom: 6px; font-family: "Manrope", sans-serif; font-size: 1.1rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.11); font-size: 14px; }
.mobile-action-bar { display: none; }

.modal { position: fixed; z-index: 5000; inset: 0; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,6,40,.72); backdrop-filter: blur(7px); }
.modal__dialog { position: relative; z-index: 1; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; background: #fff; border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal__dialog--wide { width: min(100%, 720px); }
.modal__dialog > p { color: var(--rawa-muted); }
.modal__close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; color: var(--rawa-navy); background: var(--rawa-bg); border: 0; border-radius: 50%; font-size: 28px; line-height: 1; }
.rawanet-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label, .client-switch legend { display: block; margin-bottom: 7px; color: var(--rawa-navy); font-size: 14px; font-weight: 600; }
.field input, .field select, .rawanet-form select { width: 100%; height: 52px; padding: 0 14px; color: var(--rawa-ink); background: #fff; border: 1px solid var(--rawa-border); border-radius: 13px; }
.field input:focus, .field select:focus, .rawanet-form select:focus { border-color: rgba(95,86,201,.52); }
.client-switch { display: flex; align-items: center; gap: 16px; padding: 0; margin: 0 0 16px; border: 0; }
.client-switch legend { width: 100%; }
.client-switch label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; color: var(--rawa-muted); font-size: 13px; }
.checkbox-field input { margin-top: 4px; }
.checkbox-field a { color: var(--rawa-violet); text-decoration: underline; }
.field-error { display: block; min-height: 1.2em; margin-top: 4px; color: #c53434; font-size: 12px; }
.form-message { margin: 10px 0; padding: 0; font-size: 14px; }
.form-message.is-success, .form-message.is-error { padding: 12px 14px; border-radius: 12px; }
.form-message.is-success { color: #087347; background: rgba(30,155,112,.11); }
.form-message.is-error { color: #a22020; background: rgba(220,50,50,.09); }
.honeypot { position: absolute !important; left: -9999px !important; }
.selected-tariff { padding: 13px 15px; margin-bottom: 16px; background: rgba(95,86,201,.07); border: 1px solid rgba(95,86,201,.14); border-radius: 13px; }
.selected-tariff small, .selected-tariff strong { display: block; }
.selected-tariff small { color: var(--rawa-muted); font-size: 12px; }
.selected-tariff strong { color: var(--rawa-violet); }

@keyframes rawanetTriangleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.018); }
}

@media (max-width: 1160px) {
    .header-phone, .header-cabinet { display: none; }
    .site-logo img { width: 190px; }
    .menu a { padding-inline: 9px; font-size: 13px; }
}

@media (max-width: 980px) {
    :root { --header-height: 74px; }
    .container { width: min(calc(100% - 30px), var(--container)); }
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 10px; background: transparent; border: 0; }
    .menu-toggle span:not(.screen-reader-text) { width: 25px; height: 2px; background: #fff; border-radius: 2px; transition: .2s ease; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-navigation { position: fixed; top: var(--header-height); right: 0; bottom: 0; width: min(88vw, 390px); display: flex; flex-direction: column; justify-content: flex-start; padding: 22px; background: #0b0738; transform: translateX(105%); transition: transform .25s ease; overflow: auto; }
    .site-navigation.is-open { transform: none; box-shadow: -25px 0 70px rgba(0,0,0,.3); }
    .menu { display: block; }
    .menu li { margin-bottom: 4px; }
    .menu a { width: 100%; padding: 14px; font-size: 15px; }
    .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0 12px; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .sub-menu a { color: rgba(255,255,255,.65); }
    .site-navigation__mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
    .site-header__actions { display: none; }
    .hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 78px 125px; }
    .hero-art { width: min(92vw, 590px); margin: 0 auto; }
    .coverage-check__panel, .page-hero__grid { grid-template-columns: 1fr; }
    .tariff-grid, .news-grid, .settlement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .site-footer__grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    body { font-size: 16px; padding-bottom: 62px; }
    .container { width: min(calc(100% - 24px), var(--container)); }
    .site-logo img { width: 176px; }
    .hero__grid { gap: 35px; padding-block: 62px 110px; }
    .hero p, .page-hero p { font-size: 1rem; }
    .hero__actions, .final-cta__actions { display: grid; grid-template-columns: 1fr; }
    .hero__actions .button, .final-cta__actions .button { width: 100%; }
    .coverage-check { margin-top: -70px; }
    .coverage-check__panel { gap: 24px; padding: 25px; border-radius: 23px; }
    .settlement-search__option { align-items: flex-start; flex-direction: column; gap: 2px; }
    .settlement-search__option small { text-align: left; }
    .section { padding-block: 72px; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
    .tariff-grid, .feature-grid, .news-grid, .settlement-grid, .service-grid { grid-template-columns: 1fr; }
    .service-card--large { grid-column: auto; min-height: 280px; }
    .business-cta, .final-cta, .support-strip { align-items: flex-start; flex-direction: column; }
    .page-hero__grid { min-height: auto; padding-block: 62px; }
    .page-hero--simple { padding-block: 65px; }
    .tariff-filter { width: 100%; overflow-x: auto; }
    .tariff-filter button { white-space: nowrap; }
    .site-footer { padding-top: 60px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__grid > div:last-child { grid-column: auto; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; margin-top: 38px; }
    .mobile-action-bar { position: fixed; z-index: 1400; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; height: 62px; background: #fff; border-top: 1px solid var(--rawa-border); box-shadow: 0 -8px 30px rgba(20,15,92,.1); }
    .mobile-action-bar a, .mobile-action-bar button { display: flex; align-items: center; justify-content: center; padding: 0; font-family: "Manrope", sans-serif; font-weight: 700; border: 0; }
    .mobile-action-bar a { color: var(--rawa-navy); background: #fff; }
    .mobile-action-bar button { color: #fff; background: var(--rawa-violet); }
    .modal { align-items: end; padding: 0; }
    .modal__dialog { width: 100%; max-height: 92vh; padding: 27px 20px 24px; border-radius: 24px 24px 0 0; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .not-found__actions { flex-direction: column; }
}

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




/* RawaNet restrained ISP palette v0.2.2 — branded triangle hero */
.hero { background: linear-gradient(135deg, #090b28 0%, #12153b 58%, #171a43 100%); }
.eyebrow--dark { color: #5c54bd; }
.tariff-card__badge { color: var(--rawa-navy); border: 1px solid #dcd9ef; }
.service-card { background: linear-gradient(145deg, #171a46, #0f1234); border: 1px solid rgba(255,255,255,.08); }
.service-card--violet { background: linear-gradient(145deg, #35316f, #161943); }
.service-card--green { color: var(--rawa-navy); background: #f2f3f8; border: 1px solid var(--rawa-border); }
.section--dark, .section--final { background: #101332; }
.feature-card span { color: #5f56c9; background: #efeff9; }
.news-card time, .post-date { color: #655dc2; }

@media (max-width: 700px) {
    .hero-art { width: 100%; max-width: 520px; aspect-ratio: 3.05 / 1; }
    .hero-art__shape { top: 12%; height: 76%; filter: drop-shadow(0 15px 22px rgba(0,0,0,.22)); }
}

/* ========================================================================== 
   RawaNet brand system v0.2.3
   White + navy foundation, functional brand accents, triangle-driven UI
   ========================================================================== */

:root {
    --rawa-navy: #140f5c;
    --rawa-navy-dark: #0c093c;
    --rawa-navy-soft: #211b71;
    --rawa-violet: #841edf;
    --rawa-violet-dark: #6814bc;
    --rawa-orange: #df991e;
    --rawa-orange-dark: #a96700;
    --rawa-yellow: #dfc91e;
    --rawa-yellow-dark: #927f00;
    --rawa-green: #1edf8e;
    --rawa-green-dark: #0fae6d;
    --rawa-green-ink: #073c2b;
    --rawa-ink: #1c2230;
    --rawa-muted: #667085;
    --rawa-surface: #ffffff;
    --rawa-bg: #f8f9fa;
    --rawa-border: #e5e8ef;
    --rawa-shadow: 0 18px 48px rgba(20, 15, 92, .09);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 18px;
}

body {
    color: var(--rawa-ink);
    background: var(--rawa-bg);
}

/* Soft geometry across the entire UI. */
.tariff-card,
.feature-card,
.news-card,
.settlement-card,
.service-card,
.empty-panel,
.coverage-check__panel,
.settlement-summary,
.modal__dialog,
.selected-tariff {
    border-radius: 16px;
}

.field input,
.field select,
.rawanet-form select,
.settlement-search input,
.settlement-search__dropdown,
.form-message.is-success,
.form-message.is-error {
    border-radius: 14px;
}

/* Header stays navy and infrastructural rather than playful. */
.site-header,
.site-header.is-scrolled {
    background: rgba(20, 15, 92, .97);
    border-bottom-color: rgba(255, 255, 255, .10);
}

.menu a:hover,
.menu .current-menu-item > a {
    background: rgba(255, 255, 255, .10);
}

/* --------------------------------------------------------------------------
   Triangle button language
   -------------------------------------------------------------------------- */
.button {
    position: relative;
    min-height: 52px;
    gap: 10px;
    padding-inline: 21px 18px;
    overflow: hidden;
    border-radius: 14px;
    letter-spacing: -.01em;
    box-shadow: none;
    transition: transform .22s ease, background-color .22s ease,
                border-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.button::after {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    background: currentColor;
    opacity: .9;
    transition: transform .22s ease;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E");
}

.button:hover {
    transform: translateX(3px);
}

.button:hover::after {
    transform: translateX(3px) scale(1.06);
}

.button--primary {
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
    border-color: var(--rawa-green);
    box-shadow: 0 12px 26px rgba(30, 223, 142, .20);
}

.button--primary:hover {
    color: #052f22;
    background: #25e49a;
    border-color: #25e49a;
    box-shadow: 0 15px 30px rgba(30, 223, 142, .28);
}

.button--secondary {
    color: var(--rawa-navy);
    background: #fff;
    border-color: rgba(20, 15, 92, .18);
}

.button--secondary:hover {
    border-color: rgba(20, 15, 92, .38);
    box-shadow: 0 12px 24px rgba(20, 15, 92, .09);
}

.button--ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
}

.button--light {
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
    border-color: var(--rawa-green);
    box-shadow: 0 12px 26px rgba(30, 223, 142, .18);
}

.button--light:hover {
    color: #052f22;
    background: #25e49a;
    border-color: #25e49a;
}

.button--outline-light {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .42);
}

.button--outline-light:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .75);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
button:focus-visible {
    outline-color: rgba(30, 223, 142, .34);
}

.text-link {
    color: #0b9560;
}

.text-link::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: 8px;
    background: currentColor;
    transition: transform .2s ease;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.text-link:hover::after {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Main hero: light, airy and based on the actual logo geometry
   -------------------------------------------------------------------------- */
.hero {
    color: var(--rawa-ink);
    background:
        radial-gradient(circle at 85% 20%, rgba(132, 30, 223, .08), transparent 30%),
        radial-gradient(circle at 78% 72%, rgba(30, 223, 142, .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero::before {
    background:
        linear-gradient(rgba(20, 15, 92, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 15, 92, .028) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 92%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 92%);
}

.hero__grid {
    min-height: 650px;
    padding-block: 84px 118px;
}

.hero h1 {
    color: var(--rawa-navy);
    max-width: 760px;
}

.hero p {
    color: var(--rawa-muted);
}

.hero .eyebrow {
    position: relative;
    padding-left: 20px;
    color: var(--rawa-navy);
}

.hero .eyebrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 11px;
    height: 11px;
    background: var(--rawa-violet);
    transform: translateY(-50%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero .button--light {
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
    border-color: var(--rawa-green);
}

.hero .button--outline-light {
    color: var(--rawa-navy);
    background: #fff;
    border-color: rgba(20, 15, 92, .20);
}

.hero .button--outline-light:hover {
    color: var(--rawa-navy);
    background: #fff;
    border-color: rgba(20, 15, 92, .40);
    box-shadow: 0 12px 25px rgba(20, 15, 92, .08);
}

.hero-art {
    width: min(100%, 620px);
    aspect-ratio: 3.25 / 1;
}

.hero-art::before {
    inset: -55% -18%;
    background:
        radial-gradient(circle at 15% 50%, rgba(132, 30, 223, .18), transparent 25%),
        radial-gradient(circle at 42% 55%, rgba(223, 153, 30, .13), transparent 23%),
        radial-gradient(circle at 66% 48%, rgba(223, 201, 30, .12), transparent 23%),
        radial-gradient(circle at 88% 53%, rgba(30, 223, 142, .16), transparent 25%);
    filter: blur(38px);
    opacity: .9;
    transform: none;
}

.hero-art__shape {
    top: 12%;
    width: 23%;
    height: 76%;
    filter: drop-shadow(0 22px 24px rgba(20, 15, 92, .18));
    animation: rawanetTriangleFlow 8s ease-in-out infinite;
}

/* All four figures now share the same bounding box. The purple play figure is
   no longer 19% wide and therefore does not look smaller than the others. */
.hero-art__shape--one {
    left: 0;
    width: 23%;
    background: linear-gradient(145deg, #a645f0 0%, #841edf 52%, #6512b8 100%);
}

.hero-art__shape--two {
    left: 25.67%;
    width: 23%;
    background: linear-gradient(145deg, #f6b735 0%, #df991e 58%, #bd7800 100%);
}

.hero-art__shape--three {
    left: 51.33%;
    width: 23%;
    background: linear-gradient(145deg, #f4e33a 0%, #dfc91e 58%, #b7a100 100%);
}

.hero-art__shape--four {
    right: auto;
    left: 77%;
    width: 23%;
    background: linear-gradient(145deg, #4ce9aa 0%, #1edf8e 56%, #10b96f 100%);
}

@keyframes rawanetTriangleFlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(5px, -7px, 0) scale(1.018); }
}

/* The address checker becomes a clear utility widget, not another dark banner. */
.coverage-check__panel {
    background: rgba(255, 255, 255, .97);
    border-color: rgba(20, 15, 92, .10);
    box-shadow: 0 24px 60px rgba(20, 15, 92, .11);
}

.eyebrow--dark {
    color: var(--rawa-navy);
}

.settlement-search__field svg {
    stroke: var(--rawa-green-dark);
}

.settlement-search input:focus,
.field input:focus,
.field select:focus,
.rawanet-form select:focus {
    border-color: rgba(15, 174, 109, .55);
    box-shadow: 0 0 0 4px rgba(30, 223, 142, .10);
}

/* --------------------------------------------------------------------------
   Functional color coding
   -------------------------------------------------------------------------- */
.status--available,
.form-message.is-success {
    color: #08784b;
}

.status--available::before {
    box-shadow: 0 0 0 5px rgba(30, 223, 142, .13);
}

.status--check {
    color: var(--rawa-orange-dark);
}

.status--planned {
    color: var(--rawa-violet);
}

/* Tariff family coding: yellow / orange / green / violet. */
.tariff-card {
    --tariff-accent: var(--rawa-yellow);
    --tariff-accent-text: var(--rawa-yellow-dark);
    --tariff-accent-soft: rgba(223, 201, 30, .12);
    overflow: hidden;
    border-top: 4px solid var(--tariff-accent);
    box-shadow: 0 14px 38px rgba(20, 15, 92, .065);
}

.tariff-grid > .tariff-card:nth-child(4n + 1) {
    --tariff-accent: var(--rawa-yellow);
    --tariff-accent-text: var(--rawa-yellow-dark);
    --tariff-accent-soft: rgba(223, 201, 30, .13);
}

.tariff-grid > .tariff-card:nth-child(4n + 2) {
    --tariff-accent: var(--rawa-orange);
    --tariff-accent-text: var(--rawa-orange-dark);
    --tariff-accent-soft: rgba(223, 153, 30, .12);
}

.tariff-grid > .tariff-card:nth-child(4n + 3) {
    --tariff-accent: var(--rawa-green);
    --tariff-accent-text: #078554;
    --tariff-accent-soft: rgba(30, 223, 142, .12);
}

.tariff-grid > .tariff-card:nth-child(4n + 4) {
    --tariff-accent: var(--rawa-violet);
    --tariff-accent-text: var(--rawa-violet-dark);
    --tariff-accent-soft: rgba(132, 30, 223, .10);
}

.tariff-card:hover {
    border-color: var(--rawa-border);
    border-top-color: var(--tariff-accent);
    box-shadow: 0 22px 50px rgba(20, 15, 92, .11);
}

.tariff-card__top small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tariff-accent-text);
}

.tariff-card__top small::before {
    content: "";
    width: 11px;
    height: 11px;
    background: var(--tariff-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tariff-card__speed strong,
.tariff-card__price strong {
    color: var(--tariff-accent-text);
}

.tariff-card li::before {
    color: var(--tariff-accent-text);
}

.tariff-card__badge {
    color: var(--tariff-accent-text);
    background: var(--tariff-accent-soft);
    border-color: color-mix(in srgb, var(--tariff-accent) 32%, transparent);
}

.tariff-card--featured {
    box-shadow: 0 20px 48px rgba(20, 15, 92, .10);
}

/* Service cards: navy foundation, violet reserved for media/youtv. */
.service-card,
.service-card--violet {
    position: relative;
    color: #fff;
    background: linear-gradient(145deg, #201a70 0%, #140f5c 72%);
    border: 1px solid rgba(255, 255, 255, .09);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, .22);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M12 7Q17 4 23 8L91 45Q98 49 98 55Q98 62 91 66L23 94Q16 98 11 94Q6 90 6 82V20Q6 11 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .25s ease, background-color .25s ease;
}

.service-card:hover::before {
    background: var(--rawa-green);
    transform: translateX(5px);
}

/* In current markup the youtv card uses service-card--green. It is deliberately
   recolored violet because violet is the media/play family. */
.service-card--green {
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(255,255,255,.15), transparent 26%),
        linear-gradient(145deg, #9a35ee 0%, #841edf 52%, #5d12a9 100%);
    border-color: rgba(132, 30, 223, .22);
}

.service-card--green::before {
    background: rgba(255,255,255,.88);
}

/* Promotion and discount building blocks, ready for the promotions template. */
.promotion-card,
.promo-card,
.sale-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(223, 153, 30, .24);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(20, 15, 92, .06);
}

.promotion-card::before,
.promo-card::before,
.sale-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(var(--rawa-orange), var(--rawa-yellow));
}

.promotion-badge,
.promo-badge,
.badge--sale {
    color: #684700;
    background: rgba(223, 201, 30, .22);
    border: 1px solid rgba(223, 153, 30, .26);
    border-radius: 999px;
}

/* Support gets warm accents without turning the entire page yellow. */
.support-strip {
    position: relative;
}

.support-strip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--rawa-orange), var(--rawa-yellow));
    border-radius: 999px;
}

/* Final CTA and footer ground the layout in the RawaNet navy. */
.section--dark,
.section--final {
    background:
        radial-gradient(circle at 85% 25%, rgba(30, 223, 142, .07), transparent 25%),
        linear-gradient(135deg, #1a1467 0%, #140f5c 55%, #0c093c 100%);
}

.site-footer {
    color: rgba(255, 255, 255, .72);
    background: var(--rawa-navy);
}

.site-footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 70px;
    background: linear-gradient(90deg,
        var(--rawa-violet) 0 25%,
        var(--rawa-orange) 25% 50%,
        var(--rawa-yellow) 50% 75%,
        var(--rawa-green) 75% 100%);
}

.site-footer h2,
.footer-social,
.footer-phone {
    color: #fff;
}

.site-footer a:hover {
    color: var(--rawa-green);
}

/* Forms and mobile action bar use the green conversion action. */
.mobile-action-bar button {
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
}

.checkbox-field a,
.selected-tariff strong {
    color: #0b8d5b;
}

/* Decorative numbers remain quiet; each fourth one echoes a brand family. */
.feature-card > span {
    color: var(--rawa-navy);
    background: rgba(20, 15, 92, .07);
    border-radius: 12px;
}

.feature-grid > .feature-card:nth-child(4n + 1) > span { color: var(--rawa-violet-dark); background: rgba(132,30,223,.10); }
.feature-grid > .feature-card:nth-child(4n + 2) > span { color: var(--rawa-orange-dark); background: rgba(223,153,30,.12); }
.feature-grid > .feature-card:nth-child(4n + 3) > span { color: #087d50; background: rgba(30,223,142,.12); }
.feature-grid > .feature-card:nth-child(4n + 4) > span { color: var(--rawa-yellow-dark); background: rgba(223,201,30,.14); }

@media (max-width: 980px) {
    .hero__grid {
        min-height: auto;
        padding-block: 72px 120px;
    }

    .hero-art {
        width: min(94vw, 620px);
    }
}

@media (max-width: 700px) {
    .hero__grid {
        padding-block: 58px 105px;
    }

    .hero-art {
        width: 100%;
        max-width: 540px;
        aspect-ratio: 3.25 / 1;
    }

    .hero-art__shape {
        top: 10%;
        width: 23%;
        height: 80%;
        filter: drop-shadow(0 14px 18px rgba(20, 15, 92, .16));
    }

    .hero-art__shape--one { left: 0; width: 23%; }
    .hero-art__shape--two { left: 25.67%; width: 23%; }
    .hero-art__shape--three { left: 51.33%; width: 23%; }
    .hero-art__shape--four { left: 77%; width: 23%; }

    .site-footer::before {
        margin-bottom: 54px;
    }
}

/* ========================================================================== 
   RawaNet visual correction v0.2.4
   White header, calmer hero, restrained functional accents
   ========================================================================== */

:root {
    --rawa-bg: #f7f8fb;
    --rawa-surface: #ffffff;
    --rawa-border: #e7e9f0;
    --rawa-ink: #1d2230;
    --rawa-muted: #687083;
    --rawa-green: #1ed889;
    --rawa-green-dark: #11b972;
    --rawa-green-ink: #073b2b;
    --rawa-shadow: 0 18px 46px rgba(20, 15, 92, .08);
}

/* Header: part of the light layout, not a separate dark strip. */
.site-header,
.site-header.is-scrolled {
    color: var(--rawa-navy);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(20, 15, 92, .09);
    backdrop-filter: blur(18px) saturate(150%);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 34px rgba(20, 15, 92, .08);
}

.menu a {
    color: #302c63;
}

.menu a:hover,
.menu .current-menu-item > a {
    color: var(--rawa-navy);
    background: #f1f0f8;
}

.header-phone {
    color: var(--rawa-navy);
}

.header-phone small {
    color: var(--rawa-muted);
}

.site-header .button--ghost,
.site-header .header-cabinet {
    color: var(--rawa-navy);
    background: #f7f7fb;
    border-color: #e3e2ee;
}

.site-header .button--ghost:hover,
.site-header .header-cabinet:hover {
    color: var(--rawa-navy);
    background: #efeff7;
    border-color: #d7d5e7;
}

.site-header .header-connect {
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
    border-color: var(--rawa-green);
    box-shadow: none;
}

.site-header .header-connect:hover {
    background: #28df94;
    border-color: #28df94;
    box-shadow: 0 10px 24px rgba(30, 216, 137, .20);
}

.menu-toggle span:not(.screen-reader-text) {
    background: var(--rawa-navy);
}

.sub-menu {
    border-color: var(--rawa-border);
    box-shadow: 0 18px 48px rgba(20, 15, 92, .11);
}

/* Buttons retain the play-triangle language without turning every action into a toy. */
.button {
    min-height: 50px;
    padding-inline: 20px 17px;
    border-radius: 14px;
}

.button::after {
    width: 10px;
    height: 10px;
    opacity: .78;
}

.button:hover {
    transform: translateY(-1px);
}

.button:hover::after {
    transform: translateX(3px);
}

.button--primary,
.button--light {
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
    border-color: var(--rawa-green);
    box-shadow: none;
}

.button--primary:hover,
.button--light:hover {
    color: #052f22;
    background: #28df94;
    border-color: #28df94;
    box-shadow: 0 12px 26px rgba(30, 216, 137, .18);
}

/* Hero: calm white field + one premium navy visual panel. */
.hero {
    color: var(--rawa-ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(132, 30, 223, .045), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.hero::before {
    background:
        linear-gradient(rgba(20, 15, 92, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 15, 92, .022) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 42%, #000 72%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0 42%, #000 72%, transparent 100%);
}

.hero__grid {
    min-height: 640px;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: 64px;
    padding-block: 78px 116px;
}

.hero h1 {
    max-width: 760px;
    color: var(--rawa-navy);
}

.hero p {
    max-width: 650px;
    color: var(--rawa-muted);
}

.hero .eyebrow {
    color: #544f79;
}

.hero .eyebrow::before {
    background: var(--rawa-violet);
}

.hero .button--outline-light {
    color: var(--rawa-navy);
    background: #fff;
    border-color: #dcdde8;
}

.hero .button--outline-light:hover {
    color: var(--rawa-navy);
    background: #f5f5f9;
    border-color: #c9c8db;
    box-shadow: none;
}

.hero-art {
    width: min(100%, 590px);
    aspect-ratio: 1.72 / 1;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 28px;
    background:
        radial-gradient(circle at 16% 20%, rgba(132, 30, 223, .18), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(30, 223, 142, .10), transparent 28%),
        linear-gradient(145deg, #1b1669 0%, #140f5c 58%, #0d0a3f 100%);
    box-shadow: 0 28px 70px rgba(20, 15, 92, .20);
}

.hero-art::before {
    z-index: 0;
    inset: 0;
    opacity: .42;
    filter: none;
    transform: none;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 82%);
    mask-image: linear-gradient(135deg, #000, transparent 82%);
}

.hero-art::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 18%, rgba(255,255,255,.16) 82%, transparent);
}

.hero-art__shape {
    z-index: 2;
    top: 29%;
    width: 21.5%;
    height: 42%;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .20));
    animation: none;
}

.hero-art__shape--one {
    left: 3%;
    width: 21.5%;
    background: linear-gradient(145deg, #a139ec 0%, #841edf 60%, #6d16bc 100%);
}

.hero-art__shape--two {
    left: 27.2%;
    width: 21.5%;
    background: linear-gradient(145deg, #edae2e 0%, #df991e 62%, #bd7900 100%);
}

.hero-art__shape--three {
    left: 51.4%;
    width: 21.5%;
    background: linear-gradient(145deg, #ebda29 0%, #dfc91e 62%, #b9a500 100%);
}

.hero-art__shape--four {
    left: 75.5%;
    right: auto;
    width: 21.5%;
    background: linear-gradient(145deg, #3ee5a4 0%, #1edf8e 60%, #10b86f 100%);
}

.hero-art__core {
    display: none;
}

/* The coverage checker is the main utility, not another decorative banner. */
.coverage-check__panel {
    border: 1px solid rgba(20, 15, 92, .09);
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 60px rgba(20, 15, 92, .10);
}

/* Keep tariff colors as identifiers, not as the dominant visual system. */
.tariff-card {
    border-top-width: 3px;
    box-shadow: 0 12px 34px rgba(20, 15, 92, .055);
}

.tariff-card__speed strong,
.tariff-card__price strong {
    color: var(--rawa-navy);
}

.tariff-card__badge {
    color: var(--tariff-accent-text);
}

.tariff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(20, 15, 92, .09);
}

/* Benefits stay neutral. Brand color is reserved for useful states/actions. */
.feature-card > span,
.feature-grid > .feature-card:nth-child(4n + 1) > span,
.feature-grid > .feature-card:nth-child(4n + 2) > span,
.feature-grid > .feature-card:nth-child(4n + 3) > span,
.feature-grid > .feature-card:nth-child(4n + 4) > span {
    color: var(--rawa-navy);
    background: #f0f0f7;
}

.service-card,
.service-card--violet {
    background:
        radial-gradient(circle at 85% 12%, rgba(255,255,255,.09), transparent 25%),
        linear-gradient(145deg, #211b72 0%, #140f5c 72%);
}

.service-card--green {
    background:
        radial-gradient(circle at 82% 15%, rgba(255,255,255,.13), transparent 25%),
        linear-gradient(145deg, #9630e5 0%, #7b1dcc 58%, #58129d 100%);
}

/* Footer remains the single large navy anchor. */
.site-footer {
    background: #100b4b;
}

@media (max-width: 980px) {
    .site-navigation {
        color: var(--rawa-navy);
        background: #fff;
        border-left: 1px solid var(--rawa-border);
    }

    .site-navigation.is-open {
        box-shadow: -22px 0 60px rgba(20, 15, 92, .14);
    }

    .site-navigation .menu a {
        color: var(--rawa-navy);
    }

    .site-navigation .menu a:hover,
    .site-navigation .menu .current-menu-item > a {
        background: #f1f0f8;
    }

    .site-navigation .sub-menu a {
        color: #64617d;
    }

    .site-navigation__mobile-actions .button--secondary {
        color: var(--rawa-navy);
        background: #f5f5f9;
        border-color: #e1e0eb;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-art {
        width: min(100%, 660px);
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .hero__grid {
        gap: 38px;
        padding-block: 54px 104px;
    }

    .hero-art {
        width: 100%;
        aspect-ratio: 1.55 / 1;
        border-radius: 22px;
    }

    .hero-art__shape {
        top: 30%;
        width: 21.5%;
        height: 40%;
        filter: drop-shadow(0 10px 13px rgba(0, 0, 0, .18));
    }

    .hero-art__shape--one { left: 3%; width: 21.5%; }
    .hero-art__shape--two { left: 27.2%; width: 21.5%; }
    .hero-art__shape--three { left: 51.4%; width: 21.5%; }
    .hero-art__shape--four { left: 75.5%; width: 21.5%; }

    .mobile-action-bar button {
        color: var(--rawa-green-ink);
        background: var(--rawa-green);
    }
}

/* ========================================================================== 
   RawaNet correction v0.2.5
   Restored free-standing logo triangles + smart collapsing header
   ========================================================================== */

/* Smart header: full at the top, compact after scrolling, hidden while moving
   down and immediately restored while moving up. */
.site-header {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition:
        transform .32s cubic-bezier(.22, .61, .36, 1),
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.site-header__inner,
.site-logo img {
    transition:
        min-height .28s ease,
        width .28s ease,
        max-height .28s ease;
}

.site-header.is-compact .site-header__inner {
    min-height: 70px;
}

.site-header.is-compact .site-logo img {
    width: 196px;
    max-height: 54px;
}

.site-header.is-hidden {
    transform: translate3d(0, calc(-100% - 2px), 0);
    box-shadow: none;
}

body.menu-open .site-header,
body.modal-open .site-header,
.site-header:focus-within {
    transform: translate3d(0, 0, 0);
}

/* Restore the previous free-standing four-triangle composition. The dark
   card, centre line and contained panel are removed. */
.hero-art {
    width: min(100%, 620px);
    aspect-ratio: 3.25 / 1;
    margin-left: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

.hero-art::before {
    z-index: -1;
    inset: -55% -18%;
    opacity: .9;
    filter: blur(38px);
    transform: none;
    background:
        radial-gradient(circle at 15% 50%, rgba(132, 30, 223, .18), transparent 25%),
        radial-gradient(circle at 42% 55%, rgba(223, 153, 30, .13), transparent 23%),
        radial-gradient(circle at 66% 48%, rgba(223, 201, 30, .12), transparent 23%),
        radial-gradient(circle at 88% 53%, rgba(30, 223, 142, .16), transparent 25%);
    -webkit-mask-image: none;
    mask-image: none;
}

.hero-art::after {
    content: none;
}

.hero-art__shape {
    z-index: 2;
    top: 12%;
    width: 23%;
    height: 76%;
    filter: drop-shadow(0 22px 24px rgba(20, 15, 92, .18));
    animation: rawanetTriangleFlow 8s ease-in-out infinite;
    transform-origin: 50% 55%;
}

/* Equal visual boxes for all four figures, including the purple Play shape. */
.hero-art__shape--one {
    left: 0;
    right: auto;
    width: 23%;
    background: linear-gradient(145deg, #a645f0 0%, #841edf 52%, #6512b8 100%);
}

.hero-art__shape--two {
    left: 25.67%;
    right: auto;
    width: 23%;
    background: linear-gradient(145deg, #f6b735 0%, #df991e 58%, #bd7800 100%);
}

.hero-art__shape--three {
    left: 51.33%;
    right: auto;
    width: 23%;
    background: linear-gradient(145deg, #f4e33a 0%, #dfc91e 58%, #b7a100 100%);
}

.hero-art__shape--four {
    left: 77%;
    right: auto;
    width: 23%;
    background: linear-gradient(145deg, #4ce9aa 0%, #1edf8e 56%, #10b96f 100%);
}

.hero-art__core {
    display: none;
}

@keyframes rawanetTriangleFlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(5px, -7px, 0) scale(1.018); }
}

@media (max-width: 1079px) {
    .site-header.is-compact .site-header__inner {
        min-height: var(--header-height);
    }

    .site-header.is-compact .site-logo img {
        width: 220px;
        max-height: 62px;
    }
}

@media (max-width: 980px) {
    .hero-art {
        width: min(94vw, 620px);
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .hero-art {
        width: 100%;
        max-width: 540px;
        aspect-ratio: 3.25 / 1;
        border-radius: 0;
    }

    .hero-art__shape {
        top: 10%;
        width: 23%;
        height: 80%;
        filter: drop-shadow(0 14px 18px rgba(20, 15, 92, .16));
    }

    .hero-art__shape--one { left: 0; width: 23%; }
    .hero-art__shape--two { left: 25.67%; width: 23%; }
    .hero-art__shape--three { left: 51.33%; width: 23%; }
    .hero-art__shape--four { left: 77%; width: 23%; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header__inner,
    .site-logo img,
    .hero-art__shape {
        transition: none;
        animation: none;
    }
}

/* ==========================================================================
   RawaNet footer correction
   Clear contrast, compact brand accent and readable actions
   ========================================================================== */

.site-footer {
    position: relative;
    padding-top: 68px;
    color: #c5c7d6;
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(132, 30, 223, .08),
            transparent 28%
        ),
        #100b4b;
}

/* Short brand marker instead of a full-width multicolor stripe. */
.site-footer::before {
    content: "";
    display: block;
    width: 180px;
    height: 4px;
    margin: 0 auto 64px;
    background: linear-gradient(
        90deg,
        var(--rawa-violet) 0 25%,
        var(--rawa-orange) 25% 50%,
        var(--rawa-yellow) 50% 75%,
        var(--rawa-green) 75% 100%
    );
    border-radius: 999px;
}

.site-footer__grid {
    gap: 64px;
}

.site-logo--footer img {
    width: 200px;
    height: auto;
    opacity: .97;
    filter: brightness(0) invert(1);
}

.site-footer h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.site-footer p {
    color: #c5c7d6;
    line-height: 1.65;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li {
    margin: 10px 0;
}

.site-footer a {
    color: #d0d2de;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-footer li a {
    display: inline-block;
}

.site-footer li a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: #fff !important;
    font-weight: 600;
}

.footer-social:hover {
    color: var(--rawa-green) !important;
}

.footer-phone {
    display: block;
    margin-bottom: 8px;
    color: #fff !important;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

/* Callback in the footer is a real CTA, not a loose green text link. */
.site-footer .text-link--light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    margin-top: 14px;
    color: var(--rawa-green-ink);
    background: var(--rawa-green);
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.site-footer .text-link--light::after {
    width: 9px;
    height: 9px;
    margin-left: 10px;
    background: currentColor;
}

.site-footer .text-link--light:hover {
    color: var(--rawa-green-ink);
    background: #36e7a0;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 223, 142, .18);
}

.site-footer__bottom {
    padding-block: 26px;
    margin-top: 58px;
    color: #9699ae;
    border-top: 1px solid rgba(255, 255, 255, .10);
    font-size: 14px;
}

.site-footer__bottom a {
    color: #b6b8c8;
}

.site-footer__bottom a:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 52px;
    }

    .site-footer::before {
        width: 132px;
        margin-bottom: 46px;
    }

    .site-footer__grid {
        gap: 36px 24px;
    }

    .site-logo--footer img {
        width: 180px;
    }

    .site-footer__bottom {
        gap: 14px;
        margin-top: 42px;
    }
}

/* =========================================================
   RawaNet On Top
   Large logo-style triangle without an internal arrow
   ========================================================= */

.rn-on-top {
    --rn-on-top-color: #841edf;

    position: fixed;
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 950;

    width: 72px;
    height: 72px;
    padding: 0;
    margin: 0;

    display: grid;
    place-items: center;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(18px) scale(.88);
    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 220ms cubic-bezier(.22, 1, .36, 1),
        filter 220ms ease;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.rn-on-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.rn-on-top__icon {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.rn-on-top__triangle {
    fill: var(--rn-on-top-color);
    transition: fill 180ms ease;
}

.rn-on-top:hover {
    transform: translateY(-5px) scale(1.04);
    filter:
        drop-shadow(0 12px 16px rgba(20, 15, 92, .18))
        drop-shadow(0 4px 6px rgba(20, 15, 92, .12));
}

.rn-on-top:active {
    transform: translateY(-1px) scale(.96);
}

.rn-on-top:focus-visible {
    outline: 3px solid rgba(20, 15, 92, .28);
    outline-offset: 5px;
}

@media (max-width: 767px) {
    .rn-on-top {
        right: 14px;
        bottom: calc(82px + env(safe-area-inset-bottom));
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rn-on-top,
    .rn-on-top__triangle {
        transition-duration: .01ms !important;
    }

    .rn-on-top:hover {
        transform: none;
    }
}

/* =========================================================
   RawaNet random brand hover
   JS adds .rn-brand-hover and .is-brand-hovered automatically
   ========================================================= */

.rn-brand-hover {
    --rn-button-hover-bg: var(--rawa-green);
    --rn-button-hover-text: var(--rawa-green-ink);

    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease !important;
}

.rn-brand-hover.is-brand-hovered {
    color: var(--rn-button-hover-text) !important;
    background: var(--rn-button-hover-bg) !important;
    border-color: var(--rn-button-hover-bg) !important;
    transform: translateY(-2px);
    box-shadow:
        0 12px 24px rgba(16, 11, 75, .14),
        0 4px 10px rgba(16, 11, 75, .08);
}

.rn-brand-hover.is-brand-hovered,
.rn-brand-hover.is-brand-hovered span,
.rn-brand-hover.is-brand-hovered strong {
    color: var(--rn-button-hover-text) !important;
}

.rn-brand-hover.is-brand-hovered svg {
    color: var(--rn-button-hover-text) !important;
    fill: currentColor;
    stroke: currentColor;
}

/* Existing logo-style triangle in ordinary buttons follows the text color. */
.rn-brand-hover:not(.rn-on-top)::after {
    background: currentColor;
}

.rn-brand-hover.is-brand-hovered:not(.rn-on-top)::after {
    transform: translateX(3px) scale(1.06);
}

.rn-brand-hover:active {
    transform: translateY(0) scale(.98);
}

.rn-brand-hover:disabled,
.rn-brand-hover[aria-disabled="true"] {
    pointer-events: none;
    opacity: .55;
}

@media (prefers-reduced-motion: reduce) {
    .rn-brand-hover {
        transition-duration: .01ms !important;
    }

    .rn-brand-hover.is-brand-hovered {
        transform: none;
    }
}
