/* RDVG Solutions — "Clarity" design system
   Shared by all site pages. Advisory-practice site (rdvgsolutions.com.au). */

:root{
  --bg:#ffffff;
  --tint:#f8fafc;
  --text:#1e293b;
  --muted:#64748b;
  --indigo:#1f3a5f;
  --indigo-dark:#14293f;
  --violet:#35618c;
  --emerald:#2e7d6b;
  --border:#e2e8f0;
  --radius:20px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 6px rgba(15,23,42,0.04), 0 10px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 40px rgba(31,58,95,0.12), 0 8px 16px rgba(15,23,42,0.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
section{ position:relative; }

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

h1,h2,h3{ font-weight:800; letter-spacing:-0.02em; margin:0; }
p{ margin:0; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--indigo);
  background:rgba(31,58,95,0.08);
  padding:6px 14px;
  border-radius:999px;
  letter-spacing:0.02em;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:inherit;
  font-size:15px;
  font-weight:600;
  padding:13px 26px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  transition:transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(135deg, var(--indigo), var(--violet));
  color:#fff;
  box-shadow:0 8px 20px rgba(31,58,95,0.28);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 12px 24px rgba(31,58,95,0.34); }
.btn-secondary{
  background:#fff;
  color:var(--text);
  border:1.5px solid var(--border);
}
.btn-secondary:hover{ border-color:var(--indigo); color:var(--indigo); }
.btn-ghost{
  background:transparent;
  color:var(--muted);
  font-weight:500;
}
.btn-ghost:hover{ color:var(--indigo); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:14px; }

/* Nav */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.85);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 24px;
  max-width:1180px;
  margin:0 auto;
  flex-wrap:wrap;
}
.wordmark{
  font-size:20px;
  font-weight:800;
  letter-spacing:-0.01em;
  display:flex;
  align-items:center;
  gap:9px;
}
.wordmark .mark{
  width:32px; height:32px;
  border-radius:10px;
  background:linear-gradient(135deg, var(--indigo), var(--violet));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.wordmark .mark svg{ width:18px; height:18px; }

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
}
.nav-links a{
  font-size:14.5px;
  font-weight:600;
  color:var(--muted);
  transition:color 0.15s ease;
}
.nav-links a:hover{ color:var(--indigo); }

.nav-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

/* Hero */
.hero{
  padding:88px 0 100px;
  background:var(--tint);
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(34px, 4.6vw, 54px);
  line-height:1.08;
  margin:20px 0 22px;
}
.hero-copy p.sub{
  font-size:18px;
  color:var(--muted);
  max-width:520px;
  margin-bottom:34px;
}
.hero-ctas{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-visual{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:380px;
}
.blob{
  position:absolute;
  width:420px; height:420px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(31,58,95,0.22), rgba(53,97,140,0.14));
  filter:blur(10px);
  z-index:0;
}
.hero-card{
  position:relative;
  z-index:1;
  background:#fff;
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  padding:28px;
  width:100%;
  max-width:360px;
  border:1px solid var(--border);
}
.hero-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}
.hero-card-top .label{ font-size:13px; color:var(--muted); font-weight:600; }
.hero-card-top .pill{
  font-size:12px;
  font-weight:700;
  color:var(--emerald);
  background:rgba(46,125,107,0.1);
  padding:4px 10px;
  border-radius:999px;
}

/* Hero engagement-roadmap card (replaces the training-site recovery ring) */
.roadmap{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:6px 0 20px;
}
.roadmap-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.roadmap-dot{
  width:28px; height:28px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:12px;
  font-weight:800;
}
.roadmap-dot.done{ background:rgba(46,125,107,0.12); color:var(--emerald); }
.roadmap-dot.active{ background:linear-gradient(135deg, var(--indigo), var(--violet)); color:#fff; }
.roadmap-dot.todo{ background:var(--tint); color:var(--muted); border:1px solid var(--border); }
.roadmap-row .r-title{ font-size:14px; font-weight:700; line-height:1.3; }
.roadmap-row .r-sub{ font-size:12px; color:var(--muted); margin-top:1px; }
.roadmap-bar{
  height:6px;
  border-radius:999px;
  background:var(--border);
  overflow:hidden;
  margin-top:8px;
}
.roadmap-bar span{
  display:block;
  height:100%;
  width:62%;
  background:linear-gradient(90deg, var(--indigo), var(--violet));
  border-radius:999px;
}

.hero-card-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:6px;
}
.stat-chip{
  background:var(--tint);
  border-radius:14px;
  padding:12px 14px;
  border:1px solid var(--border);
}
.stat-chip .k{ font-size:11px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.04em; }
.stat-chip .v{ font-size:16px; font-weight:700; margin-top:2px; }

