/* ==========================================================================
   RaMah Child — brand helpers
   --------------------------------------------------------------------------
   Colours and fonts for page content are set in Elementor > Site Settings
   (Global Colors / Global Fonts). The values below mirror them so the helper
   classes match. If you change a brand colour in Elementor, change it here too.

   Helper classes: type them into any Elementor widget or container under
   Advanced > CSS Classes.
     rm-eyebrow      small gold uppercase label above headings
     rm-card         white card with border, rounded corners, hover lift
     rm-card-dark    dark card for the "Why choose RaMah" section
     rm-card-featured  dark card with gold border (featured package)
     rm-tag          small pill tag (put on a Text Editor widget)
     rm-num          small grey number label ("01", "02"...)
     rm-marquee      horizontal scroll row on phones (ecosystem strip)
   ========================================================================== */

:root {
	--rm-cream: #f6f2ea;
	--rm-cream-light: #fbf9f5;
	--rm-white: #ffffff;
	--rm-ink: #15161a;
	--rm-ink-soft: #23252b;
	--rm-text: #5e5c57;
	--rm-gold: #c39a4e;
	--rm-gold-text: #82632a; /* darker gold, readable for small text on cream */
	--rm-border: #e6dfd3;
	--rm-radius: 10px;
	--rm-radius-sm: 6px;
	--rm-header-offset: 90px; /* height of the sticky header */
}

/* Anchor links (#contact, #faq) stop below the sticky header */
html {
	scroll-behavior: smooth;
}
[id] {
	scroll-margin-top: var(--rm-header-offset);
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Eyebrow label */
.rm-eyebrow,
.rm-eyebrow .elementor-heading-title,
.rm-eyebrow p {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rm-gold-text);
	margin: 0;
}

/* Cards */
.rm-card {
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rm-card:hover {
	transform: translateY(-2px);
	border-color: var(--rm-gold);
	box-shadow: 0 10px 30px rgba(21, 22, 26, 0.06);
}
.rm-card-dark {
	background: var(--rm-ink-soft);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--rm-radius);
	color: rgba(255, 255, 255, 0.72);
}
.rm-card-dark .elementor-heading-title {
	color: var(--rm-white);
}
.rm-card-featured {
	background: var(--rm-ink);
	border: 1px solid var(--rm-gold);
	border-radius: var(--rm-radius);
	color: rgba(255, 255, 255, 0.78);
}
.rm-card-featured .elementor-heading-title {
	color: var(--rm-white);
}
@media (prefers-reduced-motion: reduce) {
	.rm-card,
	.rm-card:hover {
		transition: none;
		transform: none;
	}
}

/* Pill tags: works on a Text Editor widget containing one or more short words */
.rm-tag p,
.rm-tag .elementor-widget-container > span {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 3px 10px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rm-text);
	background: var(--rm-cream-light);
	border: 1px solid var(--rm-border);
	border-radius: 999px;
}

/* Small number label */
.rm-num,
.rm-num .elementor-heading-title,
.rm-num p {
	font-size: 12px;
	font-weight: 500;
	color: #9a958c;
	margin: 0;
}

/* Ecosystem strip: scrolls sideways on phones instead of wrapping */
@media (max-width: 767px) {
	.rm-marquee {
		flex-wrap: nowrap !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.rm-marquee::-webkit-scrollbar {
		display: none;
	}
	.rm-marquee > * {
		flex: 0 0 auto !important;
	}
}

/* ==========================================================================
   Quick Enquiry floating button
   Text, link, colour and on/off: Appearance > Customize > Quick Enquiry Button
   ========================================================================== */
.rm-quick-enquiry {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: var(--rm-white);
	background: var(--rm-qe-bg, var(--rm-ink));
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(21, 22, 26, 0.18);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rm-quick-enquiry:hover,
.rm-quick-enquiry:focus-visible {
	color: var(--rm-white);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(21, 22, 26, 0.24);
}
.rm-quick-enquiry:focus-visible {
	outline: 2px solid var(--rm-gold);
	outline-offset: 3px;
}
.rm-quick-enquiry__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rm-gold);
}
@media (max-width: 767px) {
	.rm-quick-enquiry {
		right: 14px;
		bottom: 14px;
		padding: 11px 16px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.rm-quick-enquiry,
	.rm-quick-enquiry:hover {
		transition: none;
		transform: none;
	}
}

/* ==========================================================================
   Sticky header (Ultimate Addons header template)
   ========================================================================== */
#masthead {
	position: sticky;
	top: 0;
	z-index: 999;
}
.admin-bar #masthead {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar #masthead {
		top: 0;
	}
}

