/*
Theme Name: RedMed
Theme URI: https://redmed.co.in/
Author: VimiMagic
Author URI: https://redmed.co.in/
Description: Custom, plugin-free theme for RedMed Medical Services. Products, Jobs, Customers and Enquiries post types, own meta boxes, Theme Settings, Contact + Careers forms (with CV upload), basic SEO and a one-click demo-content importer.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redmed
*/

/* ---------- Fonts (Google Fonts files, self-hosted) ---------- */
@font-face{font-family:'Oswald';font-style:normal;font-weight:500 700;font-display:swap;src:url(assets/fonts/oswald-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500 700;font-display:swap;src:url(assets/fonts/oswald-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/roboto-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/roboto-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Roboto Fallback';src:local('Arial');size-adjust:100.3%;ascent-override:92%;descent-override:24%;line-gap-override:0%;}
@font-face{font-family:'Oswald Fallback';src:local('Arial Narrow'),local('Arial');size-adjust:81%;ascent-override:142%;descent-override:34%;line-gap-override:0%;}

/* ---------- Tokens ---------- */
:root {
	--rm-pink: #ef2f67;
	--rm-pink-dark: #c9184d;
	--rm-pink-text: #d61c53;
	--rm-pink-soft: #f07a98;
	--rm-green: #59983b;
	--rm-green-dark: #44792c;
	--rm-navy: #1f2d3d;
	--rm-dark: #071d2d;
	--rm-text: #5f6b7a;
	--rm-muted: #8392a0;
	--rm-light: #f5f7fa;
	--rm-border: #e8edf2;
	--rm-radius: 20px;
	--rm-shadow: 0 8px 25px rgba(20, 40, 60, .05);
	--rm-shadow-lg: 0 18px 45px rgba(20, 40, 60, .10);
	--rm-head: "Oswald", "Oswald Fallback", "Arial Narrow", Arial, sans-serif;
	--rm-body: "Roboto", "Roboto Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--rm-header-h: 120px;
	--rm-wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
html.rm-lock { overflow: hidden; }
body {
	margin: 0;
	padding-top: var(--rm-header-h);
	font-family: var(--rm-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--rm-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--rm-pink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rm-pink-dark); }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--rm-head);
	font-weight: 700;
	line-height: 1.15;
	color: var(--rm-navy);
	text-transform: uppercase;
	letter-spacing: .2px;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rm-navy); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rm-skip { position: fixed; left: 12px; top: -60px; z-index: 100000; background: var(--rm-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.rm-skip:focus { top: 12px; color: #fff; }
.rm-icon { width: 1em; height: 1em; flex: none; }
.rm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rm-container { width: min(var(--rm-wrap), calc(100% - 60px)); margin-inline: auto; }
.rm-container--narrow { width: min(960px, calc(100% - 60px)); }
.rm-container--text { width: min(900px, calc(100% - 60px)); }
.rm-center { text-align: center; margin-inline: auto; }
.rm-section { position: relative; padding: clamp(60px, 7vw, 110px) 0; }
.rm-section--tight { padding: clamp(40px, 5vw, 70px) 0; }
.rm-section--grey { background: var(--rm-light); }

.rm-grid-2, .rm-grid-3, .rm-grid-4 { display: grid; gap: 25px; }
.rm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(25px, 4vw, 50px); align-items: start; }
.rm-split--center { align-items: center; }

/* ---------- Headings / labels ---------- */
.rm-head { margin-bottom: 18px; }
.rm-head--mb { margin-bottom: 40px; }
.rm-head--center { text-align: center; }
.rm-head--center .rm-label { justify-content: center; }
.rm-head--center .rm-label::before { display: none; }
.rm-label, .rm-eyebrow {
	display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
	color: var(--rm-pink-text); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.rm-label::before, .rm-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.rm-label--center { justify-content: center; }
.rm-label--center::before { display: none; }
.rm-title { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.15; letter-spacing: -.3px; }
.rm-title span { color: var(--rm-pink); }
.rm-title--md { font-size: clamp(28px, 3.2vw, 42px); }
.rm-title--sm { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 18px; }
.rm-lead { max-width: 760px; margin: 18px 0 0; font-size: 16px; line-height: 1.85; }
.rm-lead.rm-center { margin-inline: auto; }
.rm-prose p { margin: 16px 0 0; font-size: 15.5px; line-height: 1.8; }
.rm-prose p:first-child { margin-top: 0; }
.rm-prose strong { color: var(--rm-navy); }
.rm-cat { margin-bottom: 8px; color: var(--rm-green-dark); font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.rm-cat--pill { display: inline-block; padding: 6px 14px; border-radius: 50px; background: rgba(89, 152, 59, .1); color: var(--rm-green-dark); }

/* ---------- Buttons (pills) ---------- */
.rm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 10px 24px; border: 2px solid transparent; border-radius: 50px;
	font-family: var(--rm-body); font-size: 14px; font-weight: 700; letter-spacing: .3px; line-height: 1.2;
	text-align: center; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.rm-btn:hover { transform: translateY(-2px); }
.rm-btn .rm-icon { width: 16px; height: 16px; }
.rm-btn--block { width: 100%; }
.rm-btn--pink { background: var(--rm-pink-text); color: #fff; }
.rm-btn--pink:hover { background: var(--rm-pink-dark); color: #fff; box-shadow: 0 10px 22px rgba(239, 47, 103, .25); }
.rm-btn--green { background: var(--rm-green-dark); color: #fff; }
.rm-btn--green:hover { background: var(--rm-pink); color: #fff; box-shadow: 0 8px 20px rgba(239, 47, 103, .25); }
.rm-btn--outline { background: #fff; color: var(--rm-navy); border-color: var(--rm-border); }
.rm-btn--outline:hover { border-color: var(--rm-pink); color: var(--rm-pink); }
.rm-btn--amazon { background: #ff9900; color: #131921; }
.rm-btn--amazon:hover { background: #f08804; color: #131921; }
.rm-btn--flipkart { background: #1f66db; color: #fff; }
.rm-btn--flipkart:hover { background: #1b5fd0; color: #fff; }
.rm-btn--whatsapp { background: #128c4b; color: #fff; }
.rm-btn--whatsapp:hover { background: #0e7a40; color: #fff; }
.rm-btn.is-loading { opacity: .7; pointer-events: none; }
.rm-btn-plus {
	display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 6px 28px 6px 7px;
	border-radius: 60px; background: var(--rm-pink-text); color: #fff; font-size: 13.5px; font-weight: 700;
	letter-spacing: .8px; text-transform: uppercase; box-shadow: 0 12px 28px rgba(239, 47, 103, .2);
	transition: transform .25s ease, background .25s ease;
}
.rm-btn-plus:hover { background: var(--rm-pink-dark); color: #fff; transform: translateY(-2px); }
.rm-btn-plus__circle { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--rm-pink); font-size: 24px; font-weight: 400; line-height: 1; }
.rm-btn-plus--sm { min-height: 52px; padding-right: 24px; }
.rm-btn-plus--sm .rm-btn-plus__circle { width: 38px; height: 38px; font-size: 20px; }
.rm-more { display: inline-flex; align-items: center; gap: 6px; color: var(--rm-pink-text); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.rm-more .rm-icon { width: 15px; height: 15px; transition: transform .2s ease; }
.rm-more:hover .rm-icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.rm-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 9990; height: var(--rm-header-h);
	background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(226, 232, 240, .85);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	transition: height .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease;
}
.admin-bar .rm-header { top: var(--wp-admin--admin-bar--height, 32px); }
.rm-header.is-stuck { height: 84px; background: rgba(255, 255, 255, .98); box-shadow: 0 10px 25px rgba(15, 23, 42, .06); }
.rm-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; width: min(1360px, calc(100% - 40px)); }
.rm-header__logo { flex: none; }
.rm-brand-logo { display: flex; align-items: center; }
.rm-brand-logo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; transition: transform .25s ease; }
.rm-brand-logo:hover img { transform: scale(1.02); }
.rm-header__nav { display: none; }
.rm-nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.rm-nav-menu a {
	display: inline-flex; padding: 10px 16px; border-radius: 50px; color: var(--rm-green-dark);
	font-size: 15.5px; font-weight: 500; letter-spacing: .1px; transition: color .2s ease, background .2s ease;
}
.rm-nav-menu a:hover { color: var(--rm-pink-text); background: rgba(239, 47, 103, .08); }
.rm-nav-menu .current-menu-item > a, .rm-nav-menu .current_page_item > a, .rm-nav-menu .current-menu-ancestor > a, .rm-nav-menu .current_page_parent > a {
	color: var(--rm-pink-text); font-weight: 700; background: rgba(239, 47, 103, .09);
}
.rm-header__actions { display: flex; align-items: center; gap: 14px; }
.rm-header__cta { display: none; min-height: 46px; padding: 11px 24px; }
.rm-burger {
	display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; padding: 10px;
	background: #f8fafc; border: 1px solid rgba(226, 232, 240, .85); border-radius: 12px; cursor: pointer;
}
.rm-burger span { display: block; width: 100%; height: 2.5px; border-radius: 2px; background: #111827; }
.rm-burger:hover { background: #fff; border-color: var(--rm-green); }
@media (min-width: 1140px) {
	.rm-header__nav { display: block; }
	.rm-header__cta { display: inline-flex; }
	.rm-burger { display: none; }
}

/* Drawer */
.rm-drawer { position: fixed; inset: 0; z-index: 99999; visibility: hidden; pointer-events: none; transition: visibility .35s; }
.rm-drawer.is-open { visibility: visible; pointer-events: auto; }
.rm-drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .65); opacity: 0; transition: opacity .35s ease; }
.rm-drawer.is-open .rm-drawer__backdrop { opacity: 1; }
.rm-drawer__panel {
	position: absolute; top: 0; right: 0; width: min(340px, 84vw); height: 100%; background: #fff;
	display: flex; flex-direction: column; overflow-y: auto; box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
	transform: translateX(100%); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.rm-drawer.is-open .rm-drawer__panel { transform: none; }
.rm-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--rm-border); }
.rm-drawer__logo img { height: 40px; width: auto; }
.rm-drawer__close { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #f1f5f9; color: var(--rm-navy); cursor: pointer; }
.rm-drawer__close .rm-icon { width: 18px; height: 18px; }
.rm-drawer__close:hover { background: var(--rm-pink); color: #fff; }
.rm-drawer__nav { flex: 1; padding: 22px 18px; }
.rm-mobile-menu { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rm-mobile-menu a { display: block; padding: 12px 18px; border-radius: 12px; color: var(--rm-green-dark); font-size: 16px; font-weight: 600; }
.rm-mobile-menu a:hover, .rm-mobile-menu .current-menu-item > a, .rm-mobile-menu .current_page_item > a, .rm-mobile-menu .current_page_parent > a { color: var(--rm-pink); background: rgba(239, 47, 103, .09); }
.rm-drawer__foot { padding: 22px 20px; background: #f8fafc; border-top: 1px solid var(--rm-border); }
.rm-drawer__contact { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #64748b; font-size: 14px; }
.rm-drawer__contact .rm-icon { color: var(--rm-green); width: 15px; height: 15px; }
.rm-drawer__foot .rm-social { margin-top: 16px; }
.rm-drawer__foot .rm-social a { background: #fff; border: 1px solid var(--rm-border); color: var(--rm-navy); }

/* Social */
.rm-social { display: flex; gap: 10px; flex-wrap: wrap; }
.rm-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #1c1c1c; color: #fff; transition: background .2s ease, color .2s ease; }
.rm-social a .rm-icon { width: 17px; height: 17px; }
.rm-social a:hover { background: var(--rm-pink); color: #fff; border-color: var(--rm-pink); }

/* ---------- Hero ---------- */
.rm-hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; background: #f5f7f5; isolation: isolate; }
.rm-hero__img { position: absolute; inset: 0; z-index: -3; }
.rm-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.rm-hero__overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #f5f7f5 0%, rgba(245, 247, 245, .95) 25%, rgba(245, 247, 245, .75) 50%, rgba(245, 247, 245, .15) 80%, rgba(245, 247, 245, 0) 100%); }
.rm-hero__inner { display: flex; align-items: center; }
.rm-hero__content { width: 62%; max-width: 720px; padding: 60px 0; }
.rm-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .3px; text-transform: none; margin-bottom: 20px; }
.rm-hero__title { margin: 0; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.05; letter-spacing: -.5px; }
.rm-hero__title span { display: block; }
.rm-hero__title span:last-child { color: var(--rm-pink); }
.rm-hero__text { max-width: 600px; margin: 24px 0 32px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: #667085; }

/* ---------- Home: about ---------- */
.rm-about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(35px, 6vw, 80px); align-items: center; }
.rm-about__grid--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.rm-about__image { position: relative; width: 100%; padding: 0 10px 10px 0; }
.rm-about__image::before { content: ""; position: absolute; left: -15px; bottom: -15px; width: 85%; height: 85%; border-radius: 24px; background: #f7f0f3; }
.rm-about__image img { position: relative; width: 100%; aspect-ratio: 570 / 700; object-fit: cover; border-radius: 22px; box-shadow: 0 15px 45px rgba(25, 40, 55, .08); }
.rm-about__logo img { width: 100%; max-width: 460px; margin-inline: auto; }

/* ---------- Cards ---------- */
.rm-card { background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-radius); box-shadow: var(--rm-shadow); }
.rm-products-home { background: var(--rm-light); }
.rm-pcard { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.rm-pcard:hover { transform: translateY(-6px); box-shadow: var(--rm-shadow-lg); }
.rm-pcard__img { height: 260px; padding: 24px; display: flex; align-items: center; justify-content: center; background: #f8fafc; }
.rm-pcard__img img { max-height: 100%; width: auto; object-fit: contain; }
.rm-pcard--shop .rm-pcard__img { height: 300px; }
.rm-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.rm-pcard__title { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.rm-pcard__title a { color: var(--rm-navy); }
.rm-pcard__title a:hover { color: var(--rm-pink); }
.rm-pcard__text { flex: 1; margin: 0 0 20px; font-size: 14px; line-height: 1.65; }
.rm-pcard--shop .rm-pcard__body { gap: 0; }
.rm-pcard--shop .rm-buy { margin: 4px 0 12px; }
.rm-pcard--shop .rm-btn--outline { margin-top: auto; }
.rm-price { margin: 0 0 14px; color: var(--rm-pink); font-family: var(--rm-head); font-size: 26px; font-weight: 700; line-height: 1.1; }
.rm-price--lg { font-size: 36px; margin: 6px 0 18px; }
.rm-buy { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-buy--sm { flex-direction: column; }
.rm-buy--sm .rm-btn { width: 100%; min-height: 44px; font-size: 13.5px; }
.rm-buy--lg { margin: 24px 0 10px; }
.rm-buy--lg .rm-btn { flex: 1 1 180px; }

/* ---------- Dark band ---------- */
.rm-band { position: relative; overflow: hidden; padding: clamp(65px, 7vw, 105px) 0; background: var(--rm-dark); }
.rm-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 47, 103, .16), transparent 70%); pointer-events: none; }
.rm-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.rm-band__label { display: block; margin-bottom: 18px; color: #8a97a5; font-size: 14px; font-weight: 500; }
.rm-band__title { margin: 0 0 28px; color: #fff; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.1; }
.rm-band__title span { color: var(--rm-pink-soft); }
.rm-band__stats { display: flex; flex-direction: column; gap: 36px; }
.rm-stat { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.rm-stat:last-child { padding-bottom: 0; border-bottom: 0; }
.rm-stat__num { color: #fff; font-family: var(--rm-head); font-size: clamp(42px, 4.5vw, 60px); font-weight: 700; line-height: 1; }
.rm-stat__num span { color: var(--rm-pink-soft); }
.rm-stat h3 { margin: 0 0 10px; color: #fff; font-size: 20px; }
.rm-stat p { margin: 0; color: var(--rm-muted); font-size: 14px; line-height: 1.7; }

/* ---------- Video ---------- */
.rm-video { background: #f8fafc; border-bottom: 1px solid var(--rm-border); }
.rm-video__frame { position: relative; max-width: 950px; margin: clamp(35px, 5vw, 55px) auto 0; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #000; border: 1px solid var(--rm-border); box-shadow: 0 25px 60px rgba(15, 23, 42, .12); }
.rm-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.rm-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s ease; }
.rm-yt:hover img { opacity: 1; }
.rm-yt__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--rm-pink); color: #fff; box-shadow: 0 0 0 12px rgba(239, 47, 103, .25); transition: transform .25s ease; }
.rm-yt__play .rm-icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.rm-yt:hover .rm-yt__play { transform: scale(1.06); }

/* ---------- News cards ---------- */
.rm-ncard { display: flex; flex-direction: column; overflow: hidden; }
.rm-ncard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f6f8; }
.rm-ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rm-ncard:hover .rm-ncard__img img { transform: scale(1.04); }
.rm-ncard__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--rm-pink); font-size: 40px; }
.rm-ncard__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.rm-ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; color: #5f6b7a; font-size: 12.5px; font-weight: 500; }
.rm-ncard__cat { padding: 3px 10px; border-radius: 50px; background: #fdeef3; color: #b8154a; font-weight: 700; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; }
.rm-ncard__title { margin: 0 0 10px; font-size: 19px; line-height: 1.35; }
.rm-ncard__title a { color: var(--rm-navy); }
.rm-ncard__title a:hover { color: var(--rm-pink); }
.rm-ncard__text { flex: 1; margin: 0 0 16px; font-size: 14px; line-height: 1.65; }

/* ---------- Page head ---------- */
.rm-pagehead { position: relative; padding: clamp(55px, 6vw, 90px) 0 clamp(45px, 5vw, 70px); background: linear-gradient(180deg, #fff 0%, #f7f0f3 100%); border-bottom: 1px solid var(--rm-border); text-align: center; overflow: hidden; }
.rm-pagehead::before { content: ""; position: absolute; left: -100px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(89, 152, 59, .10), transparent 70%); }
.rm-pagehead__inner { position: relative; }
.rm-pagehead .rm-lead { margin-inline: auto; }

/* ---------- About page ---------- */
.rm-mv { display: grid; gap: 18px; margin-top: 30px; }
.rm-mv__item { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--rm-border); border-left: 4px solid var(--rm-pink); border-radius: 16px; background: #fff; box-shadow: var(--rm-shadow); }
.rm-mv__item h2 { margin: 0 0 6px; font-size: 20px; }
.rm-mv__item p { margin: 0; font-size: 15px; }
.rm-mv__icon, .rm-reason__icon, .rm-perk__icon, .rm-comp__icon, .rm-ccard__icon, .rm-nojobs__icon {
	width: 52px; height: 52px; flex: none; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 14px; background: rgba(239, 47, 103, .09); color: var(--rm-pink); font-size: 24px;
}
.rm-reasons { background: var(--rm-light); }
.rm-reasons__grid { margin-top: 45px; }
.rm-reason { padding: 30px 26px; text-align: left; transition: transform .3s ease, box-shadow .3s ease; }
.rm-reason:hover { transform: translateY(-5px); box-shadow: var(--rm-shadow-lg); }
.rm-reason__num { margin: 18px 0 4px; color: var(--rm-pink); font-family: var(--rm-head); font-size: 44px; font-weight: 700; line-height: 1; }
.rm-reason h3 { margin: 0 0 10px; font-size: 20px; }
.rm-reason p { margin: 0; font-size: 14px; line-height: 1.7; }

/* ---------- Trust strip ---------- */
.rm-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; list-style: none; margin-top: 45px; padding: 22px 26px; border: 1px dashed #cfd8e3; border-radius: 16px; background: #fff; }
.rm-trust li { display: flex; align-items: center; gap: 10px; color: var(--rm-navy); font-size: 14.5px; font-weight: 600; }
.rm-trust .rm-icon { color: var(--rm-green); width: 20px; height: 20px; }
.rm-trust--inline { justify-content: flex-start; margin-top: 18px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--rm-border); border-radius: 0; background: none; gap: 10px 22px; }
.rm-trust--inline li { font-size: 13.5px; }

/* ---------- Single product ---------- */
.rm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: #5f6b7a; }
.rm-crumbs a { color: var(--rm-green-dark); font-weight: 500; }
.rm-crumbs a:hover { color: var(--rm-pink); }
.rm-crumbs [aria-current] { color: var(--rm-navy); font-weight: 600; }
.rm-product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.rm-gallery { position: sticky; top: 110px; }
.rm-gallery__main { display: flex; align-items: center; justify-content: center; height: clamp(340px, 42vw, 560px); padding: 28px; border: 1px solid var(--rm-border); border-radius: 24px; background: #f8fafc; }
.rm-gallery__main img { max-height: 100%; width: auto; object-fit: contain; }
.rm-gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.rm-gallery__thumb { width: 82px; height: 82px; padding: 6px; border: 2px solid var(--rm-border); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s ease; }
.rm-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.rm-gallery__thumb.is-active, .rm-gallery__thumb:hover { border-color: var(--rm-pink); }
.rm-product__title { margin: 14px 0 8px; font-size: clamp(30px, 3.4vw, 46px); }
.rm-product__sub { margin: 0; color: var(--rm-navy); font-size: 17px; font-weight: 500; }
.rm-product__desc { font-size: 15.5px; }
.rm-comp { margin-top: 40px; }
.rm-comp__item { padding: 26px; }
.rm-comp__item h3 { margin: 16px 0 8px; font-size: 18px; }
.rm-comp__item p { margin: 0; font-size: 14px; line-height: 1.7; }
.rm-benefits, .rm-dosage { padding: clamp(24px, 3vw, 36px); height: 100%; }
.rm-checklist { list-style: none; display: grid; gap: 12px; }
.rm-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.rm-checklist .rm-icon { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(89, 152, 59, .14); color: var(--rm-green); }
.rm-safety { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: #fff5f8; border: 1px solid #fbd3df; }
.rm-safety h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; color: var(--rm-pink-dark); }
.rm-safety p { margin: 0; font-size: 14px; }
.rm-product-details .rm-split { align-items: stretch; }

/* ---------- Customers ---------- */
.rm-logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.rm-logos__item { display: flex; }
.rm-logos__item > a, .rm-logos__item > img, .rm-logos__item > .rm-logos__text { flex: 1; }
.rm-logos__item a, .rm-logos__item > img, .rm-logos__text {
	display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 20px 24px;
	background: #fff; border: 1px solid var(--rm-border); border-radius: 18px; box-shadow: var(--rm-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rm-logos__item a:hover { transform: translateY(-4px); box-shadow: var(--rm-shadow-lg); border-color: #f6c2d2; }
.rm-logos__item img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.rm-logos__item > img { box-sizing: border-box; object-fit: contain; }
.rm-logos__text { color: var(--rm-navy); font-family: var(--rm-head); font-size: 19px; font-weight: 700; text-transform: uppercase; text-align: center; }
.rm-digital__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
.rm-logos--digital { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.rm-logos--digital a, .rm-logos--digital .rm-logos__text { min-height: 96px; }
.rm-logos--digital img { max-height: 48px; }

/* ---------- News layout ---------- */
.rm-newslayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 50px); align-items: start; }
.rm-sidebar { display: grid; gap: 24px; position: sticky; top: 110px; }
.rm-widget { padding: 24px; }
.rm-widget__title { position: relative; margin: 0 0 18px; padding-bottom: 12px; font-size: 20px; border-bottom: 1px solid var(--rm-border); }
.rm-widget__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--rm-pink); }
.rm-recent { list-style: none; display: grid; gap: 16px; }
.rm-recent li { display: flex; gap: 14px; align-items: center; }
.rm-recent__thumb { flex: none; width: 70px; height: 70px; border-radius: 12px; overflow: hidden; background: #f4f6f8; }
.rm-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rm-recent a { color: var(--rm-navy); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.rm-recent a:hover { color: var(--rm-pink); }
.rm-recent time { display: block; margin-top: 4px; color: #5f6b7a; font-size: 12.5px; }
.rm-cats { list-style: none; display: grid; gap: 4px; }
.rm-cats a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--rm-navy); font-weight: 500; font-size: 15px; }
.rm-cats a:hover { background: rgba(239, 47, 103, .07); color: var(--rm-pink); }
.rm-cats__n { min-width: 30px; padding: 2px 8px; border-radius: 50px; background: var(--rm-light); color: var(--rm-text); font-size: 12px; text-align: center; }
.rm-search { position: relative; display: flex; }
.rm-search input { width: 100%; height: 52px; padding: 0 56px 0 20px; border: 1px solid var(--rm-border); border-radius: 50px; background: #fff; box-shadow: var(--rm-shadow); }
.rm-search input:focus { outline: none; border-color: var(--rm-pink); }
.rm-search button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--rm-pink); color: #fff; cursor: pointer; }
.rm-search button .rm-icon { width: 17px; height: 17px; }
.rm-pagination { margin-top: 40px; }
.rm-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--rm-border); border-radius: 50px; background: #fff; color: var(--rm-navy); font-weight: 600; }
.rm-pagination .page-numbers.current, .rm-pagination a.page-numbers:hover { background: var(--rm-pink); border-color: var(--rm-pink); color: #fff; }
.rm-empty { padding: 40px; text-align: center; }
.rm-article .rm-title { margin: 6px 0 22px; }
.rm-article__img { margin: 0 0 28px; border-radius: 22px; overflow: hidden; }
.rm-article__img img { width: 100%; }
.rm-entry { font-size: 16px; line-height: 1.85; }
.rm-entry h2 { margin: 1.6em 0 .6em; font-size: clamp(22px, 2.2vw, 28px); }
.rm-entry h3 { margin: 1.4em 0 .5em; font-size: 20px; }
.rm-entry ul, .rm-entry ol { margin: 0 0 1em; padding-left: 1.3em; }
.rm-entry li { margin-bottom: .4em; }
.rm-entry a { text-decoration: underline; text-underline-offset: 3px; }
.rm-entry > *:first-child { margin-top: 0; }
.rm-container--text .rm-entry { padding: clamp(24px, 4vw, 50px); }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 16px 18px; border: 1px solid var(--rm-border); border-radius: 16px; color: var(--rm-navy); font-weight: 600; line-height: 1.4; }
.post-navigation a span { display: block; color: var(--rm-pink); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.post-navigation .nav-next { text-align: right; }

/* ---------- Careers ---------- */
.rm-perk { padding: 28px 24px; }
.rm-perk h2 { margin: 18px 0 8px; font-size: 20px; }
.rm-perk p { margin: 0; font-size: 14px; line-height: 1.7; }
.rm-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0; }
.rm-filter { padding: 10px 20px; border: 1px solid var(--rm-border); border-radius: 50px; background: #fff; color: var(--rm-navy); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.rm-filter:hover { border-color: var(--rm-pink); color: var(--rm-pink); }
.rm-filter.is-active { background: var(--rm-pink-text); border-color: var(--rm-pink-text); color: #fff; }
.rm-jobs { display: grid; gap: 16px; margin-top: 10px; }
.rm-job { overflow: hidden; }
.rm-job[hidden] { display: none; }
.rm-job__head { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 22px 26px; cursor: pointer; list-style: none; }
.rm-job__head::-webkit-details-marker { display: none; }
.rm-job__title { color: var(--rm-navy); font-family: var(--rm-head); font-size: 20px; font-weight: 700; text-transform: uppercase; line-height: 1.3; }
.rm-job__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--rm-text); font-size: 13.5px; }
.rm-job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.rm-job__meta .rm-icon { color: var(--rm-green); width: 15px; height: 15px; }
.rm-job__chev { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--rm-light); color: var(--rm-navy); transition: transform .3s ease, background .2s ease; }
.rm-job[open] .rm-job__chev { transform: rotate(180deg); background: var(--rm-pink); color: #fff; }
.rm-job__body { padding: 0 26px 26px; border-top: 1px solid var(--rm-border); }
.rm-job__body h3 { margin: 22px 0 10px; font-size: 17px; }
.rm-job__body .rm-btn { margin-top: 22px; }
.rm-nojobs { padding: 40px 30px; text-align: center; }
.rm-nojobs[hidden] { display: none; }
.rm-nojobs h3 { margin: 16px 0 8px; font-size: 22px; }
.rm-nojobs p { max-width: 560px; margin: 0 auto 22px; }
.rm-hr { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--rm-navy); font-weight: 500; }
.rm-hr .rm-icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(89, 152, 59, .12); color: var(--rm-green); }

/* ---------- Forms ---------- */
.rm-formcard { padding: clamp(24px, 3.5vw, 42px); }
.rm-formcard__title { margin: 0 0 4px; font-size: 26px; }
.rm-formcard__role { margin: 0 0 18px; color: var(--rm-pink-text); font-weight: 600; font-size: 14.5px; }
.rm-form { display: grid; gap: 16px; }
.rm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rm-field { display: grid; gap: 7px; }
.rm-field > span { color: var(--rm-navy); font-size: 13.5px; font-weight: 600; }
.rm-field input, .rm-field select, .rm-field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #dbe3ec; border-radius: 12px;
	background: #fbfcfe; color: var(--rm-navy); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rm-field textarea { resize: vertical; min-height: 120px; }
.rm-field input[type="file"] { padding: 11px 12px; background: #fff; border-style: dashed; cursor: pointer; }
.rm-field input:focus, .rm-field select:focus, .rm-field textarea:focus { outline: none; border-color: var(--rm-pink); background: #fff; box-shadow: 0 0 0 4px rgba(239, 47, 103, .1); }
.rm-form .rm-btn { justify-self: start; min-width: 200px; }
.rm-form .rm-btn--block { justify-self: stretch; }
.rm-notice { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.rm-notice .rm-icon { width: 22px; height: 22px; margin-top: 1px; }
.rm-notice--ok { background: #ecf7e8; color: #2f6a19; border: 1px solid #c6e5b9; }
.rm-notice--err { background: #fff1f4; color: #b4173f; border: 1px solid #fbc9d6; }

/* ---------- Contact ---------- */
.rm-ccard { padding: 30px 26px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.rm-ccard:hover { transform: translateY(-5px); box-shadow: var(--rm-shadow-lg); }
.rm-ccard__icon { width: 64px; height: 64px; border-radius: 50%; font-size: 26px; }
.rm-ccard h2 { margin: 18px 0 8px; font-size: 21px; }
.rm-ccard p { margin: 0; font-size: 15px; line-height: 1.8; }
.rm-ccard a { color: var(--rm-text); }
.rm-ccard a:hover { color: var(--rm-pink); }
.rm-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 44px); align-items: stretch; }
.rm-contact__grid--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.rm-contact__map { min-height: 420px; border-radius: var(--rm-radius); overflow: hidden; border: 1px solid var(--rm-border); background: #e9eef3; }
.rm-contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- 404 ---------- */
.rm-404__num { font-family: var(--rm-head); font-size: clamp(110px, 18vw, 200px); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--rm-pink); }
.rm-404 .rm-lead { margin-inline: auto; }
.rm-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.rm-404__search { max-width: 460px; margin: 30px auto 0; }

/* ---------- Footer ---------- */
.rm-footer { position: relative; margin-top: 30px; background: #0b0b0b; color: #a3a3a3; font-size: 15px; }
.rm-footer__edge { position: absolute; left: 0; right: 0; top: -28px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%230b0b0b' d='M0 40 L0 16 L37 12 L68 14 L102 16 L133 22 L163 14 L218 12 L250 22 L283 12 L314 14 L356 10 L409 10 L451 10 L487 26 L541 18 L576 26 L615 14 L655 16 L689 14 L720 22 L779 12 L827 20 L884 16 L931 22 L970 22 L1003 26 L1062 16 L1118 26 L1150 14 L1210 12 L1248 16 L1285 20 L1339 10 L1371 16 L1420 16 L1440 16 L1440 40 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.rm-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .7fr 1.2fr; gap: clamp(28px, 4vw, 50px); padding: clamp(60px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); }
.rm-footer__logo { display: inline-block; margin-bottom: 18px; }
.rm-footer__logo img { width: 120px; height: auto; border-radius: 8px; }
.rm-footer__about p { max-width: 340px; margin-bottom: 22px; line-height: 1.8; }
.rm-footer__title { margin: 6px 0 22px; color: #fff; font-size: 20px; letter-spacing: .5px; }
.rm-footer-menu { list-style: none; display: grid; gap: 12px; }
.rm-footer-menu a, .rm-footer__contact a { color: #a3a3a3; }
.rm-footer-menu a:hover, .rm-footer__contact a:hover { color: var(--rm-pink); }
.rm-footer__contact p { margin: 0 0 16px; line-height: 1.75; }
.rm-footer__contact ul { list-style: none; display: grid; gap: 10px; }
.rm-footer__contact li { display: flex; align-items: center; gap: 12px; word-break: break-word; }
.rm-footer__contact .rm-icon { color: var(--rm-green); width: 17px; height: 17px; }
.rm-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: #000; }
.rm-footer__bottom p { margin: 0; padding: 22px 0; text-align: center; font-size: 14px; color: #8a8a8a; }

/* ---------- Editor / WP core classes ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--rm-muted); text-align: center; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	:root { --rm-header-h: 100px; }
	.rm-header.is-stuck { height: 78px; }
	.rm-brand-logo img { height: 48px; }
	.rm-container, .rm-container--narrow, .rm-container--text { width: calc(100% - 48px); }
	.rm-hero { min-height: 620px; }
	.rm-hero__content { width: 72%; }
	.rm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.rm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.rm-band__grid { grid-template-columns: 1fr; gap: 50px; }
	.rm-newslayout { grid-template-columns: 1fr; }
	.rm-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-sidebar .rm-search { grid-column: 1 / -1; }
	.rm-footer__grid { grid-template-columns: 1fr 1fr; }
	.rm-digital__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.rm-product__grid, .rm-split, .rm-contact__grid, .rm-about__grid, .rm-about__grid--rev { grid-template-columns: 1fr; }
	.rm-gallery { position: static; }
	.rm-about__logo { order: -1; }
	.rm-about__logo img { max-width: 280px; }
}
@media (max-width: 767px) {
	:root { --rm-header-h: 88px; }
	.rm-header.is-stuck { height: 72px; }
	.rm-header__row { width: calc(100% - 28px); }
	.rm-brand-logo img { height: 42px; max-width: 180px; }
	.rm-burger { width: 42px; height: 42px; padding: 9px; }
	body { font-size: 15px; }
	.rm-container, .rm-container--narrow, .rm-container--text { width: calc(100% - 32px); }
	.rm-hero { min-height: 560px; padding: 40px 0; }
	.rm-hero .rm-btn-plus { width: 100%; }
	.rm-hero__img img { object-fit: contain; object-position: right -15px center; width: 78%; left: auto; right: 0; position: absolute; height: 100%; opacity: .38; }
	.rm-hero__overlay { background: linear-gradient(90deg, rgba(245, 247, 245, .95) 0%, rgba(245, 247, 245, .85) 55%, rgba(245, 247, 245, .3) 100%); }
	.rm-hero__content { width: 100%; padding: 0; }
	.rm-hero__title { font-size: clamp(34px, 10vw, 44px); }
	.rm-grid-2, .rm-grid-3, .rm-grid-4 { grid-template-columns: 1fr; }
	.rm-about__image { max-width: 480px; margin-inline: auto; }
	.rm-stat { grid-template-columns: 1fr; gap: 10px; }
	.rm-stat__num { font-size: 44px; }
	.rm-video__frame { border-radius: 18px; }
	.rm-yt__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
	.rm-pcard__img, .rm-pcard--shop .rm-pcard__img { height: 240px; }
	.rm-form__row { grid-template-columns: 1fr; }
	.rm-form .rm-btn { justify-self: stretch; }
	.rm-sidebar { grid-template-columns: 1fr; }
	.rm-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.rm-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.rm-logos__item a, .rm-logos__item > img, .rm-logos__text { min-height: 96px; padding: 14px; }
	.rm-logos__item img { max-height: 56px; }
	.rm-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
	.rm-buy--lg .rm-btn { flex: 1 1 100%; }
	.rm-gallery__main { height: 340px; }
	.rm-job__head { padding: 18px; }
	.rm-job__body { padding: 0 18px 20px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.rm-contact__map, .rm-contact__map iframe { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Page-specific refinements ---------- */
.rm-title span.rm-green, .rm-band__title span.rm-green { color: var(--rm-green); }
.rm-about__grid--page { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.rm-about__grid--page .rm-about__logo { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--rm-border); border-radius: 24px; box-shadow: 0 20px 50px rgba(20, 40, 60, .08); }
.rm-about__grid--page .rm-about__logo img { max-width: 100%; }
.rm-about-intro { background: var(--rm-light); }
.rm-mv__item { border-left: 1px solid var(--rm-border); box-shadow: none; background: transparent; border: 0; padding: 0; }
.rm-mv__item h2 { font-size: 21px; }
.rm-reasons { background: #fff; }
.rm-reason__num { color: var(--rm-green); }
.rm-reason--0 .rm-reason__icon { background: #fff4db; color: #d99a00; }
.rm-reason--1 .rm-reason__icon { background: #e6efff; color: #2e6be6; }
.rm-reason--2 .rm-reason__icon { background: #ffeadf; color: #ea6a2f; }
.rm-reason--3 .rm-reason__icon { background: #e4f5e6; color: #2f9a45; }
.rm-buy--lg .rm-btn { flex: 1 1 auto; white-space: nowrap; }
.rm-career-cta { background: var(--rm-dark); }
.rm-career-cta .rm-title { color: #fff; }
.rm-career-cta .rm-title span { color: #8fcf6c; }
.rm-career-cta .rm-lead { color: var(--rm-muted); }
.rm-career-cta .rm-hr { color: #fff; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.rm-career-cta .rm-hr a { color: #fff; font-weight: 700; }
.rm-career-cta .rm-hr a:hover { color: var(--rm-pink-soft); }
.rm-main:has(> .rm-band:last-child) + .rm-footer, .rm-main:has(> .rm-career-cta:last-child) + .rm-footer { margin-top: 0; }
.rm-main:has(> .rm-band:last-child) + .rm-footer .rm-footer__edge, .rm-main:has(> .rm-career-cta:last-child) + .rm-footer .rm-footer__edge { background-color: var(--rm-dark); }

.rm-logos--hospital { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-logos--digital { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rm-logos--digital a, .rm-logos--digital .rm-logos__text { min-height: 110px; }
.rm-logos--digital img { max-height: 56px; }
@media (max-width: 1024px) { .rm-logos--hospital { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rm-logos--hospital, .rm-logos--digital { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