/* Feature strip */
.strip{
  padding:36px 0;
  border-bottom:1px solid var(--border);
}
.strip-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.strip-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14.5px;
  font-weight:600;
  color:var(--text);
  justify-content:center;
  text-align:center;
}
.strip-item svg{ flex-shrink:0; width:20px; height:20px; }

/* Section headers */
.section{ padding:96px 0; }
.section.tint{ background:var(--tint); }
.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 56px;
}
.section-head h2{
  font-size:clamp(28px, 3.4vw, 38px);
  margin:16px 0 14px;
}
.section-head p{
  color:var(--muted);
  font-size:17px;
}

/* How we work */
.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
.step-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px 28px;
  box-shadow:var(--shadow-sm);
  position:relative;
}
.step-num{
  width:44px; height:44px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--indigo), var(--violet));
  color:#fff;
  font-weight:800;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.step-card h3{ font-size:19px; margin-bottom:10px; }
.step-card p{ color:var(--muted); font-size:15px; }

/* Services */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  align-items:stretch;
}
.service-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:34px 30px;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  position:relative;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.service-card.featured{
  border:2px solid var(--indigo);
  box-shadow:var(--shadow-lg);
  transform:translateY(-6px);
}
.service-card.featured:hover{ transform:translateY(-8px); }
.badge-popular{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  background:linear-gradient(135deg, var(--indigo), var(--violet));
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:6px 16px;
  border-radius:999px;
  box-shadow:0 6px 14px rgba(31,58,95,0.3);
  white-space:nowrap;
}
.service-icon{
  width:48px; height:48px;
  border-radius:14px;
  background:rgba(31,58,95,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.service-icon svg{ width:24px; height:24px; color:var(--indigo); }
.service-name{ font-size:21px; font-weight:800; margin-bottom:8px; }
.service-desc{ color:var(--muted); font-size:14.5px; margin-bottom:22px; min-height:44px; }
.service-features{ display:flex; flex-direction:column; gap:12px; margin-bottom:24px; flex-grow:1; }
.service-features li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14.5px;
}
.service-features svg{ flex-shrink:0; margin-top:2px; width:18px; height:18px; }
.service-note{
  font-size:12.5px;
  color:var(--muted);
  margin-bottom:24px;
  font-weight:600;
}

/* Why RDVG */
.why-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}
.why-card{
  text-align:left;
  padding:30px 24px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}
.why-icon{
  width:48px; height:48px;
  border-radius:14px;
  background:rgba(31,58,95,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}
.why-icon svg{ width:24px; height:24px; color:var(--indigo); }
.why-card h3{ font-size:17px; margin-bottom:8px; }
.why-card p{ color:var(--muted); font-size:14.5px; }

/* Testimonials */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:28px;
}
.testimonial-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow-sm);
}
.testimonial-card .stars{ color:var(--emerald); font-size:15px; margin-bottom:16px; letter-spacing:2px; }
.testimonial-card p.quote{
  font-size:17px;
  font-weight:600;
  line-height:1.5;
  margin-bottom:18px;
}
.testimonial-author{
  display:flex;
  align-items:center;
  gap:12px;
}
.avatar{
  width:40px; height:40px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--indigo), var(--violet));
  flex-shrink:0;
}
.testimonial-author .name{ font-size:14px; font-weight:700; }
.testimonial-author .role{ font-size:12.5px; color:var(--muted); }
.testimonial-note{
  text-align:center;
  font-size:12.5px;
  color:var(--muted);
  margin-top:28px;
  font-style:italic;
}

/* FAQ */
.faq-list{
  max-width:760px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.faq-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px 28px;
  box-shadow:var(--shadow-sm);
}
.faq-item h3{
  font-size:16px;
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:10px;
}
.faq-item h3::before{
  content:"Q";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px; height:24px;
  border-radius:8px;
  background:rgba(31,58,95,0.1);
  color:var(--indigo);
  font-size:12px;
  font-weight:800;
  flex-shrink:0;
}
.faq-item p{ color:var(--muted); font-size:14.5px; padding-left:34px; }

/* Final CTA */
.cta-band{
  padding:80px 0;
  background:linear-gradient(135deg, var(--indigo), var(--violet));
  text-align:center;
}
.cta-band h2{
  color:#fff;
  font-size:clamp(28px, 3.6vw, 40px);
  margin-bottom:28px;
}
.cta-band .btn-primary{
  background:#fff;
  color:var(--indigo-dark);
  box-shadow:0 8px 24px rgba(0,0,0,0.15);
}
.cta-band .btn-primary:hover{ box-shadow:0 12px 28px rgba(0,0,0,0.2); }

