/*
Theme Name: 3hrs.ng Drilling Services
Theme URI: https://3hrs.ng
Author: 3hrs.ng
Author URI: https://3hrs.ng
Description: A premium, fully editable WordPress theme for 3hrs.ng Drilling Services. Features a borehole/water-services design system, JavaScript-driven animations, staff login, and an online service-request system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: threehrs
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #070a0d;
  --bg-2: #0a0f12;
  --card-top: #12171b;
  --card-bottom: #090d10;
  --orange: #ff6508;
  --orange-2: #f24700;
  --orange-grad: linear-gradient(135deg, #ff7417, #f24700);
  --text: #ffffff;
  --muted: #c2c8d1;
  --muted-2: #bec4cc;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .06);
  --water: #5ec9ff;
  --whatsapp: #38d36b;
  --maxw: 1440px;
  --pad: 64px;
  --hero-top: 40px;
  --hero-min: 520px;
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6;
}
html { overflow-x: hidden; max-width: 100%; }
body { max-width: 100%; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* Utility: reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 13, .65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(7, 10, 13, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.nav {
  height: 84px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 132px; height: auto; }
.links { display: flex; gap: 34px; align-items: center; }
.links a { font-weight: 800; font-size: 15px; position: relative; }
.links a:after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--orange); transition: width .3s ease; }
.links a:hover:after, .links a.active:after, .links .current-menu-item > a:after { width: 100%; }
.links a.active, .links .current-menu-item > a { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.phone { display: flex; gap: 10px; align-items: center; }
.phone .ph-ico { color: var(--orange); font-size: 20px; }
.phone b { display: block; font-size: 13px; line-height: 1.32; }
.phone small { color: #ddd; font-size: 11px; line-height: 1.3; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 8px; padding: 16px 22px;
  font-weight: 900; font-size: 15px; color: #fff;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: var(--orange-grad); box-shadow: 0 16px 34px rgba(242, 71, 0, .26); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(242, 71, 0, .4); }
.btn-secondary, .btn-outline {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}
.btn-secondary:hover, .btn-outline:hover { border-color: var(--orange); transform: translateY(-3px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-large { padding: 20px 30px; font-size: 16px; }

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s ease;
  z-index: 60; padding: 90px 28px 28px; overflow-y: auto;
}
.mobile-drawer.is-open { transform: none; }
.mobile-drawer a { display: block; padding: 14px 0; font-weight: 800; border-bottom: 1px solid var(--line-soft); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: .3s ease; z-index: 55; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO (single image)
   ============================================================ */
.hero {
  position: relative;
  min-height: var(--hero-min);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  overflow: hidden;
}
/* Background image layer with dark gradient overlay */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
}
.hero-bg:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,8,10,.98) 0%, rgba(5,8,10,.88) 39%, rgba(5,8,10,.25) 72%);
}
.hero:after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(circle at 70% 45%, rgba(245, 92, 11, .15), transparent 35%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero-water { position: absolute; right: 0; top: 0; height: 100%; width: 55%; max-width: 760px; object-fit: contain; object-position: right center; opacity: .6; pointer-events: none; z-index: 1; }
.hero-grid { max-width: var(--maxw); margin: 0 auto; padding: var(--hero-top) var(--pad); position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 640px; }

.eyebrow { color: var(--orange); text-transform: uppercase; font-weight: 900; letter-spacing: .06em; font-size: 14px; margin: 0 0 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: .99; letter-spacing: -.05em; margin: 0 0 22px; font-weight: 900; }
.hero h1 span, h2 span { color: var(--orange); }
.lead { color: #d3d7df; font-size: 18px; line-height: 1.75; margin: 0 0 32px; max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.socials { display: flex; gap: 18px; align-items: center; }
.socials span { font-size: 14px; color: var(--muted); }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; transition: .25s ease; }
.socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.experience-card {
  position: absolute; right: 60px; bottom: 64px; z-index: 3;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(10, 12, 14, .52); backdrop-filter: blur(10px);
  padding: 20px 26px; border-radius: 14px; min-width: 160px;
}
.experience-card strong { font-size: 48px; color: var(--orange); line-height: 1; display: block; }
.experience-card span { font-weight: 800; font-size: 17px; }


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-bar > div { display: flex; align-items: center; gap: 18px; padding: 30px 48px; border-right: 1px solid var(--line); }
.trust-bar > div:last-child { border-right: 0; }
.icon-box { color: var(--orange); display: inline-flex; }
.icon-box .lic { width: 30px; height: 30px; }
.trust-bar b { font-size: 15px; line-height: 1.3; }

/* ============================================================
   SHARED SECTIONS
   ============================================================ */
.section-pad { padding: 74px var(--pad); max-width: var(--maxw); margin: 0 auto; }
h2.section-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; }
.section-pad p.section-desc, .why-text p, .cta p { color: var(--muted); line-height: 1.7; }
.request-section .section-desc { color: var(--muted-2); }

