/* =========================================================
   ROCKLAND COUNTY MEDIA
   Homepage styles
   ========================================================= */

:root {
  --ink: #07111f;
  --navy: #0a1526;
  --navy-2: #0e1b31;
  --blue: #2f75ff;
  --blue-bright: #4b8cff;
  --ice: #eef4ff;
  --paper: #f6f7f9;
  --white: #ffffff;
  --muted: #667085;
  --muted-light: #9eabc0;
  --line: #e4e7ec;
  --dark-line: rgba(255,255,255,.10);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 80px rgba(7,17,31,.13);
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 44px), var(--container));
  margin-inline: auto;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 70% 0%, rgba(47,117,255,.12), transparent 30%),
    var(--ink);
}

h1,
h2,
h3,
.brand-copy strong {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -.04em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.15rem, 4.9vw, 5.35rem);
  line-height: .94;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: .98;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.05;
  margin-bottom: 14px;
}

p {
  color: var(--muted);
}

.section-dark p {
  color: var(--muted-light);
}


/* HEADER */

.site-header {
  position: absolute;
  z-index: 50;
  width: 100%;
  top: 0;
  left: 0;
  color: var(--white);
}

.nav-shell {
  width: min(calc(100% - 44px), 1320px);
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

#rcm-site .brand-logo {
  width: 255px;
  height: auto;
  display: block;
  flex: 0 0 auto;
  image-rendering: auto;
}

#rcm-site footer .brand-logo {
  width: 255px;
}

.brand-mark {
  width: 42px;
  color: rgba(255,255,255,.2);
}

.brand-copy {
  display: grid;
  line-height: 1;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -.025em;
}

.brand-copy span {
  color: var(--blue-bright);
  font-weight: 800;
  font-size: .64rem;
  letter-spacing: .22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.desktop-nav a {
  color: #c2ccda;
  font-size: .9rem;
  font-weight: 600;
  transition: .2s ease;
}

.desktop-nav a:hover {
  color: #fff;
}


/* BUTTONS + MICRO UI */

.btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: .94rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: .85rem;
}

.btn-large {
  min-height: 62px;
  padding-inline: 28px;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(47,117,255,.28);
}

.btn-primary:hover {
  background: var(--blue-bright);
}

