/* ============================================================
   LCS National LLC — marketing site styles
   Fonts: Newsreader (serif display) + Hanken Grotesk (UI/body)
   ============================================================ */

:root {
  --paper:        #F6F2E9;
  --paper-2:      #EFEADB;
  --cream-card:   #FDFBF6;
  --ink:          #16201C;
  --muted:        #5C6660;
  --muted-2:      #48524C;
  --evergreen:    #0F2B22;
  --evergreen-2:  #143A2D;
  --evergreen-3:  #0A1F18;
  --gold:         #BE8A3C;
  --gold-dark:    #A9772F;
  --gold-light:   #E7C887;
  --on-dark:      #F6F2E9;
  --on-dark-dim:  rgba(246, 242, 233, 0.72);
  --error:        #B23B2E;
  --serif: "Newsreader", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --maxw:  1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

@keyframes lcsFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section   { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.eyebrow {
  font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: none; font-family: var(--sans);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--gold); color: #1A1306; padding: 14px 28px; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost {
  background: transparent; color: var(--ink); font-weight: 600;
  padding: 14px 26px; border: 1px solid rgba(22, 32, 28, 0.25);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; padding: 15px; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 233, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 32, 28, 0.12);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 15px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--evergreen);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.2px; white-space: nowrap;
}
.brand-kicker {
  font-size: 9.5px; letter-spacing: 2.6px; color: var(--muted);
  margin-top: 4px; text-transform: uppercase; font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--gold-dark); }
.nav .btn-primary { padding: 11px 22px; font-size: 14px; border-radius: 9px; }

/* ---------- Hero (Editorial) ---------- */
.hero { animation: lcsFade .6s ease both; }
.hero .container { padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 1fr;
  gap: clamp(40px, 5vw, 64px); align-items: center;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 66px); line-height: 1.02;
  font-weight: 500; color: var(--ink); margin: 18px 0 0; letter-spacing: -0.6px;
}
.hero-text {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--muted-2);
  max-width: 520px; margin: 22px 0 0;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.hero-media {
  width: 100%; height: clamp(340px, 42vw, 520px);
  border-radius: 18px; overflow: hidden; background: var(--paper-2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Who we serve ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap; margin-bottom: 48px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06;
  font-weight: 500; color: var(--ink); margin: 14px 0 0; letter-spacing: -0.4px;
}
.lede { font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 340px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 16px; padding: 32px; transition: border-color .18s ease;
}
.card:hover { border-color: rgba(190, 138, 60, 0.55); }
.card-label { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card-title { font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--ink); margin: 14px 0 10px; }
.card-text { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.card-link { font-size: 14px; color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }

/* ---------- How it works (dark) ---------- */
.band-dark { background: var(--evergreen); color: var(--on-dark); }
.band-dark .section-title { color: var(--on-dark); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.step { border-top: 1px solid rgba(246, 242, 233, 0.22); padding-top: 24px; }
.step-num { font-family: var(--serif); font-size: 40px; color: var(--gold); font-weight: 400; line-height: 1; }
.step-title { font-size: 20px; font-weight: 600; margin: 18px 0 10px; }
.step-text { font-size: 15px; line-height: 1.55; color: var(--on-dark-dim); margin: 0; }

/* ---------- Portfolio ---------- */
.portfolio-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.portfolio-title {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.08;
  font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.4px;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.property-img {
  width: 100%; height: 260px; border-radius: 14px; overflow: hidden; background: var(--paper-2);
}
.property-img img { width: 100%; height: 100%; object-fit: cover; }
.property-label { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 12px; letter-spacing: 0.3px; }

/* ---------- About ---------- */
.band-paper-2 { background: var(--paper-2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.about-text { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.point { display: flex; gap: 12px; align-items: flex-start; }
.point-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-top: 7px; flex-shrink: 0; }
.point span:last-child { font-size: 14.5px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.about-media {
  width: 100%; height: clamp(360px, 38vw, 480px);
  border-radius: 18px; overflow: hidden; background: #fff;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact / Lead form (dark) ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px); align-items: center; max-width: 1080px; margin: 0 auto;
}
.contact-copy { font-size: 16px; line-height: 1.6; color: var(--on-dark-dim); margin: 20px 0 0; max-width: 420px; }
.form-card {
  background: var(--cream-card); border-radius: 18px;
  padding: clamp(28px, 3vw, 40px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5);
}
.form { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: 0.2px; }
.input, .select {
  width: 100%; padding: 13px 15px; border: 1px solid rgba(22, 32, 28, 0.18);
  border-radius: 10px; font-family: var(--sans); font-size: 15px;
  color: var(--ink); background: #fff; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2316201C' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.input:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(190, 138, 60, 0.16); }
.field-error { font-size: 12.5px; color: var(--error); margin-top: 6px; font-weight: 500; }
.form-fine { font-size: 11.5px; color: #7A837D; line-height: 1.5; margin: 2px 0 0; text-align: center; }
.form-fine .link { color: var(--ink); font-weight: 600; cursor: pointer; text-decoration: underline; background: none; border: none; font-size: inherit; font-family: inherit; padding: 0; }
.form-success { text-align: center; padding: 24px 8px; animation: lcsFade .4s ease both; }
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--evergreen);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  color: var(--gold); font-size: 28px; line-height: 1;
}
.form-success h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); margin: 0 0 8px; }
.form-success p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; }
.is-hidden { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen-3); color: var(--on-dark-dim); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 32px 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--evergreen-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--on-dark); }
.footer-brand p { font-size: 14px; line-height: 1.55; margin: 18px 0 0; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.footer-link { font-size: 14px; color: var(--on-dark-dim); text-decoration: none; cursor: pointer; background: none; border: none; font-family: inherit; padding: 0; text-align: left; }
.footer-link:hover { color: var(--on-dark); }
.footer-bottom {
  border-top: 1px solid rgba(246, 242, 233, 0.14); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(246, 242, 233, 0.55); }
.ehl { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(246, 242, 233, 0.55); }
.ehl-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1.5px solid rgba(246, 242, 233, 0.5); border-radius: 4px; font-size: 11px; font-weight: 700; }

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 31, 24, 0.55);
  backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: lcsFade .25s ease both;
}
.modal {
  background: var(--cream-card); border-radius: 18px; max-width: 640px; width: 100%;
  max-height: 82vh; overflow-y: auto; padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-title { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); margin: 0; }
.modal-close {
  background: none; border: 1px solid rgba(22, 32, 28, 0.2); border-radius: 8px;
  width: 34px; height: 34px; cursor: pointer; font-size: 17px; color: var(--ink); flex-shrink: 0;
}
.modal-close:hover { background: rgba(22, 32, 28, 0.06); }
.modal-meta { font-size: 13px; color: #7A837D; margin: 8px 0 22px; }
.modal-body { font-size: 14.5px; line-height: 1.65; color: #3F4843; }
.modal-body h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0 0 8px; }
.modal-body p { margin: 0 0 16px; }
.modal-body p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards, .steps, .portfolio-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
  .nav-link { display: none; }
  .hero-media { order: -1; }
}
