/* =========================================================
   DRA Services Ltd — site styles (Bootstrap 5 companion)
   ========================================================= */

:root {
  --ink: #0b1320;
  --ink-2: #121c2e;
  --ink-3: #1b2740;
  --paper: #f5f3ee;
  --white: #ffffff;
  --accent: #ff6b3d;
  --accent-dark: #e4521f;
  --accent-soft: #ffe6dc;
  --text: #1a2233;
  --muted: #5d6676;
  --muted-on-dark: #a9b3c4;
  --line: rgba(11, 19, 32, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 18px 40px -22px rgba(11, 19, 32, 0.35);
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: inherit;
}

h1 { font-weight: 600; }
h2 { font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }

p { color: var(--muted); }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--ink); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark p { color: var(--muted-on-dark); }

.lead-lg { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 3px; height: 3px;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor, 12px 0 0 currentColor;
  margin-right: 12px;
}
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-accent:hover, .btn-accent:focus {
  background: var(--accent-dark); border-color: var(--accent-dark); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(255, 107, 61, 0.7);
}

.btn-ink { background: var(--ink); color: #e6e9ef; border: 1px solid var(--ink); }
.btn-ink:hover, .btn-ink:focus { background: var(--ink-3); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--ink); border-color: #fff; }

.btn-light-pill { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn-light-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Floating pill navigation ---------- */
.site-header { padding-top: 14px; pointer-events: none; }
.site-header .container { pointer-events: auto; }

.nav-shell {
  background: #fff;
  border-radius: 26px;
  padding: 8px 10px 8px 18px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled .nav-shell { box-shadow: 0 14px 34px -12px rgba(11, 19, 32, 0.4); }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 0;
}
.navbar-brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: 1px; top: 1px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
}
.brand-sub { font-weight: 500; color: var(--muted); }

.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.55;
  padding: 0.7rem 1rem !important;
  transition: opacity 0.2s ease;
}
.navbar-nav .nav-link:hover { opacity: 0.85; color: var(--ink); }
.navbar-nav .nav-link.active { opacity: 1; color: var(--ink); }
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 3px; height: 3px;
  margin-left: -1.5px;
  background: var(--accent);
  box-shadow: -6px 0 0 var(--accent), 6px 0 0 var(--accent);
}

.navbar-toggler {
  border: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  padding: 0;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--accent-soft); }

.nav-cta { padding: 0.65rem 1.25rem; font-size: 0.9rem; }

@media (min-width: 992px) {
  .nav-shell { border-radius: 999px; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 10px 6px 12px; }
  .navbar-nav .nav-link { padding: 0.75rem 0.5rem !important; border-bottom: 1px solid var(--line); }
  .navbar-nav .nav-link.active::after { left: auto; right: 14px; bottom: 50%; }
  .nav-cta { width: 100%; margin-top: 14px; }
}

/* ---------- Hero (home) ---------- */
.hero, .page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px; height: 720px;
  right: -180px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.38), rgba(255, 107, 61, 0) 65%);
  filter: blur(10px);
}

