/* RSOLE INC – new clean design (header, footer, homepage)
 * Path: wp-content/themes/logico-child/assets/rsole.css (NEW)
 */

:root {
	--rx-navy: #063F65;
	--rx-dark: #0A2540;
	--rx-blue: #0F96F0;
	--rx-blue-d: #0A7FD1;
	--rx-text: #1B2B3A;
	--rx-muted: #556677;
	--rx-bg: #F3F6F9;
	--rx-line: #E2E8EF;
	--rx-radius: 16px;
	--rx-font: 'Poppins', sans-serif;
	--rx-shadow: 0 10px 30px rgba(10, 37, 64, .08);
}

/* ---------- Base helpers ---------- */
.rx-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.rx-ico { display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto; }
.rx-ico svg { width: 100%; height: 100%; }

.rx-btn, a.rx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--rx-font) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important;
	letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important;
	padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
	-webkit-font-smoothing: antialiased;
}
.rx-btn--primary { background: var(--rx-blue); color: #fff !important; }
.rx-btn--primary:hover { background: var(--rx-blue-d); }
.rx-btn--outline { background: transparent; color: var(--rx-navy) !important; border-color: var(--rx-navy); }
.rx-btn--outline:hover { background: var(--rx-navy); color: #fff !important; }
.rx-btn--sm { font-size: 14px !important; padding: 11px 18px; }

/* ---------- Header ---------- */
.rx-hf, .rx-hf > .e-con-inner, .rx-hf .elementor-widget-shortcode, .rx-hf .elementor-widget-container, .rx-hf .elementor-shortcode { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
.rx-header {
	position: absolute; top: 16px; left: 0; right: 0; z-index: 1000;
	padding: 0 20px; font-family: var(--rx-font);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.admin-bar .rx-header { top: 48px; }
.rx-header__bar {
	max-width: 1280px; margin: 0 auto; background: #fff; border-radius: 18px;
	box-shadow: 0 8px 30px rgba(10, 37, 64, .12);
	display: flex; align-items: center; gap: 24px; padding: 8px 14px 8px 22px; min-height: 92px; box-sizing: border-box;
}
.rx-header.is-scrolled { position: fixed; top: 0; padding: 0; }
.admin-bar .rx-header.is-scrolled { top: 32px; }
.rx-header.is-scrolled .rx-header__bar { max-width: none; border-radius: 0; box-shadow: 0 4px 20px rgba(10, 37, 64, .1); padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px)); padding-right: max(14px, calc((100vw - 1280px) / 2 + 14px)); }

.rx-logo { display: block; flex: 0 0 auto; line-height: 0; }
.rx-logo svg { height: 76px; width: auto; display: block; }

.rx-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.rx-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.rx-menu li, .rx-menu > li.menu-item { margin: 0 !important; padding: 0 !important; list-style: none; white-space: nowrap; border: 0 !important; background: none !important; }
.rx-menu a { white-space: nowrap; }
.rx-menu .sub-menu, .rx-menu li > span, .rx-menu .menu-item-icon { display: none !important; }
.rx-menu li::before, .rx-menu li::after { display: none !important; }
.rx-nav .rx-menu a {
	display: block; padding: 10px 14px; border-radius: 999px;
	font-family: var(--rx-font) !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: .02em !important;
	text-transform: uppercase !important; color: var(--rx-text) !important; text-decoration: none !important; line-height: 1.2 !important;
	transition: color .2s, background .2s;
}
.rx-nav .rx-menu a:hover { color: var(--rx-blue) !important; }
.rx-nav .rx-menu .current-menu-item > a, .rx-nav .rx-menu .current_page_item > a { color: var(--rx-blue) !important; }

.rx-header__right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.rx-phone {
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important;
	font-family: var(--rx-font) !important; font-size: 16px !important; font-weight: 600 !important; color: var(--rx-navy) !important; white-space: nowrap;
}
.rx-phone .rx-ico { width: 20px; height: 20px; color: var(--rx-blue); }
.rx-search-btn {
	width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--rx-navy); color: #fff; transition: background .2s;
}
.rx-search-btn:hover { background: var(--rx-blue); }
.rx-search-btn .rx-ico { width: 22px; height: 22px; }
.rx-header__cta { padding: 15px 30px; font-size: 16px !important; }

.rx-burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--rx-bg); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.rx-burger span { display: block; width: 22px; height: 2px; background: var(--rx-navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.rx-header.is-open .rx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rx-header.is-open .rx-burger span:nth-child(2) { opacity: 0; }
.rx-header.is-open .rx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rx-mobile { display: none; }

/* Search panel */
.rx-search { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 26, 45, .6); display: flex; align-items: flex-start; justify-content: center; padding: 120px 20px 20px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.rx-search.is-open { opacity: 1; visibility: visible; }
.rx-search__form { width: 100%; max-width: 760px; background: #fff; border-radius: 18px; box-shadow: var(--rx-shadow); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 22px; font-family: var(--rx-font); }
.rx-search__form > .rx-ico { width: 22px; height: 22px; color: var(--rx-muted); }
.rx-search__form input[type=search] { flex: 1 1 auto; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; font-family: var(--rx-font) !important; font-size: 17px !important; color: var(--rx-text) !important; padding: 10px 0 !important; height: auto !important; }
.rx-search__close { width: 44px; height: 44px; border: 0; background: var(--rx-bg); border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--rx-text); padding: 0; }
.rx-search__close .rx-ico { width: 20px; height: 20px; }

@media (max-width: 1360px) {
	.rx-nav .rx-menu a { padding: 10px 10px; font-size: 14px !important; }
	.rx-header__bar { gap: 16px; }
}
@media (max-width: 1220px) {
	.rx-phone span { display: none; }
	.rx-header__right .rx-phone { width: 48px; height: 48px; border-radius: 50%; background: var(--rx-bg); justify-content: center; }
}
@media (max-width: 1024px) {
	.rx-nav, .rx-header__right > .rx-phone { display: none; }
	.rx-burger { display: inline-flex; }
	.rx-header__bar { justify-content: space-between; min-height: 76px; }
	.rx-logo svg { height: 56px; }
	.rx-mobile { max-width: 1280px; margin: 8px auto 0; background: #fff; border-radius: 18px; box-shadow: var(--rx-shadow); padding: 12px 20px 20px; box-sizing: border-box; }
	.rx-header.is-open .rx-mobile { display: block; }
	.rx-mobile .rx-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.rx-mobile .rx-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--rx-line); font-family: var(--rx-font) !important; font-size: 16px !important; font-weight: 500 !important; text-transform: uppercase !important; color: var(--rx-text) !important; text-decoration: none !important; letter-spacing: .02em !important; }
	.rx-mobile .rx-phone { margin: 18px 0 14px; }
	.rx-mobile .rx-btn { width: 100%; }
}
@media (max-width: 600px) {
	.rx-header { top: 10px; padding: 0 12px; }
	.admin-bar .rx-header { top: 56px; }
	.rx-header__bar { padding: 8px 10px 8px 16px; min-height: 68px; gap: 10px; border-radius: 16px; }
	.rx-logo svg { height: 50px; }
	.rx-header__cta { display: none !important; }
	.rx-search-btn, .rx-burger { width: 44px; height: 44px; }
	.rx-search { padding-top: 90px; }
	.rx-search__form { flex-wrap: wrap; padding: 12px; }
	.rx-search__form > .rx-ico { display: none; }
	.rx-search__form input[type=search] { flex: 1 1 100%; padding: 8px 6px !important; }
	.rx-search__form .rx-btn { flex: 1 1 auto; }
}
@media (max-width: 782px) { .admin-bar .rx-header.is-scrolled { top: 0; } }

/* ---------- Homepage sections (Elementor containers with these classes) ---------- */
.rx-page { font-family: var(--rx-font); color: var(--rx-text); -webkit-font-smoothing: antialiased; }
.rx-sec { padding: 96px 0 !important; }
.rx-sec--tight { padding-top: 0 !important; }
.rx-sec--light { background: var(--rx-bg); }
.rx-inner { width: 100% !important; max-width: 1280px !important; margin: 0 auto !important; padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box; }

/* Titles: line 1 blue, line 2 dark */
.rx-title .elementor-heading-title {
	font-family: var(--rx-font) !important; font-size: clamp(28px, 2.7vw, 38px) !important; font-weight: 700 !important;
	line-height: 1.2 !important; letter-spacing: -.01em !important; text-transform: uppercase !important; color: var(--rx-dark) !important; margin: 0 !important;
}
.rx-title .elementor-heading-title span, .rx-accent { color: var(--rx-blue) !important; }
.rx-title--light .elementor-heading-title { color: #fff !important; }

.rx-text, .rx-text p, .rx-text li { font-family: var(--rx-font) !important; font-size: 17px !important; line-height: 1.75 !important; color: var(--rx-muted) !important; font-weight: 400 !important; }
.rx-text p { margin: 0 0 14px !important; }
.rx-text p:last-child { margin-bottom: 0 !important; }
.rx-text strong { color: var(--rx-text); font-weight: 600; }
.rx-text--light, .rx-text--light p { color: rgba(255, 255, 255, .82) !important; }

.rx-ebtn .elementor-button {
	font-family: var(--rx-font) !important; font-size: 16px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
	line-height: 1 !important; padding: 17px 32px !important; border-radius: 999px !important; border: 2px solid var(--rx-blue) !important;
	background: var(--rx-blue) !important; color: #fff !important; fill: #fff !important; box-shadow: none !important; transition: background .2s, color .2s, border-color .2s;
}
.rx-ebtn .elementor-button:hover { background: var(--rx-blue-d) !important; border-color: var(--rx-blue-d) !important; }
.rx-ebtn--ghost .elementor-button { background: transparent !important; border-color: rgba(255, 255, 255, .85) !important; }
.rx-ebtn--ghost .elementor-button:hover { background: #fff !important; color: var(--rx-dark) !important; border-color: #fff !important; }
.rx-ebtn--outline .elementor-button { background: transparent !important; color: var(--rx-navy) !important; border-color: var(--rx-navy) !important; }
.rx-ebtn--outline .elementor-button:hover { background: var(--rx-navy) !important; color: #fff !important; }
.rx-ebtn .elementor-button-icon { display: none !important; }

/* Hero */
.rx-hero { min-height: 700px !important; padding: 150px 0 140px !important; justify-content: center !important; }
.rx-hero .elementor-background-video-container { opacity: 1; }
.rx-h1 .elementor-heading-title {
	font-family: var(--rx-font) !important; font-size: clamp(36px, 4.4vw, 60px) !important; font-weight: 800 !important; line-height: 1.08 !important;
	letter-spacing: -.01em !important; text-transform: uppercase !important; color: #fff !important; margin: 0 !important;
}
.rx-h1 .elementor-heading-title span { color: var(--rx-blue) !important; }
.rx-lead, .rx-lead p { font-family: var(--rx-font) !important; font-size: 19px !important; line-height: 1.65 !important; color: rgba(255, 255, 255, .9) !important; margin: 0 !important; max-width: 600px; }

/* Category strip */
.rx-cats-sec { margin-top: -80px !important; position: relative; z-index: 5; padding: 0 !important; }
.rx-cats { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--rx-shadow); padding: 14px; gap: 6px; font-family: var(--rx-font); }
.rx-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 10px; border-radius: 14px; text-decoration: none !important; transition: background .2s, transform .2s; }
.rx-cat:hover { background: var(--rx-bg); }
.rx-cat__icon { width: 64px; height: 64px; color: var(--rx-navy); display: block; transition: color .2s; }
.rx-cat__icon svg { width: 100%; height: 100%; display: block; }
.rx-cat:hover .rx-cat__icon { color: var(--rx-blue); }
.rx-cat__name { font-size: 16px; font-weight: 600; color: var(--rx-text); line-height: 1.3; }
.rx-cat__count { font-size: 13px; font-weight: 500; color: var(--rx-blue); }

/* Section head: title left, text right */
.rx-head { display: grid !important; grid-template-columns: 1fr 1fr; gap: 40px 60px !important; align-items: end !important; margin-bottom: 44px !important; }

/* Stock cards */
.rx-stock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-family: var(--rx-font); }
.rx-card { background: #fff; border: 1px solid var(--rx-line); border-radius: var(--rx-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.rx-card:hover { box-shadow: var(--rx-shadow); transform: translateY(-3px); }
.rx-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rx-bg); }
.rx-card__img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; transition: transform .4s; }
.rx-card:hover .rx-card__img img { transform: scale(1.04); }
.rx-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.rx-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rx-card__tags span { font-size: 13px; font-weight: 500; color: var(--rx-navy); background: #E8F3FC; border-radius: 999px; padding: 5px 11px; }
.rx-card__title { font-family: var(--rx-font) !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.35 !important; margin: 0 0 6px !important; text-transform: none !important; letter-spacing: 0 !important; }
.rx-card__title a { color: var(--rx-text) !important; text-decoration: none !important; }
.rx-card__title a:hover { color: var(--rx-blue) !important; }
.rx-card__meta { font-size: 14px; color: var(--rx-muted); margin: 0 0 16px; line-height: 1.5; }
.rx-card__btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rx-center { justify-content: center !important; align-items: center !important; }
.rx-mt { margin-top: 44px !important; }

/* Welcome */
.rx-split { display: grid !important; grid-template-columns: 1fr 1fr; gap: 64px !important; align-items: center !important; }
.rx-image img { width: 100% !important; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px !important; display: block; }
.rx-col { gap: 22px !important; }
.rx-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 !important; }
.rx-facts div { background: var(--rx-bg); border-radius: 14px; padding: 18px 16px; }
.rx-facts strong { display: block; font-size: 30px; font-weight: 700; color: var(--rx-blue); line-height: 1.1; margin-bottom: 6px; }
.rx-facts span { display: block; font-size: 14px; line-height: 1.4; color: var(--rx-text); font-weight: 500; }

