/* ============================================================
   The BrainTree — design system (pilot: homepage only)
   Scoped to body.rd so every other page keeps its layout
   until the redesign is rolled out page by page.
   ============================================================ */

body.rd {
  --ink: #0a1626;
  --ink-2: #112741;
  --brand: #0056b3;
  --brand-2: #0a7cff;
  --accent: #ffb703;
  --paper: #ffffff;
  --mist: #f3f7fd;
  --line: #e3ecf8;
  --copy: #4d5f76;
  --radius: 26px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 38, .05), 0 14px 32px -20px rgba(10, 22, 38, .35);
  --shadow-lg: 0 40px 80px -45px rgba(10, 22, 38, .55);

  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--copy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.rd h1,
body.rd h2,
body.rd h3,
body.rd h4,
body.rd h5,
body.rd .rd-h {
  font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -.02em;
}

body.rd ::selection {
  background: rgba(10, 124, 255, .18);
}

body.rd a {
  text-decoration: none;
}

/* ------------------------------------------------------------
   Shell
   ------------------------------------------------------------ */
.rd-shell {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 22px;
}

.rd-sec {
  padding: clamp(64px, 7vw, 104px) 0;
  position: relative;
}

.rd-sec--mist {
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(10, 124, 255, .07), transparent 65%),
    radial-gradient(700px 340px at 92% 100%, rgba(255, 183, 3, .09), transparent 60%),
    var(--mist);
}

.rd-sec__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(34px, 4vw, 56px);
}

.rd-h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 14px;
}

.rd-h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

.rd-rule {
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  margin: 0 auto;
}

.rd-rule--left {
  margin: 0 0 18px;
  width: 48px;
  height: 4px;
}

.rd-lead {
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.75;
  color: var(--copy);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.rd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}

.rd-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #0a7cff, #0056b3);
  box-shadow: 0 18px 34px -16px rgba(5, 92, 196, .85);
}

.rd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px -16px rgba(5, 92, 196, .9);
}

.rd-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.rd-btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

.rd-btn--solid {
  color: #fff;
  background: var(--ink);
}

.rd-btn--solid:hover {
  background: #06101f;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   Header + top bar (only on the redesigned pages)
   ------------------------------------------------------------ */
body.rd #top-bar {
  background: linear-gradient(90deg, #071120, #0f2745 60%, #0a1626);
  color: #c8d7ea;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .82rem;
  letter-spacing: .01em;
}

body.rd #top-bar .text-gray-600,
body.rd #top-bar .text-gray-500 {
  color: #c8d7ea;
}

body.rd #top-bar i {
  color: #6cb8ff;
}

body.rd #top-bar a:hover i,
body.rd #top-bar a:hover {
  color: #fff;
}

body.rd #header {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(10, 22, 38, .07);
  box-shadow: 0 10px 30px -24px rgba(10, 22, 38, .55);
}

body.rd #header nav {
  padding: 14px 0;
}

body.rd #header .logo img {
  height: 58px;
  width: auto;
}

body.rd #header nav > .hidden.lg\:flex > a:not(.btn-primary),
body.rd #header nav .group > a {
  position: relative;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: #33465c;
  padding: 10px 2px;
  transition: color .2s ease;
}

body.rd #header nav > .hidden.lg\:flex > a:not(.btn-primary)::after,
body.rd #header nav .group > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

body.rd #header nav > .hidden.lg\:flex > a:not(.btn-primary):hover,
body.rd #header nav .group > a:hover {
  color: var(--brand);
}

body.rd #header nav > .hidden.lg\:flex > a:not(.btn-primary):hover::after,
body.rd #header nav .group > a:hover::after {
  transform: scaleX(1);
}

body.rd #header .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0a7cff, #0056b3);
  border-radius: 999px;
  padding: 13px 26px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 14px 26px -14px rgba(5, 92, 196, .9);
  transition: transform .25s ease, box-shadow .25s ease;
}

body.rd #header .btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0a7cff, #0056b3);
  box-shadow: 0 20px 34px -14px rgba(5, 92, 196, .95);
}

body.rd #header .rd-menu {
  border-radius: 18px;
  padding: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(10, 22, 38, .55);
}

body.rd #header .rd-menu a {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: #41546c;
  transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}