.btn-dark {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.light-link {
  color: #d6deea;
}

.eyebrow {
  margin-bottom: 22px;
  color: #4b607c;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow.light {
  color: #9aabc0;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(47,117,255,.11);
}

.eyebrow.centered {
  justify-content: center;
}


/* HERO */

.hero {
  min-height: 760px;
  padding: 138px 0 68px;
  overflow: hidden;
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  width: 700px;
  height: 700px;
  right: -340px;
  top: 40px;
  background: radial-gradient(circle, rgba(47,117,255,.18), transparent 67%);
}

.hero-glow-two {
  width: 480px;
  height: 480px;
  left: -260px;
  top: 340px;
  background: radial-gradient(circle, rgba(35,87,194,.12), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

#rcm-site .hero-copy h1 {
  max-width: 820px;
  color: #f8fbff !important;
  text-wrap: balance;
}

#rcm-site .hero-copy h1 span {
  color: #7fa8ff !important;
}

.hero-lede {
  max-width: 650px;
  font-size: 1.17rem;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-points {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #aab6c7;
  font-size: .85rem;
  font-weight: 600;
}

.hero-points span {
  color: #75a0ff;
  margin-right: 6px;
}

.hero-visual {
  position: relative;
  min-height: 440px;
}

.browser-card {
  position: absolute;
  right: -70px;
  top: 10px;
  width: 585px;
  height: 395px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 40px 100px rgba(0,0,0,.38);
  overflow: hidden;
  transform: rotate(2deg);
}

.browser-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 17px;
  background: #edf0f5;
  border-bottom: 1px solid #dde1e8;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  background: #c4cad5;
  border-radius: 50%;
}

.browser-address {
  width: 260px;
  height: 25px;
  border-radius: 7px;
  background: #fff;
  color: #7d8797;
  display: grid;
  place-items: center;
  font-size: 9px;
  letter-spacing: .02em;
}

.browser-body {
  color: var(--ink);
  background: linear-gradient(135deg, #f8faff, #edf3ff);
  height: calc(100% - 52px);
  padding: 22px 26px;
}

.browser-body-screenshot {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.hero-browser-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.hero-browser-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #667085;
  background: #f7f9fc;
  font: 700 1.2rem/1.2 "Space Grotesk", sans-serif;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-logo {
  font: 800 11px/1 "Space Grotesk", sans-serif;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
  padding: 9px 10px;
}

.mock-lines {
  display: flex;
  gap: 14px;
}

.mock-lines span {
  width: 32px;
  height: 4px;
  border-radius: 5px;
  background: #c8d0de;
}

.mock-hero {
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 30px;
  padding-top: 45px;
}

.mock-kicker {
  width: 72px;
  height: 6px;
  background: var(--blue);
  border-radius: 20px;
  margin-bottom: 19px;
}

.mock-heading {
  width: 75%;
  height: 18px;
  border-radius: 4px;
  background: #18253a;
  margin-bottom: 9px;
}

.mock-heading.wide {
  width: 96%;
}

.mock-text {
  width: 88%;
  height: 6px;
  border-radius: 5px;
  background: #9cabbe;
  margin-top: 18px;
}

.mock-text.short {
  width: 62%;
  margin-top: 7px;
}

.mock-button {
  width: 90px;
  height: 28px;
  border-radius: 99px;
  background: var(--blue);
  margin-top: 24px;
}

.mock-art {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}

.mock-art::before {
  content: "";
  width: 76%;
  aspect-ratio: 1;
  position: absolute;
  border-radius: 26%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), transparent 18%),
    linear-gradient(145deg, #2f75ff, #173b7a);
  transform: rotate(11deg);
  box-shadow: 0 24px 50px rgba(47,117,255,.28);
}

.mock-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  z-index: 2;
}

.orbit-one {
  width: 58%;
  height: 58%;
}

.orbit-two {
  width: 40%;
  height: 40%;
}

.mock-center {
  position: relative;
  z-index: 3;
  color: #fff;
  font: 500 30px/1 "Space Grotesk", sans-serif;
}

.floating-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(16,31,52,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.rank-card {
  left: 0;
  bottom: 28px;
  width: 210px;
  padding: 22px;
  border-radius: 20px;
}

.float-label {
  display: block;
  margin-bottom: 11px;
  color: #7f91aa;
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 800;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.rank-row strong {
  font: 700 2.3rem/1 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
}

.rank-row span {
  color: #7aa3ff;
  font-size: 1.6rem;
}

.rank-card small,
.lead-card small {
  color: #8797aa;
}

.lead-card {
  right: -24px;
  bottom: 66px;
  border-radius: 18px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-card strong,
.lead-card small {
  display: block;
}

.lead-card strong {
  font-size: .84rem;
}

.lead-card small {
  margin-top: 3px;
  font-size: .7rem;
}

.lead-icon {
  width: 37px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue);
  font-weight: 900;
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: 90px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 38px;
}

.proof-label {
  flex: 0 0 auto;
  color: #687a92;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.proof-names {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #78889d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
}


/* INTRO */

.intro-section {
  padding: 130px 0;
  background: #fff;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 100px;
  align-items: start;
}

.split-heading h2 {
  max-width: 760px;
}

.intro-copy {
  padding-top: 46px;
}

.intro-copy p {
  font-size: 1.03rem;
  line-height: 1.75;
}

.intro-copy p + p {
  margin-top: 24px;
}


/* SERVICES */

.services-section {
  padding: 105px 0 125px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 60px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading-row h2 {
  max-width: 800px;
}

.section-heading-row > p {
  margin-bottom: 8px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 500px;
  border-radius: var(--radius-md);
  border: 1px solid #dfe3e9;
  background: #fff;
  color: var(--ink);
  padding: 30px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

.service-card.featured {
  background: #fff;
  color: var(--ink);
  border-color: #dfe3e9;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  background:
    radial-gradient(circle at 100% 0%, rgba(47,117,255,.16), transparent 35%),
    var(--navy);
  color: #fff;
  box-shadow: 0 26px 70px rgba(7,17,31,.20);
}

#rcm-site .service-card h3 {
  color: var(--ink) !important;
  transition: color .25s ease;
}

.service-card p,
.service-card li {
  color: #536174;
  transition: color .25s ease;
}

.service-card:hover .service-number {
  color: #91a5c3;
}

#rcm-site .service-card:hover h3 {
  color: #fff !important;
}

.service-card:hover p,
.service-card:hover li {
  color: #b6c3d5;
}

.service-card:hover ul {
  border-color: rgba(255,255,255,.12);
}

.service-card:hover .service-icon {
  background: rgba(47,117,255,.20);
}

.service-card:hover .search-icon {
  border-color: rgba(255,255,255,.60);
}

.service-card:hover .growth-icon span {
  background: #7185a2;
}

.service-card:hover .growth-icon span:nth-child(3) {
  background: #6e9cff;
}

.service-number {
  color: #9aa6b7;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.service-card h3 {
  margin-top: 78px;
  font-size: 2rem;
}

.service-card p {
  min-height: 105px;
  line-height: 1.7;
}

.service-card ul {
  list-style: none;
  padding: 21px 0 0;
  margin: 0;
  border-top: 1px solid #e7e9ed;
}

.service-card li {
  padding: 7px 0;
  font-size: .88rem;
  font-weight: 600;
}

.service-card li::before {
  content: "•";
  color: var(--blue);
  margin-right: 9px;
}

.service-icon,
.search-icon,
.growth-icon {
  width: 64px;
  height: 64px;
  position: absolute;
  right: 28px;
  top: 28px;
}

.service-icon {
  border-radius: 18px;
  background: rgba(47,117,255,.13);
  display: grid;
  place-content: center;
  gap: 5px;
}

.service-icon span {
  width: 28px;
  height: 4px;
  border-radius: 5px;
  background: #6b9bff;
}

.service-icon span:nth-child(2) {
  width: 21px;
}

.search-icon {
  border: 4px solid #b7c5dc;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  top: 35px;
  right: 40px;
}

.search-icon::after {
  content: "";
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--blue);
  position: absolute;
  right: -17px;
  bottom: -8px;
  transform: rotate(45deg);
}

.growth-icon {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  justify-content: center;
  padding: 13px;
}

.growth-icon span {
  width: 8px;
  border-radius: 5px 5px 0 0;
  background: #c6d2e4;
}

.growth-icon span:nth-child(1) { height: 17px; }
.growth-icon span:nth-child(2) { height: 29px; }
.growth-icon span:nth-child(3) { height: 43px; background: var(--blue); }


/* WORK */

.work-section {
  padding: 115px 0 125px;
}

.work-section > .container {
  width: min(calc(100% - 44px), 1320px);
}

.light-heading h2 {
  color: #fff !important;
}

.light-heading > p {
  color: #8c9bb0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  min-width: 0;
  border-radius: var(--radius-md);
  background: #101d30;
  border: 1px solid rgba(255,255,255,.09);
  padding: 16px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110,155,255,.4);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.project-top {
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #8191a8;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-art {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.project-screenshot-wrap {
  aspect-ratio: 16 / 9;
  background: #091421;
  border: 1px solid rgba(255,255,255,.07);
}

.project-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s ease;
}

.project-card:hover .project-screenshot {
  transform: scale(1.018);
}

.project-image-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,17,31,0) 68%, rgba(7,17,31,.14) 100%);
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 7px;
  background:
    radial-gradient(circle at 70% 30%, rgba(47,117,255,.25), transparent 26%),
    #0c1a2d;
}

