/* Summit Capital South — single stylesheet */

:root {
  --bg-deep: #0a1628;
  --bg-elev: #13243a;
  --bg-elev-2: #0f1d31;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(212,164,74,.35);
  --gold: #d4a44a;
  --gold-bright: #e6b966;
  --gold-soft: rgba(212,164,74,.12);
  --text: #f4f6fa;
  --muted: #a0a8b5;
  --muted-2: #7c8696;
  --danger: #e76b6b;
  --ok: #6bd394;
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container.narrow { max-width: 880px; }

/* ===== Header / Nav ===== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 22px 0;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 600;
  letter-spacing: .14em;
  font-size: 18px;
}
.brand-tagline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .35em;
  margin-top: 6px;
  color: var(--muted);
}
.brand-rule { display: inline-block; width: 22px; height: 1px; background: var(--gold); }

.primary-nav {
  display: inline-flex;
  gap: clamp(14px, 2vw, 28px);
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}
.primary-nav a { color: var(--text); padding: 6px 2px; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.primary-nav a:hover { color: var(--gold); border-color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 6px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px/1 'Inter', sans-serif;
  letter-spacing: .12em;
  padding: 14px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-solid {
  background: var(--gold); color: #1a1305;
  border-color: var(--gold);
}
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-outline {
  background: transparent; color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold-soft); }
.btn-block { width: 100%; padding: 16px; }
.btn-cta { padding: 12px 20px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; padding: 140px 0 80px; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg picture, .hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.78) 38%, rgba(10,22,40,.30) 65%, rgba(10,22,40,.55) 100%),
    linear-gradient(to bottom, rgba(10,22,40,.4) 0%, rgba(10,22,40,.1) 25%, rgba(10,22,40,.85) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .3em;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero-title .accent { display: block; color: var(--gold); }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--text);
}
.hero-body {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Lead form card ===== */
.lead-card {
  background: rgba(15, 29, 49, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 32px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lead-eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .25em;
  font-weight: 700;
  text-transform: uppercase;
}
.lead-title {
  margin: 0 0 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.lead-form { display: grid; gap: 12px; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  background: rgba(8, 16, 30, .7);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  border-radius: 4px;
  transition: border-color .15s, background .15s;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted-2); }
.lead-form select { color: var(--muted-2); appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23d4a44a' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.lead-form select:valid { color: var(--text); }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--gold);
  background: rgba(8, 16, 30, .9);
}
.lead-form .is-invalid {
  border-color: rgba(231, 107, 107, .85);
  background: rgba(231, 107, 107, .08);
}
.lead-form .is-invalid:focus {
  border-color: rgba(231, 107, 107, 1);
}
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-disclaimer {
  margin: 8px 0 0; font-size: 12px; color: var(--muted-2);
  display: flex; align-items: center; gap: 8px;
}
.lead-status {
  margin: 10px 0 0;
  font-size: 13px;
  min-height: 1.2em;
  line-height: 1.5;
  border-radius: 6px;
  transition: padding .15s, background .15s;
}
.lead-status:not(:empty) { padding: 12px 14px; }
.lead-status.is-ok {
  color: #d8f5e3;
  background: rgba(107, 211, 148, .14);
  border: 1px solid rgba(107, 211, 148, .55);
  font-weight: 500;
  font-size: 14px;
}
.lead-status.is-err {
  color: #ffd7d7;
  background: rgba(231, 107, 107, .12);
  border: 1px solid rgba(231, 107, 107, .55);
}
.lead-status.is-pending {
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.lead-form button[disabled] { opacity: .7; cursor: progress; }

/* ===== Features strip ===== */
.features {
  background: linear-gradient(to bottom, rgba(10,22,40,0) 0%, var(--bg-elev-2) 30%, var(--bg-elev-2) 100%);
  padding: 30px 0 60px;
  margin-top: -60px;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px clamp(20px, 3vw, 40px);
}
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.feature-icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 {
  margin: 0 0 4px;
  font: 700 14px/1.2 'Inter', sans-serif;
  letter-spacing: .1em;
  color: var(--text);
  text-transform: uppercase;
}
.feature p { margin: 0; font-size: 13px; color: var(--muted); }

/* ===== Generic sections ===== */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.section-title::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--gold); margin-top: 14px;
}
.lede { font-size: 17px; color: var(--muted); margin: 0; max-width: 70ch; }

/* ===== Services ===== */
.services { background: var(--bg-elev-2); }
.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 36px;
}
.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.service-card h3 { margin: 0 0 10px; font: 700 18px/1.3 'Inter', sans-serif; letter-spacing: .03em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Transactions ===== */
.tx-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 36px;
}
.tx-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.tx-amount {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.tx-card h3 { margin: 0 0 6px; font: 700 16px/1.3 'Inter', sans-serif; }
.tx-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== Resources ===== */
.resources { background: var(--bg-elev-2); }
.resource-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.resource-list li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
  padding: 18px 22px;
  color: var(--muted);
}
.resource-list strong { color: var(--text); }

/* ===== Contact ===== */
.contact { background: linear-gradient(to bottom, var(--bg-elev-2), var(--bg-deep)); }
.contact-inner { text-align: center; }
.contact-inner .section-title::after { margin-left: auto; margin-right: auto; }
.contact-note { color: var(--muted); margin: 24px auto; max-width: 56ch; }
.contact-cta { margin-top: 16px; }

/* ===== Footer ===== */
.site-footer { padding: 36px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 12px; text-align: center; color: var(--muted-2); font-size: 13px; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.brand-tagline-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .35em;
  color: var(--gold);
}
.footer-legal { font-size: 11.5px; max-width: 70ch; margin: 0 auto; line-height: 1.5; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lead-card { max-width: 540px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .btn-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10,22,40,.97);
    border-top: 1px solid var(--line);
    padding: 12px var(--pad);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .15s, opacity .15s;
  }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.55) 50%, rgba(10,22,40,.95) 100%);
  }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; padding: 22px; }
  .feature { grid-template-columns: 48px 1fr; }
  .feature-icon { width: 48px; height: 48px; }
  .hero-ctas .btn { flex: 1; }
}

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