/* =========================================================
   REESTROGRAF — GLOBAL STYLES
   ========================================================= */

:root {
    --rg-bg: #f5f3ef;
    --rg-paper: #ffffff;
    --rg-ink: #20202b;
    --rg-muted: #777783;
    --rg-line: #e8e5e0;
    --rg-accent: #ef6548;
    --rg-accent-dark: #d94e35;
    --rg-violet: #7565bd;
    --rg-violet-light: #f0edfb;
    --rg-yellow: #f5c96b;
    --rg-green: #27866b;
    --rg-green-light: #e8f5ef;
    --rg-red-light: #fff0ec;
    --rg-radius: 18px;
    --rg-radius-sm: 11px;
    --rg-shadow: 0 12px 38px rgba(35, 32, 43, .055);
    --rg-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--rg-bg);
    color: var(--rg-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-size: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--rg-width), calc(100% - 48px));
    margin-inline: auto;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.section-space {
    padding-block: 76px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.section-heading p {
    max-width: 440px;
    margin: 10px 0 0;
    color: var(--rg-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--rg-accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 19px;
    height: 2px;
    background: var(--rg-accent);
    content: "";
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(32, 32, 43, .07);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-symbol {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--rg-ink);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    transform: rotate(-5deg);
}

.brand-name {
    display: block;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.8px;
}

.brand-caption {
    display: block;
    margin-top: 3px;
    color: var(--rg-muted);
    font-size: 10px;
    letter-spacing: .4px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav a {
    color: #555460;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.header-nav a:hover {
    color: var(--rg-accent-dark);
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 19px;
    border-radius: 9px;
    background: var(--rg-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.header-action:hover {
    background: var(--rg-accent-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--rg-line);
    border-radius: 10px;
    background: #fff;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--rg-ink);
    transition: transform .2s ease;
}

/* =========================================================
   BUTTONS AND LINKS
   ========================================================= */

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 49px;
    padding: 0 23px;
    border: 0;
    border-radius: 10px;
    background: var(--rg-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.primary-link:hover {
    background: var(--rg-accent-dark);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rg-accent-dark);
    font-size: 13px;
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
}

/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 72px;
    background: var(--rg-ink);
    color: #fff;
}

.home-hero::before {
    position: absolute;
    top: -210px;
    right: -120px;
    width: 570px;
    height: 570px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.home-hero::after {
    position: absolute;
    top: -105px;
    right: 15px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 30px;
    color: #e9e5fa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
}

.hero-label::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rg-yellow);
    content: "";
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(36px, 5.4vw, 64px);
    line-height: 1.08;
    letter-spacing: -2.8px;
}

.home-hero h1 span {
    color: var(--rg-yellow);
}

.hero-description {
    max-width: 650px;
    margin: 23px 0 30px;
    color: #c5c3ce;
    font-size: 16px;
    line-height: 1.8;
}

.hero-search {
    display: flex;
    width: min(650px, 100%);
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}

.hero-search input {
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--rg-ink);
    font-size: 14px;
}

.hero-search input::placeholder {
    color: #a09eaa;
}

.hero-search button {
    flex-shrink: 0;
    min-height: 47px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: var(--rg-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.hero-search button:hover {
    background: var(--rg-accent-dark);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 27px;
    margin-top: 34px;
}

.hero-fact {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c9c7d1;
    font-size: 11px;
}

.hero-fact strong {
    color: #fff;
    font-size: 13px;
}

/* =========================================================
   QUICK INFORMATION STRIP
   ========================================================= */

.facts-strip {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    background: #fff;
    border-bottom: 1px solid var(--rg-line);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fact-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 100px;
    padding: 20px 26px;
    border-right: 1px solid var(--rg-line);
}

.fact-cell:first-child {
    padding-left: 0;
}

.fact-cell:last-child {
    border-right: 0;
}

.fact-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--rg-violet-light);
    color: var(--rg-violet);
    font-size: 19px;
    font-weight: 800;
}

.fact-cell strong {
    display: block;
    font-size: 13px;
}

.fact-cell span {
    display: block;
    margin-top: 3px;
    color: var(--rg-muted);
    font-size: 11px;
}

/* =========================================================
   COMPANY DIRECTORY
   ========================================================= */

.directory-section {
    padding: 78px 0;
}

.directory-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.directory-count {
    color: var(--rg-muted);
    font-size: 12px;
}

.directory-count strong {
    color: var(--rg-ink);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.company-card {
    position: relative;
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--rg-line);
    border-radius: var(--rg-radius);
    background: var(--rg-paper);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.company-card:hover {
    border-color: #d7c9c1;
    box-shadow: var(--rg-shadow);
    transform: translateY(-3px);
}

.company-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.company-monogram {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #f2eee9;
    color: var(--rg-ink);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.company-card:nth-child(3n + 2) .company-monogram {
    background: var(--rg-violet-light);
    color: var(--rg-violet);
}

.company-card:nth-child(3n) .company-monogram {
    background: var(--rg-red-light);
    color: var(--rg-accent-dark);
}

.status-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 30px;
    background: var(--rg-green-light);
    color: var(--rg-green);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.status-label::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.company-card h3 {
    margin: 18px 0 5px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.35px;
}

.company-card h3 a:hover {
    color: var(--rg-accent-dark);
}

.company-legal-name {
    margin: 0;
    color: var(--rg-muted);
    font-size: 11px;
}

.company-card-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--rg-line);
}

.data-point small {
    display: block;
    margin-bottom: 3px;
    color: var(--rg-muted);
    font-size: 10px;
}

.data-point strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.company-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.company-category {
    color: var(--rg-muted);
    font-size: 10px;
}

.company-arrow {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #f6f3f0;
    color: var(--rg-ink);
    font-size: 17px;
    transition: .2s ease;
}

.company-card:hover .company-arrow {
    background: var(--rg-accent);
    color: #fff;
}

.no-results {
    display: none;
    padding: 35px 20px;
    border: 1px dashed #d6d1ca;
    border-radius: var(--rg-radius);
    color: var(--rg-muted);
    text-align: center;
}

/* =========================================================
   ABOUT / INFORMATION BLOCKS
   ========================================================= */

.editorial-section {
    padding: 76px 0;
    background: #fff;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 70px;
}

.editorial-copy h2 {
    max-width: 570px;
    margin: 0 0 18px;
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.18;
    letter-spacing: -1.2px;
}

.editorial-copy p {
    color: #666572;
    line-height: 1.85;
}

.editorial-visual {
    position: relative;
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    background: var(--rg-violet-light);
}

.visual-document {
    width: 220px;
    min-height: 245px;
    padding: 24px;
    border: 1px solid #e4def8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(70, 54, 125, .12);
    transform: rotate(-5deg);
}

.visual-document-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--rg-accent);
    color: #fff;
    font-weight: 900;
}