.project-image-placeholder span {
  color: #fff;
  font: 700 3rem/1 "Space Grotesk", sans-serif;
  letter-spacing: -.06em;
}

.project-image-placeholder small {
  color: #7f91aa;
}

.project-info {
  padding: 19px 4px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.project-info h3 {
  color: #fff !important;
  margin-bottom: 7px;
  font-size: 1.22rem;
}

.project-info p {
  margin: 0;
  color: #72839a;
  font-size: .8rem;
}

.round-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
}


/* CASE STUDY */

.case-study-section {
  padding: 145px 0;
  background: #fff;
}

.case-study {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.case-copy blockquote {
  margin: 34px 0 24px;
  padding-left: 23px;
  border-left: 3px solid var(--blue);
  color: #415065;
  font: 500 1.02rem/1.75 "Inter", sans-serif;
}

.quote-source {
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: .73rem;
}

.quote-source strong,
.quote-source span {
  display: block;
}

.quote-source strong {
  font-size: .86rem;
}

.quote-source span {
  color: #8a96a7;
  font-size: .73rem;
}

.results-panel {
  border-radius: 24px;
  background: #f4f7fb;
  border: 1px solid #e0e6ee;
  box-shadow: var(--shadow);
  padding: 28px;
}

.result-head,
.result-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-head {
  color: #667389;
  font-size: .76rem;
  font-weight: 800;
}

.status-pill {
  padding: 7px 10px;
  border-radius: 99px;
  background: #e8f0ff;
  color: var(--blue);
  font-size: .65rem;
}

.chart-wrap {
  height: 250px;
  margin: 28px 0 22px;
  position: relative;
  background:
    linear-gradient(to right, rgba(118,135,157,.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(118,135,157,.11) 1px, transparent 1px);
  background-size: 20% 25%;
  border-radius: 12px;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  inset: 20px 0 0;
}

.chart-line svg {
  width: 100%;
  height: 100%;
}

.result-bottom {
  padding-top: 20px;
  border-top: 1px solid #dde3eb;
}

.result-bottom div:not(.result-arrow) {
  display: grid;
  gap: 4px;
}

.result-bottom span {
  color: #8a96a7;
  font-size: .7rem;
}

.result-bottom strong {
  font: 700 1.35rem/1 "Space Grotesk", sans-serif;
}

.result-arrow {
  color: var(--blue);
  font-size: 1.4rem;
}


/* PROCESS */

.process-section {
  padding: 130px 0 150px;
}

.center-heading {
  max-width: 850px;
  margin: 0 auto 66px;
  text-align: center;
}

.center-heading p {
  max-width: 620px;
  margin-inline: auto;
  font-size: 1rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d9dee6;
}

.process-grid article {
  padding: 34px 28px 0 0;
  min-height: 240px;
}

.process-grid article + article {
  border-left: 1px solid #d9dee6;
  padding-left: 28px;
}

.step-number {
  display: inline-block;
  margin-bottom: 55px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.process-grid h3 {
  font-size: 1.45rem;
}

.process-grid p {
  font-size: .88rem;
  line-height: 1.7;
}


/* CTA */

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
}

.cta-glow {
  width: 800px;
  height: 800px;
  position: absolute;
  right: -250px;
  top: -330px;
  background: radial-gradient(circle, rgba(47,117,255,.25), transparent 66%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 90px;
  align-items: end;
}

.cta-inner h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.cta-side p {
  line-height: 1.7;
  margin-bottom: 26px;
}


/* v1.4 built-in lead form */
#rcm-site .rcm-contact-layout {
  grid-template-columns: minmax(0, .9fr) minmax(440px, .72fr);
  align-items: center;
}

#rcm-site .rcm-contact-copy > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #98a7bb;
  font-size: 1rem;
  line-height: 1.75;
}

#rcm-site .rcm-contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
}

