﻿/**
 * ValorX in WordPress: late, scoped fixes against Blocksy/Elementor defaults.
 * Keep colors on dark sections explicit so the reference HTML look survives.
 */
#valorx-home-root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --muted-2: #8a8a8a;
  --line: rgba(26, 26, 26, 0.1);
  --line-strong: rgba(26, 26, 26, 0.16);
  --dark: #1a1a1a;
  --dark-2: #101010;
  --light: #fafafa;
  --light-muted: #cccccc;
  --accent: #e87722;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --max: 1350px;
  --nav-h: 64px;

  isolation: isolate;
  max-width: none !important;
  width: 100% !important;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 10% 8%, rgba(26, 26, 26, 0.045), transparent 40%),
    radial-gradient(circle at 92% 18%, rgba(26, 26, 26, 0.06), transparent 36%);
  background-attachment: fixed;
}

@media (max-width: 820px) {
  #valorx-home-root {
    background-attachment: scroll;
    --nav-h: 56px;
  }
}

#valorx-home-root *,
#valorx-home-root *::before,
#valorx-home-root *::after {
  box-sizing: border-box;
}

#valorx-home-root h1,
#valorx-home-root h2,
#valorx-home-root h3,
#valorx-home-root h4 {
  font-family: "Manrope", "Inter", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.04em !important;
  margin: 0 !important;
  line-height: 0.98 !important;
}

#valorx-home-root h1 { font-size: clamp(3rem, 7vw, 6.4rem) !important; }
#valorx-home-root h2 { font-size: clamp(2.1rem, 4vw, 4.1rem) !important; }
#valorx-home-root h3 { font-size: clamp(1.25rem, 2vw, 1.6rem) !important; }

#valorx-home-root p {
  margin: 0 !important;
  font-size: 1rem;
  line-height: 1.75;
}

/* Dark visual sections: force the same contrast as the standalone HTML. */
#valorx-home-root .hero,
#valorx-home-root .story {
  color: #fff !important;
}

#valorx-home-root .hero h1,
#valorx-home-root .hero h2,
#valorx-home-root .hero h3,
#valorx-home-root .hero p,
#valorx-home-root .story h1,
#valorx-home-root .story h2,
#valorx-home-root .story h3,
#valorx-home-root .story li {
  color: inherit !important;
}

#valorx-home-root .hero-copy p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(1rem, 1.6vw, 1.18rem) !important;
  margin-top: 20px !important;
}

#valorx-home-root .story-copy h2 {
  color: #fff !important;
  font-size: clamp(2rem, 4.4vw, 3.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em !important;
}

#valorx-home-root .story-copy p {
  color: rgba(255, 255, 255, 0.82) !important;
  margin-top: 12px !important;
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
}

#valorx-home-root .story-trust {
  color: rgba(255, 255, 255, 0.48) !important;
}

/* Light sections keep the original muted text palette. */
#valorx-home-root main section:not(.hero):not(.story) p,
#valorx-home-root .category-strip p {
  color: var(--muted) !important;
  line-height: 1.75 !important;
}

#valorx-home-root a {
  color: inherit !important;
  text-decoration: none !important;
}

#valorx-home-root ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#valorx-home-root img,
#valorx-home-root video {
  max-width: 100%;
  display: block;
}

#valorx-home-root button,
#valorx-home-root input {
  font: inherit;
}

/* Buttons: override Blocksy/Elementor default button styling. */
#valorx-home-root .btn,
#valorx-home-root a.btn,
#valorx-home-root button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
}

#valorx-home-root .btn-ghost-light {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: none !important;
}

#valorx-home-root .btn-ghost-dark {
  color: var(--text) !important;
  border: 1px solid var(--line-strong) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* FAQ accordion: remove browser/theme button chrome and restore spacing. */
#valorx-home-root .faq-list {
  display: grid !important;
  gap: 14px !important;
}

#valorx-home-root .faq-item {
  overflow: hidden !important;
}

