/* JR Stone Design — enhanced homepage styles
 * Layered on top of shared-base.css. Preserves brand palette:
 *   navy #001D7E · red #D63638 · cream #F7F5F0 · charcoal #1A1A1A
 * Goal: richer rhythm, bigger imagery, clearer hierarchy, friendlier UX.
 */

:root {
  --sand: #EFEAE1;
  --ink: #14161C;
  --radius-lg: 14px;
  --radius-xl: 22px;
}

/* ——— Smoother type rendering + slightly airier body ——— */
body { letter-spacing: -0.005em; }
h1, h2, h3, h4 { letter-spacing: -0.015em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }

/* ——— Topbar credibility strip above the nav ——— */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.topbar-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { width: 14px; height: 14px; stroke: currentColor; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right a { color: #fff; font-weight: 500; }
.topbar-right a:hover { color: #fff; opacity: 0.82; }
.topbar-right .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }
@media (max-width: 720px) {
  .topbar-left span.hide-sm { display: none; }
  .topbar-inner { padding: 8px 18px; font-size: 0.72rem; }
  .topbar-right { gap: 12px; }
}

/* ——— Nav refinement ——— */
.site-nav { border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-links { gap: 22px; }
.nav-links > li > a:not(.nav-cta) { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-cta { white-space: nowrap; }
@media (max-width: 1040px) {
  .nav-links { gap: 16px; }
  .nav-links > li > a:not(.nav-cta) { font-size: 0.82rem; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
.nav-links > li > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links > li > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { box-shadow: 0 4px 14px rgba(0,29,126,0.25); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,29,126,0.35); }

/* ——— Hero, richer ——— */
.hero-v2 {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 120px 24px 120px;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-v2 .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: -2;
}
.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,21,78,0.92) 0%, rgba(0,21,78,0.72) 45%, rgba(20,22,28,0.35) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 60%);
  z-index: -1;
}
.hero-v2 .hero-inner { max-width: var(--container); margin: 0 auto; width: 100%; }
.hero-v2 .hero-eyebrow {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.hero-v2 .hero-eyebrow .pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(214,54,56,0.6);
  animation: heroPulse 2.2s infinite;
  vertical-align: 1px;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(214,54,56,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(214,54,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,54,56,0); }
}
.hero-v2 h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  max-width: 880px;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero-v2 h1, .hero-v2 h2, .hero-v2 h3, .hero-v2 p { color: var(--white); }
.hero-v2 .hero-sub { color: rgba(255,255,255,0.88); }
.hero-v2 h1 em {
  color: var(--white);
  font-style: italic;
  background: linear-gradient(120deg, #ffd7a8 0%, #ff8d6b 55%, #ff5a5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}
.hero-v2 .hero-sub { font-size: 1.18rem; max-width: 620px; color: rgba(255,255,255,0.88); }
.hero-v2 .hero-actions .btn-primary {
  box-shadow: 0 10px 30px rgba(214,54,56,0.35);
  padding: 15px 28px;
}
.hero-v2 .hero-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(214,54,56,0.45); }
.hero-v2 .hero-actions .btn-ghost { padding: 14px 22px; background: rgba(255,255,255,0.06); }
.hero-v2 .hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* Hero trust row */
.hero-trust {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 760px;
}
.hero-trust .stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-trust .stat span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-stars { color: #ffc83d; letter-spacing: 1px; }

@media (max-width: 720px) {
  .hero-v2 { padding: 84px 20px 72px; min-height: 560px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* ——— Section polishing ——— */
.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
.section-header .section-eyebrow::before {
  content: ""; display: inline-block;
  width: 22px; height: 1px; background: var(--red);
  vertical-align: 4px; margin-right: 10px;
}

/* ——— Service cards v2 ——— */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,21,78,0.14);
  border-color: rgba(0,29,126,0.18);
}
.svc-card .svc-img {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
}
.svc-card .svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-card .svc-num {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}
.svc-card .svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.svc-card .svc-body > p {
  color: var(--stone);
  font-size: 0.96rem;
  margin-bottom: 18px;
}
.svc-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.svc-card ul li {
  font-size: 0.9rem;
  color: var(--charcoal);
  display: flex; gap: 10px; align-items: flex-start;
}
.svc-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.svc-card .card-link { margin-top: auto; font-size: 0.92rem; }

/* ——— Process timeline ——— */
.process {
  background: var(--ink);
  color: #fff;
  padding: 88px 24px;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 400px at 20% 0%, rgba(0,29,126,0.6) 0%, rgba(0,29,126,0) 70%),
    radial-gradient(800px 300px at 100% 100%, rgba(214,54,56,0.18) 0%, rgba(214,54,56,0) 70%);
  pointer-events: none;
}
.process .container { position: relative; }
.process .section-eyebrow { color: #ff8d6b; }
.process h2 { color: #fff; }
.process .section-header p { color: rgba(255,255,255,0.7); }

.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 15%, rgba(255,255,255,0.25) 85%, rgba(255,255,255,0) 100%);
  z-index: 0;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(3px);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 18px;
  margin-top: -56px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.step h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.step p { color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.6; }
.step .step-dur {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8d6b;
  font-weight: 600;
}

/* ——— Why-choose feature list refinement ——— */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

.why-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,29,126,0.18);
}
.why-img-wrap img { display: block; width: 100%; height: auto; }
.why-img-wrap .badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 100px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.why-img-wrap .badge-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
}
.why-img-wrap .badge-lbl { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); line-height: 1.25; }