#rcm-site .rcm-contact-direct a {
  color: #d7e1ef;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

#rcm-site .rcm-contact-direct a:hover {
  color: #ffffff;
}

#rcm-site .rcm-form-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

#rcm-site .rcm-lead-form {
  margin: 0;
}

#rcm-site .rcm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#rcm-site .rcm-form-field-full {
  grid-column: 1 / -1;
}

#rcm-site .rcm-form-field label {
  display: block;
  margin: 0 0 7px;
  color: #344054;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
}

#rcm-site .rcm-form-field input,
#rcm-site .rcm-form-field textarea {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 13px 14px !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 11px !important;
  outline: 0 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  color: #07111f !important;
  font: 500 .91rem/1.45 "Inter", Arial, sans-serif !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}

#rcm-site .rcm-form-field input {
  min-height: 50px;
}

#rcm-site .rcm-form-field textarea {
  min-height: 126px;
  resize: vertical;
}

#rcm-site .rcm-form-field input::placeholder,
#rcm-site .rcm-form-field textarea::placeholder {
  color: #98a2b3 !important;
  opacity: 1;
}

#rcm-site .rcm-form-field input:focus,
#rcm-site .rcm-form-field textarea:focus {
  border-color: #2f75ff !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(47,117,255,.11) !important;
}

#rcm-site .rcm-submit-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#rcm-site .rcm-form-fineprint {
  margin: 12px 0 0;
  color: #8b96a7;
  text-align: center;
  font-size: .68rem;
  line-height: 1.5;
}

#rcm-site .rcm-form-notice {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 11px;
  font-size: .82rem;
  line-height: 1.5;
}

#rcm-site .rcm-form-notice.success {
  border: 1px solid #b9dfc8;
  background: #eefaf2;
  color: #176438;
}

#rcm-site .rcm-form-notice.error {
  border: 1px solid #efc0c0;
  background: #fff3f3;
  color: #9d2f2f;
}

#rcm-site .rcm-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* FOOTER */

