/*
 * Marketing site styles (yourva.rocks).
 *
 * Plain CSS on purpose: Laravel Cloud cannot run npm (see docs/DEPLOYMENT.md),
 * so any build step here would have to be pre-built and committed like the SPA
 * is. For four static pages that trade isn't worth it yet.
 *
 * The --brand-* custom properties below are the single source of truth for the
 * palette and are intended to be shared with the Nuxt app when it gets its
 * token layer, so the site and the app can never drift apart.
 */

:root {
  /* Brand palette — extracted from the previous yourva.rocks build. */
  --brand-green: #024f2a;
  --brand-green-dark: #023d21;
  --brand-gold: #f4c751;
  --brand-plum: #5e0441;
  --brand-teal: #00dac4;

  /* Neutrals */
  --ink: #18191c;
  --slate: #4e5c71;
  --slate-light: #98a2b3;
  --border: #eaecf0;
  --surface: #ffffff;
  --surface-muted: #f8f9fb;

  /* Type */
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Shadows Into Light", cursive;

  /* Scale */
  --space: 1rem;
  --radius: 12px;
  --measure: 68ch;
  --shell: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--surface);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: var(--font-ui); }

p { margin: 0 0 1em; max-width: var(--measure); }

a { color: var(--brand-green); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-green);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img { height: 48px; width: auto; }

.nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--slate);
}
.nav a:hover { color: var(--brand-green); }
.nav a[aria-current="page"] { color: var(--brand-green); border-bottom: 2px solid var(--brand-gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.btn--primary { background: var(--brand-green); color: #fff; }
.btn--primary:hover { background: var(--brand-green-dark); }
.btn--ghost { border-color: var(--brand-green); color: var(--brand-green); background: transparent; }
.btn--ghost:hover { background: var(--brand-green); color: #fff; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--muted { background: var(--surface-muted); }
.section--brand { background: var(--brand-green); color: #dfeae3; }
.section--brand h2 { color: #fff; }

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--brand-green);
  margin-bottom: 0.25rem;
}
.section--brand .eyebrow { color: var(--brand-gold); }

.lede { font-size: 1.12rem; color: var(--slate); }

/* ---------- Pain points ---------- */

.pains {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.pains li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 1.02rem;
}
.pains img { width: 80px; height: 80px; }

.turn {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  max-width: 24ch;
}
.turn strong { color: var(--brand-green); }

/* ---------- Tiers ---------- */

.tiers {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.tier__name { margin-bottom: 0.35rem; color: var(--brand-green); }
.tier__promise { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }

.tier__list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.55rem; }
.tier__list li { padding-left: 1.75rem; position: relative; }
.tier__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 700;
}

.tier__outcome {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.95rem;
}
.tier__outcome strong { color: var(--brand-green); font-family: var(--font-ui); }

/* ---------- Story ---------- */

.story-block { margin-bottom: 2.5rem; }
.story-block h2 { font-family: var(--font-ui); font-size: 1.3rem; color: var(--brand-green); }

/* ---------- Insights ---------- */

.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--surface);
  margin-bottom: 1rem;
}
.article-card { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 640px) {
  .article-card { grid-template-columns: 220px 1fr; }
}
.article-card img { width: 100%; max-width: 220px; height: auto; border-radius: var(--radius); margin-inline: auto; }
.article-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ---------- CTA + footer ---------- */

.cta { text-align: center; }
.cta p { margin-inline: auto; }

.site-footer {
  background: var(--brand-green-dark);
  padding-block: 2.5rem;
  font-size: 0.9rem;
  color: #cfe0d6;
  font-family: var(--font-ui);
  text-align: center;
}
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.site-footer__brand img { height: 52px; width: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; }
.site-footer__nav a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer__nav a:hover { color: var(--brand-gold); text-decoration: underline; }
.site-footer p { margin: 0; max-width: none; }
.site-footer__tagline { color: var(--brand-gold); font-family: var(--font-script); font-size: 1.25rem; }
.site-footer__copy { font-size: 0.8rem; opacity: 0.8; }

/* ---------- Under construction ---------- */

.uc { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.uc__mark { font-size: 3rem; color: var(--brand-gold); line-height: 1; margin-bottom: 1rem; }
.uc p { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Imagery ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.center { text-align: center; }

.hero { padding-block: 1.5rem 0; }
.hero--end { padding-block: 0 2.5rem; }
.hero__banner,
.hero__image {
  display: block;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(24, 25, 28, 0.12);
}
.hero__banner img,
.hero__image { width: 100%; height: auto; }

.section--tight { padding-block: 0 clamp(2rem, 5vw, 3.5rem); }

.how img { width: 100%; border-radius: 18px; }

.statement {
  text-align: center;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--brand-green);
  margin: 2.5rem auto 0;
}
.statement__script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--brand-plum);
  font-size: 1.15em;
}
.statement__script u { text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

.tier__icon { width: 100px; height: 100px; margin: 0 auto 1rem; }
.tier { text-align: left; }

/* ---------- Services (real-text cards, replacing the old baked-in images) ---------- */

.services { display: grid; gap: 1.75rem; }

.svc {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(244, 199, 81, 0.16), transparent 55%),
    linear-gradient(180deg, #fffefb, #fbf8f2);
  border: 1px solid rgba(214, 170, 60, 0.55);
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(24, 25, 28, 0.08);
}

.svc__icon { width: 84px; height: 84px; }

.svc__name {
  font-family: var(--font-ui);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  color: var(--brand-green-dark);
  margin-bottom: 0.25rem;
}
.svc__promise {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.25;
  color: var(--brand-plum);
  margin-bottom: 0.75rem;
}
.svc__intro { font-size: 1.05rem; color: var(--ink); }

.svc__list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.5rem; }
.svc__list li { padding-left: 1.9rem; position: relative; color: var(--ink); }
.svc__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c99a2e;
  font-weight: 700;
}

