/*
Theme Name: Rengong Fastener Theme
Theme URI: https://rengongfastener.com/
Author: Excalibur_osu(微信同名)
Author URI: https://rengongfastener.com/
Description: Industrial-forward corporate WordPress theme for hardware products. English frontend + Chinese admin labels.
Version: 1.3.6
Text Domain: rengongfastener
*/

:root {
    --rf-blue: #20409b;
    --rf-blue-2: #16317c;
    --rf-red: #e01f26;
    --rf-red-2: #b9141b;
    --rf-bg: #ffffff;
    --rf-bg-soft: #f5f7fb;
    --rf-bg-dark: #0f1b3f;
    --rf-surface: #ffffff;
    --rf-line: #e3e8f1;
    --rf-line-strong: #d2dae8;
    --rf-text: #222222;
    --rf-text-soft: #666666;
    --rf-text-inverse: #ffffff;
    --rf-container: min(1600px, 94vw);
    --rf-shadow-sm: 0 10px 30px rgba(15, 32, 74, 0.08);
    --rf-shadow-md: 0 18px 42px rgba(15, 32, 74, 0.16);
    --rf-radius-sm: 4px;
    --rf-radius: 8px;
    --rf-radius-lg: 14px;
    --rf-ease: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--rf-text);
    background: var(--rf-bg);
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--rf-blue);
    text-decoration: none;
    transition: color var(--rf-ease), background-color var(--rf-ease), border-color var(--rf-ease), transform var(--rf-ease);
}

a:hover {
    color: var(--rf-red);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.22;
    font-family: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2rem, 4.6vw, 4.25rem);
}

h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
}

p {
    margin: 0 0 1.1em;
}

main#site-content {
    overflow: hidden;
}

.rf-container {
    width: var(--rf-container);
    margin: 0 auto;
}

.rf-muted {
    color: var(--rf-text-soft);
}

.rf-section-kicker,
.rf-eyebrow {
    display: inline-block;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.88rem;
    line-height: 1;
    margin-bottom: 12px;
}

.rf-section-kicker {
    color: var(--rf-red);
    font-weight: 600;
}

.rf-eyebrow {
    color: #dbe8ff;
}

.rf-topbar {
    background: #ffffff;
    color: #3d3d3d;
    font-size: 0.9rem;
    line-height: 1;
    border-bottom: 1px solid #ececec;
}

.rf-topbar a {
    color: var(--rf-red);
    font-weight: 600;
}

.rf-topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
}

.rf-topbar-left,
.rf-topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.rf-top-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rf-top-item .dashicons {
    color: #6b6b6b;
    font-size: 17px;
    width: 17px;
    height: 17px;
}

.rf-topbar-right {
    color: #444444;
    text-align: right;
    white-space: nowrap;
}

.rf-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid transparent;
    transition: background-color var(--rf-ease), box-shadow var(--rf-ease), border-color var(--rf-ease), transform var(--rf-ease);
}

.home .rf-site-header {
    background: rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
}

body:not(.home) .rf-site-header,
.home .rf-site-header.is-scrolled {
    background: #ffffff;
    border-bottom-color: var(--rf-line);
    box-shadow: 0 10px 30px rgba(16, 31, 73, 0.08);
}

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

.rf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #ffffff;
    flex: 0 0 auto;
}

body:not(.home) .rf-brand,
.home .rf-site-header.is-scrolled .rf-brand {
    color: var(--rf-text);
}

.rf-brand-logo {
    max-width: 200px;
    max-height: 52px;
    object-fit: contain;
}

.rf-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--rf-red), var(--rf-blue));
    box-shadow: 0 8px 18px rgba(224, 31, 38, 0.28);
}

.rf-brand-text {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.28rem);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home .rf-brand-logo+.rf-brand-text {
    display: none;
}

.rf-main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.rf-main-nav li {
    display: block;
}

.rf-main-nav .menu-item-has-children>a {
    padding-right: calc(1.15vw + 10px);
}

.rf-main-nav .menu-item-has-children>a::before {
    content: '';
    position: absolute;
    right: calc(1.15vw - 2px);
    top: 50%;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.85;
}

.rf-main-nav a {
    display: block;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    font-size: 1.02rem;
    line-height: 1;
    padding: 27px 1.15vw;
    position: relative;
}

body:not(.home) .rf-main-nav a,
.home .rf-site-header.is-scrolled .rf-main-nav a {
    color: #26365f;
}

.rf-main-nav a::after {
    content: '';
    position: absolute;
    left: 1.2vw;
    right: 1.2vw;
    bottom: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--rf-ease), background-color var(--rf-ease);
}

body:not(.home) .rf-main-nav a::after,
.home .rf-site-header.is-scrolled .rf-main-nav a::after {
    background: var(--rf-blue);
}

.rf-main-nav a:hover::after,
.rf-main-nav .current-menu-item a::after,
.rf-main-nav .current_page_item a::after {
    transform: scaleX(1);
}

.rf-main-nav a:hover,
.rf-main-nav .current-menu-item>a,
.rf-main-nav .current_page_item>a {
    color: #ffffff;
}

body:not(.home) .rf-main-nav a:hover,
body:not(.home) .rf-main-nav .current-menu-item>a,
body:not(.home) .rf-main-nav .current_page_item>a,
.home .rf-site-header.is-scrolled .rf-main-nav a:hover,
.home .rf-site-header.is-scrolled .rf-main-nav .current-menu-item>a,
.home .rf-site-header.is-scrolled .rf-main-nav .current_page_item>a {
    color: var(--rf-blue);
}

.rf-header-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    background: #ffffff;
    border-top: 1px solid var(--rf-line);
    box-shadow: 0 20px 44px rgba(15, 27, 57, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    pointer-events: none;
}

.rf-header-mega.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.rf-header-mega-panel {
    display: none;
    align-items: start;
    grid-template-columns: minmax(0, 2.35fr) minmax(260px, 0.85fr);
    gap: 36px;
    padding: 24px 0 30px;
}

.rf-header-mega-panel.is-active {
    display: grid;
}

.rf-header-mega-main h3 {
    margin-bottom: 8px;
    font-size: 2rem;
}

.rf-header-mega-main p {
    margin-bottom: 16px;
    color: #5f6f93;
    max-width: 76ch;
    font-size: 0.95rem;
}

.rf-header-mega-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
}

.rf-header-mega-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    border-bottom: 1px solid #edf2f9;
    color: #2d3f67;
    font-size: 0.96rem;
    line-height: 1.2;
}

.rf-header-mega-links a::after {
    content: '›';
    color: #8ea0c7;
    margin-left: 12px;
}

.rf-header-mega-media {
    margin: 0;
    border: 1px solid #edf2f9;
    background: #fafcff;
}

.rf-header-mega-media img {
    width: 100%;
    aspect-ratio: 2.2 / 1;
    object-fit: cover;
}

@media (min-width: 769px) {
    .rf-main-nav .sub-menu {
        display: none;
    }
}

@media (max-width: 1180px) and (min-width: 769px) {
    .rf-header-mega-panel {
        grid-template-columns: minmax(0, 2fr) minmax(220px, 0.8fr);
        gap: 24px;
    }

    .rf-header-mega-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 20px;
    }
}

.rf-menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    color: #ffffff;
    border-radius: var(--rf-radius-sm);
    padding: 10px 14px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.home) .rf-menu-toggle,
.home .rf-site-header.is-scrolled .rf-menu-toggle {
    color: var(--rf-blue);
}

.rf-header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    position: relative;
}

.rf-header-tool {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.rf-header-tool-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    min-height: 0;
    min-width: 0;
    box-shadow: none;
}

.rf-header-tool-button:hover {
    background: transparent;
    transform: none;
}

.rf-header-tool .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

body:not(.home) .rf-header-tool,
.home .rf-site-header.is-scrolled .rf-header-tool {
    color: #334b88;
}