body.rd #header .rd-menu a:hover {
  background: var(--mist);
  color: var(--brand);
  padding-left: 18px;
}

body.rd #mobile-menu {
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

body.rd #mobile-menu a {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.rd-hero {
  position: relative;
  overflow: hidden;
  background: #081222;
  color: #fff;
  min-height: min(84vh, 720px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 8vw, 110px) 0;
}

.rd-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 72% center;
  filter: brightness(1.35) contrast(1.05);
  transform: scale(1.03);
}

.rd-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(5, 14, 27, .97) 0%, rgba(5, 14, 27, .9) 32%, rgba(5, 14, 27, .62) 55%, rgba(5, 14, 27, .12) 100%),
    linear-gradient(180deg, rgba(5, 14, 27, .45), transparent 40%, rgba(5, 14, 27, .3));
}

.rd-hero__veil::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -40%;
  width: 62%;
  height: 95%;
  background: radial-gradient(circle at 50% 50%, rgba(10, 124, 255, .4), transparent 66%);
  filter: blur(18px);
}

.rd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 52%);
  mask-image: linear-gradient(100deg, #000 0%, transparent 52%);
  pointer-events: none;
}

.rd-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.rd-hero .rd-hero__title {
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #fff;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0 0 22px;
  animation: rdRise .8s ease both;
}

.rd-hero__accent {
  color: #8cc8ff;
  position: relative;
  display: inline-block;
  padding-bottom: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8.5C45 2.5 104 1.5 197 4.5' stroke='%23ffb703' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat bottom / 100% .22em;
}

.rd-hero .rd-hero__lead {
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .84);
  max-width: 46ch;
  margin: 0 0 36px;
  animation: rdRise .8s ease .1s both;
}

.rd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rdRise .8s ease .2s both;
}

@keyframes rdRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------
   About + quick connect form
   ------------------------------------------------------------ */
.rd-about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.rd-about__intro h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.01em;
  margin: 0 0 16px;
}

.rd-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.rd-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rd-feat:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 124, 255, .35);
  box-shadow: 0 24px 44px -30px rgba(10, 22, 38, .6);
}

.rd-feat__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, #e9f4ff, #f5f9ff);
  border: 1px solid #dce9fb;
  color: var(--brand);
  font-size: 1rem;
}

.rd-feat h4 {
  font-size: .96rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.rd-formcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.rd-formcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--accent));
}

.rd-formcard::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 124, 255, .14), transparent 70%);
  pointer-events: none;
}

.rd-formcard h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 6px 0 22px;
  position: relative;
  z-index: 1;
}

.rd-field {
  margin-bottom: 14px;
}

.rd-field label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #65788d;
  margin-bottom: 7px;
}

.rd-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #e2ebf7;
  background: #f7fafe;
  color: var(--ink);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.rd-input::placeholder {
  color: #97a6b8;
}

.rd-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(10, 124, 255, .12);
}

.rd-formcard button[type="submit"] {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #0a7cff, #0056b3);
  box-shadow: 0 18px 30px -18px rgba(5, 92, 196, .95);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}

.rd-formcard button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 38px -18px rgba(5, 92, 196, .95);
}

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */
.rd-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rd-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.rd-svc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.rd-svc:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 124, 255, .28);
  box-shadow: 0 36px 60px -40px rgba(10, 22, 38, .7);
}

.rd-svc:hover::before {
  transform: scaleX(1);
}

.rd-svc__num {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--brand-2);
  opacity: .65;
}

.rd-svc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.rd-svc p {
  font-size: .93rem;
  line-height: 1.68;
  color: var(--copy);
  margin: 0;
}

.rd-center {
  text-align: center;
  margin-top: 44px;
}

/* ------------------------------------------------------------
   Who can we help
   ------------------------------------------------------------ */
.rd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.rd-media {
  position: relative;
  isolation: isolate;
}

.rd-media::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 68%;
  height: 70%;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(10, 124, 255, .16), rgba(255, 183, 3, .22));
  z-index: -1;
}

