/* ============================================================
   RILEYS SOLICITORS — styles.css (v5 — Final)
   Fonts: Sora (headings) · DM Sans (body) · DM Mono (numbers)
   ============================================================ */

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

:root {
  --navy:      #1B2A4A;
  --navy-deep: #0F1D36;
  --navy-mid:  #162340;
  --teal:      #00B4D0;
  --sky:       #00CFDE;
  --magenta:   #D4006A;
  --amber:     #F5A623;
  --white:     #FFFFFF;
  --bg:        #F2F5FA;
  --border:    #DDE3EE;
  --muted:     #5D6E8A;
  --r-sm:4px; --r-md:10px; --r-lg:16px; --r-xl:22px;
  --sh-sm:0 2px 8px rgba(27,42,74,.07);
  --sh-md:0 6px 24px rgba(27,42,74,.11);
  --sh-lg:0 16px 48px rgba(27,42,74,.16);
  --t:.22s ease;
  --f-head:'Sora',sans-serif;
  --f-body:'DM Sans',sans-serif;
  --f-mono:'DM Mono',monospace;
}

html { scroll-behavior:smooth; }
body { font-family:var(--f-body); color:var(--navy); background:var(--white); overflow-x:hidden; -webkit-font-smoothing:antialiased; }
img  { display:block; max-width:100%; }
/* Global link reset — prevent browser default blue on all <a> tags */
a    { text-decoration:none; color:inherit; }

/* ── Eyebrow — dash BOTH sides ── */
.eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  color:var(--teal); font-family:var(--f-head); font-size:.72rem;
  font-weight:700; letter-spacing:.18em; text-transform:uppercase; margin-bottom:.9rem;
}
.eyebrow::before,
.eyebrow::after { content:''; display:block; width:20px; height:2px; background:var(--teal); flex-shrink:0; }

/* ── Typography ── */
.section-title { font-family:var(--f-head); font-size:clamp(1.7rem,2.8vw,2.5rem); font-weight:700; color:var(--navy); line-height:1.22; margin-bottom:.8rem; }
.section-subtitle { font-family:var(--f-body); color:var(--muted); font-size:.97rem; line-height:1.75; max-width:560px; }
.section-inner { max-width:1240px; margin:0 auto; padding:0 1.5rem; }

/* ── Buttons ── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; font-family:var(--f-head); font-weight:600; font-size:.85rem; letter-spacing:.01em; padding:.72rem 1.6rem; border-radius:50px; border:none; cursor:pointer; transition:transform var(--t),box-shadow var(--t),background var(--t); white-space:nowrap; }
.btn:hover { transform:translateY(-2px); }
.btn-primary       { background:linear-gradient(135deg,var(--teal),var(--sky)); color:var(--navy-deep); box-shadow:0 4px 16px rgba(0,180,208,.35); }
.btn-primary:hover { box-shadow:0 8px 24px rgba(0,180,208,.5); }
.btn-outline-light { color:var(--white); border:1.5px solid rgba(255,255,255,.35); background:transparent; }
.btn-outline-light:hover { background:rgba(255,255,255,.07); border-color:var(--teal); }
.btn-navy          { background:var(--navy); color:var(--white); }
.btn-navy:hover    { background:var(--navy-deep); }
.btn-navy-outline  { color:var(--navy); border:1.5px solid var(--navy); background:transparent; }
.btn-navy-outline:hover { background:var(--bg); }
.btn-teal-outline  { color:var(--teal); border:1.5px solid var(--teal); background:transparent; }
.btn-teal-outline:hover { background:rgba(0,180,208,.07); }
.btn-white         { background:var(--white); color:var(--navy-deep); font-weight:700; box-shadow:0 4px 16px rgba(0,0,0,.15); }
.btn-white:hover   { box-shadow:0 8px 24px rgba(0,0,0,.22); }
.btn-full { width:100%; }
.btn-lg   { padding:.88rem 2rem; font-size:.92rem; }

/* ── Reveal animation ── */
[data-reveal] { opacity:0; transform:translateY(24px); transition:opacity .6s ease,transform .6s ease; }
[data-reveal].visible { opacity:1; transform:none; }
/* Hero is above the fold — must always be visible immediately */
.hero-content,
.hero-card { opacity:1 !important; transform:none !important; }
/* Add animation for hero via keyframes instead */
.hero-content { animation:heroFadeIn .8s ease forwards; }
.hero-card    { animation:heroFadeIn 1s ease .2s both; }
@keyframes heroFadeIn {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:none; }
}