/* Services (dark) */
.rx-dark { background-color: var(--rx-dark) !important; }
.rx-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px !important; }
.rx-svc { background: #fff; border-radius: var(--rx-radius); overflow: hidden; height: 100%; }
.rx-svc .elementor-widget-container { height: 100%; }
.rx-svc .elementor-image-box-wrapper { text-align: left !important; display: block !important; }
.rx-svc .elementor-image-box-img { width: 100% !important; margin: 0 !important; display: block !important; }
.rx-svc .elementor-image-box-img img { width: 100% !important; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0 !important; }
.rx-svc .elementor-image-box-content { padding: 24px 24px 28px; }
.rx-svc .elementor-image-box-title { font-family: var(--rx-font) !important; font-size: 21px !important; font-weight: 600 !important; color: var(--rx-dark) !important; margin: 0 0 10px !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.3 !important; }
.rx-svc .elementor-image-box-title a { color: inherit !important; text-decoration: none !important; }
.rx-svc .elementor-image-box-description { font-family: var(--rx-font) !important; font-size: 16px !important; line-height: 1.7 !important; color: var(--rx-muted) !important; margin: 0 !important; }

/* CTA band */
.rx-cta { padding: 110px 0 !important; text-align: center; }
.rx-cta .rx-inner { align-items: center !important; gap: 22px !important; }
.rx-cta .rx-text, .rx-cta .rx-text p { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.rx-btns { gap: 14px !important; flex-wrap: wrap !important; }

/* ---------- Footer ---------- */
.rx-footer { background: var(--rx-bg); font-family: var(--rx-font); color: var(--rx-muted); -webkit-font-smoothing: antialiased; }
.rx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.rx-logo--footer svg { height: 104px; }
.rx-footer__brand p { font-size: 15px; line-height: 1.75; margin: 20px 0 0; max-width: 340px; color: var(--rx-muted); }
.rx-footer h4 { font-family: var(--rx-font) !important; font-size: 17px !important; font-weight: 700 !important; color: var(--rx-dark) !important; text-transform: uppercase !important; letter-spacing: .03em !important; margin: 6px 0 20px !important; line-height: 1.3 !important; }
.rx-footer .rx-menu { flex-direction: column; align-items: flex-start; gap: 12px; }
.rx-footer .rx-menu a, .rx-footer__contact a, .rx-footer__contact p { font-family: var(--rx-font) !important; font-size: 15px !important; font-weight: 400 !important; color: var(--rx-muted) !important; text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.6 !important; }
.rx-footer .rx-menu a:hover, .rx-footer__contact a:hover { color: var(--rx-blue) !important; }
.rx-footer__contact a, .rx-footer__contact p { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px !important; }
.rx-footer__contact .rx-ico { width: 20px; height: 20px; color: var(--rx-blue); margin-top: 2px; }
.rx-footer__bottom { background: var(--rx-navy); color: rgba(255, 255, 255, .85); font-size: 14px; }
.rx-footer__bottom .rx-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.rx-footer__bottom a { color: #fff !important; text-decoration: none !important; margin-left: 22px; font-size: 14px !important; }
.rx-footer__bottom a:hover { color: var(--rx-blue) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.rx-stock { grid-template-columns: repeat(3, 1fr); }
	.rx-cats { grid-template-columns: repeat(3, 1fr); }
	.rx-cats-sec { margin-top: -60px !important; }
	.rx-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
	.rx-sec { padding: 72px 0 !important; }
	.rx-split, .rx-head { grid-template-columns: 1fr; gap: 32px !important; }
	.rx-head { margin-bottom: 32px !important; }
	.rx-cards { grid-template-columns: 1fr 1fr; }
	.rx-stock { grid-template-columns: repeat(2, 1fr); }
	.rx-hero { min-height: 600px !important; padding: 140px 0 120px !important; }
}
@media (max-width: 767px) {
	.rx-sec { padding: 60px 0 !important; }
	.rx-hero { min-height: 560px !important; padding: 120px 0 110px !important; }
	.rx-lead, .rx-lead p { font-size: 17px !important; }
	.rx-cats { grid-template-columns: repeat(2, 1fr); padding: 10px; }
	.rx-cat { padding: 16px 6px; }
	.rx-cat__icon { width: 54px; height: 54px; }
	.rx-cat__name { font-size: 15px; }
	.rx-cards, .rx-stock { grid-template-columns: 1fr; }
	.rx-facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
	.rx-facts div { padding: 14px 10px; }
	.rx-facts strong { font-size: 24px; }
	.rx-facts span { font-size: 13px; }
	.rx-text, .rx-text p, .rx-text li { font-size: 16px !important; }
	.rx-cta { padding: 80px 0 !important; }
	.rx-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
	.rx-footer__bottom .rx-wrap { flex-direction: column; text-align: center; }
	.rx-footer__bottom a { margin: 0 11px; }
	.rx-btns > .elementor-element { flex: 1 1 100%; }
	.rx-btns .elementor-button { width: 100%; }
}

/* Hide old Logico header search panel and sidebar when the new header is used */
body.rx-new-header .site-search, body.rx-new-header .body-overlay { display: none !important; }

/* ---------- Fixes after first preview ---------- */
.rx-hero, .rx-cta { position: relative; }
.rx-hero::before, .rx-cta::before {
	content: '' !important; position: absolute !important; inset: 0 !important; z-index: 0 !important; opacity: 1 !important; display: block !important;
	background: linear-gradient(90deg, rgba(8, 30, 52, .94) 0%, rgba(8, 30, 52, .78) 45%, rgba(8, 30, 52, .35) 100%) !important;
}
.rx-cta::before { background: rgba(8, 30, 52, .82) !important; }
.rx-hero > .rx-inner, .rx-cta > .rx-inner { position: relative; z-index: 2; }
.rx-ebtn .elementor-button, .rx-ebtn .elementor-button *, a.rx-btn, .rx-card a { text-decoration: none !important; }
.rx-btn--outline, a.rx-btn--outline { border: 2px solid var(--rx-navy) !important; }
.rx-btn--primary, a.rx-btn--primary { border: 2px solid var(--rx-blue) !important; }
body:has(.rx-cta) footer:has(.rx-footer) { margin-top: 0 !important; }
@media (max-width: 767px) {
	.rx-hero::before { background: linear-gradient(180deg, rgba(8, 30, 52, .9) 0%, rgba(8, 30, 52, .8) 100%) !important; }
}

/* Tablet tidy-up */
@media (max-width: 1024px) and (min-width: 901px) {
	.rx-stock { grid-template-columns: repeat(3, 1fr); }
	.rx-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	.rx-split .rx-image img { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
	.rx-cards { grid-template-columns: 1fr; }
	.rx-svc .elementor-image-box-wrapper { display: grid !important; grid-template-columns: 40% 1fr; align-items: center; }
	.rx-svc .elementor-image-box-img img { aspect-ratio: 4 / 3; height: 100%; }
}
@media (max-width: 600px) {
	.rx-svc .elementor-image-box-wrapper { display: block !important; }
	.rx-svc .elementor-image-box-img img { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) { .rx-stock .rx-card:nth-child(n+5) { display: none; } .rx-logo svg { height: 54px; } }
.rx-mobile .rx-phone { display: flex !important; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; justify-content: flex-start !important; font-size: 17px !important; }
.rx-mobile .rx-phone span { display: inline !important; }

/* Bigger hero, less space above the header */
.rx-header { top: 8px; }
.admin-bar .rx-header { top: 40px; }
.rx-hero { min-height: max(820px, 94vh) !important; padding: 150px 0 160px !important; }
@media (max-width: 1024px) { .rx-hero { min-height: 680px !important; } }
@media (max-width: 767px) { .rx-hero { min-height: 620px !important; padding: 120px 0 120px !important; } }
@media (max-width: 600px) { .rx-header { top: 6px; } .admin-bar .rx-header { top: 52px; } }

/* Footer menu: tighter spacing */
.rx-footer .rx-menu { gap: 10px !important; }
.rx-footer .rx-menu li { line-height: 1.5 !important; font-size: 15px !important; }
.rx-footer .rx-menu a { line-height: 1.5 !important; display: inline-block; }

/* Hero video (YouTube background, plays once at the start, photo underneath) */
.rx-hero { overflow: hidden; }
.rx-hero > .elementor-background-video-container { z-index: 0 !important; opacity: 0 !important; transition: opacity 1s ease; }
.rx-hero.rx-vplay > .elementor-background-video-container { opacity: 1 !important; }
.rx-hero > .elementor-background-video-container iframe { transform: translate(-50%, -50%) scale(1.35) !important; top: 50% !important; left: 50% !important; position: absolute !important; }
.rx-hero::before { z-index: 1 !important; }
@keyframes rxVideoIn { to { opacity: 1; } }

/* Welcome section */
.rx-welcome .rx-split { grid-template-columns: 1.05fr 1fr; gap: 72px !important; }
.rx-media { position: relative !important; padding: 0 0 28px 28px !important; }
.rx-media::before { content: ''; position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; border-radius: 24px; background: linear-gradient(135deg, var(--rx-blue), var(--rx-navy)); z-index: 0; }
.rx-media .rx-image { position: relative; z-index: 1; }
.rx-media .rx-image img { aspect-ratio: 4 / 4.2 !important; border-radius: 24px !important; box-shadow: 0 20px 50px rgba(10, 37, 64, .18); }
.rx-badge-wrap { position: absolute !important; right: -22px; bottom: 56px; z-index: 2; width: auto !important; }
.rx-badge { background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(10, 37, 64, .18); padding: 22px 26px; display: flex; align-items: center; gap: 14px; font-family: var(--rx-font); }
.rx-badge strong { font-size: 46px; line-height: 1; font-weight: 800; color: var(--rx-blue); }
.rx-badge span { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--rx-dark); }
.rx-text .rx-lead-dark { font-size: 19px !important; line-height: 1.6 !important; font-weight: 600 !important; color: var(--rx-dark) !important; }
.rx-checks { list-style: none !important; margin: 6px 0 4px !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.rx-checks li { position: relative; padding-left: 34px !important; margin: 0 !important; font-size: 16px !important; line-height: 1.5 !important; font-weight: 500 !important; color: var(--rx-dark) !important; list-style: none !important; }
.rx-checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--rx-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

@media (max-width: 1024px) {
	.rx-welcome .rx-split { grid-template-columns: 1fr; gap: 48px !important; }
	.rx-media .rx-image img { aspect-ratio: 16 / 10 !important; }
	.rx-badge-wrap { right: 16px; bottom: 44px; }
}
@media (max-width: 767px) {
	.rx-media { padding: 0 0 18px 18px !important; }
	.rx-badge { padding: 14px 16px; gap: 10px; border-radius: 16px; }
	.rx-badge strong { font-size: 32px; }
	.rx-badge span { font-size: 13px; }
	.rx-badge-wrap { right: 10px; bottom: 30px; }
	.rx-checks { grid-template-columns: 1fr; gap: 12px; }
	.rx-text .rx-lead-dark { font-size: 17px !important; }
}

/* Mobile hero: keep heading clear of the header */
@media (max-width: 767px) {
	.rx-hero { padding-top: 150px !important; }
	.admin-bar .rx-hero { padding-top: 196px !important; }
}
@media (max-width: 1024px) and (min-width: 768px) {
	.rx-hero { padding-top: 170px !important; }
}
.rx-media::before { top: auto !important; right: auto !important; left: 0 !important; bottom: 0 !important; inset: auto auto 0 0 !important; width: 62% !important; height: 70% !important; opacity: 1 !important; display: block !important; }

/* Top space fix: the header wrapper already sits below the admin bar, so no extra offset is needed */
.rx-header, .admin-bar .rx-header { top: 6px; }
@media (max-width: 600px) { .rx-header, .admin-bar .rx-header { top: 6px; } }
@media (max-width: 767px) { .admin-bar .rx-hero { padding-top: 150px !important; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .rx-header.is-scrolled { top: 46px; } }

/* Header phone circle (1025–1220px): keep the phone icon visible */
.rx-header__right .rx-phone .rx-ico { display: inline-flex !important; }

/* ---------- Client round 3: bigger logo, menu and phone; text one size up ---------- */
.rx-header__bar { min-height: 104px; gap: 20px; padding: 8px 14px 8px 20px; }
.rx-logo svg { height: 90px; }
.rx-nav .rx-menu { gap: 2px; }
.rx-nav .rx-menu a { position: relative; font-size: 17px !important; font-weight: 600 !important; color: var(--rx-dark) !important; padding: 12px 14px !important; letter-spacing: .01em !important; }
.rx-nav .rx-menu a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--rx-blue); transform: scaleX(0); transition: transform .25s ease; }
.rx-nav .rx-menu a:hover::after, .rx-nav .rx-menu .current-menu-item > a::after, .rx-nav .rx-menu .current_page_item > a::after { transform: scaleX(1); }
.rx-nav .rx-menu a:hover, .rx-nav .rx-menu .current-menu-item > a, .rx-nav .rx-menu .current_page_item > a { color: var(--rx-blue) !important; }
.rx-header__right .rx-phone { font-size: 19px !important; font-weight: 700 !important; color: var(--rx-dark) !important; gap: 10px; }
.rx-header__right .rx-phone .rx-ico { width: 24px; height: 24px; }
.rx-header__cta { font-size: 17px !important; padding: 16px 32px; }
.rx-search-btn { width: 52px; height: 52px; }
@media (max-width: 1440px) {
	.rx-nav .rx-menu a { font-size: 16px !important; padding: 12px 11px !important; }
	.rx-nav .rx-menu a::after { left: 11px; right: 11px; }
	.rx-header__right .rx-phone { font-size: 18px !important; }
	.rx-header__cta { padding: 15px 26px; }
}
@media (max-width: 1300px) {
	.rx-nav .rx-menu a { font-size: 15px !important; padding: 12px 9px !important; }
	.rx-nav .rx-menu a::after { left: 9px; right: 9px; }
	.rx-logo svg { height: 82px; }
}
@media (max-width: 1024px) { .rx-header__bar { min-height: 84px; } .rx-logo svg { height: 66px; } }
@media (max-width: 600px) { .rx-header__bar { min-height: 74px; } .rx-logo svg { height: 58px; } }
.rx-mobile .rx-menu a { font-size: 17px !important; font-weight: 600 !important; }
.rx-mobile .rx-phone { font-size: 19px !important; font-weight: 700 !important; }

/* Text one size bigger */
.rx-text, .rx-text p, .rx-text li { font-size: 18px !important; }
.rx-lead, .rx-lead p { font-size: 20px !important; }
.rx-checks li { font-size: 17px !important; }
.rx-text .rx-lead-dark { font-size: 20px !important; }
.rx-cat__name { font-size: 17px; }
.rx-cat__count { font-size: 14px; }
.rx-card__title { font-size: 19px !important; }
.rx-card__meta { font-size: 15px; }
.rx-card__tags span { font-size: 14px; }
.rx-svc .elementor-image-box-title { font-size: 22px !important; }
.rx-svc .elementor-image-box-description { font-size: 17px !important; }
.rx-footer__brand p { font-size: 16px; }
.rx-footer .rx-menu a, .rx-footer .rx-menu li, .rx-footer__contact a, .rx-footer__contact p { font-size: 16px !important; }
.rx-footer h4 { font-size: 18px !important; }
.rx-footer__bottom, .rx-footer__bottom a { font-size: 15px !important; }
@media (max-width: 767px) {
	.rx-text, .rx-text p, .rx-text li { font-size: 17px !important; }
	.rx-lead, .rx-lead p { font-size: 18px !important; }
	.rx-text .rx-lead-dark { font-size: 18px !important; }
	.rx-cat__name { font-size: 16px; }
}

/* Home "Our services": grader photo behind a dark overlay */
.rx-svc-bg { position: relative; background-size: cover !important; background-position: center !important; }
.rx-svc-bg::before { content: '' !important; position: absolute !important; inset: 0 !important; display: block !important; opacity: 1 !important; z-index: 0 !important; background: linear-gradient(180deg, rgba(8, 30, 52, .78) 0%, rgba(8, 30, 52, .5) 100%) !important; }
.rx-svc-bg > .rx-inner { position: relative; z-index: 1; }
.rx-svc-bg { background-position: center 75% !important; }
@media (min-width: 1025px) { .rx-svc-bg { background-attachment: fixed !important; background-position: center center !important; } }

/* Service cards: wide frame so the whole machine fits, no border */
.rx-svc .elementor-image-box-img { background: none; }
.rx-svc .elementor-image-box-img img { aspect-ratio: 16 / 10 !important; object-fit: cover !important; object-position: center; }
@media (max-width: 900px) and (min-width: 601px) { .rx-svc .elementor-image-box-img img { aspect-ratio: 4 / 3 !important; height: 100% !important; } }
