/* ==========================================================================
   RGC brand system — authoritative copy loaded by the RGC Core plugin LAST,
   so it wins over Hello Elementor + Elementor's default global kit.
   ========================================================================== */

/* 1) Re-point Elementor's GLOBAL colours/fonts to the RGC palette.
      Forced so it beats the kit stylesheet regardless of load order. */
:root,
html [class*="elementor-kit-"] {
	--e-global-color-primary:   #001435 !important; /* navy  */
	--e-global-color-secondary: #16294B !important;
	--e-global-color-text:      #44474E !important;
	--e-global-color-accent:    #E5B248 !important; /* gold  */
	--e-global-typography-primary-font-family:   "Fraunces" !important;
	--e-global-typography-primary-font-weight:   600 !important;
	--e-global-typography-secondary-font-family: "Inter" !important;
	--e-global-typography-text-font-family:      "Inter" !important;
	--e-global-typography-accent-font-family:    "Inter" !important;
}

:root {
	--rgc-navy: #001435; --rgc-navy-2: #16294B; --rgc-gold: #E5B248;
	--rgc-gold-ink: #A66A00; --rgc-surface: #F8F9FB; --rgc-surface-2: #EEF1F6;
	--rgc-ink: #001435; --rgc-ink-soft: #44474E; --rgc-line: #E3E6EB; --rgc-white: #fff;
	--rgc-font-head: "Fraunces", Georgia, serif;
	--rgc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--rgc-radius: .75rem; --rgc-radius-lg: 1rem; --rgc-maxw: 1200px;
}

/* 2) Base typography */
body { font-family: var(--rgc-font-body); color: var(--rgc-ink-soft); }
.elementor-heading-title { font-family: var(--rgc-font-head); color: var(--rgc-navy); font-weight: 600; line-height: 1.12; }
.elementor-widget-text-editor { font-family: var(--rgc-font-body); }

/* 3) Section surfaces */
.rgc-section { padding-block: 4rem; }
@media (min-width:1025px){ .rgc-section{ padding-block:6rem; } }
.rgc-navy-section { background: var(--rgc-navy) !important; }
.rgc-navy-section .elementor-heading-title { color: #fff !important; }
.rgc-navy-section .elementor-widget-text-editor,
.rgc-navy-section p,
.rgc-navy-section .elementor-icon-box-description,
.rgc-navy-section .elementor-icon-list-text { color: rgba(255,255,255,.85) !important; }
.rgc-surface-section { background: var(--rgc-surface); }

/* 4) Eyebrow */
.rgc-eyebrow .elementor-heading-title {
	color: var(--rgc-gold-ink) !important; font-family: var(--rgc-font-body) !important;
	font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
}
.rgc-eyebrow--pill .elementor-heading-title {
	display: inline-block; background: rgba(229,178,72,.18);
	padding: .4rem 1rem; border-radius: 999px;
}
.rgc-navy-section .rgc-eyebrow .elementor-heading-title { color: var(--rgc-gold) !important; }

/* 5) Pull quote */
.rgc-pullquote .elementor-heading-title { font-family: var(--rgc-font-head); font-weight: 700; }
.rgc-pullquote--gold .elementor-heading-title { color: var(--rgc-gold) !important; }

/* 6) Buttons */
.rgc-btn-primary .elementor-button {
	background-color: var(--rgc-gold) !important; color: var(--rgc-navy) !important;
	font-weight: 700 !important; border-radius: var(--rgc-radius) !important;
	padding: .85rem 2rem !important; width: auto !important; display: inline-flex !important;
	transition: box-shadow .2s ease, transform .2s ease;
}
.rgc-btn-primary .elementor-button:hover { box-shadow: 0 12px 30px rgba(229,178,72,.35) !important; transform: translateY(-1px); }
.rgc-btn-outline .elementor-button {
	background-color: transparent !important; color: var(--rgc-navy) !important;
	border: 1px solid var(--rgc-navy) !important; font-weight: 700 !important;
	border-radius: var(--rgc-radius) !important; padding: .85rem 2rem !important; width: auto !important;
}
.rgc-navy-section .rgc-btn-outline .elementor-button { color:#fff !important; border-color: rgba(255,255,255,.6) !important; }

/* 7) Cards */
.rgc-card {
	background: var(--rgc-white) !important; border: 1px solid var(--rgc-line) !important;
	border-radius: var(--rgc-radius-lg) !important; padding: 2rem !important;
	transition: box-shadow .25s ease, transform .25s ease; height: 100%;
}
.rgc-card:hover { box-shadow: 0 18px 40px rgba(0,20,53,.10); transform: translateY(-2px); }
.rgc-card .elementor-icon-box-title { font-family: var(--rgc-font-head); }

/* 8) Why-choose / feature icon-box */
.rgc-feature .elementor-icon { color: var(--rgc-gold); font-size: 2.25rem; }
.rgc-feature .elementor-icon-box-title,
.rgc-feature .elementor-icon-box-title span { font-family: var(--rgc-font-head); }
.rgc-navy-section .rgc-feature .elementor-icon { color: var(--rgc-gold); }

/* 9) Process step number */
.rgc-step .elementor-icon {
	background: var(--rgc-navy); color: var(--rgc-gold) !important;
	border-radius: 999px; width: 3.25rem; height: 3.25rem;
	display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
}

/* 10) Check list */
.rgc-check-list .elementor-icon-list-icon i,
.rgc-check-list .elementor-icon-list-icon svg { color: var(--rgc-gold-ink); }

/* 11) Industry chips + tech tiles */
.rgc-industry .elementor-icon-list-text { }
.rgc-tech-tile .elementor-heading-title {
	background: var(--rgc-white); border: 1px solid var(--rgc-line);
	border-radius: var(--rgc-radius); padding: 1rem; display: block; color: var(--rgc-navy);
}
.rgc-tech-tile .elementor-heading-title:hover { border-color: var(--rgc-gold); }

/* 12) Scroll-reveal */
@media (prefers-reduced-motion: no-preference){
	.rgc-reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity .7s ease, transform .7s ease; }
	.rgc-reveal.is-visible { opacity: 1; transform: none; }
}

/* 13) Focus visibility (WCAG 2.2) */
a:focus-visible, button:focus-visible, .elementor-button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid var(--rgc-gold-ink); outline-offset: 2px;
}