/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
nav { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(15,29,54,.97); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-bottom:1px solid rgba(255,255,255,.07); transition:background var(--t),box-shadow var(--t); }
nav.scrolled { background:rgba(15,29,54,1); box-shadow:0 2px 20px rgba(0,0,0,.3); }
.nav-inner { max-width:1240px; margin:0 auto; padding:0 1.5rem; height:68px; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.nav-logo { display:flex; align-items:center; flex-shrink:0; }
.nav-logo-img { height:44px; width:auto; display:block; }

.nav-links { display:flex; align-items:center; gap:.1rem; list-style:none; }
.nav-links>li>a { display:flex; align-items:center; gap:4px; color:rgba(255,255,255,.78); font-family:var(--f-head); font-size:.82rem; font-weight:500; padding:.45rem .78rem; border-radius:var(--r-sm); transition:color var(--t),background var(--t); }
.dropdown-toggle svg { transition:transform .25s ease; flex-shrink:0; }
.nav-links>li>a:hover { color:var(--white); background:rgba(255,255,255,.07); }

.dropdown { position:relative; }
/* Bridge pseudo-element prevents menu disappearing when moving mouse into gap */
.dropdown::after { content:''; position:absolute; top:100%; left:0; right:0; height:12px; }
.dropdown-menu { display:none; position:absolute; top:calc(100% + 4px); left:0; background:var(--navy-mid); border:1px solid rgba(255,255,255,.1); border-radius:var(--r-md); min-width:224px; padding:.5rem .4rem; box-shadow:0 20px 48px rgba(0,0,0,.4); z-index:100; }
.dropdown:hover .dropdown-menu { display:block; }
/* Keep menu open when hovering over it */
.dropdown-menu:hover { display:block; }
.dropdown-menu a { display:flex; align-items:center; gap:10px; padding:.55rem .85rem; color:rgba(255,255,255,.72); font-family:var(--f-body); font-size:.83rem; border-radius:var(--r-sm); transition:background var(--t),color var(--t); }
.dropdown-menu a:hover { background:rgba(0,180,208,.1); color:var(--teal); }
.dm-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.dm-dot.c-teal  { background:var(--teal); }
.dm-dot.c-mag   { background:var(--magenta); }
.dm-dot.c-amber { background:var(--amber); }
.dm-dot.c-navy  { background:#4a6090; }

.nav-phone { color:var(--amber) !important; font-weight:600 !important; }
.nav-cta { background:linear-gradient(135deg,var(--teal),var(--sky)) !important; color:var(--navy-deep) !important; font-weight:700 !important; padding:.44rem 1.15rem !important; border-radius:50px !important; font-size:.8rem !important; letter-spacing:.01em; }
.nav-cta:hover { opacity:.9; }

.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:5px; border-radius:var(--r-sm); }
.hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:transform .3s,opacity .3s; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */

/* Always-visible overrides (server-safe — prevents opacity:0 flash) */
.hero-content,
.hero-card { opacity:1 !important; transform:none !important; }
.hero-content { animation:heroFadeIn .8s ease forwards; }
.hero-card    { animation:heroFadeIn 1s ease .2s both; }
@keyframes heroFadeIn {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:none; }
}

.hero {
  min-height:100svh;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--navy-deep);
}
.hero-bg { position:absolute; inset:0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(105deg,
    rgba(15,29,54,.92) 0%,
    rgba(15,29,54,.82) 45%,
    rgba(15,29,54,.50) 100%);
}

/* ── Two-column hero layout ── */
.hero-inner {
  position:relative;
  max-width:1240px;
  margin:0 auto;
  padding:6.5rem 2rem 4rem;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:3rem;
  align-items:center;
  width:100%;
}