/* ==========================================================================
   Stage tabs (Elementor Tabs widget with class rm-stage-tabs)
   ========================================================================== */
.rm-stage-tabs .e-n-tabs-heading {
	gap: 0;
	border-bottom: 1px solid var(--rm-border);
	margin-bottom: 24px;
}
.rm-stage-tabs .e-n-tab-title {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	padding: 14px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--rm-text);
	justify-content: flex-start;
	text-align: left;
}
.rm-stage-tabs .e-n-tab-title:hover {
	background: var(--rm-cream-light);
	color: var(--rm-ink);
}
.rm-stage-tabs .e-n-tab-title[aria-selected="true"] {
	background: var(--rm-cream-light);
	border-bottom-color: var(--rm-ink);
	color: var(--rm-ink);
}

/* ==========================================================================
   FAQ accordion (Elementor Accordion widget with class rm-faq)
   ========================================================================== */
.rm-faq .e-n-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rm-faq .e-n-accordion-item {
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	overflow: hidden;
}
.rm-faq .e-n-accordion-item-title {
	background: transparent;
	border: 0;
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rm-ink);
}
.rm-faq .e-n-accordion-item[open] {
	border-color: var(--rm-gold);
}

/* Heading links keep the heading colour */
.elementor-heading-title a {
	color: inherit;
}
.elementor-heading-title a:hover {
	color: var(--rm-gold-text);
}

/* ==========================================================================
   Consultation form (Fluent Forms)
   ========================================================================== */
.fluentform .ff-el-input--label label {
	font-size: 13px;
	font-weight: 600;
	color: var(--rm-ink);
}
.fluentform .ff-el-form-control {
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-sm);
	padding: 11px 14px;
	font-size: 14px;
	color: var(--rm-ink);
}
.fluentform .ff-el-form-control:focus {
	border-color: var(--rm-gold);
	box-shadow: 0 0 0 3px rgba(195, 154, 78, 0.18);
	outline: none;
}
.fluentform .ff-btn-submit {
	border-radius: var(--rm-radius-sm);
	padding: 13px 24px;
	font-weight: 600;
}

/* Global fixes (added after first import) */
.elementor-button, .elementor-button:hover, .elementor-button:focus { text-decoration: none; white-space: nowrap; }
.elementor-widget-heading h1.elementor-heading-title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.02em; }
.elementor-widget-heading h2.elementor-heading-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.elementor-widget-heading h3.elementor-heading-title { font-size: 20px; line-height: 1.3; }
.elementor-widget-heading h4.elementor-heading-title { font-size: 16px; line-height: 1.35; }
.elementor-widget-navigation-menu { flex: 1 1 auto; }
.hfe-nav-menu { flex-wrap: nowrap; }
.rm-stage-tabs .e-n-tab-title { background-color: transparent !important; color: var(--rm-text) !important; }
.rm-stage-tabs .e-n-tab-title[aria-selected="true"], .rm-stage-tabs .e-n-tab-title:hover { background-color: var(--rm-cream-light) !important; color: var(--rm-ink) !important; }
.page-content .elementor a, .page-content a.elementor-button { text-decoration: none; }
.hfe-nav-menu__layout-horizontal .hfe-nav-menu { flex-wrap: nowrap; }
#masthead .e-con-inner > .e-con:first-child, .rm-auto { --width: auto; }
.e-con.rm-auto { --width: auto; }
@media (max-width: 767px) { #masthead .e-con.e-flex { --flex-wrap: nowrap; } #masthead .e-con-inner > .e-con:first-child .e-con { --width: auto; } #masthead .e-con-inner > .e-con:first-child .e-con:first-child { --width: 36px; } }
.hfe-nav-menu__layout-horizontal .hfe-dropdown .hfe-nav-menu { flex-direction: column; flex-wrap: nowrap; }
.hfe-dropdown .hfe-nav-menu .menu-item { width: 100%; }
.hfe-nav-menu__toggle { margin-left: auto; }
@media (max-width: 1024px) { nav.hfe-dropdown .hfe-nav-menu { flex-direction: column; } }