.rf-header-search,
.rf-header-language {
    position: relative;
}

.rf-header-search-form,
.rf-header-language-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    border: 1px solid #dce4f2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 38px rgba(16, 31, 73, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity var(--rf-ease), transform var(--rf-ease), visibility var(--rf-ease);
}

.rf-header-search-form {
    width: 320px;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.rf-header-search-form input[type='search'] {
    min-height: 42px;
    border: 1px solid #d8e1ef;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 14px;
    color: #2d3f67;
}

.rf-header-search-form button {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.rf-header-search.is-open .rf-header-search-form,
.rf-header-language.is-open .rf-header-language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.rf-header-language-menu {
    width: 200px;
    padding: 10px;
}

.rf-header-language-current {
    padding: 4px 6px 10px;
    color: #8a96ae;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rf-header-language-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.rf-header-language-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #2d3f67;
}

.rf-header-language-menu a:hover {
    background: #f3f7ff;
    color: var(--rf-blue);
}

.rf-header-language-menu li.is-current a {
    background: #eff4ff;
}

.rf-header-language-menu strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.rf-header-language-menu span {
    color: #7c8aa6;
    font-size: 0.9rem;
}

.rf-breadcrumbs {
    width: var(--rf-container);
    margin: 0 auto;
    padding: 14px 0;
    font-size: 0.92rem;
    color: #74809f;
}

.rf-breadcrumbs a {
    color: #4a5e8f;
}

.rf-breadcrumbs span {
    margin: 0 7px;
    color: #b0b8ca;
}

.rf-hero {
    position: relative;
}

.rf-hero--home {
    min-height: calc(100vh - 40px);
    background: #1a1f2b;
    color: #ffffff;
    display: block;
    overflow: hidden;
}

.rf-hero-slides {
    position: absolute;
    inset: 0;
}

.rf-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 820ms ease, visibility 820ms ease;
}

.rf-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.rf-hero-media {
    position: absolute;
    inset: 0;
}

.rf-hero-video,
.rf-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 6800ms linear;
}

.rf-hero-video {
    z-index: 1;
}

.rf-hero-image {
    z-index: 0;
    filter: grayscale(12%);
}

.rf-hero-slide.is-active .rf-hero-video,
.rf-hero-slide.is-active .rf-hero-image {
    transform: scale(1);
}

.rf-hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 3px),
        linear-gradient(180deg, rgba(18, 20, 27, 0.52) 0%, rgba(18, 20, 27, 0.42) 35%, rgba(18, 20, 27, 0.56) 100%);
}

.rf-hero-center {
    position: relative;
    z-index: 3;
    min-height: calc(100vh - 116px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 0 112px;
    width: min(1080px, 90vw);
    margin: 0 auto;
}

.rf-hero-center>* {
    opacity: 0;
    transform: translateY(18px);
}

.rf-hero-slide.is-active .rf-hero-center>* {
    opacity: 1;
    transform: none;
    transition: opacity 560ms ease, transform 560ms ease;
}

.rf-hero-slide.is-active .rf-hero-center h1 {
    transition-delay: 120ms;
}

.rf-hero-slide.is-active .rf-hero-center .rf-button {
    transition-delay: 190ms;
}

.rf-hero-pretitle {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(0.96rem, 1.28vw, 1.58rem);
    line-height: 1.3;
}

.rf-hero-center h1 {
    max-width: 860px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.9rem, 4.15vw, 4.65rem);
    line-height: 1.1;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.24);
}

.rf-button--hero {
    margin-top: 22px;
    min-width: 144px;
    min-height: 42px;
    padding: 9px 20px;
    font-size: 0.96rem;
}

.rf-button,
button,
input[type='submit'],
.wp-block-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--rf-radius-sm);
    background: linear-gradient(145deg, var(--rf-red), var(--rf-red-2));
    color: #ffffff;
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.96rem;
    min-height: 46px;
    padding: 10px 24px;
    cursor: pointer;
}

.rf-button:hover,
button:hover,
input[type='submit']:hover,
.wp-block-search__button:hover {
    color: #ffffff;
    background: linear-gradient(145deg, #f1353c, #cb1a21);
    transform: translateY(-1px);
}

.rf-button--ghost {
    background: transparent;
    border-color: currentColor;
}

.rf-button--ghost {
    color: var(--rf-blue);
}

.rf-button--footer {
    background: var(--rf-red);
}

.rf-hero-scroll {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    opacity: 0.92;
}

.rf-hero-scroll-icon {
    width: 17px;
    height: 29px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    position: relative;
}

.rf-hero-scroll-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.92);
    animation: rf-scroll-indicator 1.4s ease-in-out infinite;
}

@keyframes rf-scroll-indicator {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0;
        transform: translate(-50%, 8px);
    }

    100% {
        opacity: 0;
    }
}

.rf-hero-dots {
    position: absolute;
    z-index: 2;
    left: 48px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rf-hero-dots button {
    appearance: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.44);
    transition: background-color var(--rf-ease);
}

.rf-hero-dots button.is-active {
    background: #ffffff;
}

.rf-hero-dots button:focus-visible,
.rf-control:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.rf-hero-controls {
    position: absolute;
    z-index: 2;
    right: 36px;
    bottom: 30px;
    display: flex;
    gap: 12px;
}

.rf-control {
    appearance: none;
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: background-color var(--rf-ease), border-color var(--rf-ease), transform var(--rf-ease);
}

.rf-control::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
}

.rf-control-prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.rf-control-next::before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.rf-control:hover {
    background: rgba(255, 255, 255, 0.1);
    border-style: solid;
    transform: scale(1.05);
}

.rf-float-contact {
    position: fixed;
    z-index: 980;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.rf-float-contact a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #e12729;
    /* Target site red */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    overflow: hidden;
}

.rf-float-contact a:last-child {
    border-bottom: none;
}

.rf-float-contact a:hover {
    background: #c21e20;
}

.rf-float-contact .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.rf-panel {
    background: #ffffff;
    border: 1px solid var(--rf-line);
    border-radius: var(--rf-radius);
    box-shadow: var(--rf-shadow-sm);
}

.rf-section {
    padding: clamp(56px, 6vw, 96px) 0;
}

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

.rf-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    color: var(--rf-blue);
}

.rf-link-arrow::after {
    content: '+';
    color: var(--rf-red);
    font-size: 1.12rem;
}

.rf-grid {
    display: grid;
    gap: 18px;
}

.rf-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rf-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rf-home-category {
    background: #ffffff;
}

.rf-home-partners {
    background: #ffffff;
    padding: 22px 0 8px;
}

.rf-partners-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(120px, 1fr);
    gap: 18px;
    overflow-x: auto;
}

.rf-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    border: 1px solid #edf1f8;
    background: #ffffff;
    padding: 8px 12px;
}

.rf-partner-item img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.rf-category-module {
    display: grid;
    gap: 20px;
}

.rf-category-tabs-wrap {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 10px;
}

.rf-category-tab-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d8e0ee;
    background: #ffffff;
    color: #7d8eb3;
    padding: 0;
    position: relative;
}

.rf-category-tab-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translate(-30%, -50%) rotate(45deg);
}

.rf-category-tab-nav--prev::before {
    transform: translate(-70%, -50%) rotate(-135deg);
}

.rf-category-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(132px, 10.5vw, 188px);
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c0c9da #eef3fa;
}

.rf-category-tab {
    display: flex;
    flex-direction: column;
    border: 1px solid #dbe5f7;
    border-radius: 0;
    background: #ffffff;
    padding: 8px;
    min-width: clamp(132px, 10.5vw, 188px);
    min-height: clamp(146px, 11.6vw, 208px);
    text-transform: none;
    letter-spacing: 0;
}