.why-features { display: grid; gap: 22px; margin-top: 30px; }
.why-features .feature {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.why-features .feature:hover {
  border-color: rgba(0,29,126,0.2);
  transform: translateX(2px);
  box-shadow: 0 8px 22px rgba(0,29,126,0.08);
}
.why-features .feature-icon {
  background: var(--navy);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 10px;
}

/* ——— Testimonial ——— */
.testimonial-band {
  background: var(--cream);
  padding: 88px 24px;
  position: relative;
  overflow: hidden;
}
.testimonial-band::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 18rem;
  color: rgba(0,29,126,0.06);
  line-height: 1;
  font-weight: 600;
}
.testimonial-band .container { position: relative; max-width: 820px; text-align: center; }
.testimonial-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
  color: var(--charcoal);
  font-weight: 500;
  font-style: italic;
  margin: 18px 0 28px;
}
.testimonial-band .stars {
  color: #ffc83d;
  font-size: 1.2rem;
  letter-spacing: 3px;
}
.testimonial-band .attr {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--stone);
  font-size: 0.9rem;
}
.testimonial-band .attr strong { color: var(--charcoal); font-weight: 600; }
.testimonial-band .attr .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--stone-light); }

/* ——— Cities v2 ——— */
.cities-v2 {
  padding: 80px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cities-v2 .section-header { text-align: left; max-width: var(--container); margin: 0 auto 36px; }
.cities-v2 .section-header-row {
  max-width: var(--container);
  margin: 0 auto 36px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap;
}
.cities-v2 .section-header-row h2 { margin-bottom: 6px; }
.cities-v2 .cities-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.cities-v2 .city-link {
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all 0.18s ease;
  position: relative;
}
.cities-v2 .city-link::before {
  background: var(--navy);
  width: 5px; height: 5px;
}
.cities-v2 .city-link::after {
  content: "→";
  margin-left: auto;
  color: var(--stone-light);
  font-size: 1rem;
  transition: all 0.2s;
}
.cities-v2 .city-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,29,126,0.25);
}
.cities-v2 .city-link:hover::before { background: #fff; }
.cities-v2 .city-link:hover::after { color: #fff; transform: translateX(3px); }

/* ——— CTA strip v2 ——— */
.cta-strip-v2 {
  background: var(--navy);
  color: #fff;
  padding: 88px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 250px at 10% 0%, rgba(214,54,56,0.22) 0%, rgba(214,54,56,0) 70%),
    radial-gradient(800px 300px at 90% 100%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
}
.cta-strip-v2 .container { position: relative; max-width: 820px; }
.cta-strip-v2 h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.8rem); margin-bottom: 14px; }
.cta-strip-v2 p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 560px; margin: 0 auto 30px; }
.cta-strip-v2 .btn-primary {
  box-shadow: 0 14px 34px rgba(214,54,56,0.4);
  padding: 15px 30px;
  font-size: 0.95rem;
}
.cta-strip-v2 .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(214,54,56,0.5); }
.cta-strip-v2 .btn-ghost { border-color: rgba(255,255,255,0.3); padding: 14px 26px; }

/* ——— Sticky mobile call bar ——— */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 90;
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mobile-call:hover { color: #fff; background: var(--red-dark); }
.mobile-call svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .mobile-call { display: flex; }
  body { padding-bottom: 72px; }
}

/* ——— Brand strip (as-seen / brands carried) ——— */
.brand-strip {
  background: var(--white);
  padding: 36px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.brand-strip .label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
}
.brand-strip ul {
  list-style: none;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.brand-strip li {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.brand-strip li:hover { opacity: 1; }

/* ——— Footer tweaks ——— */
.site-footer { padding-top: 72px; }

/* ——— Reveal animation ——— */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
}