/* SERVICES */
.services { display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  overflow: hidden; padding-bottom: 28px; transition: .35s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--orange); box-shadow: 0 30px 70px rgba(0, 0, 0, .42); }
.service-card .thumb { width: 100%; height: 210px; object-fit: cover; }
.service-icon { width: 56px; height: 56px; background: var(--orange); border-radius: 8px; display: grid; place-items: center; margin: -28px 0 22px 24px; color: #fff; position: relative; z-index: 2; }
.service-icon .lic { width: 28px; height: 28px; }
.service-card h3 { font-size: 24px; line-height: 1.1; margin: 0 24px 12px; }
.service-card p { color: var(--muted-2); margin: 0 24px 22px; line-height: 1.6; font-size: 15px; }
.service-card .learn { color: var(--orange); margin-left: 24px; font-weight: 800; }

/* WHY */
.why { display: grid; grid-template-columns: 1.1fr 1fr 300px; gap: 44px; align-items: center; border-top: 1px solid var(--line); }
.rig-stage { min-height: 380px; background: radial-gradient(circle at 45% 55%, rgba(255, 101, 8, .16), transparent 45%); display: flex; align-items: flex-end; }
.rig-stage img { width: 100%; filter: drop-shadow(0 40px 45px rgba(0, 0, 0, .45)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.checks span { color: #e9edf4; font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.checks span .tick { color: var(--orange); display: inline-flex; flex: none; }
.checks span .tick .lic { width: 16px; height: 16px; }
.stats { border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.stats div { padding: 24px 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.stats div:last-child { border-bottom: 0; }
.stats strong { font-size: 32px; display: block; }
.stats span { color: var(--muted); font-size: 14px; }

/* GALLERY */
.gallery { border-top: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; margin-top: 28px; }
.gallery-grid img { width: 100%; height: 360px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); transition: .4s ease; }
.gallery-grid a:hover img { transform: scale(1.03); border-color: var(--orange); }

/* CTA */
.cta {
  padding: 70px var(--pad);
  display: grid; grid-template-columns: 1.4fr auto auto auto; gap: 36px; align-items: center;
  background: linear-gradient(90deg, rgba(7,10,13,.96), rgba(7,10,13,.8)), var(--cta-bg, none) center / cover no-repeat;
  border-top: 1px solid var(--line);
}
.cta-contact small { color: #c8ced8; }
.cta-contact b { display: block; font-size: 22px; margin-top: 8px; }
.whatsapp { display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 100px; padding: 16px 22px; transition: .25s ease; }
.whatsapp:hover { border-color: var(--whatsapp); }
.whatsapp .wa-ico { font-size: 30px; color: var(--whatsapp); }

/* ============================================================
   SERVICE REQUEST FORM
   ============================================================ */
.request-section { border-top: 1px solid var(--line); }
.request-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.request-form { background: linear-gradient(180deg, var(--card-top), var(--card-bottom)); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04);
  color: #fff; font-family: inherit; font-size: 15px; transition: border .2s ease;
}
.field select {
  background-color: #111922; color: #fff;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field select option { background: #111922; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { margin-top: 14px; font-weight: 700; font-size: 14px; }
.form-msg.success { color: var(--whatsapp); }
.form-msg.error { color: #ff5a5a; }
.btn-block { width: 100%; justify-content: center; }
.is-loading { opacity: .7; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; overflow: hidden; background: #060a10; border-top: 1px solid var(--line); padding: 40px 0 0; }
.footer-splash { position: absolute; inset: auto 0 0 auto; width: 42%; max-width: 560px; object-fit: contain; object-position: right bottom; opacity: .55; mix-blend-mode: screen; pointer-events: none; z-index: 1; }
.footer-grid { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 26px; display: grid; grid-template-columns: 1.7fr .7fr .9fr 1.1fr 1fr; gap: 26px; border-bottom: 1px solid var(--line); }
.footer-grid h4 { font-size: 13px; margin: 0 0 10px; color: #fff; }
.footer-col > a { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.85; transition: color .2s ease; }
.footer-col > a:hover { color: var(--orange); }
.footer-brand .eyebrow { color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer-head { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.12; margin: 0 0 12px; color: #fff; }
.footer-head span { color: var(--orange); }
.footer-lead { color: rgba(255,255,255,.7); max-width: 330px; margin: 0 0 14px; line-height: 1.5; font-size: 13.5px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; color: #fff; transition: .25s ease; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); }
.footer-cline { display: flex; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0 0 10px; }
.footer-cline a { color: var(--muted); }
.footer-cline a:hover { color: var(--orange); }
.footer-cline .ic { color: var(--orange); flex: none; display: inline-flex; }
.footer-cline .ic .lic { width: 16px; height: 16px; }
.footer-loc .footer-map { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #11202e; }
.footer-loc .footer-map img { width: 100%; height: 86px; object-fit: cover; display: block; }
.footer-loc .footer-map-label { display: inline-block; padding: 10px 0 0; font-size: 13px; color: var(--orange); font-weight: 700; }
.footer-bottom { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px var(--pad); font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--orange); }

/* Floating WhatsApp */
.float-wa { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; font-size: 28px; color: #fff; box-shadow: 0 12px 30px rgba(56, 211, 107, .4); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56, 211, 107, .5); } 70% { box-shadow: 0 0 0 16px rgba(56, 211, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 211, 107, 0); } }

/* Page generic content */
.page-content { max-width: 860px; margin: 0 auto; padding: 60px var(--pad); }
.page-content h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; }
.page-content a { color: var(--orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --pad: 24px; }
  .links, .phone, .nav-right .btn { display: none; }
  .menu-toggle { display: flex; }
  /* trust bar stays a 5-up row, compact, icon stacked over text */
  .trust-bar > div { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 8px; }
  .trust-bar b { font-size: 12px; }
  .services, .why, .cta, .request-wrap { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .experience-card { position: relative; right: auto; bottom: auto; margin: 36px auto 40px; width: max-content; display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; justify-items: center; }
  .footer-splash { width: 100%; max-width: none; opacity: .25; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-lead { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-cline { justify-content: center; text-align: left; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-water { display: none; }
}

/* ---- MOBILE: center everything on the homepage ---- */
@media (max-width: 768px) {
  .hero { text-align: center; min-height: 0; }
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .hero-grid { padding: 56px var(--pad); }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .socials { justify-content: center; }
  .experience-card { position: relative; right: auto; bottom: auto; margin: 8px auto 44px; width: max-content; display: block; }
  .trust-bar > div { justify-content: center; text-align: center; }
  .section-intro { text-align: center; }
  .section-intro .btn-outline { margin-left: auto; margin-right: auto; }
  .service-card { text-align: center; }
  .service-icon { margin-left: auto; margin-right: auto; }
  .service-card h3, .service-card p { margin-left: 20px; margin-right: 20px; }
  .service-card .learn { display: inline-block; margin: 0 auto; }
  .why { text-align: center; }
  .why-text p { margin-left: auto; margin-right: auto; }
  .checks { grid-template-columns: 1fr; justify-items: center; }
  .checks span { justify-content: center; }
  .rig-stage { order: -1; }
  .gallery { text-align: center; }
  .cta { text-align: center; }
  .cta > div p { margin-left: auto; margin-right: auto; }
  .cta-contact, .whatsapp { justify-content: center; }
  .cta .btn-large { margin: 0 auto; }
}
@media (max-width: 600px) {
  .service-grid, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cline { justify-content: center; }
  /* trust bar: keep 5 across, very compact */
  .trust-bar > div { padding: 14px 3px; gap: 5px; }
  .trust-bar .icon-box .lic { width: 22px; height: 22px; }
  .trust-bar b { font-size: 9px; line-height: 1.2; }
}

/* ---- Staff area (login + dashboard): minimal chrome, no public nav/footer ---- */
.threehrs-staff-page { background: var(--bg); margin: 0; }
.staff-shell { min-height: 100vh; display: flex; flex-direction: column; max-width: 100%; overflow-x: hidden; }
.staff-bar { display: flex; align-items: center; gap: 16px; padding: 16px 28px; border-bottom: 1px solid rgba(255,255,255,.1); background: #0b0f14; position: sticky; top: 0; z-index: 50; }
.staff-bar .staff-logo img { height: 38px; width: auto; display: block; }
.staff-bar-label { color: #c2c8d1; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.staff-main { flex: 1; padding: 34px 28px 60px; max-width: 100%; overflow-x: hidden; }
.staff-main .page-content { margin: 0 auto; max-width: 100%; }
@media (max-width: 600px) { .staff-bar { padding: 14px 18px; } .staff-main { padding: 24px 16px 48px; } }

/* ---- Request form modal (site-wide) ---- */
.request-modal { position: fixed; inset: 0; z-index: 9998; display: none; }
.request-modal.is-open { display: block; }
.request-modal-overlay { position: absolute; inset: 0; background: rgba(4,8,12,.72); backdrop-filter: blur(3px); }
.request-modal-box {
  position: relative; z-index: 2; max-width: 640px; width: calc(100% - 32px);
  margin: 6vh auto; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, #131c25, #0e151c); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: rm-pop .25s cubic-bezier(.2,.7,.2,1);
}
@keyframes rm-pop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.request-modal-close {
  position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s;
}
.request-modal-close:hover { background: var(--orange); border-color: var(--orange); }
.request-modal-title { font-size: 24px; font-weight: 900; color: #fff; margin: 0 0 4px; }
.request-modal-sub { color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 20px; }
.request-modal-box .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-modal-box .field { margin-bottom: 14px; }
.request-modal-box .field label { display: block; font-size: 13px; color: #c2c8d1; margin-bottom: 6px; }
body.rm-open { overflow: hidden; }
@media (max-width: 600px) {
  .request-modal-box { padding: 24px 18px; margin: 4vh auto; }
  .request-modal-box .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* Click-to-dial phone links inherit surrounding color */
.phone a, .cta-contact a, .footer-cline a { color: inherit; text-decoration: none; }
.phone a:hover, .cta-contact a:hover, .footer-cline a:hover { color: var(--orange); }

/* Footer per-address maps */
.footer-loc-block { margin-bottom: 18px; }
.footer-loc-name { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin: 0 0 8px; }
.footer-loc-name strong { color: #fff; }
.footer-map-embed { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); margin-bottom: 6px; }
.footer-map-embed iframe { display: block; filter: grayscale(.3) invert(.92) hue-rotate(180deg); }

/* ---- Legal pages (Terms, Privacy) ---- */
.legal-page { background: var(--bg); }
.legal-hero { padding: 80px 0 30px; border-bottom: 1px solid var(--line); }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); }
.legal-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; color: #fff; margin: 8px 0 10px; }
.legal-hero .eyebrow { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.legal-updated { color: var(--muted); font-size: 14px; }
.legal-body { padding: 44px 0 80px; }
.legal-body h2 { font-size: 22px; font-weight: 800; color: #fff; margin: 32px 0 12px; }
.legal-body p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: 16px; }
.legal-body a { color: var(--orange); }

/* ---- Testimonials carousel ---- */
.testimonials { text-align: center; }
.testimonials.section-pad { padding-top: 40px; padding-bottom: 40px; }
.tst-head { max-width: 720px; margin: 0 auto 22px; }
.tst-carousel { max-width: 760px; margin: 0 auto; position: relative; overflow: hidden; }
.tst-track { display: flex; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tst-slide { min-width: 100%; padding: 0 8px; box-sizing: border-box; display: flex; justify-content: center; }
.tst-card { background: linear-gradient(180deg, var(--card-top), var(--card-bottom)); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; max-width: 560px; width: 100%; box-sizing: border-box; }
.tst-stars { color: #f5a623; letter-spacing: 3px; font-size: 18px; margin-bottom: 18px; }
.tst-quote { font-size: 20px; line-height: 1.7; color: #fff; margin: 0 0 22px; font-weight: 500; }
.tst-author strong { display: block; color: var(--orange); font-size: 16px; }
.tst-author span { color: var(--muted); font-size: 14px; }
.tst-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.tst-prev, .tst-next { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s, border .2s; }
.tst-prev:hover, .tst-next:hover { background: var(--orange); border-color: var(--orange); }
.tst-dots { display: flex; gap: 8px; }
.tst-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; }
.tst-dots button.on { background: var(--orange); width: 24px; border-radius: 5px; }
@media (max-width: 600px) {
  .testimonials.section-pad { padding-top: 28px; padding-bottom: 28px; }
  .tst-carousel { max-width: 100%; }
  .tst-slide { padding: 0 2px; }
  .tst-card { padding: 22px 18px; border-radius: 14px; }
  .tst-quote { font-size: 15.5px; line-height: 1.6; margin-bottom: 16px; }
  .tst-stars { font-size: 15px; margin-bottom: 12px; }
  .tst-head { margin-bottom: 20px; }
  .tst-controls { margin-top: 18px; gap: 12px; }
  .tst-prev, .tst-next { width: 38px; height: 38px; }
}

/* ---- Homepage blog section ---- */
.home-blog.section-pad { padding-top: 40px; padding-bottom: 40px; }
.home-blog-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.home-post { background: linear-gradient(180deg, var(--card-top), var(--card-bottom)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.home-post-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #0e151c; }
.home-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-post:hover .home-post-img img { transform: scale(1.06); }
.home-post-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--orange); opacity: .5; }
.home-post-noimg svg { width: 54px; height: 54px; }
.home-post-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.home-post-date { color: var(--orange); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.home-post-body h3 { font-size: 19px; margin: 10px 0 10px; line-height: 1.35; }
.home-post-body h3 a { color: #fff; text-decoration: none; }
.home-post-body h3 a:hover { color: var(--orange); }
.home-post-body p { color: var(--muted); line-height: 1.6; font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.home-post-body .learn { color: var(--orange); text-decoration: none; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) { .home-blog-grid { grid-template-columns: 1fr; max-width: 460px; } .home-blog.section-pad { padding-top: 28px; padding-bottom: 28px; } .home-blog-head { margin-bottom: 20px; } }

/* Legal pages: editor-entered content matches the styled look */
.legal-content h1, .legal-content h2, .legal-content h3 { color: #fff; font-weight: 800; margin: 28px 0 12px; }
.legal-content h2 { font-size: 22px; }
.legal-content h3 { font-size: 18px; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.8; font-size: 16px; margin-bottom: 14px; }
.legal-content a { color: var(--orange); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 14px; }

/* Custom uploaded icon images (when an SVG can't be inlined) */
.custom-icon-img { width: 100%; height: 100%; max-width: 32px; max-height: 32px; object-fit: contain; display: block; }
.icon-box .custom-icon-img, .service-icon .custom-icon-img, .svc-card-icon .custom-icon-img, .svc-step-ico .custom-icon-img { max-width: 100%; max-height: 100%; }

/* ---- Proudly Nigerian badge (header + footer) ---- */
.naija-badge { height: 76px; width: auto; display: inline-block; flex-shrink: 0; margin-left: 4px; }
.site-header .naija-badge { align-self: center; }
.naija-badge-footer { height: 52px; vertical-align: middle; margin: 0 8px 0 0; }
@media (max-width: 760px) { .naija-badge { height: 60px; } .naija-badge-footer { height: 44px; } }