.rf-category-tab-thumb {
    display: block;
    width: calc(100% - 12px);
    aspect-ratio: 1.62 / 1;
    margin: 0 auto 8px;
    padding: 6px;
    background: #ffffff;
}

.rf-category-tab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rf-category-tab-name {
    display: block;
    margin-top: auto;
    font-size: clamp(0.82rem, 1.02vw, 1.16rem);
    color: #212934;
    text-align: center;
    line-height: 1.2;
    font-weight: 400;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.rf-category-tab.is-active {
    border-color: #20409b;
    background: #20409b;
    box-shadow: none;
}

.rf-category-tab.is-active .rf-category-tab-name {
    color: #ffffff;
}

.rf-category-tab:hover,
.rf-category-tab:focus-visible {
    background: #ffffff;
    border-color: #dbe5f7;
    color: inherit;
    transform: none;
}

.rf-category-tab.is-active:hover,
.rf-category-tab.is-active:focus-visible {
    background: #20409b;
    border-color: #20409b;
}

.rf-category-tab-nav:hover,
.rf-category-tab-nav:focus-visible {
    background: #ffffff;
    border-color: #d8e0ee;
    color: #7d8eb3;
    transform: none;
}

.rf-category-panels {
    position: relative;
    min-height: clamp(340px, 36vw, 460px);
}

.rf-category-panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.rf-category-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.rf-category-panel-media {
    display: block;
    align-self: center;
}

.rf-category-panel-media img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.rf-category-panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.rf-category-panel-content h3 {
    font-size: clamp(2rem, 3vw, 2.85rem);
    color: #20409b;
}

.rf-category-panel-content .rf-muted {
    margin-bottom: 0;
    color: #4b5d87;
}

.rf-cat-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rf-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 4px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: #ffffff;
}

.rf-mini-btn:hover {
    color: #ffffff;
}

.rf-mini-btn--blue {
    background: var(--rf-blue);
}

.rf-mini-btn--blue:hover {
    background: #1a337a;
}

.rf-mini-btn--red {
    background: transparent;
    color: var(--rf-text);
    border: 1px solid var(--rf-line-strong);
}

.rf-mini-btn--red:hover {
    color: var(--rf-red);
    border-color: var(--rf-red);
}

.rf-cat-label {
    display: inline-block;
    color: var(--rf-red);
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.rf-card {
    border: 1px solid var(--rf-line);
    border-radius: var(--rf-radius);
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--rf-shadow-sm);
    transition: transform var(--rf-ease), box-shadow var(--rf-ease), border-color var(--rf-ease);
}

.rf-card:hover {
    transform: translateY(-4px);
    border-color: #bdc9e1;
    box-shadow: var(--rf-shadow-md);
}

.rf-card-thumb {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #edf1f8;
    overflow: hidden;
}

.rf-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rf-ease);
}

.rf-card:hover .rf-card-thumb img {
    transform: scale(1.04);
}

.rf-card-body {
    padding: 18px;
}

.rf-card-body h3 {
    margin-bottom: 8px;
}

.rf-card-meta {
    color: #7382a8;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.rf-home-about-band {
    background: #1a2238;
    color: #ffffff;
    padding: 80px 0;
}

.rf-home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: center;
}

.rf-home-about-band h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    margin-bottom: 8px;
    line-height: 1.15;
}

.rf-about-subtitle {
    color: #e5ebff;
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.rf-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.rf-stat-item {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
}

.rf-stat-item strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.rf-stat-item span {
    color: #d8e3ff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.rf-about-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rf-about-list li {
    position: relative;
    padding-left: 24px;
    color: #e5ebff;
}

.rf-about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rf-red);
}

.rf-button--about {
    min-height: 52px;
    padding: 12px 32px;
    font-size: 1.05rem;
}

.rf-home-about-band .rf-section-kicker {
    color: #ff7f84;
}

.rf-home-about-band .rf-muted {
    color: #d5def8;
}

.rf-home-about-media {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    min-height: 420px;
}

.rf-home-about-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.rf-about-page {
    padding-top: 36px;
    padding-bottom: 88px;
    background:
        radial-gradient(circle at top right, rgba(32, 64, 155, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.rf-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 28px;
}

.rf-about-intro-copy {
    padding: 22px 0;
}

.rf-about-intro-copy .rf-section-kicker {
    margin-bottom: 14px;
}

.rf-about-intro-copy h1 {
    max-width: 16ch;
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 3.8vw, 4rem);
    line-height: 1.05;
    color: #182238;
}

.rf-about-intro-text {
    max-width: 68ch;
    color: #596783;
    font-size: 1rem;
    line-height: 1.9;
}

.rf-about-intro-text p:last-child {
    margin-bottom: 0;
}

.rf-about-intro-media {
    margin: 0;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #eef3fd, #dce7fb);
    border: 1px solid #e1e8f5;
    box-shadow: 0 24px 60px rgba(18, 34, 72, 0.12);
}

.rf-about-intro-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.rf-about-media-placeholder {
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #8ea2d1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rf-about-block-head {
    margin-bottom: 18px;
}

.rf-about-block-head h2 {
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
    color: #1f2f56;
}

.rf-about-stats-block,
.rf-about-strengths-block,
.rf-about-timeline-block,
.rf-about-cert-block {
    border: 1px solid #e0e7f3;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(16, 31, 73, 0.06);
}

.rf-about-stats-block,
.rf-about-strengths-block {
    padding: 28px;
    margin-bottom: 24px;
}

.rf-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rf-about-stat-card {
    padding: 18px 18px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fbff 0%, #edf3ff 100%);
    border: 1px solid #dde7f7;
}

.rf-about-stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--rf-blue);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1;
}

.rf-about-stat-card span {
    color: #566684;
    line-height: 1.55;
}

.rf-about-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rf-about-strength-card {
    position: relative;
    padding: 22px 18px 20px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f4;
    overflow: hidden;
}

.rf-about-strength-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--rf-blue), #7f96d6);
}

.rf-about-strength-index {
    display: inline-block;
    margin-bottom: 16px;
    color: #9caacc;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.96rem;
    letter-spacing: 0.12em;
}

.rf-about-strength-card h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
    color: #20325b;
}

.rf-about-strength-card p {
    margin: 0;
    color: #62708a;
    line-height: 1.72;
}

.rf-about-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
}

.rf-about-timeline-block,
.rf-about-cert-block {
    padding: 28px;
    height: 100%;
}

.rf-about-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}

.rf-about-timeline li {
    position: relative;
    padding-left: 24px;
    color: #596783;
    line-height: 1.8;
}

.rf-about-timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rf-red);
    box-shadow: 0 0 0 6px rgba(224, 31, 38, 0.1);
}

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

.rf-about-cert-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dde5f4;
    background: #ffffff;
}

.rf-about-cert-card img {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
}

.rf-services-page {
    padding-top: 36px;
    padding-bottom: 88px;
    background:
        radial-gradient(circle at top left, rgba(224, 31, 38, 0.06), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.rf-services-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 26px;
}

.rf-services-hero-copy h1 {
    max-width: 16ch;
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3.6vw, 3.8rem);
    line-height: 1.06;
    color: #19243c;
}

.rf-services-hero-text {
    max-width: 66ch;
    color: #5d6b87;
    line-height: 1.9;
}

.rf-services-hero-text p:last-child {
    margin-bottom: 0;
}

