/* weROI services hub + full detail pages */
.weroi-svc-body {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}
.weroi-services-page {
  position: relative;
  isolation: isolate;
  color: var(--text);
  z-index: 1;
}
.weroi-services-page > * {
  position: relative;
  z-index: 1;
}

.svc-flip svg {
  width: clamp(2.4rem, 6vw, 3.2rem);
  height: clamp(2.4rem, 6vw, 3.2rem);
  vertical-align: middle;
}

/* Match home/pricing hero fold (theme bg-gradient-mild owns vertical pad + 80vh) */
.svc-hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--content-padding-inline);
  text-align: center;
  box-sizing: border-box;
}
.svc-hero--hub,
.svc-hero--detail {
  max-width: none;
  /* vertical fold pad + 80vh come from theme-weroi.css on .bg1.bg-gradient-mild */
}
.svc-hero--hub .svc-hero__inner,
.svc-hero--detail .svc-hero__inner {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.svc-hero--hub .svc-hero__eyebrow {
  margin: 0 0 0.9rem;
  letter-spacing: 0.18em;
}
.svc-hero--hub .svc-hero__title {
  max-width: 14ch;
}
.svc-hero--hub .svc-hero__lead {
  margin-top: 1.2rem;
  max-width: 34rem;
  color: rgba(247, 248, 244, 0.72);
}
.svc-hero--hub .svc-cta-row,
.svc-hero--detail .svc-cta-row {
  margin-top: 1.75rem;
  gap: 0.85rem;
}

/* Same content start as home/pricing after-hero sections */
.svc-after-hero {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: clamp(0.75rem, 2vh, 1.5rem);
  padding-bottom: 2rem;
}
.svc-hero__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e3ff04;
  font-weight: 800;
}
.svc-hero__name {
  margin: 0 auto 0.65rem;
  font-size: clamp(2.1rem, 5.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.svc-hero__punch {
  margin: 0 auto;
  max-width: 22ch;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.svc-hero__punch + .svc-hero__punch { margin-top: 0.15rem; }
.svc-hero__punch--accent { color: #e3ff04; }
.svc-hero__title {
  margin: 0 auto;
  font-size: clamp(2.35rem, 6.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.svc-hero__title--accent {
  color: #e3ff04;
  margin-top: 0.15rem;
}
.svc-hero__lead {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: rgba(247, 248, 244, 0.78);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  line-height: 1.55;
}
.svc-accent { color: #e3ff04; }

.svc-detail__back {
  display: inline-flex;
  margin: 0 auto 0.85rem;
  color: rgba(247, 248, 244, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
}
.svc-detail__back:hover { color: #e3ff04; }

.svc-price-hero {
  margin: 1.15rem auto 0;
  max-width: 26rem;
  padding: 0.95rem 1.1rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(227, 255, 4, 0.42);
  background: linear-gradient(165deg, rgba(227, 255, 4, 0.12), rgba(8, 18, 10, 0.35));
}
.svc-price-hero__from {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 248, 244, 0.65);
  font-weight: 700;
}
.svc-price-hero__num {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #e3ff04;
  letter-spacing: -0.03em;
  line-height: 1;
}
.svc-price-hero__note {
  margin: 0.65rem 0 0;
  color: rgba(247, 248, 244, 0.7);
  font-size: 0.92rem;
  line-height: 1.45;
}

.svc-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0.5rem auto clamp(1.75rem, 4vh, 2.75rem);
  max-width: var(--content-max-width);
  padding: 0 var(--content-padding-inline);
}
.svc-cats a {
  display: inline-flex;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 255, 4, 0.28);
  color: rgba(247, 248, 244, 0.88);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}
.svc-cats a:hover {
  border-color: #e3ff04;
  color: #e3ff04;
}

.svc-section {
  padding: 0.75rem 0 2.75rem;
}
.svc-section__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding: 0 var(--content-padding-inline);
}
.svc-section__eyebrow {
  margin: 0 auto 1.15rem;
  width: 100%;
  max-width: none;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e3ff04;
  font-weight: 800;
}
.svc-section__lead {
  margin: 0 auto 1.25rem;
  text-align: center;
  max-width: 32rem;
  color: rgba(247, 248, 244, 0.7);
  font-size: 1rem;
  line-height: 1.5;
}
.svc-hero__title--long {
  max-width: 14ch;
}
.svc-section--marquee {
  padding-top: 0.5rem;
  overflow: hidden;
}

/* Auto-scroll service cards */
.svc-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.svc-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: svc-marquee-x 55s linear infinite;
}
.svc-marquee:hover .svc-marquee__track {
  animation-play-state: paused;
}
.svc-marquee__group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}
.svc-marquee .svc-card {
  width: 16.5rem;
  flex: 0 0 16.5rem;
  min-height: 9.5rem;
}
@keyframes svc-marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-marquee__track { animation: none; }
  .svc-marquee {
    overflow-x: auto;
  }
  .svc-marquee__track {
    width: auto;
  }
  .svc-marquee__group[aria-hidden="true"] { display: none; }
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1rem;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.2rem 1.25rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid rgba(227, 255, 4, 0.22);
  background: linear-gradient(160deg, rgba(227, 255, 4, 0.07), rgba(8, 18, 10, 0.55));
  text-decoration: none;
  color: inherit;
  min-height: 11.5rem;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
@media (min-width: 768px) {
  .svc-card {
    text-align: center;
    align-items: center;
  }
}
.svc-card--compact {
  min-height: 0;
}
.svc-card:hover {
  border-color: rgba(227, 255, 4, 0.6);
  transform: translateY(-2px);
}
.svc-card__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.svc-card__tag {
  margin: 0;
  color: rgba(247, 248, 244, 0.68);
  font-size: 0.92rem;
  line-height: 1.4;
  flex: 1;
}
.svc-card__price {
  margin: 0;
  font-weight: 800;
  color: #e3ff04;
  font-size: 0.98rem;
}

/* Compact prose instead of stacked section blocks */
.svc-prose {
  max-width: 38rem;
  margin: 2.75rem auto 0;
  padding: 1.5rem var(--content-padding-inline) 0.75rem;
  text-align: left;
  border-top: 1px solid rgba(247, 248, 244, 0.1);
}
.svc-prose p {
  margin: 0 0 0.85rem;
  color: rgba(247, 248, 244, 0.8);
  font-size: 1.02rem;
  line-height: 1.55;
}
.svc-prose p:last-child {
  margin-bottom: 0;
}
.svc-prose strong {
  color: #e3ff04;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* legacy read blocks (unused) */
.svc-read {
  max-width: 36rem;
  margin: 0.25rem auto 0;
  padding: 0 var(--content-padding-inline) 0.5rem;
  text-align: left;
}
.svc-read__block {
  padding: 1.05rem 0 1.1rem;
  border-top: 1px solid rgba(247, 248, 244, 0.1);
}
.svc-read__block:first-child {
  border-top: 0;
  padding-top: 0.35rem;
}
.svc-read__label {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e3ff04;
  font-weight: 800;
}
.svc-read__heading {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 800;
}
.svc-read__body {
  margin: 0.4rem 0 0;
  color: rgba(247, 248, 244, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (min-width: 720px) {
  .svc-read { text-align: center; }
  .svc-prose { text-align: left; }
}

.svc-band {
  max-width: 38rem;
  margin: 0.5rem auto 0;
  padding: 2rem var(--content-padding-inline) 2.25rem;
  text-align: center;
  border-top: 1px solid rgba(247, 248, 244, 0.08);
}
.svc-band__title {
  margin: 0 auto;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 800;
}
.svc-more {
  margin: 1.5rem 0 0;
  text-align: center;
}
.svc-more a {
  color: #e3ff04;
  font-weight: 700;
  text-decoration: none;
}
.svc-more a:hover { text-decoration: underline; }

.svc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.svc-cta-row--center {
  justify-content: center;
}
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.65rem;
  font-size: 0.94rem;
  font-weight: 750;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.svc-btn--primary {
  background: #e3ff04;
  color: #0a0c00;
}
.svc-btn--primary:hover { filter: brightness(1.05); }
.svc-btn--ghost {
  background: transparent;
  color: #f7f8f4;
  border: 1px solid rgba(227, 255, 4, 0.45);
}
.svc-btn--ghost:hover {
  border-color: #e3ff04;
  color: #e3ff04;
}

/* Modal — clean white panel (readable, not neon) */
html.svc-modal-open { overflow: hidden; }
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.svc-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}
.svc-modal__panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 0.35rem;
  border: 0;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
  text-align: center;
}
.svc-modal__x {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.svc-modal__x:hover { color: #0f172a; }
.svc-modal__eyebrow {
  display: none;
}
.svc-modal__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0b2a4a;
}
.svc-modal__lead {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.95rem;
}
.svc-modal__lead strong {
  color: #0f172a;
  font-weight: 600;
}
.svc-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.svc-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.25rem;
  background: #0b2a4a;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.svc-modal__cta:hover {
  background: #08335c;
  color: #fff;
}
.svc-modal__dismiss {
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  padding: 0.25rem;
}
.svc-modal__dismiss:hover { color: #0b2a4a; }
.svc-modal__form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.15rem;
  text-align: left;
}
.svc-modal .svc-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}
.svc-modal .svc-field input,
.svc-modal .svc-field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.25rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 500;
}
.svc-modal .svc-field input::placeholder,
.svc-modal .svc-field textarea::placeholder {
  color: #94a3b8;
}
.svc-modal .svc-field input:focus,
.svc-modal .svc-field textarea:focus {
  outline: 2px solid rgba(11, 42, 74, 0.35);
  outline-offset: 1px;
  border-color: #0b2a4a;
}
.svc-modal__error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.85rem;
  text-align: left;
}

.svc-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 2100;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  background: #e3ff04;
  color: #0a0c00;
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  max-width: min(22rem, calc(100vw - 2rem));
  text-align: center;
}
.svc-toast.is-on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Quote page addons strip */
.weroi-quote-addons {
  margin: 0 auto 1rem;
  max-width: 28rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(227, 255, 4, 0.28);
  background: rgba(227, 255, 4, 0.06);
  text-align: center;
}
.weroi-quote-addons__title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3ff04;
  font-weight: 700;
}
.weroi-quote-addons__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}
.weroi-quote-addons__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(227, 255, 4, 0.22);
  font-size: 0.82rem;
  text-align: left;
}
.weroi-quote-addons__item button {
  border: 0;
  background: transparent;
  color: rgba(247, 248, 244, 0.65);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.15rem;
}
.weroi-quote-addons__item button:hover { color: #e3ff04; }
.weroi-quote-addons__more {
  display: inline-flex;
  margin-top: 0.65rem;
  color: #e3ff04;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  justify-content: center;
}
.weroi-quote-addons__more:hover { text-decoration: underline; }
.weroi-quote-addons__empty {
  margin: 0;
  color: rgba(247, 248, 244, 0.65);
  font-size: 0.9rem;
}

/* Quote page: full package selected banner */
.weroi-quote-pkg {
  margin: 0 auto 1rem;
  max-width: 28rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(227, 255, 4, 0.45);
  background: linear-gradient(160deg, rgba(227, 255, 4, 0.14), rgba(8, 18, 10, 0.4));
  text-align: center;
}
.weroi-quote-pkg__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e3ff04;
  font-weight: 800;
}
.weroi-quote-pkg__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.weroi-quote-pkg__price {
  margin: 0.35rem 0 0;
  color: #e3ff04;
  font-weight: 800;
  font-size: 1.15rem;
}
.weroi-quote-pkg__note {
  margin: 0.45rem 0 0;
  color: rgba(247, 248, 244, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .svc-cta-row--center .svc-btn {
    width: 100%;
  }
}