.visual-line {
    height: 7px;
    margin-top: 17px;
    border-radius: 5px;
    background: #eceaf1;
}

.visual-line.short {
    width: 55%;
}

.visual-line.medium {
    width: 76%;
}

.visual-stamp {
    position: absolute;
    right: 12%;
    bottom: 17%;
    padding: 9px 15px;
    border: 2px solid var(--rg-green);
    border-radius: 7px;
    color: var(--rg-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    transform: rotate(9deg);
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.step-card {
    padding: 25px;
    border: 1px solid var(--rg-line);
    border-radius: var(--rg-radius);
    background: #fff;
}

.step-number {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    border-radius: 11px;
    background: var(--rg-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.step-card h3 {
    margin: 0 0 9px;
    font-size: 16px;
}

.step-card p {
    margin: 0;
    color: var(--rg-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding: 76px 0;
    background: #fff;
}

.faq-list {
    max-width: 850px;
    display: grid;
    gap: 10px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--rg-line);
    border-radius: 12px;
    background: #fff;
}

.faq-item summary {
    position: relative;
    padding: 19px 50px 19px 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

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

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--rg-accent);
    font-size: 21px;
    content: "+";
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--rg-muted);
    font-size: 12px;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}

/* =========================================================
   INNER PAGE: BREADCRUMBS
   ========================================================= */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 23px 0;
    color: var(--rg-muted);
    font-size: 11px;
}

.breadcrumbs a:hover {
    color: var(--rg-accent-dark);
}

.breadcrumbs span {
    color: #c1bdc5;
}

/* =========================================================
   INNER PAGE: COMPANY HERO
   ========================================================= */

.profile-hero {
    padding: 35px 0 42px;
}

.profile-heading {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.profile-logo {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 20px;
    background: var(--rg-ink);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

.profile-title {
    min-width: 0;
    flex: 1;
}

.profile-title h1 {
    margin: 0 0 9px;
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.12;
    letter-spacing: -1.6px;
}

.profile-subtitle {
    margin: 0;
    color: var(--rg-muted);
    font-size: 13px;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 11px;
    border-radius: 30px;
    background: var(--rg-green-light);
    color: var(--rg-green);
    font-size: 11px;
    font-weight: 800;
}

.profile-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 25px;
    padding: 17px 0;
    border-top: 1px solid var(--rg-line);
    border-bottom: 1px solid var(--rg-line);
}

.profile-meta-item {
    color: var(--rg-muted);
    font-size: 11px;
}

.profile-meta-item strong {
    margin-left: 5px;
    color: var(--rg-ink);
    font-size: 12px;
}

/* =========================================================
   INNER PAGE: PROFILE LAYOUT
   ========================================================= */

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 22px;
    padding-bottom: 75px;
}

.profile-main {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.profile-panel {
    padding: 25px;
    border: 1px solid var(--rg-line);
    border-radius: var(--rg-radius);
    background: #fff;
}

.profile-panel h2 {
    margin: 0 0 19px;
    font-size: 19px;
    letter-spacing: -.5px;
}

.profile-panel h3 {
    margin: 22px 0 10px;
    font-size: 15px;
}

.profile-panel p {
    color: #666572;
    font-size: 13px;
    line-height: 1.85;
}

.profile-panel p:last-child {
    margin-bottom: 0;
}

.registry-table {
    width: 100%;
    border-collapse: collapse;
}

.registry-table tr {
    border-bottom: 1px solid #efedf0;
}

.registry-table tr:last-child {
    border-bottom: 0;
}

.registry-table th,
.registry-table td {
    padding: 13px 10px;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
}

.registry-table th {
    width: 38%;
    color: var(--rg-muted);
    font-weight: 500;
}

.registry-table td {
    color: var(--rg-ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.registry-code {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 6px;
    background: var(--rg-violet-light);
    color: var(--rg-violet);
    font-size: 11px;
    font-weight: 800;
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.activity-tag {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid var(--rg-line);
    border-radius: 7px;
    color: #5f5d69;
    font-size: 11px;
}

.profile-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 15px;
}

.sidebar-card {
    padding: 21px;
    border: 1px solid var(--rg-line);
    border-radius: var(--rg-radius);
    background: #fff;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 14px;
}

.sidebar-card p {
    margin: 0;
    color: var(--rg-muted);
    font-size: 11px;
    line-height: 1.8;
}

.sidebar-list {
    display: grid;
    gap: 11px;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #555460;
    font-size: 11px;
    font-weight: 700;
}

.sidebar-list a:hover {
    color: var(--rg-accent-dark);
}

.sidebar-list span {
    color: #aaa6b0;
}

/* =========================================================
   RELATED COMPANIES
   ========================================================= */

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--rg-line);
    border-radius: 12px;
    background: #fff;
    transition: .2s ease;
}

.related-card:hover {
    border-color: #d8c5bd;
    box-shadow: var(--rg-shadow);
}

.related-symbol {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f2eee9;
    font-size: 11px;
    font-weight: 900;
}

.related-card strong {
    display: block;
    font-size: 12px;
}

.related-card small {
    display: block;
    margin-top: 3px;
    color: var(--rg-muted);
    font-size: 10px;
}

/* =========================================================
   TEXT PAGES
   ========================================================= */

.text-page {
    padding: 30px 0 80px;
}

.text-page-content {
    max-width: 850px;
    padding: 38px;
    border: 1px solid var(--rg-line);
    border-radius: var(--rg-radius);
    background: #fff;
}

.text-page-content h1 {
    margin: 0 0 13px;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.text-page-content h2 {
    margin: 32px 0 12px;
    font-size: 20px;
}

.text-page-content h3 {
    margin: 23px 0 9px;
    font-size: 15px;
}

.text-page-content p,
.text-page-content li {
    color: #666572;
    font-size: 13px;
    line-height: 1.9;
}

.text-page-content ul {
    padding-left: 20px;
}

.text-page-updated {
    margin-bottom: 28px;
    color: var(--rg-muted);
    font-size: 11px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 54px 0 20px;
    background: #20202b;
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 55px;
    padding-bottom: 43px;
}

.footer-description {
    max-width: 330px;
    margin: 17px 0 0;
    color: #aaa8b4;
    font-size: 11px;
    line-height: 1.9;
}

.footer-heading {
    margin: 0 0 17px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #aaa8b4;
    font-size: 11px;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--rg-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #8f8d99;
    font-size: 10px;
}

.footer-bottom p {
    margin: 0;
}

.footer-note {
    max-width: 620px;
    margin-top: 23px;
    color: #8f8d99;
    font-size: 10px;
    line-height: 1.8;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-top {
    position: fixed;
    z-index: 90;
    right: 24px;
    bottom: 24px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background: var(--rg-accent);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 7px 22px rgba(239, 101, 72, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .2s ease;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--rg-accent-dark);
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {
    .header-nav {
        gap: 17px;
    }

    .editorial-layout {
        gap: 35px;
    }

    .profile-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .footer-main {
        gap: 30px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .container {
        width: min(100% - 32px, var(--rg-width));
    }

    .section-space,
    .directory-section,
    .editorial-section,
    .faq-section {
        padding-block: 53px;
    }

    .header-inner {
        min-height: 66px;
    }

    .brand-symbol {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 17px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header-nav {
        position: absolute;
        top: 65px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 9px 16px 17px;
        border-bottom: 1px solid var(--rg-line);
        background: #fff;
        box-shadow: 0 14px 25px rgba(32, 32, 43, .07);
    }

    .header-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .header-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #f0eef0;
    }

    .header-action {
        display: none;
    }

    .home-hero {
        padding: 62px 0 54px;
    }

    .home-hero::before {
        top: -120px;
        right: -250px;
        width: 450px;
        height: 450px;
    }

    .home-hero::after {
        display: none;
    }

    .home-hero h1 {
        font-size: clamp(35px, 10vw, 49px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        margin: 18px 0 23px;
        font-size: 14px;
    }

    .hero-search {
        gap: 5px;
    }

    .hero-search input {
        padding-inline: 10px;
        font-size: 12px;
    }

    .hero-search button {
        min-height: 43px;
        padding-inline: 13px;
        font-size: 11px;
    }

    .hero-facts {
        gap: 13px 19px;
        margin-top: 25px;
    }

    .hero-fact {
        font-size: 10px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .fact-cell {
        min-height: 75px;
        padding: 13px 0;
        border-right: 0;
        border-bottom: 1px solid var(--rg-line);
    }

    .fact-cell:last-child {
        border-bottom: 0;
    }

    .fact-icon {
        width: 38px;
        height: 38px;
    }

    .section-heading {
        display: block;
        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .directory-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .company-card {
        padding: 19px;
    }

    .company-card h3 {
        font-size: 16px;
    }

    .editorial-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .editorial-copy h2 {
        font-size: 30px;
    }

    .editorial-visual {
        min-height: 260px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 21px;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .faq-section {
        padding-block: 55px;
    }

    .faq-item summary {
        padding: 17px 43px 17px 16px;
        font-size: 12px;
    }

    .faq-answer {
        padding-inline: 16px;
    }

    .profile-hero {
        padding-top: 20px;
    }

    .profile-heading {
        gap: 14px;
    }

    .profile-logo {
        width: 54px;
        height: 54px;
        border-radius: 15px;
        font-size: 17px;
    }

    .profile-title h1 {
        font-size: 27px;
        letter-spacing: -.9px;
    }

    .profile-subtitle {
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    .profile-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .profile-meta-item strong {
        display: block;
        margin: 3px 0 0;
    }

    .profile-layout {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-bottom: 55px;
    }

    .profile-sidebar {
        position: static;
        grid-template-columns: 1fr;
    }

    .profile-panel {
        padding: 19px 16px;
    }

    .profile-panel h2 {
        font-size: 17px;
    }

    .registry-table th,
    .registry-table td {
        padding: 11px 5px;
        font-size: 11px;
    }

    .registry-table th {
        width: 40%;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .text-page {
        padding-top: 15px;
        padding-bottom: 55px;
    }

    .text-page-content {
        padding: 25px 18px;
    }

    .text-page-content h1 {
        font-size: 31px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .back-top {
        right: 15px;
        bottom: 15px;
        width: 39px;
        height: 39px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 26px);
    }

    .company-card-data {
        gap: 8px;
    }

    .company-card {
        padding: 16px;
    }

    .profile-heading {
        align-items: flex-start;
    }

    .profile-title h1 {
        font-size: 23px;
    }

    .hero-search button {
        padding-inline: 10px;
    }

    .footer-main {
        gap: 25px 13px;
    }
}