.rf-services-hero-media {
    margin: 0;
    min-height: 400px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e1e8f5;
    background: linear-gradient(145deg, #eff4fd, #dde8fb);
    box-shadow: 0 24px 60px rgba(18, 34, 72, 0.12);
}

.rf-services-hero-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.rf-services-placeholder,
.rf-contact-placeholder {
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #8ea2d1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rf-services-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rf-services-stat-card,
.rf-services-pillar-card,
.rf-services-card,
.rf-services-cta,
.rf-contact-info-block,
.rf-contact-form-block,
.rf-contact-map-block {
    border: 1px solid #e0e7f3;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(16, 31, 73, 0.06);
}

.rf-services-stat-card {
    padding: 20px 20px 22px;
    background: linear-gradient(180deg, #f9fbff 0%, #edf3ff 100%);
}

.rf-services-stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--rf-blue);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    line-height: 1;
}

.rf-services-stat-card span {
    color: #596783;
    line-height: 1.6;
}

.rf-services-pillars-block,
.rf-services-list-block {
    margin-bottom: 24px;
}

.rf-services-block-head,
.rf-contact-block-head {
    margin-bottom: 18px;
}

.rf-services-block-head h2,
.rf-contact-block-head h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    color: #1f2f56;
}

.rf-services-block-head p,
.rf-contact-block-head p {
    margin: 8px 0 0;
    color: #64728c;
    line-height: 1.75;
}

.rf-services-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rf-services-pillar-card {
    position: relative;
    padding: 24px 18px 20px;
    overflow: hidden;
}

.rf-services-pillar-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--rf-red), var(--rf-blue));
}

.rf-services-pillar-index {
    display: inline-block;
    margin-bottom: 16px;
    color: #9caacc;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.96rem;
    letter-spacing: 0.12em;
}

.rf-services-pillar-card h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
    color: #22355f;
}

.rf-services-pillar-card p {
    margin: 0;
    color: #62708a;
    line-height: 1.72;
}

.rf-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rf-services-card {
    overflow: hidden;
}

.rf-services-card-media {
    margin: 0;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    background: #eef3fb;
}

.rf-services-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-services-card-body {
    padding: 20px 18px 18px;
}

.rf-services-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    color: #20345e;
}

.rf-services-card-body>p {
    margin: 0 0 14px;
    color: #61708b;
    line-height: 1.72;
}

.rf-services-card-process {
    padding-top: 14px;
    border-top: 1px solid #e5ebf5;
    color: #73809a;
    font-size: 0.92rem;
    line-height: 1.7;
}

.rf-services-card-process p:last-child {
    margin-bottom: 0;
}

.rf-services-cta {
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(145deg, #1b2f69, #2748a4);
    border-color: transparent;
}

.rf-services-cta-copy h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.rf-services-cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    max-width: 62ch;
}

.rf-contact-page {
    padding-top: 36px;
    padding-bottom: 88px;
    background:
        radial-gradient(circle at top right, rgba(32, 64, 155, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.rf-contact-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 26px;
}

.rf-contact-page-copy h1 {
    max-width: 15ch;
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3.6vw, 3.8rem);
    line-height: 1.06;
    color: #19243c;
}

.rf-contact-page-text {
    max-width: 64ch;
    color: #5d6b87;
    line-height: 1.9;
}

.rf-contact-page-text p:last-child {
    margin-bottom: 0;
}

.rf-contact-page-media {
    margin: 0;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e1e8f5;
    background: linear-gradient(145deg, #eff4fd, #dde8fb);
    box-shadow: 0 24px 60px rgba(18, 34, 72, 0.12);
}

.rf-contact-page-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.rf-contact-page-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.rf-contact-info-block,
.rf-contact-form-block,
.rf-contact-map-block {
    padding: 26px;
}

.rf-contact-info-list {
    display: grid;
    gap: 14px;
}

.rf-contact-info-card {
    padding: 16px 16px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
    border: 1px solid #dce6f7;
}

.rf-contact-info-card span {
    display: block;
    margin-bottom: 8px;
    color: #75829c;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.84rem;
}

.rf-contact-info-card strong,
.rf-contact-info-card strong a {
    color: #20345e;
    line-height: 1.6;
}

.rf-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.rf-contact-social a,
.rf-contact-social span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #dce4f3;
    background: #ffffff;
    color: #425a92;
    font-size: 0.9rem;
}

.rf-contact-hours {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e3e9f4;
}

.rf-contact-hours h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    color: #21345d;
}

.rf-contact-hours ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.rf-contact-hours li {
    color: #62708a;
}

.rf-contact-form-wrap .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.rf-contact-form-wrap .wpcf7-form p {
    margin: 0;
}

.rf-contact-form-wrap .wpcf7-form p:has(textarea),
.rf-contact-form-wrap .wpcf7-form p:has(.wpcf7-submit),
.rf-contact-form-wrap .wpcf7-form p:has(input[type='submit']) {
    grid-column: 1 / -1;
}

.rf-contact-form-wrap input,
.rf-contact-form-wrap textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8e1ee;
    border-radius: 10px;
    background: #ffffff;
    padding: 11px 14px;
}

.rf-contact-form-wrap textarea {
    min-height: 140px;
    resize: vertical;
}

.rf-contact-form-wrap .wpcf7-submit,
.rf-contact-form-wrap input[type='submit'] {
    min-width: 150px;
}

.rf-contact-map-block .rf-map-wrap iframe {
    border-radius: 14px;
}

.rf-search-page {
    padding-top: 36px;
    padding-bottom: 88px;
    background:
        radial-gradient(circle at top left, rgba(32, 64, 155, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.rf-search-shell {
    max-width: 1160px;
}

.rf-search-head {
    margin-bottom: 24px;
}

.rf-search-head h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.08;
    color: #19243c;
}

.rf-search-summary {
    max-width: 70ch;
    color: #61708b;
    line-height: 1.82;
    margin-bottom: 18px;
}

.rf-search-page-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dce4f2;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 32px rgba(16, 31, 73, 0.06);
}

.rf-search-page-form input[type='search'] {
    min-height: 50px;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    padding: 0 16px;
    color: #2e4068;
    background: #ffffff;
}

.rf-search-page-form button {
    min-height: 50px;
    min-width: 120px;
}

.rf-search-results {
    display: grid;
    gap: 18px;
}

.rf-search-result-card {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid #e1e8f4;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 34px rgba(16, 31, 73, 0.06);
    transition: transform var(--rf-ease), box-shadow var(--rf-ease), border-color var(--rf-ease);
}

.rf-search-result-card--no-media {
    grid-template-columns: 1fr;
}

.rf-search-result-card:hover {
    transform: translateY(-2px);
    border-color: #d4deef;
    box-shadow: 0 22px 44px rgba(16, 31, 73, 0.09);
}

.rf-search-result-media {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #eef3fb;
}

.rf-search-result-media img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.rf-search-result-body {
    min-width: 0;
}

.rf-search-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.rf-search-result-type {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(32, 64, 155, 0.09);
    color: var(--rf-blue);
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.84rem;
}

.rf-search-result-date {
    color: #8a97b0;
    font-size: 0.88rem;
}

.rf-search-result-body h2 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 1.8vw, 1.8rem);
    line-height: 1.3;
}

.rf-search-result-body h2 a {
    color: #1e2d50;
}

.rf-search-result-body h2 a:hover {
    color: var(--rf-blue);
}

.rf-search-result-body p {
    margin: 0;
    color: #62708a;
    line-height: 1.78;
}

.rf-search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--rf-blue);
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.92rem;
}

.rf-search-result-link::after {
    content: '→';
}

.rf-home-quality {
    background: #ffffff;
}

.rf-quality-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.rf-quality-item {
    border: 1px solid #e4e9f2;
    border-radius: 6px;
    padding: 16px 14px;
    text-align: center;
}

.rf-quality-item strong {
    display: block;
    color: #e01f26;
    font-size: 1.28rem;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.rf-quality-item span {
    color: #303f63;
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.rf-quality-image {
    border-radius: 8px;
    overflow: hidden;
}

.rf-quality-image img {
    width: 100%;
    height: clamp(220px, 36vw, 420px);
    object-fit: cover;
}

.rf-home-application {
    background: #ffffff;
    padding: 8px 0 24px;
}

.rf-app-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: minmax(182px, 1fr) minmax(182px, 1fr);
    gap: 6px;
}

.rf-app-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 182px;
    height: 182px;
    box-shadow: var(--rf-shadow-sm);
}