#valorx-home-root button.faq-question {
  width: 100% !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--text) !important;
  padding: 22px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  outline: none;
}

#valorx-home-root button.faq-question:focus-visible {
  outline: 2px solid rgba(232, 119, 34, 0.65) !important;
  outline-offset: 2px !important;
}

#valorx-home-root .faq-question span {
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

/* Featured series: prevent theme button styles from turning dots into boxes. */
#valorx-home-root .featured-slider__dots {
  gap: 8px !important;
  align-items: center !important;
}

#valorx-home-root button.featured-slider__dot {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(26, 26, 26, 0.2) !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

#valorx-home-root button.featured-slider__dot:hover {
  background: rgba(26, 26, 26, 0.36) !important;
}

#valorx-home-root button.featured-slider__dot.is-active {
  width: 22px !important;
  min-width: 22px !important;
  background: var(--accent) !important;
}

#valorx-home-root button.featured-slider__dot:focus,
#valorx-home-root button.featured-slider__dot:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.16) !important;
}

/* Featured series: add breathing room before the Explore button. */
#valorx-home-root .featured-showcase__body .bullets {
  margin: 24px 0 38px !important;
}

#valorx-home-root .featured-showcase__body .btn {
  margin-top: 2px !important;
}

/* Routines: keep image height synced to the right-side tab list height. */
#valorx-home-root .routines-visual {
  min-height: 0 !important;
}

#valorx-home-root .routines-visual-inner {
  min-height: 260px !important;
}

/* Routines tabs: restore the standalone HTML button/list styling. */
#valorx-home-root .routines-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#valorx-home-root button.routines-item {
  --routines-divider: #e5e5e5;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  grid-template-columns: 2.75rem minmax(0, 1fr) 14px !important;
  grid-template-rows: auto auto !important;
  column-gap: clamp(12px, 2vw, 20px) !important;
  row-gap: 4px !important;
  width: 100% !important;
  padding: 28px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--routines-divider) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
  text-align: left !important;
  font: inherit !important;
  color: inherit !important;
  opacity: 0.55 !important;
  outline: none !important;
}

#valorx-home-root .routines-list li:first-child button.routines-item {
  border-top: 1px solid var(--routines-divider) !important;
}

#valorx-home-root button.routines-item:hover,
#valorx-home-root button.routines-item:active {
  background: transparent !important;
  color: inherit !important;
  border-color: var(--routines-divider) !important;
  box-shadow: none !important;
}

#valorx-home-root button.routines-item.is-active,
#valorx-home-root button.routines-item:hover {
  opacity: 1 !important;
}

#valorx-home-root button.routines-item:focus {
  outline: none !important;
  box-shadow: none !important;
}

#valorx-home-root button.routines-item:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 4px !important;
  opacity: 1 !important;
}

#valorx-home-root .routines-item__num {
  grid-row: 1 / span 2 !important;
  font-family: "Inter", ui-monospace, monospace !important;
  font-variant-numeric: tabular-nums !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #a0a0a0 !important;
  padding-top: 3px !important;
}

#valorx-home-root .routines-item__label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: clamp(1.25rem, 2vw, 1.45rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
  color: #1a1a1a !important;
  line-height: 1.2 !important;
}

#valorx-home-root button.routines-item.is-active .routines-item__label {
  font-weight: 500 !important;
}

#valorx-home-root .routines-item__desc {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #666 !important;
  font-weight: 400 !important;
}

#valorx-home-root .routines-item__dot {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  align-self: start !important;
  justify-self: end !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  margin-top: 8px !important;
  border-radius: 50% !important;
  background: var(--accent) !important;
  opacity: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

#valorx-home-root button.routines-item.is-active .routines-item__dot,
#valorx-home-root button.routines-item:hover .routines-item__dot {
  opacity: 1 !important;
}

/*
 * Shell header uses solid subtle gray on all pages (valorx-site-shell.css) — no home-only overlay needed.
 */
