/* ============================================
   Vista Law Corp — Mockup Stylesheet
   ============================================ */

:root {
  --navy-950: #081a33;
  --navy-900: #0b2545;
  --navy-800: #13315c;
  --navy-700: #1c4176;
  --navy-100: #e7edf5;
  --navy-50: #f3f6fa;
  --gold-600: #a9812f;
  --gold-500: #c9a227;
  --gold-100: #f6ecd2;
  --ink: #1b2430;
  --ink-muted: #5c6773;
  --border: #e1e5ea;
  --white: #ffffff;
  --success: #2f7a4f;

  --font-head: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 48px rgba(11, 37, 69, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-950);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}
p { margin: 0 0 1em; color: var(--ink-muted); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy-900); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.75); }
.section--muted { background: var(--navy-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-outline-navy { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Placeholder banner */
.mock-banner {
  background: var(--gold-500);
  color: var(--navy-950);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.8);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; padding: 8px 24px; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar-links { display: flex; gap: 20px; }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy-950); }
.logo .mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
}
.logo small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--ink-muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--navy-900); }
.nav-links a.active, .nav-links a:hover { color: var(--gold-600); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy-900); }

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--border); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn span { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-950); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 54px); }
.hero p.lead { color: rgba(255,255,255,.78); font-size: 18px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--gold-500); }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,.65); }
.hero-media { position: relative; }
.hero-media img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); border-radius: 12px; padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center;
  max-width: 240px;
}
.hero-badge .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 14px; color: var(--navy-950); }
.hero-badge span { font-size: 12px; color: var(--ink-muted); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-media { order: -1; }
  .hero-badge { position: static; margin-top: 20px; max-width: none; }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy-950);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-500); }

/* Cards grid — generic */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 19px; }
.card p { margin-bottom: 0; font-size: 15px; }
.card .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--navy-900); }
.card .learn-more:hover { color: var(--gold-600); }

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img { border-radius: 16px; box-shadow: var(--shadow-md); }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; } }

.feature-row { display: flex; gap: 18px; margin-top: 24px; }
.feature-row .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-row h4 { margin-bottom: 4px; font-size: 17px; }
.feature-row p { font-size: 14.5px; margin-bottom: 0; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-strip .item { padding: 20px; }
.trust-strip .icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.trust-strip h4 { font-size: 15px; margin-bottom: 4px; }
.trust-strip p { font-size: 13.5px; margin: 0; }
@media (max-width: 860px) { .trust-strip { grid-template-columns: repeat(2,1fr); } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .stat strong { display: block; font-family: var(--font-head); font-size: 40px; color: var(--gold-500); }
.stats-grid .stat span { font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px; } }

/* Process */
.process-list { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-list .step { position: relative; padding: 28px 20px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.process-list .step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.process-list h4 { font-size: 16px; margin: 10px 0 8px; }
.process-list p { font-size: 13.5px; margin: 0; }
@media (max-width: 980px) { .process-list { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.testimonial-card .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); font-size: 15.5px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-card .person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-card .person strong { display: block; font-size: 14.5px; color: var(--navy-950); }
.testimonial-card .person span { font-size: 13px; color: var(--ink-muted); }
.sample-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--navy-100); color: var(--navy-800); padding: 3px 9px; border-radius: 100px; margin-bottom: 12px; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 560px; margin-left: auto; margin-right: auto; }

/* Blog */
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.blog-card img { height: 190px; object-fit: cover; width: 100%; }
.blog-card .body { padding: 24px; }
.blog-card .meta { font-size: 12.5px; color: var(--ink-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.blog-card h3 { font-size: 17px; }
.blog-card .read-more { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }

/* FAQ accordion */
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item button {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 4px; font-size: 16.5px; font-weight: 700; color: var(--navy-950);
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-family: var(--font-body);
}
.accordion-item .plus { transition: transform .2s ease; color: var(--gold-600); font-size: 20px; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-item .panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-item .panel p { padding-bottom: 20px; margin: 0; font-size: 15px; }

/* Pricing / package */
.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; align-items: start; }
@media (max-width: 780px) { .package-grid { grid-template-columns: 1fr; } }

.package-card {
  background: var(--white); border: 2px solid var(--navy-900); border-radius: 16px;
  padding: 40px; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow-md);
}
.package-grid .package-card { max-width: none; }
.package-card.featured { border-color: var(--gold-500); position: relative; }
.package-card.featured::before {
  content: "Most Flexible"; position: absolute; top: -14px; right: 28px;
  background: var(--gold-500); color: var(--navy-950); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 100px;
}
.package-card .price { font-family: var(--font-head); font-size: 40px; color: var(--navy-950); margin: 6px 0 2px; }
.package-card .price span { font-size: 15px; font-family: var(--font-body); color: var(--ink-muted); font-weight: 500; }
.package-card .share-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: var(--navy-800); background: var(--navy-100); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.package-list li { display: flex; gap: 10px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px dashed var(--border); }
.package-list li:last-child { border-bottom: none; }
.package-list li .chk { color: var(--success); flex-shrink: 0; }
.placeholder-note { font-size: 12.5px; color: var(--ink-muted); background: var(--navy-50); border: 1px dashed var(--border); border-radius: 8px; padding: 10px 14px; margin-top: 16px; }

/* Path comparison (Named vs Numbered) */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path-card { border-radius: 14px; padding: 32px; border: 1px solid var(--border); background: var(--white); }
.path-card.highlight { border-color: var(--gold-500); background: var(--gold-100); }
.path-card h3 { display: flex; align-items: center; gap: 10px; }
.path-card .tag { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; background: var(--navy-900); color: var(--white); padding: 4px 10px; border-radius: 100px; }
.path-card ul { margin: 18px 0; }
.path-card li { display: flex; gap: 8px; font-size: 14.5px; padding: 6px 0; }
@media (max-width: 780px) { .path-grid { grid-template-columns: 1fr; } }

/* About page */
.founder-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.founder-photo { border-radius: 16px; box-shadow: var(--shadow-md); }
.credential-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; border-top: 1px solid var(--border); }
.credential-list li:first-child { border-top: none; }
@media (max-width: 860px) { .founder-wrap { grid-template-columns: 1fr; } }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

/* Contact page */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info-card { background: var(--navy-950); color: var(--white); border-radius: 16px; padding: 40px; }
.contact-info-card h3 { color: var(--white); }
.contact-info-card .row { display: flex; gap: 14px; margin-top: 22px; }
.contact-info-card .row .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); color: var(--gold-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .row strong { display: block; font-size: 14px; }
.contact-info-card .row span, .contact-info-card .row a { font-size: 14px; color: rgba(255,255,255,.75); }
.map-placeholder {
  margin-top: 24px; border-radius: 12px; overflow: hidden; height: 180px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.05), rgba(255,255,255,.05) 10px, rgba(255,255,255,.02) 10px, rgba(255,255,255,.02) 20px);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,.5);
  border: 1px dashed rgba(255,255,255,.2);
}

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--navy-950); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); }
@media (max-width: 700px) { .contact-wrap { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; font-family: var(--font-body); }
.footer-grid li { padding: 6px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-500); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .mark { width: 38px; height: 38px; border-radius: 8px; background: var(--gold-500); color: var(--navy-950); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; }
.footer-logo strong { color: var(--white); font-family: var(--font-head); font-size: 19px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--gold-500); color: var(--navy-950); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2,1fr); } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