.rf-app-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.rf-app-card:hover img {
    transform: scale(1.08);
}

.rf-app-card--large {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 370px;
    height: 370px;
}

.rf-app-card--small {
    min-height: 182px;
    height: 182px;
}

.rf-app-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
}

.rf-app-overlay h3 {
    color: #ffffff;
    margin-bottom: 4px;
    font-size: clamp(1rem, 1.55vw, 1.34rem);
}

.rf-app-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    max-width: 66ch;
    font-size: 0.78rem;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rf-home-news {
    padding-top: clamp(30px, 4vw, 52px);
}

.rf-page-hero {
    background: linear-gradient(180deg, #f5f7fb, #ffffff);
    border-bottom: 1px solid var(--rf-line);
    padding: clamp(42px, 6vw, 80px) 0;
}

.rf-page-hero .rf-eyebrow {
    color: var(--rf-red);
}

.rf-page-hero .rf-muted {
    color: #5f6f93;
    margin-top: 12px;
}

.rf-product-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #14264f 0%, #0c1731 100%);
}

.rf-product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(8, 16, 34, 0.38), rgba(8, 16, 34, 0.62)),
        linear-gradient(90deg, rgba(10, 22, 49, 0.84), rgba(10, 22, 49, 0.48)),
        var(--rf-product-hero-image, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.04);
}

.rf-product-hero-inner {
    position: relative;
    z-index: 1;
    min-height: clamp(260px, 26vw, 360px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-product-hero-copy {
    width: 100%;
    max-width: 920px;
    padding: clamp(72px, 9vw, 118px) 0 clamp(54px, 8vw, 96px);
    text-align: center;
    color: #ffffff;
}

.rf-product-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.3rem, 4vw, 4rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.rf-product-hero-copy p {
    margin: 16px auto 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.55;
}

.rf-filter-wrap {
    margin: 8px 0 28px;
}

.rf-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--rf-line);
    box-shadow: var(--rf-shadow-sm);
    border-radius: var(--rf-radius);
    padding: 16px;
}

.rf-filter>* {
    flex: 1 1 220px;
}

.rf-filter input,
.rf-filter select,
.rf-filter textarea,
.rf-inquiry-form input,
.rf-inquiry-form textarea,
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    border: 1px solid #c8d2e4;
    border-radius: var(--rf-radius-sm);
    background: #ffffff;
    color: var(--rf-text);
    padding: 10px 12px;
    font: inherit;
}

.rf-filter input:focus,
.rf-filter select:focus,
.rf-filter textarea:focus,
.rf-inquiry-form input:focus,
.rf-inquiry-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #8da6d8;
    box-shadow: 0 0 0 4px rgba(32, 64, 155, 0.12);
}

.rf-product-category-hero {
    padding-top: 26px;
    padding-bottom: 6px;
}

.rf-product-category-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    gap: 24px;
    align-items: stretch;
}

.rf-product-category-hero-main h1 {
    margin: 0;
}

.rf-product-category-hero-main p {
    margin: 10px 0 18px;
    color: #6d7da3;
    max-width: 70ch;
    font-size: 1.28rem;
    line-height: 1.45;
}

.rf-product-type-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rf-product-type-links--content {
    margin-bottom: 28px;
}

.rf-product-type-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid #d7e0f0;
    background: #ffffff;
    color: #355190;
}

.rf-product-type-links a::after {
    content: '›';
    color: #8ba0ca;
    font-size: 1.2rem;
}

.rf-product-type-links a.is-active {
    border-color: #20409b;
    background: #f4f7ff;
    color: #20409b;
}

.rf-product-category-hero-media {
    margin: 0;
    min-height: 260px;
    border: 1px solid #e2e8f5;
    background: #f8fbff;
    overflow: hidden;
}

.rf-product-category-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-product-system {
    padding-top: 34px;
}

.rf-product-system-layout {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.rf-product-side {
    display: grid;
    gap: 16px;
}

.rf-product-side-block {
    border: 1px solid #d9e2f3;
    background: #ffffff;
    padding: 16px;
}

.rf-product-side-block h3 {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.18rem;
}

.rf-side-type-list,
.rf-side-hot-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rf-side-type-list li+li {
    margin-top: 8px;
}

.rf-side-type-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e1e7f4;
    min-height: 42px;
    padding: 8px 12px;
    color: #304a86;
}

.rf-side-type-list a::after {
    content: '›';
    color: #92a6cf;
}

.rf-side-type-list li.is-active a {
    border-color: #20409b;
    color: #20409b;
    background: #f3f7ff;
}

.rf-side-hot-list {
    display: grid;
    gap: 10px;
}

.rf-side-hot-list a {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #243a6f;
}

.rf-side-hot-list img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 1px solid #dfe6f5;
}

.rf-side-hot-list span {
    font-size: 0.9rem;
    line-height: 1.3;
}

.rf-news-archive-section {
    padding-bottom: 72px;
}

.rf-news-side-block {
    padding: 18px 16px;
}

.rf-news-side-block h3 {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dfe6f3;
    color: #1f3567;
}

.rf-news-hot-list {
    gap: 14px;
}

.rf-news-hot-list a {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.rf-news-hot-list img,
.rf-news-hot-thumb-placeholder {
    width: 74px;
    height: 74px;
    border: 1px solid #dfe6f5;
    background: #f4f7fc;
}

.rf-news-hot-thumb-placeholder {
    display: block;
}

.rf-news-hot-list span {
    font-size: 0.94rem;
    line-height: 1.45;
}

.rf-news-content {
    min-width: 0;
}

.rf-news-detail-section {
    padding-bottom: 72px;
}

.rf-news-detail-card {
    border: 1px solid #e0e6f1;
    background: #ffffff;
    padding: 32px;
}

.rf-news-detail-header h1 {
    margin: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #d9e1ee;
    text-align: center;
    font-size: clamp(2rem, 3.1vw, 3.3rem);
    line-height: 1.18;
    color: #303030;
}

.rf-news-detail-published {
    padding: 26px 0 18px;
    text-align: center;
    color: #9aa3b2;
    font-size: 0.98rem;
}

.rf-news-detail-summary {
    padding: 14px 18px;
    background: #f3f3f3;
    color: #5f6878;
    font-size: 1rem;
    line-height: 1.6;
}

.rf-news-detail-content {
    margin-top: 28px;
    color: #5d6778;
    font-size: 1.06rem;
    line-height: 2.05;
}

.rf-news-detail-content>*:first-child {
    margin-top: 0;
}

.rf-news-detail-content>*:last-child {
    margin-bottom: 0;
}

.rf-news-detail-content p {
    margin-bottom: 1.1em;
}

.rf-news-detail-content img {
    max-width: 100%;
    height: auto;
}

.rf-news-detail-download {
    margin: 28px 0 0;
}

.rf-news-list {
    display: grid;
    gap: 18px;
}

.rf-news-list-item {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 0;
    border-bottom: 0;
    transition: transform var(--rf-ease);
}

.rf-news-list-item:first-child {
    padding-top: 0;
}

.rf-news-list-date {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    min-height: 142px;
    padding: 16px 12px;
    color: #2d3f67;
    background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
    border: 1px solid #dce6f7;
    border-radius: 18px;
    transition: background-color var(--rf-ease), color var(--rf-ease), transform var(--rf-ease), border-color var(--rf-ease), box-shadow var(--rf-ease);
}

.rf-news-list-date-month,
.rf-news-list-date-year {
    display: block;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rf-news-list-date-month {
    font-size: 0.82rem;
    color: #6d7f9f;
}

.rf-news-list-date strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(2.3rem, 3.2vw, 3.1rem);
    line-height: 0.92;
    color: inherit;
    transition: color var(--rf-ease);
}

.rf-news-list-date-year {
    font-size: 0.8rem;
    line-height: 1.2;
    color: #6d7f9f;
    transition: color var(--rf-ease);
}

.rf-news-list-body {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid #e1e8f4;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(17, 33, 74, 0.05);
    transition: transform var(--rf-ease), box-shadow var(--rf-ease), border-color var(--rf-ease);
}

.rf-news-list-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.rf-news-list-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(32, 64, 155, 0.09);
    color: var(--rf-blue);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rf-news-list-meta-date {
    color: #8896b1;
    font-size: 0.88rem;
}

.rf-news-list-body h2 {
    margin: 0 0 10px;
    font-size: clamp(1.22rem, 1.65vw, 1.58rem);
    line-height: 1.35;
    font-weight: 600;
}

.rf-news-list-body h2 a {
    color: #1a2744;
}

.rf-news-list-body h2 a:hover {
    color: var(--rf-blue);
}

.rf-news-list-body p {
    margin: 0;
    color: #60708c;
    font-size: 0.96rem;
    line-height: 1.78;
    max-width: none;
}

.rf-news-list-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--rf-blue);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rf-news-list-link::after {
    content: '→';
    font-size: 1rem;
}

