/* ============================================================
   DILL CONTRACTING PROPERTIES — COMMERCIAL LISTINGS SITE
   Listed by Paul & Elaine Smith | Keller Williams
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
  color: #1a1a1a;
  line-height: 1.65;
  background: #fff;
}

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

/* ── VARIABLES ── */
:root {
  --dark:    #1c1c1c;
  --charcoal:#2a2a2a;
  --accent:  #c4622d;
  --light:   #f5f4f2;
  --border:  #e0ddd9;
  --muted:   #6b6b6b;
  --white:   #ffffff;
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.site-nav {
  background: var(--dark);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--accent);
}

.nav-brand { display: flex; flex-direction: column; line-height: 1.25; }
.nav-brand-main {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-brand-sub {
  color: #888;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 72px 2.5rem 64px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 0.6rem;
}
.hero-location {
  font-size: 0.95rem;
  color: #888;
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.2rem;
}
.hero-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.accent-stripe { height: 4px; background: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 2.5rem; }

.section       { padding: 64px 2.5rem; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }
.section-dark  { background: var(--dark);    color: var(--white); }
.section-char  { background: var(--charcoal); color: var(--white); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-img {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY HELPERS
───────────────────────────────────────── */
.eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.section-title-line {
  font-size: 1.2rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
}
.prose {
  font-size: 0.94rem;
  line-height: 1.88;
  color: #444;
}
.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose-light { color: #bbb; }

/* ─────────────────────────────────────────
   STAT PANELS
───────────────────────────────────────── */
.stat-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 2rem 0;
}
.stat-panel.dark-panel {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}
.stat-cell {
  background: var(--white);
  padding: 1.25rem 1.5rem;
}
.dark-panel .stat-cell { background: #2a2a2a; }
.stat-cell-label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.35rem;
}
.dark-panel .stat-cell-label { color: #666; }
.stat-cell-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.dark-panel .stat-cell-value { color: var(--white); }
.stat-cell-note {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 0.2rem;
}

/* ─────────────────────────────────────────
   PROPERTY CARDS (INDEX PAGE)
───────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.prop-card { background: var(--white); display: flex; flex-direction: column; }

.prop-card-img {
  height: 210px;
  background: #e4e1dc;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-card-img .ph-label {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  position: absolute;
}

.prop-card-stripe { height: 3px; background: var(--accent); }

.prop-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prop-type {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.prop-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.prop-loc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.prop-details {
  font-size: 0.83rem;
  line-height: 1.9;
  color: #444;
  flex: 1;
  margin-bottom: 1.25rem;
}
.prop-details strong { color: #1a1a1a; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #a84f22; }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #333; }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-light { background: transparent; border: 2px solid rgba(255,255,255,0.35); color: var(--white); }
.btn-light:hover { background: rgba(255,255,255,0.08); }

/* ─────────────────────────────────────────
   IMAGE BLOCKS
───────────────────────────────────────── */
.img-block {
  background: #e4e1dc;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-block .ph-label {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  position: absolute;
}
.img-tall   { height: 380px; }
.img-med    { height: 280px; }
.img-short  { height: 200px; }
.img-full   { height: 440px; width: 100%; }

/* ─────────────────────────────────────────
   SPEC LIST
───────────────────────────────────────── */
.spec-list { list-style: none; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  gap: 1rem;
}
.spec-list li:last-child { border-bottom: none; }
.spec-key {
  color: #888;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.spec-val { font-weight: 700; text-align: right; }

.spec-list.dark-list li { border-bottom-color: rgba(255,255,255,0.08); }
.dark-list .spec-key  { color: #666; }
.dark-list .spec-val  { color: var(--white); }

/* ─────────────────────────────────────────
   FEATURE LIST (bullets)
───────────────────────────────────────── */
.feat-list { list-style: none; font-size: 0.88rem; }
.feat-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  color: #444;
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}
.feat-list.dark-feats li { border-bottom-color: rgba(255,255,255,0.07); color: #bbb; }

/* ─────────────────────────────────────────
   FINANCIAL TABLE
───────────────────────────────────────── */
.fin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fin-table td { padding: 0.8rem 0; border-bottom: 1px solid #eaeaea; }
.fin-table td:last-child { text-align: right; font-weight: 700; }
.fin-table .fin-section td {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
  border-bottom: none;
}
.fin-table .fin-total td {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
  border-bottom: none;
  font-size: 1rem;
  font-weight: 800;
}
.fin-table.dark-table td { border-bottom-color: rgba(255,255,255,0.08); color: #ccc; }
.fin-table.dark-table td:last-child { color: var(--white); }
.fin-table.dark-table .fin-total td { color: var(--white); }

/* ─────────────────────────────────────────
   CALLOUT
───────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  background: var(--light);
  font-size: 0.87rem;
  color: #555;
  margin: 1.5rem 0;
}
.callout-dark { background: rgba(196,98,45,0.1); color: #bbb; }

/* ─────────────────────────────────────────
   DIVIDER
───────────────────────────────────────── */
.rule { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.rule-dark { border-top-color: rgba(255,255,255,0.08); }

/* ─────────────────────────────────────────
   AGENT / CONTACT SECTION
───────────────────────────────────────── */
.agent-section { background: var(--dark); color: var(--white); }

.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.agent-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.2rem; }
.agent-title { font-size: 0.78rem; color: #888; letter-spacing: 0.08em; margin-bottom: 1.5rem; }

.kw-firm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.kw-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.kw-address { font-size: 0.82rem; color: #aaa; }

.contact-lines { font-size: 0.88rem; color: #aaa; line-height: 2.1; }
.contact-lines a { color: #aaa; text-decoration: none; transition: color 0.15s; }
.contact-lines a:hover { color: var(--accent); }
.contact-lines .cl-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.1rem;
}

/* ── INQUIRY FORM ── */
.inquiry-form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent); }
.field textarea { height: 100px; resize: vertical; }
.field select option { background: var(--dark); }

/* ─────────────────────────────────────────
   FOOTER — TREC COMPLIANCE
───────────────────────────────────────── */
.site-footer {
  background: #111;
  border-top: 1px solid #222;
  padding: 2rem 2.5rem;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-trec { font-size: 0.7rem; line-height: 1.75; color: #555; max-width: 640px; }
.footer-trec strong { color: #888; display: block; margin-bottom: 0.2rem; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.eho-mark { display: flex; align-items: center; gap: 0.4rem; font-size: 0.65rem; color: #555; }
.eho-icon {
  width: 20px; height: 20px;
  border: 1.5px solid #555;
  display: grid; place-items: center;
  font-size: 9px; font-weight: bold; color: #555;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   PHOTO CAROUSEL
───────────────────────────────────────── */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  background: #111;
  line-height: 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  height: 480px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 48px;
  height: 64px;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s;
  line-height: 1;
}
.carousel-btn:hover { background: rgba(196,98,45,0.8); }
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  background: #111;
  line-height: 1;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.carousel-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 940px) {
  .hero h1     { font-size: 2.2rem; }
  .hero-stats  { gap: 2rem; }
  .nav-links   { display: none; }
  .card-grid   { grid-template-columns: 1fr; }
  .two-col, .two-col-img, .agent-grid, .three-col { grid-template-columns: 1fr; gap: 2rem; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-inner{ flex-direction: column; }
  .footer-right{ align-items: flex-start; }
  .section     { padding: 48px 1.5rem; }
  .site-nav    { padding: 0 1.5rem; }
}