/* ── Left: headline + description + buttons ── */
.hero-content {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.hero h1 {
  font-family:var(--f-head);
  font-size:clamp(2.2rem,3.8vw,3.4rem);
  font-weight:800;
  color:var(--white);
  line-height:1.14;
  margin-bottom:1.2rem;
  letter-spacing:-.01em;
}
.hero h1 em {
  font-style:normal;
  background:linear-gradient(90deg,var(--teal),var(--sky));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-desc {
  color:rgba(255,255,255,.72);
  font-size:.97rem;
  line-height:1.76;
  margin-bottom:1.75rem;
  max-width:460px;
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
}

/* ── Right: claim form card ── */
.hero-card {
  background:rgba(12,22,50,.72);
  border:1px solid rgba(255,255,255,.15);
  border-radius:var(--r-xl);
  padding:2rem 1.75rem;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  width:100%;
  align-self:center;
}
.hero-card-header { margin-bottom:1.25rem; }
.hero-card-header h3 {
  font-family:var(--f-head);
  font-weight:700;
  color:var(--white);
  font-size:1.15rem;
  margin-bottom:.3rem;
}
.hero-card-header p {
  color:rgba(255,255,255,.5);
  font-size:.84rem;
  line-height:1.55;
}

/* ── Form fields ── */
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.75rem;
  margin-bottom:.75rem;
}
.form-group { margin-bottom:.75rem; }
.form-group:last-of-type { margin-bottom:1rem; }
.form-group label {
  display:block;
  color:rgba(255,255,255,.6);
  font-family:var(--f-head);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  margin-bottom:.35rem;
}
.form-group input,
.form-group select {
  width:100%;
  padding:.7rem 1rem;
  background:rgba(255,255,255,.07);
  border:1.5px solid rgba(255,255,255,.15);
  border-radius:var(--r-md);
  color:var(--white);
  font-size:.88rem;
  font-family:var(--f-body);
  outline:none;
  transition:border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance:none;
  appearance:none;
}
.form-group input:focus,
.form-group select:focus {
  border-color:var(--teal);
  background:rgba(0,180,208,.07);
  box-shadow:0 0 0 3px rgba(0,180,208,.15);
}
.form-group input:focus:invalid,
.form-group select:focus:invalid {
  border-color:rgba(239,68,68,.6);
  box-shadow:0 0 0 3px rgba(239,68,68,.1);
}
.form-group input::placeholder { color:rgba(255,255,255,.28); }
.form-group select option { background:#0f1d36; color:var(--white); }

/* Validation error message */
.form-group .field-error {
  display:none;
  font-family:var(--f-body);
  font-size:.75rem;
  color:#f87171;
  margin-top:.3rem;
  padding-left:.25rem;
}
.form-group.has-error input,
.form-group.has-error select {
  border-color:rgba(239,68,68,.7);
  box-shadow:0 0 0 3px rgba(239,68,68,.12);
}
.form-group.has-error .field-error { display:block; }

/* Submit button feedback */
.hero-form-success {
  display:none;
  text-align:center;
  padding:1rem 0 .5rem;
  color:var(--teal);
  font-family:var(--f-head);
  font-size:.9rem;
  font-weight:600;
}

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar { background:var(--navy); border-bottom:1px solid rgba(255,255,255,.07); }
.trust-bar-inner { max-width:1240px; margin:0 auto; padding:.75rem 1.5rem; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0; }
.trust-item { display:flex; align-items:center; gap:.45rem; color:rgba(255,255,255,.6); font-family:var(--f-body); font-size:.78rem; font-weight:500; padding:.28rem 1.1rem; white-space:nowrap; }
.trust-item svg { color:var(--teal); flex-shrink:0; }
.trust-sep { width:1px; height:16px; background:rgba(255,255,255,.15); }

/* ── SRA Badge shared — trust bar, about, footer ── */
/* All badges use inline styles for server-safe rendering */
.trust-sra-logo { padding:0 .4rem !important; display:flex; align-items:center; }
.footer-sra { margin-top:.5rem; line-height:0; }
.footer-sra iframe { display:block; }
.trust-sra-logo { padding:0 .5rem !important; display:flex; align-items:center; }
.trust-sra-logo iframe { display:block; }
.about-badge { position:absolute; bottom:-18px; right:-18px; z-index:2; }
.about-badge iframe { display:block; }


/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { background:var(--bg); padding:4rem 0; }
.section-header { text-align:center; margin-bottom:2rem; }
.section-header .section-subtitle { margin:0 auto; }
.section-header .eyebrow { justify-content:center; }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; align-items:stretch; }

.sc { background:var(--white); border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--border); display:flex; flex-direction:column; transition:transform var(--t),box-shadow var(--t),border-color var(--t); }
.sc:hover { transform:translateY(-6px); box-shadow:0 20px 50px rgba(27,42,74,.15); border-color:rgba(0,180,208,.25); }
.sc-img { position:relative; height:185px; overflow:hidden; background:var(--navy); }
.sc-img img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.sc:hover .sc-img img { transform:scale(1.06); }
.sc-overlay { position:absolute; inset:0; background:linear-gradient(to bottom,rgba(11,24,52,.1) 0%,rgba(11,24,52,.68) 100%); display:flex; flex-direction:column; justify-content:space-between; padding:.7rem .85rem; }
.sc-top-row { display:flex; align-items:center; gap:.45rem; flex-wrap:wrap; }
.sc-tag { font-family:var(--f-head); font-size:.72rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; padding:.22rem .75rem; border-radius:50px; white-space:nowrap; }
.sc-tag-teal  { background:rgba(0,180,208,.88);  color:#fff; }
.sc-tag-mag   { background:rgba(212,0,106,.88);  color:#fff; }
.sc-tag-amber { background:rgba(245,166,35,.92); color:var(--navy-deep); }
.sc-tag-navy  { background:rgba(27,42,74,.88);   color:#fff; }
.sc-badge { font-family:var(--f-head); font-size:.73rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.22rem .65rem; border-radius:50px; background:rgba(245,166,35,.92); color:var(--navy-deep); white-space:nowrap; }
.sc-body { padding:1.25rem 1.35rem 1.4rem; display:flex; flex-direction:column; flex:1; }
.sc-icon-row { display:flex; align-items:center; gap:.7rem; margin-bottom:.6rem; }
.sc-icon { width:36px; height:36px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sc-icon.c-teal  { background:rgba(0,180,208,.1);  color:var(--teal); }
.sc-icon.c-mag   { background:rgba(212,0,106,.09); color:var(--magenta); }
.sc-icon.c-amber { background:rgba(245,166,35,.1); color:var(--amber); }
.sc-icon.c-navy  { background:rgba(27,42,74,.08);  color:var(--navy); }
.sc-body h4 { font-family:var(--f-head); font-size:.95rem; color:var(--navy); font-weight:700; line-height:1.25; }
.sc-body p  { font-family:var(--f-body); color:var(--muted); font-size:.84rem; line-height:1.65; flex:1; margin-bottom:1rem; margin-top:.5rem; }
.sc-link { display:inline-flex; align-items:center; gap:5px; color:var(--teal); font-family:var(--f-head); font-size:.81rem; font-weight:700; transition:gap var(--t),color var(--t); margin-top:auto; }
.sc-link:hover { gap:9px; color:#009ab5; }


/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.process { background:#f8fafd; padding:4rem 0; }
.process-header { text-align:center; margin-bottom:1.5rem; }
.process-header .eyebrow { justify-content:center; }
.process-header .section-subtitle { margin:0 auto; text-align:center; }
.process-track { position:relative; }
.process-line { position:absolute; top:27px; left:calc(12.5% + 27px); right:calc(12.5% + 27px); height:2px; background:var(--border); border-radius:2px; z-index:0; }
.process-line-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--sky)); border-radius:2px; transition:width 1.5s ease .2s; }
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:1.1rem; position:relative; z-index:1; align-items:start; }
.process-step  { display:flex; flex-direction:column; align-items:center; text-align:center; }
.step-bubble { position:relative; width:54px; height:54px; margin-bottom:.75rem; display:flex; align-items:center; justify-content:center; }
.step-ring { position:absolute; inset:-5px; border-radius:50%; border:2px solid var(--teal); opacity:0; transform:scale(.85); transition:opacity .35s,transform .35s; }
.process-step:hover .step-ring { opacity:.3; transform:scale(1); }
.step-num { width:54px; height:54px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--sky)); color:var(--navy-deep); font-family:var(--f-mono); font-size:1.3rem; font-weight:500; display:flex; align-items:center; justify-content:center; position:relative; z-index:1; box-shadow:0 4px 14px rgba(0,180,208,.35); transition:transform var(--t),box-shadow var(--t); }
.process-step:hover .step-num { transform:scale(1.07); box-shadow:0 8px 22px rgba(0,180,208,.5); }
.step-card {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--r-lg);
  padding:1.5rem 1.25rem 1.3rem;
  width:100%;
  position:relative;
  overflow:hidden;
  transition:box-shadow var(--t),transform var(--t),border-color var(--t);
}
/* Left accent bar */
.step-card::before {
  content:'';
  position:absolute;
  top:0; left:0;
  width:3px; height:100%;
  background:linear-gradient(to bottom, var(--teal), var(--sky));
  border-radius:3px 0 0 3px;
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .35s ease;
}
.process-step:hover .step-card {
  box-shadow:0 12px 36px rgba(27,42,74,.13);
  transform:translateY(-5px);
  border-color:rgba(0,180,208,.3);
}
.process-step:hover .step-card::before { transform:scaleY(1); }