.rf-news-list-item:hover,
.rf-news-list-item:focus-within {
    transform: translateY(-2px);
}

.rf-news-list-item:hover .rf-news-list-date,
.rf-news-list-item:focus-within .rf-news-list-date {
    background: linear-gradient(180deg, #20409b 0%, #365abf 100%);
    border-color: #20409b;
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(32, 64, 155, 0.18);
}

.rf-news-list-item:hover .rf-news-list-date-month,
.rf-news-list-item:hover .rf-news-list-date-year,
.rf-news-list-item:focus-within .rf-news-list-date-month,
.rf-news-list-item:focus-within .rf-news-list-date-year {
    color: rgba(255, 255, 255, 0.82);
}

.rf-news-list-item:hover .rf-news-list-body,
.rf-news-list-item:focus-within .rf-news-list-body {
    border-color: #d5dff1;
    box-shadow: 0 20px 38px rgba(17, 33, 74, 0.09);
}

.rf-news-list-item:hover .rf-news-list-link,
.rf-news-list-item:focus-within .rf-news-list-link {
    color: var(--rf-red);
}

.rf-product-content {
    min-width: 0;
}

.rf-product-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
    gap: 0;
    align-items: stretch;
    padding: 24px;
    background: #f6f6f6;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.rf-product-filter label {
    min-width: 0;
}

.rf-product-filter input[type="search"] {
    min-height: 64px;
    padding: 0 36px;
    border: none;
    border-radius: 0;
    background: #ececec;
    color: #667085;
    font-size: 1rem;
}

.rf-product-filter input[type="search"]::placeholder {
    color: #7a7f87;
}

.rf-product-filter button {
    min-height: 64px;
    border: none;
    border-radius: 0;
    background: #e51b24;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.rf-product-filter button:hover {
    background: #cf151d;
}

.rf-product-list-grid {
    gap: 16px;
}

.rf-product-item .rf-card-body {
    display: grid;
    gap: 12px;
}

.rf-product-item h3 {
    font-size: 1rem;
    margin: 0;
    min-height: 2.5em;
}

.rf-product-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    background: #409eff;
    color: #ffffff;
    border: 1px solid #409eff;
    width: fit-content;
}

.rf-product-quote-btn:hover {
    color: #ffffff;
    background: #2f8ff1;
}

.rf-product-detail-card {
    border: 1px solid #d9e2f3;
    background: #ffffff;
    padding: clamp(16px, 1.8vw, 24px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 20px;
    margin-bottom: 18px;
}

.rf-product-single .rf-product-system {
    padding-top: 18px;
}

.rf-product-single .rf-product-detail-card {
    border: none;
    background: transparent;
    padding: 0;
    gap: clamp(28px, 3vw, 52px);
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
    margin-bottom: 32px;
}

.rf-product-single .rf-product-detail-media {
    min-width: 0;
}

.rf-product-single .rf-product-detail-info {
    padding-top: 6px;
}

.rf-product-detail-info h1 {
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.rf-product-single .rf-product-detail-info h1 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    line-height: 1.2;
}

.rf-product-single .rf-product-detail-info>.rf-muted {
    margin: 0 0 18px;
    font-size: 1.04rem;
    line-height: 1.7;
    color: #5e6881;
}

.rf-product-detail-meta {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.rf-product-single .rf-product-detail-meta {
    margin-top: 0;
    padding: 10px 0;
    grid-template-columns: 88px minmax(0, 1fr);
    border-top: 1px solid #e7edf6;
}

.rf-product-single .rf-product-detail-meta:last-of-type {
    border-bottom: 1px solid #e7edf6;
}

.rf-product-detail-meta span {
    color: #2e477e;
    font-weight: 600;
}

.rf-product-detail-meta div,
.rf-product-detail-meta a {
    color: #4a5f90;
}

.rf-product-detail-meta div a+a::before {
    content: ' / ';
    color: #9caacc;
    margin: 0 4px;
}

.rf-product-detail-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rf-product-single .rf-product-detail-actions {
    margin-top: 22px;
}

.rf-gallery-main {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #d9e2f3;
    background: #ffffff;
    padding: 12px;
}

.rf-product-single .rf-gallery-main {
    appearance: none;
    border-radius: 0;
    border: 1px solid #e3e8f0;
    padding: 18px;
    display: block;
    width: 100%;
    cursor: zoom-in;
    background: #ffffff;
    color: inherit;
    box-shadow: none;
    transform: none;
}

.rf-gallery-main img {
    width: 100%;
    aspect-ratio: 1.62 / 1;
    object-fit: contain;
}

.rf-product-single .rf-gallery-main img {
    aspect-ratio: 1.5 / 1;
    background: #ffffff;
}

.rf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.rf-product-single .rf-gallery-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.rf-gallery-thumb {
    border: 1px solid #d9e2f3;
    background: #ffffff;
    overflow: hidden;
    padding: 6px;
    cursor: pointer;
}

.rf-product-single .rf-gallery-thumb {
    appearance: none;
    padding: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    color: inherit;
    box-shadow: none;
    transform: none;
}

.rf-product-single .rf-gallery-thumb.is-active {
    border-color: #20409b;
    box-shadow: inset 0 0 0 1px #20409b;
}

.rf-product-single .rf-gallery-main:hover,
.rf-product-single .rf-gallery-thumb:hover {
    background: #ffffff;
    color: inherit;
    transform: none;
}

.rf-gallery-thumb img {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    object-fit: contain;
    background: #ffffff;
}

.rf-product-overview {
    border: 1px solid #d9e2f3;
    background: #ffffff;
    padding: clamp(16px, 1.8vw, 24px);
    margin-bottom: 14px;
}

.rf-product-single .rf-product-overview {
    border: none;
    border-top: 1px solid #e1e7f2;
    background: transparent;
    padding: 26px 0 0;
    margin-bottom: 22px;
}

.rf-product-single .rf-product-overview h2 {
    margin: 0 0 16px;
    font-size: 1.28rem;
    line-height: 1.3;
    color: #22365f;
}

.rf-product-richtext {
    margin-top: 10px;
}

.rf-product-single .rf-product-richtext {
    margin-top: 0;
    color: #4e596f;
    line-height: 1.85;
}

.rf-product-single .rf-product-richtext img {
    max-width: 100%;
    height: auto;
}

.rf-product-single .rf-product-richtext p {
    margin-bottom: 1em;
}

.rf-product-richtext p:last-child {
    margin-bottom: 0;
}

.rf-spec-title {
    margin: 0 0 12px;
}

.rf-specs {
    margin: 0;
    border: 1px solid #d9e2f3;
    overflow: hidden;
}

.rf-product-single .rf-specs {
    border: 1px solid #e2e8f2;
}

.rf-spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--rf-line);
}