/* 14) Contact form */
.rgc-form label { display:block; font-weight:600; color:var(--rgc-navy); margin-bottom:.35rem; }
.rgc-form input, .rgc-form textarea {
	width:100%; padding:.75rem .9rem; border:1px solid var(--rgc-line);
	border-radius:var(--rgc-radius); font-family:var(--rgc-font-body); background:var(--rgc-white);
}
.rgc-form p { margin-bottom:1rem; }
.rgc-form__ok  { background:#e8f5ec; border:1px solid #58a97a; color:#1c5c37; padding:.9rem 1rem; border-radius:var(--rgc-radius); }
.rgc-form__err { background:#fdecec; border:1px solid #d98b8b; color:#8a2b2b; padding:.9rem 1rem; border-radius:var(--rgc-radius); }

/* ==========================================================================
   v1.3 — Stitch polish: eyebrow pill, inline hero buttons, card accent, spacing
   ========================================================================== */

/* Eyebrow pill — clearly gold text on a soft gold pill (was rendering grey) */
.rgc-eyebrow--pill .elementor-heading-title {
	display: inline-block !important;
	background: rgba(229,178,72,.18) !important;
	color: var(--rgc-gold) !important;
	padding: .45rem 1.1rem !important;
	border-radius: 999px !important;
	font-family: var(--rgc-font-body) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .14em !important;
	font-size: .78rem !important;
}

/* Hero buttons side by side */
.rgc-inline-btn { display: inline-block !important; margin: 0 .75rem .5rem 0 !important; }
.rgc-inline-btn .elementor-button { width: auto !important; }

/* Service cards — gold top accent, more padding, even height, soft shadow */
.rgc-card {
	border-top: 3px solid var(--rgc-gold) !important;
	padding: 2.4rem 1.75rem !important;
	box-shadow: 0 10px 30px rgba(0,20,53,.06);
	height: 100%;
}
.rgc-card:hover { box-shadow: 0 20px 45px rgba(0,20,53,.12); transform: translateY(-3px); }
.rgc-card .elementor-icon-box-icon { margin-bottom: .75rem; }
.rgc-card .elementor-icon-box-icon i,
.rgc-card .elementor-icon-box-icon svg { color: var(--rgc-gold) !important; }

/* A touch more air between section heading and content */
.elementor-widget-heading + .elementor-widget-text-editor { margin-top: .5rem; }

/* Process step: gold ring so the navy circle reads on the light band */
.rgc-step .elementor-icon { box-shadow: 0 0 0 6px rgba(229,178,72,.12); }