.svc__outcome { color: var(--ink); }

.btn--svc { background: var(--brand-green-dark); color: #fff; border-color: #c99a2e; }
.btn--svc:hover { background: var(--brand-green); }
.svc--2 .btn--svc { background: var(--brand-plum); }
.svc--2 .btn--svc:hover { background: #7a0a56; }

@media (min-width: 760px) {
  .svc { grid-template-columns: 96px 1fr; align-items: start; gap: 1.75rem; }
  .svc__icon { width: 96px; height: 96px; }
}

/* Closing call to action: dark green with a gold hairline, as in the old banner. */
.cta--ornate {
  background:
    radial-gradient(80% 140% at 8% 100%, rgba(244, 199, 81, 0.18), transparent 55%),
    linear-gradient(180deg, #0b3a24, var(--brand-green-dark));
  border-top: 3px solid #c99a2e;
}
.cta__script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--brand-gold);
  margin: 0 auto 0.15rem;
}
.cta--ornate h2 { margin-bottom: 1.25rem; }
.btn--plum {
  background: var(--brand-plum);
  color: #fff;
  border-color: #c99a2e;
  padding-inline: 2rem;
}
.btn--plum:hover { background: #7a0a56; }

.about { display: grid; gap: 2rem; align-items: center; }
.about__photo { width: 100%; max-width: 360px; height: auto; border-radius: 50%; border: 6px solid var(--brand-gold); justify-self: center; }
@media (min-width: 800px) {
  .about { grid-template-columns: 1fr 360px; }
}

.story-block__icon { width: 72px; height: 72px; margin-bottom: 0.75rem; }

/* ---------- Narrow screens ---------- */

/* Below this the brand and a four-item nav can't share a row without the nav
   wrapping to one item per line. Stack them instead and let the nav run
   horizontally, which keeps the header two tidy rows at 320px. */
@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 0.75rem;
  }

  .nav {
    gap: 1rem;
    width: 100%;
  }

  .nav a { font-size: 0.85rem; }

  .site-header { position: static; }

  .pains li { font-size: 0.98rem; }
}
