/* ============================================================
   VIA35 Commercial — Brand styles
   Colors pulled from logo: orange #E0912E, charcoal #222629
   ============================================================ */
:root {
  --orange: #E0912E;
  --orange-dark: #c97c1c;
  --ink: #222629;
  --ink-soft: #3a4046;
  --muted: #6b7178;
  --line: #e4e7ea;
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --bg-dark: #1b1e21;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(20, 24, 28, .08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 28, .14);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  font-weight: 700; color: var(--orange); margin: 0 0 14px;
}
.eyebrow-light { color: var(--orange); }
.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: .18s ease;
  font-family: var(--font); white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }
.brand-fallback {
  display: none; align-items: baseline; gap: 2px;
  font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink);
}
.brand-fallback strong { color: var(--orange); }
.brand-fallback em {
  font-style: normal; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-left: 6px; align-self: center; font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .15s; }
.nav > a:hover { color: var(--orange); }
.nav-phone { font-weight: 600 !important; color: var(--ink) !important; }
.nav .btn { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(224,145,46,.30), transparent 60%),
    linear-gradient(160deg, rgba(18,21,24,.94) 0%, rgba(28,32,35,.86) 50%, rgba(34,38,41,.80) 100%),
    url("../assets/skyline.jpg") center 35% / cover no-repeat,
    #15181b;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(700px 500px at 75% 10%, #000, transparent 75%);
}
.hero-inner { position: relative; padding: clamp(72px, 12vw, 130px) 0 clamp(64px, 10vw, 110px); }
.hero-copy { max-width: 760px; }
.hero .lede { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 620px; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  list-style: none; display: flex; gap: 40px; margin: 52px 0 0; padding: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap;
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 1.9rem; color: #fff; }
.hero-trust span { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

/* ---------- Listings (Crexi: For Sale / For Lease tabs) ---------- */
.listing-tabs { display: flex; gap: 6px; margin-bottom: 30px; border-bottom: 2px solid var(--line); }
.tab-btn {
  position: relative; bottom: -2px; padding: 11px 24px; border: 2px solid transparent; border-bottom: none;
  border-radius: 9px 9px 0 0; background: none; font-family: var(--font); font-size: .95rem; font-weight: 700;
  color: var(--muted); cursor: pointer; transition: color .15s, background .15s; white-space: nowrap;
}
.tab-btn:hover { color: var(--ink); background: var(--bg-alt); }
.tab-btn.is-active { border-color: var(--line); border-bottom-color: #fff; background: #fff; }
.tab-btn.is-active[data-deal="sale"] { color: var(--orange); }
.tab-btn.is-active[data-deal="lease"] { color: var(--orange); }
.tab-count {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; font-size: .7rem;
  font-weight: 800; background: #eef0f2; color: var(--muted); vertical-align: middle;
}
.tab-btn.is-active[data-deal="sale"] .tab-count { background: rgba(224,145,46,.16); color: var(--orange); }
.tab-btn.is-active[data-deal="lease"] .tab-count { background: rgba(224,145,46,.16); color: var(--orange); }

.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.listing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-top: 4px solid transparent; transition: transform .18s ease, box-shadow .18s ease;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-card[data-deal="sale"] { border-top-color: var(--orange); }
.listing-card[data-deal="lease"] { border-top-color: var(--orange); }

.card-img-wrap { position: relative; width: 100%; padding-top: 58%; background: #e9ebed; overflow: hidden; }
.card-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.listing-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-img-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa1a8; font-size: .85rem; }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 5px; font-size: .66rem;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.badge[data-deal="sale"] { background: var(--orange); }
.badge[data-deal="lease"] { background: var(--orange); }

.card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card-name { font-family: var(--display); font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.card-address { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.card-type {
  display: inline-block; align-self: flex-start; margin-top: 8px; font-size: .66rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; background: var(--bg-alt); color: var(--ink-soft);
  padding: 3px 9px; border-radius: 4px;
}
.card-spacer { flex: 1; }
.card-price { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-top: 12px; }
.card-price-note { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.card-btn {
  display: block; text-align: center; margin-top: 14px; padding: 11px; border-radius: 8px;
  font-size: .88rem; font-weight: 700; color: #fff; transition: filter .15s;
}
.listing-card[data-deal="sale"] .card-btn { background: var(--orange); }
.listing-card[data-deal="lease"] .card-btn { background: var(--orange); }
.card-btn:hover { filter: brightness(.93); }

.link-arrow { color: var(--orange); font-weight: 600; font-size: .95rem; }
.listings-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 50px 20px; }
.listings-empty strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; }
.listings-empty p { margin: 0; }
.listings-foot { text-align: center; margin-top: 44px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; transition: .2s; }
.section-alt .service { background: #fff; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(224,145,46,.12); color: var(--orange); font-size: 1rem; margin-bottom: 18px;
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process li { position: relative; padding-top: 14px; border-top: 3px solid var(--line); }
.process li:hover { border-color: var(--orange); }
.step-num { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--orange); display: block; margin-bottom: 10px; }
.process h3 { margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.signature { margin: 24px 0; }
.signature strong { font-family: var(--display); font-size: 1.25rem; display: block; }
.signature span { color: var(--muted); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes blockquote {
  margin: 0; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 30px 28px;
  border-left: 4px solid var(--orange);
}
.quotes p { font-size: 1.04rem; color: var(--ink); margin: 0 0 18px; }
.quotes footer { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* ---------- Contact ---------- */
.section-contact { background: var(--bg-dark); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { color: #fff; max-width: 460px; }
.contact-copy p { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.contact-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.contact-points li { color: rgba(255,255,255,.9); }
.contact-direct { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.contact-direct a { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--orange); }
.contact-addr { margin-top: 18px; font-style: normal; color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.55; }
.contact-addr strong { color: #fff; }
.contact-addr a { color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-addr a:hover { color: var(--orange); border-color: var(--orange); }

.lead-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  font-family: var(--font); font-size: .98rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff;
  transition: border-color .15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.lead-form textarea { resize: vertical; }
.lead-form input.invalid, .lead-form select.invalid { border-color: #d6453f; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-note { margin: 14px 0 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #1f9d57; }
.form-note.err { color: #d6453f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo { height: 44px; width: auto; }
.footer-mark { display: inline-flex; color: #fff; }
.footer-mark strong { color: var(--orange); }
.footer-mark em { color: rgba(255,255,255,.6); }
.footer-brand p { margin: 14px 0 0; font-size: .95rem; max-width: 320px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-addr { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .listings-grid, .services-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow);
  }
  .nav.open > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .btn { margin-top: 12px; }
  .nav-toggle { display: flex; }
  .listings-grid, .services-grid, .quotes { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
}
