/* ============================================================
   ARG — Asset Recoveries Group  ·  Shared Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --teal: #1A8A7D;
  --teal-deep: #147A6E;
  --teal-dark: #0F5F55;
  --teal-light: #2BA396;
  --teal-pale: #E8F5F3;
  --teal-muted: rgba(26, 138, 125, 0.08);
  --dark: #1B2A3D;
  --dark-deep: #111D2B;
  --dark-mid: #243547;
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --gray-50: #F1F4F6;
  --gray-100: #E2E7EC;
  --gray-300: #B0BBC8;
  --gray-500: #6B7B8F;
  --gray-700: #3D4F63;
  --shadow-sm: 0 1px 3px rgba(27,42,61,.06), 0 1px 2px rgba(27,42,61,.04);
  --shadow-md: 0 4px 16px rgba(27,42,61,.08);
  --shadow-lg: 0 12px 40px rgba(27,42,61,.12);
  --shadow-xl: 0 20px 60px rgba(27,42,61,.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ======================== NAVBAR ======================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 1rem 0;
  transition: all .35s ease;
}

.nav.scrolled {
  background: rgba(27,42,61,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }

.nav-logo-img {
  height: 34px; width: auto; flex-shrink: 0; display: block;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  font-weight: 600; color: var(--white); line-height: 1.2; letter-spacing: -.2px;
}

.nav-logo-sub {
  display: block; font-family: 'Source Sans 3', sans-serif;
  font-size: .6rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal-light); margin-top: 1px;
}

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }

.nav-links a {
  text-decoration: none; color: rgba(255,255,255,.75);
  font-size: .85rem; font-weight: 500; padding: .45rem .85rem;
  border-radius: var(--radius-sm); transition: all .25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav-links .active {
  color: var(--white);
  background: rgba(26,138,125,.2);
}

.nav-cta-link {
  background: var(--teal) !important; color: var(--white) !important;
  font-weight: 600 !important; padding: .5rem 1.15rem !important; margin-left: .5rem;
}
.nav-cta-link:hover { background: var(--teal-light) !important; }

/* Mobile */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: var(--radius-sm); transition: background .2s;
}
.mobile-toggle:hover { background: rgba(255,255,255,.1); }
.mobile-toggle svg { display: block; }

.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(17,29,43,.6); backdrop-filter: blur(4px);
  z-index: 1001; opacity: 0; transition: opacity .3s;
}
.mobile-overlay.open { display: block; opacity: 1; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw;
  background: var(--dark-deep); z-index: 1002;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 1.5rem;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-drawer-head span { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--white); font-size: 1rem; }

.mobile-close {
  background: rgba(255,255,255,.08); border: none; color: var(--white);
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.mobile-close:hover { background: rgba(255,255,255,.15); }
.mobile-close svg { width: 18px; height: 18px; }

.mobile-nav-links { display: flex; flex-direction: column; gap: .25rem; list-style: none; }
.mobile-nav-links a {
  display: block; text-decoration: none; color: rgba(255,255,255,.7);
  font-size: 1rem; font-weight: 500; padding: .75rem .85rem;
  border-radius: var(--radius-sm); transition: all .2s;
}
.mobile-nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }

.mobile-nav-cta {
  display: block; text-align: center; background: var(--teal);
  color: var(--white) !important; font-weight: 600 !important;
  padding: .85rem !important; border-radius: var(--radius-sm);
  margin-top: 1.5rem; text-decoration: none; transition: background .2s;
}
.mobile-nav-cta:hover { background: var(--teal-light); }

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: 'Source Sans 3', sans-serif; font-size: .9rem; font-weight: 600;
  padding: .8rem 1.6rem; border-radius: var(--radius-sm);
  text-decoration: none; border: none; cursor: pointer;
  transition: all .25s; line-height: 1;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,138,125,.3); }

.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.btn-outline:hover { border-color: rgba(26,138,125,.6); color: var(--teal-light); background: rgba(26,138,125,.06); }

.btn-outline-dark { background: transparent; color: var(--teal); border: 1px solid var(--gray-100); }
.btn-outline-dark:hover { border-color: var(--teal); background: var(--teal-muted); }

/* ======================== UTILITIES ======================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: .75rem;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--teal); border-radius: 1px; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem,3.2vw,2.5rem); font-weight: 700;
  line-height: 1.2; color: var(--dark); margin-bottom: .75rem; letter-spacing: -.3px;
}

.section-subtitle {
  font-size: 1.025rem; line-height: 1.7; color: var(--gray-500);
  max-width: 560px; margin-bottom: 3rem;
}

/* ======================== PAGE HERO (inner pages) ======================== */
.page-hero {
  position: relative; padding: 9rem 0 4rem; background: var(--dark-deep); overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(26,138,125,.1), transparent),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(36,53,71,.6), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem,3.5vw,2.75rem); font-weight: 700;
  color: var(--white); margin-bottom: .6rem; letter-spacing: -.3px;
}
.page-hero p {
  font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 540px;
}

/* ======================== FOOTER ======================== */
.footer { background: var(--dark-deep); padding: 3.5rem 0 1.75rem; }

.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}

.footer-brand-desc {
  font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.4);
  margin-top: .85rem; max-width: 280px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif; font-size: .95rem;
  font-weight: 600; color: var(--white); margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col a { color: rgba(255,255,255,.4); text-decoration: none; font-size: .85rem; transition: color .25s; }
.footer-col a:hover { color: var(--teal-light); }

.footer-contact { display: flex; flex-direction: column; gap: .65rem; }
.footer-contact-row {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .85rem; color: rgba(255,255,255,.4);
}
.footer-contact-row svg { width: 15px; height: 15px; color: var(--teal-light); flex-shrink: 0; margin-top: 2px; }

.footer-linkedin {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--teal-light); font-size: .85rem; font-weight: 500;
  text-decoration: none; margin-top: .5rem; transition: opacity .2s;
}
.footer-linkedin:hover { opacity: .8; }
.footer-linkedin svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: .75rem; color: rgba(255,255,255,.25); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--teal-light); }

/* ======================== ANIMATIONS ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { padding: 7.5rem 0 3rem; }
}
