/* ============================================================
   LAJOVA GROUP — STYLESHEET
   Design tokens → base/reset → layout → components → sections
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors — do not add gradients or alter these values */
  --navy: #082F6B;
  --navy-700: #0A3A82;
  --gold: #D89C00;
  --gold-600: #B98600;
  --white: #FFFFFF;
  --bg-light: #F6F7F9;
  --text-dark: #172033;
  --text-muted: #5B637A;
  --border-soft: #E2E5EB;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(23, 32, 51, 0.04), 0 8px 24px rgba(23, 32, 51, 0.06);
  --shadow-card-hover: 0 4px 10px rgba(23, 32, 51, 0.06), 0 16px 32px rgba(23, 32, 51, 0.09);

  --transition-fast: 160ms ease;
  --transition-med: 260ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: var(--text-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Shared line-icon styling. Without this, every icon <use>s a symbol
   whose paths have no fill/stroke of their own, so SVG's initial
   values apply: fill:black, stroke:none — rendering solid black
   shapes instead of clean colored line icons (most obvious on the
   hero panel's open zigzag paths). This rule fixes it everywhere. */
.service-icon,
.industry-icon,
.why-icon,
.system-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head--tight { margin-bottom: 32px; margin-top: 72px; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 16px;
}

/* Alternating section backgrounds for rhythm */
.services, .how-it-works, .faq { background: var(--bg-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border-soft); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); width: 100%; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-med), border-color var(--transition-med);
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(23, 32, 51, 0.06);
  border-bottom-color: var(--border-soft);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.nav-link:hover { color: var(--navy); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle-bar { display: block; height: 2px; width: 24px; background: var(--navy); transition: transform var(--transition-fast), opacity var(--transition-fast); margin-inline: auto; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; background: var(--white); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.trust-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Signature hero visual: connected growth-system panel */
.hero-visual { display: flex; justify-content: center; }
.system-panel {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px 20px 24px;
}
.system-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.system-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-soft); }
.system-panel-title {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.system-flow { display: flex; flex-direction: column; }
.system-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateY(10px);
  animation: card-in 560ms ease forwards;
}
.system-card:nth-of-type(1) { animation-delay: 80ms; }
.system-flow li.system-card:nth-of-type(3) { animation-delay: 260ms; }
.system-flow .system-card:nth-child(3) { animation-delay: 240ms; }
.system-flow .system-card:nth-child(5) { animation-delay: 420ms; }
.system-flow .system-card:nth-child(7) { animation-delay: 600ms; }
.system-flow .system-card:nth-child(9) { animation-delay: 780ms; }
.system-card--highlight { background: var(--navy); border-color: var(--navy); }
.system-connector {
  width: 1.5px;
  height: 16px;
  margin-left: 32px;
  background: var(--border-soft);
}
.system-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 7px;
  border: 1px solid var(--border-soft);
}
.system-card--highlight .system-icon { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.system-card-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.system-card-label { font-size: 0.87rem; font-weight: 600; color: var(--text-dark); }
.system-card--highlight .system-card-label { color: var(--white); }
.system-card-meta { font-size: 0.76rem; color: var(--text-muted); }
.system-card--highlight .system-card-meta { color: rgba(255,255,255,0.72); }
.system-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.system-status--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .system-card { opacity: 1; transform: none; animation: none; }
}

/* ---------- Introduction ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.intro-copy h2 { margin-bottom: 20px; font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.intro-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Card grid base ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--services { grid-template-columns: repeat(3, 1fr); }
.card-grid--why { grid-template-columns: repeat(4, 1fr); }
.card-grid--industries { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-grid--packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.service-icon {
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- How it works ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: var(--border-soft);
}
.process-step {
  position: relative;
  background: var(--bg-light);
  padding-top: 4px;
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Packages ---------- */
.package-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
}
.package-card--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-card-hover);
}
.package-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.package-card-head h3 { font-size: 1.35rem; margin-bottom: 10px; }
.package-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; min-height: 66px; }
.package-list { margin-bottom: 28px; flex: 1; }
.package-list li {
  position: relative;
  padding-left: 26px;
  padding-block: 7px;
  font-size: 0.93rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-soft);
}
.package-list li:first-child { border-top: none; }
.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 1.6px solid var(--gold-600);
  border-bottom: 1.6px solid var(--gold-600);
  transform: rotate(-45deg);
}
.package-btn { margin-top: auto; }

.packages-note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 60ch;
  margin-inline: auto;
}

/* ---------- Package notice (Launch plan ad-spend note) ---------- */
.package-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 68ch;
}

/* ---------- Industries ---------- */
.industry-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.industry-card:hover { border-color: var(--navy); box-shadow: var(--shadow-card); }
.industry-icon {
  width: 26px; height: 26px;
  color: var(--gold-600);
  flex-shrink: 0;
}
.industries-note {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 24px;
}
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }

.why-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-icon { width: 30px; height: 30px; color: var(--navy); }
.why-card p { font-weight: 600; font-size: 0.98rem; color: var(--text-dark); }

/* ---------- FAQ ---------- */
.accordion { max-width: 800px; }
.accordion-item { border-bottom: 1px solid var(--border-soft); }
.accordion-item:first-child { border-top: 1px solid var(--border-soft); }
.accordion-trigger-wrap { margin: 0; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}
.accordion-trigger::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 1.6px solid var(--gold-600);
  border-bottom: 1.6px solid var(--gold-600);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-med) ease, opacity var(--transition-med) ease;
  opacity: 0;
}
.accordion-panel.is-open { opacity: 1; }
.accordion-panel p { padding: 0 4px 22px; color: var(--text-muted); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }
.contact-intro p { color: var(--text-muted); font-size: 1.05rem; max-width: 42ch; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--text-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); outline: none; }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-field--checkbox input { margin-top: 4px; flex-shrink: 0; width: 16px; height: 16px; }
.form-field--checkbox label { font-size: 0.82rem; font-weight: 400; color: var(--text-muted); }

.contact-submit { width: 100%; }
.form-confirmation {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 0.9rem;
}
.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: #FBEAEA;
  border: 1px solid #E8B4B4;
  border-radius: var(--radius-sm);
  color: #7A2020;
  font-size: 0.9rem;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-logo { height: 38px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,0.7); }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-nav a, .footer-legal a { color: rgba(255,255,255,0.8); transition: color var(--transition-fast); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid--services,
  .card-grid--packages { grid-template-columns: repeat(2, 1fr); }
  .card-grid--why,
  .card-grid--industries { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .intro-grid,
  .about-grid { grid-template-columns: 1fr; }
  .intro-media, .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process::before { display: none; }
}

@media (max-width: 860px) {
  .primary-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-med);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-link { display: block; width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--border-soft); }
  .nav-cta { width: 100%; }
  .nav-toggle { display: flex; }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .card-grid--services,
  .card-grid--packages,
  .card-grid--why,
  .card-grid--industries { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 48px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