.rf-spec-row:last-child {
    border-bottom: 0;
}

.rf-spec-row dt,
.rf-spec-row dd {
    margin: 0;
    padding: 11px 14px;
}

.rf-spec-row dt {
    font-weight: 600;
    color: #3a4871;
    background: #f6f8fc;
}

.rf-product-single .rf-spec-row dt {
    background: #f8fafc;
}

.rf-product-single .rf-spec-row dd {
    color: #596682;
}

.rf-download-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.rf-download-list a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #c7d5ef;
    border-radius: 4px;
    background: #ffffff;
    color: #3f4f75;
}

.rf-download-list a:hover {
    border-color: #9fb2d7;
    color: var(--rf-blue);
}

.rf-product-single .rf-download-list {
    margin-top: 0;
}

.rf-product-single .rf-download-list a {
    padding: 14px 16px;
    border-radius: 0;
    border-color: #e1e7f2;
}

.rf-pagination ul {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rf-pagination a,
.rf-pagination span {
    border: 1px solid #c8d2e6;
    border-radius: var(--rf-radius-sm);
    padding: 8px 12px;
    color: #53648d;
    background: #ffffff;
}

.rf-pagination .current {
    border-color: var(--rf-blue);
    background: var(--rf-blue);
    color: #ffffff;
}

.rf-inquiry-block {
    padding: 64px 0;
    background: var(--rf-bg-soft);
    border-top: 1px solid var(--rf-line);
    border-bottom: 1px solid var(--rf-line);
}

.rf-inquiry-head {
    margin-bottom: 18px;
}

.rf-inquiry-head p {
    color: #5c6c94;
    max-width: 600px;
    margin: 0 auto;
}

.rf-inquiry-head h2 {
    color: #1a2238;
}

.rf-inquiry-form {
    border: 1px solid var(--rf-line);
    border-radius: var(--rf-radius);
    background: #ffffff;
    box-shadow: var(--rf-shadow-sm);
    padding: 20px;
}

.rf-inquiry-block--single-product {
    padding-top: 24px;
    background: transparent;
    border-top: 0;
    border-bottom: 0;
}

.rf-inquiry-block--single-product .rf-container {
    width: 100%;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid #e1e7f2;
}

.rf-inquiry-block--single-product .rf-inquiry-head {
    margin-bottom: 12px;
}

.rf-inquiry-block--single-product .rf-inquiry-head h2 {
    font-size: 1.22rem;
    margin-bottom: 6px;
}

.rf-inquiry-block--single-product .rf-inquiry-head p {
    margin: 0;
    max-width: none;
    color: #66728c;
    font-size: 0.94rem;
}

.rf-inquiry-block--single-product .rf-inquiry-form {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: none;
}

.rf-inquiry-block--single-product .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.rf-inquiry-block--single-product .wpcf7-form p {
    margin: 0;
    line-height: 1.35;
}

.rf-inquiry-block--single-product .wpcf7-form p:has(textarea),
.rf-inquiry-block--single-product .wpcf7-form p:has(.wpcf7-submit),
.rf-inquiry-block--single-product .wpcf7-form p:has(input[type='submit']) {
    grid-column: 1 / -1;
}

.rf-inquiry-block--single-product .wpcf7-form-control-wrap,
.rf-inquiry-block--single-product .wpcf7-form label {
    display: block;
}

.rf-inquiry-block--single-product .wpcf7-form input,
.rf-inquiry-block--single-product .wpcf7-form textarea {
    border-radius: 0;
    border-color: #d7dfeb;
    min-height: 42px;
    background: #ffffff;
    padding: 9px 12px;
    font-size: 0.95rem;
}

.rf-inquiry-block--single-product .wpcf7-form textarea {
    min-height: 108px;
    resize: vertical;
}

.rf-inquiry-block--single-product .wpcf7-submit,
.rf-inquiry-block--single-product input[type='submit'] {
    min-width: 132px;
    min-height: 40px;
    border: 0;
    border-radius: 3px;
    background: #e51b24;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 20px;
}

.rf-inquiry-block--single-product .wpcf7-submit:hover,
.rf-inquiry-block--single-product input[type='submit']:hover {
    background: #cc171f;
}

.rf-inquiry-block--single-product .wpcf7-form p:has(.wpcf7-submit),
.rf-inquiry-block--single-product .wpcf7-form p:has(input[type='submit']) {
    text-align: center;
    margin-top: 6px;
}

.rf-related-products-section {
    padding-top: 10px;
}

.rf-related-products-head {
    margin-bottom: 18px;
}

.rf-related-products-head h2 {
    margin: 0;
    font-size: 1.42rem;
}

.rf-related-products-grid {
    gap: 24px;
}

.rf-related-product-card {
    border: none;
    background: transparent;
    box-shadow: none;
}

.rf-related-product-card .rf-card-thumb {
    border-radius: 0;
    border: 1px solid #e1e7f2;
    background: #ffffff;
}

.rf-related-product-card .rf-card-thumb img {
    aspect-ratio: 1.28 / 1;
    object-fit: contain;
    padding: 14px;
    background: #ffffff;
}

.rf-related-product-card .rf-card-body {
    padding: 0;
    margin-top: 12px;
    border-top: 1px solid #d7deec;
    padding-top: 12px;
}

.rf-related-product-card .rf-card-body h3 {
    font-size: 1rem;
    line-height: 1.6;
}

.rf-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(9, 16, 32, 0.88);
}

.rf-gallery-lightbox[hidden] {
    display: none;
}

.rf-gallery-lightbox-inner {
    max-width: min(1200px, 92vw);
    max-height: 86vh;
}

.rf-gallery-lightbox-inner img {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    background: #ffffff;
}

.rf-gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}

.wpcf7-form p {
    margin: 0 0 12px;
}

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

.rf-map-wrap iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
    border-radius: var(--rf-radius);
}

.rf-site-footer {
    margin-top: 80px;
    background: #0d162e;
    color: #bac9ef;
    border-top: 4px solid var(--rf-red);
}

.rf-site-footer a {
    color: #d7e4ff;
}

.rf-site-footer a:hover {
    color: #ffffff;
}

.rf-footer-top {
    padding: 56px 0 42px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-footer-brand strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.35rem;
}

.rf-footer-brand p {
    margin: 0 0 10px;
    color: #bac9ef;
}

.rf-footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rf-footer-contact span {
    color: #d7e4ff;
}

.rf-footer-search form {
    width: 100%;
    max-width: 420px;
    display: flex;
    gap: 8px;
}

.rf-footer-search label {
    flex: 1;
}

.rf-footer-search input[type='search'],
.rf-footer-search input[type='text'] {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--rf-radius-sm);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    padding: 0 12px;
}

.rf-footer-search input::placeholder {
    color: #b7c7ed;
}

.rf-footer-search .search-submit,
.rf-footer-search button {
    min-height: 44px;
    padding: 8px 16px;
}

.rf-footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
}

.rf-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rf-empty-state {
    padding: 24px;
    border: 1px dashed #b8c5df;
    border-radius: var(--rf-radius);
    color: #60719a;
    background: #f8faff;
}