.step-icon {
  width:44px; height:44px;
  border-radius:var(--r-md);
  background:linear-gradient(135deg,rgba(0,180,208,.15),rgba(0,207,222,.08));
  color:var(--teal);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto .9rem;
  transition:background var(--t),transform var(--t);
}
.process-step:hover .step-icon {
  background:linear-gradient(135deg,var(--teal),var(--sky));
  color:var(--navy-deep);
  transform:scale(1.08);
}
.step-card h4 { font-family:var(--f-head); font-size:.94rem; font-weight:700; color:var(--navy); margin-bottom:.45rem; }
.step-card p  { font-family:var(--f-body); color:var(--muted); font-size:.83rem; line-height:1.62; margin-bottom:.9rem; }
.step-pill { display:inline-block; font-family:var(--f-head); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--teal); background:rgba(0,180,208,.1); padding:.24rem .75rem; border-radius:50px; border:1px solid rgba(0,180,208,.2); }
.step-pill-success { color:#15803d; background:rgba(21,128,61,.08); border-color:rgba(21,128,61,.2); }
.process-cta-row { display:flex; justify-content:center; gap:.9rem; margin-top:1.5rem; flex-wrap:wrap; }


/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about { padding:4rem 0; background:var(--bg); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:center; }
.about-visual { position:relative; }
.about-dot { position:absolute; top:-16px; left:-16px; width:80px; height:80px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--sky)); opacity:.14; z-index:0; }
.about-img-wrap { border-radius:var(--r-xl); overflow:hidden; aspect-ratio:4/5; position:relative; z-index:1; box-shadow:var(--sh-lg); }
.about-img-wrap img { width:100%; height:100%; object-fit:cover; }
.about-badge { position:absolute; bottom:-18px; right:-18px; background:var(--white); border-radius:var(--r-md); padding:.75rem 1rem; box-shadow:var(--sh-lg); display:flex; align-items:center; z-index:2; }
.about-badge a { display:block; }
.about-content { padding-right:.5rem; }
.about-desc { font-family:var(--f-body); color:var(--muted); font-size:.94rem; line-height:1.78; margin-bottom:.9rem; }
.about-points { list-style:none; display:flex; flex-direction:column; gap:.9rem; margin:1.5rem 0; }
.about-points li { display:flex; align-items:flex-start; gap:.85rem; font-family:var(--f-body); font-size:.91rem; color:var(--navy); line-height:1.62; }
.about-check { width:21px; height:21px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--sky)); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.about-check svg { width:11px; height:11px; color:var(--white); }
.about-cta { display:flex; gap:.75rem; flex-wrap:wrap; }


