/* ==========================================================================
   Pro Mining Corporation — main stylesheet
   Brand colours sampled from official logo: gold #EEAF1B / black #212121
   ========================================================================== */

:root {
	--gold: #EEAF1B;
	--gold-dark: #C9910F;
	--black: #212121;
	--black-soft: #2E2E2E;
	--white: #FFFFFF;
	--grey-50: #F7F7F7;
	--grey-100: #EFEFEF;
	--grey-300: #CFCFCF;
	--grey-500: #8A8A8A;
	--grey-700: #4A4A4A;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(33, 33, 33, 0.08);
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
	--container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--black);
	background: var(--white);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
	color: var(--black);
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--grey-700); }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--black); color: var(--white); padding: 12px 20px; z-index: 10000; }
.skip-link:focus { top: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Sections (shared rhythm) ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--grey-50); }
.section-dark { background: var(--black); }
.section-dark p, .section-dark h2, .section-dark h3 { color: var(--white); }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-kicker {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--gold-dark);
	margin-bottom: 8px;
}
.section-kicker.light { color: var(--gold); }
.light { color: var(--white) !important; }
.light-muted { color: var(--grey-300) !important; }
.lead { font-size: 1.05rem; color: var(--grey-700); max-width: 720px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: var(--grey-300); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--grey-300); }
.topbar-contact a:hover { color: var(--gold); }
.topbar-contact .dashicons { font-size: 16px; width: 16px; height: 16px; color: var(--gold); }
.topbar-tag { color: var(--grey-500); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 999; background: var(--white); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.site-logo, .custom-logo { max-height: 56px; width: auto; }
.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a { font-weight: 600; font-size: 0.95rem; padding: 8px 0; position: relative; }
.nav-menu a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold);
	transition: width 0.2s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.is-active { color: var(--gold-dark); }
.nav-menu a.is-active::after { width: 100%; }
.header-cta { white-space: nowrap; }
.menu-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle-bar { width: 26px; height: 3px; background: var(--black); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: linear-gradient(135deg, var(--black) 0%, #3a3a3a 55%, var(--gold-dark) 150%);
	color: var(--white);
	padding: 140px 0 110px;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(238,175,27,0.35), transparent 55%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--gold); font-size: 0.85rem; margin-bottom: 18px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub { color: var(--grey-300); font-size: 1.15rem; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: var(--white); border-color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--black); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.about-panel-card {
	background: var(--black); color: var(--white); border-radius: var(--radius);
	padding: 40px; box-shadow: var(--shadow);
}
.about-panel-card .dashicons { font-size: 40px; width: 40px; height: 40px; color: var(--gold); margin-bottom: 16px; }
.about-panel-card h3 { color: var(--white); }
.about-panel-card p { color: var(--grey-300); margin: 0; }

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 70px; }
.vm-card {
	background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius);
	padding: 36px; box-shadow: var(--shadow);
	border-top: 4px solid var(--gold);
}
.vm-card .dashicons { font-size: 34px; width: 34px; height: 34px; color: var(--gold-dark); margin-bottom: 14px; }

.values-grid {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px;
}
.values-grid li {
	display: flex; align-items: center; gap: 10px; background: var(--white);
	border-radius: var(--radius); padding: 16px 18px; font-weight: 600; box-shadow: var(--shadow);
}
.values-grid .dashicons { color: var(--gold-dark); font-size: 20px; width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Why Us ---------- */
.why-us-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-list .dashicons { color: var(--white); background: var(--gold); border-radius: 50%; font-size: 16px; width: 22px; height: 22px; padding: 3px; flex-shrink: 0; }
.why-us-panel {
	background: var(--black); color: var(--white); border-radius: var(--radius);
	padding: 40px; box-shadow: var(--shadow);
}
.why-us-panel h3 { color: var(--gold); }
.why-us-panel p { color: var(--grey-300); margin: 0; }

/* ---------- Divisions ---------- */
.divisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.division-card {
	position: relative; background: var(--white); border-radius: var(--radius);
	padding: 34px 30px; box-shadow: var(--shadow); border-bottom: 4px solid var(--gold);
	transition: transform 0.2s ease;
}
.division-card:hover { transform: translateY(-6px); }
.division-number {
	position: absolute; top: 24px; right: 26px; font-family: var(--font-heading);
	font-weight: 800; font-size: 1.6rem; color: var(--grey-100);
}
.division-card .dashicons { font-size: 34px; width: 34px; height: 34px; color: var(--gold-dark); margin-bottom: 14px; }
.division-body ul { margin-top: 10px; display: grid; gap: 6px; }
.division-body li { position: relative; padding-left: 18px; font-size: 0.92rem; color: var(--grey-700); }
.division-body li::before { content: "•"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.division-body p { margin-bottom: 4px; }

/* ---------- Industries ---------- */
.industries-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.pill {
	background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: 999px;
	padding: 12px 24px; font-weight: 600; font-size: 0.9rem; color: var(--black);
}
.pill:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- QHSE ---------- */
.qhse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.qhse-list { display: grid; gap: 14px; }
.qhse-list li { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 500; background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 14px 18px; }
.qhse-list .dashicons { color: var(--gold); flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-details { margin-top: 26px; display: grid; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-details .dashicons { color: var(--gold-dark); font-size: 20px; width: 20px; height: 20px; flex-shrink: 0; }
.contact-form-wrap { background: var(--grey-50); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 0.85rem; margin-top: 10px; }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 13px 16px; border: 1px solid var(--grey-300); border-radius: 8px;
	font-family: var(--font-body); font-size: 0.95rem; background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form button { margin-top: 18px; justify-self: start; }
.form-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; font-size: 0.9rem; }
.form-success { background: #E9F7EC; color: #1F7A34; }
.form-error { background: #FBEAEA; color: #A32020; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--grey-300); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { max-height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--grey-500); font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-menu, .footer-contact { display: grid; gap: 12px; }
.footer-menu a, .footer-contact a { color: var(--grey-300); font-size: 0.92rem; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--grey-300); }
.footer-contact .dashicons { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 24px; font-size: 0.82rem; color: var(--grey-500); flex-wrap: wrap; gap: 8px; }

.back-to-top {
	position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center;
	font-size: 1.2rem; font-weight: 700; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
	transition: opacity 0.2s ease; z-index: 998;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Blog / page fallback templates ---------- */
.page-header { background: var(--grey-50); padding: 60px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.blog-card-body { padding: 24px; }
.blog-meta { font-size: 0.8rem; color: var(--grey-500); }
.pagination { grid-column: 1 / -1; text-align: center; margin-top: 20px; }
.page-content { max-width: 820px; margin: 0 auto; }
.section-404 { text-align: center; padding: 130px 0; }
.error-code { font-family: var(--font-heading); font-weight: 800; font-size: 5rem; color: var(--gold); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.about-grid, .vm-grid, .why-us-grid, .qhse-grid, .contact-grid { grid-template-columns: 1fr; }
	.divisions-grid { grid-template-columns: repeat(2, 1fr); }
	.values-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
	.topbar-tag { display: none; }
	.main-navigation {
		position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
		background: var(--white); flex-direction: column; padding: 100px 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.15);
		transition: right 0.3s ease; z-index: 1000;
	}
	.main-navigation.is-open { right: 0; }
	.nav-menu { flex-direction: column; gap: 22px; }
	.header-cta { display: none; }
	.menu-toggle { display: flex; }
	.divisions-grid, .values-grid, .footer-grid, .blog-grid { grid-template-columns: 1fr; }
	.hero { padding: 110px 0 80px; }
	.section { padding: 60px 0; }
}