.rd-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.rd-media__dot {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 96px;
  height: 96px;
  background-image: radial-gradient(var(--brand-2) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: .35;
  z-index: -1;
}

.rd-copy-note {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

/* ------------------------------------------------------------
   Milestones accordion
   ------------------------------------------------------------ */
.rd-acc-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rd-acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.rd-acc.is-open {
  border-color: rgba(10, 124, 255, .32);
  box-shadow: 0 28px 50px -38px rgba(10, 22, 38, .7);
}

.rd-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background: #fff;
  transition: background-color .2s ease;
}

.rd-acc__head:hover {
  background: #f9fbfe;
}

.rd-acc__head h2 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.rd-acc__head .fa-chevron-down {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--brand);
  font-size: .74rem;
  transition: transform .3s ease, background-color .25s ease, color .25s ease;
}

.rd-acc.is-open .rd-acc__head .fa-chevron-down {
  background: var(--brand);
  color: #fff;
}

.rd-acc__body>div {
  padding: 4px 24px 24px;
  border-top: 1px solid #eef3fa;
}

.rd-acc__body ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rd-acc__body li {
  position: relative;
  padding-left: 22px;
  font-size: .94rem;
  line-height: 1.6;
  color: var(--copy);
}

.rd-acc__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
}

/* ------------------------------------------------------------
   CTA / newsletter
   ------------------------------------------------------------ */
.rd-cta {
  padding: clamp(52px, 6vw, 80px) 0 clamp(64px, 7vw, 96px);
  background: var(--paper);
}

.rd-cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(30px, 4vw, 54px);
  background: linear-gradient(118deg, #08203f 0%, #0056b3 58%, #0a7cff 100%);
  box-shadow: 0 50px 90px -55px rgba(5, 40, 90, .9);
  color: #fff;
}

.rd-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .35;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 62%);
  mask-image: linear-gradient(120deg, #000, transparent 62%);
}

.rd-cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

body.rd .rd-cta h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.rd-cta__phone {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700;
  color: #bfe0ff;
  margin: 0;
}

body.rd .rd-cta h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}

.rd-cta__sub {
  color: rgba(255, 255, 255, .78);
  margin: 0 0 16px;
  font-size: .94rem;
}

.rd-cta__form form {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.rd-cta__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  padding: 0 16px;
  font-size: .93rem;
  color: var(--ink);
}

.rd-cta__form input[type="email"]:focus {
  outline: 2px solid rgba(255, 255, 255, .7);
  outline-offset: 2px;
}

.rd-cta__form button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  background: #06101f;
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.rd-cta__form button:hover {
  background: #000;
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
body.rd #footer {
  background:
    radial-gradient(700px 300px at 8% 0%, rgba(10, 124, 255, .18), transparent 65%),
    radial-gradient(600px 300px at 92% 10%, rgba(255, 183, 3, .1), transparent 65%),
    #06101f;
  color: #9fb2c9;
}

body.rd #footer .container {
  max-width: 1180px;
}

body.rd #footer h3,
body.rd #footer h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: #fff;
}

body.rd #footer .bg-gray-800\/60 {
  background: rgba(255, 255, 255, .045);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: background-color .25s ease, transform .25s ease;
}

body.rd #footer .bg-gray-800\/60:hover {
  background: rgba(255, 255, 255, .075);
  transform: translateY(-3px);
}

body.rd #footer a {
  transition: color .2s ease;
}

body.rd #footer .fa-map-marker-alt {
  color: #8cc8ff;
}

body.rd #back-to-top {
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0a7cff, #0056b3);
  box-shadow: 0 16px 28px -14px rgba(5, 92, 196, .9);
}

body.rd #back-to-top:hover {
  background: linear-gradient(135deg, #0a7cff, #0056b3);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .rd-about__grid {
    grid-template-columns: 1fr;
  }

  .rd-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-cta__grid {
    grid-template-columns: 1fr;
  }

  .rd-hero {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .rd-split {
    grid-template-columns: 1fr;
  }

  .rd-media {
    order: -1;
  }

  body.rd #header .logo img {
    height: 48px;
  }
}

@media (max-width: 640px) {
  .rd-feats {
    grid-template-columns: 1fr;
  }

  .rd-svc-grid {
    grid-template-columns: 1fr;
  }

  .rd-btn {
    width: 100%;
    height: 52px;
    padding: 0 24px;
  }

  .rd-hero__title {
    max-width: none;
  }

  .rd-cta__form form {
    flex-direction: column;
  }

  .rd-cta__form button {
    width: 100%;
  }

  body.rd #footer .bg-gray-800\/60 {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body.rd *,
  body.rd *::before,
  body.rd *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