/* ══════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════ */
.why { padding:4rem 0; background:var(--white); }
.why-header { text-align:center; margin-bottom:2rem; }
.why-header .eyebrow { justify-content:center; }
.why-header .section-subtitle { margin:0 auto; text-align:center; }
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; align-items:stretch; }
.why-card { background:var(--bg); border:1px solid var(--border); border-radius:var(--r-lg); padding:1.6rem; position:relative; overflow:hidden; transition:transform var(--t),box-shadow var(--t),background var(--t); }
.why-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2.5px; background:linear-gradient(90deg,var(--teal),var(--sky)); transform:scaleX(0); transform-origin:left; transition:transform .35s ease; }
.why-card:hover { transform:translateY(-4px); box-shadow:var(--sh-md); background:var(--white); }
.why-card:hover::after { transform:scaleX(1); }
.why-icon { width:44px; height:44px; border-radius:var(--r-md); background:var(--ic); color:var(--cl); display:flex; align-items:center; justify-content:center; margin-bottom:.95rem; }
.why-card h4 { font-family:var(--f-head); font-size:.92rem; font-weight:700; color:var(--navy); margin-bottom:.45rem; }
.why-card p  { font-family:var(--f-body); color:var(--muted); font-size:.84rem; line-height:1.65; }


/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials { padding:3.5rem 0; background:var(--bg); }
.testimonials-header { text-align:center; margin-bottom:2rem; }
.testimonials-header .eyebrow { justify-content:center; }
.testimonials-header .section-subtitle { margin:0 auto; text-align:center; }
.t-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; align-items:start; }
.t-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:1.75rem; position:relative; transition:box-shadow var(--t),transform var(--t); }
.t-card:hover { box-shadow:var(--sh-md); transform:translateY(-4px); }
.t-card.t-featured { background:var(--navy); border-color:var(--navy); }
.t-card::before { content:'\201C'; font-family:var(--f-head); font-size:5rem; line-height:1; position:absolute; top:.1rem; left:1.3rem; color:var(--teal); opacity:.18; }
.t-stars { color:var(--amber); font-size:.88rem; margin-bottom:.9rem; }
.t-card p { font-family:var(--f-body); font-size:.9rem; color:#4a5568; line-height:1.72; margin-bottom:1.4rem; font-style:italic; }
.t-featured p { color:rgba(255,255,255,.72); }
.t-author { display:flex; align-items:center; gap:.75rem; }
.t-av { width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.t-author strong { display:block; font-family:var(--f-head); font-size:.85rem; font-weight:700; color:var(--navy); }
.t-author span   { font-family:var(--f-body); font-size:.74rem; color:var(--muted); }
.t-featured .t-author strong { color:var(--white); }
.t-featured .t-author span   { color:rgba(255,255,255,.48); }


/* ══════════════════════════════════════
   CTA BANNER — Dramatic swirl background
══════════════════════════════════════ */
.cta-banner {
  background:var(--navy-deep);
  padding:4.5rem 1.5rem; text-align:center; position:relative; overflow:hidden;
}
/* Deep multi-layer radial gradient base */
.cta-banner::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%,  rgba(0,180,208,.22)  0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 85% 20%,  rgba(212,0,106,.18)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%,  rgba(245,166,35,.14) 0%, transparent 65%),
    radial-gradient(ellipse 80% 80% at 50% 50%,  rgba(0,119,182,.35)  0%, transparent 80%),
    linear-gradient(135deg, #060e1e 0%, #0a1f40 40%, #0d2a5c 70%, #0a1f40 100%);
  pointer-events:none;
}
/* Animated conic swirl — Rileys logo palette */
.cta-banner::after {
  content:''; position:absolute; top:-30%; right:-5%; width:600px; height:600px;
  border-radius:50%;
  background:conic-gradient(from 200deg at 60% 45%,
    #D4006A 0deg, #F5A623 60deg, #F9D423 100deg,
    #00CFDE 160deg, #0077B6 210deg, transparent 260deg
  );
  opacity:.12; filter:blur(55px);
  animation:ctaSwirl 12s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes ctaSwirl {
  from { transform:scale(1) rotate(0deg); }
  to   { transform:scale(1.1) rotate(8deg); }
}
.cta-inner { max-width:680px; margin:0 auto; position:relative; z-index:1; }
.cta-eyebrow { justify-content:center; color:var(--teal) !important; }
.cta-banner h2 { font-family:var(--f-head); font-size:clamp(1.7rem,3vw,2.55rem); font-weight:800; color:var(--white); line-height:1.28; margin-bottom:.9rem; }
.cta-banner p { font-family:var(--f-body); color:rgba(255,255,255,.62); font-size:.97rem; line-height:1.75; margin-bottom:2rem; }
.cta-banner p strong { color:rgba(255,255,255,.9); }
.cta-actions { display:flex; justify-content:center; gap:.85rem; flex-wrap:wrap; margin-bottom:1.25rem; }
.cta-small { font-family:var(--f-body); font-size:.75rem; color:rgba(255,255,255,.3); }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background:var(--navy-deep); padding:3.5rem 0 0; }
.footer-inner { max-width:1240px; margin:0 auto; padding:0 1.5rem; }
.footer-top { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.07); }
.footer-brand { display:flex; flex-direction:column; gap:.9rem; }
.footer-logo-link { display:inline-block; }
.footer-logo { height:42px; width:auto; display:block; }
.footer-brand p { font-family:var(--f-body); font-size:.84rem; color:rgba(255,255,255,.44); line-height:1.72; }
.footer-phone { display:inline-flex; align-items:center; gap:6px; color:var(--teal); font-family:var(--f-head); font-weight:600; font-size:.97rem; transition:opacity var(--t); }
.footer-phone:hover { opacity:.8; }
.footer-sra { margin-top:.2rem; }
.footer-col h5 { font-family:var(--f-head); color:var(--white); font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.5rem; }
.footer-col ul li a { font-family:var(--f-body); color:rgba(255,255,255,.42); font-size:.84rem; transition:color var(--t); }
.footer-col ul li a:hover { color:var(--teal); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding:1.5rem 0; flex-wrap:wrap; gap:.75rem; }
.footer-bottom p { font-family:var(--f-body); font-size:.76rem; color:rgba(255,255,255,.3); }
.footer-links { display:flex; gap:1rem; flex-wrap:wrap; }
.footer-links a { font-family:var(--f-body); color:rgba(255,255,255,.3); font-size:.76rem; transition:color var(--t); }
.footer-links a:hover { color:var(--teal); }