.rf-animate {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.rf-animate.is-visible {
    opacity: 1;
    transform: none;
}

.rf-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.rf-stagger.is-visible>*:nth-child(1) {
    transition-delay: 40ms;
}

.rf-stagger.is-visible>*:nth-child(2) {
    transition-delay: 110ms;
}

.rf-stagger.is-visible>*:nth-child(3) {
    transition-delay: 180ms;
}

.rf-stagger.is-visible>*:nth-child(4) {
    transition-delay: 250ms;
}

.rf-stagger.is-visible>*:nth-child(5) {
    transition-delay: 320ms;
}

.rf-stagger.is-visible>* {
    opacity: 1;
    transform: none;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

@media (max-width: 1200px) {
    .rf-main-nav a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rf-grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rf-footer-top {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

@media (max-width: 1024px) {

    .rf-product-single .rf-product-detail-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rf-product-single .rf-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rf-product-hero-copy {
        padding-top: 86px;
        padding-bottom: 72px;
    }

    .rf-home-about-grid,
    .rf-product-system-layout,
    .rf-contact-grid {
        grid-template-columns: 1fr;
    }

    .rf-about-intro,
    .rf-about-lower-grid,
    .rf-about-strengths-grid,
    .rf-services-hero,
    .rf-contact-page-hero,
    .rf-contact-page-grid {
        grid-template-columns: 1fr;
    }

    .rf-about-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rf-services-stats,
    .rf-services-pillars-grid,
    .rf-services-grid {
        grid-template-columns: 1fr;
    }

    .rf-search-result-card {
        grid-template-columns: 1fr;
    }

    .rf-about-intro-media {
        min-height: 320px;
    }

    .rf-services-hero-media,
    .rf-contact-page-media {
        min-height: 300px;
    }

    .rf-search-result-media img {
        min-height: 220px;
    }

    .rf-news-list-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .rf-news-detail-card {
        padding: 24px;
    }

    .rf-news-detail-header h1 {
        padding-bottom: 20px;
        font-size: clamp(1.7rem, 4vw, 2.5rem);
    }

    .rf-news-list-date {
        min-height: 126px;
        padding: 14px 10px;
    }

    .rf-news-list-date strong {
        font-size: clamp(2rem, 5vw, 2.6rem);
    }

    .rf-news-list-body {
        padding: 18px 18px 20px;
    }

    .rf-news-list-body h2 {
        margin-bottom: 10px;
        font-size: clamp(1.08rem, 2vw, 1.35rem);
    }

    .rf-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rf-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rf-hero--home {
        min-height: auto;
    }

    .rf-hero-center {
        min-height: 66vh;
        padding-top: 56px;
        padding-bottom: 84px;
    }

    .rf-hero-dots {
        left: 24px;
    }

    .rf-partners-row {
        grid-auto-columns: minmax(132px, 180px);
    }

    .rf-category-tabs-wrap {
        grid-template-columns: 1fr;
    }

    .rf-category-tab-nav {
        display: none;
    }

    .rf-category-tabs {
        grid-auto-columns: minmax(110px, 1fr);
    }

    .rf-category-panel {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rf-category-panel-media img {
        max-height: 280px;
    }

    .rf-app-card--large {
        min-height: 330px;
        height: 330px;
    }

    .rf-spec-row {
        grid-template-columns: 1fr;
    }

    .rf-product-category-hero-inner,
    .rf-product-detail-card {
        grid-template-columns: 1fr;
    }

    .rf-product-type-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rf-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .rf-inquiry-block--single-product .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .rf-product-single .rf-product-detail-info h1 {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }

    .rf-product-single .rf-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rf-product-hero-inner {
        min-height: 240px;
    }

    .rf-product-hero-copy {
        padding-top: 62px;
        padding-bottom: 56px;
    }

    .rf-product-hero-copy h1 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .rf-product-hero-copy p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .rf-topbar-inner {
        min-height: 38px;
    }

    .rf-topbar-left {
        gap: 10px;
    }

    .rf-topbar-right {
        display: none;
    }

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

    .rf-header-tools {
        display: none;
    }

    .rf-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .rf-main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid var(--rf-line);
        border-bottom: 1px solid var(--rf-line);
        box-shadow: 0 16px 34px rgba(14, 25, 55, 0.15);
    }

    .rf-main-nav.is-open {
        display: block;
    }

    .rf-main-nav ul {
        display: block;
        padding: 10px 0;
    }

    .rf-main-nav a {
        color: #1d3269 !important;
        padding: 12px 20px;
    }

    .rf-main-nav .menu-item-has-children>a::before {
        right: 20px;
        border-color: #6d7da3;
    }

    .rf-main-nav a::after {
        left: 20px;
        right: 20px;
        bottom: 7px;
    }

    .rf-app-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .rf-header-mega {
        display: none;
    }

    .rf-app-card,
    .rf-app-card--small,
    .rf-app-card--large {
        min-height: 204px;
        height: 204px;
        grid-row: auto;
    }

    .rf-partner-item {
        min-height: 64px;
    }

    .rf-float-contact,
    .rf-hero-controls,
    .rf-hero-dots {
        display: none;
    }

    .rf-hero-pretitle {
        font-size: 1rem;
    }

    .rf-hero-center h1 {
        font-size: clamp(1.7rem, 8.4vw, 2.6rem);
        line-height: 1.16;
    }

    .rf-hero-scroll {
        bottom: 8px;
        font-size: 0.76rem;
    }

    .rf-stats,
    .rf-quality-list,
    .rf-grid--3,
    .rf-grid--4 {
        grid-template-columns: 1fr;
    }

    .rf-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rf-product-type-links {
        grid-template-columns: 1fr;
    }

    .rf-home-about-media {
        min-height: 280px;
    }

    .rf-filter {
        flex-direction: column;
    }

    .rf-product-filter {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }

    .rf-news-list-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
    }

    .rf-about-page {
        padding-top: 24px;
        padding-bottom: 64px;
    }

    .rf-services-page,
    .rf-contact-page,
    .rf-search-page {
        padding-top: 24px;
        padding-bottom: 64px;
    }

    .rf-about-intro {
        gap: 20px;
    }

    .rf-services-hero,
    .rf-contact-page-hero {
        gap: 20px;
    }

    .rf-about-intro-copy {
        padding: 0;
    }

    .rf-about-intro-media {
        min-height: 240px;
        border-radius: 14px;
    }

    .rf-services-hero-media,
    .rf-contact-page-media {
        min-height: 220px;
        border-radius: 14px;
    }

    .rf-about-stats-grid,
    .rf-about-cert-grid {
        grid-template-columns: 1fr;
    }

    .rf-about-stats-block,
    .rf-about-strengths-block,
    .rf-about-timeline-block,
    .rf-about-cert-block,
    .rf-contact-info-block,
    .rf-contact-form-block,
    .rf-contact-map-block {
        padding: 20px;
        border-radius: 14px;
    }

    .rf-services-stats {
        grid-template-columns: 1fr;
    }

    .rf-header-search-form {
        width: min(300px, calc(100vw - 32px));
    }

    .rf-header-language-menu {
        width: min(200px, calc(100vw - 32px));
    }

    .rf-services-cta {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .rf-contact-form-wrap .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .rf-search-page-form {
        grid-template-columns: 1fr;
    }

    .rf-search-page-form button {
        width: 100%;
    }

    .rf-news-detail-card {
        padding: 18px;
    }

    .rf-news-detail-published {
        padding: 18px 0 14px;
    }

    .rf-news-detail-summary {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .rf-news-detail-content {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.85;
    }

    .rf-news-list-date {
        min-height: auto;
        grid-template-columns: auto auto auto;
        justify-content: start;
        align-items: baseline;
        gap: 8px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .rf-news-list-date strong {
        font-size: 1.9rem;
    }

    .rf-news-list-body {
        padding: 16px;
    }

    .rf-news-list-body h2 {
        margin-bottom: 10px;
        font-size: clamp(1.28rem, 6vw, 1.7rem);
    }

    .rf-news-list-meta {
        margin-bottom: 10px;
    }

    .rf-product-filter input[type="search"],
    .rf-product-filter button {
        min-height: 56px;
    }

    .rf-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .rf-breadcrumbs {
        display: none;
    }

    .rf-top-item .dashicons {
        display: none;
    }

    .rf-topbar-left {
        gap: 8px;
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .rf-animate,
    .rf-stagger>* {
        opacity: 1 !important;
        transform: none !important;
    }
}