.hero { padding: clamp(150px, 20vh, 200px) 0 clamp(70px, 10vw, 120px); }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead-lg { color: #c9d0dc; }

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #d5dae3;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.trust-pill i {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff; color: var(--ink);
  font-size: 0.8rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-on-dark);
  border-radius: 28px;
  padding: 14px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.hero-panel-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  padding: 10px 14px 14px;
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.3s ease;
}
.hero-row + .hero-row { margin-top: 10px; }
.hero-row:hover { transform: translateX(6px); color: var(--ink); }
.hero-row .icon-chip { flex: none; }
.hero-row h3 { font-size: 1.1rem; margin: 0 0 2px; }
.hero-row p { margin: 0; font-size: 0.88rem; line-height: 1.45; }
.hero-row .bi-arrow-up-right { margin-left: auto; font-size: 1.1rem; color: var(--accent-dark); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(150px, 20vh, 190px) 0 clamp(56px, 8vw, 90px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin-bottom: 18px; }
.page-hero p { color: #c9d0dc; max-width: 58ch; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: 0.85rem; color: var(--muted-on-dark); margin-top: 28px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Icon chip ---------- */
.icon-chip {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.35rem;
}
.section-dark .icon-chip { background: rgba(255, 107, 61, 0.16); color: var(--accent); }

/* ---------- Cards ---------- */
.card-soft {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.card-soft h3 { margin: 20px 0 10px; }
.card-soft p:last-child { margin-bottom: 0; }
.section-white .card-soft { background: var(--paper); }

.practice-card {
  position: relative;
  height: 100%;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.practice-card.is-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.practice-card.is-dark p, .practice-card.is-dark li { color: var(--muted-on-dark); }
.practice-card.is-dark .icon-chip { background: rgba(255, 107, 61, 0.16); color: var(--accent); }
.practice-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 24px 0 12px; }
.practice-card .sic {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.practice-card.is-dark .sic { color: var(--muted-on-dark); border-color: var(--line-on-dark); }

.tick-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.tick-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.practice-card.is-dark .tick-list li { border-color: var(--line-on-dark); }
.tick-list li::before {
  content: "\F272"; /* bi-check2 */
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 8px;
  color: var(--accent-dark);
}
.practice-card.is-dark .tick-list li::before { color: var(--accent); }

.link-arrow { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform 0.25s ease; }
.link-arrow:hover { color: var(--accent-dark); }
.link-arrow:hover i { transform: translateX(5px); }
.is-dark .link-arrow { color: #fff; }
.is-dark .link-arrow:hover { color: var(--accent); }

/* ---------- Process steps ---------- */
.step {
  height: 100%;
  padding: 28px 0 0;
  border-top: 2px solid var(--ink);
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}
.step h3 { margin: 12px 0 10px; }
.step p { margin: 0; font-size: 0.97rem; }

/* ---------- Feature (dark) ---------- */
.feature { padding: 28px; border: 1px solid var(--line-on-dark); border-radius: var(--radius); height: 100%; }
.feature h3 { margin: 20px 0 10px; }
.feature p { margin: 0; }

/* ---------- Service items ---------- */
.service-item {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-item .icon-chip { flex: none; width: 46px; height: 46px; font-size: 1.15rem; border-radius: 14px; }
.service-item h3 { font-size: 1.1rem; margin: 2px 0 6px; }
.service-item p { margin: 0; font-size: 0.94rem; }
.section-white .service-item { background: var(--paper); }

.sticky-intro { position: sticky; top: 120px; }

/* ---------- Company details ---------- */
.detail-table { border-top: 2px solid var(--ink); margin: 0; }
.detail-table > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.detail-table dt { font-weight: 600; color: var(--ink); }
.detail-table dd { margin: 0; color: var(--muted); }
@media (max-width: 575.98px) {
  .detail-table > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Accordion ---------- */
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink); }
.accordion-item { border-left: 0; border-right: 0; border-radius: 0 !important; }
.accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: 22px 0; color: var(--ink); }
.accordion-body { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--accent);
  color: #fff;
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -150px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.14);
}
.cta-band h2 { max-width: 18ch; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: var(--text); }
.contact-card + .contact-card { margin-top: 14px; }
.contact-card .label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-card .value { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); word-break: break-word; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.form-control, .form-select {
  border-radius: 14px;
  border: 1px solid rgba(11, 19, 32, 0.18);
  padding: 0.8rem 1rem;
  background-color: var(--paper);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background-color: #fff;
}
.form-note { font-size: 0.85rem; color: var(--muted); }

.map-frame { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-frame iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; filter: grayscale(0.35) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 88px) 0 28px; }
.site-footer p, .site-footer li, .site-footer address { color: var(--muted-on-dark); font-size: 0.95rem; }
.site-footer .navbar-brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--ink); }
.site-footer .brand-mark::after { border-color: var(--ink); }
.site-footer .brand-sub { color: var(--muted-on-dark); }
.footer-title { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; margin: 0; }
.footer-bottom { border-top: 1px solid var(--line-on-dark); margin-top: 48px; padding-top: 24px; font-size: 0.85rem; color: var(--muted-on-dark); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card-soft, .practice-card, .service-item, .contact-card, .hero-row { transition: none; }
}

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 2000; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Small-screen gutter (keeps wide Bootstrap gutters inside the page) ---------- */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* ---------- Detailed service write-ups ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-white .chip { background: var(--paper); }
.section-white .chip:hover { background: var(--ink); }

.svc { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.chips + .svc { margin-top: clamp(28px, 4vw, 48px); }
.svc:last-child { padding-bottom: 0; }
.svc-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}
.svc h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 22px 0 16px; }
.svc p { max-width: 62ch; }
.svc p:last-child { margin-bottom: 0; }

#it, #management, #faqs, #about, #services { scroll-margin-top: 90px; }

/* Linked service lists on the home page */
.tick-list a { color: inherit; display: block; transition: color 0.2s ease; }
.tick-list a:hover { color: var(--accent-dark); }
.practice-card.is-dark .tick-list a:hover { color: #fff; }

h2 + .lead-lg { margin-top: 14px; }