/* ══════════════════════════════════════
   RESPONSIVE — Tablet ≤1024px
══════════════════════════════════════ */
@media(max-width:1024px){
  .hero-inner { grid-template-columns:1fr 1fr; padding:6rem 1.5rem 3rem; gap:2rem; }
  .hero h1    { font-size:clamp(2rem,4.5vw,2.8rem); }
  .hero-card  { padding:1.75rem 1.5rem; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .stats-inner { flex-wrap:wrap; }
  .stat-div:nth-child(4) { display:none; }
  .process-steps { grid-template-columns:repeat(2,1fr); }
  .process-line  { display:none; }
  .about-grid    { grid-template-columns:1fr; gap:2.5rem; }
  .about-visual  { max-width:460px; margin:0 auto; }
  .about-content { padding-right:0; }
  .why-grid   { grid-template-columns:repeat(2,1fr); }
  .t-grid     { grid-template-columns:1fr; max-width:100%; }
  .footer-top { grid-template-columns:1fr 1fr; gap:2rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Mobile ≤768px
══════════════════════════════════════ */
@media(max-width:768px){
  section { padding:2.75rem 0 !important; }
  .section-inner { padding:0 1rem; }

  .nav-links { display:none; position:fixed; top:68px; left:0; right:0; background:var(--navy-deep); flex-direction:column; align-items:stretch; padding:.85rem; gap:.15rem; border-bottom:1px solid rgba(255,255,255,.1); box-shadow:var(--sh-lg); max-height:calc(100vh - 68px); overflow-y:auto; }
  .nav-links.open { display:flex; }
  .nav-links>li>a { padding:.7rem .9rem; font-size:.9rem; }
  .dropdown-menu { position:static; box-shadow:none; background:rgba(255,255,255,.04); border:none; border-radius:var(--r-sm); padding:.25rem .4rem; margin-top:.2rem; display:none; }
  .dropdown.open .dropdown-menu { display:block; }
  .hamburger { display:flex; }

  .hero-inner  { grid-template-columns:1fr; padding:5.5rem 1rem 2.5rem; gap:1.75rem; }
  .hero-card   { display:block !important; width:100%; max-width:100%; margin-top:0; padding:1.5rem 1.25rem; }
  .form-row    { grid-template-columns:1fr 1fr; gap:.6rem; }
  .hero h1     { font-size:clamp(1.75rem,6.5vw,2.4rem); }

  
  .form-row    { grid-template-columns:1fr; }

  .trust-bar-inner { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; padding:.55rem 1rem; }
  .trust-sep  { flex-shrink:0; }
  .trust-item { flex-shrink:0; font-size:.75rem; padding:.28rem .85rem; }

  .services { padding:2.75rem 0 !important; }
  .services-grid { grid-template-columns:1fr; gap:1rem; }
  .section-header { margin-bottom:2rem; }

  .stats-inner { flex-direction:column; }

  .process { padding:2.75rem 0 !important; }
  .process-steps { grid-template-columns:1fr; gap:1.25rem; }
  .process-cta-row { flex-direction:column; align-items:stretch; }
  .process-cta-row .btn { justify-content:center; }

  .about-badge  { bottom:10px; right:10px; }
  .about-img-wrap { aspect-ratio:3/2; }

  .why-grid { grid-template-columns:1fr; }

  .cta-actions { flex-direction:column; align-items:stretch; }
  .cta-actions .btn { justify-content:center; }

  .footer-top    { grid-template-columns:1fr; gap:1.75rem; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Small Mobile ≤480px
══════════════════════════════════════ */
@media(max-width:480px){
  .hero h1       { font-size:1.75rem; }
  .section-title { font-size:1.6rem; }
  
  
  .t-grid        { max-width:100%; }
  .nav-logo-img  { height:36px; }
  .footer-logo   { height:34px; }
}

/* ══════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════ */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  [data-reveal] { opacity:1; transform:none; }
  .cta-banner::after { animation:none; }
  .form-row      { grid-template-columns:1fr; }
  .hero-card     { padding:1.25rem 1rem; }
}

/* SRA about-badge styles moved to sra-about-badge above */

/* ══════════════════════════════════════
   RESPONSIVE — Very small ≤360px
══════════════════════════════════════ */
@media(max-width:360px){
  .hero h1          { font-size:1.6rem; }
  .section-title    { font-size:1.45rem; }
  
  
  .nav-logo-img     { height:32px; }
  .btn-lg           { padding:.78rem 1.5rem; font-size:.88rem; }
  .stat-num         { font-size:2.2rem; }
  .trust-item       { font-size:.72rem; padding:.25rem .7rem; }
  .sc-img           { height:160px; }
  .step-card        { padding:1.2rem 1rem; }
  .t-card           { padding:1.4rem; }
  .footer-bottom    { gap:.5rem; }
  .footer-links     { gap:.8rem; }
}
/* ══ Keyboard focus accessibility ══ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline:2.5px solid var(--teal);
  outline-offset:3px;
}
.btn:focus-visible { outline:2.5px solid var(--teal); outline-offset:3px; }

/* ── LinkedIn nav link ── */
.nav-linkedin {
  display:flex !important; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50% !important;
  background:rgba(0,119,181,.2) !important;
  color:rgba(255,255,255,.8) !important;
  padding:0 !important;
  transition:background var(--t),color var(--t) !important;
}
.nav-linkedin:hover { background:rgba(0,119,181,.6) !important; color:var(--white) !important; }

/* ── LinkedIn footer ── */
.footer-social { margin-bottom:.25rem; }
.footer-linkedin {
  display:inline-flex; align-items:center; gap:6px;
  color:rgba(255,255,255,.55); font-family:var(--f-body); font-size:.84rem;
  transition:color var(--t);
}
.footer-linkedin:hover { color:#0a66c2; }

/* ── Mobile sticky call FAB ── */
.mob-call-fab {
  display: none; /* hidden by default — shown only on mobile via media query */
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  box-shadow: 0 4px 18px rgba(0,180,208,.45);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.mob-call-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,180,208,.55);
}
.mob-call-fab svg { flex-shrink: 0; }
@media(max-width:768px) {
  .mob-call-fab { display: flex; }
}

/* ── Footer column links with icons ── */
.footer-col li a {
  display:flex;
  align-items:center;
  gap:.5rem;
  color:rgba(255,255,255,.52);
  font-size:.875rem;
  line-height:1.5;
  transition:color var(--t), gap var(--t);
  padding:.12rem 0;
}
.footer-col li a:hover { color:var(--teal); gap:.65rem; }
.footer-col li a svg { flex-shrink:0; transition:color var(--t); }
.footer-col li a:hover svg { color:var(--teal); opacity:1; }
