/* NTX Realtors Group — site stylesheet */

:root {
  --navy: #14181f;
  --navy-light: #1f2530;
  --red: #e0342a;
  --red-dark: #b8281f;
  --gray-50: #f7f7f8;
  --gray-100: #eceef1;
  --gray-300: #cfd3da;
  --gray-500: #767c88;
  --gray-700: #3c414c;
  --white: #ffffff;
  --max-width: 1120px;
  --radius: 6px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img { height: 44px; width: auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--gray-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav.main-nav { display: flex; align-items: center; gap: 28px; }

nav.main-nav a {
  color: var(--gray-100);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--white); text-decoration: none; }
nav.main-nav a.current { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--red-dark); text-decoration: none !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 0 88px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero p.lead {
  color: var(--gray-300);
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 46ch;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }

.btn-outline { border-color: var(--gray-300); color: var(--white); }
.btn-outline:hover { border-color: var(--white); text-decoration: none; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.08);
}

/* Sections */
section { padding: 64px 0; }

.section-label {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

h2 { font-size: 1.9rem; margin: 0 0 16px; }
h3 { font-size: 1.2rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 { margin-top: 0; color: var(--navy); }
.card p { color: var(--gray-700); margin-bottom: 0; }

.areas-section { background: var(--gray-50); }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-tag {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.about-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about-split img { border-radius: var(--radius); }

.stat-row { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.stat-row div strong { display: block; font-size: 1.6rem; color: var(--red); }
.stat-row div span { font-size: 0.85rem; color: var(--gray-500); }

.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gray-300); max-width: 56ch; margin: 0 auto 26px; }

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info .card { margin-bottom: 20px; }

form.lead-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
}

textarea { resize: vertical; min-height: 110px; }

.field { display: flex; flex-direction: column; }

.consent-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent-block input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.consent-block p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.55;
}

.consent-block .required-star { color: var(--red); }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 48px 0 28px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: var(--gray-300); }
footer a:hover { color: var(--white); }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 34px; }
.footer-brand strong { color: var(--white); }

.eho-badge { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gray-300); font-size: 0.78rem; }

.trec-disclosure {
  padding-top: 24px;
  font-size: 0.76rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.trec-disclosure strong { color: var(--gray-300); }

.legal-bar {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--gray-500);
}

/* Privacy policy page */
.policy-content h2 { margin-top: 40px; font-size: 1.3rem; }
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content p, .policy-content li { color: var(--gray-700); }
.policy-content .updated { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 32px; }
.policy-content ul { padding-left: 22px; }
.policy-callout {
  background: var(--gray-50);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .hero .wrap, .about-split, .contact-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