/* Footer */
footer{
  background:#0f172a;
  color:#cbd5e1;
  padding:72px 0 32px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand .wordmark{ color:#fff; margin-bottom:14px; }
.footer-brand p{ font-size:14px; color:#94a3b8; max-width:280px; margin-bottom:22px; }
.newsletter{ display:flex; gap:8px; flex-wrap:wrap; }
.newsletter input{
  flex:1;
  min-width:160px;
  padding:11px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  color:#fff;
  font-family:inherit;
  font-size:13.5px;
}
.newsletter input::placeholder{ color:#64748b; }
.newsletter button{
  padding:11px 20px;
  border-radius:10px;
  border:none;
  background:var(--indigo);
  color:#fff;
  font-weight:700;
  font-size:13.5px;
  font-family:inherit;
  cursor:pointer;
  white-space:nowrap;
}
.footer-col h4{
  color:#fff;
  font-size:14px;
  font-weight:700;
  margin-bottom:18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:#94a3b8; transition:color 0.15s ease; }
.footer-col a:hover{ color:#fff; }

.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{
  width:36px; height:36px;
  border-radius:10px;
  background:rgba(255,255,255,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.social-row a:hover{ background:rgba(255,255,255,0.14); }
.social-row svg{ width:16px; height:16px; }

.footer-bottom{
  padding-top:28px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  text-align:center;
}
.footer-bottom p{ font-size:12.5px; color:#64748b; }
.footer-bottom .attribution{ max-width:640px; }

/* ---------------------------------------------------------------- */
/* Legal prose (privacy / terms pages) — Clarity-styled long-form   */
/* ---------------------------------------------------------------- */
.legal{
  max-width:680px;
  margin:0 auto;
}
.legal h1{
  font-size:clamp(30px, 4vw, 42px);
  margin-bottom:10px;
}
.legal > .muted{
  margin-bottom:40px;
}
.legal h2{
  font-size:21px;
  margin-top:36px;
  margin-bottom:12px;
  padding-top:28px;
  border-top:1px solid var(--border);
}
.legal h2:first-of-type{
  border-top:none;
  padding-top:0;
  margin-top:0;
}
.legal p{
  color:var(--text);
  font-size:15.5px;
  line-height:1.75;
  margin-bottom:14px;
}
.legal p:last-child{ margin-bottom:0; }
.legal a{
  color:var(--indigo);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}
.legal a:hover{ color:var(--indigo-dark); }
.legal ul{
  margin:0 0 14px;
  padding-left:22px;
  color:var(--text);
  font-size:15.5px;
  line-height:1.75;
}
.legal li{ margin-bottom:8px; }
.legal li:last-child{ margin-bottom:0; }
.legal ul.dotted{ list-style:disc; }

/* Small shared text utilities used outside the main marketing sections */
.muted{ color:var(--muted); font-size:14px; }
.trademark{ font-size:13px; color:var(--muted); }

/* "Pty Ltd" suffix — small, subtle, sits next to the RDVG Solutions name */
.pty{ font-size:0.66em; font-weight:600; opacity:0.7; letter-spacing:0.01em; margin-left:0.34em; }

/* ---------------------------------------------------------------- */
/* Contact page                                                      */
/* ---------------------------------------------------------------- */
.contact-hero{
  padding:88px 0 56px;
  background:var(--tint);
  text-align:center;
}
.contact-hero .eyebrow{ margin-bottom:20px; }
.contact-hero h1{
  font-size:clamp(32px, 4.4vw, 46px);
  margin-bottom:16px;
}
.contact-hero .sub{
  font-size:17px;
  color:var(--muted);
  max-width:520px;
  margin:0 auto;
}
.contact-card{
  max-width:460px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  padding:44px 40px;
  text-align:center;
}
.contact-card p{ margin-bottom:18px; font-size:15.5px; }
.contact-card p:last-child{ margin-bottom:0; }
.contact-card .btn{ margin-bottom:18px; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ min-height:300px; }
  .strip-grid{ grid-template-columns:repeat(2, 1fr); }
  .steps{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:repeat(2, 1fr); }
  .testimonial-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .service-card.featured{ transform:none; }
  .service-card.featured:hover{ transform:translateY(-4px); }
}

@media (max-width: 640px){
  .nav{ justify-content:center; }
  .nav-links{ justify-content:center; order:3; width:100%; gap:16px 20px; padding-top:8px; border-top:1px solid var(--border); margin-top:8px; }
  .nav-actions{ order:2; }
  .hero{ padding:56px 0 64px; }
  .section{ padding:64px 0; }
  .why-grid{ grid-template-columns:1fr; }
  .strip-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:32px; }
  .hero-ctas .btn{ width:100%; }
  .hero-ctas{ flex-direction:column; }
  .cta-band .btn{ width:100%; }
  .contact-card{ padding:32px 24px; }
}