footer {
  background: #050c16;
  color: #fff;
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand p {
  max-width: 440px;
  margin: 22px 0 0;
  color: #7f8da1;
  line-height: 1.7;
  font-size: .88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links span {
  color: #526177;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-links a {
  color: #bbc5d3;
  font-size: .86rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #56657b;
  font-size: .72rem;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 70px;
  }

  .hero-visual {
    min-height: 430px;
    max-width: 750px;
  }

  .browser-card {
    left: 8%;
    right: auto;
    width: 82%;
  }

  .lead-card {
    right: 4%;
  }

  .proof-strip {
    margin-top: 50px;
  }

  .proof-names {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .split-heading,
  .case-study,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading-row > p {
    max-width: 650px;
  }

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

  .service-card:last-child {
    grid-column: span 2;
    min-height: 420px;
  }

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

  .process-grid article:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .process-grid article {
    border-bottom: 1px solid #d9dee6;
    padding-bottom: 35px;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    height: 70px;
  }

  .site-header .btn-small {
    display: none;
  }

  .brand-copy strong {
    font-size: .9rem;
  }

  #rcm-site .brand-logo {
    width: 205px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-points {
    gap: 12px 18px;
  }

  .hero-visual {
    min-height: 350px;
    margin-top: 15px;
  }

  .browser-card {
    left: 0;
    width: 100%;
    height: 310px;
    transform: rotate(0deg);
  }

  .browser-top {
    height: 42px;
  }

  .browser-address {
    width: 170px;
  }

  .browser-body {
    height: calc(100% - 42px);
    padding: 16px 18px;
  }

  .mock-hero {
    padding-top: 35px;
  }

  .floating-card {
    transform: scale(.84);
  }

  .rank-card {
    transform-origin: bottom left;
    left: -5px;
    bottom: 8px;
  }

  .lead-card {
    transform-origin: bottom right;
    right: -5px;
    bottom: 25px;
  }

  .proof-strip {
    display: block;
  }

  .proof-label {
    display: block;
    margin-bottom: 20px;
  }

  .proof-names {
    gap: 16px 24px;
  }

  .intro-section,
  .services-section,
  .work-section,
  .case-study-section,
  .process-section {
    padding: 90px 0;
  }

  .service-grid,
  .work-grid,
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .service-card p {
    min-height: 0;
  }

  .service-card h3 {
    margin-top: 64px;
  }

  .project-card {
    min-height: 0;
  }

  .project-screenshot-wrap {
    aspect-ratio: 16 / 10;
  }

  .case-study {
    gap: 55px;
  }

  .results-panel {
    padding: 20px;
  }

  .chart-wrap {
    height: 190px;
  }

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

  .process-grid article,
  .process-grid article + article,
  .process-grid article:nth-child(3) {
    border-left: none;
    padding: 28px 0;
  }

  .step-number {
    margin-bottom: 30px;
  }

  .cta-section {
    padding: 90px 0;
  }

  .footer-grid {
    gap: 50px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}



@media (max-width: 760px) {
  #rcm-site .rcm-contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  #rcm-site .rcm-form-card {
    padding: 20px;
    border-radius: 20px;
  }

  #rcm-site .rcm-form-grid {
    grid-template-columns: 1fr;
  }

  #rcm-site .rcm-form-field-full {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* WordPress/plugin isolation */
body.rcm-homepage {
  margin: 0 !important;
  padding: 0 !important;
  background: #f6f7f9 !important;
}
body.rcm-homepage #wpadminbar { z-index: 999999; }
body.rcm-homepage .site,
body.rcm-homepage .site-content,
body.rcm-homepage .entry-content,
body.rcm-homepage main { max-width: none !important; margin: 0 !important; padding: 0 !important; }
#rcm-site { width: 100%; overflow-x: clip; }
#rcm-site * { box-sizing: border-box; }
#rcm-site .rcm-phone-link { margin-top: 18px; display: inline-flex; }
@media (max-width: 782px) {
  body.admin-bar #rcm-site .site-header { top: 46px; }
}
@media (min-width: 783px) {
  body.admin-bar #rcm-site .site-header { top: 32px; }
}

/* Defensive theme override: some WP themes assign dark heading colors at high specificity. */
#rcm-site .section-dark h1,
#rcm-site .section-dark h2,
#rcm-site .section-dark h3 {
  color: #ffffff;
}
#rcm-site .hero-copy h1 span {
  color: #7fa8ff;
}

/* v1.2 brand lock: use one vector wordmark everywhere, regardless of theme styles. */
#rcm-site .brand,
#rcm-site .brand:hover,
#rcm-site .brand:focus {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
#rcm-site .site-header .brand-logo,
#rcm-site footer .brand-logo {
  opacity: 1 !important;
  filter: none !important;
}
